Skip to content

examples/think, examples/tutorial, docs: Remove Think adapter use - #85

Draft
aron-cf wants to merge 1 commit into
stack/improve-tools-06-remove-think-compatfrom
stack/improve-tools-07-migrate-think-examples
Draft

examples/think, examples/tutorial, docs: Remove Think adapter use#85
aron-cf wants to merge 1 commit into
stack/improve-tools-06-remove-think-compatfrom
stack/improve-tools-07-migrate-think-examples

Conversation

@aron-cf

@aron-cf aron-cf commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

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 bash and root-level file tools.

This change configures both agents with createAITools, reads files through workspace.fs, disables Think's legacy shell tool, and uses Computer's exec tool 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/think version 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.

@changeset-bot

changeset-bot Bot commented Aug 7, 2026

Copy link
Copy Markdown

鈿狅笍 No Changeset found

Latest commit: a69510c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

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 allow-pr label and reopen it.

@github-actions github-actions Bot closed this Aug 7, 2026
@aron-cf aron-cf added the allow-pr Allow a PR to remain open. label Aug 7, 2026
@aron-cf aron-cf reopened this Aug 7, 2026
@pkg-pr-new

pkg-pr-new Bot commented Aug 7, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@cloudflare/computer@85

commit: a69510c

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.
@aron-cf
aron-cf force-pushed the stack/improve-tools-07-migrate-think-examples branch from 2f38406 to a69510c Compare August 7, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

allow-pr Allow a PR to remain open.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant