| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
examples/think: replace the triage app with a minimal chat example The example was an end-to-end GitHub issue triage application: a workflow with explore and structure phases, issue fetching, webhook progress callbacks, an R2-mounted skill, a container backend, and an assets publisher. That machinery buried the thing the example is meant to show, which is how little code it takes to stand up a Think agent with a workspace. Strip it back to a single `Assistant` Durable Object. It owns one `@cloudflare/workspace` VFS whose only backend is a Dynamic Worker running just-bash, exposes the shared file and shell tools from `@cloudflare/workspace/tools`, and answers on Think's WebSocket chat protocol through `routeAgentRequest`. There is no task, no bespoke HTTP route, and no Docker. The client is a small command that drives the AI SDK v7 terminal UI. It connects an `AgentClient` WebSocket to the agent and adapts it with `WebSocketChatTransport`, the same transport a browser would use, so the terminal chats with the agent directly rather than submitting a job. | 2 个月前 |