fix(cli): keep macOS bootstrap URLs out of argv [skip ci]
Browser bootstrap URLs contain credentials. Deliver them through native Launch Services instead of the open command, and fail without a subprocess or BROWSER fallback so shared WebUI callers cannot expose the URL in process arguments or errors. Cover encoding, native failures, resource cleanup and Desktop dispatch with regression tests. Preserve existing browser behavior and leave TUI and non-macOS handoff changes outside this scoped repair.
This commit is contained in:
1 parent
dba77b5e74
commit
29bf9f9ca7
4 files changed
+150
-15
No files matched your search
@@ -51,6 +51,9 @@ or replacing a backend. Use explicit `nanobot agent` for the Python terminal UI
|
||||
until the Desktop TUI attachment protocol is available.
|
||||
After Desktop is selected, a disconnect or incompatible reply ends that invocation
|
||||
with an error; it never silently switches to Python or launches a replacement.
|
||||
On macOS, browser URLs are delivered through native Launch Services rather than
|
||||
command-line arguments. A failed native handoff does not fall back to `open` or
|
||||
a `BROWSER` command, keeping bootstrap credentials out of launcher arguments.
|
||||
|
||||
Any explicit subcommand or option—including `nanobot agent`,
|
||||
`nanobot webui --no-open`, config/workspace selectors, help, version, completion,
|
||||
|
||||
Reference in new issue
Block a user