dsh-date-wrapper 0.1.1-beta.1 → 0.1.5

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/CHANGELOG.ja.md CHANGED
@@ -15,6 +15,30 @@
15
15
  - [日本語 changelog](./CHANGELOG.ja.md)
16
16
  - [한국어 changelog](./CHANGELOG.ko.md)
17
17
 
18
+ ## 0.1.5 — 2026-09-29
19
+
20
+ ### 変更
21
+
22
+ - **DSH 0.1.5 系のサポート(`>=0.1.5-rc.1 <0.1.6-0`)。** 専用アーティファクト 0.1.5(ブランチ
23
+ `compat/0.1.5`、dist-tag `dsh-0.1.5`)。`dsh-v0.1.5-rc.2` に対して検証済み: `systemPrompt.context`
24
+ 契約は同一、order 110/115/120 は使用中で 116 は空き、vendor cordis 4.0.2 は peer `^4.0.2` で充足。
25
+
26
+ ## 0.3.0 — 2026-09-29
27
+
28
+ ### 変更
29
+
30
+ - **DSH 0.2.0 系のサポート(`>=0.2.0-rc.1 <0.2.1-0`)。** `package.json` と `dsh.plugin.json`
31
+ の両方で `engines.dsh` を更新し、両マニフェストのバージョンを 0.3.0 に引き上げました。
32
+ コード変更はありません: `dsh-v0.1.7-rc.2` と `dsh-v0.2.0-rc.1` の間で `packages/core/system-prompt`
33
+ の差分はバージョン 1 行のみ、`order: 116` のスロットも衝突なし(110/115/120 は変わらず)、
34
+ プラグイン移行ガイドに `systemPrompt` の項目はありません。0.1.x 系(0.1.0-rc.7 → 0.1.7.x)は
35
+ 引き続きアーティファクト ≤ 0.2.0(dist-tag `dsh-0.1.7`)でサービスされます。
36
+
37
+ ### 修正
38
+
39
+ - npm に公開済みだった 0.2.0 のバージョン引き上げを git 履歴に反映(以前は未コミットの
40
+ 作業ツリーから公開されていました)。
41
+
18
42
  ## 0.1.0 — 2026-09-08
19
43
 
20
44
  初回リリース。
package/CHANGELOG.ko.md CHANGED
@@ -15,6 +15,30 @@
15
15
  - [日本語 changelog](./CHANGELOG.ja.md)
16
16
  - [한국어 changelog](./CHANGELOG.ko.md)
17
17
 
18
+ ## 0.1.5 — 2026-09-29
19
+
20
+ ### 변경
21
+
22
+ - **DSH 0.1.5 라인 지원(`>=0.1.5-rc.1 <0.1.6-0`).** 전용 아티팩트 0.1.5(브랜치 `compat/0.1.5`,
23
+ dist-tag `dsh-0.1.5`). `dsh-v0.1.5-rc.2` 대비 검증 완료: `systemPrompt.context` 계약 동일,
24
+ order 110/115/120 사용 중이고 116은 비어 있으며, vendor cordis 4.0.2는 peer `^4.0.2`로 충족.
25
+
26
+ ## 0.3.0 — 2026-09-29
27
+
28
+ ### 변경
29
+
30
+ - **DSH 0.2.0 라인 지원(`>=0.2.0-rc.1 <0.2.1-0`).** `package.json`과 `dsh.plugin.json` 양쪽에서
31
+ `engines.dsh`를 갱신하고 두 매니페스트의 버전을 0.3.0으로 올렸습니다. 코드 변경은 없습니다:
32
+ `dsh-v0.1.7-rc.2`와 `dsh-v0.2.0-rc.1` 사이 `packages/core/system-prompt`의 diff는 버전 1줄뿐이고,
33
+ `order: 116` 슬롯도 충돌 없으며(110/115/120 변화 없음), 플러그인 마이그레이션 가이드에는
34
+ `systemPrompt` 항목이 없습니다. 0.1.x 라인(0.1.0-rc.7 → 0.1.7.x)은 계속 아티팩트 ≤ 0.2.0
35
+ (dist-tag `dsh-0.1.7`)으로 서비스됩니다.
36
+
37
+ ### 수정
38
+
39
+ - npm에 게시된 0.2.0 버전 bump를 git 히스토리에 반영(이전에는 커밋되지 않은 작업 트리에서
40
+ 게시되었었습니다).
41
+
18
42
  ## 0.1.0 — 2026-09-08
19
43
 
20
44
  최초 릴리스.
package/CHANGELOG.md CHANGED
@@ -25,6 +25,31 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
25
25
  `dsh-v0.1.1-rc.2` and `dsh-v0.1.2-rc.1`, and the plugin registers no settings namespace, reads
26
26
  no session data and makes no RPC call.
27
27
 
28
+ ## 0.1.5 — 2026-09-29
29
+
30
+ ### Changed
31
+
32
+ - **DSH 0.1.5 line support (`>=0.1.5-rc.1 <0.1.6-0`).** Dedicated artifact 0.1.5 on branch
33
+ `compat/0.1.5`, dist-tag `dsh-0.1.5`. Verified against `dsh-v0.1.5-rc.2`: `systemPrompt.context`
34
+ contract identical, orders 110/115/120 taken and 116 free, vendor cordis 4.0.2 satisfied by
35
+ peer `^4.0.2`.
36
+
37
+ ## 0.3.0 — 2026-09-29
38
+
39
+ ### Changed
40
+
41
+ - **DSH 0.2.0 line support (`>=0.2.0-rc.1 <0.2.1-0`).** `engines.dsh` updated in both
42
+ `package.json` and `dsh.plugin.json`; version bumped to 0.3.0 in both manifests. No code
43
+ change: between `dsh-v0.1.7-rc.2` and `dsh-v0.2.0-rc.1` the `packages/core/system-prompt`
44
+ diff is a single version line, the `order: 116` slot stays collision-free (110/115/120
45
+ unchanged), and the plugin migration guide has no `systemPrompt` entry. The 0.1.x line
46
+ (0.1.0-rc.7 → 0.1.7.x) remains served by artifact ≤ 0.2.0 (dist-tag `dsh-0.1.7`).
47
+
48
+ ### Fixed
49
+
50
+ - Reconciled the npm-published 0.2.0 version bump into git history (it was previously
51
+ published from an uncommitted working tree).
52
+
28
53
  ## 0.1.0 — 2026-09-08
29
54
 
30
55
  First release.
package/INSTALL.ja.md CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  ```powershell
18
18
  echo $env:DSH_HOME # usually C:\Users\<you>\.dsh
19
- dsh --version # this guide was verified on 0.1.1-rc.2
19
+ dsh --version # このガイドは 0.1.1-rc.2 で検証(0.1.x 系、プラグイン ≤ 0.2.0)。0.1.5-rc.1+ はプラグイン 0.1.5 を使用(dist-tag dsh-0.1.5)。0.2.0-rc.1+ はプラグイン ≥ 0.3.0 が必要(engines >=0.2.0-rc.1 <0.2.1-0)
20
20
  pnpm --version # `dsh plugin` is a pnpm forwarder, so pnpm must be on PATH
21
21
  ```
22
22
 
package/INSTALL.ko.md CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  ```powershell
18
18
  echo $env:DSH_HOME # usually C:\Users\<you>\.dsh
19
- dsh --version # this guide was verified on 0.1.1-rc.2
19
+ dsh --version # 이 가이드는 0.1.1-rc.2에서 검증됨(0.1.x 라인, 플러그인 ≤ 0.2.0). 0.1.5-rc.1+는 플러그인 0.1.5 사용(dist-tag dsh-0.1.5). 0.2.0-rc.1+에는 플러그인 ≥ 0.3.0 필요(engines >=0.2.0-rc.1 <0.2.1-0)
20
20
  pnpm --version # `dsh plugin` is a pnpm forwarder, so pnpm must be on PATH
21
21
  ```
22
22
 
package/INSTALL.md CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  ```powershell
18
18
  echo $env:DSH_HOME # usually C:\Users\<you>\.dsh
19
- dsh --version # this guide was verified on 0.1.1-rc.2
19
+ dsh --version # verified on 0.1.1-rc.2 (0.1.x line, plugin <= 0.2.0); 0.1.5-rc.1+ uses plugin 0.1.5 (dist-tag dsh-0.1.5); 0.2.0-rc.1+ needs plugin >= 0.3.0 (engines >=0.2.0-rc.1 <0.2.1-0)
20
20
  pnpm --version # `dsh plugin` is a pnpm forwarder, so pnpm must be on PATH
21
21
  ```
22
22
 
package/INSTALL.zh.md CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  ```powershell
18
18
  echo $env:DSH_HOME # 通常是 C:\Users\<你>\.dsh
19
- dsh --version # 本指南验证于 0.1.1-rc.2
19
+ dsh --version # 本指南验证于 0.1.1-rc.2(0.1.x 线,插件 ≤ 0.2.0);0.1.5-rc.1+ 使用插件 0.1.5(dist-tag dsh-0.1.5);0.2.0-rc.1+ 需插件 ≥ 0.3.0(engines >=0.2.0-rc.1 <0.2.1-0)
20
20
  pnpm --version # dsh plugin 是 pnpm 转发器,pnpm 必须在 PATH 上
21
21
  ```
22
22
 
package/README.ja.md CHANGED
@@ -46,22 +46,24 @@ Current date: 2026-09-08 Asia/Shanghai Tuesday
46
46
 
47
47
  | 項目 | 判定 |
48
48
  |------|---------|
49
- | 対象 DSH バージョン | 0.1.0-rc.7 → 0.1.3-alpha.2(コントラクトは安定。下の表を参照) |
49
+ | 対象 DSH バージョン | 0.1.0-rc.7 → 0.1.4.x / 0.1.6 → 0.1.7.x(0.1.x 系 — アーティファクト ≤ 0.2.0);0.1.5-rc.1 → 0.1.5.x(専用ライン、`engines.dsh: >=0.1.5-rc.1 <0.1.6-0` — アーティファクト 0.1.5、dist-tag `dsh-0.1.5`);0.2.0-rc.1 → 0.2.0.x(0.2.0 系、`engines.dsh: >=0.2.0-rc.1 <0.2.1-0` — アーティファクト ≥ 0.3.0) |
50
50
  | settings API | **該当なし**: プラグインは設定を登録せず、schemastery の `Config` もエクスポートしません |
51
51
  | 使用しているコントラクトポイント | ちょうど 1 つ — `systemPrompt.context()` |
52
52
  | ネイティブ機能との競合 | `@deepseek-ai/dsh-time-context` と重複します。**両方を同時に使わないでください**。デフォルトではインストールされない = デフォルトでオフ |
53
53
  | ブラウザ側 | **なし**: スロットも DOM も CSS セマンティックトークンもありません |
54
54
  | DSH パッケージのインポート | **ゼロ**: `@deepseek-ai/*` から何も取り込みません。これは「実行時検出 + デュアル API フォールバック」パターンよりも厳格です |
55
55
 
56
- | コントラクトポイント | 0.1.0-rc.7 | 0.1.1-rc.2 | 0.1.2-rc.1 | 0.1.3-alpha.2 |
57
- |---|---|---|---|---|
58
- | `systemPrompt.context(ctx): () => void` | yes | yes(このホストで検証済み) | yes | yes |
59
- | `PromptContext = { name, order, text }`、`complete` フィールドなし | yes | yes | yes | yes |
60
- | `includeRuntimeContext` / `suppressRuntimeContext` | yes | yes | yes | yes |
61
- | agent-loop の `project()` によるテキスト重複排除と `surfaceOp: "append"` | yes | yes | yes | 未比較 |
56
+ | コントラクトポイント | 0.1.0-rc.7 | 0.1.1-rc.2 | 0.1.2-rc.1 | 0.1.3-alpha.2 | 0.1.5-rc.2 | 0.1.7-rc.2 | 0.2.0-rc.1 |
57
+ |---|---|---|---|---|---|---|---|
58
+ | `systemPrompt.context(ctx): () => void` | yes | yes(このホストで検証済み) | yes | yes | yes | yes | yes(0.1.7-rc.2 との差分はバージョン文字列のみ) |
59
+ | `PromptContext = { name, order, text }`、`complete` フィールドなし | yes | yes | yes | yes | yes | yes | yes |
60
+ | `includeRuntimeContext` / `suppressRuntimeContext` | yes | yes | yes | yes | yes | yes | yes |
61
+ | agent-loop の `project()` によるテキスト重複排除と `surfaceOp: "append"` | yes | yes | yes | 未比較 | yes | yes | yes |
62
+ | `order: 116` の衝突なし(110 / 115 / 120 は使用中) | yes | yes | yes | yes | yes | yes | yes(0.1.5-rc.2) |
62
63
 
63
64
  > 方法: `npm pack @deepseek-ai/dsh-system-prompt@<version>` で取得して展開し、`lib/types/index.d.ts` と `lib/index.js` を比較。`@deepseek-ai/dsh-agent-loop` も同様。
64
- > このホストで**実行時に**検証済みなのは 0.1.1-rc.2 のみです。0.1.2-rc.1 / 0.1.3-alpha.2 の実行時検証はまだ保留中です(`HANDOVER.md` §7 を参照)。
65
+ > `dsh-v0.1.7-rc.2` と `dsh-v0.2.0-rc.1` の間で `packages/core/system-prompt` の差分はバージョン 1 行のみで、110/115/120 の `systemPrompt.context` 呼び出し箇所はそのまま、プラグイン移行ガイドに `systemPrompt` の項目はありません。
66
+ > このホストで**実行時に**検証済みなのは 0.1.1-rc.2 のみです。0.2.0-rc.1 の実行時スモークは `HANDOVER.md` §7 を参照。
65
67
 
66
68
  ## メッセージではなくランタイムコンテキストスナップショットを使う理由
67
69
 
package/README.ko.md CHANGED
@@ -46,22 +46,24 @@ Current date: 2026-09-08 Asia/Shanghai Tuesday
46
46
 
47
47
  | 항목 | 판정 |
48
48
  |------|---------|
49
- | 대상 DSH 버전 | 0.1.0-rc.7 → 0.1.3-alpha.2 (계약 안정, 아래 표 참조) |
49
+ | 대상 DSH 버전 | 0.1.0-rc.7 → 0.1.4.x / 0.1.6 → 0.1.7.x (0.1.x 라인 — 아티팩트 ≤ 0.2.0); 0.1.5-rc.1 → 0.1.5.x (전용 라인, `engines.dsh: >=0.1.5-rc.1 <0.1.6-0` — 아티팩트 0.1.5, dist-tag `dsh-0.1.5`); 0.2.0-rc.1 → 0.2.0.x (0.2.0 라인, `engines.dsh: >=0.2.0-rc.1 <0.2.1-0` — 아티팩트 ≥ 0.3.0) |
50
50
  | settings API | **해당 없음**: 이 플러그인은 settings를 등록하지 않고 schemastery `Config`도 내보내지 않습니다 |
51
51
  | 사용하는 계약 지점 | 정확히 하나 — `systemPrompt.context()` |
52
52
  | 네이티브 기능과의 충돌 | `@deepseek-ai/dsh-time-context`와 중복됩니다; **둘 다 사용하지 마십시오**. 기본 미설치 = 기본 꺼짐 |
53
53
  | 브라우저 절반 | **없음**: 슬롯 없음, DOM 없음, CSS 시맨틱 토큰 없음 |
54
54
  | DSH 패키지 임포트 | **0건**: `@deepseek-ai/*`에서 아무것도 가져오지 않으며, 이는 "런타임 감지 + 이중 API 폴백" 패턴보다 더 엄격합니다 |
55
55
 
56
- | 계약 지점 | 0.1.0-rc.7 | 0.1.1-rc.2 | 0.1.2-rc.1 | 0.1.3-alpha.2 |
57
- |---|---|---|---|---|
58
- | `systemPrompt.context(ctx): () => void` | 예 | 예(이 호스트에서 검증됨) | 예 | 예 |
59
- | `PromptContext = { name, order, text }`, `complete` 필드 없음 | 예 | 예 | 예 | 예 |
60
- | `includeRuntimeContext` / `suppressRuntimeContext` | 예 | 예 | 예 | 예 |
61
- | agent-loop의 `project()` 텍스트 중복 제거와 `surfaceOp: "append"` | 예 | 예 | 예 | 비교하지 않음 |
56
+ | 계약 지점 | 0.1.0-rc.7 | 0.1.1-rc.2 | 0.1.2-rc.1 | 0.1.3-alpha.2 | 0.1.5-rc.2 | 0.1.7-rc.2 | 0.2.0-rc.1 |
57
+ |---|---|---|---|---|---|---|---|
58
+ | `systemPrompt.context(ctx): () => void` | 예 | 예(이 호스트에서 검증됨) | 예 | 예 | 예 | 예 | 예(0.1.7-rc.2 대비 diff는 버전 문자열 1줄뿐) |
59
+ | `PromptContext = { name, order, text }`, `complete` 필드 없음 | 예 | 예 | 예 | 예 | 예 | 예 | 예 |
60
+ | `includeRuntimeContext` / `suppressRuntimeContext` | 예 | 예 | 예 | 예 | 예 | 예 | 예 |
61
+ | agent-loop의 `project()` 텍스트 중복 제거와 `surfaceOp: "append"` | 예 | 예 | 예 | 비교하지 않음 | 예 | 예 | 예 |
62
+ | `order: 116` 충돌 없음(110 / 115 / 120 사용 중) | 예 | 예 | 예 | 예 | 예 | 예 | 예(0.1.5-rc.2) |
62
63
 
63
64
  > 방법: `npm pack @deepseek-ai/dsh-system-prompt@<version>`으로 묶은 뒤 풀고 `lib/types/index.d.ts`와 `lib/index.js`를 비교합니다; `@deepseek-ai/dsh-agent-loop`도 같은 방식입니다.
64
- > 이 호스트에서 **런타임에서** 검증된 것은 0.1.1-rc.2뿐이며, 0.1.2-rc.1 / 0.1.3-alpha.2의 런타임 검증은 아직 대기 중입니다(`HANDOVER.md` §7 참조).
65
+ > `dsh-v0.1.7-rc.2`와 `dsh-v0.2.0-rc.1` 사이 `packages/core/system-prompt`의 diff는 버전 1줄뿐이고, 110/115/120의 `systemPrompt.context` 호출 지점은 그대로이며, 플러그인 마이그레이션 가이드에는 `systemPrompt` 항목이 없습니다.
66
+ > 이 호스트에서 **런타임에서** 검증된 것은 0.1.1-rc.2뿐이며, 0.2.0-rc.1의 런타임 스모크는 `HANDOVER.md` §7을 참조하십시오.
65
67
 
66
68
  ## 메시지가 아니라 런타임 컨텍스트 스냅샷인 이유
67
69
 
package/README.md CHANGED
@@ -16,14 +16,18 @@
16
16
  >
17
17
  > | DSH version | Load | Host contract | Client half |
18
18
  > | --- | --- | --- | --- |
19
- > | 0.1.0-rc.7 ~ 0.1.1-rc.x | ✅ | `systemPrompt.context({ name, order, text })` | — (host-only plugin) |
20
- > | 0.1.2-alpha.2+ / 0.1.2-rc.1 | ✅ | same signature, byte-identical | — (host-only plugin) |
19
+ > | 0.1.0-rc.7 ~ 0.1.4.x, 0.1.6 ~ 0.1.7.x | ✅ artifact ≤ 0.2.0 | `systemPrompt.context({ name, order, text })` | — (host-only plugin) |
20
+ > | 0.1.5-rc.1+ (`>=0.1.5-rc.1 <0.1.6-0`) | ✅ artifact 0.1.5 (dist-tag `dsh-0.1.5`) | same signature; orders 110/115/120 taken, 116 free | — (host-only plugin) |
21
+ > | 0.2.0-rc.1+ (`>=0.2.0-rc.1 <0.2.1-0`) | ✅ artifact ≥ 0.3.0 | same signature; `packages/core/system-prompt` diff vs `dsh-v0.1.7-rc.2` is the version string only | — (host-only plugin) |
21
22
  >
22
- > One artifact covers both: the plugin only calls `systemPrompt.context`, whose
23
- > signature and semantics are unchanged between `dsh-v0.1.1-rc.2` and
24
- > `dsh-v0.1.2-rc.1`. It registers no settings namespace, reads no session data and
25
- > makes no RPC call, so the 0.1.1 → 0.1.2 client/session/persistence rewrites do
26
- > not touch it.
23
+ > One contract covers all lines: the plugin only calls `systemPrompt.context`, whose
24
+ > signature and semantics are unchanged from `dsh-v0.1.1-rc.2` through
25
+ > `dsh-v0.2.0-rc.1`. It registers no settings namespace, reads no session data and
26
+ > makes no RPC call, so the 0.1.1 → 0.1.2 client/session/persistence rewrites and
27
+ > the 0.1.7 → 0.2.0-rc.1 host changes do not touch it. Host 0.1.5-rc.1+ uses its own
28
+ > artifact 0.1.5 (dist-tag `dsh-0.1.5`, vendor cordis 4.0.2 → peer `^4.0.2`); other older
29
+ > 0.1.x hosts stay on artifact ≤ 0.2.0 (dist-tag `dsh-0.1.7`); the 0.2.0 line is served by
30
+ > artifact ≥ 0.3.0.
27
31
 
28
32
  > A minimal date line: it hangs `Current date: 2026-09-08 Asia/Shanghai Tuesday` (46 characters, ~12 tokens) onto the runtime-context snapshot DSH already sends.
29
33
  > It does **not** load `@deepseek-ai/dsh-time-context`, does **not** add extra session messages, does **not** patch DSH source, and needs no PR.
@@ -59,22 +63,24 @@ Current date: 2026-09-08 Asia/Shanghai Tuesday
59
63
 
60
64
  | Item | Verdict |
61
65
  |------|---------|
62
- | Target DSH versions | 0.1.0-rc.7 → 0.1.3-alpha.2 (contract stable, see the table below) |
66
+ | Target DSH versions | 0.1.0-rc.7 → 0.1.4.x / 0.1.6 → 0.1.7.x (0.1.x line — artifact ≤ 0.2.0); 0.1.5-rc.1 → 0.1.5.x (dedicated line, `engines.dsh: >=0.1.5-rc.1 <0.1.6-0` — artifact 0.1.5, dist-tag `dsh-0.1.5`); 0.2.0-rc.1 → 0.2.0.x (0.2.0 line, `engines.dsh: >=0.2.0-rc.1 <0.2.1-0` — artifact ≥ 0.3.0) |
63
67
  | settings API | **Not applicable**: the plugin registers no settings and exports no schemastery `Config` |
64
68
  | Contract points used | Exactly one — `systemPrompt.context()` |
65
69
  | Conflict with a native feature | Overlaps `@deepseek-ai/dsh-time-context`; **do not use both**. Not installed by default = off by default |
66
70
  | Browser half | **None**: no slot, no DOM, no CSS semantic tokens |
67
71
  | DSH package imports | **Zero**: nothing from `@deepseek-ai/*`, which is stricter than the "runtime detection + dual API fallback" pattern |
68
72
 
69
- | Contract point | 0.1.0-rc.7 | 0.1.1-rc.2 | 0.1.2-rc.1 | 0.1.3-alpha.2 |
70
- |---|---|---|---|---|
71
- | `systemPrompt.context(ctx): () => void` | yes | yes (verified on this host) | yes | yes |
72
- | `PromptContext = { name, order, text }`, no `complete` field | yes | yes | yes | yes |
73
- | `includeRuntimeContext` / `suppressRuntimeContext` | yes | yes | yes | yes |
74
- | agent-loop `project()` text dedupe and `surfaceOp: "append"` | yes | yes | yes | not compared |
73
+ | Contract point | 0.1.0-rc.7 | 0.1.1-rc.2 | 0.1.2-rc.1 | 0.1.3-alpha.2 | 0.1.5-rc.2 | 0.1.7-rc.2 | 0.2.0-rc.1 |
74
+ |---|---|---|---|---|---|---|---|
75
+ | `systemPrompt.context(ctx): () => void` | yes | yes (verified on this host) | yes | yes | yes | yes | yes (diff vs 0.1.7-rc.2: version string only) |
76
+ | `PromptContext = { name, order, text }`, no `complete` field | yes | yes | yes | yes | yes | yes | yes |
77
+ | `includeRuntimeContext` / `suppressRuntimeContext` | yes | yes | yes | yes | yes | yes | yes |
78
+ | agent-loop `project()` text dedupe and `surfaceOp: "append"` | yes | yes | yes | not compared | yes | yes | yes |
79
+ | `order: 116` collision-free (110 / 115 / 120 taken) | yes | yes | yes | yes | yes | yes | yes (0.1.5-rc.2) |
75
80
 
76
81
  > Method: `npm pack @deepseek-ai/dsh-system-prompt@<version>`, unpack, and compare `lib/types/index.d.ts` and `lib/index.js`; the same for `@deepseek-ai/dsh-agent-loop`.
77
- > Only 0.1.1-rc.2 has been verified **at runtime** on this host; runtime verification on 0.1.2-rc.1 / 0.1.3-alpha.2 is still pending (see `HANDOVER.md` §7).
82
+ > Between `dsh-v0.1.7-rc.2` and `dsh-v0.2.0-rc.1` the `packages/core/system-prompt` diff is a single version line, the 110/115/120 `systemPrompt.context` call sites are unchanged, and the plugin migration guide has no `systemPrompt` entry.
83
+ > Only 0.1.1-rc.2 has been verified **at runtime** on this host; runtime smoke on 0.2.0-rc.1 is tracked in `HANDOVER.md` §7.
78
84
 
79
85
  ## Why a runtime-context snapshot instead of a message
80
86
 
package/README.zh.md CHANGED
@@ -16,12 +16,16 @@
16
16
  >
17
17
  > | DSH 版本 | 加载 | 宿主契约 | 客户端半 |
18
18
  > | --- | --- | --- | --- |
19
- > | 0.1.0-rc.7 ~ 0.1.1-rc.x | ✅ | `systemPrompt.context({ name, order, text })` | —(纯宿主插件) |
20
- > | 0.1.2-alpha.2+ / 0.1.2-rc.1 | ✅ | 同一签名,字节一致 | —(纯宿主插件) |
19
+ > | 0.1.0-rc.7 ~ 0.1.4.x、0.1.6 ~ 0.1.7.x | ✅ 产物 ≤ 0.2.0 | `systemPrompt.context({ name, order, text })` | —(纯宿主插件) |
20
+ > | 0.1.5-rc.1+(`>=0.1.5-rc.1 <0.1.6-0`) | ✅ 产物 0.1.5(dist-tag `dsh-0.1.5`) | 同一签名;110/115/120 已占用,116 空闲 | —(纯宿主插件) |
21
+ > | 0.2.0-rc.1+(`>=0.2.0-rc.1 <0.2.1-0`) | ✅ 产物 ≥ 0.3.0 | 同一签名;`packages/core/system-prompt` 相对 `dsh-v0.1.7-rc.2` 的 diff 仅版本号一行 | —(纯宿主插件) |
21
22
  >
22
- > 一份产物同时支持两版本:插件只调用 `systemPrompt.context`,其签名与语义在
23
- > `dsh-v0.1.1-rc.2` 与 `dsh-v0.1.2-rc.1` 之间未变。它不注册设置命名空间、不读会话
24
- > 数据、不发 RPC,因此 0.1.1 → 0.1.2 的客户端/会话/持久化重写都与它无关。
23
+ > 一份契约覆盖所有版本线:插件只调用 `systemPrompt.context`,其签名与语义从
24
+ > `dsh-v0.1.1-rc.2` 到 `dsh-v0.2.0-rc.1` 未变。它不注册设置命名空间、不读会话
25
+ > 数据、不发 RPC,因此 0.1.1 → 0.1.2 的客户端/会话/持久化重写与 0.1.7 →
26
+ > 0.2.0-rc.1 的宿主改动都与它无关。宿主 0.1.5-rc.1+ 使用专线产物 0.1.5(dist-tag
27
+ > `dsh-0.1.5`,vendor cordis 4.0.2 → peer `^4.0.2`);其余旧 0.1.x 宿主使用产物 ≤ 0.2.0
28
+ > (dist-tag `dsh-0.1.7`);0.2.0 线由产物 ≥ 0.3.0 服务。
25
29
 
26
30
  > 精简版时间注入:把 `Current date: 2026-09-08 Asia/Shanghai Tuesday`(46 字符 ≈ 12 token)挂进 DSH 自带的运行上下文快照。
27
31
  > 不加载 `@deepseek-ai/dsh-time-context`,不产生额外会话消息,不改 DSH 源码,不提 PR。
@@ -57,22 +61,24 @@ Current date: 2026-09-08 Asia/Shanghai Tuesday
57
61
 
58
62
  | 项 | 结论 |
59
63
  |---|---|
60
- | 目标 DSH 版本 | 0.1.0-rc.7 → 0.1.3-alpha.2(契约稳定,见下表) |
64
+ | 目标 DSH 版本 | 0.1.0-rc.7 → 0.1.4.x / 0.1.6 → 0.1.7.x(0.1.x 线 — 产物 ≤ 0.2.0);0.1.5-rc.1 → 0.1.5.x(专线,`engines.dsh: >=0.1.5-rc.1 <0.1.6-0` — 产物 0.1.5,dist-tag `dsh-0.1.5`);0.2.0-rc.1 → 0.2.0.x(0.2.0 线,`engines.dsh: >=0.2.0-rc.1 <0.2.1-0` — 产物 ≥ 0.3.0) |
61
65
  | settings API | **不适用**:本插件不注册 settings,也不导出 schemastery `Config` |
62
66
  | 使用的契约点 | 只有一个 —— `systemPrompt.context()` |
63
67
  | 与原生功能冲突 | `@deepseek-ai/dsh-time-context` 功能重叠,**不要同时使用**。本插件默认不安装 = 默认关闭 |
64
68
  | client 半 | **无**:不涉及 slot / DOM / CSS 语义 token |
65
69
  | DSH 包 import | **零**:不 `import` 任何 `@deepseek-ai/*`,比「运行时检测 + 双 API 回退」更保守 |
66
70
 
67
- | 契约点 | 0.1.0-rc.7 | 0.1.1-rc.2 | 0.1.2-rc.1 | 0.1.3-alpha.2 |
68
- |---|---|---|---|---|
69
- | `systemPrompt.context(ctx): () => void` | ✅ | ✅(本机实装验证) | ✅ | ✅ |
70
- | `PromptContext = { name, order, text }`,无 `complete` 字段 | ✅ | ✅ | ✅ | ✅ |
71
- | `includeRuntimeContext` / `suppressRuntimeContext` | ✅ | ✅ | ✅ | ✅ |
72
- | agent-loop `project()` 按文本去重、`surfaceOp: "append"` | ✅ | ✅ | ✅ | 未比对 |
71
+ | 契约点 | 0.1.0-rc.7 | 0.1.1-rc.2 | 0.1.2-rc.1 | 0.1.3-alpha.2 | 0.1.5-rc.2 | 0.1.7-rc.2 | 0.2.0-rc.1 |
72
+ |---|---|---|---|---|---|---|---|
73
+ | `systemPrompt.context(ctx): () => void` | ✅ | ✅(本机实装验证) | ✅ | ✅ | ✅ | ✅ | ✅(相对 0.1.7-rc.2 diff 仅版本号) |
74
+ | `PromptContext = { name, order, text }`,无 `complete` 字段 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
75
+ | `includeRuntimeContext` / `suppressRuntimeContext` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
76
+ | agent-loop `project()` 按文本去重、`surfaceOp: "append"` | ✅ | ✅ | ✅ | 未比对 | ✅ | ✅ | ✅ |
77
+ | `order: 116` 无碰撞(110 / 115 / 120 已占用) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅(0.1.5-rc.2) |
73
78
 
74
79
  > 验证方式:`npm pack @deepseek-ai/dsh-system-prompt@<版本>` 解包后比对 `lib/types/index.d.ts` 与 `lib/index.js`;`@deepseek-ai/dsh-agent-loop` 同法。
75
- > **运行时**只在本机 0.1.1-rc.2 上验证过;0.1.2-rc.1 / 0.1.3-alpha.2 的运行时验证仍待做(见 `HANDOVER.md` §7)。
80
+ > `dsh-v0.1.7-rc.2` 与 `dsh-v0.2.0-rc.1` 之间,`packages/core/system-prompt` 的 diff 仅版本号一行,110/115/120 的 `systemPrompt.context` 调用点原位未动,插件迁移指南无任何 `systemPrompt` 条目。
81
+ > **运行时**只在本机 0.1.1-rc.2 上验证过;0.2.0-rc.1 的运行时冒烟记录见 `HANDOVER.md` §7。
76
82
 
77
83
  ## 为什么用运行上下文快照,而不是消息
78
84
 
@@ -0,0 +1,21 @@
1
+ {
2
+ "id": "dsh-date-wrapper",
3
+ "name": "dsh-date-wrapper",
4
+ "version": "0.1.5",
5
+ "description": {
6
+ "en": "Minimal date line for the DeepSeek Harness runtime-context snapshot: a single compact line such as 'Current date: 2026-09-08 Asia/Shanghai Tuesday' (46 chars, ~12 tokens). A cordis host plugin with no DSH source changes.",
7
+ "zh": "为 DeepSeek Harness 运行时上下文快照提供极简日期行:形如「Current date: 2026-09-08 Asia/Shanghai Tuesday」的单行紧凑输出(46 字符,约 12 token)。纯 cordis 宿主插件,不改动 DSH 源码。"
8
+ },
9
+ "homepage": "https://github.com/drscrewdriver/dsh-date-wrapper#readme",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/drscrewdriver/dsh-date-wrapper.git"
13
+ },
14
+ "license": "MIT",
15
+ "engines": {
16
+ "dsh": ">=0.1.5-rc.1 <0.1.6-0"
17
+ },
18
+ "components": {
19
+ "host": "src/index.js"
20
+ }
21
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-date-wrapper",
3
- "version": "0.1.1-beta.1",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "description": "Minimal date line for the DeepSeek Harness runtime-context snapshot: 'Current date: 2026-09-08 Asia/Shanghai Tuesday' (46 chars, ~12 tokens) - a cordis host plugin, no dsh source changes, no PR required",
6
6
  "keywords": [
@@ -13,6 +13,11 @@
13
13
  "timezone"
14
14
  ],
15
15
  "license": "MIT",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/drscrewdriver/dsh-date-wrapper.git"
19
+ },
20
+ "homepage": "https://github.com/drscrewdriver/dsh-date-wrapper#readme",
16
21
  "main": "src/index.js",
17
22
  "exports": {
18
23
  ".": "./src/index.js",
@@ -22,6 +27,8 @@
22
27
  "src/",
23
28
  "docs/",
24
29
  "cordis.patch.yml",
30
+ "dsh.plugin.json",
31
+ "screenshots.json",
25
32
  "README.md",
26
33
  "README.zh.md",
27
34
  "README.ja.md",
@@ -41,6 +48,17 @@
41
48
  "patch": "./cordis.patch.yml"
42
49
  }
43
50
  },
51
+ "publishConfig": {
52
+ "tag": "dsh-0.1.5"
53
+ },
54
+ "peerDependencies": {
55
+ "@deepseek-ai/cordis": "^4.0.2"
56
+ },
57
+ "peerDependenciesMeta": {
58
+ "@deepseek-ai/cordis": {
59
+ "optional": true
60
+ }
61
+ },
44
62
  "scripts": {
45
63
  "test": "node --test \"tests/*.test.mjs\"",
46
64
  "tdd": "node --test --watch \"tests/*.test.mjs\"",
@@ -54,6 +72,6 @@
54
72
  },
55
73
  "engines": {
56
74
  "node": ">=20",
57
- "dsh": ">=0.1.0-rc.7 <0.2.0-0"
75
+ "dsh": ">=0.1.5-rc.1 <0.1.6-0"
58
76
  }
59
77
  }
@@ -0,0 +1,3 @@
1
+ {
2
+ "screenshots": []
3
+ }