Skip to content

computer: Remove Think compatibility - #84

Draft
aron-cf wants to merge 1 commit into
stack/improve-tools-05-document-toolsfrom
stack/improve-tools-06-remove-think-compat
Draft

computer: Remove Think compatibility#84
aron-cf wants to merge 1 commit into
stack/improve-tools-05-document-toolsfrom
stack/improve-tools-06-remove-think-compat

Conversation

@aron-cf

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

Copy link
Copy Markdown
Contributor

Stack 6 of 7. Base: stack/improve-tools-05-document-tools. Head: stack/improve-tools-06-remove-think-compat.

Computer carried a second, root-level filesystem API solely for older Think integrations. It duplicated workspace.fs, added conditional methods to Workspace and WorkspaceClient, and sent a compatibility flag across Workers RPC.

This breaking change removes WorkspaceOptions.useThink, the root-level adapters, their public types and helpers, and the RPC flag. getWorkspace() now exposes one filesystem surface and no longer inspects remote compatibility state. Regression tests verify that Workspace, WorkspaceStub, and local or remote clients do not recreate the removed API. A separate changeset calls out the migration to workspace.fs and @cloudflare/computer/tools.

Verification

npm run typecheck --workspace @cloudflare/computer
npm test --workspace @cloudflare/computer

This part depends on the corresponding Think migration being released first. The final stack part updates this repository's Think consumers and documentation.

@changeset-bot

changeset-bot Bot commented Aug 7, 2026

Copy link
Copy Markdown

馃 Changeset detected

Latest commit: d8dd000

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cloudflare/computer Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another 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
Delete the useThink option, root-level filesystem adapters,
compatibility types, and Workers RPC flag. Think integrations now
consume workspace.fs and the Computer tool set directly.
@aron-cf
aron-cf force-pushed the stack/improve-tools-06-remove-think-compat branch from 0c893ff to d8dd000 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