moi-computer 0.11.1-next.4 → 0.12.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/client/api/app-config.ts +7 -4
- package/client/app/AppRouter.tsx +2 -2
- package/client/app/routes/WorkspaceRoute.tsx +27 -19
- package/client/features/applets/{AppletMount.tsx → AppletContainer.tsx} +7 -5
- package/client/features/applets/WidgetShell.tsx +3 -3
- package/client/features/applets/applet-cache.ts +3 -5
- package/client/features/applets/applet-runtime.ts +27 -12
- package/client/features/applets/applet-thumbnail.ts +2 -1
- package/client/features/chat/applet-chat-intents.ts +14 -6
- package/client/features/chat/composer/attachments/draft-attachments.ts +21 -4
- package/client/features/chat/messages/MarkdownContent.tsx +5 -2
- package/client/features/chat/sessions/browser-tab-state.ts +18 -0
- package/client/features/chat/sessions/useSelectedSession.ts +55 -21
- package/client/features/chat/useChat.ts +4 -0
- package/client/features/collab/applet-api.ts +34 -0
- package/client/features/collab/client.ts +239 -0
- package/client/features/collab/components/cursors.tsx +199 -0
- package/client/features/collab/components/presence-avatars.tsx +61 -0
- package/client/features/collab/components/presence-frame.tsx +126 -0
- package/client/features/collab/components/presence-group.tsx +23 -0
- package/client/features/collab/components/presence-helpers.ts +50 -0
- package/client/features/collab/components/user-avatar-group.tsx +22 -0
- package/client/features/collab/components/user-avatar.tsx +40 -0
- package/client/features/collab/components/user.tsx +50 -0
- package/client/features/collab/hooks.tsx +164 -0
- package/client/features/collab/host-state.ts +254 -0
- package/client/features/collab/index.ts +5 -0
- package/client/features/collab/local-user.ts +46 -0
- package/client/features/collab/presence-publisher.ts +30 -0
- package/client/features/collab/presence-target.ts +8 -0
- package/client/features/collab/provider.tsx +79 -0
- package/client/features/collab/proxy-user.ts +35 -0
- package/client/features/collab/store.ts +156 -0
- package/client/features/collab/testing/component-fixtures.tsx +54 -0
- package/client/features/collab/testing/fake-engine.ts +129 -0
- package/client/features/collab/users.ts +106 -0
- package/client/features/collab/workspace-users-menu.tsx +194 -0
- package/client/features/connectors/mcp-icons.ts +0 -2
- package/client/features/dev/DevIndexPage.tsx +5 -0
- package/client/features/dev/DevRoutes.tsx +16 -4
- package/client/features/dev/collab/collab-page.tsx +24 -0
- package/client/features/dev/collab/collab-playground.tsx +614 -0
- package/client/features/dev/collab/local-user-settings.tsx +166 -0
- package/client/features/dev/collab/playground-room.ts +33 -0
- package/client/features/dev/{UiComponentsPage.tsx → ui-components/ui-components-page.tsx} +1 -1
- package/client/features/overview/WidgetCanvas.tsx +3 -1
- package/client/features/views/ViewManager.tsx +12 -7
- package/client/features/views/api.ts +2 -2
- package/client/features/views/useViewBuilderActions.ts +3 -0
- package/client/features/workspace/WorkspaceContext.tsx +1 -1
- package/client/features/workspace/WorkspaceLayoutContext.tsx +8 -2
- package/client/features/workspace/WorkspaceScreen.tsx +19 -11
- package/client/features/workspace/WorkspaceTabs.tsx +3 -3
- package/client/features/workspace/api.ts +2 -1
- package/client/features/workspace/browser-tab-state.ts +44 -0
- package/client/features/workspace/layout-save.ts +13 -0
- package/client/features/workspace/moi-context.ts +2 -1
- package/client/features/workspace/useWorkspaceNavigation.ts +20 -8
- package/client/index.css +45 -0
- package/client/index.tsx +9 -4
- package/client/main.tsx +1 -11
- package/client/theme.css +4 -1
- package/dist/chunk-2jncyq65.js +1 -0
- package/dist/{chunk-brr0zbeh.js → chunk-3a48fyf7.js} +2 -2
- package/dist/{chunk-tzz101ea.js → chunk-97eg9mjn.js} +1 -1
- package/dist/chunk-e2q5ken7.js +68 -0
- package/dist/{chunk-zs4mte79.js → chunk-efdyz6xp.js} +1 -1
- package/dist/chunk-h2kj1ysj.js +1 -0
- package/dist/chunk-jf6czgrz.js +2 -0
- package/dist/chunk-nez8sdta.js +1 -0
- package/dist/chunk-nzwgm8vc.css +1 -0
- package/dist/chunk-ph0h6h86.js +1 -0
- package/dist/chunk-ryg9z3kn.js +10 -0
- package/dist/chunk-tpn177bt.js +2 -0
- package/dist/chunk-vfpsc75k.js +2 -0
- package/dist/{chunk-m1fvqssh.js → chunk-z3byfve5.js} +2 -2
- package/dist/index.html +1 -1
- package/lib/collab/colors.ts +30 -0
- package/lib/collab/protocol.ts +84 -0
- package/lib/collab/types.ts +52 -0
- package/lib/experimental.ts +14 -0
- package/lib/moi-context.ts +11 -3
- package/lib/navigation.ts +25 -5
- package/lib/types.ts +20 -33
- package/package.json +2 -2
- package/server/AGENTS.md +1 -1
- package/server/api.ts +28 -5
- package/server/app-config.ts +127 -34
- package/server/applet-typecheck.ts +8 -3
- package/server/applets/applet-css.ts +1 -1
- package/server/applets/build-applet.ts +9 -3
- package/server/applets/declarations/base.d.ts +75 -0
- package/server/applets/declarations/collab.d.ts +88 -0
- package/server/applets/declarations.ts +46 -0
- package/server/applets/index.ts +8 -8
- package/server/applets/runtime/collab.ts +94 -0
- package/server/applets/runtime/moi.ts +12 -19
- package/server/applets/runtime/rpc.ts +2 -4
- package/server/chat-selection.ts +22 -0
- package/server/cli.ts +86 -21
- package/server/collab/cloudflare-access.ts +78 -0
- package/server/collab/config.ts +18 -0
- package/server/collab/manager.ts +407 -0
- package/server/collab/service.ts +136 -0
- package/server/collab/skill/index.ts +53 -0
- package/server/collab/worker-messages.ts +10 -0
- package/server/collab/worker.ts +52 -0
- package/server/layout.ts +10 -3
- package/server/moi-scaffold.ts +55 -84
- package/server/preview.ts +1 -1
- package/server/skill-update.ts +7 -9
- package/server/skills-template.ts +14 -2
- package/server/web.ts +65 -17
- package/server/workspace-init.ts +6 -3
- package/ui-components/avatar.tsx +24 -11
- package/ui-components/button.tsx +9 -9
- package/ui-components/docs/avatar.md +11 -30
- package/workspace/.claude/skills/moi-workspace/SKILL.md +14 -11
- package/workspace/.claude/skills/moi-workspace/references/COLLAB.md +262 -0
- package/workspace/.claude/skills/moi-workspace/references/INTENTS.md +10 -7
- package/client/assets/mcp/agentation.png +0 -0
- package/dist/agentation-4s0nn45p.png +0 -0
- package/dist/chunk-2gs8jjx4.css +0 -1
- package/dist/chunk-7vvg5fyz.js +0 -68
- package/dist/chunk-94m3q9ce.js +0 -1
- package/dist/chunk-by2wqgak.js +0 -1
- package/dist/chunk-p34hvqt3.js +0 -1
- package/dist/chunk-p83f0jnj.js +0 -2
- package/dist/chunk-xg01f6pn.js +0 -10
- /package/client/features/dev/{UiComponentPreviews.tsx → ui-components/ui-component-previews.tsx} +0 -0
- /package/server/applets/{runtime/base.ts → api-base.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Lc as t,Mc as e}from"/chunk-tpn177bt.js";import{Zc as r}from"/chunk-97eg9mjn.js";if(typeof globalThis.structuredClone==="function")globalThis.structuredClone=globalThis.structuredClone.bind(globalThis);async function c(o){e();let[{mount:i},n,s]=await Promise.all([import("/chunk-e2q5ken7.js"),import("/chunk-2jncyq65.js").then((a)=>a.loadAppConfig()),import("/chunk-nez8sdta.js").then((a)=>a.loadProxyUser())]);t(n?.experimental.collab===!0,s),i(o)}globalThis.__init=c;
|