codecaine-cli 0.1.0 → 0.1.3
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 +14 -2
- package/dist/cli.mjs +3212 -185
- package/dist/resources/bb-plugin/package.json +22 -0
- package/dist/resources/bb-plugin/src/server.ts +1084 -0
- package/dist/resources/bb-plugin/src/snapshot.ts +74 -0
- package/dist/resources/bb-plugin/src/tools.ts +926 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# codecaine-cli
|
|
2
2
|
|
|
3
|
-
Connects the [Codecaine](https://
|
|
3
|
+
Connects the [Codecaine](https://web.codecainehq.com) web editor to your
|
|
4
4
|
machine.
|
|
5
5
|
|
|
6
6
|
```bash
|
|
@@ -14,6 +14,17 @@ proxy, with no changes to the app. Everything stays on your machine. The
|
|
|
14
14
|
companion listens on `127.0.0.1` only, and only the editor's own origin can
|
|
15
15
|
connect to it.
|
|
16
16
|
|
|
17
|
+
## Setting everything up
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npx codecaine-cli setup
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Starts the companion in the background, downloads and starts its assistant
|
|
24
|
+
(bb, its own copy, separate from the Codecaine desktop app's), adds the MCP
|
|
25
|
+
server to Claude Code when it is installed (`--no-mcp` skips that), and opens
|
|
26
|
+
the editor. Safe to run again.
|
|
27
|
+
|
|
17
28
|
## Your coding agent
|
|
18
29
|
|
|
19
30
|
```bash
|
|
@@ -32,9 +43,10 @@ companion prints.
|
|
|
32
43
|
|
|
33
44
|
| | |
|
|
34
45
|
| --- | --- |
|
|
35
|
-
| `--editor <url>` | The editor's address (default `https://
|
|
46
|
+
| `--editor <url>` | The editor's address (default `https://web.codecainehq.com`) |
|
|
36
47
|
| `--origin <a,b>` | More origins allowed to connect |
|
|
37
48
|
| `--port <n>` | Default 4317 |
|
|
38
49
|
| `--no-open` | Don't open the browser |
|
|
50
|
+
| `--no-assistant` | Run without the assistant (bb); board requests go to MCP agents |
|
|
39
51
|
|
|
40
52
|
State lives in `~/.codecaine/web` (`CODECAINE_HOME` to move it).
|