moi-computer 0.10.1-next.0 → 0.10.1-next.2
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/client/app/shell/SidebarLayout.tsx +3 -3
- package/client/components/shared/AgentBlobatar.tsx +93 -0
- package/client/features/chat/ChatEmptyState.tsx +122 -77
- package/client/features/chat/ChatPanel.tsx +22 -11
- package/client/features/chat/ChatPopup.tsx +23 -11
- package/client/features/chat/ChatPromptBubbles.tsx +1 -1
- package/client/features/chat/TurnView.tsx +0 -17
- package/client/features/chat/useChat.ts +10 -2
- package/client/features/chat/useStickToBottom.ts +1 -1
- package/client/features/dev/ChatStatesPage.tsx +17 -9
- package/client/features/workspace/CustomizePanel.tsx +33 -4
- package/client/features/workspace/WorkspaceScreen.tsx +17 -7
- package/client/features/workspace/WorkspaceTabs.tsx +5 -8
- package/client/index.css +22 -12
- package/client/index.tsx +1 -0
- package/client/theme.css +9 -0
- package/dist/{chunk-efdyz6xp.js → chunk-0pcdwjkp.js} +1 -1
- package/dist/chunk-4xmcsjjv.js +1 -0
- package/dist/{chunk-5t06zksf.js → chunk-8jh75pjg.js} +2 -2
- package/dist/{chunk-97eg9mjn.js → chunk-9y2zbzqz.js} +1 -1
- package/dist/chunk-dfs36zgc.js +1 -0
- package/dist/chunk-e4e993yf.js +83 -0
- package/dist/chunk-ek8w9tsp.css +1 -0
- package/dist/chunk-vq8ga42s.js +1 -0
- package/dist/{chunk-ht1f95h9.js → chunk-yhj9bg1s.js} +2 -2
- package/dist/{chunk-0set7tmf.js → chunk-yt2qjn3m.js} +2 -2
- package/dist/chunk-yz743a75.js +10 -0
- package/dist/index.html +1 -1
- package/lib/themes.ts +21 -3
- package/lib/types.ts +1 -1
- package/package.json +4 -2
- package/server/bundler/build-applet.ts +30 -0
- package/server/cli-ui-components.ts +258 -0
- package/server/cli.ts +48 -5
- package/server/control.ts +5 -3
- package/server/moi-scaffold.ts +9 -1
- package/server/skills-template.ts +5 -0
- package/server/theme.ts +17 -5
- package/server/ui-components.ts +545 -0
- package/workspace/.claude/skills/moi-workspace/SKILL.md +27 -6
- package/workspace/.claude/skills/moi-workspace/references/DESIGN.md +10 -2
- package/workspace/.claude/skills/moi-workspace/references/UI-COMPONENTS.md +211 -0
- package/client/components/shared/IconGhost.tsx +0 -127
- package/dist/chunk-4057kxht.css +0 -1
- package/dist/chunk-b5c62p8h.js +0 -1
- package/dist/chunk-dfe7qnrp.js +0 -1
- package/dist/chunk-f6xmz3tn.js +0 -83
- package/dist/chunk-h2kj1ysj.js +0 -1
- package/dist/chunk-qtc5a8qa.js +0 -10
|
@@ -0,0 +1 @@
|
|
|
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 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{t as
|
|
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};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{u as
|
|
1
|
+
import{Qc as w,Sc as s}from"/chunk-yhj9bg1s.js";import{Uc as q}from"/chunk-9y2zbzqz.js";var R=q(w(),1);async function i(o,t){let a=await o.text();return Error(a||t)}async function u(o,t,a="Request failed"){let n=await fetch(o,t);if(!n.ok)throw await i(n,a);return n.json()}async function T(o,t,a="Request failed"){let n=await fetch(o,t);if(!n.ok)throw await i(n,a)}function y(o,t){return{method:o,headers:{"Content-Type":"application/json"},body:t===void 0?void 0:JSON.stringify(t)}}var r={cloudDemo:!1,experiments:[],demoInstallUrl:"https://moi.computer"},d=r,e=new Set;function I(o){return e.add(o),()=>{e.delete(o)}}async function f(){try{d=await u("/api/config");for(let o of e)o()}catch{}}async function c(){await f(),s(()=>{f()})}function h(){return R.useSyncExternalStore(I,()=>d)}
|
|
2
|
+
export{u as Lc,T as Mc,y as Nc,c as Oc,h as Pc};
|