sliccy 2.41.2 → 2.41.4

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 (89) hide show
  1. package/dist/ui/assets/__vite-browser-external-CTFk2Lkt.js +1 -0
  2. package/dist/ui/assets/__vite-browser-external-DWqD2dLY.js +1 -0
  3. package/dist/ui/assets/addon-fit-yURJy3qA.js +13 -0
  4. package/dist/ui/assets/adobe-BsSm3jFi.js +1 -0
  5. package/dist/ui/assets/{adobe-B289PMn-.js → adobe-CXSEcJ7K.js} +1 -1
  6. package/dist/ui/assets/{agent-bridge-VMFIuopH.js → agent-bridge-BlJXkod_.js} +1 -1
  7. package/dist/ui/assets/agent-message-to-chat-MNM38dyt.js +7 -0
  8. package/dist/ui/assets/anthropic-D0T8mqRV.js +39 -0
  9. package/dist/ui/assets/{anthropic-BNzn9jxd.js → anthropic-DIK0AGND.js} +1 -1
  10. package/dist/ui/assets/azure-ai-foundry-CaxHzIfg.js +1 -0
  11. package/dist/ui/assets/{azure-openai-WlNLdxb8.js → azure-openai-DiTytjhJ.js} +1 -1
  12. package/dist/ui/assets/azure-openai-DojHdJL3.js +1 -0
  13. package/dist/ui/assets/azure-openai-responses-C3mV0HRP.js +1 -0
  14. package/dist/ui/assets/{azure-openai-responses-2u29KiQ4.js → azure-openai-responses-CV1ipjUS.js} +1 -1
  15. package/dist/ui/assets/bedrock-camp-CSnbcnRX.js +5 -0
  16. package/dist/ui/assets/{bedrock-camp-BYUI3MPM.js → bedrock-camp-CkDNhlzI.js} +3 -3
  17. package/dist/ui/assets/bsh-watchdog-BPXsh13l.js +42 -0
  18. package/dist/ui/assets/chunk-Cn1BcAw8.js +1 -0
  19. package/dist/ui/assets/cost-command-HWF_AGaW.js +1 -0
  20. package/dist/ui/assets/db-Cdoacmjm.js +1 -0
  21. package/dist/ui/assets/diagnostics-DgDchIlf.js +1 -0
  22. package/dist/ui/assets/dist-CdiravWB.js +43 -0
  23. package/dist/ui/assets/dist-Dvfs0thb.js +9 -0
  24. package/dist/ui/assets/es-Bu6eKDug.js +36 -0
  25. package/dist/ui/assets/{fs-DGvU58ce.js → fs-DLmF36ib.js} +3 -3
  26. package/dist/ui/assets/fs-gdBGOI77.js +3 -0
  27. package/dist/ui/assets/git-config-CdPD25HI.js +7 -0
  28. package/dist/ui/assets/{github-BdBT7jQP.js → github-B32rSqUy.js} +2 -2
  29. package/dist/ui/assets/github-BQrJLgkA.js +1 -0
  30. package/dist/ui/assets/github-copilot-headers-CnBwk0a7.js +1 -0
  31. package/dist/ui/assets/google-Cbh4PPo4.js +1 -0
  32. package/dist/ui/assets/{google-DXyEIJQt.js → google-O7ym9XvO.js} +1 -1
  33. package/dist/ui/assets/google-shared-D8AVju7J.js +269 -0
  34. package/dist/ui/assets/google-vertex-BNPwBn3T.js +1 -0
  35. package/dist/ui/assets/headers-1z24dq00.js +1 -0
  36. package/dist/ui/assets/{index-2YPPqfMe.js → index-9RNwBuQi.js} +153 -153
  37. package/dist/ui/assets/js-realm-worker-CxL23t6B.js +1 -0
  38. package/dist/ui/assets/kernel-worker-D5nK6-Lp.js +7014 -0
  39. package/dist/ui/assets/lick-manager-proxy-CU8QckrD.js +1 -0
  40. package/dist/ui/assets/local-llm-D3sFAL4U.js +2 -0
  41. package/dist/ui/assets/{local-llm-v6E29R0f.js → local-llm-DLpX9b2N.js} +1 -1
  42. package/dist/ui/assets/logger-BHrAkMIS.js +1 -0
  43. package/dist/ui/assets/magick-wasm-2iwpLX2j.js +1 -0
  44. package/dist/ui/assets/mime-types-CtECiBq5.js +1 -0
  45. package/dist/ui/assets/{mistral-DCT8MOLt.js → mistral-BYAsX48J.js} +1 -1
  46. package/dist/ui/assets/mistral-C0WEyWP1.js +46 -0
  47. package/dist/ui/assets/mount-5yZEk140.js +1 -0
  48. package/dist/ui/assets/{mount-DGceyJAY.js → mount-CYLV7YdV.js} +2 -2
  49. package/dist/ui/assets/mount-id-DTHL0KHy.js +1 -0
  50. package/dist/ui/assets/{nuke-command-B2Cr8yRU.js → nuke-command-DZ_jreqt.js} +1 -1
  51. package/dist/ui/assets/oauth-service-BOg00ewY.js +1 -0
  52. package/dist/ui/assets/{offscreen-client-BZcNIg4B.js → offscreen-client-D6Tnw-Q6.js} +1 -1
  53. package/dist/ui/assets/{onboarding-orchestrator-DNrrFQR0.js → onboarding-orchestrator-BSkXArrf.js} +1 -1
  54. package/dist/ui/assets/openai-BHyrBS3D.js +16 -0
  55. package/dist/ui/assets/{openai-codex-responses-DcX-CN3X.js → openai-codex-responses-BXWvnlPi.js} +1 -1
  56. package/dist/ui/assets/openai-codex-responses-Dp-5SEuz.js +7 -0
  57. package/dist/ui/assets/openai-completions-BE9W0d4w.js +5 -0
  58. package/dist/ui/assets/{openai-completions-Bew_ZujQ.js → openai-completions-D2C4y3qd.js} +1 -1
  59. package/dist/ui/assets/{openai-responses-C6R1BTfa.js → openai-responses-B_9yL_Y1.js} +1 -1
  60. package/dist/ui/assets/openai-responses-BvAlkAlM.js +1 -0
  61. package/dist/ui/assets/{openai-responses-shared-6i2YUTcv.js → openai-responses-shared-Cn97lSlK.js} +1 -1
  62. package/dist/ui/assets/openai-responses-shared-RmEhlV31.js +12 -0
  63. package/dist/ui/assets/pdfjs-Dcpzfrlx.js +54 -0
  64. package/dist/ui/assets/provider-settings-CNuleEei.js +2 -0
  65. package/dist/ui/assets/provider-settings-oSgrKsb-.js +90 -0
  66. package/dist/ui/assets/providers-BXn6VB-n.js +1 -0
  67. package/dist/ui/assets/py-realm-worker-BLXn1Tp_.js +23 -0
  68. package/dist/ui/assets/pyodide-C2X7foBW.js +3 -0
  69. package/dist/ui/assets/pyodide-Nsz9RSYM.js +3 -0
  70. package/dist/ui/assets/remote-cache-BSVr74Dp.js +1 -0
  71. package/dist/ui/assets/sanitize-unicode-BzRhXPLL.js +1 -0
  72. package/dist/ui/assets/secret-masking-BMzkw8ZK.js +1 -0
  73. package/dist/ui/assets/{spawn-DPstb7fx.js → spawn-Cz9T1Juk.js} +1 -1
  74. package/dist/ui/assets/sprinkle-bridge-channel-DhKQ_srk.js +1 -0
  75. package/dist/ui/assets/sprinkle-proxy-DFfNIL2L.js +1 -0
  76. package/dist/ui/assets/sql-wasm-D1epIc7x.js +2 -0
  77. package/dist/ui/assets/transform-messages-BdxHijhT.js +1 -0
  78. package/dist/ui/assets/tray-follower-status-DmK3Afse.js +1 -0
  79. package/dist/ui/assets/upgrade-detection-DPUv129B.js +1 -0
  80. package/dist/ui/assets/xterm-BUXrv9NX.js +48 -0
  81. package/dist/ui/index.html +7 -7
  82. package/dist/ui/packages/webapp/index.html +7 -7
  83. package/package.json +1 -1
  84. package/dist/ui/assets/cost-command-C-iNLlwZ.js +0 -1
  85. package/dist/ui/assets/js-realm-worker-1pc5_MyD.js +0 -1
  86. package/dist/ui/assets/kernel-worker-F5kL1tTL.js +0 -7573
  87. package/dist/ui/assets/provider-settings-CZjUI9ty.js +0 -2
  88. package/dist/ui/assets/py-realm-worker-C_uxhdB2.js +0 -25
  89. package/dist/ui/assets/tray-follower-status-BrSKMPaE.js +0 -1
@@ -0,0 +1 @@
1
+ import{a as e,c as t,r as n,s as r}from"./transform-messages-BdxHijhT.js";import{t as i}from"./sanitize-unicode-BzRhXPLL.js";import{a,c as o,i as s,l as c,n as l,o as u,r as d,s as f,t as p}from"./google-shared-D8AVju7J.js";const m={THINKING_LEVEL_UNSPECIFIED:c.THINKING_LEVEL_UNSPECIFIED,MINIMAL:c.MINIMAL,LOW:c.LOW,MEDIUM:c.MEDIUM,HIGH:c.HIGH};let h=0;const g=(t,n,i)=>{let a=new e;return(async()=>{let e={role:`assistant`,content:[],api:`google-vertex`,provider:t.provider,model:t.id,usage:{input:0,output:0,cacheRead:0,cacheWrite:0,totalTokens:0,cost:{input:0,output:0,cacheRead:0,cacheWrite:0,total:0}},stopReason:`stop`,timestamp:Date.now()};try{let o=C(i),c=o?y(t,o,i?.headers):v(t,T(i),E(i),i?.headers),l=D(t,n,i),f=await i?.onPayload?.(l,t);f!==void 0&&(l=f);let p=await c.models.generateContentStream(l);a.push({type:`start`,partial:e});let m=null,g=e.content,_=()=>g.length-1;for await(let n of p){e.responseId||=n.responseId;let i=n.candidates?.[0];if(i?.content?.parts)for(let t of i.content.parts){if(t.text!==void 0){let n=d(t);(!m||n&&m.type!==`thinking`||!n&&m.type!==`text`)&&(m&&(m.type===`text`?a.push({type:`text_end`,contentIndex:g.length-1,content:m.text,partial:e}):a.push({type:`thinking_end`,contentIndex:_(),content:m.thinking,partial:e})),n?(m={type:`thinking`,thinking:``,thinkingSignature:void 0},e.content.push(m),a.push({type:`thinking_start`,contentIndex:_(),partial:e})):(m={type:`text`,text:``},e.content.push(m),a.push({type:`text_start`,contentIndex:_(),partial:e}))),m.type===`thinking`?(m.thinking+=t.text,m.thinkingSignature=u(m.thinkingSignature,t.thoughtSignature),a.push({type:`thinking_delta`,contentIndex:_(),delta:t.text,partial:e})):(m.text+=t.text,m.textSignature=u(m.textSignature,t.thoughtSignature),a.push({type:`text_delta`,contentIndex:_(),delta:t.text,partial:e}))}if(t.functionCall){m&&=(m.type===`text`?a.push({type:`text_end`,contentIndex:_(),content:m.text,partial:e}):a.push({type:`thinking_end`,contentIndex:_(),content:m.thinking,partial:e}),null);let n=t.functionCall.id,r={type:`toolCall`,id:!n||e.content.some(e=>e.type===`toolCall`&&e.id===n)?`${t.functionCall.name}_${Date.now()}_${++h}`:n,name:t.functionCall.name||``,arguments:t.functionCall.args??{},...t.thoughtSignature&&{thoughtSignature:t.thoughtSignature}};e.content.push(r),a.push({type:`toolcall_start`,contentIndex:_(),partial:e}),a.push({type:`toolcall_delta`,contentIndex:_(),delta:JSON.stringify(r.arguments),partial:e}),a.push({type:`toolcall_end`,contentIndex:_(),toolCall:r,partial:e})}}i?.finishReason&&(e.stopReason=s(i.finishReason),e.content.some(e=>e.type===`toolCall`)&&(e.stopReason=`toolUse`)),n.usageMetadata&&(e.usage={input:(n.usageMetadata.promptTokenCount||0)-(n.usageMetadata.cachedContentTokenCount||0),output:(n.usageMetadata.candidatesTokenCount||0)+(n.usageMetadata.thoughtsTokenCount||0),cacheRead:n.usageMetadata.cachedContentTokenCount||0,cacheWrite:0,totalTokens:n.usageMetadata.totalTokenCount||0,cost:{input:0,output:0,cacheRead:0,cacheWrite:0,total:0}},r(t,e.usage))}if(m&&(m.type===`text`?a.push({type:`text_end`,contentIndex:_(),content:m.text,partial:e}):a.push({type:`thinking_end`,contentIndex:_(),content:m.thinking,partial:e})),i?.signal?.aborted)throw Error(`Request was aborted`);if(e.stopReason===`aborted`||e.stopReason===`error`)throw Error(`An unknown error occurred`);a.push({type:`done`,reason:e.stopReason,message:e}),a.end()}catch(t){for(let t of e.content)`index`in t&&delete t.index;e.stopReason=i?.signal?.aborted?`aborted`:`error`,e.errorMessage=t instanceof Error?t.message:JSON.stringify(t),a.push({type:`error`,reason:e.stopReason,error:e}),a.end()}})(),a},_=(e,r,i)=>{let a=n(e,i,void 0);if(!i?.reasoning)return g(e,r,{...a,thinking:{enabled:!1}});let o=t(e,i.reasoning),s=o===`off`?`high`:o,c=e;return O(c)||k(c)?g(e,r,{...a,thinking:{enabled:!0,level:j(s,c)}}):g(e,r,{...a,thinking:{enabled:!0,budgetTokens:M(c,s,i.thinkingBudgets)}})};function v(e,t,n,r){return new f({vertexai:!0,project:t,location:n,apiVersion:`v1`,httpOptions:b(e,r)})}function y(e,t,n){return new f({vertexai:!0,apiKey:t,apiVersion:`v1`,httpOptions:b(e,n)})}function b(e,t){let n={},r=x(e.baseUrl);return r&&(n.baseUrl=r,n.baseUrlResourceScope=o.COLLECTION,S(r)&&(n.apiVersion=``)),(e.headers||t)&&(n.headers={...e.headers,...t}),Object.keys(n).length>0?n:void 0}function x(e){let t=e.trim();if(!(!t||t.includes(`{location}`)))return t}function S(e){try{return new URL(e).pathname.split(`/`).some(e=>/^v\d+(?:beta\d*)?$/.test(e))}catch{return/(?:^|\/)v\d+(?:beta\d*)?(?:\/|$)/.test(e)}}function C(e){let t=e?.apiKey?.trim()||{}.GOOGLE_CLOUD_API_KEY?.trim();if(!(!t||t===`gcp-vertex-credentials`||w(t)))return t}function w(e){return/^<[^>]+>$/.test(e)}function T(e){let t=e?.project||{}.GOOGLE_CLOUD_PROJECT||{}.GCLOUD_PROJECT;if(!t)throw Error(`Vertex AI requires a project ID. Set GOOGLE_CLOUD_PROJECT/GCLOUD_PROJECT or pass project in options.`);return t}function E(e){let t=e?.location||{}.GOOGLE_CLOUD_LOCATION;if(!t)throw Error(`Vertex AI requires a location. Set GOOGLE_CLOUD_LOCATION or pass location in options.`);return t}function D(e,t,n={}){let r=p(e,t),o={};n.temperature!==void 0&&(o.temperature=n.temperature),n.maxTokens!==void 0&&(o.maxOutputTokens=n.maxTokens);let s={...Object.keys(o).length>0&&o,...t.systemPrompt&&{systemInstruction:i(t.systemPrompt)},...t.tools&&t.tools.length>0&&{tools:l(t.tools)}};if(t.tools&&t.tools.length>0&&n.toolChoice?s.toolConfig={functionCallingConfig:{mode:a(n.toolChoice)}}:s.toolConfig=void 0,n.thinking?.enabled&&e.reasoning){let e={includeThoughts:!0};n.thinking.level===void 0?n.thinking.budgetTokens!==void 0&&(e.thinkingBudget=n.thinking.budgetTokens):e.thinkingLevel=m[n.thinking.level],s.thinkingConfig=e}else e.reasoning&&n.thinking&&!n.thinking.enabled&&(s.thinkingConfig=A(e));if(n.signal){if(n.signal.aborted)throw Error(`Request aborted`);s.abortSignal=n.signal}return{model:e.id,contents:r,config:s}}function O(e){return/gemini-3(?:\.\d+)?-pro/.test(e.id.toLowerCase())}function k(e){return/gemini-3(?:\.\d+)?-flash/.test(e.id.toLowerCase())}function A(e){let t=e;return O(t)?{thinkingLevel:c.LOW}:k(t)?{thinkingLevel:c.MINIMAL}:{thinkingBudget:0}}function j(e,t){if(O(t))switch(e){case`minimal`:case`low`:return`LOW`;case`medium`:case`high`:return`HIGH`}switch(e){case`minimal`:return`MINIMAL`;case`low`:return`LOW`;case`medium`:return`MEDIUM`;case`high`:return`HIGH`}}function M(e,t,n){return n?.[t]===void 0?e.id.includes(`2.5-pro`)?{minimal:128,low:2048,medium:8192,high:32768}[t]:e.id.includes(`2.5-flash`)?{minimal:128,low:2048,medium:8192,high:24576}[t]:-1:n[t]}export{g as streamGoogleVertex,_ as streamSimpleGoogleVertex};
@@ -0,0 +1 @@
1
+ function e(e){let t={};for(let[n,r]of e.entries())t[n]=r;return t}export{e as t};