codeden 0.6.2 → 0.7.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 +12 -5
  2. package/dist/cli.js +1 -1
  3. package/dist/drizzle/20261112140714_turn_fork_point/migration.sql +1 -0
  4. package/dist/drizzle/20261112140714_turn_fork_point/snapshot.json +3524 -0
  5. package/dist/drizzle/20261113075317_transcript_search/migration.sql +29 -0
  6. package/dist/drizzle/20261113075317_transcript_search/snapshot.json +3635 -0
  7. package/dist/drizzle/20261113083655_runners/migration.sql +17 -0
  8. package/dist/drizzle/20261113083655_runners/snapshot.json +3792 -0
  9. package/dist/drizzle/20261113165404_search_newest_first/migration.sql +43 -0
  10. package/dist/drizzle/20261113165404_search_newest_first/snapshot.json +3785 -0
  11. package/dist/{main-hdQfX9V6.js → main-BITVD_Bx.js} +7311 -3019
  12. package/dist/main-BITVD_Bx.js.map +1 -0
  13. package/dist/{main-DZBmzxSH.js → main-NN0iK2tB.js} +2 -2
  14. package/dist/{main-DZBmzxSH.js.map → main-NN0iK2tB.js.map} +1 -1
  15. package/dist/{mediaType-nJs-4z5U.js → mediaType-N0hKQqG9.js} +2 -2
  16. package/dist/{mediaType-nJs-4z5U.js.map → mediaType-N0hKQqG9.js.map} +1 -1
  17. package/dist/{runner-DYf8dV43.js → runner-CQYh087M.js} +1948 -385
  18. package/dist/runner-CQYh087M.js.map +1 -0
  19. package/dist/runner.js +1 -1
  20. package/dist/{server-test-COAiKxTV.js → server-test-BwyCFssm.js} +3 -3
  21. package/dist/{server-test-COAiKxTV.js.map → server-test-BwyCFssm.js.map} +1 -1
  22. package/dist/{tree-CF7Q8tXK.js → tree-Bjv-rXir.js} +638 -41
  23. package/dist/tree-Bjv-rXir.js.map +1 -0
  24. package/dist/web/assets/{core-Rhf-hNq6.js → core-EsMgAasL.js} +1 -1
  25. package/dist/web/assets/engine-oniguruma-C2eJcn5h.js +1 -0
  26. package/dist/web/assets/{highlighted-body-JLMTFACH-DcKwRTm5.js → highlighted-body-JLMTFACH-Co1oXN1b.js} +1 -1
  27. package/dist/web/assets/{highlights-DCtMC0YR.js → highlights-DUjJZrPQ.js} +1 -1
  28. package/dist/web/assets/index-29XyPQXD.css +1 -0
  29. package/dist/web/assets/index-DK4GsIYY.js +943 -0
  30. package/dist/web/assets/langs-BduZAjBk.js +1 -0
  31. package/dist/web/assets/mermaid-WFAXDIZX-D00b7K53.js +1 -0
  32. package/dist/web/assets/{shiki-B3-ws3OK.js → shiki-DP8JfDZC.js} +2 -2
  33. package/dist/web/assets/{stream-tokenizer-hKFrMxml.js → stream-tokenizer-IR1cpBIQ.js} +1 -1
  34. package/dist/web/assets/{themes-Cvhh4Ovr.js → themes-D2aixyve.js} +2 -2
  35. package/dist/web/index.html +2 -2
  36. package/package.json +1 -1
  37. package/dist/main-hdQfX9V6.js.map +0 -1
  38. package/dist/runner-DYf8dV43.js.map +0 -1
  39. package/dist/tree-CF7Q8tXK.js.map +0 -1
  40. package/dist/web/assets/engine-oniguruma-BbpT993F.js +0 -1
  41. package/dist/web/assets/index-BLggvVMT.js +0 -942
  42. package/dist/web/assets/index-JjF9o00P.css +0 -1
  43. package/dist/web/assets/langs-B2ZGl3f_.js +0 -1
  44. package/dist/web/assets/mermaid-WFAXDIZX-C2_MUy_a.js +0 -1
package/README.md CHANGED
@@ -106,18 +106,25 @@ Each project climbs a ladder: **Manual** → **Assisted** (the default) → **So
106
106
  Everything an agent touches, next to the chat:
107
107
 
108
108
  - **Diffs and checkpoints.** Every turn is snapshotted into a hidden git ref, so you get exact per-turn and whole-session diffs and can restore files to any earlier turn. Commit and push from the git bar.
109
+ - **Diff comments.** Comment on the agent's changes line by line, then send them all back as one message. [Comment on lines](https://github.com/leonvanzyl/codeden/blob/main/docs/workbench.md#comment-on-lines).
110
+ - **Fork a session**, or fork from an earlier turn, to try another approach with the same conversation and code while the original carries on. [Fork a session](https://github.com/leonvanzyl/codeden/blob/main/docs/workbench.md#fork-a-session).
111
+ - **Plan mode** (Claude Code). The agent explores and proposes a plan, and only starts changing code once you approve it. [Plan mode](https://github.com/leonvanzyl/codeden/blob/main/docs/security.md#plan-mode).
109
112
  - **Files.** A file tree and a syntax-highlighted viewer for the session's worktree.
110
113
  - **Terminal.** Real PTY terminals owned by the runner, so they survive server restarts.
111
- - **Browser.** A Chromium the agents drive (navigate, snapshot, click, type, screenshot, console and network logs), streamed edge to edge into the panel at the panel's own size. Click, type and scroll in it at any time.
114
+ - **Browser.** A Chromium the agents drive (navigate, snapshot, click, type, screenshot, console and network logs, plus click, hover, drag and scroll at screenshot coordinates for canvases, maps and other things without an element to pick), streamed edge to edge into the panel at the panel's own size. Click, type and scroll in it at any time.
112
115
  - **Subagents** open as child threads, and the composer queues or steers while a turn runs.
113
116
 
114
117
  ![The browser panel filling the right side, with the page laid out at the panel's size](https://raw.githubusercontent.com/leonvanzyl/codeden/main/docs/images/browser-panel.png)
115
118
 
116
119
  [Workbench guide](https://github.com/leonvanzyl/codeden/blob/main/docs/workbench.md).
117
120
 
118
- ### Agent memory, skills, subagents and MCP servers
121
+ ### Agent memory, skills, subagents, MCP servers and hooks
119
122
 
120
- First-class editors for each provider's **own files**: `CLAUDE.md`, `AGENTS.md`, `.claude/rules/`, Claude's auto-memory, skills, subagents, `.mcp.json`, `~/.claude.json` and `~/.codex/config.toml`. Edits are written in place with a diff preview and a backup, so they show up in the terminal CLI too, and a **What's loaded** view shows which files a session actually has in context. [Agent configuration](https://github.com/leonvanzyl/codeden/blob/main/docs/agent-config.md).
123
+ First-class editors for each provider's **own files**: `CLAUDE.md`, `AGENTS.md`, `.claude/rules/`, Claude's auto-memory, skills, subagents, `.mcp.json`, `~/.claude.json`, `~/.codex/config.toml` and Claude's settings files. Edits are written in place with a diff preview and a backup, so they show up in the terminal CLI too, and a **What's loaded** view shows which files a session actually has in context. [Agent configuration](https://github.com/leonvanzyl/codeden/blob/main/docs/agent-config.md).
124
+
125
+ - **Skill switches.** Turn a skill off or back on without deleting it, through Claude Code's and Codex's own settings. [Switch skills on and off](https://github.com/leonvanzyl/codeden/blob/main/docs/agent-config.md#switch-skills-on-and-off).
126
+ - **MCP connection tests.** Check that an MCP server starts, connects and lists its tools before an agent needs it. [Test a server](https://github.com/leonvanzyl/codeden/blob/main/docs/agent-config.md#test-a-server).
127
+ - **Hooks.** Add, edit, disable and delete Claude Code's hooks, the commands it runs before or after tool calls and on other events. [Hooks](https://github.com/leonvanzyl/codeden/blob/main/docs/agent-config.md#hooks).
121
128
 
122
129
  ### Image generation for every agent
123
130
 
@@ -297,8 +304,8 @@ It's experimental. Read [The software factory and the dark factory](https://gith
297
304
  | [GitHub](https://github.com/leonvanzyl/codeden/blob/main/docs/github.md) | Issues, PRs, checks, reviews and the evidence branch |
298
305
  | [Automations](https://github.com/leonvanzyl/codeden/blob/main/docs/automations.md) | Triggers, guards, templates and writing your own |
299
306
  | [The software factory and the dark factory](https://github.com/leonvanzyl/codeden/blob/main/docs/software-factory.md) | Modes, pipelines, trusted authors, the scout, the vision file, merge checks, limits and the kill switch |
300
- | [Workbench](https://github.com/leonvanzyl/codeden/blob/main/docs/workbench.md) | Diffs, checkpoints, files, terminal, browser, composer, shortcuts |
301
- | [Agent configuration](https://github.com/leonvanzyl/codeden/blob/main/docs/agent-config.md) | Memory, skills, subagents and MCP servers |
307
+ | [Workbench](https://github.com/leonvanzyl/codeden/blob/main/docs/workbench.md) | Diffs, diff comments, checkpoints, forks, files, terminal, browser, composer, shortcuts |
308
+ | [Agent configuration](https://github.com/leonvanzyl/codeden/blob/main/docs/agent-config.md) | Memory, skills and skill switches, subagents, MCP servers and hooks |
302
309
  | [Voice and images](https://github.com/leonvanzyl/codeden/blob/main/docs/voice-and-images.md) | Dictation, read-aloud and image generation |
303
310
  | [Usage and costs](https://github.com/leonvanzyl/codeden/blob/main/docs/usage-and-costs.md) | The ledger, reports, budgets and rate limits |
304
311
  | [Phones, tablets and network access](https://github.com/leonvanzyl/codeden/blob/main/docs/remote-access.md) | Opening CodeDen from your phone, the QR code, Add to Home Screen and VPNs |
package/dist/cli.js CHANGED
@@ -242,7 +242,7 @@ async function run() {
242
242
  console.log(selfVersion);
243
243
  process.exit(0);
244
244
  }
245
- await import("./main-hdQfX9V6.js");
245
+ await import("./main-BITVD_Bx.js");
246
246
  }
247
247
  /** Settles once this copy's CLI has loaded (an older launcher that switched here awaits it). */
248
248
  const started = run();
@@ -0,0 +1 @@
1
+ ALTER TABLE `turns` ADD `fork_point` text;