Skip to content

feat: M2 — Daemon Pairing Store + HTTP Endpoints#8129

Merged
ashleeradka merged 1 commit into
mainfrom
simplify-pairing/m2
Feb 24, 2026
Merged

feat: M2 — Daemon Pairing Store + HTTP Endpoints#8129
ashleeradka merged 1 commit into
mainfrom
simplify-pairing/m2

Conversation

@ashleeradka

@ashleeradka ashleeradka commented Feb 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the daemon-side pairing infrastructure: in-memory store, approved-devices persistence, IPC handler, and HTTP endpoints.

Changes

  • NEW assistant/src/daemon/pairing-store.ts — In-memory store managing pairing request lifecycle (register, beginRequest, approve, deny, expiry)
  • NEW assistant/src/daemon/approved-devices-store.ts — SQLite-backed approved device allowlist with hash-based device IDs
  • NEW assistant/src/daemon/handlers/pairing.ts — IPC handler wiring pairing approval responses and device list management
  • MOD assistant/src/daemon/handlers/index.ts — Registers pairing handler
  • MOD assistant/src/runtime/http-server.ts — Adds /v1/pairing/register (authenticated), /v1/pairing/request (secret-gated), /v1/pairing/status (secret-gated) endpoints

Stack

M2 of 9 — Simplify Pairing + Mac Approval


Open with Devin

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

View 6 additional findings in Devin Review.

Open in Devin Review

Comment thread assistant/src/runtime/http-server.ts

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9585c7ae56

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread assistant/src/runtime/http-server.ts
Comment thread assistant/src/runtime/http-server.ts
Base automatically changed from simplify-pairing/m1 to main February 24, 2026 19:22
Add in-memory PairingStore for managing pairing request lifecycle,
approved-devices-store for persisting device allowlist, and HTTP
endpoints for the v4 pairing handshake (register, request, status).
Wire pairing store into RuntimeHttpServer with IPC broadcast support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ashleeradka ashleeradka merged commit e8106c0 into main Feb 24, 2026
2 checks passed
@ashleeradka ashleeradka deleted the simplify-pairing/m2 branch February 24, 2026 19:23
@ashleeradka

Copy link
Copy Markdown
Contributor Author

Addressed in #8189

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