@deslop/workbench 0.0.401 → 0.0.410
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-DcE0yHBZ.mjs → anthropic-messages--JAnb97W.mjs} +38 -51
- package/dist/{azure-openai-responses-ecGypQVA.mjs → azure-openai-responses-g-awH_uA.mjs} +9 -16
- package/dist/client/assets/{-workbench-terminal-Af-sz4R6.js → -workbench-terminal-Ne3Ca_Zm.js} +8 -8
- package/dist/client/assets/agent-YDhqENQr.js +1 -0
- package/dist/client/assets/agent-YvOEbSL4.js +2 -0
- package/dist/client/assets/{dialog-CTIcy8Vy.js → dialog-O3wBc7X2.js} +2 -2
- package/dist/client/assets/diff-BcPEyFnc.js +223 -0
- package/dist/client/assets/diff-CZdOESVK.js +2 -0
- package/dist/client/assets/{external-link-BxixiKaa.js → external-link-D8TqDHgo.js} +1 -1
- package/dist/client/assets/fallbacks-BYPj1x-T.js +16 -0
- package/dist/client/assets/index-DFD32fIK.css +2 -0
- package/dist/client/assets/index-k88N8viu.js +10 -0
- package/dist/client/assets/{input-DW9ssWUO.js → input-BHj016ES.js} +1 -1
- package/dist/client/assets/portless-DbuqdEMA.js +2 -0
- package/dist/client/assets/portless-rPZ2tatn.js +1 -0
- package/dist/client/assets/{resizable-CZjAW7-J.js → resizable-BlkgaK6V.js} +1 -1
- package/dist/client/assets/route-DKK79z62.js +2 -0
- package/dist/client/assets/route-DOc4X-Ya.js +45 -0
- package/dist/client/assets/{run-CeqkWWtZ.js → run-DVOYYIUX.js} +1 -1
- package/dist/client/assets/run-gggwaxnT.js +2 -0
- package/dist/client/assets/{sonner-BKURESHO.js → sonner-Bnl1Iat_.js} +1 -1
- package/dist/client/assets/state-Cxz4BVk7.js +2 -0
- package/dist/client/assets/terminal-Brvez29s.js +2 -0
- package/dist/client/assets/{terminal-CcfbU9tU.js → terminal-CYX_Ixg-.js} +1 -1
- package/dist/client/assets/{triangle-alert-DLHVemGQ.js → triangle-alert-Ceg_3GX9.js} +1 -1
- package/dist/client/index.html +11 -11
- package/dist/github-copilot-headers-BB6z1RAk.mjs +23 -0
- package/dist/{google-Jzn1v4-q.mjs → google-generative-ai-r4Wb8Eaq.mjs} +15 -20
- package/dist/{google-shared-DNNqX1gf.mjs → google-shared-DN1OvwJM.mjs} +4 -4
- package/dist/{google-vertex-z0Cbw7eq.mjs → google-vertex-Clcq7cAd.mjs} +15 -20
- package/dist/{hash-CScAQ-b_.mjs → hash-wSEYO-QF.mjs} +1 -1
- package/dist/headers-SFoLwUHv.mjs +15 -0
- package/dist/{mistral-CxEIkz4y.mjs → mistral-conversations-Bnpuiv3e.mjs} +12 -19
- package/dist/{openai-codex-responses-7ZUsVcbT.mjs → openai-codex-responses-4Te8RbRb.mjs} +62 -46
- package/dist/{openai-completions-CaGFVr3X.mjs → openai-completions-B4nInzTS.mjs} +69 -96
- package/dist/{openai-responses-Vjw8-3qm.mjs → openai-responses-GeDULmTh.mjs} +28 -31
- package/dist/{openai-responses-shared-DtEshy-7.mjs → openai-responses-shared-CG93Thoy.mjs} +37 -32
- package/dist/{openrouter-CZ-H_QwG.mjs → openrouter-images-CgbIytYQ.mjs} +7 -14
- package/dist/{sanitize-unicode-BbVojtka.mjs → sanitize-unicode-Ga8nHda1.mjs} +1 -1
- package/dist/server.js +32269 -28959
- package/dist/{transform-messages-CLmkH5Gu.mjs → transform-messages-D9fZ7fnU.mjs} +2 -2
- package/package.json +3 -2
- package/dist/client/assets/agent-BnkD1Glf.js +0 -2
- package/dist/client/assets/agent-DQPX2IZb.js +0 -1
- package/dist/client/assets/diff-MiGOu0DY.js +0 -2
- package/dist/client/assets/diff-_Gk9o1mg.js +0 -223
- package/dist/client/assets/fallbacks-D21cBTdH.js +0 -16
- package/dist/client/assets/index-B2S_w1d1.css +0 -2
- package/dist/client/assets/index-DW7dKhgZ.js +0 -10
- package/dist/client/assets/portless-3KC81g42.js +0 -2
- package/dist/client/assets/portless-CxovsEbp.js +0 -1
- package/dist/client/assets/route-DwWgYFyk.js +0 -2
- package/dist/client/assets/route-te6-VkZE.js +0 -45
- package/dist/client/assets/run-B-qmimXV.js +0 -2
- package/dist/client/assets/state-a4d_PikB.js +0 -2
- package/dist/client/assets/terminal-BHNxWKc6.js +0 -2
- package/dist/github-copilot-headers-P0xZolzq.mjs +0 -39
- package/dist/headers-oksLmLNC.mjs +0 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env -S node --max-old-space-size=16384 --heapsnapshot-near-heap-limit=3 --report-on-fatalerror
|
|
2
|
-
//#region ../../node_modules/.pnpm/@earendil-works+pi-ai@0.
|
|
2
|
+
//#region ../../node_modules/.pnpm/@earendil-works+pi-ai@0.80.1_@modelcontextprotocol+sdk@1.29.0_zod@4.4.3__ws@8.21.0_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/api/simple-options.js
|
|
3
3
|
function buildBaseOptions(_model, options, apiKey) {
|
|
4
4
|
return {
|
|
5
5
|
temperature: options?.temperature,
|
|
@@ -41,7 +41,7 @@ function adjustMaxTokensForThinking(baseMaxTokens, modelMaxTokens, reasoningLeve
|
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
//#endregion
|
|
44
|
-
//#region ../../node_modules/.pnpm/@earendil-works+pi-ai@0.
|
|
44
|
+
//#region ../../node_modules/.pnpm/@earendil-works+pi-ai@0.80.1_@modelcontextprotocol+sdk@1.29.0_zod@4.4.3__ws@8.21.0_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.js
|
|
45
45
|
const NON_VISION_USER_IMAGE_PLACEHOLDER = "(image omitted: model does not support images)";
|
|
46
46
|
const NON_VISION_TOOL_IMAGE_PLACEHOLDER = "(tool image omitted: model does not support images)";
|
|
47
47
|
function replaceImagesWithPlaceholder(content, placeholder) {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"type": "module",
|
|
3
3
|
"sideEffects": false,
|
|
4
4
|
"name": "@deslop/workbench",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.410",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
@@ -37,9 +37,10 @@
|
|
|
37
37
|
"@tanstack/router-plugin": "latest",
|
|
38
38
|
"@tanstack/react-hotkeys": "latest",
|
|
39
39
|
"@deslop/ai": "workspace:*",
|
|
40
|
+
"@deslop/agent": "workspace:*",
|
|
40
41
|
"@deslop/git": "workspace:*",
|
|
41
42
|
"@deslop/portless": "workspace:*",
|
|
42
|
-
"@deslop/
|
|
43
|
+
"@deslop/os": "workspace:*",
|
|
43
44
|
"@deslop/components": "workspace:*",
|
|
44
45
|
"@deslop/opentelemetry": "workspace:*",
|
|
45
46
|
"@vitejs/plugin-react": "latest",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/agent-DQPX2IZb.js","assets/compiler-runtime-CLAvuQ-D.js","assets/rolldown-runtime-QTnfLwEv.js","assets/fallbacks-D21cBTdH.js","assets/state-a4d_PikB.js","assets/-workbench-terminal-Af-sz4R6.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{Is as e,Ls as t,Nt as n,it as r,rt as i}from"./fallbacks-D21cBTdH.js";import{t as a}from"./preload-helper-CjdClQve.js";var o=t(`/(home)/$worktree/agent`)({component:e(()=>a(()=>import(`./agent-DQPX2IZb.js`),__vite__mapDeps([0,1,2,3,4,5])),`component`),validateSearch:n(r({agentId:i}))});export{o as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e,t}from"./compiler-runtime-CLAvuQ-D.js";import{Mo as n,Xa as r,js as i}from"./fallbacks-D21cBTdH.js";import{a,j as o,r as s}from"./state-a4d_PikB.js";import{t as c}from"./agent-BnkD1Glf.js";import{t as l}from"./-workbench-terminal-Af-sz4R6.js";var u=t(),d=e();function f(){let e=(0,u.c)(17),t=c.useParams(),f=c.useSearch(),p;e[0]===t.worktree?p=e[1]:(p=s(t.worktree),e[0]=t.worktree,e[1]=p);let m=o(p),h=m.value.activeWorktree?.root??``,g;e[2]===h?g=e[3]:(g=a(h),e[2]=h,e[3]=g);let _=o(g);if(!m.value.activeWorktree)return;let v;if(e[4]!==f||e[5]!==_.value){let t;e[7]===f?t=e[8]:(t=e=>e.uuid===f.agentId,e[7]=f,e[8]=t),v=i(_.value,r(t),n),e[4]=f,e[5]=_.value,e[6]=v}else v=e[6];let y=v;if(!y)return;let b;e[9]!==m.value.activeWorktree.root||e[10]!==f.agentId||e[11]!==y.args||e[12]!==y.command?(b={args:y.args,command:y.command,cwd:m.value.activeWorktree.root,sessionId:f.agentId},e[9]=m.value.activeWorktree.root,e[10]=f.agentId,e[11]=y.args,e[12]=y.command,e[13]=b):b=e[13];let x;return e[14]!==f.agentId||e[15]!==b?(x=(0,d.jsx)(`div`,{className:`bg-background h-full min-h-0 min-w-0`,children:(0,d.jsx)(l,{session:b},f.agentId)}),e[14]=f.agentId,e[15]=b,e[16]=x):x=e[16],x}export{f as component};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/diff-_Gk9o1mg.js","assets/rolldown-runtime-QTnfLwEv.js","assets/compiler-runtime-CLAvuQ-D.js","assets/fallbacks-D21cBTdH.js","assets/dialog-CTIcy8Vy.js","assets/resizable-CZjAW7-J.js","assets/preload-helper-CjdClQve.js","assets/sonner-BKURESHO.js","assets/triangle-alert-DLHVemGQ.js","assets/external-link-BxixiKaa.js","assets/state-a4d_PikB.js","assets/src-DzxfdEt6.js","assets/chunk-CSCIHK7Q-DoGVP1BZ.js","assets/chunk-5ZQYHXKU-DbN9DSns.js","assets/dist-D9sYb5Oa.js","assets/chunk-WU5MYG2G-CtG2KJlt.js","assets/chunk-XPW4576I-BjBK3ctW.js","assets/chunk-BSJP7CBP-C450xCVa.js","assets/chunk-L5ZTLDWV-D9P-YjsA.js","assets/chunk-NZK2D7GU-hkTOm2qR.js","assets/chunk-O5CBEL6O-D1fDxsSH.js","assets/chunk-3OPIFGDE-BlIdNnu8.js","assets/rough.esm-CSKSodPl.js","assets/chunk-KSCS5N6A-dbmnxO_p.js","assets/line-CcJ0IOWh.js","assets/path-BWPyau1x.js","assets/array-BifhSqXX.js","assets/chunk-LZXEDZCA-BdVT_AWc.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{Is as e,Ls as t,Nt as n,it as r,kt as i,rt as a}from"./fallbacks-D21cBTdH.js";import{t as o}from"./preload-helper-CjdClQve.js";var s=t(`/(home)/$worktree/diff`)({component:e(()=>o(()=>import(`./diff-_Gk9o1mg.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27])),`component`),validateSearch:n(r({commit:i(a)}))});export{s as t};
|