sliccy 3.33.0 → 3.35.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.
- package/dist/ui/assets/{adobe-Kj51U-G-.js → adobe-BRQEfz1I.js} +2 -2
- package/dist/ui/assets/adobe-DqEEV7K5.js +1 -0
- package/dist/ui/assets/{agent-bridge-29d9WjsM.js → agent-bridge--aoB7za4.js} +1 -1
- package/dist/ui/assets/{agent-message-to-chat-D-0-FU66.js → agent-message-to-chat-Cf-PA3PL.js} +1 -1
- package/dist/ui/assets/{anthropic-CKkEp3hv.js → anthropic-CP-ouum5.js} +6 -6
- package/dist/ui/assets/anthropic-oHjoP5Qp.js +39 -0
- package/dist/ui/assets/{apps-9uo3Lr0G.js → apps-P8w2nNUB.js} +2 -2
- package/dist/ui/assets/{azure-openai-n1j9Cm1T.js → azure-openai-BDajo6ba.js} +1 -1
- package/dist/ui/assets/azure-openai-Dgh02LJw.js +1 -0
- package/dist/ui/assets/azure-openai-responses-BhEyP5io.js +1 -0
- package/dist/ui/assets/azure-openai-responses-D_Emnwqm.js +1 -0
- package/dist/ui/assets/{biome_wasm-DJEAcCuA.js → biome_wasm-Cj2t2Sqp.js} +1 -1
- package/dist/ui/assets/{bsh-watchdog-LFwDe3ar.js → bsh-watchdog-BHM3lIIW.js} +1 -1
- package/dist/ui/assets/{cdp-bcKh5bLD.js → cdp-DzsLEquc.js} +3 -3
- package/dist/ui/assets/{cdp-ws-page-bridge-B9reu_OP.js → cdp-ws-page-bridge-Cq3dnPCj.js} +1 -1
- package/dist/ui/assets/{common-BNuNd4Ba.js → common-Bes6Rp5g.js} +1 -1
- package/dist/ui/assets/{connect-surface-Ba-ktBMG.js → connect-surface-6MDb65af.js} +1 -1
- package/dist/ui/assets/cost-command-BJFKPD-9.js +1 -0
- package/dist/ui/assets/{dist-DSnAHxTL.js → dist-BR9SH6f-.js} +1 -1
- package/dist/ui/assets/{dist-DJE69LK_.js → dist-B_L1hx85.js} +1 -1
- package/dist/ui/assets/{dist-04JlLinV.js → dist-BvikTLzU.js} +1 -1
- package/dist/ui/assets/{dist-BSVK2yeB.js → dist-iTrcpjMt.js} +4 -4
- package/dist/ui/assets/{es-CPf4AIw2.js → es-CcN0if_N.js} +4 -4
- package/dist/ui/assets/{follower-sprinkle-bridge-B-IKQ3w_.js → follower-sprinkle-bridge-BnXbVmXR.js} +1 -1
- package/dist/ui/assets/{github-DGWtaFHC.js → github-BVkjHtni.js} +2 -2
- package/dist/ui/assets/{github-copilot-CkAQ6Erf.js → github-copilot-O8gRRubZ.js} +2 -2
- package/dist/ui/assets/github-copilot-r5E168qG.js +1 -0
- package/dist/ui/assets/{github-CrqbzJzB.js → github-kxRKas0e.js} +1 -1
- package/dist/ui/assets/google-C4UaifIA.js +1 -0
- package/dist/ui/assets/{google-CS1ZW9bi.js → google-DhgTyv3k.js} +1 -1
- package/dist/ui/assets/google-shared-CfTcRL_l.js +11 -0
- package/dist/ui/assets/google-shared-cbPEawjU.js +371 -0
- package/dist/ui/assets/{google-vertex-CBLa1qT2.js → google-vertex-DCwY7SpP.js} +1 -1
- package/dist/ui/assets/{google-vertex-Cao9gELI.js → google-vertex-DrVy9tT-.js} +1 -1
- package/dist/ui/assets/{hosted-config-apply-DNOQ9WJF.js → hosted-config-apply-6JWS8OfU.js} +1 -1
- package/dist/ui/assets/{intercepted-oauth-BOOi7vyH.js → intercepted-oauth-BeA89evx.js} +1 -1
- package/dist/ui/assets/{kernel-worker-bhdxb7KD.js → kernel-worker-CsVAcCa0.js} +960 -960
- package/dist/ui/assets/lick-ws-bridge-BeO_NfAN.js +1 -0
- package/dist/ui/assets/{local-llm-xo7neHWu.js → local-llm-BExlcRTe.js} +1 -1
- package/dist/ui/assets/{magick-wasm-BKuaQ3rb.js → magick-wasm-52jtVvFN.js} +1 -1
- package/dist/ui/assets/{main-cherry-BjWeOmQ7.js → main-cherry-DDFIq_gA.js} +1 -1
- package/dist/ui/assets/{main-DZdH43QR.js → main-lrS_5wG0.js} +176 -176
- package/dist/ui/assets/{migration-run-Q3ZUq-Je.js → migration-run-Blb3KPMp.js} +1 -1
- package/dist/ui/assets/mistral-Bml5xQsA.js +46 -0
- package/dist/ui/assets/mistral-anetp8MW.js +46 -0
- package/dist/ui/assets/{nodejs-COlMSB3u.js → nodejs-TWe3ARKT.js} +1 -1
- package/dist/ui/assets/{nuke-command-BdzGLH3g.js → nuke-command-Be-RNfyH.js} +1 -1
- package/dist/ui/assets/{oauth-CwemgwFl.js → oauth-B68JgGW1.js} +1 -1
- package/dist/ui/assets/{oauth-bootstrap-Cs4FByDB.js → oauth-bootstrap-hbzMsWI8.js} +2 -2
- package/dist/ui/assets/{oauth-service-BT9jK5gf.js → oauth-service-DUrh0AYU.js} +1 -1
- package/dist/ui/assets/{oauth-service-DkGnxY11.js → oauth-service-DbPObLKr.js} +1 -1
- package/dist/ui/assets/{offscreen-client-FAfhAj9e.js → offscreen-client-BujqsTo-.js} +1 -1
- package/dist/ui/assets/{onboarding-orchestrator-CGl5bgGQ.js → onboarding-orchestrator-BD4FQQVL.js} +1 -1
- package/dist/ui/assets/{openai-codex-CkQp_VOn.js → openai-codex-Cbrr6rGT.js} +1 -1
- package/dist/ui/assets/{openai-codex-BHyhhxkD.js → openai-codex-CxjIoboc.js} +1 -1
- package/dist/ui/assets/openai-codex-responses-C9vLfgL2.js +7 -0
- package/dist/ui/assets/openai-codex-responses-Ck2q17sa.js +7 -0
- package/dist/ui/assets/openai-completions-wICCJVuW.js +5 -0
- package/dist/ui/assets/openai-prompt-cache-DXo9f3w5.js +1 -0
- package/dist/ui/assets/openai-responses-Bjsbtb8-.js +1 -0
- package/dist/ui/assets/openai-responses-DxgM2J96.js +1 -0
- package/dist/ui/assets/{openai-responses-shared-IEwb4Bnc.js → openai-responses-shared-COkNR-Pr.js} +1 -1
- package/dist/ui/assets/{openai-responses-shared-BpxUo2hw.js → openai-responses-shared-DfPgySbe.js} +3 -3
- package/dist/ui/assets/openrouter-DJdg9hUw.js +1 -0
- package/dist/ui/assets/openrouter-DJeU4Mbk.js +1 -0
- package/dist/ui/assets/{panel-rpc-handlers-BwNi1LHl.js → panel-rpc-handlers-CYxO9OxE.js} +1 -1
- package/dist/ui/assets/{provider-BLlaMWbM.js → provider-D1Ft0Nb8.js} +2 -2
- package/dist/ui/assets/provider-p23r1B9g.js +1 -0
- package/dist/ui/assets/provider-store-access-BIempBYx.js +1 -0
- package/dist/ui/assets/provider-store-access-D-VyHV75.js +1 -0
- package/dist/ui/assets/{proxied-fetch-BeWuVGOX.js → proxied-fetch-KHVJs3Kj.js} +1 -1
- package/dist/ui/assets/{pyodide-Ehetwoe5.js → pyodide-BJTshnbo.js} +2 -2
- package/dist/ui/assets/{remote-terminal-view-CJdKUqdO.js → remote-terminal-view-D53aNTEz.js} +1 -1
- package/dist/ui/assets/{remote-vfs-client-D6_MrRXk.js → remote-vfs-client-Cm2KnQKl.js} +1 -1
- package/dist/ui/assets/{secret-env-Bqh25Y2X.js → secret-env-ChcPNQmy.js} +1 -1
- package/dist/ui/assets/{slicc-editor-Dl10n1b6.js → slicc-editor-CjKFECEG.js} +1 -1
- package/dist/ui/assets/{spawn-BG9kySnP.js → spawn-BQcHMJGU.js} +1 -1
- package/dist/ui/assets/{sql-wasm-DExdSkwU.js → sql-wasm-C9SZBPLh.js} +2 -2
- package/dist/ui/assets/{src-DKSpd8Dd.js → src-Duh03CdO.js} +2 -2
- package/dist/ui/assets/{store-Cw5lDqQe.js → store-gTLi8tdo.js} +1 -1
- package/dist/ui/assets/{tray-leave-runtime-CoRHpZRS.js → tray-leave-runtime-COlsOS8N.js} +1 -1
- package/dist/ui/assets/{typescript-BmSr-AlP.js → typescript-rk7H1_FE.js} +9 -9
- package/dist/ui/assets/upgrade-detection--HvC0q7X.js +1 -0
- package/dist/ui/assets/{web-9HmVxcOc.js → web-SsRbZ_tV.js} +1 -1
- package/dist/ui/assets/{writable-vfs-client-D_UQp-YT.js → writable-vfs-client-CmIlnwCv.js} +1 -1
- package/dist/ui/assets/{ws-subscribers-BMdi57oe.js → ws-subscribers-CVS-pepL.js} +1 -1
- package/dist/ui/assets/{xai-grok-DFmEf9UD.js → xai-grok-BR7eM-uM.js} +1 -1
- package/dist/ui/assets/{xai-grok-BX5FPUyI.js → xai-grok-C0k59tLJ.js} +1 -1
- package/dist/ui/index.html +1 -1
- package/dist/ui/packages/webapp/index.html +1 -1
- package/package.json +8 -6
- package/dist/ui/assets/adobe-BqVDLsXC.js +0 -1
- package/dist/ui/assets/anthropic-nTqDKU-w.js +0 -39
- package/dist/ui/assets/azure-openai-CGI-F2wz.js +0 -1
- package/dist/ui/assets/azure-openai-responses-DUFOEp8m.js +0 -1
- package/dist/ui/assets/azure-openai-responses-u6VnHFYZ.js +0 -1
- package/dist/ui/assets/cost-command-CJP8W8NR.js +0 -1
- package/dist/ui/assets/github-copilot-RYzLpR81.js +0 -1
- package/dist/ui/assets/google-BVNm62k1.js +0 -1
- package/dist/ui/assets/google-shared-BH487x7k.js +0 -11
- package/dist/ui/assets/google-shared-BKhOC16f.js +0 -364
- package/dist/ui/assets/lick-ws-bridge-BWNvd4N7.js +0 -1
- package/dist/ui/assets/mistral-Ciza90fS.js +0 -46
- package/dist/ui/assets/mistral-MXNxOKD1.js +0 -46
- package/dist/ui/assets/openai-codex-responses-CE1GG13U.js +0 -7
- package/dist/ui/assets/openai-codex-responses-Cjcet1cK.js +0 -7
- package/dist/ui/assets/openai-completions-DA3zhYey.js +0 -5
- package/dist/ui/assets/openai-responses-Cmo4jYgc.js +0 -1
- package/dist/ui/assets/openai-responses-DavBRjmY.js +0 -1
- package/dist/ui/assets/openrouter-jFi_t9ul.js +0 -1
- package/dist/ui/assets/openrouter-oGAe4Otk.js +0 -1
- package/dist/ui/assets/provider-_dhmVUuf.js +0 -1
- package/dist/ui/assets/provider-store-access-9DQwMoh5.js +0 -1
- package/dist/ui/assets/provider-store-access-DZymKvLV.js +0 -1
- package/dist/ui/assets/upgrade-detection-0tCJylnp.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ct as e,_t as t,h as n,m as r}from"./kernel-worker-CsVAcCa0.js";const i=`/.slicc-migrated`;async function a(e){let{manifest:t,source:n,target:r,logger:i}=e,a={fileCount:t.fileCount,totalBytes:t.totalBytes},c=t.entries.filter(e=>e.type===`dir`).sort((e,t)=>o(e.path)-o(t.path)),l=t.entries.filter(e=>e.type===`file`),u=t.entries.filter(e=>e.type===`symlink`);for(let e of c)try{await r.mkdir(e.path)}catch(e){return i?.warn?.(`[migration] mkdir failed during C2 copy`,{copiedFiles:0,stage:`mkdir`,code:s(e)}),{kind:`copy-error`,expected:a,copiedFiles:0,stage:`mkdir`}}let d=0;try{e.onProgress?.({copied:0,total:a.fileCount})}catch{}for(let t of l){if(t.type!==`file`)continue;let o;try{o=await n.readFile(t.path)}catch(e){return i?.warn?.(`[migration] legacy read failed during C2 copy`,{copiedFiles:d,stage:`read`,code:s(e)}),{kind:`copy-error`,expected:a,copiedFiles:d,stage:`read`}}try{await r.writeFile(t.path,o)}catch(e){return i?.warn?.(`[migration] OPFS write failed during C2 copy`,{copiedFiles:d,stage:`writeFile`,code:s(e)}),{kind:`copy-error`,expected:a,copiedFiles:d,stage:`writeFile`}}d++;try{e.onProgress?.({copied:d,total:a.fileCount})}catch{}}let f=0;for(let e of u)if(e.type===`symlink`)try{await r.symlink(e.target,e.path)}catch(e){if(s(e)===`EEXIST`){f++;continue}return i?.warn?.(`[migration] symlink failed during C2 copy`,{copiedFiles:d,stage:`symlink`,code:s(e)}),{kind:`copy-error`,expected:a,copiedFiles:d,stage:`symlink`}}if(f>0&&i?.info?.(`[migration] tolerated pre-existing symlinks during C2 re-run`,{skipped:f,symlinks:t.symlinkCount}),e.flushBeforeSentinel)try{await e.flushBeforeSentinel()}catch(e){return i?.warn?.(`[migration] sidecar flush failed before parity`,{code:s(e)}),{kind:`copy-error`,expected:a,copiedFiles:d,stage:`writeFile`}}let p=await e.countOpfsFiles(),m=p.totalBytes-a.totalBytes;return p.fileCount===a.fileCount?(m!==0&&i?.info?.(`[migration] byte drift tolerated (count parity matched)`,{expectedBytes:a.totalBytes,actualBytes:p.totalBytes,byteDelta:m}),await e.writeSentinel(),i?.info?.(`[migration] C2 copy complete, sentinel written`,{files:p.fileCount,totalBytes:p.totalBytes,expectedBytes:a.totalBytes,byteDelta:m,symlinks:t.symlinkCount,dirs:t.dirCount}),{kind:`success`,fileCount:p.fileCount,totalBytes:p.totalBytes}):(i?.warn?.(`[migration] parity mismatch — sentinel NOT written`,{expectedFiles:a.fileCount,actualFiles:p.fileCount,expectedBytes:a.totalBytes,actualBytes:p.totalBytes,byteDelta:m}),{kind:`parity-mismatch`,expected:a,actual:p})}function o(e){if(e===`/`)return 0;let t=0;for(let n=0;n<e.length;n++)e.charCodeAt(n)===47&&t++;return t}function s(e){let t=e?.code;return typeof t==`string`?t:void 0}const c=t(`migration-guard`);function l(){let e=globalThis;return{hasExtensionRuntime:typeof e.chrome?.runtime?.id==`string`,hasDocument:e.document!==void 0,pathname:e.window?.location?.pathname??``}}function u(e){return!e.hasExtensionRuntime||!e.hasDocument?!1:!/offscreen\.html$/.test(e.pathname)}var d=class extends Error{constructor(e){super(`runLegacyMigrationFromVfs invoked from the chrome extension side panel (pathname='${e.pathname}'). Migration must run only in the offscreen document; the panel should wait on the kernel-ready RPC (OffscreenClient.onReady).`),this.name=`MigrationFromSidePanelError`}};function f(e=l()){if(u(e)){let t=new d(e);throw c.error(t.message),t}}async function p(e,t={}){f(t.callerEnv);let r=t.logger,o=await n({sentinelExists:async()=>{try{return await e.stat(i),!0}catch{return!1}},probeLegacyDbExists:t.probeLegacyDbExists??y,lfsFactory:t.legacyLfsFactory??v,logger:r});if(o.kind===`sentinel-present`)return{kind:`sentinel-present`};if(o.kind===`legacy-absent`)return{kind:`legacy-absent`};let s=await(t.legacyReaderFactory??_)(),c=m(e);return{kind:`copied`,result:await a({manifest:o.manifest,source:s,target:c,countOpfsFiles:()=>g(e,o.manifest),flushBeforeSentinel:()=>e.flush().catch(()=>{}),writeSentinel:async()=>{await e.writeFile(i,``),await e.flush().catch(()=>{})},onProgress:t.onProgress,logger:r})}}function m(e){return{mkdir:async t=>{await e.mkdir(t,{recursive:!0})},writeFile:async(t,n)=>{await e.writeFile(t,n)},symlink:async(t,n)=>{try{await e.symlink(t,n);return}catch(e){if(h(e)!==`EEXIST`)throw e}let r;try{r=await e.readlink(n)}catch{}r!==t&&(await e.rm(n,{recursive:!0}),await e.symlink(t,n))}}}function h(e){let t=e?.code;return typeof t==`string`?t:void 0}async function g(e,t){let n=0,r=0;for(let i of t.entries){if(i.type!==`file`)continue;let t;try{t=await e.lstat(i.path)}catch{continue}t.type===`file`&&(n++,r+=t.size??0)}return{fileCount:n,totalBytes:r}}async function _(){let t=(await import(`./src-Duh03CdO.js`).then(t=>e(t.default,1))).default,n=new t(r).promises;return{readFile:async e=>{let t=await n.readFile(e);return t instanceof Uint8Array?t:new TextEncoder().encode(String(t))}}}async function v(){let t=(await import(`./src-Duh03CdO.js`).then(t=>e(t.default,1))).default;return new t(r).promises}async function y(){try{let e=globalThis.indexedDB;if(!e)return!1;let t=e.databases;return typeof t==`function`?(await t.call(e)).some(e=>e.name===r):!0}catch{return!0}}export{p as runLegacyMigrationFromVfs};
|