@deslop/workbench 0.0.384 → 0.0.391
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/dist/{anthropic-C02QVQ9u.mjs → anthropic-DcE0yHBZ.mjs} +5 -5
- package/dist/{azure-openai-responses-CUFLNwdy.mjs → azure-openai-responses-ecGypQVA.mjs} +4 -4
- package/dist/client/assets/-workbench-terminal-BXoM87zf.js +145 -0
- package/dist/client/assets/agent-15Ys-EV7.js +1 -0
- package/dist/client/assets/agent-CwZrrVgw.js +2 -0
- package/dist/client/assets/{dialog-B0kBnYwI.js → dialog-D3SsOi-l.js} +17 -17
- package/dist/client/assets/{diff-o4xLJTw0.js → diff-CSExRPif.js} +51 -49
- package/dist/client/assets/diff-Dwyi9RiJ.js +2 -0
- package/dist/client/assets/{external-link-D7Q28KpR.js → external-link-Dg1sMSmg.js} +1 -1
- package/dist/client/assets/fallbacks-D1MIlTO6.js +16 -0
- package/dist/client/assets/index-B2S_w1d1.css +2 -0
- package/dist/client/assets/{index-ClCMMzj9.js → index-YdollqUD.js} +3 -3
- package/dist/client/assets/input-DZnkCVx3.js +1 -0
- package/dist/client/assets/portless-DGijexQV.js +2 -0
- package/dist/client/assets/portless-DSDYE-Pc.js +1 -0
- package/dist/client/assets/resizable-BWgF68j6.js +1 -0
- package/dist/client/assets/route-BuzkrubX.js +45 -0
- package/dist/client/assets/route-D3fj0Kxy.js +2 -0
- package/dist/client/assets/{run-wjcPjpA5.js → run-ByOu_fKi.js} +1 -1
- package/dist/client/assets/run-D-KGLETl.js +2 -0
- package/dist/client/assets/{sonner-DgKrvTU1.js → sonner-vAlNGB2c.js} +1 -1
- package/dist/client/assets/state-DipxiPcD.js +2 -0
- package/dist/client/assets/terminal-dP11iiPC.js +1 -0
- package/dist/client/assets/terminal-zDmQe2b5.js +2 -0
- package/dist/client/assets/{triangle-alert-cDPYgb7f.js → triangle-alert-CHTnDlTF.js} +1 -1
- package/dist/client/index.html +11 -11
- package/dist/{github-copilot-headers-B--aVYl2.mjs → github-copilot-headers-P0xZolzq.mjs} +2 -2
- package/dist/{google-DHtiCcEt.mjs → google-Jzn1v4-q.mjs} +4 -4
- package/dist/{google-shared-BT0mQb3v.mjs → google-shared-DNNqX1gf.mjs} +3 -3
- package/dist/{google-vertex-CRkz0MgQ.mjs → google-vertex-z0Cbw7eq.mjs} +4 -4
- package/dist/{hash-CDrrQIkY.mjs → hash-CScAQ-b_.mjs} +1 -1
- package/dist/{headers-m19bM8_9.mjs → headers-oksLmLNC.mjs} +1 -1
- package/dist/{mistral-DXtHhhUc.mjs → mistral-CxEIkz4y.mjs} +4 -4
- package/dist/{openai-codex-responses-BSLixEC8.mjs → openai-codex-responses-7ZUsVcbT.mjs} +6 -6
- package/dist/{openai-completions-CE-LDmL4.mjs → openai-completions-CaGFVr3X.mjs} +48 -10
- package/dist/{openai-responses-41QiypX_.mjs → openai-responses-Vjw8-3qm.mjs} +5 -5
- package/dist/{openai-responses-shared-BAoGGIxP.mjs → openai-responses-shared-DtEshy-7.mjs} +4 -4
- package/dist/{openrouter-CDq1vETJ.mjs → openrouter-CZ-H_QwG.mjs} +3 -3
- package/dist/{sanitize-unicode-CPcy0g31.mjs → sanitize-unicode-BbVojtka.mjs} +1 -1
- package/dist/server.js +2543 -1879
- package/dist/{transform-messages-CUKh2_5w.mjs → transform-messages-CLmkH5Gu.mjs} +2 -2
- package/package.json +1 -1
- package/dist/client/assets/-workbench-terminal-nnzNYgEY.js +0 -145
- package/dist/client/assets/agent-CnBPS10_.js +0 -1
- package/dist/client/assets/agent-XCbfwj2z.js +0 -2
- package/dist/client/assets/diff-ClnF3EUN.js +0 -2
- package/dist/client/assets/fallbacks-DwGmG_0c.js +0 -16
- package/dist/client/assets/index-DT_QSnKQ.css +0 -2
- package/dist/client/assets/input-CEh4Uy0l.js +0 -1
- package/dist/client/assets/portless-BEzC3sH4.js +0 -2
- package/dist/client/assets/portless-DLmFLaZz.js +0 -1
- package/dist/client/assets/resizable-A9BpOcmt.js +0 -1
- package/dist/client/assets/route-Da0uHKH9.js +0 -45
- package/dist/client/assets/route-ULg8h9n0.js +0 -2
- package/dist/client/assets/run-DY23jobN.js +0 -2
- package/dist/client/assets/state-_2CmL5IM.js +0 -2
- package/dist/client/assets/terminal-BC9WKciF.js +0 -1
- package/dist/client/assets/terminal-Bn9lFOEg.js +0 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env -S node --max-old-space-size=16384 --heapsnapshot-near-heap-limit=3 --report-on-fatalerror
|
|
2
2
|
import { Ar as parseJsonWithRepair, Ir as calculateCost, Rr as getProviderEnvValue, Vr as registerApiProvider, jr as parseStreamingJson, zr as AssistantMessageEventStream } from "./server.js";
|
|
3
|
-
import { t as headersToRecord } from "./headers-
|
|
4
|
-
import { t as sanitizeSurrogates } from "./sanitize-unicode-
|
|
5
|
-
import { i as resolveCloudflareBaseUrl, n as hasCopilotVisionInput, t as buildCopilotDynamicHeaders } from "./github-copilot-headers-
|
|
6
|
-
import { n as adjustMaxTokensForThinking, r as buildBaseOptions, t as transformMessages } from "./transform-messages-
|
|
3
|
+
import { t as headersToRecord } from "./headers-oksLmLNC.mjs";
|
|
4
|
+
import { t as sanitizeSurrogates } from "./sanitize-unicode-BbVojtka.mjs";
|
|
5
|
+
import { i as resolveCloudflareBaseUrl, n as hasCopilotVisionInput, t as buildCopilotDynamicHeaders } from "./github-copilot-headers-P0xZolzq.mjs";
|
|
6
|
+
import { n as adjustMaxTokensForThinking, r as buildBaseOptions, t as transformMessages } from "./transform-messages-CLmkH5Gu.mjs";
|
|
7
7
|
//#region ../../node_modules/.pnpm/@anthropic-ai+sdk@0.91.1_zod@4.4.3/node_modules/@anthropic-ai/sdk/internal/tslib.mjs
|
|
8
8
|
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
9
9
|
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
@@ -5534,7 +5534,7 @@ Anthropic.Messages = Messages;
|
|
|
5534
5534
|
Anthropic.Models = Models;
|
|
5535
5535
|
Anthropic.Beta = Beta;
|
|
5536
5536
|
//#endregion
|
|
5537
|
-
//#region ../../node_modules/.pnpm/@earendil-works+pi-ai@0.79.
|
|
5537
|
+
//#region ../../node_modules/.pnpm/@earendil-works+pi-ai@0.79.10_@modelcontextprotocol+sdk@1.29.0_zod@4.4.3__ws@8.21.0_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js
|
|
5538
5538
|
/**
|
|
5539
5539
|
* Resolve cache retention preference.
|
|
5540
5540
|
* Defaults to "short" and uses PI_CACHE_RETENTION for backward compatibility.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env -S node --max-old-space-size=16384 --heapsnapshot-near-heap-limit=3 --report-on-fatalerror
|
|
2
2
|
import { Lr as clampThinkingLevel, Rr as getProviderEnvValue, Vr as registerApiProvider, zr as AssistantMessageEventStream } from "./server.js";
|
|
3
|
-
import { t as headersToRecord } from "./headers-
|
|
4
|
-
import { r as buildBaseOptions } from "./transform-messages-
|
|
3
|
+
import { t as headersToRecord } from "./headers-oksLmLNC.mjs";
|
|
4
|
+
import { r as buildBaseOptions } from "./transform-messages-CLmkH5Gu.mjs";
|
|
5
5
|
import { t as AzureOpenAI } from "./openai-CUH8rb7p.mjs";
|
|
6
6
|
import { t as clampOpenAIPromptCacheKey } from "./openai-prompt-cache-6hf3xB_x.mjs";
|
|
7
|
-
import { n as convertResponsesTools, r as processResponsesStream, t as convertResponsesMessages } from "./openai-responses-shared-
|
|
8
|
-
//#region ../../node_modules/.pnpm/@earendil-works+pi-ai@0.79.
|
|
7
|
+
import { n as convertResponsesTools, r as processResponsesStream, t as convertResponsesMessages } from "./openai-responses-shared-DtEshy-7.mjs";
|
|
8
|
+
//#region ../../node_modules/.pnpm/@earendil-works+pi-ai@0.79.10_@modelcontextprotocol+sdk@1.29.0_zod@4.4.3__ws@8.21.0_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.js
|
|
9
9
|
const DEFAULT_AZURE_API_VERSION = "v1";
|
|
10
10
|
const AZURE_TOOL_CALL_PROVIDERS = new Set([
|
|
11
11
|
"openai",
|