@eddyskywalker/dsh-chatgpt-subscription 0.81.2 → 0.81.3
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.md +6 -0
- package/lib/client.js.map +1 -1
- package/lib/index.js +22 -16
- package/lib/types/compat.d.ts +1 -1
- package/lib/types/host/aws-quick/adapter.d.ts.map +1 -1
- package/lib/types/host/aws-quick/client.d.ts.map +1 -1
- package/lib/types/host/aws-quick/protocol.d.ts +1 -1
- package/lib/types/host/aws-quick/protocol.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -840,7 +840,7 @@ const ROUTE_PREFIX$5 = "/api/dsh-chatgpt-subscription";
|
|
|
840
840
|
* `test/responses-client.test.ts` asserts the two agree, so a release that
|
|
841
841
|
* forgets this constant fails the suite instead of shipping quietly.
|
|
842
842
|
*/
|
|
843
|
-
const PLUGIN_VERSION = "0.81.
|
|
843
|
+
const PLUGIN_VERSION = "0.81.3";
|
|
844
844
|
const CODEX_CHATGPT_PROVIDER_ID = "codex-chatgpt";
|
|
845
845
|
const CODEX_API_BASE = "https://chatgpt.com/backend-api/codex";
|
|
846
846
|
const CODEX_RESPONSES_URL = `${CODEX_API_BASE}/responses`;
|
|
@@ -29431,7 +29431,6 @@ function normalizeQuickEffort(value) {
|
|
|
29431
29431
|
return value === "off" || value === "low" || value === "medium" || value === "high" ? value : void 0;
|
|
29432
29432
|
}
|
|
29433
29433
|
const QUICK_DESKTOP_SURFACE = process.platform === "win32" ? "QUICK_WORK_DESKTOP_WINDOWS" : "QUICK_WORK_DESKTOP_MAC";
|
|
29434
|
-
const QUICK_DSH_TOOL_POLICY = "This turn is owned by DeepSeek Harness (DSH). Use DSH-provided tools exposed through the DeepSeek Harness connector for coding, shell, repository and filesystem work. Do not substitute Quick device Python, run_python tools, or other Quick local sandbox tools for them. Quick load_skill/load_tools discovery is allowed when needed to discover DSH tools. If a needed DSH tool is unavailable, say so instead of using the Quick device sandbox.";
|
|
29435
29434
|
const encoder = new TextEncoder();
|
|
29436
29435
|
const decoder = new TextDecoder();
|
|
29437
29436
|
const eventCodec = new EventStreamCodec((value) => decoder.decode(value), (value) => encoder.encode(value));
|
|
@@ -29655,17 +29654,17 @@ var QuickConnection = class QuickConnection {
|
|
|
29655
29654
|
})).catch(() => void 0);
|
|
29656
29655
|
}, 6e4);
|
|
29657
29656
|
socket.onerror = () => {
|
|
29658
|
-
if (!this.done) this.queue.fail(
|
|
29657
|
+
if (!this.done) this.queue.fail(new LlmError$1("AWS Quick WebSocket transport failed.", "TRANSPORT"));
|
|
29659
29658
|
};
|
|
29660
29659
|
socket.onclose = (event) => {
|
|
29661
|
-
if (!this.done && !this.closed) this.queue.fail(
|
|
29660
|
+
if (!this.done && !this.closed) this.queue.fail(new LlmError$1(`AWS Quick WebSocket closed before completion (code ${event.code}).`, "STREAM_CLOSED"));
|
|
29662
29661
|
};
|
|
29663
29662
|
socket.onmessage = (message) => {
|
|
29664
|
-
this.receive(message.data).catch((error) => this.queue.fail(error));
|
|
29663
|
+
this.receive(message.data).catch((error) => this.queue.fail(error instanceof LlmError$1 ? error : new LlmError$1("AWS Quick returned an unreadable stream event: " + (error instanceof Error ? error.message : String(error)), "INVALID_RESPONSE", { cause: error })));
|
|
29665
29664
|
};
|
|
29666
29665
|
}
|
|
29667
29666
|
static async open(input) {
|
|
29668
|
-
if (input.signal?.aborted) throw new
|
|
29667
|
+
if (input.signal?.aborted) throw new LlmError$1("AWS Quick turn was cancelled before connecting.", "ABORTED");
|
|
29669
29668
|
const session = await input.outpost.session(true);
|
|
29670
29669
|
if (!isQuickChatHost(session.wsHost)) throw new Error(`Refusing untrusted AWS Quick WebSocket host: ${session.wsHost}`);
|
|
29671
29670
|
if (session.provider === "gateway" || session.provider === "social_gateway") throw new Error("This AWS Quick account selected the legacy Gateway transport; this line supports the current AIDP transport.");
|
|
@@ -29691,7 +29690,7 @@ var QuickConnection = class QuickConnection {
|
|
|
29691
29690
|
connection.activity = input.activity;
|
|
29692
29691
|
await new Promise((resolve, reject) => {
|
|
29693
29692
|
const timer = setTimeout(() => {
|
|
29694
|
-
reject(
|
|
29693
|
+
reject(new LlmError$1("AWS Quick WebSocket connection timed out.", "TIMEOUT"));
|
|
29695
29694
|
connection.close();
|
|
29696
29695
|
}, 3e4);
|
|
29697
29696
|
socket.onopen = () => {
|
|
@@ -29701,13 +29700,13 @@ var QuickConnection = class QuickConnection {
|
|
|
29701
29700
|
};
|
|
29702
29701
|
socket.onerror = () => {
|
|
29703
29702
|
clearTimeout(timer);
|
|
29704
|
-
reject(
|
|
29703
|
+
reject(new LlmError$1("AWS Quick WebSocket failed during connection.", "TRANSPORT"));
|
|
29705
29704
|
};
|
|
29706
29705
|
});
|
|
29707
29706
|
await Promise.race([connection.connected, new Promise((_, reject) => {
|
|
29708
29707
|
const timer = setTimeout(() => {
|
|
29709
29708
|
connection.close();
|
|
29710
|
-
reject(
|
|
29709
|
+
reject(new LlmError$1("AWS Quick did not confirm the connected session.", "TIMEOUT"));
|
|
29711
29710
|
}, 3e4);
|
|
29712
29711
|
connection.connected.finally(() => clearTimeout(timer)).catch(() => void 0);
|
|
29713
29712
|
})]);
|
|
@@ -29732,7 +29731,7 @@ var QuickConnection = class QuickConnection {
|
|
|
29732
29731
|
if (this.socket.readyState === WebSocket.OPEN) this.socket.send(encodeQuickInput(value));
|
|
29733
29732
|
}
|
|
29734
29733
|
sendUser(text, mode, effort, attachments, customPrompt) {
|
|
29735
|
-
if (this.done || this.closed) throw new
|
|
29734
|
+
if (this.done || this.closed) throw new LlmError$1("Quick connection is closed.", "STREAM_CLOSED");
|
|
29736
29735
|
this.send(quickUserMessage({
|
|
29737
29736
|
text,
|
|
29738
29737
|
threadId: this.threadId,
|
|
@@ -29748,6 +29747,7 @@ var QuickConnection = class QuickConnection {
|
|
|
29748
29747
|
}));
|
|
29749
29748
|
}
|
|
29750
29749
|
answerTool(call, result, isError = false) {
|
|
29750
|
+
if (this.done || this.closed || this.socket.readyState !== WebSocket.OPEN) throw new LlmError$1("Quick tool result cannot be sent because the connection is closed.", "STREAM_CLOSED");
|
|
29751
29751
|
const content = typeof result === "string" ? [{
|
|
29752
29752
|
type: "text",
|
|
29753
29753
|
text: result
|
|
@@ -29825,7 +29825,7 @@ var QuickConnection = class QuickConnection {
|
|
|
29825
29825
|
this.finish("stop");
|
|
29826
29826
|
return;
|
|
29827
29827
|
}
|
|
29828
|
-
if (type === "error" || type === "guardrail_blocked") this.queue.fail(new
|
|
29828
|
+
if (type === "error" || type === "guardrail_blocked") this.queue.fail(new LlmError$1(textField(event, "message") ?? textField(event, "error") ?? "AWS Quick returned an error.", type === "guardrail_blocked" ? "INVALID_REQUEST" : "SERVER"));
|
|
29829
29829
|
}
|
|
29830
29830
|
close() {
|
|
29831
29831
|
if (this.closed) return;
|
|
@@ -29839,6 +29839,7 @@ var QuickConnection = class QuickConnection {
|
|
|
29839
29839
|
};
|
|
29840
29840
|
//#endregion
|
|
29841
29841
|
//#region src/host/aws-quick/adapter.ts
|
|
29842
|
+
const QUICK_STREAM_IDLE_TIMEOUT_MS = 6e5;
|
|
29842
29843
|
const RETRY_POLICY$12 = resolveRetryPolicy({
|
|
29843
29844
|
mode: "normal",
|
|
29844
29845
|
maxRetries: 2,
|
|
@@ -29846,7 +29847,8 @@ const RETRY_POLICY$12 = resolveRetryPolicy({
|
|
|
29846
29847
|
"TRANSPORT",
|
|
29847
29848
|
"SERVER",
|
|
29848
29849
|
"TIMEOUT",
|
|
29849
|
-
"STREAM_CLOSED"
|
|
29850
|
+
"STREAM_CLOSED",
|
|
29851
|
+
STREAM_IDLE_TIMEOUT_CODE$6
|
|
29850
29852
|
],
|
|
29851
29853
|
backoff: {
|
|
29852
29854
|
initialDelayMs: 1500,
|
|
@@ -29870,7 +29872,10 @@ function renderMessage(message) {
|
|
|
29870
29872
|
return `<${message.role}>\n${messageText$1(message)}\n</${message.role}>`;
|
|
29871
29873
|
}
|
|
29872
29874
|
function renderTranscript(messages) {
|
|
29873
|
-
return `The following is the complete DSH conversation. Continue from its latest user request; do not repeat earlier tasks.\n\n${messages.map(renderMessage).join("\n\n")}`;
|
|
29875
|
+
return `The following is the complete DSH conversation. Continue from its latest user request; do not repeat earlier tasks.\n\n${messages.filter((message) => message.role !== "system" && message.role !== "developer").map(renderMessage).join("\n\n")}`;
|
|
29876
|
+
}
|
|
29877
|
+
function systemContext(messages) {
|
|
29878
|
+
return messages.filter((message) => message.role === "system" || message.role === "developer").map(messageText$1).filter((text) => text.trim()).join("\n\n");
|
|
29874
29879
|
}
|
|
29875
29880
|
function fingerprint$3(messages, covered) {
|
|
29876
29881
|
return JSON.stringify(messages.slice(0, covered).map((m) => [
|
|
@@ -29935,7 +29940,7 @@ var AwsQuickAdapter = class extends LlmAdapter {
|
|
|
29935
29940
|
};
|
|
29936
29941
|
}
|
|
29937
29942
|
stream(options) {
|
|
29938
|
-
return wrapStreamWithWatchdog((signal, activity) => this.run(options, signal, activity), options.signal,
|
|
29943
|
+
return wrapStreamWithWatchdog((signal, activity) => this.run(options, signal, activity), options.signal, QUICK_STREAM_IDLE_TIMEOUT_MS, STREAM_IDLE_TIMEOUT_CODE$6, PROVIDER_NAME$12, QUICK_STREAM_IDLE_TIMEOUT_MS);
|
|
29939
29944
|
}
|
|
29940
29945
|
compatible(state, options, model, effort, toolFingerprint) {
|
|
29941
29946
|
return state.model === model && state.effort === effort && state.toolFingerprint === toolFingerprint && fingerprint$3(options.messages, state.covered) === state.fingerprint;
|
|
@@ -30024,7 +30029,8 @@ var AwsQuickAdapter = class extends LlmAdapter {
|
|
|
30024
30029
|
...catalog ? { toolFingerprint: catalog.fingerprint } : {}
|
|
30025
30030
|
}
|
|
30026
30031
|
};
|
|
30027
|
-
|
|
30032
|
+
const customPrompt = [systemContext(options.messages), tools.length > 0 ? "This turn uses DeepSeek Harness (DSH). Prefer tools exposed by the DeepSeek Harness connector for coding, shell, repository and filesystem work. Quick load_skill/load_tools may be used for discovery. Keep every tool call subject to the normal DSH and Quick permission rules. If a required DSH tool is unavailable, report that capability clearly." : ""].filter(Boolean).join("\n\n") || void 0;
|
|
30033
|
+
connection.sendUser(text, modelState.mode, effort, attachments, customPrompt);
|
|
30028
30034
|
}
|
|
30029
30035
|
if (!turn) throw new LlmError$1("AWS Quick failed to initialize its connection.", "SERVER");
|
|
30030
30036
|
const currentTurn = turn;
|
|
@@ -30050,7 +30056,7 @@ var AwsQuickAdapter = class extends LlmAdapter {
|
|
|
30050
30056
|
if (event.kind === "tool-call") {
|
|
30051
30057
|
const original = currentTurn.catalog?.resolve(event.call.name) ?? null;
|
|
30052
30058
|
if (!original) {
|
|
30053
|
-
currentTurn.connection.answerTool(event.call, "This tool is not
|
|
30059
|
+
currentTurn.connection.answerTool(event.call, "This tool is not part of the active DSH catalog. Use an available DeepSeek Harness tool or report the missing capability.", true);
|
|
30054
30060
|
continue;
|
|
30055
30061
|
}
|
|
30056
30062
|
const call = {
|
package/lib/types/compat.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ export declare const ROUTE_PREFIX: "/api/dsh-chatgpt-subscription";
|
|
|
76
76
|
* `test/responses-client.test.ts` asserts the two agree, so a release that
|
|
77
77
|
* forgets this constant fails the suite instead of shipping quietly.
|
|
78
78
|
*/
|
|
79
|
-
export declare const PLUGIN_VERSION: "0.81.
|
|
79
|
+
export declare const PLUGIN_VERSION: "0.81.3";
|
|
80
80
|
export declare const CODEX_CHATGPT_PROVIDER_ID: "codex-chatgpt";
|
|
81
81
|
export { MINIMAX_CODE_PROVIDER_ID, MINIMAX_CODE_ROUTE_PREFIX } from './shared/minimax-code-contracts.ts';
|
|
82
82
|
export declare const CODEX_API_BASE: "https://chatgpt.com/backend-api/codex";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/host/aws-quick/adapter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,6BAA6B,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AA+B;IAAA,OAAO,CAAC,QAAQ,CAAC,IAAI,CAA4B;IAAA,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;gBACpH,OAAO,EAAC;QAAC,QAAQ,EAAC,qBAAqB,CAAC;QAAA,OAAO,EAAC,eAAe,CAAC;QAAA,UAAU,CAAC,EAAC,kBAAkB,CAAC;QAAA,WAAW,CAAC,EAAC,qBAAqB,CAAC;QAAA,cAAc,CAAC,EAAC,OAAO,eAAe,CAAC,IAAI,CAAA;KAAC;IAC3M,kBAAkB,CAAC,SAAS,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,KAAK,EAAC,kBAAkB;;;;;IAC1E,YAAY,CAAC,QAAQ,EAAC,MAAM,GAAE,eAAe;IAC7C,mBAAmB,IAAG,mBAAmB;IACnC,UAAU,CAAC,QAAQ,EAAC,MAAM,GAAE,OAAO,CAAC,SAAS,YAAY,EAAE,CAAC;IAC5D,YAAY,CAAC,QAAQ,EAAC,MAAM,EAAC,KAAK,EAAC,MAAM,GAAE,OAAO,CAAC,oBAAoB,CAAC;IACxE,WAAW,CAAC,QAAQ,EAAC,MAAM,EAAC,KAAK,EAAC,MAAM,GAAE,OAAO,CAAC,mBAAmB,CAAC;IAC5E,MAAM,CAAC,OAAO,EAAC,sBAAsB,GAAE,aAAa,CAAC,WAAW,CAAC;IACjE,OAAO,CAAC,UAAU;YACH,GAAG;IAsEZ,OAAO,IAAG,OAAO,CAAC,IAAI,CAAC;CAC7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/host/aws-quick/client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/host/aws-quick/client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAc,eAAe,EAAC,MAAM,cAAc,CAAA;AAC9D,OAAO,EAAyJ,KAAK,cAAc,EAAC,MAAM,eAAe,CAAA;AACzM,OA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AC;IAAA,MAAM,CAAC,EAAC,cAAc,CAAC;IAAA,MAAM,CAAC,EAAC,WAAW,CAAC;IAAA,QAAQ,CAAC,EAAC;QAAC,KAAK,IAAG,IAAI,CAAA;KAAC,CAAA;CAAC,GAAE,cAAc,CAAC,gBAAgB,CAAC,CAGzN"}
|
|
@@ -2,7 +2,7 @@ import type { AwsQuickEffort, AwsQuickMode } from '../../shared/aws-quick-contra
|
|
|
2
2
|
import type { QuickImageAttachment } from './images.ts';
|
|
3
3
|
export declare const QUICK_CHAT_WS_PATH = "/streaming/quickwork-chat-bidirectional-stream";
|
|
4
4
|
export declare const QUICK_DESKTOP_SURFACE: string;
|
|
5
|
-
export declare const QUICK_DSH_TOOL_POLICY = "This turn
|
|
5
|
+
export declare const QUICK_DSH_TOOL_POLICY = "This turn uses DeepSeek Harness (DSH). Prefer tools exposed by the DeepSeek Harness connector for coding, shell, repository and filesystem work. Quick load_skill/load_tools may be used for discovery. Keep every tool call subject to the normal DSH and Quick permission rules. If a required DSH tool is unavailable, report that capability clearly.";
|
|
6
6
|
export interface QuickWireEvent {
|
|
7
7
|
type?: string;
|
|
8
8
|
payload?: Record<string, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../../../src/host/aws-quick/protocol.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAA;AACvF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAEvD,eAAO,MAAM,kBAAkB,mDAAmD,CAAA;AAClF,eAAO,MAAM,qBAAqB,QAAyF,CAAA;AAC3H,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../../../src/host/aws-quick/protocol.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAA;A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