codeden 0.4.4 → 0.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.
Files changed (31) hide show
  1. package/README.md +9 -9
  2. package/dist/cli.js +1 -1
  3. package/dist/drizzle/20261110154932_notice_not_before/migration.sql +1 -0
  4. package/dist/drizzle/20261110154932_notice_not_before/snapshot.json +3484 -0
  5. package/dist/{main-CKLHi4sz.js → main-DC-Gug_o.js} +5095 -1611
  6. package/dist/main-DC-Gug_o.js.map +1 -0
  7. package/dist/{main-D335_24e.js → main-WrV5I8Jo.js} +2 -2
  8. package/dist/{main-D335_24e.js.map → main-WrV5I8Jo.js.map} +1 -1
  9. package/dist/{runner-DjavcMnG.js → runner-CYnMuxur.js} +3719 -616
  10. package/dist/runner-CYnMuxur.js.map +1 -0
  11. package/dist/runner.js +1 -1
  12. package/dist/templates/automations/issue-triage.md +1 -1
  13. package/dist/web/assets/{core-BFbrQR07.js → core-CDpYIzHw.js} +1 -1
  14. package/dist/web/assets/engine-oniguruma-CJg_T4jE.js +1 -0
  15. package/dist/web/assets/{highlighted-body-JLMTFACH-C9Ii0196.js → highlighted-body-JLMTFACH-C9dm2CW4.js} +1 -1
  16. package/dist/web/assets/{highlights-C4aNCgJw.js → highlights-o_P8SnvL.js} +1 -1
  17. package/dist/web/assets/index-BELktH7l.css +1 -0
  18. package/dist/web/assets/{index-WLihS360.js → index-Cc7xqhCW.js} +221 -218
  19. package/dist/web/assets/langs-3J89AXIt.js +1 -0
  20. package/dist/web/assets/mermaid-WFAXDIZX-s7S3p3wW.js +1 -0
  21. package/dist/web/assets/{shiki-MNiRnTih.js → shiki-BYseDnLo.js} +2 -2
  22. package/dist/web/assets/{stream-tokenizer-BOiamYv-.js → stream-tokenizer-D8_JNbSS.js} +1 -1
  23. package/dist/web/assets/{themes-DPD-gG-5.js → themes-BtxdY48G.js} +2 -2
  24. package/dist/web/index.html +2 -2
  25. package/package.json +1 -1
  26. package/dist/main-CKLHi4sz.js.map +0 -1
  27. package/dist/runner-DjavcMnG.js.map +0 -1
  28. package/dist/web/assets/engine-oniguruma-Dod-24Yp.js +0 -1
  29. package/dist/web/assets/index-BIBpPpjX.css +0 -1
  30. package/dist/web/assets/langs-X885YKmd.js +0 -1
  31. package/dist/web/assets/mermaid-WFAXDIZX-Dh9Bmb5R.js +0 -1
package/README.md CHANGED
@@ -55,7 +55,7 @@ Prefer an app? **[Download the desktop app](https://github.com/leonvanzyl/codede
55
55
  npx codeden # or: npm i -g codeden && codeden
56
56
  ```
57
57
 
58
- Or install the **desktop app** from the [latest release](https://github.com/leonvanzyl/codeden/releases/latest) (`CodeDen-Setup-<version>.exe` on Windows, a `.dmg` on macOS, an AppImage or `.deb` on Linux). It needs no Node.js, uses the same data as `npx codeden` (`~/.codeden`), lives in the tray and updates itself. Unsigned builds show a SmartScreen or Gatekeeper warning the first time; see [The desktop app](https://github.com/leonvanzyl/codeden/blob/main/docs/desktop.md).
58
+ Or install the **desktop app** from the [latest release](https://github.com/leonvanzyl/codeden/releases/latest) (`CodeDen-Setup-<version>.exe` on Windows, a `.dmg` on macOS, an AppImage or `.deb` on Linux). It needs no Node.js, uses the same data as `npx codeden` (`~/.codeden`), lives in the tray and updates itself. Builds without a publisher signature show a warning the first time you open them: on Windows choose **More info › Run anyway**; on macOS open CodeDen once, then choose **Open Anyway** under **System Settings › Privacy & Security**. If macOS says the app is "damaged", see [Unsigned builds](https://github.com/leonvanzyl/codeden/blob/main/docs/desktop.md#unsigned-builds).
59
59
 
60
60
  1. The **setup checklist** detects Claude Code, Codex, GitHub, your git identity and a browser, and only asks about what's missing. Each failed check has one fix: an install command, or a **Sign in** button that runs the tool's own login in an embedded terminal.
61
61
  2. **Add a project:** pick a local folder (a server-side folder picker) or paste a GitHub URL to clone.
@@ -95,11 +95,11 @@ Background work you switch on per project: **security audit**, **refactor sweep*
95
95
 
96
96
  ![A project's automations with their schedules and the next runs](https://raw.githubusercontent.com/leonvanzyl/codeden/main/docs/images/automations.png)
97
97
 
98
- ### Autonomy modes, including an experimental dark factory
98
+ ### A software factory, and an experimental dark factory
99
99
 
100
- Each project climbs a ladder: **Manual** → **Assisted** (the default) → **Autopilot** → **Dark factory**. In the last two (both **experimental**), a factory loop takes in work from issues, failed checks and improvement finders, builds it in agent sessions, and merges a PR automatically only when every merge check passes: green CI, tests, an independent review by a separate agent session, a security scan, UI evidence, a size limit and no protected areas touched. Limits you set (concurrent sessions, merges per day, a daily budget, pause after repeated failures) are enforced by the server, and a kill switch stops everything with one click. [Autonomy and the dark factory](https://github.com/leonvanzyl/codeden/blob/main/docs/autonomy-and-dark-factory.md).
100
+ Each project climbs a ladder: **Manual** → **Assisted** (the default) → **Software factory** → **Dark factory**. In a **software factory**, the GitHub issues you and the people you trust file are classified as a bug, a feature or a docs change, and a pool of agents runs each through its pipeline: reproduce, fix and review a bug; analyze, implement and review a feature; change the docs. Every pull request carries its test results, and screenshots for UI changes; you merge it, or turn on auto-merge. Issues from anyone else (on a public repository, anyone at all) are ignored until you let one in, and what you let in is never merged automatically. A **dark factory** adds a scheduled scout that reviews the app against your vision with a few long-lived reviewer agents and files the issues itself. The project page draws the pipelines live: click an issue to open the agent working on it. Limits (agents at once, a daily budget, pause after repeated failures) are enforced by the server, and a kill switch stops everything with one click. Both are **experimental**. [The software factory and the dark factory](https://github.com/leonvanzyl/codeden/blob/main/docs/software-factory.md).
101
101
 
102
- ![The factory panel: loop stages, budget meters, backlog, merge checks and recent merges](https://raw.githubusercontent.com/leonvanzyl/codeden/main/docs/images/factory-panel.png)
102
+ ![The factory panel: the live Bug, Feature and Docs pipelines, the agent pool, budget, merge checks and ignored issues](https://raw.githubusercontent.com/leonvanzyl/codeden/main/docs/images/factory-panel.png)
103
103
 
104
104
  ### Workbench
105
105
 
@@ -108,10 +108,10 @@ Everything an agent touches, next to the chat:
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
109
  - **Files.** A file tree and a syntax-highlighted viewer for the session's worktree.
110
110
  - **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 into the panel. You can take over at any time.
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.
112
112
  - **Subagents** open as child threads, and the composer queues or steers while a turn runs.
113
113
 
114
- ![The browser panel watching the agent's browser](https://raw.githubusercontent.com/leonvanzyl/codeden/main/docs/images/browser-panel.png)
114
+ ![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
115
 
116
116
  [Workbench guide](https://github.com/leonvanzyl/codeden/blob/main/docs/workbench.md).
117
117
 
@@ -186,7 +186,7 @@ Details and how to report a vulnerability: [docs/security.md](https://github.com
186
186
  | API keys | Settings, stored in the OS keychain |
187
187
  | Per-project setup | `.codeden/project.json` in the repo: worktree setup commands and the dev server |
188
188
  | Automations | `~/.codeden/automations/*.md` (all projects) and `<repo>/.codeden/automations/*.md` |
189
- | Project vision | `<repo>/.codeden/VISION.md` (autopilot and dark factory) |
189
+ | Project vision | `<repo>/.codeden/VISION.md` (software and dark factory) |
190
190
 
191
191
  Inside the data directory:
192
192
 
@@ -284,7 +284,7 @@ Windows, macOS and Linux. Windows is tested first.
284
284
  Yes. Turn on **Settings › Network access**, set a password, and scan the QR code with your phone on the same Wi-Fi (or over your own VPN such as Tailscale). The UI adapts to phones and tablets, and **Add to Home Screen** opens it full screen. Plain http addresses mean no notifications or microphone on the phone. See [Phones, tablets and network access](https://github.com/leonvanzyl/codeden/blob/main/docs/remote-access.md).
285
285
 
286
286
  **Is the dark factory safe to leave running?**
287
- It's experimental. Read [Autonomy and the dark factory](https://github.com/leonvanzyl/codeden/blob/main/docs/autonomy-and-dark-factory.md) first, start with Autopilot on a sandbox repository, set a budget and protected areas, and keep the kill switch in reach.
287
+ It's experimental. Read [The software factory and the dark factory](https://github.com/leonvanzyl/codeden/blob/main/docs/software-factory.md) first, start with the software factory on a sandbox repository with auto-merge off, set a budget, trusted authors and protected areas, and keep the kill switch in reach.
288
288
 
289
289
  ## Documentation
290
290
 
@@ -295,7 +295,7 @@ It's experimental. Read [Autonomy and the dark factory](https://github.com/leonv
295
295
  | [Orchestration](https://github.com/leonvanzyl/codeden/blob/main/docs/orchestration.md) | Orchestrator, PMs, agents, work keys, conflicts and notices |
296
296
  | [GitHub](https://github.com/leonvanzyl/codeden/blob/main/docs/github.md) | Issues, PRs, checks, reviews and the evidence branch |
297
297
  | [Automations](https://github.com/leonvanzyl/codeden/blob/main/docs/automations.md) | Triggers, guards, templates and writing your own |
298
- | [Autonomy and the dark factory](https://github.com/leonvanzyl/codeden/blob/main/docs/autonomy-and-dark-factory.md) | Modes, the vision file, merge checks, limits and the kill switch |
298
+ | [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 |
299
299
  | [Workbench](https://github.com/leonvanzyl/codeden/blob/main/docs/workbench.md) | Diffs, checkpoints, files, terminal, browser, composer, shortcuts |
300
300
  | [Agent configuration](https://github.com/leonvanzyl/codeden/blob/main/docs/agent-config.md) | Memory, skills, subagents and MCP servers |
301
301
  | [Voice and images](https://github.com/leonvanzyl/codeden/blob/main/docs/voice-and-images.md) | Dictation, read-aloud and image generation |
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-CKLHi4sz.js");
245
+ await import("./main-DC-Gug_o.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 `notices` ADD `not_before` text;