Skip to content

CLI

Choose a tag to compare

@bniladridas bniladridas released this 16 Nov 14:05
· 67 commits to main since this release

New Features

AI-Powered CLI

  • Interactive Mode: Continuous conversations with AI using npm run cli -- --interactive
  • Conversation Memory: Persistent chat history across sessions
  • Built-in Commands: /help, /history, /clear, /exit for full control
  • Cross-Platform: Works on Linux, macOS, and Windows
  • Smart Error Handling: User-friendly error messages and graceful recovery

Quality Improvements

  • Comprehensive Testing: Unit and E2E tests with CI integration
  • Enhanced Documentation: Complete CLI guide and API reference
  • Security: User data protection and proper config management
  • Performance: Optimized error handling and resource management

What's Included

  • Interactive CLI with conversation memory
  • 14 new files, 1,130+ lines of code
  • 109 unit tests, 9 E2E tests
  • Updated documentation and CI pipelines
  • Production-ready error handling

Installation

npm install @harpertoken/testapp-sdk@1.0.1

Usage

# Interactive AI chat
npm run cli -- --interactive

# Single queries
npm run cli "Hello world"

This release transforms the SDK into a comprehensive AI platform with both web and command-line interfaces.