@songtonyli/dsh-cli 0.1.34 → 0.1.36
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.md +1 -1
- package/bin/dsh.mjs +1 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +3 -2
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/session.js +3 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +336 -325
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +22 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-cursor/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm-cursor/README.md +15 -12
- package/node_modules/@deepseek-ai/dsh-llm-cursor/README.zh.md +15 -12
- package/node_modules/@deepseek-ai/dsh-llm-cursor/lib/index.js +959 -659
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ workspace and no build step. Native packages that ship one build per platform
|
|
|
26
26
|
ripgrep, the PTY backend's addons, sharp, koffi, and the Landlock launcher — are
|
|
27
27
|
ordinary optional dependencies, so npm resolves the right one for your machine.
|
|
28
28
|
|
|
29
|
-
Requires Node `^22.19.0 || >=24.0.0`. Version 0.1.
|
|
29
|
+
Requires Node `^22.19.0 || >=24.0.0`. Version 0.1.36; `dsh --version`
|
|
30
30
|
also reports the harness build the package was assembled from.
|
|
31
31
|
|
|
32
32
|
## License
|
package/bin/dsh.mjs
CHANGED
|
@@ -18,7 +18,7 @@ const argv = process.argv.slice(2)
|
|
|
18
18
|
// version this package publishes. Reporting only one of the two would make an
|
|
19
19
|
// ordinary `npm install @songtonyli/dsh-cli@x` look like it installed something else.
|
|
20
20
|
if (argv.length === 1 && (argv[0] === '--version' || argv[0] === '-V')) {
|
|
21
|
-
console.log('@songtonyli/dsh-cli 0.1.
|
|
21
|
+
console.log('@songtonyli/dsh-cli 0.1.36 (deepseek-harness 0.1.7-alpha.1)')
|
|
22
22
|
process.exit(0)
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -1663,7 +1663,8 @@ window.__ModuleLoader__.load({
|
|
|
1663
1663
|
* @param content - text, browser-owned temporary image uploads, and staged-file receipts.
|
|
1664
1664
|
* @param mode - queue appends after the current turn; steer interrupts it.
|
|
1665
1665
|
* @param signal - optional caller cancellation for the complete admission round-trip.
|
|
1666
|
-
* @param requestId -
|
|
1666
|
+
* @param requestId - {@link beginSubmission} identity. Failure retires its echo.
|
|
1667
|
+
* A subagent prompt persists this same identity.
|
|
1667
1668
|
* @returns the prompt result (also mirrored into promptError on failure).
|
|
1668
1669
|
*/
|
|
1669
1670
|
async prompt(content, mode, signal, requestId) {
|
|
@@ -1689,7 +1690,7 @@ window.__ModuleLoader__.load({
|
|
|
1689
1690
|
else {
|
|
1690
1691
|
const routedContent = content;
|
|
1691
1692
|
const routed = await this.remote.subagents.prompt({
|
|
1692
|
-
requestId: randomUUID(),
|
|
1693
|
+
requestId: requestId ?? randomUUID(),
|
|
1693
1694
|
parentSessionId: this.address.parentSessionId,
|
|
1694
1695
|
childSessionId: this.address.childSessionId,
|
|
1695
1696
|
mode: "continuable",
|
package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/session.js
CHANGED
|
@@ -162,7 +162,8 @@ export class Session {
|
|
|
162
162
|
* @param content - text, browser-owned temporary image uploads, and staged-file receipts.
|
|
163
163
|
* @param mode - queue appends after the current turn; steer interrupts it.
|
|
164
164
|
* @param signal - optional caller cancellation for the complete admission round-trip.
|
|
165
|
-
* @param requestId -
|
|
165
|
+
* @param requestId - {@link beginSubmission} identity. Failure retires its echo.
|
|
166
|
+
* A subagent prompt persists this same identity.
|
|
166
167
|
* @returns the prompt result (also mirrored into promptError on failure).
|
|
167
168
|
*/
|
|
168
169
|
async prompt(content, mode, signal, requestId) {
|
|
@@ -197,7 +198,7 @@ export class Session {
|
|
|
197
198
|
// wire type is used; this array is not filtered or reordered.
|
|
198
199
|
const routedContent = content;
|
|
199
200
|
const routed = await this.remote.subagents.prompt({
|
|
200
|
-
requestId: randomUUID(),
|
|
201
|
+
requestId: requestId ?? randomUUID(),
|
|
201
202
|
parentSessionId: this.address.parentSessionId,
|
|
202
203
|
childSessionId: this.address.childSessionId,
|
|
203
204
|
mode: 'continuable',
|