@deepseek-ai/dsh-time-context 0.1.7-rc.2 → 0.2.0-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
@@ -9,8 +9,8 @@
9
9
  en: ec051915b3d81cda
10
10
  zh: 3a0ef832e3a5e419
11
11
  /deepseek-ai-dsh-time-context/summary:
12
- en: e4e308b9fd3fcd56
13
- zh: 9fb4d40ebe621d6a
12
+ en: d152f34674644f83
13
+ zh: 5521772386c3737e
14
14
  /deepseek-ai-dsh-time-context/table-of-contents:
15
15
  en: d152484eb41ac6b4
16
16
  zh: 09388d293f9be9cb
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-time-context` gives the model a clock: on eligible steps it appends a durable, source-attributed reading with the current time, the browser zone attached to the open request, and the elapsed time since the preceding model-visible message. It helps the model interpret otherwise-unqualified dates and times in the user's browser zone, and tells it to ask when current-turn browser zones are mixed or missing. The shipped Web bundle mounts it with Schedule. Readings default to a 10-minute minimum interval; `refreshIntervalMs: 0` injects at every eligible step.
12
+ `dsh-time-context` gives the model a clock: on eligible steps it appends a durable, source-attributed reading with the current time, the browser zone attached to the open request, and the elapsed time since the preceding model-visible message. It helps the model interpret otherwise-unqualified dates and times in the user's browser zone, and tells it to ask when current-turn browser zones are mixed or missing. The shipped Web composition carries no row for it; the optional `@deepseek-ai/dsh-experimental-schedule-bundle` inserts and mounts it with Schedule from the Plugins page. Readings default to a 10-minute minimum interval; `refreshIntervalMs: 0` injects at every eligible step.
13
13
 
14
14
  ## Table of Contents
15
15
 
package/README.zh.md CHANGED
@@ -9,7 +9,7 @@ kind: "package-reference"
9
9
 
10
10
  ## 概述
11
11
 
12
- `dsh-time-context` 给模型一只时钟:在符合条件的步骤上,它追加一条持久、带来源的读数,包含当前时间、附加到当前开放请求的浏览器时区,以及自前一条模型可见消息以来的经过时长。它帮助模型按用户的浏览器时区解释未明确限定时区的日期与时间;时区来源混杂或缺失时,它告诉模型去询问。发布的 Web bundle 会随 Schedule 一起挂载它。读数默认采用 10 分钟的最小间隔;`refreshIntervalMs: 0` 会在每个符合条件的步骤注入。
12
+ `dsh-time-context` 给模型一只时钟:在符合条件的步骤上,它追加一条持久、带来源的读数,包含当前时间、附加到当前开放请求的浏览器时区,以及自前一条模型可见消息以来的经过时长。它帮助模型按用户的浏览器时区解释未明确限定时区的日期与时间;时区来源混杂或缺失时,它告诉模型去询问。随发行版交付的 Web 组合不含该行;可选的 `@deepseek-ai/dsh-experimental-schedule-bundle` 在插件管理页会插入它并随 Schedule 一起挂载。读数默认采用 10 分钟的最小间隔;`refreshIntervalMs: 0` 会在每个符合条件的步骤注入。
13
13
 
14
14
  ## 目录
15
15
 
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Time awareness",
4
+ "description": "Tells the model the current time, the browser's time zone, and the time since the previous message at each step."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "时间感知",
4
+ "description": "每一步把当前时间、浏览器时区和距上一条消息的时长告诉模型。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-time-context",
3
3
  "description": "Durable per-step context with the current time and elapsed time",
4
- "version": "0.1.7-rc.2",
4
+ "version": "0.2.0-rc.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -23,9 +23,11 @@
23
23
  "default": "./lib/invariant.js"
24
24
  },
25
25
  "./src/*": "./src/*",
26
- "./package.json": "./package.json"
26
+ "./package.json": "./package.json",
27
+ "./locale/*.json": "./locale/*.json"
27
28
  },
28
29
  "files": [
30
+ "locale/*.json",
29
31
  "lib/index.js",
30
32
  "lib/invariant.js",
31
33
  "lib/types/**/*.d.ts"
@@ -33,33 +35,33 @@
33
35
  "license": "MIT",
34
36
  "dependencies": {
35
37
  "zod": "^4.4.3",
36
- "@deepseek-ai/dsh-util-values": "0.1.7-rc.2",
38
+ "@deepseek-ai/dsh-util-values": "0.2.0-rc.2",
37
39
  "@deepseek-ai/schemastery": "~3.18.4"
38
40
  },
39
41
  "peerDependencies": {
40
- "@deepseek-ai/dsh-agent": "0.1.7-rc.2",
41
- "@deepseek-ai/cordis": "~4.0.4",
42
- "@deepseek-ai/dsh-llm": "0.1.7-rc.2",
43
- "@deepseek-ai/dsh-session": "0.1.7-rc.2",
44
- "@deepseek-ai/dsh-session-projection": "0.1.7-rc.2",
45
- "@deepseek-ai/dsh-invariants": "0.1.7-rc.2"
42
+ "@deepseek-ai/dsh-agent": "0.2.0-rc.2",
43
+ "@deepseek-ai/dsh-invariants": "0.2.0-rc.2",
44
+ "@deepseek-ai/dsh-llm": "0.2.0-rc.2",
45
+ "@deepseek-ai/dsh-session": "0.2.0-rc.2",
46
+ "@deepseek-ai/dsh-session-projection": "0.2.0-rc.2",
47
+ "@deepseek-ai/cordis": "~4.0.4"
46
48
  },
47
49
  "devDependencies": {
48
50
  "@deepseek-ai/cordis": "~4.0.4",
49
- "@deepseek-ai/dsh-agent": "0.1.7-rc.2",
50
- "@deepseek-ai/dsh-agent-loop": "0.1.7-rc.2",
51
- "@deepseek-ai/dsh-agent-loop-testkit": "0.1.7-rc.2",
52
- "@deepseek-ai/dsh-app-boot": "0.1.7-rc.2",
53
- "@deepseek-ai/dsh-bash-local": "0.1.7-rc.2",
54
- "@deepseek-ai/dsh-llm": "0.1.7-rc.2",
55
- "@deepseek-ai/dsh-loader-smoke": "0.1.7-rc.2",
56
- "@deepseek-ai/dsh-session": "0.1.7-rc.2",
57
- "@deepseek-ai/dsh-invariants": "0.1.7-rc.2",
58
- "@deepseek-ai/dsh-session-checkpoint-policy": "0.1.7-rc.2",
59
- "@deepseek-ai/dsh-session-persistence-jsonl": "0.1.7-rc.2",
60
- "@deepseek-ai/dsh-session-projection": "0.1.7-rc.2",
61
- "@deepseek-ai/dsh-subprocess-local": "0.1.7-rc.2",
62
- "@deepseek-ai/dsh-system-prompt": "0.1.7-rc.2",
63
- "@deepseek-ai/dsh-tools": "0.1.7-rc.2"
51
+ "@deepseek-ai/dsh-agent": "0.2.0-rc.2",
52
+ "@deepseek-ai/dsh-agent-loop": "0.2.0-rc.2",
53
+ "@deepseek-ai/dsh-agent-loop-testkit": "0.2.0-rc.2",
54
+ "@deepseek-ai/dsh-bash-local": "0.2.0-rc.2",
55
+ "@deepseek-ai/dsh-app-boot": "0.2.0-rc.2",
56
+ "@deepseek-ai/dsh-invariants": "0.2.0-rc.2",
57
+ "@deepseek-ai/dsh-loader-smoke": "0.2.0-rc.2",
58
+ "@deepseek-ai/dsh-session": "0.2.0-rc.2",
59
+ "@deepseek-ai/dsh-session-checkpoint-policy": "0.2.0-rc.2",
60
+ "@deepseek-ai/dsh-llm": "0.2.0-rc.2",
61
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.0-rc.2",
62
+ "@deepseek-ai/dsh-subprocess-local": "0.2.0-rc.2",
63
+ "@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
64
+ "@deepseek-ai/dsh-tools": "0.2.0-rc.2",
65
+ "@deepseek-ai/dsh-session-projection": "0.2.0-rc.2"
64
66
  }
65
67
  }