@deepseek-ai/dsh-otel 0.2.0-rc.2 → 0.2.1-alpha.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.
package/README.i18n.yaml CHANGED
@@ -18,8 +18,8 @@
18
18
  en: f141a9d909c555d8
19
19
  zh: e4f5b690ccb1337c
20
20
  /deepseek-ai-dsh-otel/understand-the-implementation:
21
- en: 0976ab2c661529bb
22
- zh: 9653db33fc70195d
21
+ en: d1b6f8f2b25ea252
22
+ zh: 73d6147bae811ce0
23
23
  /deepseek-ai-dsh-otel/further-exploration:
24
24
  en: ee17b991de098cc0
25
25
  zh: f90257e411921f2b
package/README.md CHANGED
@@ -36,7 +36,7 @@ Headers are explicit. The service does not add a channel header or inherit ambie
36
36
 
37
37
  `src/index.ts` registers the service; `event-log.ts` owns ordinary SDK batching; `session-log.ts` owns byte/count scheduling; `transport.ts` supplies the Session SDK JSON HTTP delegate; `event-transport.ts` uses Got for cancellable ordinary-event HTTP requests and retry waits with SDK serialization and export accounting. No global OTel provider is installed. The Session processor measures each record once, groups conservative sizes, and waits for the SDK concurrency queue to clear after every callback before sending another request.
38
38
 
39
- No runtime invariant companion is published: channel creation registers no independent domain state, and collector delivery cannot be inferred from local queues. Composition tests exercise independent channels and service removal; adapter tests cover dependent-fiber cleanup and feedback authorization.
39
+ Composition tests exercise independent channels and service removal; adapter tests cover dependent-fiber cleanup and feedback authorization.
40
40
 
41
41
  <a id="further-exploration"></a>
42
42
  ## Further Exploration
package/README.zh.md CHANGED
@@ -36,7 +36,7 @@ Header 显式提供。服务不会附加 channel header,也不继承环境中
36
36
 
37
37
  `src/index.ts` 注册服务;`event-log.ts` 负责普通事件的 SDK 聚合;`session-log.ts` 负责字节和条数调度;`transport.ts` 提供 Session 的 SDK JSON HTTP delegate;`event-transport.ts` 使用 Got 实现可取消的普通事件 HTTP 请求和重试等待,序列化与导出计数仍由 SDK 负责。不安装全局 OTel provider。Session processor 对每条记录只计量一次,按保守大小组包,并在每次回调后等待 SDK 并发队列清理完成才发送下一请求。
38
38
 
39
- 不发布运行时不变式伴生入口:通道创建不注册独立领域状态,无法从本地队列推断 collector 是否收到记录。组合测试覆盖独立通道和服务移除;适配器测试覆盖依赖 fiber 清理与反馈授权。
39
+ 组合测试覆盖独立通道和服务移除;适配器测试覆盖依赖 fiber 清理与反馈授权。
40
40
 
41
41
  <a id="further-exploration"></a>
42
42
  ## 进一步探索
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-otel",
3
3
  "description": "Cordis service for independent ordinary-event and byte-bounded Session-log OTLP channels",
4
- "version": "0.2.0-rc.2",
4
+ "version": "0.2.1-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -37,11 +37,11 @@
37
37
  "got": "^14.6.6"
38
38
  },
39
39
  "peerDependencies": {
40
- "@deepseek-ai/cordis": "~4.0.4",
41
- "@deepseek-ai/dsh-session": "0.2.0-rc.2"
40
+ "@deepseek-ai/cordis": "~4.0.5-alpha.1",
41
+ "@deepseek-ai/dsh-session": "0.2.1-alpha.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@deepseek-ai/cordis": "~4.0.4",
45
- "@deepseek-ai/dsh-session": "0.2.0-rc.2"
44
+ "@deepseek-ai/cordis": "~4.0.5-alpha.1",
45
+ "@deepseek-ai/dsh-session": "0.2.1-alpha.1"
46
46
  }
47
47
  }