moi-computer 0.1.0 → 0.1.1
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/README.md +2 -2
- package/package.json +2 -1
- package/server/CLAUDE.md +1 -1
- package/server/cli.ts +1 -1
- package/server/constants.ts +1 -1
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ moi init [dir] --web # also start the server and open the browser
|
|
|
45
45
|
Start the web server:
|
|
46
46
|
|
|
47
47
|
```sh
|
|
48
|
-
moi start # http://localhost:
|
|
48
|
+
moi start # http://localhost:13337
|
|
49
49
|
moi start --port=4000 # custom port
|
|
50
50
|
```
|
|
51
51
|
|
|
@@ -63,7 +63,7 @@ moi openclaw init # install moi skills into an OpenClaw agent workspace
|
|
|
63
63
|
|
|
64
64
|
```sh
|
|
65
65
|
bun install
|
|
66
|
-
bun run dev # watch-and-restart dev server on port
|
|
66
|
+
bun run dev # watch-and-restart dev server on port 13337
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
`bun run dev` starts a supervisor that hot-reloads the frontend in place and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "moi-computer",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Local AI workspace powered by the Claude Agent SDK, Bun, React, and Tailwind. Requires Bun.",
|
|
5
5
|
"license": "Elastic-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@anthropic-ai/claude-agent-sdk": "^0.3.197",
|
|
59
|
+
"@anthropic-ai/sdk": "^0.109.1",
|
|
59
60
|
"@base-ui/react": "^1.2.0",
|
|
60
61
|
"@dnd-kit/core": "^6.3.1",
|
|
61
62
|
"@tabler/icons-react": "^3.44.0",
|
package/server/CLAUDE.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Bun server on port
|
|
1
|
+
Bun server on port 13337. Serves the client at `/`, upgrades `/ws` to WebSocket.
|
|
2
2
|
|
|
3
3
|
- `web.ts` owns the Bun fullstack surface only: the SPA HTML shell (dev bundler + HMR / prebuilt `dist/`), the two WebSocket channels (`/ws` chat, `/api/workspaces/ws` live events), and graceful shutdown. Every HTTP API request is delegated to the Hono app via `fetch`.
|
|
4
4
|
- `api.ts` is the Hono REST API (all `/api/*` routes). `withWorkspace` middleware resolves `:id` → workspace (404 if missing) and stashes it on the context, so handlers read `c.get('ws')`. Its catch-all serves the prebuilt client from `dist/` in prod via Hono's `serveStatic` (cached, traversal-safe).
|
package/server/cli.ts
CHANGED
package/server/constants.ts
CHANGED