@kirkchinese/dsh-citeciter 0.3.2 → 0.4.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/package.json CHANGED
@@ -1,15 +1,19 @@
1
1
  {
2
2
  "name": "@kirkchinese/dsh-citeciter",
3
- "version": "0.3.2",
4
- "description": "Private Observer-topic learning companion for live DeepSeek Harness conversations",
3
+ "version": "0.4.1",
4
+ "description": "Verifiable, source-bound, read-only investigations for DeepSeek Harness responses",
5
5
  "keywords": [
6
6
  "deepseek-harness",
7
7
  "dsh",
8
8
  "dsh-plugin",
9
9
  "cordis",
10
10
  "citation",
11
- "learning-companion",
12
- "conversation-context",
11
+ "source-bound",
12
+ "verification",
13
+ "evidence",
14
+ "investigation",
15
+ "context-management",
16
+ "read-only",
13
17
  "explanation",
14
18
  "observer",
15
19
  "topic"
@@ -61,10 +65,10 @@
61
65
  "client": {
62
66
  "inject": [
63
67
  "@deepseek-ai/dsh-api-gateway",
68
+ "@deepseek-ai/dsh-client-connection",
64
69
  "@deepseek-ai/dsh-client-runtime",
70
+ "@deepseek-ai/dsh-client-ui-conversation",
65
71
  "@deepseek-ai/dsh-client-ui-layout",
66
- "@deepseek-ai/dsh-client-ui-slots",
67
- "@deepseek-ai/dsh-client-ui-primitives",
68
72
  "@deepseek-ai/dsh-client-ui-settings"
69
73
  ],
70
74
  "platform": "web"
@@ -76,84 +80,71 @@
76
80
  "cordis.patch.yml",
77
81
  "README.zh.md"
78
82
  ],
79
- "scripts": {
80
- "build": "npm run build:lib && npm run build:bundle",
81
- "prebuild:lib": "node scripts/clean-types.mjs",
82
- "build:lib": "tsc -p tsconfig.json",
83
- "prebuild:bundle": "node scripts/clean-bundle.mjs",
84
- "build:bundle": "tsdown --env.DSH_BUILD_FACE client",
85
- "postbuild:bundle": "node scripts/normalize-bundle.mjs",
86
- "prepack": "npm run build",
87
- "dev": "npm run build && node dev/watch.mjs",
88
- "smoke:seed": "node dev/seed-smoke-session.mjs",
89
- "smoke:hmr": "node dev/hmr-smoke.mjs",
90
- "typecheck": "tsc -p tsconfig.json --noEmit",
91
- "test": "npm run build:lib && node --test tests/*.test.mjs"
92
- },
93
83
  "peerDependencies": {
94
84
  "@deepseek-ai/cordis": "^4.0.1",
95
- "@deepseek-ai/dsh-agent": ">=0.1.0-rc.7 <0.1.0-rc.8",
96
- "@deepseek-ai/dsh-agent-loop": ">=0.1.0-rc.7 <0.1.0-rc.8",
97
- "@deepseek-ai/dsh-api-gateway": ">=0.1.0-rc.7 <0.1.0-rc.8",
98
- "@deepseek-ai/dsh-client-runtime": ">=0.1.0-rc.7 <0.1.0-rc.8",
99
- "@deepseek-ai/dsh-client-ui-layout": ">=0.1.0-rc.7 <0.1.0-rc.8",
100
- "@deepseek-ai/dsh-client-ui-primitives": ">=0.1.0-rc.7 <0.1.0-rc.8",
101
- "@deepseek-ai/dsh-client-ui-settings": ">=0.1.0-rc.7 <0.1.0-rc.8",
102
- "@deepseek-ai/dsh-client-ui-slots": ">=0.1.0-rc.7 <0.1.0-rc.8",
103
- "@deepseek-ai/dsh-fs": ">=0.1.0-rc.7 <0.1.0-rc.8",
104
- "@deepseek-ai/dsh-home-paths": ">=0.1.0-rc.7 <0.1.0-rc.8",
105
- "@deepseek-ai/dsh-llm": ">=0.1.0-rc.7 <0.1.0-rc.8",
106
- "@deepseek-ai/dsh-output-retention": ">=0.1.0-rc.7 <0.1.0-rc.8",
107
- "@deepseek-ai/dsh-sandbox-policy": ">=0.1.0-rc.7 <0.1.0-rc.8",
108
- "@deepseek-ai/dsh-session": ">=0.1.0-rc.7 <0.1.0-rc.8",
109
- "@deepseek-ai/dsh-session-persistence-jsonl": ">=0.1.0-rc.7 <0.1.0-rc.8",
110
- "@deepseek-ai/dsh-session-query": ">=0.1.0-rc.7 <0.1.0-rc.8",
111
- "@deepseek-ai/dsh-session-title": ">=0.1.0-rc.7 <0.1.0-rc.8",
112
- "@deepseek-ai/dsh-session-title-llm": ">=0.1.0-rc.7 <0.1.0-rc.8",
113
- "@deepseek-ai/dsh-settings": ">=0.1.0-rc.7 <0.1.0-rc.8",
114
- "@deepseek-ai/dsh-subprocess": ">=0.1.0-rc.7 <0.1.0-rc.8",
115
- "@deepseek-ai/dsh-spill": ">=0.1.0-rc.7 <0.1.0-rc.8",
116
- "@deepseek-ai/dsh-system-prompt": ">=0.1.0-rc.7 <0.1.0-rc.8",
117
- "@deepseek-ai/dsh-tool-ask-user": ">=0.1.0-rc.7 <0.1.0-rc.8",
118
- "@deepseek-ai/dsh-tool-fs": ">=0.1.0-rc.7 <0.1.0-rc.8",
119
- "@deepseek-ai/dsh-tool-fs-search": ">=0.1.0-rc.7 <0.1.0-rc.8",
120
- "@deepseek-ai/dsh-tools": ">=0.1.0-rc.7 <0.1.0-rc.8",
121
- "@deepseek-ai/dsh-typert-protocol": ">=0.1.0-rc.7 <0.1.0-rc.8",
122
- "@deepseek-ai/dsh-user-questions": ">=0.1.0-rc.7 <0.1.0-rc.8",
85
+ "@deepseek-ai/dsh-agent": ">=0.1.1-rc.1 <0.1.1-rc.3",
86
+ "@deepseek-ai/dsh-agent-loop": ">=0.1.1-rc.1 <0.1.1-rc.3",
87
+ "@deepseek-ai/dsh-api-gateway": ">=0.1.1-rc.1 <0.1.1-rc.3",
88
+ "@deepseek-ai/dsh-client-connection": ">=0.1.1-rc.1 <0.1.1-rc.3",
89
+ "@deepseek-ai/dsh-client-runtime": ">=0.1.1-rc.1 <0.1.1-rc.3",
90
+ "@deepseek-ai/dsh-client-ui-conversation": ">=0.1.1-rc.1 <0.1.1-rc.3",
91
+ "@deepseek-ai/dsh-client-ui-layout": ">=0.1.1-rc.1 <0.1.1-rc.3",
92
+ "@deepseek-ai/dsh-client-ui-settings": ">=0.1.1-rc.1 <0.1.1-rc.3",
93
+ "@deepseek-ai/dsh-fs": ">=0.1.1-rc.1 <0.1.1-rc.3",
94
+ "@deepseek-ai/dsh-home-paths": ">=0.1.1-rc.1 <0.1.1-rc.3",
95
+ "@deepseek-ai/dsh-llm": ">=0.1.1-rc.1 <0.1.1-rc.3",
96
+ "@deepseek-ai/dsh-output-retention": ">=0.1.1-rc.1 <0.1.1-rc.3",
97
+ "@deepseek-ai/dsh-sandbox-policy": ">=0.1.1-rc.1 <0.1.1-rc.3",
98
+ "@deepseek-ai/dsh-session": ">=0.1.1-rc.1 <0.1.1-rc.3",
99
+ "@deepseek-ai/dsh-session-persistence-jsonl": ">=0.1.1-rc.1 <0.1.1-rc.3",
100
+ "@deepseek-ai/dsh-session-query": ">=0.1.1-rc.1 <0.1.1-rc.3",
101
+ "@deepseek-ai/dsh-session-title": ">=0.1.1-rc.1 <0.1.1-rc.3",
102
+ "@deepseek-ai/dsh-session-title-llm": ">=0.1.1-rc.1 <0.1.1-rc.3",
103
+ "@deepseek-ai/dsh-settings": ">=0.1.1-rc.1 <0.1.1-rc.3",
104
+ "@deepseek-ai/dsh-subprocess": ">=0.1.1-rc.1 <0.1.1-rc.3",
105
+ "@deepseek-ai/dsh-spill": ">=0.1.1-rc.1 <0.1.1-rc.3",
106
+ "@deepseek-ai/dsh-system-prompt": ">=0.1.1-rc.1 <0.1.1-rc.3",
107
+ "@deepseek-ai/dsh-tool-ask-user": ">=0.1.1-rc.1 <0.1.1-rc.3",
108
+ "@deepseek-ai/dsh-tool-fs": ">=0.1.1-rc.1 <0.1.1-rc.3",
109
+ "@deepseek-ai/dsh-tool-fs-search": ">=0.1.1-rc.1 <0.1.1-rc.3",
110
+ "@deepseek-ai/dsh-tools": ">=0.1.1-rc.1 <0.1.1-rc.3",
111
+ "@deepseek-ai/dsh-typert-protocol": ">=0.1.1-rc.1 <0.1.1-rc.3",
112
+ "@deepseek-ai/dsh-user-questions": ">=0.1.1-rc.1 <0.1.1-rc.3",
123
113
  "@deepseek-ai/schemastery": "^3.18.1",
124
- "react": "^18.2.0",
125
114
  "zod": "^4.4.3"
126
115
  },
127
116
  "devDependencies": {
128
117
  "@deepseek-ai/cordis": "^4.0.1",
129
- "@deepseek-ai/dsh-agent": "0.1.0-rc.7",
130
- "@deepseek-ai/dsh-agent-loop": "0.1.0-rc.7",
131
- "@deepseek-ai/dsh-api-gateway": "0.1.0-rc.7",
132
- "@deepseek-ai/dsh-client-runtime": "0.1.0-rc.7",
133
- "@deepseek-ai/dsh-client-ui-layout": "0.1.0-rc.7",
134
- "@deepseek-ai/dsh-client-ui-primitives": "0.1.0-rc.7",
135
- "@deepseek-ai/dsh-client-ui-settings": "0.1.0-rc.7",
136
- "@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.7",
137
- "@deepseek-ai/dsh-fs": "0.1.0-rc.7",
138
- "@deepseek-ai/dsh-home-paths": "0.1.0-rc.7",
139
- "@deepseek-ai/dsh-llm": "0.1.0-rc.7",
140
- "@deepseek-ai/dsh-output-retention": "0.1.0-rc.7",
141
- "@deepseek-ai/dsh-sandbox-policy": "0.1.0-rc.7",
142
- "@deepseek-ai/dsh-session": "0.1.0-rc.7",
143
- "@deepseek-ai/dsh-session-persistence-jsonl": "0.1.0-rc.7",
144
- "@deepseek-ai/dsh-session-query": "0.1.0-rc.7",
145
- "@deepseek-ai/dsh-session-title": "0.1.0-rc.7",
146
- "@deepseek-ai/dsh-session-title-llm": "0.1.0-rc.7",
147
- "@deepseek-ai/dsh-settings": "0.1.0-rc.7",
148
- "@deepseek-ai/dsh-subprocess": "0.1.0-rc.7",
149
- "@deepseek-ai/dsh-spill": "0.1.0-rc.7",
150
- "@deepseek-ai/dsh-system-prompt": "0.1.0-rc.7",
151
- "@deepseek-ai/dsh-tool-ask-user": "0.1.0-rc.7",
152
- "@deepseek-ai/dsh-tool-fs": "0.1.0-rc.7",
153
- "@deepseek-ai/dsh-tool-fs-search": "0.1.0-rc.7",
154
- "@deepseek-ai/dsh-tools": "0.1.0-rc.7",
155
- "@deepseek-ai/dsh-typert-protocol": "0.1.0-rc.7",
156
- "@deepseek-ai/dsh-user-questions": "0.1.0-rc.7",
118
+ "@deepseek-ai/dsh-agent": "0.1.1-rc.2",
119
+ "@deepseek-ai/dsh-agent-loop": "0.1.1-rc.2",
120
+ "@deepseek-ai/dsh-api-gateway": "0.1.1-rc.2",
121
+ "@deepseek-ai/dsh-client-connection": "0.1.1-rc.2",
122
+ "@deepseek-ai/dsh-client-runtime": "0.1.1-rc.2",
123
+ "@deepseek-ai/dsh-client-ui-conversation": "0.1.1-rc.2",
124
+ "@deepseek-ai/dsh-client-ui-layout": "0.1.1-rc.2",
125
+ "@deepseek-ai/dsh-client-ui-primitives": "0.1.1-rc.2",
126
+ "@deepseek-ai/dsh-client-ui-settings": "0.1.1-rc.2",
127
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.2",
128
+ "@deepseek-ai/dsh-fs": "0.1.1-rc.2",
129
+ "@deepseek-ai/dsh-home-paths": "0.1.1-rc.2",
130
+ "@deepseek-ai/dsh-llm": "0.1.1-rc.2",
131
+ "@deepseek-ai/dsh-output-retention": "0.1.1-rc.2",
132
+ "@deepseek-ai/dsh-sandbox-policy": "0.1.1-rc.2",
133
+ "@deepseek-ai/dsh-session": "0.1.1-rc.2",
134
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.1.1-rc.2",
135
+ "@deepseek-ai/dsh-session-query": "0.1.1-rc.2",
136
+ "@deepseek-ai/dsh-session-title": "0.1.1-rc.2",
137
+ "@deepseek-ai/dsh-session-title-llm": "0.1.1-rc.2",
138
+ "@deepseek-ai/dsh-settings": "0.1.1-rc.2",
139
+ "@deepseek-ai/dsh-subprocess": "0.1.1-rc.2",
140
+ "@deepseek-ai/dsh-spill": "0.1.1-rc.2",
141
+ "@deepseek-ai/dsh-system-prompt": "0.1.1-rc.2",
142
+ "@deepseek-ai/dsh-tool-ask-user": "0.1.1-rc.2",
143
+ "@deepseek-ai/dsh-tool-fs": "0.1.1-rc.2",
144
+ "@deepseek-ai/dsh-tool-fs-search": "0.1.1-rc.2",
145
+ "@deepseek-ai/dsh-tools": "0.1.1-rc.2",
146
+ "@deepseek-ai/dsh-typert-protocol": "0.1.1-rc.2",
147
+ "@deepseek-ai/dsh-user-questions": "0.1.1-rc.2",
157
148
  "@deepseek-ai/schemastery": "^3.18.1",
158
149
  "@types/mdast": "^4.0.4",
159
150
  "@types/node": "^24.10.0",
@@ -168,5 +159,18 @@
168
159
  "tsdown": "^0.22.2",
169
160
  "typescript": "^6.0.3",
170
161
  "zod": "^4.4.3"
162
+ },
163
+ "scripts": {
164
+ "build": "npm run build:lib && npm run build:bundle",
165
+ "prebuild:lib": "node scripts/clean-types.mjs",
166
+ "build:lib": "tsc -p tsconfig.json",
167
+ "prebuild:bundle": "node scripts/clean-bundle.mjs",
168
+ "build:bundle": "tsdown --env.DSH_BUILD_FACE client",
169
+ "postbuild:bundle": "node scripts/normalize-bundle.mjs",
170
+ "dev": "npm run build && node dev/watch.mjs",
171
+ "smoke:seed": "node dev/seed-smoke-session.mjs",
172
+ "smoke:hmr": "node dev/hmr-smoke.mjs",
173
+ "typecheck": "tsc -p tsconfig.json --noEmit",
174
+ "test": "npm run build:lib && node --test tests/*.test.mjs"
171
175
  }
172
- }
176
+ }
@@ -1,10 +0,0 @@
1
- import type { CitationDraft } from '../topic.ts';
2
- import type { CiteSelection } from './types.ts';
3
- interface SourceSelection extends CiteSelection {
4
- readonly sourceText: string;
5
- }
6
- /** Map rendered Markdown selection context back to one exact raw answer range. */
7
- export declare function normalizeSelectionAgainstAnswer(selection: CiteSelection, answer: string): SourceSelection;
8
- /** Build the browser claim that the Host later checks against one committed model call. */
9
- export declare function createCitationDraft(selection: SourceSelection, assistantMessageSeq: number): Promise<CitationDraft>;
10
- export {};