Package Exports
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 (agent-thread) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
agent-thread
Claude session uploader and share viewer built with Bun, Hono, and Cloudflare Workers.
What works now
bunx agent-threadstyle CLI entrypoint via theagent-threadbinary- Claude session discovery from
~/.claude/projects - Interactive selection of sessions for the current directory
- Upload endpoint on a Hono Worker
- Share page route backed by D1 metadata and R2 session storage
Install
bun installRun the CLI locally
Start the Worker first:
bun run devThen run the CLI against that Worker:
AGENT_THREAD_SERVER_URL=http://127.0.0.1:8787 bun run cliOr upload the latest session without a prompt:
AGENT_THREAD_SERVER_URL=http://127.0.0.1:8787 bun run cli --latestWithout AGENT_THREAD_SERVER_URL, the CLI defaults to the deployed Worker:
bunx agent-threadCloudflare setup
Create an R2 bucket and a D1 database, then update wrangler.toml with the real binding values.
Apply the D1 migration:
bunx wrangler d1 migrations apply agent-threadTest
bun test