Merge branch 't3/claude-chat-panel'
# Conflicts: # .agents/mind/gotchas.md # packages/core/src/protocol.ts
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
- [2026-11-15] **Custom app instead of marimo/Atuin/Runme.** Need: literal, copyable shell + SSH run + checks + params + dynamic downloads + Claude Code CLI next to the notebook. No existing tool covers all; marimo hid commands behind Python.
|
||||
- [2026-11-15] **TypeScript monorepo** (core / server / web). One language; node-pty + xterm.js is the proven path for the embedded Claude terminal.
|
||||
- [2026-11-15] **AI = real `claude` CLI in a tmux-backed terminal panel.** Uses the user's subscription legitimately; marimo's ACP panel was deprecated and API-key chat is not wanted.
|
||||
- [2026-11-15] **AI = real `claude` CLI in chat or tmux terminal (#8).** Chat uses per-turn headless stream-json with explicit resume; restricted file tools, optional Bash, dedicated authenticated WebSocket. Subscription login stays with the CLI; no SDK/API-key chat.
|
||||
- [2026-11-15] **Workspace (notebooks, hosts.yaml) is a separate git repo** from the app code; the app ships a `CLAUDE.md` format guide into it.
|
||||
- [2026-11-16] **buildApp wiring:** auth registered first and on by default (`auth:false` only in tests); one EventsHub feeds /api/events from runs and the notebook watcher (`watchNotebooks`); terminal cwd = config.workspaceDir.
|
||||
- [2026-11-16] **Secrets on SSH:** exported via `export NAME=<shellQuote>` lines on stdin before the script (sshd AcceptEnv unreliable); redacted from streamed output, captures and audit.
|
||||
|
||||
@@ -8,5 +8,6 @@
|
||||
- [2026-11-16] **Exit codes vs errors:** a non-zero script exit is a normal result (check ❌) and goes only in run.finished; run.error is for transport/setup failures.
|
||||
|
||||
- [2026-11-16] **Notebook root symlinks (#9):** validating only child components after realpath(root) permits a symlinked notebooks root. Notebook reads and mutations validate the root itself before walking children; regression-covered. Workspace CLI/filesystem writers remain trusted against concurrent path swaps.
|
||||
- [2026-11-16] **Chat CLI permissions (#8):** allowedTools only auto-approves; tools + restricted mode (2.1.248+) enforce the file/tool boundary. Synthetic fixture tests never invoke the real CLI; deployment must verify installed-version/login compatibility.
|
||||
|
||||
## Archive
|
||||
|
||||
Reference in New Issue
Block a user