@eddyskywalker/dsh-chatgpt-subscription 0.82.0 → 0.82.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/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.82.0";
843
+ const PLUGIN_VERSION = "0.82.1";
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`;
@@ -31429,7 +31429,7 @@ var QuickExecutionBroker = class {
31429
31429
  const body = JSON.parse(Buffer.concat(chunks).toString("utf8") || "{}");
31430
31430
  if (typeof body.name !== "string" || !body.name) return send(400, failure$2("Missing tool name."));
31431
31431
  const callKey = key(dshName(body.name), body.arguments ?? {});
31432
- const matched = [...this.pending.values()].find((item) => item.key === callKey);
31432
+ const matched = [...this.pending.values()].find((item) => item.key === callKey && item.answer === void 0);
31433
31433
  send(200, await new Promise((resolve) => {
31434
31434
  if (matched) {
31435
31435
  matched.answer = resolve;
@@ -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.82.0";
79
+ export declare const PLUGIN_VERSION: "0.82.1";
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":"execution-broker.d.ts","sourceRoot":"","sources":["../../../../src/host/aws-quick/execution-broker.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,aAAa,CAAA;AAEnD,UAAU,IAAI;IAAC,EAAE,EAAC,MAAM,CAAC;IAAA,IAAI,EAAC,MAAM,CAAC;IAAA,aAAa,EAAC,MAAM,CAAA;CAAC;AAY1D,qBAAa,oBAAoB;IAChC,OAAO,CAAC,MAAM,CAAuB;IAAA,OAAO,CAAC,QAAQ,CAAkB;IAAA,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAsC;IACnI,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA2B;IAAA,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmB;IACxF,KAAK,IAAG,OAAO,CAAC;QAAC,GAAG,EAAC,MAAM,CAAC;QAAA,KAAK,EAAC,MAAM,CAAA;KAAC,CAAC;IAMhD,IAAI,YAAY,IAAG,MAAM,CAAiF;IAC1G,KAAK,CAAC,IAAI,EAAC,IAAI,GAAE,IAAI;IAIrB,MAAM,CAAC,EAAE,EAAC,MAAM,EAAC,OAAO,EAAC,kBAAkB,EAAE,EAAC,OAAO,UAAM,GAAE,IAAI;IAC3D,KAAK,IAAG,OAAO,CAAC,IAAI,CAAC;IAK3B,OAAO,CAAC,UAAU;YAOJ,MAAM;CAkBpB;AAED,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"execution-broker.d.ts","sourceRoot":"","sources":["../../../../src/host/aws-quick/execution-broker.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,aAAa,CAAA;AAEnD,UAAU,IAAI;IAAC,EAAE,EAAC,MAAM,CAAC;IAAA,IAAI,EAAC,MAAM,CAAC;IAAA,aAAa,EAAC,MAAM,CAAA;CAAC;AAY1D,qBAAa,oBAAoB;IAChC,OAAO,CAAC,MAAM,CAAuB;IAAA,OAAO,CAAC,QAAQ,CAAkB;IAAA,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAsC;IACnI,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA2B;IAAA,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmB;IACxF,KAAK,IAAG,OAAO,CAAC;QAAC,GAAG,EAAC,MAAM,CAAC;QAAA,KAAK,EAAC,MAAM,CAAA;KAAC,CAAC;IAMhD,IAAI,YAAY,IAAG,MAAM,CAAiF;IAC1G,KAAK,CAAC,IAAI,EAAC,IAAI,GAAE,IAAI;IAIrB,MAAM,CAAC,EAAE,EAAC,MAAM,EAAC,OAAO,EAAC,kBAAkB,EAAE,EAAC,OAAO,UAAM,GAAE,IAAI;IAC3D,KAAK,IAAG,OAAO,CAAC,IAAI,CAAC;IAK3B,OAAO,CAAC,UAAU;YAOJ,MAAM;CAmBpB;AAED,OAAO,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eddyskywalker/dsh-chatgpt-subscription",
3
- "version": "0.82.0",
3
+ "version": "0.82.1",
4
4
  "description": "DSH provider plugin for Codex access through a ChatGPT subscription.",
5
5
  "icon": "./icon.svg",
6
6
  "author": {