@cteno/sdk-linux-x64 2.10.22 → 2.11.1

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: 36730136 bytes
4
- sha256: 2bf7bc0fd450ceab3da10dd3a7ff19ac0613a6f08044552296ef8dc4e5d7636d
3
+ size: 36988184 bytes
4
+ sha256: f7c0206520f0169b61bd590c0fcc8243ca597cb2466ccf7f32247163cb5a395f
package/bin/cteno-wiki CHANGED
Binary file
package/bin/secret-exec 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.22",
4
+ "version": "2.11.1",
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.22",
4
- "description": "Bundled Cteno daemon (cteno-host-cli 2.10.22) for @cteno/sdk on linux-x64",
3
+ "version": "2.11.1",
4
+ "description": "Bundled Cteno daemon (cteno-host-cli 2.11.1) 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.22"
29
+ "daemonVersion": "2.11.1"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public",
@@ -16,6 +16,7 @@ description: Daemon-owned CEF browser engine with the structured `browser` tool
16
16
  - **异常立即冻结**:`outcome.status` 为 `page-rejected`、`page-error` 或 `no-observable-change`,以及 delta 与预期不符时,立即停止当前业务路径,保存 snapshot/step 证据并读取 `page-observations` 和页面状态。不得连续重试,也不得改用 JS、CDP、selector 或坐标换招硬闯;先定位 browser host、semantic/runtime、站点业务或服务端中的责任层。
17
17
  - **查询能力(kernel observation)**:`semantic-snapshot mode=compact` 走渲染进程内的 relevance 查询(predicate + budget),只回传 top-N 可交互节点,传输体积由 budget 决定而非页面节点数。密集表单/菜单用 `nodeBudget`(默认 12)调大 N;旧 framework 无 captureObservation 时自动回落 stitched 路径(`consistency.level = "best-effort"`)。目标节点不在 top-N 里时用 `semantic-search`(`query`/`roles`/`tags`/`actionable`/`clickable`/`editable`/`disabled`/`viewportOnly` 过滤 + `offset`/`limit` 分页),在同一份已缓存快照的候选池里检索,不需要重抓或读整份 artifact。
18
18
  - **业务结果单独验收**:动作完成后重新 snapshot,确认上传进度、处理完成、表单校验或目标状态确实出现;发布、提交和修改还必须回内容管理页或详情页核对唯一目标、明确状态与实际素材,不能用按钮消失、跳转、toast 或表单预览代替。
19
+ - **浏览器 profile**:runtime `browser_profile_id`(兼容旧 `profile_id`/`profileId`)只表示浏览器存储与 target scope;省略固定为 `default`,与 CLI 默认一致,不随 LLM 模型 profile 切换。操作同一 target 时必须保持它不变。
19
20
  - **hidden 模式**:`hidden: true` 走独立离屏 scope,不抢占用户可见 pane;一条 hidden 流程内每次调用都必须带 `hidden: true`。
20
21
  - **诊断范围**:`semantic-step` 返回当前动作窗口的 observations;`page-observations` 返回的 `scope` 会说明覆盖范围。失败请求、JS 异常、console error 或 `truncated=true` 都必须按原证据解释,不能把服务端拒绝误判为点击失败,也不能把诊断日志直接当作业务错误。
21
22
  - **登录态读数**:`browser cookies <origin> [--names a,b,c]` 回答「这个站还登录着吗、还剩多久」。它读的是引擎 profile 的 cookie jar(browser 级连接),**不导航、不需要拥有标签页**——判断是否需要访问站点这件事本身不该是一次访问。只回元数据(域/路径/过期/secure/httpOnly)与关键 cookie 里**最早**的那个 deadline,**永不返回 cookie 值**,所以可以安全地写日志、给模型、显示给用户。真要值请显式走 `cdp Network.getCookies`。不带 `--names` 是「发现模式」:只列出有什么,**不给 deadline 也不给判决**——没人指名哪个 cookie 承载会话时,整罐里最早的那个只是某个无关分析 cookie 的寿命。