Skip to content

fix: improve pairing flow DX based on first-time user feedback#25

Merged
YairEtzion merged 2 commits into
mainfrom
fix/pairing-dx
Apr 8, 2026
Merged

fix: improve pairing flow DX based on first-time user feedback#25
YairEtzion merged 2 commits into
mainfrom
fix/pairing-dx

Conversation

@YairEtzion
Copy link
Copy Markdown
Contributor

Summary

  • Handle "device already in allow list" gracefully in amesh invite — removes stale entry and re-adds instead of crashing with an unrecoverable error
  • Surface amesh provision for non-interactive pairing in listen, init, and README
  • Add trust model legend to amesh list, actionable handshake error messages, improved grant error, and pairing troubleshooting section in docs

Changes

packages/cli: invite.ts (duplicate device handling + timeout errors), listen.ts (provision hint, SAS prompt guidance, timeout error), init.ts (next-steps reworded + provision mention), list.ts (trust model footer), grant.ts (better error message)
docs: guide.md (pairing troubleshooting section)
root: README.md (provision callout in quickstart)

Test plan

  • bun run build && bun run test — all CLI tests pass
  • Run amesh invite with an already-paired device — should update gracefully instead of crashing
  • Run amesh list with paired devices — verify legend appears
  • Run amesh grant with invalid device ID — verify improved error

Handle "device already in allow list" gracefully in invite (remove
stale entry + re-add instead of crashing). Surface amesh provision
in listen, init, and README for non-interactive pairing. Add trust
model legend to amesh list, actionable error messages for handshake
timeouts and expired codes, and pairing troubleshooting section in
docs/guide.md.
@YairEtzion YairEtzion merged commit b8dc475 into main Apr 8, 2026
1 check passed
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