Repository navigation
Feat/web mode updated - #1680
akramcodez wants to merge 21 commits into
Conversation
…ano-Collective#713) Close the local coding-agent interaction loop so browser turns can approve tools, answer questions, and show live tool progress without changing runtime policy ownership (Nano-Collective#628 Phase 5).
Responds to akramcodez's review on Nano-Collective#628: adds a nonce-scoped CSP plus X-Frame-Options/X-Content-Type-Options, serves the Nanocoder favicon properly, resets the real backend conversation (not just localStorage) when starting a new chat, restores rejected message text into the composer instead of losing it, adds WebSocket auto-reconnect with backoff, extends keyboard focus states to the sidebar/send buttons, themes the scrollbars, and fixes several inline-script indentation bugs in page.ts.
…8-web-mode-review-fixes fix: address web mode review feedback
… and real session history to web mode (Nano-Collective#883)
feat: implement local Web/GUI mode with organisation theme
nc-review: needs work — 1 blocking, 4 important, 1 nit@akramcodez — there is a blocking item below. Massive PR (~8191 diff lines, 43 files) adding a localhost browser web mode plus a grab-bag of 'runtime reliability' fixes, with the description only stating '#628' and not actually closing the issue. The architecture mostly matches the existing codebase, and most of the new code is correctly wired, but the AcpInitContext public interface is extended with a 🔴 blocking · The Either wire the executor into 🟠 important · The PR is ~8191 lines across 43 files: a brand-new localhost browser surface ( Per the project rubric this is the most likely kind of 'small PRs are welcome, but undiscussed changes this size are not' case. Splitting this into (a) the web-mode UI itself and (b) one PR per reliability fix would let each be reviewed against a known reproduction. The reliability fixes in particular should each have an issue or at minimum a repro in the PR body. 🟠 important ·
If the project keeps web mode, the page logic should be split (CSS in one block, prose in another) and the runtime surface should be exercised against an actual headless browser, or at minimum jsdom + a websocket stub. As written the test suite will go green on a build that is broken on first click. 🟠 important · The new 'web lifecycle reports structured tool failures as failed' test claims to verify that 🟠 important ·
⚪ nit · The changeset entry says 'Add browser approvals, questions, and live tool status to local web mode so coding-agent turns can finish safely in the browser UI', but 🔴 blocking · 🟠 a reviewer would ask for a change · ⚪ optional Automated code review — correctness, security, design, tests, plus duplicates and scope. A human still decides; this is not a substitute for review and is not exhaustive. The required status checks separately cover lint, formatting, types, unused dependencies, the test suite and the build. This bot never merges. Maintainers can rerun with |
#628