@loicngr/kobo 1.11.23 → 1.11.24
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/CHANGELOG.md +4 -4
- package/README.md +40 -96
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,13 +4,13 @@ All notable changes to Kōbō are documented here. The format is based on
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/). Each release is an `## <version>`
|
|
5
5
|
section — the in-app "What's new" dialog reads this file.
|
|
6
6
|
|
|
7
|
-
## 1.11.
|
|
7
|
+
## 1.11.24
|
|
8
8
|
|
|
9
|
-
-
|
|
10
|
-
- feat: create workspaces from an existing PR/MR
|
|
9
|
+
- docs: redesign README as a landing page, document PR/MR import
|
|
11
10
|
|
|
12
|
-
## 1.11.
|
|
11
|
+
## 1.11.23
|
|
13
12
|
|
|
13
|
+
- fix(test): configure git identity on the pr-checkout temp repo
|
|
14
14
|
- feat: create workspaces from an existing PR/MR
|
|
15
15
|
|
|
16
16
|
## 1.11.21
|
package/README.md
CHANGED
|
@@ -1,43 +1,26 @@
|
|
|
1
1
|
# Kōbō
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**Run a fleet of Claude Code and Codex agents in parallel — each in its own git worktree, all from one dashboard.**
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@loicngr/kobo)
|
|
6
6
|
[](./LICENSE)
|
|
7
7
|
[](https://nodejs.org/)
|
|
8
8
|
|
|
9
|
-
Kōbō
|
|
10
|
-
|
|
11
|
-

|
|
9
|
+
Kōbō (工房, "workshop") turns *one agent, one terminal* into a real workflow. Spin up as many isolated workspaces as you need, watch every agent work live, review and merge their diffs from a Monaco-based Git panel, and let auto-loop or scheduled wakeups keep them going while you're away.
|
|
12
10
|
|
|
13
11
|
> [!NOTE]
|
|
14
12
|
> Active development on `develop`. Forward-only migrations and timestamped pre-migration backups keep upgrades safe.
|
|
15
13
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
- **Isolated worktrees**: each workspace is a dedicated git worktree on its own branch, so parallel sessions never collide.
|
|
19
|
-
- **Two agent engines**: Claude Code (via `@anthropic-ai/claude-agent-sdk`) and OpenAI Codex (via `codex app-server`). Switch between them in the same workspace without creating another worktree: Kōbō starts a fresh session for the target engine and provides an editable handoff with tasks, Git state, diff summary, and recent context.
|
|
20
|
-
- **Live chat**: streaming text, inline Edit/Write diffs, per-turn cards, a compaction-in-progress indicator, infinite scrollback, and a reasoning panel immediately above the message input while Claude or Codex is actively thinking. `/` autocompletes skills and commands, `@` fuzzy-autocompletes worktree file paths, and `Ctrl+F` searches readable messages in the current workspace: selecting a result loads its session and scrolls to it. `Ctrl+K` opens a command palette for common workspace actions. The global search page deep-links to the same location. Sessions retain their engine and can be renamed or permanently deleted with only their linked history. Messages queued while an agent is busy stay scoped to their workspace and session. **Send now** delivers a queued message to an active Claude Code stream or steers the active Codex turn; it remains queued until the engine confirms acceptance. Use `Enter` to send, `Ctrl+Enter` to force delivery while an agent is busy, and `Shift+Enter` or `Ctrl+J` for a new line.
|
|
21
|
-
- **Full MCP toolset (`kobo-tasks`)**: a per-workspace MCP server the agent uses for far more than tasks — task/acceptance-criteria CRUD, starting/stopping the dev server and reading its logs, a unified `get_ticket` (Notion or Sentry), searching past conversations across every workspace, per-session token/cost usage, and a `.ai/thoughts` decision log. Native Claude Code Task tools complement it for lightweight sub-agent coordination. See [`AGENTS.md`](./AGENTS.md) for the full tool list.
|
|
22
|
-
|
|
23
|
-

|
|
24
|
-
- **Git panel**: a Monaco-based diff viewer with **inline file editing** (edit the right-hand panel directly, save with `Ctrl/Cmd+S`, conflict-guarded via sha precondition) and syntax highlighting for PHP, Vue SFCs, JavaScript, TypeScript, and the existing web/config languages. It also provides inline conflict resolution and `Sync` / `Push` / `Commit` / `Open PR` / `Merge ready PR` / `Change PR base` / `Change source branch`. You can write the commit message yourself or ask the active engine to prepare the commit; PR/MR merging always requires a confirmation, then Kōbō can offer to delete the merged remote branch. Edit/Write cards in chat open their exact changed file in the diff viewer. Multi-forge: GitHub (`gh`), GitLab (`glab`), Bitbucket Community (`bkt`), or no forge, auto-detected from the remote and overridable per project.
|
|
14
|
+

|
|
25
15
|
|
|
26
|
-
|
|
27
|
-
- **Dev server panel**: start, stop, and tail logs for a workspace's dev server (Docker or npm) straight from the Tools panel — no need to leave the UI. When a project has no configured server, the panel and MCP tool report that explicitly instead of implying one is running.
|
|
28
|
-
- **Attention indicators**: workspace cards surface CI failures, review-requested changes, and a conflict-aware **ready-to-merge** badge, plus a one-click **Fix CI** button that spawns a fix workspace automatically. Seven PR/MR and CI transitions each have their own audio toggle, sound, and volume; simultaneous transitions play sequentially.
|
|
29
|
-
- **Interactive Q&A**: an agent can pause mid-session to ask a clarifying question through the UI; the workspace surfaces under "Needs Attention" until you answer. Choosing **Other** opens an inline free-form field, and option previews are available on hover. Codex native interactive questions require its `plan` permission mode.
|
|
16
|
+
## Why Kōbō
|
|
30
17
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
- **
|
|
36
|
-
|
|
37
|
-
- **Disk-space purge**: free a merged workspace's disk space without losing its chat history — see [below](#disk-space-purge).
|
|
38
|
-
- **Observability**: a compact session timeline in the right panel shows each session’s duration, tools, tokens, and errors; download a redacted workspace diagnostic JSON for troubleshooting.
|
|
39
|
-
- **Optional integrations**: independently enable or disable Notion (import missions) and Sentry (fix from issue URL) in Settings, with a **Test connection** action for each; local voice transcription uses whisper.cpp.
|
|
40
|
-
- **Installable PWA**: production builds work as a Progressive Web App. Install Kōbō from your browser on desktop or mobile for an app-like window; it signals offline state, WebSocket reconnection, and offers an explicit reload when an update is ready. Live agent activity still requires a connection to the local Kōbō server.
|
|
18
|
+
| | |
|
|
19
|
+
|---|---|
|
|
20
|
+
| **🗂️ Isolated worktrees, two engines** | Every workspace is its own git worktree and branch — parallel sessions never collide. Pick Claude Code or OpenAI Codex per workspace, and switch engines later without losing the worktree: Kōbō hands off tasks, git state, and recent context to a fresh session. |
|
|
21
|
+
| **💬 Live chat, real diff review** | Streaming responses, inline Edit/Write diffs, a reasoning panel, and a Monaco diff viewer with **inline file editing**, conflict resolution, and one-click `Sync` / `Push` / `Open PR` / `Merge`. |
|
|
22
|
+
| **🔁 Auto-loop, cron, wakeups** | Turn an agent loose on the task list: it works through tasks, retries on rate limits, and stops itself when there's nothing left, progress stalls, or it needs you. Cron schedules and one-shot wakeups keep workspaces moving on their own timeline. |
|
|
23
|
+
| **🔀 Create from a PR/MR, or from a ticket** | Pick an open pull/merge request from GitHub, GitLab, or Bitbucket and Kōbō resolves every local conflict for you before spinning up the workspace. Or start straight from a Notion page or a Sentry issue URL. |
|
|
41
24
|
|
|
42
25
|
## Quick start
|
|
43
26
|
|
|
@@ -47,29 +30,35 @@ Requires Node.js ≥ 24.15 and a logged-in Claude Code **or** Codex CLI.
|
|
|
47
30
|
npx @loicngr/kobo@latest
|
|
48
31
|
```
|
|
49
32
|
|
|
50
|
-
|
|
33
|
+
Open <http://localhost:3000>. Data is persisted under `~/.config/kobo/` (override via `KOBO_HOME`).
|
|
34
|
+
|
|
35
|
+
Default port is `3000`; if it's taken, `SERVER_PORT` (checked first) or `PORT` picks another:
|
|
51
36
|
|
|
52
37
|
```bash
|
|
53
38
|
SERVER_PORT=9997 PORT=9998 npx @loicngr/kobo@latest
|
|
54
39
|
```
|
|
55
40
|
|
|
56
|
-
|
|
41
|
+
Kōbō's production build is an installable PWA — use your browser's **Install app** action. Want to run from source or contribute instead? See [`CONTRIBUTING.md`](./CONTRIBUTING.md). Prefer Docker? Jump to [Docker deployment](#docker-deployment).
|
|
57
42
|
|
|
58
|
-
|
|
43
|
+

|
|
59
44
|
|
|
60
|
-
|
|
45
|
+
## Everything else Kōbō does
|
|
61
46
|
|
|
62
|
-
|
|
47
|
+
- **Command palette & search**: `/` autocompletes skills and commands, `@` fuzzy-completes worktree file paths, `Ctrl+F` searches readable messages, `Ctrl+K` opens a command palette. The global search page deep-links to the same spot.
|
|
48
|
+
- **Full MCP toolset (`kobo-tasks`)**: task/acceptance-criteria CRUD, dev server control, a unified `get_ticket` (Notion or Sentry), cross-workspace conversation search, per-session usage, and a `.ai/thoughts` decision log — see [`AGENTS.md`](./AGENTS.md) for the full tool list.
|
|
63
49
|
|
|
64
|
-
|
|
50
|
+

|
|
51
|
+
- **Multi-forge Git panel**: GitHub (`gh`), GitLab (`glab`), or Bitbucket Community (`bkt`), auto-detected from the remote — `Open PR`, `Merge ready PR`, `Change PR base`, `Change source branch`, all from the UI.
|
|
52
|
+
- **Dev server panel**: start, stop, and tail a workspace's dev server (Docker or npm) from the Tools panel.
|
|
53
|
+
- **Attention indicators**: CI failures, review-requested changes, and a conflict-aware **ready-to-merge** badge on every workspace card, plus a one-click **Fix CI** button.
|
|
54
|
+
- **Interactive Q&A**: an agent can pause mid-session to ask you a question through the UI instead of guessing.
|
|
65
55
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
no manual step.
|
|
56
|
+

|
|
57
|
+
- **Quota-aware**: 5-hour / 7-day Claude usage and Codex rate-limit buckets live in the footer; sessions auto-resume after a reset.
|
|
58
|
+
- **Disk-space purge**: reclaim a merged workspace's `node_modules`/`vendor` weight without losing its chat history — see [`CONFIGURATION.md`](./CONFIGURATION.md#auto-purge-worktree-on-pr-merged).
|
|
59
|
+
- **Lifecycle scripts**: shell scripts run automatically on setup, cleanup, and archive, with output streamed into the chat.
|
|
60
|
+
- **Observability**: a per-session timeline (duration, tools, tokens, errors) and a downloadable redacted diagnostic JSON.
|
|
61
|
+
- **Optional integrations**: Notion (import missions) and Sentry (fix from issue URL), each independently toggled with a **Test connection** action; local voice transcription via `whisper.cpp`.
|
|
73
62
|
|
|
74
63
|
## Configuration
|
|
75
64
|
|
|
@@ -77,77 +66,32 @@ The most common knobs:
|
|
|
77
66
|
|
|
78
67
|
| Env var | Default | Purpose |
|
|
79
68
|
|---|---|---|
|
|
80
|
-
| `PORT` | `3000` | HTTP / WebSocket server port (
|
|
81
|
-
| `SERVER_PORT` | none | Preferred override for the server port; takes precedence over `PORT` |
|
|
69
|
+
| `PORT` / `SERVER_PORT` | `3000` | HTTP / WebSocket server port (`SERVER_PORT` takes precedence) |
|
|
82
70
|
| `KOBO_HOME` | `~/.config/kobo` | Data directory (SQLite, settings, voice models) |
|
|
83
71
|
| `NOTION_API_TOKEN` | none | Notion integration token |
|
|
84
72
|
| `ANTHROPIC_API_KEY` | none | Claude Code engine credential (alternative to `claude /login`) |
|
|
85
73
|
| `OPENAI_API_KEY` | none | Codex engine credential (alternative to `codex login`) |
|
|
86
74
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
The full reference (every env var, every setting key, MCP server registration, Notion / Sentry / Voice setup) is in [`CONFIGURATION.md`](./CONFIGURATION.md).
|
|
90
|
-
|
|
91
|
-
## Agent runtimes
|
|
92
|
-
|
|
93
|
-
- **Claude Code.** Authenticate once with `claude /login`. Kōbō calls the embedded SDK directly, so no `claude` binary is required at runtime.
|
|
94
|
-
- **OpenAI Codex.** Run `codex login` or export `OPENAI_API_KEY`. Kōbō spawns a long-lived `codex app-server` subprocess per workspace and bridges its JSON-RPC stream to the same UI.
|
|
95
|
-
|
|
96
|
-
You pick the engine at workspace creation and can switch it later from the workspace header. A switch never attempts to resume a Claude conversation in Codex (or the reverse): it stops the active agent, starts a fresh target-engine session in the same worktree, and lets you review the handoff before launch. The new agent can retrieve further context from prior sessions through the read-only `kobo__read_workspace_events_csv` and `kobo__search_codebase` MCP tools. Both engines share the same task tracking, permission modes, sub-agent panel, and quota footer. The mapping of Kōbō's four permission modes (`plan` / `bypass` / `strict` / `interactive`) to each engine's native sandbox + approval semantics is in [`CONFIGURATION.md`](./CONFIGURATION.md#permission-modes).
|
|
97
|
-
|
|
98
|
-
## Disk-space purge
|
|
99
|
-
|
|
100
|
-
A merged workspace is automatically archived, but its worktree folder usually carries a lot of weight (`node_modules`, `vendor`, build artefacts…). Kōbō frees that space without losing anything queryable:
|
|
101
|
-
|
|
102
|
-
- **Manual**: workspace context menu → *Free disk space (delete worktree)*. The worktree is removed; the chat history and PR metadata stay in the database.
|
|
103
|
-
- **Automatic**: **Settings → Worktrees → Auto-purge worktree on PR merged**. When the pr-watcher sees the OPEN → MERGED transition, it archives **and** purges.
|
|
104
|
-
- **Restore**: recreate the folder yourself (`gh pr checkout <pr>` or `git worktree add <path> <branch>`). The pr-watcher detects the directory reappearing within 30 seconds and re-activates the workspace automatically. No UI action needed.
|
|
105
|
-
- **Permission errors**: if removal hits `EACCES`/`EPERM` (common with Docker containers writing as `root`), Kōbō first tries to auto-recover by `chown`-ing the worktree from a throwaway Docker container. If that isn't possible, it shows a toast with a copy-pasteable manual recovery command. Full troubleshooting (ACL setup, Docker `USER` directive, manual `chown`) is in [`CONFIGURATION.md`](./CONFIGURATION.md#permission-errors-during-purge).
|
|
106
|
-
|
|
107
|
-
## Optional integrations
|
|
75
|
+
Everything else — worktree paths, dev server commands, prompt templates, git conventions, lifecycle scripts, forge selection, permission modes — lives in **Settings**, with per-project values inheriting from global ones. The full reference (every env var, every setting key, MCP server registration, forge/Notion/Sentry/voice setup) is in [`CONFIGURATION.md`](./CONFIGURATION.md).
|
|
108
76
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
- **Notion**: import missions, tasks, and acceptance criteria from a Notion page. Enable it in **Settings → Notion** when you want its creation/import flow, then use **Test connection** to validate its MCP credentials.
|
|
112
|
-
- **Sentry**: paste an issue URL to spawn a fix workspace with the stacktrace, tags, and a TDD workflow. Enable it independently in **Settings → Sentry**; **Test connection** validates its MCP credentials and authenticated identity.
|
|
113
|
-
- **Voice transcription**: local push-to-talk via [`whisper.cpp`](https://github.com/ggml-org/whisper.cpp).
|
|
77
|
+
### Docker
|
|
114
78
|
|
|
115
|
-
See [`CONFIGURATION.md`](./CONFIGURATION.md) for
|
|
79
|
+
An official `Dockerfile` and three ready-to-use Compose files ship in this repository: a quick local test stack, a Traefik-fronted local rehearsal (no domain needed), and a full VPS reference (Traefik + Let's Encrypt, SSH access, optional Docker-socket passthrough). See [`CONFIGURATION.md`](./CONFIGURATION.md#docker-deployment) for every compose file, env var, and volume mount.
|
|
116
80
|
|
|
117
|
-
|
|
81
|
+
### Network access
|
|
118
82
|
|
|
119
|
-
|
|
120
|
-
another device on the same Wi-Fi or LAN:
|
|
83
|
+
Kōbō binds to `127.0.0.1` only by default. Enabling **Settings → Global → Network access** re-binds to the LAN behind a shared token (a QR code makes pairing a phone easy). Plain HTTP — keep it to trusted networks, or front it with HTTPS/a VPN for anything further. Details in [`CONFIGURATION.md`](./CONFIGURATION.md#network-access).
|
|
121
84
|
|
|
122
|
-
|
|
123
|
-
2. Restart Kōbō when prompted, since the server must re-bind to apply the change.
|
|
124
|
-
3. Scan the QR code shown in the Settings panel from your phone, or copy a LAN
|
|
125
|
-
URL and paste the token in the login dialog on the remote device.
|
|
85
|
+
## Agent runtimes
|
|
126
86
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
> put a terminating HTTPS proxy or a VPN (e.g. Tailscale) in front of Kōbō.
|
|
130
|
-
>
|
|
131
|
-
> **Production only.** This protection applies when running a built Kōbō
|
|
132
|
-
> (`npm start` / `npx @loicngr/kobo`). In development (`npm run dev:all`) the Vite
|
|
133
|
-
> dev server is always exposed on the LAN and bypasses the token. See
|
|
134
|
-
> [`CONFIGURATION.md`](./CONFIGURATION.md#production-vs-development-mode-important).
|
|
87
|
+
- **Claude Code**: authenticate once with `claude /login`. Kōbō calls the embedded SDK directly — no `claude` binary needed at runtime.
|
|
88
|
+
- **OpenAI Codex**: run `codex login` or export `OPENAI_API_KEY`. Kōbō spawns a long-lived `codex app-server` subprocess per workspace.
|
|
135
89
|
|
|
136
|
-
|
|
137
|
-
QR code details, and all security caveats.
|
|
90
|
+
Both engines share task tracking, permission modes, the sub-agent panel, and the quota footer. The mapping of Kōbō's four permission modes (`plan` / `bypass` / `strict` / `interactive`) to each engine's native sandbox semantics is in [`CONFIGURATION.md`](./CONFIGURATION.md#permission-modes).
|
|
138
91
|
|
|
139
92
|
## Skill suites
|
|
140
93
|
|
|
141
|
-
Kōbō's auto-generated prompts (review, auto-loop grooming, QA, brainstorming) can target
|
|
142
|
-
|
|
143
|
-
- **[superpowers](https://github.com/obra/superpowers)** (default): a plugin for Claude Code with the brainstorm → spec → plan → execute discipline, TDD, debugging, code review.
|
|
144
|
-
- **[gstack](https://github.com/garrytan/gstack)**: CLI slash commands for navigation, QA, design review, ship pipeline, second-opinion via Codex.
|
|
145
|
-
- **superpowers + gstack**: both, with each used for what it does best.
|
|
146
|
-
- **custom**: write your own prompts.
|
|
147
|
-
|
|
148
|
-
Optionally pair with **[gbrain](https://github.com/garrytan/gbrain)**, a per-project knowledge graph + semantic search exposed as an MCP server. It is inherited automatically from your `~/.claude.json` config.
|
|
149
|
-
|
|
150
|
-
Full install instructions and the prompt-suite differences are in [`CONFIGURATION.md`](./CONFIGURATION.md#skill-suites).
|
|
94
|
+
Kōbō's auto-generated prompts (review, auto-loop grooming, QA, brainstorming) can target **[superpowers](https://github.com/obra/superpowers)** (brainstorm → spec → plan → execute, TDD, debugging), **[gstack](https://github.com/garrytan/gstack)** (slash-command workflows for QA, design review, ship pipelines), both together, or your own custom prompts — selectable in **Settings → Skills**. Pairs optionally with **[gbrain](https://github.com/garrytan/gbrain)** for per-project semantic search. Full setup in [`CONFIGURATION.md`](./CONFIGURATION.md#skill-suites).
|
|
151
95
|
|
|
152
96
|
## Architecture
|
|
153
97
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loicngr/kobo",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.24",
|
|
4
4
|
"description": "Kōbō — multi-workspace agent manager for Claude Code. Orchestrates isolated git worktrees with dev servers, Notion integration, and MCP tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "GPL-3.0-or-later",
|