@cteno/sdk-linux-x64 2.10.15 → 2.10.17

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.
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/bin/cteno-host-cli
3
- size: 35893496 bytes
4
- sha256: c1e7cc519c3c2d639eb2183018cd9a99ca7bc3c8ec7728f6f985d3a1abf96655
3
+ size: 36303928 bytes
4
+ sha256: e55986afddf592cf66e4f2ff09ed7fe018c2853194b8646f115b2ae9dc41b094
package/bin/cteno-wiki CHANGED
Binary file
package/manifest.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "sku": "sdk-core",
4
- "version": "2.10.15",
4
+ "version": "2.10.17",
5
5
  "target": "linux-x64",
6
6
  "binaries": [
7
7
  "cteno-host-cli",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cteno/sdk-linux-x64",
3
- "version": "2.10.15",
4
- "description": "Bundled Cteno daemon (cteno-host-cli 2.10.15) for @cteno/sdk on linux-x64",
3
+ "version": "2.10.17",
4
+ "description": "Bundled Cteno daemon (cteno-host-cli 2.10.17) for @cteno/sdk on linux-x64",
5
5
  "license": "SEE LICENSE IN LICENSE.daemon",
6
6
  "homepage": "https://github.com/zalan159/cteno-sdk#readme",
7
7
  "repository": {
@@ -26,7 +26,7 @@
26
26
  ],
27
27
  "preferUnplugged": true,
28
28
  "cteno": {
29
- "daemonVersion": "2.10.15"
29
+ "daemonVersion": "2.10.17"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public",
@@ -68,21 +68,24 @@
68
68
  "event": "Stop",
69
69
  "handler": {
70
70
  "type": "command",
71
- "command": "cteno-wiki capture --event Stop"
71
+ "command": "cteno-wiki capture --event Stop",
72
+ "timeoutSecs": 15
72
73
  }
73
74
  },
74
75
  {
75
76
  "event": "SubagentStop",
76
77
  "handler": {
77
78
  "type": "command",
78
- "command": "cteno-wiki capture --event SubagentStop"
79
+ "command": "cteno-wiki capture --event SubagentStop",
80
+ "timeoutSecs": 15
79
81
  }
80
82
  },
81
83
  {
82
84
  "event": "PostCompact",
83
85
  "handler": {
84
86
  "type": "command",
85
- "command": "cteno-wiki capture --event PostCompact"
87
+ "command": "cteno-wiki capture --event PostCompact",
88
+ "timeoutSecs": 15
86
89
  }
87
90
  }
88
91
  ],
@@ -68,6 +68,8 @@ cteno-host-cli <domain> <subcommand> --help
68
68
  - **权限**:无人值守调用必须显式选择合适的 permission mode;默认模式可能等待无人处理的权限卡。不要无条件使用 bypass,按用户授权选择。
69
69
  - **托管 worktree 是 daemon 的,不是你的**:`dispatch_task` 的 `worktree: "<短名>"` 由 daemon 在 `<主检出>-wt-<短名>` 建、在节点终态时**自动回收**(分支 `cteno-wt/<短名>` 与其上的提交保留,只删检出目录)。所以**不要**为派活手搓 `git worktree add`,也不要在 kickoff 里写「干完记得删」——拆除责任必须落在比节点活得久的组件上。想看 daemon 当前托管着哪些树,用 `cteno-host-cli storage worktrees`(只读;`session worktrees` 是另一回事,它列的是某个 thread workdir 下的 git worktree)。
70
70
  - **交回要附证据、合并要过复审**:`report_to_owner(status=done)` 带 `evidence:[{command,result,files}]`;runtime 拿命令去核子线程自己账本里的 shell 调用,无证据的交回在派活方那边第一行显示「[警告:无证据交回]」。仓库 main 上有 `REVIEW.md` 时,合并只能走 `merge_review`(op=review/status/close/merge;shell 里直接往 main `git merge` 会被拒):全新上下文的只读 `merge-reviewer` 按 Important/Nit/Pre-existing 出意见,Important 必须修掉或 op=close 写理由;第 4 轮起只审新增 diff。本仓库的 `REVIEW.md` 未声明 `high_risk`,没有「命中高风险路径需人工审」这道拦截(声明了 `high_risk` 的仓库才有)。CLI 走 `cteno-host-cli session invoke-tool <sid> merge_review --input '{"op":"status","repo":"<wt>"}'`;复审记录在 `<git common dir>/cteno-review/<branch>.json`。见 `docs/architecture/review-gates.md`。
71
+ - **健康检查**:`doctor [--network-only] [--json]` 一次报出配置、本机 daemon socket、Happy Server 可达性和 MCP server 状态(只读,不新增 RPC);`--network-only` 跳过 MCP 扫描只查配置与网络;有任一项 FAIL 时退出码 1。Happy Server 不通只记 warn(未登录本地模式仍可用)。只能在本机跑,不接受 `--machine`。排查「连不上」先跑它。
72
+ - **MCP 连接共享**:`mcp_servers.yaml` 每个 server 可写 `sharing: auto|shared|private`(缺省 auto)。auto 只在握手协商出 MCP 2026-07-28 无状态协议时让多个 session 共用一个连接/进程;legacy server 默认每 session 一个进程;`shared` 是用户担保无状态的显式共享,`private` 显式不共享。见 `docs/architecture/mcp-connection-pool.md`。
71
73
  - **远程机器**:先 `machines list`(账号级列表,本身不接受 `--machine`),再把顶层 `--machine <id|name>` 放在业务命令之前。它只切换 transport;auth/host/status/connect/webview 等本地命令不能远程执行。长任务注意远程 RPC deadline,异步派出后再查状态通常更稳妥。
72
74
  - **跨机派发前先预检,别凭记忆写 machine id 和路径**。跨机是盲派:你看不见那台机器的磁盘,也不知道它装了哪些模型。两个**只读、不建 session**的命令回答这件事:
73
75
  - `cteno-host-cli --machine <id|name> machines describe` —— 平台/arch、daemon 版本、capability,以及**它真正能跑的 model profile 列表**。`dispatch_task` 带 `machine` + `profile_id` 前必须看这个:对端没有的 profile 根本无法推理。
@@ -202,7 +204,8 @@ cteno-host-cli jelly open [--jelly <id>] # 确保主对话存
202
204
  cteno-host-cli jelly create --name 工作 --color '#ff8800' --memory-mode independent
203
205
  cteno-host-cli jelly update --jelly <id> [--name ..] [--color ..|--clear-color] [--memory-mode ..]
204
206
  cteno-host-cli jelly delete <id> # 删除非默认 Jelly(capability jelly.delete.v1,见下)
205
- cteno-host-cli jelly threads --jelly <id> # 线程:threadId/title/status(running|waiting|done|failed)
207
+ cteno-host-cli jelly threads --jelly <id> # 线程:threadId/title/status(running|done|failed|stopped;waiting 仅旧 daemon)
208
+ cteno-host-cli jelly work-items --jelly <id> [--no-done] [--done-limit N] # 工作项:todo→threads→cards,display/acceptance/revision(能力 jelly.work-items.v1)
206
209
  cteno-host-cli jelly suggested-prompts # 已弃用:仅为老客户端保留(capability suggested-prompts.v1),新客户端不渲染
207
210
  ```
208
211