Skip to content

Report missing browser console attachment before transport - #727

Merged
tamashi095 merged 3 commits into
mainfrom
codex/browser-console-attachment-guard
Sep 11, 2026
Merged

Report missing browser console attachment before transport#727
tamashi095 merged 3 commits into
mainfrom
codex/browser-console-attachment-guard

Conversation

@tamashi095

@tamashi095 tamashi095 commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Browser console access without configured controls previously requested a session map and eventually returned the misleading unsupportedKind refusal.

BrowserEngine.console() now returns a cached rejected Promise with MisoUsageError and the precise policy.console.commandQueueRecords setting when the captured boot policy has no console. Audio-only boot/close and attached-console command behavior remain valid. SDK guidance explains the raw-host refusal meaning without changing ABI reason codes or console defaults.

Validation: type checks, 61 focused SDK tests and package checks passed against the unchanged qualified artifact. Tests cover omitted/empty/zero settings, caller mutation during boot, transport avoidance, positive command admission and public packaged browser/headless errors. Independent Astra XHIGH verdict recorded in #376’s spec before delivery.

Refs #376. Close after required PR and post-main qualification; no npm publication or artifact repin in this change.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant