@deepseek-ai/dsh-client-ui-skill 0.1.0-rc.8 → 0.1.1-rc.2

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/README.i18n.yaml CHANGED
@@ -3,4 +3,4 @@
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/client/ui-skill/README.md
5
5
  README.md: f2e2ec8a3061f2cd8617123013d63fad63abf237
6
- README.zh.md: 0d450b224a7cddcbaef008c7639075cb9f60ece9
6
+ README.zh.md: 4d147f3795306edbc1e5ea38a7abc0b8d4081f63
package/README.zh.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  skill(技能)调用 source 的浏览器端:把 `/` 触发的 `skill` source 注册进 `ctx.inputTriggers`。普通会话的候选来自 `skill.list` RPC,以每次调用的 `ClientSessionContext` 投影中的 `{sessionId}` 寻址,host 从会话 header 解析 `cwd`。宿主提供每一个用户可调用的 skill;`modelInvocable: false` 的条目(即 `disable-model-invocation` skill,此路径是其唯一入口)会以当前语言把仅限用户标记作为描述前缀带上。由目录寻址的可继续 subagent 在客户端解析为没有 skill 候选,因为现有 skill RPC 要求会话已挂载;查看其持久化历史不得激活它。目录按普通会话缓存,拉取走 single-flight;scope 创建时的 `warm` 钩子预热该会话的缓存项,转发的 owner 事件 `agent-preset/selected` 丢弃该会话这一项(目录属于 preset,而空会话可能在预热之后才切换),`connection/reset` 清空全部缓存。结果按 `startsWith(query)` 过滤。
6
6
 
7
- pick 会落下字面文本 `/name `,发出的提示词中也是同一段字面文本([slash 流水线 Agent Note](../../../.agents/notes/implemented/architecture/2026-07-25-web-input-machine-and-slash-pipeline.md))——本 source 不实现任何裁决钩子,也没有引用 codec。确定性在宿主侧:pre-step 手势边界(`dsh-tool-skill`)识别用户消息中任意位置、以空白为界、指名用户可调用 skill 的 `/name` token,并为每个入口注入渲染后的 `<skill_content>`,因此菜单 pick、手动键入的 token 与 TUI/ACP(Agent Client Protocol)提示词都以同一种方式加载 skill。与宿主命令同名的名称仍解析为命令:裁决在客户端把该行认领走,它根本不会成为提示词——这是有意的优先级,与同类产品一致。列表 RPC 使用插件注册时捕获的根上下文连接——source 绝不从每次调用的参数上读取服务;草稿 chip 视觉由 `lexicon` 扫描派生。
7
+ pick 会落下字面文本 `/name `,发出的提示词中也是同一段字面文本([slash 流水线 Agent Note](../../../.agents/notes/implemented/architecture/2026-07-25-web-input-machine-and-slash-pipeline.zh.md))——本 source 不实现任何裁决钩子,也没有引用 codec。确定性在宿主侧:pre-step 手势边界(`dsh-tool-skill`)识别用户消息中任意位置、以空白为界、指名用户可调用 skill 的 `/name` token,并为每个入口注入渲染后的 `<skill_content>`,因此菜单 pick、手动键入的 token 与 TUI/ACP(Agent Client Protocol)提示词都以同一种方式加载 skill。与宿主命令同名的名称仍解析为命令:裁决在客户端把该行认领走,它根本不会成为提示词——这是有意的优先级,与同类产品一致。列表 RPC 使用插件注册时捕获的根上下文连接——source 绝不从每次调用的参数上读取服务;草稿 chip 视觉由 `lexicon` 扫描派生。
8
8
 
9
9
  `skill.list` 失败时 `candidates` 抛出异常,slash 壳层记录日志,并静默丢弃该菜单组——菜单只显示 pending/ready 状态。
10
10
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-client-ui-skill",
3
3
  "description": "Web skill references and the dedicated skill tool row",
4
- "version": "0.1.0-rc.8",
4
+ "version": "0.1.1-rc.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -43,30 +43,30 @@
43
43
  },
44
44
  "license": "MIT",
45
45
  "peerDependencies": {
46
- "@deepseek-ai/dsh-api-remotes": "^0.1.0-rc.8",
47
- "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.8",
48
- "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.8",
49
- "@deepseek-ai/dsh-invariants": "^0.1.0-rc.8",
50
- "@deepseek-ai/cordis": "^4.0.1",
51
- "@deepseek-ai/dsh-client-connection": "^0.1.0-rc.8",
52
- "@deepseek-ai/dsh-client-ui-tool": "^0.1.0-rc.8",
53
- "@deepseek-ai/dsh-client-ui-input-trigger": "^0.1.0-rc.8"
46
+ "@deepseek-ai/dsh-api-remotes": "^0.1.1-rc.2",
47
+ "@deepseek-ai/dsh-client-connection": "^0.1.1-rc.2",
48
+ "@deepseek-ai/dsh-client-locale": "^0.1.1-rc.2",
49
+ "@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.2",
50
+ "@deepseek-ai/dsh-client-ui-input-trigger": "^0.1.1-rc.2",
51
+ "@deepseek-ai/dsh-client-ui-tool": "^0.1.1-rc.2",
52
+ "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
53
+ "@deepseek-ai/cordis": "^4.0.1"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@testing-library/react": "^16.1.0",
57
57
  "@types/react": "~18.3.1",
58
58
  "react": "^18.2.0",
59
59
  "react-dom": "^18.2.0",
60
- "@deepseek-ai/dsh-api-remotes": "^0.1.0-rc.8",
61
- "@deepseek-ai/dsh-client-connection": "^0.1.0-rc.8",
62
- "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.8",
63
- "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.8",
64
- "@deepseek-ai/dsh-client-test-runtime": "^0.1.0-rc.8",
65
- "@deepseek-ai/dsh-client-ui-input-trigger": "^0.1.0-rc.8",
66
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.8",
67
- "@deepseek-ai/dsh-client-ui-tool": "^0.1.0-rc.8",
68
- "@deepseek-ai/dsh-invariants": "^0.1.0-rc.8",
69
- "@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.8",
60
+ "@deepseek-ai/dsh-api-remotes": "^0.1.1-rc.2",
61
+ "@deepseek-ai/dsh-client-locale": "^0.1.1-rc.2",
62
+ "@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.2",
63
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.1-rc.2",
64
+ "@deepseek-ai/dsh-client-test-runtime": "^0.1.1-rc.2",
65
+ "@deepseek-ai/dsh-client-connection": "^0.1.1-rc.2",
66
+ "@deepseek-ai/dsh-client-ui-input-trigger": "^0.1.1-rc.2",
67
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.1-rc.2",
68
+ "@deepseek-ai/dsh-client-ui-tool": "^0.1.1-rc.2",
69
+ "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
70
70
  "@deepseek-ai/cordis": "^4.0.1"
71
71
  },
72
72
  "files": [