Mirror the TUI's /compact and /summarize slash commands so they can be
invoked from kilo run --command. Both map to the session summarize
endpoint and require an existing session via -c or -s.
The shared command-not-found hint now also lists these built-ins so
typos surface them alongside registered slash commands.
Move serverUrls helper into Kilo-owned src/kilocode/cli/ so it is exempt
from the annotation checker. Update all imports accordingly. Mark the
remaining Kilo-specific lines in shared upstream files with kilocode_change
markers: server.ts (Listener.urls field, import, and call sites), serve.ts
and web.ts (unified URL display blocks). Remove the circular self-import
of ./server in server.ts that was masking the intended upstream export.
Use server.urls directly in serve.ts and web.ts to avoid a redundant
networkInterfaces() call now that the Listener already carries the
precomputed values. Drop the incomplete 172.x.x.x Docker heuristic from
getNetworkIPs() and fall back to state.urls in console.ts for consistency.
Extract shared serverUrls helper in cli/server-urls.ts that computes local,
network, and bind URLs based on the resolved hostname and port. Include
urls on the Listener type returned by server.listen(). Update serve, web,
daemon, and console commands to print Local/Network lines when logging a
non-loopback bind, and fall back to the existing single-line format for
loopback binds. Add a changeset for the user-visible output change.
Provider plugins (llmgateway, nvidia, openrouter, vercel, zenmux) now
verify the provider ID before applying attribution headers, preventing
custom-defined providers sharing the same endpoint URL from being
mutated by built-in plugin logic.
Additional changes:
- Add auth-v2.json migration path for multi-account store continuity
- Remove obsolete @ai-sdk/xai patch and ConsoleCommand registration
- Add native LLM session recordings for anthropic, openai-oauth, and zen
- Update CLI help snapshots to reflect Kilo branding
- Expand i18n with usage-exceeded dialog strings (it, nl, uk)
- Add dialog to show docs URL when no display server is detected on Linux
- Simplify dialog to show 'No display detected' with docs URL
- Remove unnecessary browser open attempt in headless environments
- Add kilocode_change markers for new dialog component
The previous implementation tried to open a browser even on headless systems,
which would fail silently. The new dialog clearly communicates the situation
and provides the docs URL for manual access.