Skip to content

Conversation

@naps62-self-hosted-claude
Copy link

Summary

  • Adds new @ethui/stacks-cli package under packages/cli/
  • Implements terminal wizard using @inquirer/prompts for the authentication flow
  • Outputs JWT token after successful email verification

Features

  • Prompts for email address with validation
  • Sends verification code via API
  • Accepts 6-digit verification code
  • Outputs JWT token for use in Authorization header
  • Supports custom API URL for development/testing

Test plan

  • Run pnpm install to install dependencies
  • Run pnpm --filter @ethui/stacks-cli build to build the CLI
  • Run node packages/cli/dist/index.js to test the wizard flow
  • Verify code linting passes with pnpm --filter @ethui/stacks-cli check

🤖 Generated with Claude Code

naps62-self-hosted-claude[bot] and others added 2 commits January 29, 2026 14:42
Adds a new CLI package that provides a terminal wizard for the authentication
flow, outputting the JWT token at the end. Uses @inquirer/prompts for the
interactive terminal UI.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Jan 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
stacks Ready Ready Preview, Comment Jan 30, 2026 11:51am

Request Review

- Rename package from @ethui/stacks-cli to @ethui/stacks
- Binary command renamed from stacks-cli to stacks

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Instead of printing the JWT token to stdout, save it to a config file:
- Linux: ~/.config/dev.ethui/stacks.json
- macOS: ~/Library/Application Support/dev.ethui/stacks.json

The file stores a map of URL -> token, preserving existing tokens for
other URLs when adding a new one.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add files field to include only dist/
- Add repository field for npm listing
- Add prepublishOnly script to auto-build before publish
- Add publish script for easy npm publishing

To publish: cd packages/cli && pnpm run publish

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Rename package from @ethui/stacks to @ethui/stacks-cli
- Binary command renamed from stacks to stacks-cli

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

0 participants