Skip to content

Release 0.22.2 — agent diagnostics: interceptor diagnose + daemon lock file#128

Merged
ronaldeddings merged 1 commit into
mainfrom
release/0.22.2
Jul 3, 2026
Merged

Release 0.22.2 — agent diagnostics: interceptor diagnose + daemon lock file#128
ronaldeddings merged 1 commit into
mainfrom
release/0.22.2

Conversation

@ronaldeddings

@ronaldeddings ronaldeddings commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Version bump + release for the diagnose feature set merged in #105 (community contribution by @trillium, hardened with maintainer follow-ups). See the release commit message for the full change summary.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Bumped the extension and package version to 0.22.2.
    • Updated packaged extension manifests to match the new release version.

…k file

interceptor diagnose (community contribution — thanks @trillium, #105): a
single post-failure snapshot for agent self-orientation. Reports the daemon
with the actual binary path it's running, probes every connected browser
context in parallel (extension reachability, active tab, interactive element
count), and reads monitor session state — all without ever auto-spawning a
daemon. --context <id> scopes to one context; --json for structured output.

Binary-mismatch detection: the daemon now writes a lock file
(/tmp/interceptor.lock, INTERCEPTOR_LOCK_PATH to override) recording its
pid/version/execPath. diagnose compares that execPath against every installed
NMH manifest and flags the split-brain failure mode where Chrome spawns one
daemon binary (the manifest's) while the CLI talks to another (the socket's)
— previously a silent 15-second timeout, now a labeled warning with the fix.

Detection covers the full installable browser set (Chrome, Brave, Beta,
Canary, Dev, Chrome for Testing, Edge, Vivaldi) via one shared manifest table
also used by status --verbose.

Context-kind-aware probing: ios:/cdp: contexts report as connected devices/
apps instead of a false "extension not responding" from browser-verb probes.

Daemon lifecycle hardening: lock-file cleanup rides gracefulShutdown and the
exit handler (never a competing signal handler, which would skip CDP/iOS
manager teardown and orphan tunnel/runner child processes); SIGHUP now takes
the graceful path alongside SIGTERM/SIGINT; the lock is written only after
winning the WS-port singleton election so a losing duplicate can never
clobber the running daemon's record.

diagnose joins help, help --all, and the interceptor manifest capability
catalog with full returns semantics.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ronaldeddings ronaldeddings merged commit 580a7de into main Jul 3, 2026
1 check passed
@coderabbitai

coderabbitai Bot commented Jul 3, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8524cd8e-4ddd-4a08-a77c-def456ee203f

📥 Commits

Reviewing files that changed from the base of the PR and between f2d8cab and c8b3296.

📒 Files selected for processing (3)
  • extension/dist-mv2/manifest.json
  • extension/manifest.json
  • package.json

📝 Walkthrough

Walkthrough

The version field was incremented from 0.22.1 to 0.22.2 across three metadata files: extension/dist-mv2/manifest.json, extension/manifest.json, and package.json. No other changes were made.

Changes

Version bump

Layer / File(s) Summary
Bump version to 0.22.2
extension/dist-mv2/manifest.json, extension/manifest.json, package.json
Version field updated from "0.22.1" to "0.22.2" consistently across all three files.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/0.22.2

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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