feat: add CLI message center commands

This commit is contained in:
gitea committed 2026-09-05 14:05:05 +08:00
1 parent 0be1365289
commit 621c8cb7dc
11 files changed
+242 -4

No files matched your search

+3
View File
@@ -122,6 +122,7 @@ export function printHelp(): string {
bill 单据与费用明细检索 (list, get <单号|ID>, schema, link <单号|ID>)
contact 企业通讯录与人员检索 (list, search <关键词>, get <staffId>)
task 待办中心与审批任务 (todo, approved, records, submitted, cc)
message 消息中心与通知管理 (list, count, read, read-all)
platform 自建应用管理 (list)
skill Agent Skill 管理 (install, status, dump)
probe 连通性诊断 (probe [corpId])
@@ -154,6 +155,8 @@ export function printHelp(): string {
hose-use task approved # 查看我已审批任务
hose-use task submitted # 查看我发起的单据
hose-use task cc --unread # 查看未读抄送
hose-use message list --unread # 查看未读消息
hose-use message count # 查看未读消息数
hose-use workflow list # 汇总查看全部工作流
hose-use workflow find --task=code-js2 # 搜索包含自定义脚本的工作流
hose-use bill list # 查看当前企业单据与报销列表