@aistrike-dev/ui-shell-dev 2.0.3 → 2.1.1

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 (45) hide show
  1. package/README.md +41 -17
  2. package/dist/args.d.ts +9 -1
  3. package/dist/args.js +51 -5
  4. package/dist/cell.d.ts +29 -0
  5. package/dist/cell.js +194 -0
  6. package/dist/cli.js +25 -1
  7. package/dist/devfile.d.ts +25 -9
  8. package/dist/devfile.js +75 -30
  9. package/dist/hosts.d.ts +17 -0
  10. package/dist/hosts.js +51 -0
  11. package/dist/inject.js +0 -3
  12. package/dist/platform/host.d.ts +5 -7
  13. package/dist/platform/host.js +4 -4
  14. package/dist/platform/list.d.ts +2 -2
  15. package/dist/platform/list.js +6 -5
  16. package/dist/platform/server.d.ts +3 -2
  17. package/dist/platform/server.js +21 -10
  18. package/dist/ports.d.ts +12 -0
  19. package/dist/ports.js +14 -0
  20. package/dist/preamble.d.ts +15 -0
  21. package/dist/preamble.js +44 -0
  22. package/dist/serve.d.ts +28 -0
  23. package/dist/serve.js +161 -0
  24. package/dist/token.d.ts +6 -1
  25. package/dist/token.js +2 -2
  26. package/dist/vite/plugin.d.ts +12 -3
  27. package/dist/vite/plugin.js +126 -27
  28. package/dist/vite/targets.d.ts +27 -0
  29. package/dist/vite/targets.js +35 -0
  30. package/package.json +2 -2
  31. package/platform/assistant/mock.js +1809 -222
  32. package/platform/assistant/ui/chunks/ui-CnxV0v5I.js +280 -0
  33. package/platform/assistant/ui/entry.js +2 -2
  34. package/platform/home/ui/chunks/ui-BJZEfOZI.js +174 -0
  35. package/platform/home/ui/entry.js +1 -1
  36. package/platform/settings/ui/chunks/ui-BRCsapmB.js +271 -0
  37. package/platform/settings/ui/entry.js +2 -2
  38. package/shell/assets/LabHost-D3o-OJsx.js +2 -0
  39. package/shell/assets/index-DW0Z5YeB.js +185 -0
  40. package/shell/index.html +1 -1
  41. package/platform/assistant/ui/chunks/ui-C9pWqM_D.js +0 -182
  42. package/platform/home/ui/chunks/ui-SNPmLvIE.js +0 -174
  43. package/platform/settings/ui/chunks/ui-C21hUUVD.js +0 -271
  44. package/shell/assets/LabHost-BiiVtiYJ.js +0 -2
  45. package/shell/assets/index-CqB5Mswt.js +0 -184
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./chunks/ui-C9pWqM_D.js","./chunks/preload-helper-CYtfOYgs.js"])))=>i.map(i=>d[i]);
2
- import{t as e}from"./chunks/preload-helper-CYtfOYgs.js";function t(t,n){let r,i=0;return{async mount(a){i+=1;let o=i;r?.(),r=void 0;let{mountUi:s}=await e(async()=>{let{mountUi:e}=await import(`./chunks/ui-C9pWqM_D.js`);return{mountUi:e}},__vite__mapDeps([0,1]),import.meta.url);o===i&&(r=s(a,t,n))},unmount(){i+=1,r?.(),r=void 0}}}var n=e=>{let n=t(e,`page`);return{nav:[],settings:null,entities:[],commands:[],mount:n.mount,unmount:n.unmount}},r=e=>t(e,`pane`);export{n as activate,r as activatePane};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./chunks/ui-CnxV0v5I.js","./chunks/preload-helper-CYtfOYgs.js"])))=>i.map(i=>d[i]);
2
+ import{t as e}from"./chunks/preload-helper-CYtfOYgs.js";function t(t){let n,r=0;return{async mount(i){r+=1;let a=r;n?.(),n=void 0;let{mountPage:o}=await e(async()=>{let{mountPage:e}=await import(`./chunks/ui-CnxV0v5I.js`);return{mountPage:e}},__vite__mapDeps([0,1]),import.meta.url);a===r&&(n=o(i,t))},unmount(){r+=1,n?.(),n=void 0}}}var n=e=>{let n=t(e);return{nav:[],settings:null,entities:[],commands:[],mount:n.mount,unmount:n.unmount}},r=t=>({mount(n,r){let i=null,a=!1,o=[],s=e=>{i===null?a||o.push(e):e(i)};return e(async()=>{let{mountSession:e}=await import(`./chunks/ui-CnxV0v5I.js`);return{mountSession:e}},__vite__mapDeps([0,1]),import.meta.url).then(({mountSession:e})=>{if(!a){i=e(n,t,r);for(let e of o.splice(0))e(i)}},e=>{console.warn(`Assistant: the session view did not load`,e)}),{unmount(){a=!0,o.length=0,i?.unmount(),i=null},scrollToTurn:e=>s(t=>t.scrollToTurn(e)),acceptFiles:e=>s(t=>t.acceptFiles(e))}}});export{n as activate,r as activateSession};