Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reads the key without echo (raw-mode TTY or piped stdin), saves it via the daemon's key_set RPC, and prints a status line plus what reins do will send. Key parameter parse failures now surface as a plain one-line error (the first zod issue's message) instead of a ZodError dump. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Save's finally restores only the label; disabled state comes from the renderer (re-run from live connectivity after a failed save/remove) so a daemon drop mid-save can't leave Save enabled on an offline form - Cancel button + Escape leave Replace mode - generation counter drops superseded renderJev results - reins:call carries an optional timeoutMs; key_set sends 20 s so a slow TypeSafe validation isn't reported as an outdated daemon - primary Save button, :disabled styles for buttons and inputs - pure jevViewFlags() with tests for offline / unset / set / replacing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Sep 27, 2026
The protocol-guard CI job requires it: this PR changes packages/protocol. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
karngyan
added this pull request to stack #44
September 27, 2026 08:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 1 of 3 for
reins do(stacked: this → #42 → #43). Merge in order.Why
reins do "<goal>"hands a whole browsing goal to TypeSafe's Jev model and returns when it's done or needs a decision. Jev is opt-in and uses the user's own TypeSafe key, so the key needs a home first: one file on the machine, shared by every browser, settable from the CLI or the extension popup.What
~/.reins/credentials.json(0600, atomic write). Only the daemon reads it; the extension never stores the key.reins key set|status|clear: hidden prompt (or stdin), validated against TypeSafe before saving.statusshows only the last 4 characters (typesafe: set (••••e876)).callframe lets the extension call the daemon (key_set/key_status/key_clearonly; anything else getsMETHOD_NOT_ALLOWED).reins do, plus Save / Replace / Cancel / Remove. The input is disabled with "Start reins to save a key" when the daemon is offline, andkey_setgets a 20s timeout.@typesafe-ai/sdk0.6.0 (pinned exact), with strict validation of choices and probabilities.key_setlogs the key as[redacted].reins dosends to TypeSafe and what it never sends. The "nothing leaves your machine" claims are now scoped to "unless you opt in toreins do".@karnstack/reinsand@reins/extensionminor.docs/superpowers/specs/2026-09-27-reins-do-design.md, plandocs/superpowers/plans/2026-09-27-reins-do.md.Testing
reins key statusread the real key file (the key itself was never printed).🤖 Generated with Claude Code