feat: add CLI task center queries

This commit is contained in:
gitea committed 2026-09-05 13:33:33 +08:00
1 parent 6c0f4dc567
commit d28b0c92d9
11 files changed
+338 -1

No files matched your search

+3
View File
@@ -121,6 +121,7 @@ export function printHelp(): string {
workflow 工作流管理 (list, get, find, toggle)
bill 单据与费用明细检索 (list, get <单号|ID>, schema, link <单号|ID>)
contact 企业通讯录与人员检索 (list, search <关键词>, get <staffId>)
task 待办中心与审批任务 (todo, approved, records)
platform 自建应用管理 (list)
skill Agent Skill 管理 (install, status, dump)
probe 连通性诊断 (probe [corpId])
@@ -149,6 +150,8 @@ export function printHelp(): string {
hose-use corps switch ID01MCcOgJl1td # 切换工作企业
hose-use contact search 张三 # 模糊搜索员工工号、邮箱与电话
hose-use contact list --limit=20 # 采样查看企业通讯录(带防爆截断保护)
hose-use task todo --json # 查看当前待我审批任务
hose-use task approved # 查看我已审批任务
hose-use workflow list # 汇总查看全部工作流
hose-use workflow find --task=code-js2 # 搜索包含自定义脚本的工作流
hose-use bill list # 查看当前企业单据与报销列表