Skip to content

v0.1.6 - Agent-Mode Login + Interactive Setup

Choose a tag to compare

@Railly Railly released this 01 Apr 03:21
· 106 commits to main since this release

What's New

Interactive Login Setup

  • First-time sunat-cli login now prompts step-by-step with clack UI: RUC (validated 11 digits), Usuario SOL, Clave SOL (masked input)
  • Saves RUC and usuario to ~/.sunat/config.json -- password is never stored

Agent-Mode Credential Flags

  • New --ruc, --user, --password inline flags for non-interactive use
  • Agents can now login without env vars: sunat-cli login --ruc 10XXX --user XXX --password XXX
  • Priority: flags > env vars > config file > interactive prompts

Claude Code Skill

  • Bundled skill at packages/cli/skills/sunat-cli/
  • Auto-install prompt after first login via npx skills add Railly/sunat-cli -g
  • Updated skill docs with agent-mode auth instructions

Install

bun add -g @crafter/sunat-cli@0.1.6

# Or install skill directly
npx skills add Railly/sunat-cli -g

Full Changelog

  • feat: interactive credential prompts on first login
  • feat: add --ruc, --user, --password flags for agent-mode login
  • feat: add Claude Code skill with field schemas
  • refactor: use npx skills add for skill installation
  • feat: prompt skill install after successful login