@inf-monkeys-tech/monkeys-cli 0.12.41 → 0.12.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/oclif.manifest.json
CHANGED
|
@@ -20184,5 +20184,5 @@
|
|
|
20184
20184
|
"strict": true
|
|
20185
20185
|
}
|
|
20186
20186
|
},
|
|
20187
|
-
"version": "0.12.
|
|
20187
|
+
"version": "0.12.43"
|
|
20188
20188
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inf-monkeys-tech/monkeys-cli",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.43",
|
|
4
4
|
"packageManager": "bun@1.3.14",
|
|
5
5
|
"description": "Monkeys command-line client for AI agents, automation, and interactive use",
|
|
6
6
|
"type": "module",
|
|
@@ -150,5 +150,5 @@
|
|
|
150
150
|
"publishConfig": {
|
|
151
151
|
"access": "public"
|
|
152
152
|
},
|
|
153
|
-
"monkeysReleaseCommit": "
|
|
153
|
+
"monkeysReleaseCommit": "41380b2fd4caa34ce10147fb748247b68a98e69d"
|
|
154
154
|
}
|
|
@@ -10,9 +10,9 @@ description: 通过 monkeys CLI 选择 Subscription、Context、Team 与 Identit
|
|
|
10
10
|
## 公共执行流程
|
|
11
11
|
|
|
12
12
|
1. 同一运行首次使用时确认 CLI 版本;若运行环境已提供已校验的安装版本,直接复用,否则运行 `monkeys version show`。若 `_notice.update` 存在,只报告升级提示,得到用户授权后才运行 `monkeys update`。
|
|
13
|
-
2. 从当前运行 Context 核对 endpoint、tenant、credential kind、Surface 与 Team
|
|
13
|
+
2. 从当前运行 Context 核对 endpoint、tenant、credential kind、Surface 与 Team;缺失或变化时运行 `monkeys context show`,默认使用当前活动订阅,已确认 Team 时可加 `--team <Team ID>`。只有需要其他订阅且 `monkeys subscription list` 已返回其确切名称时,才加 `--subscription`;`studio/kernel` 是视角,不是订阅名。`context show` 不接受 `--perspective`;视角只传给支持它的 `monkeys data ...` 命令。Team 或 Identity 不明确时用 `monkeys team list`、`monkeys identity list`,禁止猜测。
|
|
14
14
|
3. 当前版本的命令合同未知或参数不确定时运行 `monkeys schema <command path>`;领域导航不明确时运行 `monkeys --help`。
|
|
15
|
-
4. 默认消费 JSON envelope:成功从 stdout 读取 `.data`,失败从 stderr 读取 `.error`,系统提示读取 `._notice
|
|
15
|
+
4. 默认消费 JSON envelope:成功从 stdout 读取 `.data`,失败从 stderr 读取 `.error`,系统提示读取 `._notice`。需要窄字段时使用当前命令支持的内置 `--jq`,它不依赖外部 `jq`;解析已保存的文件才使用环境中的 JSON 工具。面向人展示时才用 `--output table|text`。错误永远不经过 `--jq`。
|
|
16
16
|
5. 写操作先核对精确 Subscription、Team、目标 ID 与风险;仅在当前命令 schema 支持时使用 `--dry-run`,不支持时按实际合同验证参数,不构造不存在的标志。只有 schema 标记需要确认时才传 `--yes`,不得自动重放结果未知的写请求。
|
|
17
17
|
6. 返回结果、关键资源 ID 与 Context Fingerprint;失败时返回 error code、recovery、retryable 和副作用是否未知。
|
|
18
18
|
|