@deepseek-ai/dsh-client-ui-settings-plugins 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
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
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-settings-plugins/README.md
5
- README.md: 92ba426b6bee3ae73e184dfcfd418e889bd47086
6
- README.zh.md: dc319ea9f128016b6df821575cb4d75740f04579
5
+ README.md: 0ee0edbebadad8e8e895002cd9eb60a20f45809d
6
+ README.zh.md: b57fe9522dcc37b67f494199b3bb6ef0cf4a2a54
package/README.md CHANGED
@@ -20,7 +20,7 @@ A card stages what the user types and writes it only when they save. Each contro
20
20
 
21
21
  Saving writes each staged field through the client settings scope, which fences every write with the namespace revision it read, so a form that has drifted from the document is refused rather than overwriting a concurrent change. The Host is the only authority on whether a value was accepted — its validators own the constraints no schema can express — so the card reads the section back afterwards and reports a save that did not land, keeping those drafts for the user to correct.
22
22
 
23
- A key can also be written from another surface — the Models page addresses the same reference — which changes no settings section, so the card re-reads on the forwarded `credentials/updated` event for the reference it watches.
23
+ A key can also be written from another surface — the Models page addresses the same reference — which changes no settings section, so the card re-reads on the forwarded `credentials/reference-updated` event for the reference it watches.
24
24
 
25
25
  A field's presence in the raw user layer — not its value — is what marks it overridden; a reset clears that field so it re-inherits the composition layer. Secret-role fields never ride a response, so a key control starts blank, reports only whether one is configured, and writes through the credentials domain rather than the settings section; a blank draft writes nothing and keeps the stored key.
26
26
 
package/README.zh.md CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
  保存时,每个暂存字段都通过客户端 settings scope 写入,该 scope 用读取时的命名空间 revision 为每次写入设栅,因此已与文档脱节的表单会被拒绝,而不是覆盖并发变更。某个值是否被接受只有 Host 说了算——schema 表达不了的约束归它的校验器所有——因此卡片在写入后回读分节,报告没有落盘的保存,并保留这些草稿供用户修改。
22
22
 
23
- 密钥也可能从别的表层写入——模型页寻址的是同一个引用——而那不改变任何 settings 分节,因此卡片会在转发来的 `credentials/updated` 事件报告它所关注的引用时重读。
23
+ 密钥也可能从别的表层写入——模型页寻址的是同一个引用——而那不改变任何 settings 分节,因此卡片会在转发来的 `credentials/reference-updated` 事件报告它所关注的引用时重读。
24
24
 
25
25
  字段是否被覆盖,取决于它是否出现在原始用户层中,而非取决于它的值;重置会清除该字段,使其重新继承组装层。secret 角色的字段绝不搭乘响应,因此密钥控件初始为空、只报告是否已配置,并经由 credentials 领域而非 settings 分节写入;空草稿不写入任何东西,保留已存密钥。
26
26
 
@@ -32,6 +32,8 @@
32
32
 
33
33
  无;该包既不组装也不发送提供方请求。
34
34
 
35
+ <a id="known-limitations-and-deferred-work"></a>
36
+
35
37
  ## 已知限制与暂缓事项
36
38
 
37
39
  - **只有宿主平面的插件会出现**——由 agent preset 挂载的插件把配置内联在该 preset 的 `agent.cordis.yml` 中,且根本无法注册 settings 命名空间(同一 preset 挂载第二个会话时会因重复注册而失败),因此本分区不会列出它。编辑那些值仍是 preset 编辑器的职责。
package/lib/client.js CHANGED
@@ -1235,7 +1235,7 @@ window.__ModuleLoader__.load({
1235
1235
  const bash = new BashCardController(ctx.settingsScope.bind({ namespace: SHELL_NS }));
1236
1236
  const agentLoop = new AgentLoopCardController(ctx.settingsScope.bind({ namespace: AGENT_LOOP_NS }));
1237
1237
  const webSearch = new WebSearchCardController(ctx.settingsScope.bind({ namespace: WEB_SEARCH_NS }), api);
1238
- ctx.effect(() => ctx.remote.$on("credentials/updated", (ref) => {
1238
+ ctx.effect(() => ctx.remote.$on("credentials/reference-updated", (ref) => {
1239
1239
  webSearch.refreshCredential(ref);
1240
1240
  }), "ui-settings-plugins: credential invalidations");
1241
1241
  const configurable = new ConfigurablePluginsTabController(ctx.settingsScope.describe(), () => ctx.slots.entries("settings.plugin.item"));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-client-ui-settings-plugins",
3
3
  "description": "Plugins settings section with feature-owned tabs and configurable host-plane plugin cards",
4
- "version": "0.1.0-rc.8",
4
+ "version": "0.1.1-rc.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -43,27 +43,27 @@
43
43
  },
44
44
  "license": "MIT",
45
45
  "peerDependencies": {
46
- "@deepseek-ai/dsh-client-connection": "^0.1.0-rc.8",
47
46
  "@deepseek-ai/cordis": "^4.0.1",
48
- "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.8",
49
- "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.8",
50
- "@deepseek-ai/dsh-api-remotes": "^0.1.0-rc.8",
51
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.8",
52
- "@deepseek-ai/dsh-invariants": "^0.1.0-rc.8"
47
+ "@deepseek-ai/dsh-api-remotes": "^0.1.1-rc.2",
48
+ "@deepseek-ai/dsh-client-connection": "^0.1.1-rc.2",
49
+ "@deepseek-ai/dsh-client-locale": "^0.1.1-rc.2",
50
+ "@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.2",
51
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.1-rc.2",
52
+ "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/react": "~18.3.1",
56
56
  "react": "^18.2.0",
57
+ "@deepseek-ai/dsh-api-remotes": "^0.1.1-rc.2",
58
+ "@deepseek-ai/dsh-client-connection": "^0.1.1-rc.2",
59
+ "@deepseek-ai/dsh-client-locale": "^0.1.1-rc.2",
60
+ "@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.2",
61
+ "@deepseek-ai/dsh-client-test-runtime": "^0.1.1-rc.2",
62
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.1-rc.2",
63
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.1-rc.2",
57
64
  "@deepseek-ai/cordis": "^4.0.1",
58
- "@deepseek-ai/dsh-client-connection": "^0.1.0-rc.8",
59
- "@deepseek-ai/dsh-api-remotes": "^0.1.0-rc.8",
60
- "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.8",
61
- "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.8",
62
- "@deepseek-ai/dsh-client-test-runtime": "^0.1.0-rc.8",
63
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.8",
64
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.8",
65
- "@deepseek-ai/dsh-invariants": "^0.1.0-rc.8",
66
- "@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.8"
65
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.1-rc.2",
66
+ "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2"
67
67
  },
68
68
  "files": [
69
69
  "lib/index.js",