moi-computer 0.4.0 → 0.5.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.
Files changed (123) hide show
  1. package/README.md +41 -5
  2. package/bin/moi.mjs +11 -0
  3. package/client/api/workspace-keys.ts +1 -0
  4. package/client/app/AppRouter.tsx +5 -1
  5. package/client/app/routes/WorkspaceRoute.tsx +9 -5
  6. package/client/app/shell/SidebarLayout.tsx +9 -7
  7. package/client/components/shared/BottomPanel.tsx +24 -5
  8. package/client/components/shared/Composer.tsx +1 -1
  9. package/client/components/shared/PanelHeader.tsx +1 -1
  10. package/client/components/ui/button.tsx +5 -5
  11. package/client/components/ui/dropdown-menu.tsx +6 -6
  12. package/client/components/ui/hover-card.tsx +1 -1
  13. package/client/components/ui/input.tsx +1 -1
  14. package/client/components/ui/popover.tsx +1 -1
  15. package/client/components/ui/skeleton.tsx +1 -1
  16. package/client/components/ui/textarea.tsx +1 -1
  17. package/client/components/ui/tooltip.tsx +1 -1
  18. package/client/features/applets/applet-cache.ts +20 -1
  19. package/client/features/applets/applet-log.ts +10 -30
  20. package/client/features/applets/applet-runtime.ts +272 -0
  21. package/client/features/applets/useApplet.ts +36 -10
  22. package/client/features/chat/ChatComposer.tsx +1 -1
  23. package/client/features/chat/ChatEmptyState.tsx +186 -0
  24. package/client/features/chat/ChatPanel.tsx +95 -54
  25. package/client/features/chat/ChatPopup.tsx +3 -13
  26. package/client/features/chat/ChatPromptBubbles.tsx +74 -0
  27. package/client/features/chat/MarkdownContent.tsx +15 -3
  28. package/client/features/chat/ModelPicker.tsx +1 -1
  29. package/client/features/chat/TurnView.tsx +6 -17
  30. package/client/features/chat/chat-send.ts +26 -1
  31. package/client/features/chat/tool-group/CodeBlock.tsx +1 -1
  32. package/client/features/chat/tool-group/ReadImagePreview.tsx +1 -1
  33. package/client/features/chat/tool-group/SubagentCard.tsx +1 -1
  34. package/client/features/chat/tool-group/TimelineRow.tsx +4 -4
  35. package/client/features/chat/tool-group/ToolCallGroup.tsx +12 -5
  36. package/client/features/chat/tool-group/ToolOutput.tsx +2 -2
  37. package/client/features/chat/tool-group/format.ts +3 -3
  38. package/client/features/chat/useAppletChatMessage.ts +69 -0
  39. package/client/features/chat/useChat.ts +49 -14
  40. package/client/features/chat/useStickToBottom.ts +11 -1
  41. package/client/features/connectors/McpServerCards.tsx +3 -3
  42. package/client/features/dev/HarnessDebugPage.tsx +4 -4
  43. package/client/features/dev/PixelPainter.tsx +1 -1
  44. package/client/features/dev/PlaygroundPage.tsx +1 -1
  45. package/client/features/dev/ToolCallsPage.tsx +2 -2
  46. package/client/features/home/HomePage.tsx +17 -14
  47. package/client/features/home/WorkspacePreview.tsx +12 -13
  48. package/client/features/home/api.ts +8 -5
  49. package/client/features/home/workspace-presentation.tsx +1 -1
  50. package/client/features/home/workspace-setup/CreateWorkspaceDialog.tsx +1 -1
  51. package/client/features/home/workspace-setup/WorkspaceAgentStep.tsx +21 -8
  52. package/client/features/scratchpad/Scratchpad.tsx +41 -2
  53. package/client/features/scratchpad/ScratchpadControls.tsx +13 -13
  54. package/client/features/scratchpad/useScratchpadSnapshot.tsx +1 -1
  55. package/client/features/settings/EnvironmentSettings.tsx +1 -1
  56. package/client/features/settings/IconPicker.tsx +11 -11
  57. package/client/features/settings/SettingsLayout.tsx +1 -1
  58. package/client/features/settings/WorkspaceSettings.tsx +2 -2
  59. package/client/features/settings/api.ts +33 -1
  60. package/client/features/widgets/HiddenPanel.tsx +4 -3
  61. package/client/features/widgets/Widgets.tsx +1 -0
  62. package/client/features/workspace/CustomizePanel.tsx +96 -82
  63. package/client/features/workspace/WorkspaceScreen.tsx +129 -107
  64. package/client/features/workspace/WorkspaceSkillUpdateBanner.tsx +91 -0
  65. package/client/features/workspace/WorkspaceTabs.tsx +1 -1
  66. package/client/features/workspace/api.ts +52 -0
  67. package/client/features/workspace/moi-context.ts +63 -17
  68. package/client/features/workspace/tab-resolution.ts +75 -0
  69. package/client/features/workspace/useWorkspaceNavigation.ts +128 -0
  70. package/client/features/workspace/useWorkspaceSkillUpdates.ts +160 -0
  71. package/client/index.css +10 -15
  72. package/client/lib/app-icon-registry.ts +77 -70
  73. package/client/lib/rate-limit.ts +77 -0
  74. package/client/runtime/useWorkspaceEvents.ts +15 -2
  75. package/client/runtime/workspace-theme.ts +115 -0
  76. package/client/store/ui.ts +42 -17
  77. package/client/theme.css +20 -15
  78. package/dist/{chunk-fh2mf6v9.js → chunk-3m1xe1j3.js} +94 -94
  79. package/dist/chunk-5vaevt8z.js +2 -0
  80. package/dist/{chunk-69nhbjhy.js → chunk-7bzpmtxp.js} +4 -4
  81. package/dist/chunk-h0hk61pm.js +9 -0
  82. package/dist/{chunk-35fq49qa.js → chunk-h3evrtyp.js} +1 -1
  83. package/dist/chunk-k5sjx9s5.js +1 -0
  84. package/dist/{chunk-2vaafjp4.js → chunk-m9qja0nx.js} +1 -1
  85. package/dist/chunk-s7za1qsv.css +1 -0
  86. package/dist/{chunk-72atbmh3.js → chunk-tcfa3vt3.js} +1 -1
  87. package/dist/chunk-v797g6ap.js +51 -0
  88. package/dist/chunk-xyrw8318.js +27 -0
  89. package/dist/index.html +1 -1
  90. package/lib/app-icons.ts +73 -0
  91. package/lib/moi-context.ts +104 -3
  92. package/lib/themes.ts +83 -45
  93. package/lib/types.ts +44 -9
  94. package/lib/workspace-tabs.ts +48 -0
  95. package/package.json +4 -1
  96. package/server/api.ts +57 -5
  97. package/server/app-settings.ts +65 -0
  98. package/server/applets.ts +132 -22
  99. package/server/bundler/build-applet.ts +74 -16
  100. package/server/cli.ts +144 -17
  101. package/server/control.ts +53 -7
  102. package/server/data-dir.ts +1 -1
  103. package/server/events.ts +1 -1
  104. package/server/functions-worker.ts +15 -1
  105. package/server/functions.ts +51 -6
  106. package/server/layout.ts +9 -14
  107. package/server/moi-scaffold.ts +37 -3
  108. package/server/registry.ts +1 -1
  109. package/server/skill-update.ts +47 -0
  110. package/server/skill-version.ts +2 -11
  111. package/server/tabs.ts +59 -0
  112. package/server/theme.ts +8 -14
  113. package/server/view-builders.ts +6 -2
  114. package/workspace/.claude/skills/moi-workspace/DESIGN.md +265 -107
  115. package/workspace/.claude/skills/moi-workspace/SKILL.md +85 -11
  116. package/client/features/workspace/useWorkspaceTheme.ts +0 -82
  117. package/dist/chunk-19g80zc9.css +0 -1
  118. package/dist/chunk-7mkv2gr0.js +0 -2
  119. package/dist/chunk-gt7n06ef.js +0 -1
  120. package/dist/chunk-jwmc32rp.js +0 -63
  121. package/dist/chunk-kh24bstm.js +0 -10
  122. package/dist/chunk-sfa4mbmx.js +0 -15
  123. package/workspace/.claude/skills/moi-workspace/VIEW-DESIGN.md +0 -22

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.