sliccy 2.54.3 → 2.56.0

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 (69) hide show
  1. package/dist/node-server/chrome-launch.js +9 -0
  2. package/dist/ui/assets/active-transport-DjJ32qlA.js +1 -0
  3. package/dist/ui/assets/active-transport-lYMG0Gv5.js +1 -0
  4. package/dist/ui/assets/{adobe-CAqRDN2w.js → adobe-NRB0tB6W.js} +1 -1
  5. package/dist/ui/assets/{adobe-DHYuuUb_.js → adobe-QXZCy565.js} +2 -2
  6. package/dist/ui/assets/{agent-bridge-DBMYb3oa.js → agent-bridge-DxRah7QA.js} +1 -1
  7. package/dist/ui/assets/{agent-message-to-chat-CFx8_Yp_.js → agent-message-to-chat-BpcmXkzt.js} +1 -1
  8. package/dist/ui/assets/{azure-openai-C-F1rgxQ.js → azure-openai-C3jQCjj8.js} +1 -1
  9. package/dist/ui/assets/{azure-openai-DLHmHLi8.js → azure-openai-PWmjqnnu.js} +1 -1
  10. package/dist/ui/assets/{bedrock-camp-CWKZAe9y.js → bedrock-camp-DChwr7KC.js} +1 -1
  11. package/dist/ui/assets/bedrock-camp-prTmQ4PG.js +5 -0
  12. package/dist/ui/assets/{cdp-8PkQbabV.js → cdp-DWT2l8bP.js} +3 -3
  13. package/dist/ui/assets/cost-command-G_pajegS.js +1 -0
  14. package/dist/ui/assets/{es-DNDNUd7z.js → es-DNsspHsb.js} +1 -1
  15. package/dist/ui/assets/{fs-DO22Q01o.js → fs-C9P3Nfvq.js} +2 -2
  16. package/dist/ui/assets/{fs-CAGfJ57c.js → fs-DSB_5PK0.js} +1 -1
  17. package/dist/ui/assets/{github-DRd5QUHI.js → github-BthdVOch.js} +1 -1
  18. package/dist/ui/assets/{github-Cw1vMsHg.js → github-CR01A3Pd.js} +2 -2
  19. package/dist/ui/assets/{index-BFOr5F9v.js → index-CTzhOMSf.js} +5 -5
  20. package/dist/ui/assets/intercepted-oauth-CnYe4Pun.js +1 -0
  21. package/dist/ui/assets/{kernel-worker-CXQhqLoT.js → kernel-worker-DQl_BcO3.js} +482 -261
  22. package/dist/ui/assets/{local-llm-Brkhi5GB.js → local-llm-4QCHSjR3.js} +1 -1
  23. package/dist/ui/assets/{local-llm-CPGemF-L.js → local-llm-CjP7smbg.js} +1 -1
  24. package/dist/ui/assets/{mount-DWGNgrsF.js → mount-D1VXEtPM.js} +2 -2
  25. package/dist/ui/assets/{mount-CUa5gbTF.js → mount-D7zeWCcE.js} +1 -1
  26. package/dist/ui/assets/{nuke-command-CZ6U2htK.js → nuke-command-6iDUjrgH.js} +1 -1
  27. package/dist/ui/assets/{oauth-bootstrap-BFv_Ow7L.js → oauth-bootstrap-CCaF1mhA.js} +1 -1
  28. package/dist/ui/assets/oauth-service--O2P_cH3.js +1 -0
  29. package/dist/ui/assets/oauth-service-BXo87SGy.js +1 -0
  30. package/dist/ui/assets/{offscreen-client-Cie13uMU.js → offscreen-client-BZIuqCtj.js} +1 -1
  31. package/dist/ui/assets/{onboarding-orchestrator-DvhroO-K.js → onboarding-orchestrator-wblO8A6r.js} +1 -1
  32. package/dist/ui/assets/{panel-rpc-handlers-hrz5uVN7.js → panel-rpc-handlers-C7GqtNpD.js} +1 -1
  33. package/dist/ui/assets/{provider-settings-Bfu16H53.js → provider-settings-C_bHAv6F.js} +1 -1
  34. package/dist/ui/assets/provider-settings-CyRPUAEx.js +28 -0
  35. package/dist/ui/assets/providers-DSe5NWr6.js +1 -0
  36. package/dist/ui/assets/{spawn-CoouyTyE.js → spawn-Cg0_PKqL.js} +1 -1
  37. package/dist/ui/assets/{sprinkle-renderer-D_1WCWtS.js → sprinkle-renderer-sJJO5bqF.js} +2 -2
  38. package/dist/ui/assets/{telemetry-C9XsVfDg.js → telemetry-D728iVf5.js} +1 -1
  39. package/dist/ui/assets/{upgrade-detection-m5KWeUgW.js → upgrade-detection-DSxLFlVR.js} +1 -1
  40. package/dist/ui/assets/xai-grok-CiMn_9LI.js +1 -0
  41. package/dist/ui/assets/xai-grok-cGh8uXu4.js +1 -0
  42. package/dist/ui/assets/xai-grok-errors-B7OqxH_0.js +1 -0
  43. package/dist/ui/assets/xai-grok-errors-DGVLpB4k.js +1 -0
  44. package/dist/ui/assets/xai-grok-models-0CbvNCeN.js +1 -0
  45. package/dist/ui/assets/xai-grok-models-DGbQVjGO.js +1 -0
  46. package/dist/ui/assets/xai-grok-sanitize-DTcvIA0E.js +5 -0
  47. package/dist/ui/assets/xai-grok-sanitize-DsBfxZb8.js +5 -0
  48. package/dist/ui/index.html +7 -7
  49. package/dist/ui/packages/webapp/index.html +7 -7
  50. package/package.json +2 -2
  51. package/dist/ui/assets/bedrock-camp-BAGPWCem.js +0 -5
  52. package/dist/ui/assets/cost-command-B-9U3XU3.js +0 -1
  53. package/dist/ui/assets/oauth-service-DNPgMPYf.js +0 -1
  54. package/dist/ui/assets/oauth-service-Dh_zSTTJ.js +0 -1
  55. package/dist/ui/assets/provider-settings-YvpjXLt2.js +0 -28
  56. package/dist/ui/assets/providers-Cf_veClN.js +0 -1
  57. /package/dist/ui/assets/{azure-ai-foundry-D3HkGmef.js → azure-ai-foundry--QIByvkN.js} +0 -0
  58. /package/dist/ui/assets/{azure-ai-foundry-B5DluKZP.js → azure-ai-foundry-DtrzZiwo.js} +0 -0
  59. /package/dist/ui/assets/{bsh-watchdog-DKgzntUa.js → bsh-watchdog-0KPLx0BS.js} +0 -0
  60. /package/dist/ui/assets/{chat-fixture-BKyHtm_z.js → chat-fixture-t_1Cmb9j.js} +0 -0
  61. /package/dist/ui/assets/{git-config-F_PSsmKc.js → git-config-DIdLP3yo.js} +0 -0
  62. /package/dist/ui/assets/{magick-wasm-PdWrmLP5.js → magick-wasm-D4Na_fL8.js} +0 -0
  63. /package/dist/ui/assets/{page-storage-sync-BIXKW7V9.js → page-storage-sync-M2qhyuvc.js} +0 -0
  64. /package/dist/ui/assets/{remote-terminal-view-BkxZllWt.js → remote-terminal-view-BD1tHNzj.js} +0 -0
  65. /package/dist/ui/assets/{rum-DPJZsXNh.js → rum-C0g6MAOC.js} +0 -0
  66. /package/dist/ui/assets/{secret-env-DrzPMa3Z.js → secret-env-LcaaxgBy.js} +0 -0
  67. /package/dist/ui/assets/{slicc-editor-CmED91Wp.js → slicc-editor-CFqadznu.js} +0 -0
  68. /package/dist/ui/assets/{sprinkle-bridge-channel-DMXpPm9r.js → sprinkle-bridge-channel-B_tegUwc.js} +0 -0
  69. /package/dist/ui/assets/{sprinkle-bridge-channel-DTuRl7C8.js → sprinkle-bridge-channel-C2blpBXT.js} +0 -0
@@ -0,0 +1 @@
1
+ import{r as e}from"./chunk-jRWAZmH_.js";var t=e({applyRewrites:()=>o,createInterceptingOAuthLauncher:()=>s,parseInterceptOAuthConfig:()=>n});function n(e){if(typeof e!=`object`||!e||Array.isArray(e))return{ok:!1,error:`expected a JSON object`};let t=e;if(typeof t.authorizeUrl!=`string`||t.authorizeUrl.length===0)return{ok:!1,error:`authorizeUrl must be a non-empty string`};if(typeof t.redirectUriPattern!=`string`||t.redirectUriPattern.length===0)return{ok:!1,error:`redirectUriPattern must be a non-empty string`};if(t.onCapture!==void 0&&t.onCapture!==`close`&&t.onCapture!==`leave`)return{ok:!1,error:`onCapture must be "close" or "leave"`};if(t.timeoutMs!==void 0&&(typeof t.timeoutMs!=`number`||t.timeoutMs<=0))return{ok:!1,error:`timeoutMs must be a positive number`};let n=r(t.rewrite);return n.ok?{ok:!0,config:{authorizeUrl:t.authorizeUrl,redirectUriPattern:t.redirectUriPattern,rewrite:n.rewrites,onCapture:t.onCapture,timeoutMs:t.timeoutMs}}:n}function r(e){if(e===void 0)return{ok:!0,rewrites:void 0};if(!Array.isArray(e))return{ok:!1,error:`rewrite must be an array`};let t=[];for(let n=0;n<e.length;n++){let r=e[n];if(typeof r!=`object`||!r)return{ok:!1,error:`rewrite[${n}] must be an object`};let i=r;if(typeof i.match!=`string`||i.match.length===0)return{ok:!1,error:`rewrite[${n}].match must be a non-empty string`};if(i.replaceUrl!==void 0&&typeof i.replaceUrl!=`string`)return{ok:!1,error:`rewrite[${n}].replaceUrl must be a string when present`};if(i.appendParams!==void 0){if(typeof i.appendParams!=`object`||i.appendParams===null||Array.isArray(i.appendParams))return{ok:!1,error:`rewrite[${n}].appendParams must be an object`};for(let[e,t]of Object.entries(i.appendParams))if(typeof t!=`string`)return{ok:!1,error:`rewrite[${n}].appendParams.${e} must be a string`}}t.push({match:i.match,appendParams:i.appendParams,replaceUrl:i.replaceUrl})}return{ok:!0,rewrites:t}}function i(e,t){return t.endsWith(`*`)?e.startsWith(t.slice(0,-1)):e===t||e.startsWith(`${t}?`)||e.startsWith(`${t}#`)}function a(e){return e.endsWith(`*`)?e:`${e}*`}function o(e,t){if(!t||t.length===0)return e;let n=e;for(let e of t)if(n.includes(e.match)){if(e.replaceUrl){n=e.replaceUrl;continue}if(e.appendParams)try{let t=new URL(n);for(let[n,r]of Object.entries(e.appendParams))t.searchParams.set(n,r);n=t.toString()}catch{}}return n}function s(e){return async t=>{let n=t.timeoutMs??12e4,r=t.rewrite??[],s=t.onCapture??`close`,c,l,u=!1,d=null,f=async()=>{if(l){try{await e.send(`Fetch.disable`,{},l)}catch{}try{await e.send(`Target.detachFromTarget`,{sessionId:l})}catch{}}if(c&&s===`close`)try{await e.send(`Target.closeTarget`,{targetId:c})}catch{}};return await new Promise(s=>{let p=async t=>{u||(u=!0,clearTimeout(h),e.off(`Fetch.requestPaused`,m),await f(),s(t))},m=n=>{let a=n;if(!a?.request?.url||!l||(typeof n.sessionId==`string`?n.sessionId:void 0)!==l)return;if(i(a.request.url,t.redirectUriPattern)){d=a.request.url,e.send(`Fetch.failRequest`,{requestId:a.requestId,errorReason:`Aborted`},l).catch(()=>{}),p(d);return}let s=o(a.request.url,r);if(s!==a.request.url){e.send(`Fetch.continueRequest`,{requestId:a.requestId,url:s},l).catch(e=>{console.warn(`[intercepted-oauth] continueRequest (rewrite) failed:`,e instanceof Error?e.message:String(e))});return}e.send(`Fetch.continueRequest`,{requestId:a.requestId},l).catch(()=>{})},h=setTimeout(()=>{p(null)},n);(async()=>{try{c=(await e.send(`Target.createTarget`,{url:`about:blank`})).targetId,l=(await e.send(`Target.attachToTarget`,{targetId:c,flatten:!0})).sessionId,e.on(`Fetch.requestPaused`,m),await e.send(`Fetch.enable`,{patterns:[{urlPattern:a(t.redirectUriPattern),requestStage:`Request`},...r.map(e=>({urlPattern:`*${e.match}*`,requestStage:`Request`}))]},l),await e.send(`Page.navigate`,{url:t.authorizeUrl},l)}catch(e){console.error(`[intercepted-oauth] setup failed:`,e instanceof Error?e.message:String(e)),p(null)}})()})}}export{t as n,s as t};