@deslop/workbench 0.0.383 → 0.0.390

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.
Files changed (58) hide show
  1. package/dist/{anthropic-C02QVQ9u.mjs → anthropic-DcE0yHBZ.mjs} +5 -5
  2. package/dist/{azure-openai-responses-CUFLNwdy.mjs → azure-openai-responses-ecGypQVA.mjs} +4 -4
  3. package/dist/client/assets/-workbench-terminal-BXoM87zf.js +145 -0
  4. package/dist/client/assets/agent-15Ys-EV7.js +1 -0
  5. package/dist/client/assets/agent-CwZrrVgw.js +2 -0
  6. package/dist/client/assets/{dialog-B0kBnYwI.js → dialog-D3SsOi-l.js} +17 -17
  7. package/dist/client/assets/{diff-o4xLJTw0.js → diff-CSExRPif.js} +51 -49
  8. package/dist/client/assets/diff-Dwyi9RiJ.js +2 -0
  9. package/dist/client/assets/{external-link-D7Q28KpR.js → external-link-Dg1sMSmg.js} +1 -1
  10. package/dist/client/assets/fallbacks-D1MIlTO6.js +16 -0
  11. package/dist/client/assets/index-B2S_w1d1.css +2 -0
  12. package/dist/client/assets/{index-ClCMMzj9.js → index-YdollqUD.js} +3 -3
  13. package/dist/client/assets/input-DZnkCVx3.js +1 -0
  14. package/dist/client/assets/portless-DGijexQV.js +2 -0
  15. package/dist/client/assets/portless-DSDYE-Pc.js +1 -0
  16. package/dist/client/assets/resizable-BWgF68j6.js +1 -0
  17. package/dist/client/assets/route-BuzkrubX.js +45 -0
  18. package/dist/client/assets/route-D3fj0Kxy.js +2 -0
  19. package/dist/client/assets/{run-wjcPjpA5.js → run-ByOu_fKi.js} +1 -1
  20. package/dist/client/assets/run-D-KGLETl.js +2 -0
  21. package/dist/client/assets/{sonner-DgKrvTU1.js → sonner-vAlNGB2c.js} +1 -1
  22. package/dist/client/assets/state-DipxiPcD.js +2 -0
  23. package/dist/client/assets/terminal-dP11iiPC.js +1 -0
  24. package/dist/client/assets/terminal-zDmQe2b5.js +2 -0
  25. package/dist/client/assets/{triangle-alert-cDPYgb7f.js → triangle-alert-CHTnDlTF.js} +1 -1
  26. package/dist/client/index.html +11 -11
  27. package/dist/{github-copilot-headers-B--aVYl2.mjs → github-copilot-headers-P0xZolzq.mjs} +2 -2
  28. package/dist/{google-DHtiCcEt.mjs → google-Jzn1v4-q.mjs} +4 -4
  29. package/dist/{google-shared-BT0mQb3v.mjs → google-shared-DNNqX1gf.mjs} +3 -3
  30. package/dist/{google-vertex-CRkz0MgQ.mjs → google-vertex-z0Cbw7eq.mjs} +4 -4
  31. package/dist/{hash-CDrrQIkY.mjs → hash-CScAQ-b_.mjs} +1 -1
  32. package/dist/{headers-m19bM8_9.mjs → headers-oksLmLNC.mjs} +1 -1
  33. package/dist/{mistral-DXtHhhUc.mjs → mistral-CxEIkz4y.mjs} +4 -4
  34. package/dist/{openai-codex-responses-BSLixEC8.mjs → openai-codex-responses-7ZUsVcbT.mjs} +6 -6
  35. package/dist/{openai-completions-CE-LDmL4.mjs → openai-completions-CaGFVr3X.mjs} +48 -10
  36. package/dist/{openai-responses-41QiypX_.mjs → openai-responses-Vjw8-3qm.mjs} +5 -5
  37. package/dist/{openai-responses-shared-BAoGGIxP.mjs → openai-responses-shared-DtEshy-7.mjs} +4 -4
  38. package/dist/{openrouter-CDq1vETJ.mjs → openrouter-CZ-H_QwG.mjs} +3 -3
  39. package/dist/{sanitize-unicode-CPcy0g31.mjs → sanitize-unicode-BbVojtka.mjs} +1 -1
  40. package/dist/server.js +2498 -1877
  41. package/dist/{transform-messages-CUKh2_5w.mjs → transform-messages-CLmkH5Gu.mjs} +2 -2
  42. package/package.json +1 -1
  43. package/dist/client/assets/-workbench-terminal-nnzNYgEY.js +0 -145
  44. package/dist/client/assets/agent-CnBPS10_.js +0 -1
  45. package/dist/client/assets/agent-XCbfwj2z.js +0 -2
  46. package/dist/client/assets/diff-ClnF3EUN.js +0 -2
  47. package/dist/client/assets/fallbacks-DwGmG_0c.js +0 -16
  48. package/dist/client/assets/index-DT_QSnKQ.css +0 -2
  49. package/dist/client/assets/input-CEh4Uy0l.js +0 -1
  50. package/dist/client/assets/portless-BEzC3sH4.js +0 -2
  51. package/dist/client/assets/portless-DLmFLaZz.js +0 -1
  52. package/dist/client/assets/resizable-A9BpOcmt.js +0 -1
  53. package/dist/client/assets/route-Da0uHKH9.js +0 -45
  54. package/dist/client/assets/route-ULg8h9n0.js +0 -2
  55. package/dist/client/assets/run-DY23jobN.js +0 -2
  56. package/dist/client/assets/state-_2CmL5IM.js +0 -2
  57. package/dist/client/assets/terminal-BC9WKciF.js +0 -1
  58. 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-m19bM8_9.mjs";
4
- import { t as sanitizeSurrogates } from "./sanitize-unicode-CPcy0g31.mjs";
5
- import { i as resolveCloudflareBaseUrl, n as hasCopilotVisionInput, t as buildCopilotDynamicHeaders } from "./github-copilot-headers-B--aVYl2.mjs";
6
- import { n as adjustMaxTokensForThinking, r as buildBaseOptions, t as transformMessages } from "./transform-messages-CUKh2_5w.mjs";
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.8_@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
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-m19bM8_9.mjs";
4
- import { r as buildBaseOptions } from "./transform-messages-CUKh2_5w.mjs";
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-BAoGGIxP.mjs";
8
- //#region ../../node_modules/.pnpm/@earendil-works+pi-ai@0.79.8_@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
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",