fix(standalone): print server URL on startup
Summary
%% Last Modified: 05/17/26 14:03:57 %%
logger.info()is silenced by default —Logger.leveldefaults toWARN(level 2), soinfocalls (level 1) never fire- The URL log line existed in
standalone.tsbut was never visible to users - Replaces the silenced
logger.infowith a directconsole.logthat always prints - Converts
0.0.0.0→localhostfor a user-friendly display URL
Before: starting pnpm standalone / node dist-standalone/index.cjs showed no URL
After: prints \n claude-devtools running at http://localhost:3456\n
Test plan
%% Last Modified: 05/17/26 14:03:57 %%
- [ ] Run
pnpm standalone— confirm URL prints on startup - [ ] Run with
PORT=8080— confirmhttp://localhost:8080prints - [ ] Run with
HOST=192.168.1.1— confirm actual host prints (not rewritten to localhost) - [ ] Run
pnpm standalone:build && node dist-standalone/index.cjs— confirm built artifact also prints URL
🤖 Generated with Claude Code
Summary by CodeRabbit
-
Bug Fixes
- Server startup now always prints the accessible HTTP URL to stdout and normalizes host display (local addresses shown as "localhost" and IPv6 formatted) for easy copying.
-
Documentation
- Added a documentation sync manifest defining repo-to-docs mappings.
- Added architecture principles, design docs, and workflow documentation entries.
[!NOTE]
Reviews paused
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the
reviews.auto_review.auto_pause_after_reviewed_commitssetting.Use the following commands to manage reviews:
@coderabbitai resumeto resume automatic reviews.@coderabbitai reviewto trigger a single review.Use the checkboxes below for quick actions:
- [ ] ▶️ Resume reviews
- [ ] 🔍 Trigger review
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 7ca765d6-1e2b-4fa0-b839-0bfc51db0696
📥 Commits
Reviewing files that changed from the base of the PR and between 143006243914111fe6125d05c70ed2758ddf1b1b and b1192e5fe894879b856425d48e25cafe9e27b286.
📒 Files selected for processing (4)
architecture-principlesdesign-docsdocumentation-sync-manifest.jsonworkflows
✅ Files skipped from review due to trivial changes (3)
- architecture-principles
- workflows
- design-docs
📝 Walkthrough
Walkthrough
The standalone entry point now prints the server URL to stdout after the HTTP server starts, mapping 0.0.0.0/:: to localhost and bracket-wrapping IPv6 hosts; additionally, a documentation-sync-manifest.json plus three local-path files (architecture-principles, design-docs, workflows) were added.
Changes
Direct Server URL Output
| Layer / File(s) | Summary |
|---|---|
Server startup URL logging src/main/standalone.ts |
After httpServer.start, compute a display host (map 0.0.0.0/:: → localhost, bracket-wrap IPv6), then print http://{displayHost}:{port} via console.log, replacing the previous browser-guidance logger message. |
Documentation sync manifest and local paths
| Layer / File(s) | Summary |
|---|---|
Documentation manifest and local path entries documentation-sync-manifest.json, architecture-principles, design-docs, workflows |
Add documentation-sync-manifest.json with version, consumer_repo, docs_repo_env, docs_repo_default, and mappings for architecture-principles/, design-docs/, and workflows/. Add architecture-principles, design-docs, and workflows files containing local absolute path lines referenced by the manifest. |
Suggested labels
documentation
🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
| Check name | Status | Explanation |
|---|---|---|
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands and usage tips.