dsh-charter 0.2.2 → 0.3.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.
Files changed (65) hide show
  1. package/CHANGELOG.md +59 -1
  2. package/CHANGELOG.zh.md +54 -1
  3. package/README.md +75 -51
  4. package/README.zh.md +68 -45
  5. package/docs/README.md +5 -4
  6. package/docs/README.zh.md +6 -3
  7. package/docs/assets/charter-graph-0.3.0.zh.png +0 -0
  8. package/docs/assets/charter-graph-0.3.1.png +0 -0
  9. package/docs/assets/charter-graph-0.3.1.zh.png +0 -0
  10. package/docs/assets/charter-pane-0.3.0.png +0 -0
  11. package/docs/assets/charter-pane-0.3.0.zh.png +0 -0
  12. package/docs/assets/charter-pane-0.3.1.png +0 -0
  13. package/docs/assets/charter-pane-0.3.1.zh.png +0 -0
  14. package/docs/assets/dependency-example.svg +90 -0
  15. package/docs/assets/dependency-example.zh.svg +90 -0
  16. package/docs/design/charter-dependency-graph-v1.zh.md +26 -21
  17. package/docs/design/charter-design-v1.md +2 -2
  18. package/docs/design/charter-design-v1.zh.md +2 -2
  19. package/docs/design/charter-gui-v1.zh.md +873 -0
  20. package/docs/design/charter-workspace-v2.zh.md +13 -1
  21. package/docs/design/compatibility.md +23 -6
  22. package/docs/design/compatibility.zh.md +22 -6
  23. package/docs/design/mockups/README.md +29 -0
  24. package/docs/design/mockups/mockup-graph.html +154 -0
  25. package/docs/design/mockups/mockup-home-clean.html +146 -0
  26. package/docs/design/mockups/mockup-home-dirty.html +191 -0
  27. package/docs/design/mockups/mockup.css +429 -0
  28. package/docs/design/mockups/style-tile.html +146 -0
  29. package/docs/design/mockups/tokens.css +670 -0
  30. package/docs/design/version-roadmap.md +30 -10
  31. package/docs/design/version-roadmap.zh.md +43 -8
  32. package/docs/release-notes/0.2.2.md +5 -5
  33. package/docs/release-notes/0.3.0.md +70 -0
  34. package/docs/release-notes/0.3.1.md +38 -0
  35. package/docs/release-notes/README.md +1 -1
  36. package/docs/releasing.md +5 -4
  37. package/docs/releasing.zh.md +5 -4
  38. package/docs/user-guide.md +9 -10
  39. package/docs/user-guide.zh.md +8 -10
  40. package/docs/verification.md +114 -10
  41. package/docs/verification.zh.md +98 -9
  42. package/lib/client/ChangeSetPanel.d.ts +24 -0
  43. package/lib/client/DependencyGraph.d.ts +1 -1
  44. package/lib/client/DiagnosticsPage.d.ts +5 -0
  45. package/lib/client/ReviewCenterPage.d.ts +5 -0
  46. package/lib/client/SectionNav.d.ts +14 -0
  47. package/lib/client/WorkspacePage.d.ts +5 -0
  48. package/lib/client/change-set-model.d.ts +55 -0
  49. package/lib/client/draft-store.d.ts +1 -1
  50. package/lib/client/locales.d.ts +49 -1
  51. package/lib/client/page-order.d.ts +26 -0
  52. package/lib/client/pane-format.d.ts +48 -0
  53. package/lib/client/pane-scope.d.ts +382 -0
  54. package/lib/client/pane-ui.d.ts +39 -0
  55. package/lib/client/relation-graph.d.ts +0 -1
  56. package/lib/client/section-routing.d.ts +12 -0
  57. package/lib/client/use-change-set-sheet.d.ts +13 -0
  58. package/lib/client.js +3931 -3118
  59. package/lib/core/standing-envelope.d.ts +31 -0
  60. package/lib/host/types.d.ts +6 -1
  61. package/lib/index.js +1 -1
  62. package/lib/remote.js +1 -1
  63. package/lib/{service-MsIACddZ.js → service-BSrE7Kbu.js} +42 -24
  64. package/lib/version.d.ts +1 -1
  65. package/package.json +24 -18
@@ -0,0 +1,31 @@
1
+ import type { CharterItem } from './schemas.js';
2
+ /** The hard standing tool envelope; kept here so Host and Diagnostics cannot drift. */
3
+ export declare const STANDING_TOOL_MAX_ITEMS = 64;
4
+ export declare const STANDING_TOOL_MAX_BYTES: number;
5
+ export interface StandingToolItem {
6
+ readonly kind: 'invariant' | 'deliverable';
7
+ readonly text: string;
8
+ readonly verification: CharterItem['verification']['state'];
9
+ readonly progress: string | null;
10
+ readonly id?: string;
11
+ readonly key?: string | null;
12
+ readonly requires?: readonly string[];
13
+ }
14
+ export interface StandingToolView {
15
+ readonly revision: number;
16
+ readonly objective: string | null;
17
+ readonly items: readonly StandingToolItem[];
18
+ readonly truncated: 0;
19
+ }
20
+ export interface StandingEnvelopeEstimate {
21
+ readonly view: StandingToolView;
22
+ readonly bytes: number;
23
+ readonly itemCount: number;
24
+ readonly deliverableCount: number;
25
+ }
26
+ /**
27
+ * Build the exact `charter_read standing` payload and its serialized byte count.
28
+ * The property order and shape are part of the tool-result fixture: do not
29
+ * reorder fields without updating the envelope test.
30
+ */
31
+ export declare function buildStandingEnvelope(items: readonly CharterItem[], revision: number, objective: string | null): StandingEnvelopeEstimate;
@@ -226,7 +226,12 @@ export type CharterBootstrapResult = {
226
226
  readonly message?: string;
227
227
  };
228
228
  export interface CharterToolItem {
229
- /** Present only in the bounded `all` debugging view. */
229
+ /**
230
+ * Always present in the bounded `all` debugging view. In the `standing` view
231
+ * it is present on deliverables only: it is the reference space
232
+ * `charter_propose.requires` validates against, and an invariant can never be
233
+ * a prerequisite.
234
+ */
230
235
  readonly id?: string;
231
236
  readonly kind: CharterItem['kind'];
232
237
  readonly text: string;
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { $ as charterItemSchema, $t as recordMaintenanceAvailable, At as proposalSourceSchema, Bt as sha256Json, C as buildRecordArchive, Ct as mutationIdSchema, D as validateArchiveEnvelope, Dt as proposalBatchSchema, E as recordDigestOf, Et as objectiveProposalSchema, F as buildSnapshotUnchecked, Ft as compareCodeUnits, G as CHARTER_RECORD_SCHEMA_VERSION, Gt as DEFAULT_CHARTER_LIMITS, H as inspectUserText, I as emptySnapshot, It as compareOrderedItems, J as charterChangeSchema, Jt as MIN_RECORD_BYTES, K as charterActorSchema, Kt as MIN_HISTORY_BYTES, L as assertStateQuota, Lt as isDeliverable, Mt as encodePromptText, N as applyOps, Nt as renderCharterPrompt, O as withPayloadDigest, Ot as proposalCandidateRefSchema, P as buildSnapshot, Pt as canonicalItems, Q as charterInitializeRequestSchema, Qt as jsonBytes, R as validateState, Rt as isInvariant, S as assertRestorableArchive, St as maintenanceKindSchema, T as payloadDigestOf, Tt as newItemInputSchema, U as normalizeEditRequest, Ut as bootstrapFromEvents, V as clientRefsOf, Vt as sha256Text, W as normalizeUserText, Wt as bootstrapFromSummary, X as charterEvidenceSchema, Xt as RECOVERY_HEADROOM, Y as charterEditRequestSchema, Yt as RECOVERY_HARD_CEILING, Z as charterIdentitySchema, Zt as clampCharterLimits, _ as migrateRecordV1ToV2, _t as deliverableProgressSchema, a as appendMaintenanceReceipt, at as charterRecordArchiveSchema, b as assertArchiveAdmission, bt as invariantInputSchema, c as assertRecoveryRecordAdmission, ct as charterRecordV1Schema, d as createEmptyRecord, dt as charterSnapshotSchema, en as recoveryWithinBudget, et as charterLifecycleSchema, f as emptyStateDigest, ft as charterValiditySchema, g as maintenanceRequestDigestOf, gt as deliverableItemSchema, h as legacyValidityFor, ht as deliverableInputSchema, i as RevisionConflict, it as charterReceiptSchema, jt as CHARTER_PROMPT_PREFIX, kt as proposalSourceKindSchema, l as assertSnapshotAdmission, lt as charterRestoreRequestSchema, m as isRecordOverBudget, mt as clientRefSchema, n as MAX_PROPOSAL_BATCHES, nn as CharterError, nt as charterObjectiveSchema, o as assertRecordAdmission, ot as charterRecordArchiveSourceSchema, p as isExpectedControlError, pt as charterVerificationSchema, q as charterBootstrapApplyRequestSchema, qt as MIN_PROMPT_BYTES, r as MutationReplay, rn as charterError, rt as charterOpSchema, s as assertRecordConsistency, st as charterRecordSchema, t as forkRecord, tn as utf8Bytes, tt as charterMaintenanceReceiptSchema, u as commitRecord, ut as charterReviewSchema, v as requestDigestOf, vt as digestSchema, w as maintenanceSemanticCheck, wt as mutationReceiptSchema, x as assertRecoveryRequestAdmission, xt as invariantItemSchema, y as restoredRecord, yt as identifierSchema, zt as isStandingItem } from "./fork-KSL6sovw.js";
2
- import { a as CHARTER_DOMAIN_NAME, n as Config, o as CHARTER_DOMAIN_VERSION, r as DEFAULT_CHARTER_CONFIG, s as charterDomainSpec, t as CharterService } from "./service-MsIACddZ.js";
2
+ import { a as CHARTER_DOMAIN_NAME, n as Config, o as CHARTER_DOMAIN_VERSION, r as DEFAULT_CHARTER_CONFIG, s as charterDomainSpec, t as CharterService } from "./service-BSrE7Kbu.js";
3
3
  import "./core.js";
4
4
  export { CHARTER_DOMAIN_NAME, CHARTER_DOMAIN_VERSION, CHARTER_PROMPT_PREFIX, CHARTER_RECORD_SCHEMA_VERSION, CharterError, CharterService, CharterService as default, Config, DEFAULT_CHARTER_CONFIG, DEFAULT_CHARTER_LIMITS, MAX_PROPOSAL_BATCHES, MIN_HISTORY_BYTES, MIN_PROMPT_BYTES, MIN_RECORD_BYTES, MutationReplay, RECOVERY_HARD_CEILING, RECOVERY_HEADROOM, RevisionConflict, appendMaintenanceReceipt, applyOps, assertArchiveAdmission, assertRecordAdmission, assertRecordConsistency, assertRecoveryRecordAdmission, assertRecoveryRequestAdmission, assertRestorableArchive, assertSnapshotAdmission, assertStateQuota, bootstrapFromEvents, bootstrapFromSummary, buildRecordArchive, buildSnapshot, buildSnapshotUnchecked, canonicalItems, charterActorSchema, charterBootstrapApplyRequestSchema, charterChangeSchema, charterDomainSpec, charterEditRequestSchema, charterError, charterEvidenceSchema, charterIdentitySchema, charterInitializeRequestSchema, charterItemSchema, charterLifecycleSchema, charterMaintenanceReceiptSchema, charterObjectiveSchema, charterOpSchema, charterReceiptSchema, charterRecordArchiveSchema, charterRecordArchiveSourceSchema, charterRecordSchema, charterRecordV1Schema, charterRestoreRequestSchema, charterReviewSchema, charterSnapshotSchema, charterValiditySchema, charterVerificationSchema, clampCharterLimits, clientRefSchema, clientRefsOf, commitRecord, compareCodeUnits, compareOrderedItems as compareItems, createEmptyRecord, deliverableInputSchema, deliverableItemSchema, deliverableProgressSchema, digestSchema, emptySnapshot, emptyStateDigest, encodePromptText, forkRecord, identifierSchema, inspectUserText, invariantInputSchema, invariantItemSchema, isDeliverable, isExpectedControlError, isInvariant, isRecordOverBudget, isStandingItem, jsonBytes, legacyValidityFor, maintenanceKindSchema, maintenanceRequestDigestOf, maintenanceSemanticCheck, migrateRecordV1ToV2, mutationIdSchema, mutationReceiptSchema, newItemInputSchema, normalizeEditRequest, normalizeUserText, objectiveProposalSchema, payloadDigestOf, proposalBatchSchema, proposalCandidateRefSchema, proposalSourceKindSchema, proposalSourceSchema, recordDigestOf, recordMaintenanceAvailable, recoveryWithinBudget, renderCharterPrompt, renderCharterPrompt as renderPrompt, requestDigestOf, restoredRecord, sha256Json, sha256Text, utf8Bytes, validateArchiveEnvelope, validateState, withPayloadDigest };
package/lib/remote.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { $ as charterItemSchema, Et as objectiveProposalSchema, J as charterChangeSchema, K as charterActorSchema, Ot as proposalCandidateRefSchema, Q as charterInitializeRequestSchema, Y as charterEditRequestSchema, at as charterRecordArchiveSchema, lt as charterRestoreRequestSchema, nn as CharterError, nt as charterObjectiveSchema, q as charterBootstrapApplyRequestSchema } from "./fork-KSL6sovw.js";
2
- import { c as peerPrincipalRequired, i as resolveActor, l as remoteMethod } from "./service-MsIACddZ.js";
2
+ import { c as peerPrincipalRequired, i as resolveActor, l as remoteMethod } from "./service-BSrE7Kbu.js";
3
3
  import "@deepseek-ai/cordis";
4
4
  import { z } from "zod";
5
5
  import { TypertRemoteService } from "@deepseek-ai/dsh-typert-protocol";
@@ -186,6 +186,42 @@ function changeSetPreviewDigest(request, stateDigest) {
186
186
  });
187
187
  }
188
188
  //#endregion
189
+ //#region .build-ts/core/standing-envelope.js
190
+ const STANDING_TOOL_MAX_BYTES = 32 * 1024;
191
+ /**
192
+ * Build the exact `charter_read standing` payload and its serialized byte count.
193
+ * The property order and shape are part of the tool-result fixture: do not
194
+ * reorder fields without updating the envelope test.
195
+ */
196
+ function buildStandingEnvelope(items, revision, objective) {
197
+ const standing = items.filter(isStandingItem);
198
+ const plan = dependencyProjection(standing);
199
+ const keyById = new Map(plan.map((row) => [row.id, row]));
200
+ const simplified = standing.map((item) => ({
201
+ kind: item.kind,
202
+ text: item.text,
203
+ verification: item.verification.state,
204
+ progress: item.kind === "deliverable" ? item.progress : null,
205
+ ...item.kind === "deliverable" ? {
206
+ id: item.id,
207
+ key: keyById.get(item.id)?.localKey ?? null,
208
+ requires: keyById.get(item.id)?.requires ?? []
209
+ } : {}
210
+ }));
211
+ const view = {
212
+ revision,
213
+ objective,
214
+ items: simplified,
215
+ truncated: 0
216
+ };
217
+ return {
218
+ view,
219
+ bytes: new TextEncoder().encode(JSON.stringify(view)).byteLength,
220
+ itemCount: simplified.length,
221
+ deliverableCount: simplified.filter((item) => item.kind === "deliverable").length
222
+ };
223
+ }
224
+ //#endregion
189
225
  //#region .build-ts/host/validators.js
190
226
  const TIMEOUT_MS = 2e3;
191
227
  const MAX_FILE_BYTES = 1024 * 1024;
@@ -501,7 +537,7 @@ function archiveCacheKey(sessionId, revision) {
501
537
  function defineCharterReadTool(charter) {
502
538
  return defineTool({
503
539
  name: "charter_read",
504
- description: "Read the current user-authored session charter (read-only). The standing charter is normally present in runtime context when automatic injection is available; do not call standing merely to restate that context. Call it when the context may be absent or stale, or when revision/verification details are needed. standing fails explicitly with LIMIT_EXCEEDED rather than returning a partial working set; use all with cursor/limit for inactive/history entries (64 items / 32 KiB per page).",
540
+ description: "Read the current user-authored session charter (read-only). The standing charter is normally present in runtime context when automatic injection is available; do not call standing merely to restate that context. Call it when the context may be absent or stale, when revision/verification details are needed, or when you need deliverable ids: charter_propose.requires references those ids and the injected context does not expose them. standing fails explicitly with LIMIT_EXCEEDED rather than returning a partial working set; use all with cursor/limit for inactive/history entries (64 items / 32 KiB per page).",
505
541
  parameters: {
506
542
  view: {
507
543
  type: "string",
@@ -575,7 +611,7 @@ function defineCharterReadTool(charter) {
575
611
  function defineCharterProposeTool(charter) {
576
612
  return defineTool({
577
613
  name: "charter_propose",
578
- description: "Create pending proposals for the current Session charter. This tool is not a write path: the user must review and accept proposals in the Review Center. Only invariants and deliverables are allowed; objectives, acceptance, archival, purge, and progress changes are not. At most 16 items; requires must reference current active deliverables and is stored as pending proposed prerequisites resolved on acceptance. Batch-candidate requires are not accepted by this tool.",
614
+ description: "Create pending proposals for the current Session charter. This tool is not a write path: the user must review and accept proposals in the Review Center. Only invariants and deliverables are allowed; objectives, acceptance, archival, purge, and progress changes are not. At most 16 items. A deliverable may carry requires: ids of current active deliverables that must finish first, exactly as returned by charter_read. Display keys such as \"D1\" are labels, not valid references, and items within one call cannot reference each other. requires is stored as pending proposed prerequisites and resolved on acceptance.",
579
615
  parameters: { items: {
580
616
  type: "array",
581
617
  description: "Pending invariant/deliverable proposals; max 16 items.",
@@ -594,6 +630,7 @@ function defineCharterProposeTool(charter) {
594
630
  },
595
631
  requires: {
596
632
  type: "array",
633
+ description: "Optional prerequisite references for a deliverable: the `id` values of current active deliverables exactly as returned by charter_read (ids look like \"item-<uuid>\"). Not \"D1\"-style display keys.",
597
634
  items: { type: "string" }
598
635
  }
599
636
  }
@@ -1868,28 +1905,9 @@ var CharterService = class extends Service {
1868
1905
  const relevant = mode === "standing" ? record.current.items.filter(isStandingItem) : record.current.items;
1869
1906
  const objective = record.current.objective?.current.text ?? null;
1870
1907
  if (mode === "standing") {
1871
- const plan = dependencyProjection(record.current.items);
1872
- const keyById = new Map(plan.map((row) => [row.id, row]));
1873
- const simplified = relevant.map((item) => ({
1874
- kind: item.kind,
1875
- text: item.text,
1876
- verification: item.verification.state,
1877
- progress: item.kind === "deliverable" ? item.progress : null,
1878
- ...item.kind === "deliverable" ? {
1879
- key: keyById.get(item.id)?.localKey ?? null,
1880
- requires: keyById.get(item.id)?.requires ?? []
1881
- } : {}
1882
- }));
1883
- const maxItems = 64;
1884
- const maxEnvelopeBytes = 32 * 1024;
1885
- const envelope = {
1886
- revision: record.current.revision,
1887
- objective,
1888
- items: simplified,
1889
- truncated: 0
1890
- };
1891
- if (simplified.length > maxItems || Buffer.byteLength(JSON.stringify(envelope), "utf8") > maxEnvelopeBytes) throw charterError("LIMIT_EXCEEDED", `standing charter exceeds the ${maxItems}-item/${maxEnvelopeBytes}-byte tool envelope; no partial standing view is returned`);
1892
- return envelope;
1908
+ const standing = buildStandingEnvelope(record.current.items, record.current.revision, objective);
1909
+ if (standing.itemCount > 64 || standing.bytes > 32768) throw charterError("LIMIT_EXCEEDED", `standing charter exceeds the 64-item/${STANDING_TOOL_MAX_BYTES}-byte tool envelope; no partial standing view is returned`);
1910
+ return standing.view;
1893
1911
  }
1894
1912
  const maxItems = 64;
1895
1913
  const maxEnvelopeBytes = 32 * 1024;
package/lib/version.d.ts CHANGED
@@ -3,4 +3,4 @@
3
3
  * bundle carries the value; `tests/version.spec.ts` fails if it drifts from
4
4
  * `package.json`.
5
5
  */
6
- export declare const CHARTER_VERSION = "0.2.2";
6
+ export declare const CHARTER_VERSION = "0.3.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-charter",
3
- "version": "0.2.2",
3
+ "version": "0.3.1",
4
4
  "description": "A durable, user-owned session charter for DeepSeek Harness, designed to survive context compaction.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -62,7 +62,7 @@
62
62
  ],
63
63
  "engines": {
64
64
  "node": "^22.19.0 || >=24.0.0",
65
- "dsh": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1"
65
+ "dsh": "0.1.7-rc.2 || >=0.2.0-rc.1 <0.3.0-0"
66
66
  },
67
67
  "keywords": [
68
68
  "dsh",
@@ -88,9 +88,11 @@
88
88
  "smoke:remote": "node scripts/verify/remote-smoke.mjs",
89
89
  "smoke:client": "node scripts/verify/client-smoke.mjs",
90
90
  "verify:compaction": "node scripts/verify/compaction-e2e.mjs",
91
- "check": "npm run typecheck && npm test",
91
+ "verify:ui-metrics": "node scripts/verify/ui-metrics.mjs",
92
+ "check": "npm run typecheck && npm test && npm run verify:tokens",
92
93
  "prepack": "npm run build",
93
- "smoke:package": "node scripts/verify/package-smoke.mjs"
94
+ "smoke:package": "node scripts/verify/package-smoke.mjs",
95
+ "verify:tokens": "node scripts/verify/token-coverage.mjs"
94
96
  },
95
97
  "dsh": {
96
98
  "bundle": {
@@ -120,7 +122,9 @@
120
122
  "0.2.1-rc.3": "compatible",
121
123
  "0.2.1-rc.4": "compatible",
122
124
  "0.2.1-rc.5": "compatible",
123
- "0.2.2-rc.1": "compatible"
125
+ "0.2.2-rc.1": "compatible",
126
+ "0.2.2-rc.2": "compatible",
127
+ "0.2.2-rc.3": "compatible"
124
128
  }
125
129
  }
126
130
  },
@@ -133,18 +137,18 @@
133
137
  },
134
138
  "peerDependencies": {
135
139
  "@deepseek-ai/cordis": "^4.0.4",
136
- "@deepseek-ai/dsh-agent": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1",
137
- "@deepseek-ai/dsh-api-gateway": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1",
138
- "@deepseek-ai/dsh-client-locale": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1",
139
- "@deepseek-ai/dsh-client-ui-conversation": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1",
140
- "@deepseek-ai/dsh-client-ui-renderer": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1",
141
- "@deepseek-ai/dsh-client-ui-session": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1",
142
- "@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1",
143
- "@deepseek-ai/dsh-session": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1",
144
- "@deepseek-ai/dsh-storage-domain": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1",
145
- "@deepseek-ai/dsh-system-prompt": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1",
146
- "@deepseek-ai/dsh-tools": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1",
147
- "@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1",
140
+ "@deepseek-ai/dsh-agent": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
141
+ "@deepseek-ai/dsh-api-gateway": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
142
+ "@deepseek-ai/dsh-client-locale": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
143
+ "@deepseek-ai/dsh-client-ui-conversation": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
144
+ "@deepseek-ai/dsh-client-ui-renderer": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
145
+ "@deepseek-ai/dsh-client-ui-session": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
146
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
147
+ "@deepseek-ai/dsh-session": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
148
+ "@deepseek-ai/dsh-storage-domain": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
149
+ "@deepseek-ai/dsh-system-prompt": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
150
+ "@deepseek-ai/dsh-tools": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
151
+ "@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
148
152
  "react": "^18.2.0"
149
153
  },
150
154
  "devDependencies": {
@@ -193,7 +197,9 @@
193
197
  "react-test-renderer": "18.3.1",
194
198
  "tsdown": "0.22.2",
195
199
  "typescript": "5.9.3",
196
- "vitest": "4.1.12"
200
+ "vitest": "4.1.12",
201
+ "semver": "7.8.6",
202
+ "@types/semver": "7.8.0"
197
203
  },
198
204
  "icon": "icon.svg",
199
205
  "author": "dsh-charter contributors",