feat(cli): add context introspection command and hose-aipro status for zero-source-reading AX

This commit is contained in:
gitea committed 2026-09-07 14:17:35 +08:00
1 parent 1b5ae12254
commit 7efa83ff30
10 files changed
+495 -5

No files matched your search

+4
View File
@@ -115,8 +115,10 @@ export function printHelp(): string {
hose-use <命令域> <子命令> [参数] [选项]
核心命令域:
context 查看全局运行上下文与身份诊断 (context, status, whoami, env)
auth 认证与凭证管理 (login, status, refresh, import, accounts)
corps 多企业租户管理 (list, switch, current)
aipro 合思 AI PRO 确定性审批仲裁网关入口 (status, scopes, bind, checklist, review, decide, logs)
config 全局运行模式与路径诊断 (show, paths, mode <stateful|stateless>, set)
workflow 工作流管理 (list, get, find, analyze, toggle)
bill 单据检索与审批动作 (list, get <单号|ID> [--risk], approve|reject|transfer|add-node|comment <单号|ID> [选项], refs, relations, attachments, download, flow, risk, budget, schema, link)
@@ -149,6 +151,8 @@ export function printHelp(): string {
--help, -h 查看帮助信息
常用示例:
hose-use context # 一键查看全局运行上下文与身份诊断 (免读源码)
hose-use aipro status # 查看 AI PRO 审批网关状态与当前连接企业
hose-use auth login --phone=177... --password=... # 纯 API 账密自动登录
hose-use auth status # 查看当前登录状态与活跃企业
hose-use config paths # 查看多级企业配置目录链