codeden 0.2.0 → 0.4.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 (40) hide show
  1. package/README.md +8 -2
  2. package/dist/THIRD-PARTY-NOTICES.txt +26 -0
  3. package/dist/cli.js +1 -1
  4. package/dist/drizzle/20261108085346_automation_created_by/migration.sql +1 -0
  5. package/dist/drizzle/20261108085346_automation_created_by/snapshot.json +3464 -0
  6. package/dist/drizzle/20261108090252_project_remote_warning/migration.sql +1 -0
  7. package/dist/drizzle/20261108090252_project_remote_warning/snapshot.json +3474 -0
  8. package/dist/{main-CzmG0d8t.js → main-B7VuaduN.js} +2 -2
  9. package/dist/{main-CzmG0d8t.js.map → main-B7VuaduN.js.map} +1 -1
  10. package/dist/{main-pXwL7GDQ.js → main-sEg3GS7X.js} +21687 -18876
  11. package/dist/main-sEg3GS7X.js.map +1 -0
  12. package/dist/{runner-CJetH9jW.js → runner-QPAnitMx.js} +844 -110
  13. package/dist/runner-QPAnitMx.js.map +1 -0
  14. package/dist/runner.js +1 -1
  15. package/dist/web/apple-touch-icon.png +0 -0
  16. package/dist/web/assets/{core-BeOBW-Wr.js → core-1ZGcgEnc.js} +1 -1
  17. package/dist/web/assets/engine-oniguruma-S10PniCp.js +1 -0
  18. package/dist/web/assets/{highlighted-body-JLMTFACH-D-L40tHI.js → highlighted-body-JLMTFACH-Gb9WrOV2.js} +1 -1
  19. package/dist/web/assets/{highlights-ZCqssNA3.js → highlights-BbG82Nvt.js} +1 -1
  20. package/dist/web/assets/index-CW3M7yYL.css +1 -0
  21. package/dist/web/assets/index-Capj1YIA.js +914 -0
  22. package/dist/web/assets/langs-92p-7kXy.js +1 -0
  23. package/dist/web/assets/mermaid-WFAXDIZX-D5w0oM_l.js +1 -0
  24. package/dist/web/assets/{shiki-CWXnlX2q.js → shiki-DvdkI_wn.js} +2 -2
  25. package/dist/web/assets/{stream-tokenizer-BpK1CZzW.js → stream-tokenizer-hzLEdzf1.js} +1 -1
  26. package/dist/web/assets/{themes-Bm7B3n10.js → themes-o5fWh38V.js} +2 -2
  27. package/dist/web/icons/icon-192.png +0 -0
  28. package/dist/web/icons/icon-512.png +0 -0
  29. package/dist/web/icons/maskable-192.png +0 -0
  30. package/dist/web/icons/maskable-512.png +0 -0
  31. package/dist/web/index.html +10 -2
  32. package/dist/web/manifest.webmanifest +28 -0
  33. package/package.json +1 -1
  34. package/dist/main-pXwL7GDQ.js.map +0 -1
  35. package/dist/runner-CJetH9jW.js.map +0 -1
  36. package/dist/web/assets/engine-oniguruma-BLpLufIT.js +0 -1
  37. package/dist/web/assets/index-D8qaPF_E.css +0 -1
  38. package/dist/web/assets/index-DR-I5EC5.js +0 -892
  39. package/dist/web/assets/langs-DKjK0GUN.js +0 -1
  40. package/dist/web/assets/mermaid-WFAXDIZX-fZTzmfWq.js +0 -1
package/README.md CHANGED
@@ -165,8 +165,8 @@ More in [Architecture](https://github.com/leonvanzyl/codeden/blob/main/docs/arch
165
165
 
166
166
  ## Security model
167
167
 
168
- - The server and runner listen on **127.0.0.1 only**. Remote or LAN access is not part of v1.
169
- - Every HTTP, WebSocket and MCP request needs a **per-install random token**. The browser gets it once through the launch URL, then holds it in an HttpOnly, `SameSite=Strict` cookie.
168
+ - The server and runner listen on **127.0.0.1 only** by default. **Network access** for your phone or tablet is opt-in, needs a password (stored only as a salted hash), and never exposes the runner or the agents' MCP endpoint. See [Phones, tablets and network access](https://github.com/leonvanzyl/codeden/blob/main/docs/remote-access.md).
169
+ - Every local HTTP, WebSocket and MCP request needs a **per-install random token**. The browser gets it once through the launch URL, then holds it in an HttpOnly, `SameSite=Strict` cookie.
170
170
  - `Host` and `Origin` headers are checked, which blocks other websites and DNS rebinding from reaching the local API.
171
171
  - Agent MCP tokens are **per session and role-scoped**, stored only as hashes, and revoked when the session ends.
172
172
  - The default autonomy level, **Auto, risky actions ask**, lets agents edit and run normal commands inside their worktree, and sends risky actions to your inbox: writes outside the worktree, force pushes, branch deletion, global installs, piping downloads into a shell, and secrets access.
@@ -224,6 +224,8 @@ codeden [options] Start CodeDen and open it in the browser
224
224
  codeden doctor Check the installation (--install: add Claude Code support now)
225
225
  codeden update Install the latest version and switch to it (--rollback: go back)
226
226
  codeden stop Stop the server and the runner
227
+ codeden password Set the network access password (--generate: make one up)
228
+ codeden network on|off Let phones on your network open CodeDen, or stop it
227
229
 
228
230
  Options:
229
231
  --port <n> Port to listen on (default 4317)
@@ -277,6 +279,9 @@ The server stops; the runner, and any agent mid-turn, keeps going. The next `cod
277
279
  **Which platforms?**
278
280
  Windows, macOS and Linux. Windows is tested first.
279
281
 
282
+ **Can I use it from my phone?**
283
+ 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).
284
+
280
285
  **Is the dark factory safe to leave running?**
281
286
  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.
282
287
 
@@ -294,6 +299,7 @@ It's experimental. Read [Autonomy and the dark factory](https://github.com/leonv
294
299
  | [Agent configuration](https://github.com/leonvanzyl/codeden/blob/main/docs/agent-config.md) | Memory, skills, subagents and MCP servers |
295
300
  | [Voice and images](https://github.com/leonvanzyl/codeden/blob/main/docs/voice-and-images.md) | Dictation, read-aloud and image generation |
296
301
  | [Usage and costs](https://github.com/leonvanzyl/codeden/blob/main/docs/usage-and-costs.md) | The ledger, reports, budgets and rate limits |
302
+ | [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 |
297
303
  | [Security](https://github.com/leonvanzyl/codeden/blob/main/docs/security.md) | The security model in detail |
298
304
  | [Troubleshooting](https://github.com/leonvanzyl/codeden/blob/main/docs/troubleshooting.md) | `doctor`, logs and common issues |
299
305
  | [Architecture](https://github.com/leonvanzyl/codeden/blob/main/docs/architecture.md) | How the pieces fit, with a link to the full design |
@@ -739,6 +739,32 @@ The complete list of contributors can be found at:
739
739
 
740
740
  ------------------------------------------------------------------------
741
741
 
742
+ fflate@0.8.3 (MIT)
743
+
744
+ MIT License
745
+
746
+ Copyright (c) 2026 Arjun Barrett
747
+
748
+ Permission is hereby granted, free of charge, to any person obtaining a copy
749
+ of this software and associated documentation files (the "Software"), to deal
750
+ in the Software without restriction, including without limitation the rights
751
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
752
+ copies of the Software, and to permit persons to whom the Software is
753
+ furnished to do so, subject to the following conditions:
754
+
755
+ The above copyright notice and this permission notice shall be included in all
756
+ copies or substantial portions of the Software.
757
+
758
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
759
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
760
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
761
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
762
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
763
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
764
+ SOFTWARE.
765
+
766
+ ------------------------------------------------------------------------
767
+
742
768
  hono@4.13.17 (MIT)
743
769
 
744
770
  MIT License
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-pXwL7GDQ.js");
245
+ await import("./main-sEg3GS7X.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 `automations` ADD `created_by` text;