@deepseek-ai/dsh-cordis-client-runner 0.2.1-rc.4 → 0.2.2-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 CHANGED
@@ -33,8 +33,8 @@
33
33
  en: df635b29eaef982c
34
34
  zh: ddaa4bd98359bd30
35
35
  /deepseek-ai-dsh-cordis-client-runner/understand-the-implementation/source-map:
36
- en: cbd46fb5821cfcc7
37
- zh: 392e5cace2db6194
36
+ en: 897f65050ac6c4eb
37
+ zh: c856e88f15150b9c
38
38
  /deepseek-ai-dsh-cordis-client-runner/understand-the-implementation/inspecting-slot-inputs:
39
39
  en: 33f14a7fff7835e6
40
40
  zh: 53838ac8d4a79600
package/README.md CHANGED
@@ -55,6 +55,8 @@ The browser half is built on one principle: a dynamic package must ride the same
55
55
 
56
56
  ### Source map
57
57
 
58
+ The entry installs the vendored Cordis `TimerService`, shared with the Host, in the runner's context. The browser bundle inlines Timer and uses the module table's Cordis instance. Timer calls belong to the calling plugin's fiber; disposing it cancels pending work.
59
+
58
60
  | File | Role |
59
61
  |---|---|
60
62
  | [`src/client/index.ts`](src/client/index.ts) | Plugin entry: runner, orchestrator, inspect registry, forwarded-event subscription |
@@ -64,7 +66,6 @@ The browser half is built on one principle: a dynamic package must ride the same
64
66
  | [`src/client/guard.ts`](src/client/guard.ts) | The whitelisting `ctx` façade for loaded browser halves |
65
67
  | [`src/client/inspect-registry.ts`](src/client/inspect-registry.ts) | Client Inspect Providers and the pending-query router |
66
68
  | [`src/client/providers.ts`](src/client/providers.ts) | First-party client Inspect Providers (slots, theme, events) |
67
- | [`src/client/timer.ts`](src/client/timer.ts) | The client timer service dynamic packages inject |
68
69
 
69
70
  ### Inspecting slot inputs
70
71
 
package/README.zh.md CHANGED
@@ -55,6 +55,8 @@ kind: "package-reference"
55
55
 
56
56
  ### 源码地图
57
57
 
58
+ 入口在 runner 的上下文中安装与 Host 共用的 vendored Cordis `TimerService`。浏览器包内联 Timer,并使用模块表中的 Cordis 实例。定时任务归调用插件的 fiber 所有,释放该 fiber 会取消尚未执行的任务。
59
+
58
60
  | 文件 | 职责 |
59
61
  |---|---|
60
62
  | [`src/client/index.ts`](src/client/index.ts) | 插件入口:runner、编排器、inspect 注册表、转发事件订阅 |
@@ -64,7 +66,6 @@ kind: "package-reference"
64
66
  | [`src/client/guard.ts`](src/client/guard.ts) | 已装载浏览器半收到的白名单 `ctx` façade |
65
67
  | [`src/client/inspect-registry.ts`](src/client/inspect-registry.ts) | Client Inspect Provider 与待答查询路由器 |
66
68
  | [`src/client/providers.ts`](src/client/providers.ts) | 第一方 client Inspect Provider(slots、theme、events) |
67
- | [`src/client/timer.ts`](src/client/timer.ts) | 动态包注入的 client 定时器服务 |
68
69
 
69
70
  ### 查询槽位输入
70
71