Add local web mode entrypoint#646
Merged
will-lamerton merged 6 commits intoJul 9, 2026
Merged
Conversation
Contributor
Author
|
We have unused exports in our code can i fix it just had to remove it or have to add it in file so that it has to be ignored. |
Contributor
Author
|
@will-lamerton I opened a separate PR for the Semgrep policy findings so those repo-level security/config changes stay out of this phase-1 web mode PR. For this PR, I only pushed the related unused export fix:
This keeps this PR scoped to phase 1 and avoids mixing unrelated CI hardening changes here. Separate Semgrep PR: #647 |
Member
|
Looking great :D |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds the first slice of local browser-based web mode.
This introduces
nanocoder --webandnanocoder --gui, which start a localhost-only web server, generate a private URL token, open the browser, and serve a small token-protected web-mode landing page. The CLI keeps the server alive until shutdown and closes it cleanly onSIGINT/SIGTERM.Also adds a GUI mode implementation plan documenting the intended phased approach for runtime bridging and future browser chat support.
Phase 1: #628
Type of Change
Testing
Automated Tests
.spec.ts/tsxfilespnpm test:allcompletes successfully)Focused tests run:
pnpm run test:ava source/web/server.spec.ts source/cli.spec.ts
Result:
37 tests passedManual Testing
nanocoder --web/nanocoder --guiweb shell locallyChecklist
Structured logging is not added because this entrypoint currently prints the local URL directly for CLI usability and does not add background operational logging.