coxpit 4.3.1 → 4.6.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/README.md +13 -1
- package/package.json +1 -1
- package/src/board.ts +672 -12
- package/src/db/index.ts +1 -0
- package/src/db/schema.ts +1 -0
- package/src/orchestrator.ts +136 -7
- package/src/providers.ts +14 -5
- package/src/remote.ts +148 -0
- package/src/server.ts +215 -7
package/README.md
CHANGED
|
@@ -22,8 +22,10 @@ Your machines. Your auth. Your code never leaves your network.
|
|
|
22
22
|
- **Design Mode** — drag the `⌖ coxpit inspect` bookmarklet to your bar, click it on your running app, click any element: its selector, HTML and computed styles are captured and injected into the agents' prompt as design context.
|
|
23
23
|
- **Self-orchestrating agents** — every local run can spawn its own sub-agents by writing `.coxpit/spawn.json` in its worktree (works under default permissions — no network, no escalation). The daemon launches each subtask as an isolated sub-run and maintains `.coxpit/subtasks.json` with live status. Orchestration moves inside the agent's own reasoning loop.
|
|
24
24
|
- **Start from GitHub** — paste an issue/PR URL and the task form drafts itself from its title and body (gh CLI for private repos, public API otherwise). You review, pick a provider, Run fleet.
|
|
25
|
+
- **Start a new project** — point coxpit at an empty (or missing) folder and it runs `git init` + an empty initial commit as the base, then a fleet of agents scaffolds the project in parallel — compare the foundations, merge the one you like onto an empty `main`. Populated folders are never touched.
|
|
25
26
|
- **Share a run** — one click mints a read-only snapshot link (timeline + diff, and the rendered docs, no auth, no actions). Show your fleet's work without opening your cockpit.
|
|
26
27
|
- **The library** — a run's changed documents (Markdown/HTML) are snapshotted when it settles, so the Rendered view survives merge and Close task. Pick a model per launch (any name your CLI accepts), and a close guard warns before it deletes unmerged, unexported output.
|
|
28
|
+
- **Remote access** — one-click Tailscale Serve puts the board on a private `https://<machine>.<tailnet>.ts.net` name (tailnet-only, HTTPS, no port); Funnel (public) is a guarded toggle that refuses to run without a password. No Tailscale? Copy-paste a Cloudflare Tunnel or Caddy reverse-proxy recipe with your port pre-filled. coxpit detects and drives your own tool — it never hosts a relay or bundles tailscale/cloudflared.
|
|
27
29
|
|
|
28
30
|
External tools are spawned, never vendored: `git`, `tmux`, your agent CLI. No editor bundled — terminal-first.
|
|
29
31
|
|
|
@@ -64,6 +66,8 @@ Coxpit has no accounts of its own — it drives the agent CLI already on your ma
|
|
|
64
66
|
|
|
65
67
|
Your keys and login never touch coxpit's config or database.
|
|
66
68
|
|
|
69
|
+
> **New here?** The **[full guide](docs/GUIDE.md)** ([한국어](docs/GUIDE.ko.md)) walks through starting a new project, your first fleet, comparing and merging, doc mode, the terminal, remote access, and every feature — task by task, with GIFs.
|
|
70
|
+
|
|
67
71
|
## Configuration
|
|
68
72
|
|
|
69
73
|
| env | default | what |
|
|
@@ -110,7 +114,15 @@ One daemon, one SQLite file, zero external services. Machines are reached over S
|
|
|
110
114
|
|
|
111
115
|
## Status
|
|
112
116
|
|
|
113
|
-
`v4.
|
|
117
|
+
`v4.5` — **greenfield + remote access**. Point Coxpit at an empty folder and a fleet scaffolds a brand-new project across N agents on an empty initial commit — compare the foundations, keep the best (existing folders are never touched). Remote access detects your Tailscale and puts the board on `https://<machine>.<tailnet>.ts.net` in one click (Funnel for public, behind a warning; copy-paste Cloudflare/Caddy recipes otherwise) — Coxpit drives the tool, never hosts a relay. Builds on v4.3's Active-first board + Archive. All shipped and e2e-tested (45 checks). Roadmap: ROADMAP.md.
|
|
118
|
+
|
|
119
|
+
## Contributing
|
|
120
|
+
|
|
121
|
+
Issues and PRs are welcome. Start with **[CONTRIBUTING.md](CONTRIBUTING.md)** for
|
|
122
|
+
dev setup (`COXPIT_AUTH_DISABLED=1 npm run dev`), the verify gate (`npm run
|
|
123
|
+
typecheck` + `bash test/e2e.sh`), and the house rules. Please read the
|
|
124
|
+
[non-goals](ROADMAP.md#non-goals) before proposing a feature, and report security
|
|
125
|
+
issues privately per **[SECURITY.md](SECURITY.md)** (Coxpit exposes shells).
|
|
114
126
|
|
|
115
127
|
## License
|
|
116
128
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coxpit",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"description": "Self-hosted cockpit for running a fleet of AI coding agents across your own machines — parallel worktree runs, live board, compare & merge, web terminal, design capture.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|