@deepseek-ai/dsh-api-remotes 0.2.0-rc.2 → 0.2.1-alpha.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 +4 -4
- package/README.md +1 -3
- package/README.zh.md +1 -3
- package/lib/client.js +641 -321
- package/package.json +41 -42
package/README.i18n.yaml
CHANGED
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
en: a7a78c6d1aeebeb3
|
|
16
16
|
zh: 4bb69f32d8b05ba3
|
|
17
17
|
/deepseek-ai-dsh-api-remotes/use-this-package:
|
|
18
|
-
en:
|
|
19
|
-
zh:
|
|
18
|
+
en: a80d44e0683768a5
|
|
19
|
+
zh: 379833ac180e5418
|
|
20
20
|
/deepseek-ai-dsh-api-remotes/forwarded-host-events:
|
|
21
21
|
en: d6d82bf0e55ae5e9
|
|
22
22
|
zh: c3a0c80f8b115039
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
en: 00a837c9e7b5a800
|
|
34
34
|
zh: 1b86e789327b7798
|
|
35
35
|
/deepseek-ai-dsh-api-remotes/known-limitations-and-deferred-work/dev-note:
|
|
36
|
-
en:
|
|
37
|
-
zh:
|
|
36
|
+
en: d60df1790fac729c
|
|
37
|
+
zh: cfc4e027025639bf
|
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ Two-sided BFF for Host Remote capabilities selected by this application. The Hos
|
|
|
27
27
|
<a id="use-this-package"></a>
|
|
28
28
|
## Use this package
|
|
29
29
|
|
|
30
|
-
[`@deepseek-ai/dsh-api-session-controller`](../session-controller/README.md) owns Agent and Session identity policy, including the Typert lookup resolvers used by other namespaces. This package
|
|
30
|
+
[`@deepseek-ai/dsh-api-session-controller`](../session-controller/README.md) owns Agent and Session identity policy, including the Typert lookup resolvers used by other namespaces. This package selects and mounts that generated Session contribution without a direct runtime dependency on `@deepseek-ai/dsh-session`; activation policy stays with Session Controller.
|
|
31
31
|
|
|
32
32
|
The Client assembly mounts Office conversion, Commands, credentials, settings, Goal, Schedule, dynamic Cordis, file and Session references, read-only Host plugin inventory, plugin-installation registry response comparison, message feedback, permission presets, Session Controller, subagents, and Workspace Controller contributions. The `permissionPresets` namespace returns the complete process-level catalog used by current-session controls. Cordis effect ownership withdraws every contribution when this assembly unloads, while `@deepseek-ai/dsh-api-gateway/client` owns descriptor validation, traced namespace Services, direct and scoped methods, invocation, streams, and cancellation. The Client entry consumes the shared `TypertClientRemote` interface through Cordis and does not import the concrete Gateway. It re-exports the Gateway Client face's declaration merges type-only, so a consumer reaching the forwarded-event vocabulary through this facade gains no runtime edge to the Gateway implementation.
|
|
33
33
|
|
|
@@ -87,6 +87,4 @@ None.
|
|
|
87
87
|
|
|
88
88
|
</details>
|
|
89
89
|
|
|
90
|
-
**Runtime invariant:** No companion is published. Typert and the Agent/Session registries own the observed relationships.
|
|
91
|
-
|
|
92
90
|
The Client assembly includes the account namespace for login commands and reconnectable account snapshots.
|
package/README.zh.md
CHANGED
|
@@ -27,7 +27,7 @@ kind: "package-reference"
|
|
|
27
27
|
<a id="use-this-package"></a>
|
|
28
28
|
## 使用本包
|
|
29
29
|
|
|
30
|
-
[`@deepseek-ai/dsh-api-session-controller`](../session-controller/README.zh.md) 拥有 agent(智能体)与会话身份策略,包括供其他 namespace 使用的 Typert lookup
|
|
30
|
+
[`@deepseek-ai/dsh-api-session-controller`](../session-controller/README.zh.md) 拥有 agent(智能体)与会话身份策略,包括供其他 namespace 使用的 Typert lookup 解析器。本包选择并挂载生成的会话 contribution,无需直接依赖 `@deepseek-ai/dsh-session` 的运行时;激活策略由会话控制器负责。
|
|
31
31
|
|
|
32
32
|
Client 组合挂载 Office 转换、Commands、凭据、settings、Goal、Schedule、动态 Cordis、文件与会话引用、只读 Host 插件清单、插件安装源响应比较、消息反馈、权限预设、会话控制器、subagents 和 Workspace 控制器 contribution。`permissionPresets` namespace 返回 current-session 控件使用的完整进程级目录。该组合卸载时,Cordis effect 的所有权机制会撤回所有贡献;`@deepseek-ai/dsh-api-gateway/client` 负责描述符校验、可追踪的 namespace 服务、直接与作用域方法、调用、流与取消。Client 入口通过 Cordis 消费共享的 `TypertClientRemote` 接口,不导入具体 Gateway;它只以 type-only 形式重新导出 Gateway Client face 的声明合并,因此消费端经由本外观取到转发事件词汇时,运行时不会多出一条通往 Gateway 实现的边。
|
|
33
33
|
|
|
@@ -87,6 +87,4 @@ Host entry 为每条 Client 流独立注册一组 allowlist listener 和一个
|
|
|
87
87
|
|
|
88
88
|
</details>
|
|
89
89
|
|
|
90
|
-
**运行时不变式:** 不发布伴生入口。被观察的关系由 Typert、agent 注册表和会话注册表负责。
|
|
91
|
-
|
|
92
90
|
客户端组装包含 account 命名空间,用于登录操作和可重连的账号快照。
|