Commit Graph
68 Commits
Author SHA1 Message Date
buenosair 4755f6d1e3 feat(spawn): share host spawn-pi mesh + models.json with spawned containers
- bind $LVMH_HOST_PI_RUNTIME_DIR/spawn-pi -> /root/.pi/spawn-pi (rw) so
  container pi's join the host pi's node mesh (spawn_pi/list_pi_nodes/
  send_pi_message now reach across the host/container boundary)
- bind host models.json (when present) over the stale image-baked
  fallback so newly added catalog models resolve in spawns
2026-09-07 13:21:49 +00:00
buenosair 6ef27e5cd6 feat(models): add glm-5.3-flash to worker model fallback catalog 2026-09-07 12:09:56 +00:00
buenosair b62e4e717a fix: glm not found in dotfiles-less workers — bridge promotes models.json.fallback at startup (the fallback was never read by anything) 2026-09-04 07:59:54 +00:00
buenosair 310127cf7a fix(model selection): deploys from dotfiles-less machines no longer wipe the remote baked pi config (deploy.sh excludes docker/pi-agent); resync endpoint fixed for in-container runs (bash/rsync/python3/npm in daemon image, cross-device copy instead of rename) 2026-09-02 11:51:47 +00:00
buenosair 09fc72556d feat: markdown block parsing in LLM output — headings, lists (ul/ol), blockquotes, hr on top of fences + inline; 300 tests green 2026-09-02 09:49:56 +00:00
buenosair 0f245c9ee2 feat: start on a blank container — spawn with empty:true and no repo (skip clone, default worker image); Spawn UI enables blank spawn without repo selection 2026-09-02 09:24:54 +00:00
buenosair c8cde3ff89 style: reformat ChatStream/ChatView (line-width normalization) from review pass 2026-09-01 15:21:42 +00:00
buenosair 7ff9f77f40 feat: unified tool cards (glyph + arg, call+result in one card, ✓/✗ status), client-side message queue (queue while busy, flush on settle, removable pending bubbles), mobile chat-header wrap 2026-09-01 14:14:52 +00:00
buenosair 5962b50c8d style: normalize formatting (tabs) in ChatStream tests + index.css from review pass 2026-09-01 13:52:03 +00:00
buenosair 3b799c69fb web: tool cards show what ran — summary line (bash command / file path) + edit/write line diffs (LCS, +/- coloring); 286 tests green 2026-09-01 13:17:54 +00:00
Raphael Westphal f5ee3a0f2d feat: empty-container spawn (scratch workspace, no repo volume); fix bridge session isolation — explicit SessionManager per spawn stops SDK resuming the repo's old session (which also overrode LVMH_MODEL) 2026-08-20 15:12:45 +02:00
Raphael Westphal bdfa61a8b2 web: pretty tool cards — args rendered as the real command/path (priority keys, label-less single field), output label; 276 tests green 2026-08-20 14:55:55 +02:00
Raphael Westphal 2d0839357d feat: model selection at spawn (POST /api/spawn model -> LVMH_MODEL -> bridge createAgentSession); ops prepare resets ops session (fresh context per prepare) 2026-08-20 12:43:55 +02:00
Raphael Westphal 5292a69d66 fix(autotitle): disable GLM thinking + raise max_tokens — reasoning model burned the 24-token budget before emitting any text 2026-08-20 11:52:15 +02:00
Raphael Westphal 1b6bd54a74 feat: LLM auto-titles — daemon names unnamed sessions from their first user message via one cheap ZAI completion (no agent-turn pollution); flows into sidebar + tab title 2026-08-20 11:44:05 +02:00
Raphael Westphal 9d369f410e feat: live document title — chat tab shows session name + activity (writing…/tool name/working…), overview shows busy/active counts; 268 tests, gates ≥95% 2026-08-20 11:19:21 +02:00
Raphael Westphal ecee633479 feat: playwright browser cache mount + PLAYWRIGHT_BROWSERS_PATH; ops guide: MCP stack inherited from base image 2026-08-20 10:58:50 +02:00
Raphael Westphal 055dd88f5e feat: MCP in containers — cloakbrowser-mcp + chromium libs baked, mcp.json standard config, shared host chromium cache mounted ro; playwright via npx 2026-08-20 10:43:23 +02:00
Raphael Westphal b35eca40c3 feat: agent deploy pipeline — passwordless SSH (alarm/desk/blanc-nas via tailnet IPs in ssh config), gitea write token to workers, secrets mounts, gitconfig, APPEND_SYSTEM guide 2026-08-20 09:42:58 +02:00
Raphael Westphal 6d10877e34 feat: agent deploys — passwordless ssh key (alarm/desk/blanc-nas + gitea), write-scope gitea token, secrets mounts, gitconfig, APPEND_SYSTEM deploy guide 2026-08-20 09:34:17 +02:00
Raphael Westphal b51a3b564f fix: worker auth.json bind must use HOST path (docker.sock resolves bind sources on the host, not in the daemon container) 2026-08-19 15:04:54 +02:00
Raphael Westphal a4fe178724 fix: LVMH_HOST_PI_AGENT_DIR must point at the daemon-internal /pi-dotfiles mount — host path made docker create an empty auth.json DIR inside workers, breaking model resolution (unknown) 2026-08-19 15:01:07 +02:00
Raphael Westphal e0b5af2276 fix(model selection): bake dotfiles models.json (both glm models, env-ref key) over frozen worker list; catalog prefers baked file — was offering models the container registry couldn't resolve 2026-08-19 14:53:08 +02:00
Raphael Westphal 5c71edfac4 feat: full model catalog (settings enabledModels + custom providers) and provider credentials in spawned containers (keys passthrough + host auth.json bind) 2026-08-19 11:41:31 +02:00
Raphael Westphal d4af41e7dc deploy: keep --ignore-scripts for vendored packages (prepare=husky is a devDep, fails either way) 2026-08-19 11:28:52 +02:00
Raphael Westphal bcf5a82eba fix: rm npm symlink before installing shim (COPY followed it and clobbered npm-cli.js) 2026-08-19 11:17:29 +02:00
Raphael Westphal bfac99274d deploy: anchor rsync excludes (unanchored .git/node_modules stripped vendored pi packages from the build context) 2026-08-19 11:15:12 +02:00
Raphael Westphal 0bfa55a94a fix: npm-real launcher (npm is a JS symlink, mv broke it); keep .git in vendored git: packages (pi runs git fetch on existing installs) 2026-08-19 11:08:22 +02:00
Raphael Westphal cbf52d2b76 feat: full pi config in containers — git: packages vendored at bake (ignore-scripts), npm shim for runtime installs, dotfiles mount + POST /api/pi-config/resync rebuilds worker+ops images (95% cover, race clean) 2026-08-19 11:00:39 +02:00
Raphael Westphal 910a244376 style: formatter pass on App/SessionsView 2026-08-19 10:46:06 +02:00
Raphael Westphal 957ea03aa1 feat: session busy indicator — daemon tracks mid-turn state (agent_start/settled), busy field on session rows + live broadcast; pulsing pip in sidebar and cards (265 web tests, daemon 95.4%) 2026-08-19 10:41:40 +02:00
Raphael Westphal c8ad68aaea web: integrate QoL slices 1-5 (model switch/rename, history deletes, usage stats, repo prepare+badges+imageUsed, markdown/search/FAB/timestamps) — 263 tests, ≥95% all metrics 2026-08-19 10:35:40 +02:00
Raphael Westphal 698b742cb3 daemon: integrate QoL slices 1-5 (model/rename/catalog, history deletes, stats, repo prepare+imageUsed+built) — 95.3% cover green 2026-08-19 10:07:52 +02:00
Raphael Westphal 7287b831e4 daemon: agent-driven workspace images — repo→image registry (GET/PUT/DELETE /api/repos), spawn resolves custom image, self-healing lvmh-ops control container with docker.sock; 132 tests, e2e 87/87 2026-08-18 23:54:09 +02:00
Raphael Westphal 8fcaeb7c03 ops: control pi image (docker CLI + sock) + AGENTS.md workspace-preparation instructions 2026-08-18 20:56:12 +02:00
Raphael Westphal 66c90e48bb fix(review round 2): daemon symlink tars, orphan-safe removes, unique seed names, git ctx, IsErrNotFound, collision-free slugs, branch validation; web first-run WS, draft reset, IME guard, churn fix, test swap repair; 106 daemon + 190 web tests green 2026-08-18 19:13:51 +02:00
Raphael Westphal 95d2b5da4b plugin: benign-reconnect overflow-notice fix (maxAssignedSeq gate), null-id reconnect timer clear; rsync: mkdir before early exit 2026-08-18 19:04:05 +02:00
Raphael Westphal 6aac763563 fix(review round 1): daemon PAT-header auth, job pruning, session-split batches, streaming tars, seed cleanup, ping/pong, byte caps, branch switch, slug --, ctx cancel, Init:true, pagination, latest/before events; web newest-window history + load-older, offline busy gate, staleness guards, memo store, auth probe, scroll key, focus-visible, draft restore, poll dedup; 106+181 tests, coverage 96.2%/95.1%+ 2026-08-18 18:49:52 +02:00
Raphael Westphal 64e45e1a82 fix(review round 1, own slice): plugin welcome-gap counting + null-id guard; bridge setup group-kill; Makefile staticcheck gate + worker-image rsync; deploy excludes 2026-08-18 18:25:02 +02:00
Raphael Westphal e626b9cc6e web: professional UI overhaul — ink/slate design system, archive+active sections, skeletons, error boundary, conn banner, usage chip, message copy, spawn progress steps; 162 tests ≥95% coverage 2026-08-18 18:19:25 +02:00
Raphael Westphal 42fcaa1fe3 style: formatter pass on bridge + web views 2026-08-18 18:05:12 +02:00
Raphael Westphal 60460aebd7 web: sessions list shows active pi only; close-pi button in chat header; 154 tests, ≥95% coverage 2026-08-18 17:57:35 +02:00
Raphael Westphal a67efdb5ec web: sessions list shows active pi only; close-pi button in chat header (agent sessions); tests to 154, coverage ≥95 all metrics 2026-08-18 17:56:31 +02:00
Raphael Westphal 71ab821abd worker: make/jq/gopls in base image + per-repo .lvmh/setup.sh hook (agent-driven persistent setup) 2026-08-18 17:38:38 +02:00
Raphael Westphal df91ba6c4c deploy: filter git: packages (husky postinstall crashes container sessions) 2026-08-18 17:02:20 +02:00
Raphael Westphal 95deb650cb worker: bake dotfiles pi config (filtered) + shared lvmh-pi-cache volume; CopyToContainer seeding 2026-08-18 16:59:51 +02:00
Raphael Westphal 55be4b2a38 daemon: seed repo volume via CopyToContainer (host-path bind bug → empty workspace); web: spawn poll reads fresh session list 2026-08-18 16:55:58 +02:00
Raphael Westphal 1cc5d9a978 web: fix args-object React crash; e2e plugin-contract scenario 2026-08-18 16:32:21 +02:00
Raphael Westphal 7f0672f5d8 fix(web): object tool args crashed React #31 — normalize at derive boundary (argsText); contract scenario replays real-plugin frame shapes end-to-end (73/73) 2026-08-18 16:23:44 +02:00
Raphael Westphal 72c593da18 plugin: honor LVMH_SESSION_ID (daemon-assigned id for spawned containers); e2e+smoke+integration green 2026-08-18 15:57:48 +02:00