tedlink-cli
v1.6.4
Published
TedLink CLI client for Node.js
Readme
tedlink-cli
Node.js rewrite of the TedLink CLI client.
Usage:
./src/main.js --helpFor the v3.1 tedlink-server API:
export TEDLINK_BASE_URL=http://127.0.0.1:8000
export TEDLINK_AUTH_TOKEN=replace-me
export ANTHROPIC_AUTH_TOKEN=sk-ant-...
export ANTHROPIC_BASE_URL=https://api.anthropic.com
export ANTHROPIC_MODEL=claude-sonnet-4-6
./src/main.js --prompt "run simulation" --dir .Attach local files or directories to the TedLink session workspace before submitting the prompt:
./src/main.js --prompt "run simulation" --fpath ./input.sp --fpath ./references --dir .When TedLink is used through the skill, Claude must tell the user that ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN are sent to the TedLink server, and task execution consumes the user's token through those environment variables. The CLI itself does not prompt for [y/N] confirmation.
List locally recorded sessions:
./src/main.js session list --output jsonCheck TedLink service authentication without printing token values:
./src/main.js auth status --output jsonStore an existing TedLink service token:
./src/main.js auth token --token <TOKEN>Log in or start registration:
./src/main.js auth login --email <EMAIL>
./src/main.js auth register --email <EMAIL>Clear the stored token:
./src/main.js auth logoutEnvironment token priority is TEDLINK_AUTH_TOKEN > TEDLINK_TOKEN.
Equivalent explicit local all-sessions command:
./src/main.js session all --output jsonThe client uses:
POST /api/v3/session/createPOST /api/v3/session/upload-tar-gzPOST /api/v3/execute/chatPOST /api/v3/session/recoverGET /api/v3/sync/download
