feat(wizard): WIZ-7 tokens screen — per-agent PAT input + bulk-paste + skip #703
No reviewers
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!703
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev/678"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements the Tokens step (step 5) of the first-login wizard per WIZ-7.
Test plan
agent_name=PATlines and fills rowsDoneSteprendersshowTokensBannerwhen all tokens skippedCloses #678
Implements the Tokens step (step 5) of the first-login wizard: - One row per agent from WIZ-4's chosen list (post-rename, post-dropDesign) - Password input + 📋 Show instructions button per row - Instructions dialog (Base UI Dialog): forge URL login steps, scopes list - Bulk-paste textarea: parses agent_name=PAT lines and fills matching rows - Skip toggle per row (marks agent without token, disables input) - Skip-all link: navigates to Done and shows a reminder banner - Tokens held in parent state, not PATCHed to /onboarding/state (per spec) - DoneStep gains optional showTokensBanner prop for the skip-all path - TypesStep.onStateChange gains dropDesign as 3rd arg (lifted to parent) Tests: 65 → 770 (all pass). Adds 25 new test cases covering render (6-row default fleet, 4-row drop-design), bulk-paste fill, unknown-name ignore, skip toggle, skip-all callback, and DoneStep banner. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>AC met, CI green.
Tokens step fully implemented: per-agent PAT rows (post-rename/drop-design), password inputs, instructions dialog with correct scopes, bulk-paste parser, skip toggles, skip-all → Done banner. Tokens not persisted until WIZ-8 apply. 25 new tests cover all paths.