JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q59441F
  • License MIT

CLI tool for analyzing conversation transcripts and detecting patterns

Package Exports

  • @arielbk/trace-cli
  • @arielbk/trace-cli/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@arielbk/trace-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@arielbk/trace-cli

CLI tool for analyzing conversation transcripts and detecting patterns.

Installation

No installation needed - use npx:

npx @arielbk/trace-cli --help

Or install globally:

npm install -g @arielbk/trace-cli

Usage

Authentication

npx @arielbk/trace-cli login

Opens your browser to authenticate with the Trace platform.

Analyze a transcript

# From a file
npx @arielbk/trace-cli analyze --file transcript.txt

# From stdin
cat transcript.txt | npx @arielbk/trace-cli analyze

# Inline text
npx @arielbk/trace-cli analyze --input "user: Hello\nassistant: Hi there!"

# JSON output
npx @arielbk/trace-cli analyze --file transcript.txt --json

Logout

npx @arielbk/trace-cli logout

Configuration

Set the Trace API base URL (defaults to https://agentpatterns.vercel.app):

export TRACE_BASE_URL=https://your-trace-instance.com
export TRACE_API_BASE_URL=https://your-trace-instance.com

Or:

export API_BASE_URL=https://your-trace-instance.com

Or override per command:

npx @arielbk/trace-cli --base-url http://localhost:3000 analyze --file transcript.txt

License

MIT