moi-computer 0.10.1-next.3 → 0.10.1-next.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 (69) hide show
  1. package/client/app/shell/SidebarLayout.tsx +53 -14
  2. package/client/components/shared/AgentBlobatar.tsx +3 -3
  3. package/client/components/shared/Composer.tsx +4 -10
  4. package/client/features/chat/ChatEmptyState.tsx +2 -9
  5. package/client/features/chat/ChatPanel.tsx +21 -23
  6. package/client/features/chat/ChatPopup.tsx +1 -2
  7. package/client/features/chat/composer/ChatComposer.tsx +2 -2
  8. package/client/features/chat/composer/banners/AgentAvailabilityBanner.tsx +101 -0
  9. package/client/features/chat/composer/banners/{ChatErrorBanner.tsx → ErrorBanner.tsx} +2 -2
  10. package/client/features/chat/composer/banners/{WorkspaceSkillUpdateBanner.tsx → SkillUpdateBanner.tsx} +3 -3
  11. package/client/features/chat/composer/useWorkspaceComposerState.tsx +14 -24
  12. package/client/features/chat/composer/useWorkspaceSkillUpdates.ts +6 -6
  13. package/client/features/chat/useAppletChatMessage.ts +9 -5
  14. package/client/features/dev/BlobatarShapesPage.tsx +344 -0
  15. package/client/features/dev/ChatStatesPage.tsx +3 -4
  16. package/client/features/dev/DevIndexPage.tsx +5 -0
  17. package/client/features/dev/DevRoutes.tsx +2 -0
  18. package/client/features/home/HomePage.tsx +47 -5
  19. package/client/features/home/WorkspacePreview.tsx +4 -4
  20. package/client/features/home/workspace-setup/WorkspaceAgentStep.tsx +1 -1
  21. package/client/features/update/{Update.tsx → UpdateControl.tsx} +33 -9
  22. package/client/features/workspace/CustomizePanel.tsx +1 -1
  23. package/client/features/workspace/WorkspaceScreen.tsx +5 -5
  24. package/client/features/workspace/api.ts +10 -1
  25. package/client/lib/agent-availability.ts +19 -0
  26. package/client/runtime/useWorkspaceEvents.ts +16 -2
  27. package/client/runtime/workspace-theme.ts +2 -8
  28. package/dist/chunk-104m57qw.js +2 -0
  29. package/dist/chunk-4vyggdzq.css +1 -0
  30. package/dist/chunk-bj3akjs2.js +1 -0
  31. package/dist/{chunk-0pcdwjkp.js → chunk-c9pjqx9m.js} +1 -1
  32. package/dist/chunk-gbp4m9p2.js +1 -0
  33. package/dist/{chunk-8jh75pjg.js → chunk-j2w2vak4.js} +2 -2
  34. package/dist/chunk-jpdn7nx7.js +83 -0
  35. package/dist/chunk-k2r9c95m.js +10 -0
  36. package/dist/chunk-kmbxhgwv.js +1 -0
  37. package/dist/{chunk-yt2qjn3m.js → chunk-tny85yt2.js} +2 -2
  38. package/dist/{chunk-9y2zbzqz.js → chunk-v7wr1df4.js} +1 -1
  39. package/dist/index.html +1 -1
  40. package/lib/themes.ts +31 -7
  41. package/lib/types.ts +9 -8
  42. package/package.json +1 -1
  43. package/server/AGENTS.md +1 -1
  44. package/server/agent.ts +46 -22
  45. package/server/api.ts +6 -6
  46. package/server/cli-ui-components.ts +63 -22
  47. package/server/harness/README.md +21 -12
  48. package/server/harness/claude-code/auth.ts +38 -23
  49. package/server/harness/claude-code/index.ts +1 -1
  50. package/server/harness/claude-code/permissions.ts +34 -0
  51. package/server/harness/claude-code/session.ts +7 -15
  52. package/server/harness/codex/auth.ts +31 -21
  53. package/server/harness/codex/client.ts +5 -14
  54. package/server/harness/codex/index.ts +1 -1
  55. package/server/harness/codex/permissions.ts +56 -0
  56. package/server/harness/codex/session.ts +25 -20
  57. package/server/harness/executable.ts +2 -2
  58. package/server/harness/hermes/index.ts +4 -5
  59. package/server/ui-components.ts +29 -0
  60. package/workspace/.claude/skills/moi-workspace/SKILL.md +9 -7
  61. package/workspace/.claude/skills/moi-workspace/references/UI-COMPONENTS.md +24 -12
  62. package/client/features/chat/composer/banners/WorkspaceAgentAvailabilityBanner.tsx +0 -82
  63. package/dist/chunk-4xmcsjjv.js +0 -1
  64. package/dist/chunk-76j95afs.css +0 -1
  65. package/dist/chunk-dfs36zgc.js +0 -1
  66. package/dist/chunk-e4e993yf.js +0 -83
  67. package/dist/chunk-vq8ga42s.js +0 -1
  68. package/dist/chunk-yhj9bg1s.js +0 -2
  69. package/dist/chunk-yz743a75.js +0 -10
@@ -1 +0,0 @@
1
- import{Xc as r}from"/chunk-9y2zbzqz.js";if(typeof globalThis.structuredClone==="function")globalThis.structuredClone=globalThis.structuredClone.bind(globalThis);async function o(a){let[{mount:t}]=await Promise.all([import("/chunk-e4e993yf.js"),import("/chunk-4xmcsjjv.js").then((e)=>e.loadAppConfig())]);t(a)}globalThis.__init=o;
@@ -1,2 +0,0 @@
1
- import{Uc as H,Vc as w}from"/chunk-9y2zbzqz.js";var t=w((S,b)=>{b.exports=globalThis.__esm.react});var a=H(t(),1);function y(o){return`${location.protocol==="https:"?"wss":"ws"}://${location.host}${o}`}var i=new Set,T=new Set,$=!1,p=null,h=!1;function u(){if(p||h)return;h=!0;let o=new WebSocket(y("/api/workspaces/ws"));o.onopen=()=>{if(p=o,h=!1,$)for(let m of T)m();$=!0},o.onmessage=(m)=>{try{let g=JSON.parse(m.data);for(let x of i)x(g)}catch{}},o.onclose=()=>{if(p=null,h=!1,i.size>0)setTimeout(u,2000)},o.onerror=()=>{o.close()}}function B(o){return T.add(o),()=>{T.delete(o)}}function P(o){let m=a.useRef(o);m.current=o,a.useEffect(()=>{let g=(x)=>m.current(x);return i.add(g),u(),()=>{if(i.delete(g),i.size===0&&p)p.close(),p=null}},[])}
2
- export{t as Qc,y as Rc,B as Sc,P as Tc};