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 --helpOr install globally:
npm install -g @arielbk/trace-cliUsage
Authentication
npx @arielbk/trace-cli loginOpens 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 --jsonLogout
npx @arielbk/trace-cli logoutConfiguration
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.comOr:
export API_BASE_URL=https://your-trace-instance.comOr override per command:
npx @arielbk/trace-cli --base-url http://localhost:3000 analyze --file transcript.txtLicense
MIT