@deepseek-ai/dsh-util-time 0.2.0-rc.1 → 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 +2 -2
- package/README.md +0 -2
- package/README.zh.md +0 -2
- package/package.json +3 -3
package/README.i18n.yaml
CHANGED
package/README.md
CHANGED
|
@@ -26,8 +26,6 @@ Zero-dependency zone vocabulary for the wire boundaries that accept a caller's t
|
|
|
26
26
|
|
|
27
27
|
It is a **library, not a service or plugin**: no `ctx`, registers nothing, holds no state.
|
|
28
28
|
|
|
29
|
-
No runtime invariant companion is published because this pure utility owns no event stream or mutable runtime data; unit tests verify zone canonicalization.
|
|
30
|
-
|
|
31
29
|
Call it at the boundary that receives the zone, before the value reaches anything durable. An unusable name answers `undefined`, and the caller raises its own refusal — `session/invalid-time-zone` for the Session prompt, `subagent/invalid-time-zone` for a subagent continuation.
|
|
32
30
|
|
|
33
31
|
-----
|
package/README.zh.md
CHANGED
|
@@ -26,8 +26,6 @@ kind: "package-library"
|
|
|
26
26
|
|
|
27
27
|
它是**库,不是服务也不是插件**:无 `ctx`、不注册任何东西、不持有状态。
|
|
28
28
|
|
|
29
|
-
不发布运行时不变量伴生入口;这个纯工具不拥有事件流或可变运行时数据,时区规范化由单元测试验证。
|
|
30
|
-
|
|
31
29
|
在接收时区的那个边界上调用它,让值在进入任何持久物之前先过一遍。不可用的名称回答 `undefined`,由调用方抛出自己的拒绝——Session 提示词用 `session/invalid-time-zone`,subagent 续话用 `subagent/invalid-time-zone`。
|
|
32
30
|
|
|
33
31
|
-----
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-util-time",
|
|
3
3
|
"description": "Zero-dependency time vocabulary shared by wire boundaries: canonicalClientTimeZone (IANA zone validation and canonicalization only, no formatting)",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.1-alpha.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
],
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
30
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
33
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1"
|
|
34
34
|
}
|
|
35
35
|
}
|