examples/think, examples/tutorial, docs: Remove Think adapter use - #85
Conversation
|
|
Thanks for your interest in Cloudflare Computer. This repository does not accept unsolicited pull requests. Please use one of the accepted contribution paths instead:
If a maintainer asked you to open this pull request, they can add the |
commit: |
Configure Think agents with the Computer AI tools and workspace.fs instead of the removed root-level compatibility methods. Replace the tutorial's bash tool with exec and update the public integration docs.
2f38406 to
a69510c
Compare
Stack 7 of 7. Base:
stack/improve-tools-06-remove-think-compat. Head:stack/improve-tools-07-migrate-think-examples.The Think and recipe tutorial examples still enabled the removed compatibility layer and described Think's legacy
bashand root-level file tools.This change configures both agents with
createAITools, reads files throughworkspace.fs, disables Think's legacy shell tool, and uses Computer'sexectool for container commands. The tutorial and package documentation now describe the single Workspace facade.Verification
npm run typecheck --workspace @cloudflare/example-think npm run typecheck --workspace @example/computer-tutorial npm run build npx biome check .The checked-in
@cloudflare/thinkversion still declares its old workspace type, so the examples contain a temporary type cast while using the new runtime surface. Once the matching Think release is available, bump that dependency and remove the casts.