mulmoclaude 1.15.0 → 1.16.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 (44) hide show
  1. package/README.md +2 -1
  2. package/client/assets/{index-DUHaYcEU.js → index-ABKtPLx2.js} +998 -658
  3. package/client/assets/index-DJM69xfO.css +2 -0
  4. package/client/assets/{marp-BP3rlEH8.js → marp-BykPEkZQ.js} +1 -1
  5. package/client/index.html +2 -2
  6. package/package.json +10 -10
  7. package/server/agent/config.ts +34 -15
  8. package/server/agent/mcp-server.ts +3 -1
  9. package/server/agent/mcp-tools/exportShapeScriptUsdz.ts +111 -0
  10. package/server/agent/mcp-tools/index.ts +19 -1
  11. package/server/agent/mcp-tools/renderShapeScript.ts +73 -0
  12. package/server/agent/mcpHealth.ts +5 -2
  13. package/server/agent/stdioHttpShim.ts +60 -7
  14. package/server/api/routes/agent.ts +6 -3
  15. package/server/api/routes/mulmo-script.ts +141 -32
  16. package/server/api/routes/mulmoScriptBeatOp.ts +19 -2
  17. package/server/api/routes/mulmoScriptWriteRoot.ts +102 -0
  18. package/server/api/routes/plugins.ts +21 -6
  19. package/server/api/routes/sessions.ts +30 -20
  20. package/server/build/mcp-server.mjs +872 -4721
  21. package/server/events/session-store/index.ts +13 -1
  22. package/server/index.ts +8 -1
  23. package/server/plugins/mulmoscript-server.ts +139 -3
  24. package/server/plugins/shapescript-builtin.ts +39 -0
  25. package/server/system/config.ts +16 -0
  26. package/server/utils/files/shortcuts-io.ts +21 -11
  27. package/server/workspace/serverPort.ts +26 -0
  28. package/src/composables/shortcutRefresh.ts +19 -8
  29. package/src/config/apiRoutes.ts +0 -1
  30. package/src/config/roles.ts +3 -1
  31. package/src/config/toolNames.ts +9 -2
  32. package/src/main.ts +1 -0
  33. package/src/plugins/_extras.ts +2 -6
  34. package/src/plugins/_generated/metas.ts +2 -0
  35. package/src/plugins/_generated/registrations.ts +2 -0
  36. package/src/plugins/_generated/server-bindings.ts +3 -0
  37. package/src/plugins/index.ts +1 -1
  38. package/src/plugins/presentMulmoScript/index.ts +7 -3
  39. package/src/plugins/presentShapeScript/definition.ts +16 -0
  40. package/src/plugins/presentShapeScript/index.ts +28 -0
  41. package/src/plugins/presentShapeScript/meta.ts +17 -0
  42. package/src/plugins/server.ts +1 -1
  43. package/src/types/shortcuts.ts +38 -0
  44. package/client/assets/index-DsEacm85.css +0 -2
package/README.md CHANGED
@@ -32,6 +32,7 @@ Your browser opens to `http://localhost:3001`. That's it.
32
32
  | "Add this to my calendar" | Event in your Google Calendar (sign in, no setup) |
33
33
  | "Put that on my task list" | Task in Google Tasks, with notes and a due date |
34
34
  | "Subscribe to this RSS feed" | Data feed on `/feeds`, fetched on a schedule |
35
+ | "Model a chess piece in 3D" | Interactive ShapeScript scene, exportable to USDZ |
35
36
 
36
37
  **Pages you can visit directly**: `/wiki` (browse + lint), `/feeds` (data feeds), `/collections` (data apps — Discover tab to import community collections, Contribute to share your own), `/automations` (recurring tasks), `/files` (drop files onto a folder row to save them straight into it), `/skills`, `/roles`. Each page has its own chat composer that spawns a fresh chat already aware of the page context.
37
38
 
@@ -121,7 +122,7 @@ Full bridge list and platform-specific setup: <https://github.com/receptron/mulm
121
122
 
122
123
  ### Auth token persistence across server restarts
123
124
 
124
- The server regenerates a fresh bearer token on every startup and writes it to `~/mulmoclaude/.session-token`. A bridge that started before the restart keeps the OLD token in memory, so every subsequent API call returns 401 silently.
125
+ The server regenerates a fresh bearer token on every startup and writes it to `<workspace>/.session-token` (`$MULMOCLAUDE_WORKSPACE_PATH`, or `~/mulmoclaude` when unset). A bridge that started before the restart keeps the OLD token in memory, so every subsequent API call returns 401 silently.
125
126
 
126
127
  Fix: set `MULMOCLAUDE_AUTH_TOKEN` to the same long random value on both the server and the bridge. The server uses it verbatim instead of regenerating, so the token survives restarts.
127
128