Skip to content

v1.0.2

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Jan 18:37

What's Changed

Full Changelog: v1.0.1...v1.0.2

QR Code Display

  • Added QR code display functionality for credentials (share credentials and group information)
  • New QRCodeDisplay component for rendering QR codes directly in the terminal
  • New CredentialDisplay component for presenting labeled credentials with optional QR codes
  • Keyboard toggle support (press Q) to show/hide QR codes in raw mode
  • QR visibility propagated through KeysetCreate, KeysetLoad, and ShareSaver components

Visual Enhancements

  • Added animated ASCII art FROSTR icon to the intro screen with 8-frame rotation animation
  • Added static FROSTR icon to the help screen
  • Improved centering and visual presentation

CLI Refactoring

Argument Parsing

  • Extracted argument parsing logic into dedicated src/lib/parseArgv.ts module
  • Added Flags and ParsedArgs type exports
  • New flag alias normalization (t → threshold, T → total, E → debug-echo)
  • Comprehensive edge-case handling for long/short flags, boolean detection, and special cases (--help, --version)
  • Added toBool utility function for consistent boolean flag handling

Documentation Updates

  • Updated CLI command structure and namespace documentation in CLAUDE.md
  • Replaced npm references with bun-based build and development commands
  • Added comprehensive testing architecture guide (llm/context/testing/test-architecture.md)
  • Added test coverage implementation documentation

Test Suite Overhaul

  • Added 97 new tests across 6 new test files providing full coverage:
    • cli.parsing.test.ts - Extensive parseArgv and toBool unit tests
    • crypto.test.ts - Encryption/decryption roundtrips and legacy format support
    • naming.test.ts - Slug and path construction utilities
    • paths.test.ts - App data path resolution
    • policy.test.ts - Policy creation, normalization, and CRUD operations
    • storage.test.ts - File I/O and record persistence
  • Added test helpers (makeTmp, runCli) for consistent test setup
  • Updated cli.basic.test.ts with pattern matching for animated intro detection

Dependencies

  • Added qrcode package for QR code generation
  • Added @types/qrcode for TypeScript support