Skip to content

think: drop @cloudflare/shell - #2562

Open
mattzcarey wants to merge 1 commit into
deprecate-shell/3-think-computer-toolsfrom
deprecate-shell/4-think-drop-shell
Open

mattzcarey wants to merge 1 commit into
deprecate-shell/3-think-computer-toolsfrom
deprecate-shell/4-think-drop-shell

Conversation

@mattzcarey

@mattzcarey mattzcarey commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Think no longer depends on @cloudflare/shell. The execute tool's state option and its state.* sandbox namespace are removed. To give sandboxed code the workspace, pass createAITools({ workspace: this.workspace }) as tools.

This was the last Shell import in Think.

Tests ran: think workers suite.

Stacked on #2561.


Stack (merge in order, or merge the top to land them all together):

  1. examples(pi): move to @cloudflare/computer 0.5 #2559 examples(pi): move to @cloudflare/computer 0.5
  2. think, agents: work in a @cloudflare/computer Workspace #2560 think, agents: work in a @cloudflare/computer Workspace
  3. think: use the @cloudflare/computer workspace tools #2561 think: use the @cloudflare/computer workspace tools
  4. think: drop @cloudflare/shell #2562 (this PR) think: drop @cloudflare/shell
  5. examples, docs: move off @cloudflare/shell #2563 examples, docs: move off @cloudflare/shell
  6. shell: deprecate in favour of @cloudflare/computer #2564 shell: deprecate in favour of @cloudflare/computer
  7. think: deprecate createExecuteTool in favour of the Workspace exec tool #2565 think: deprecate createExecuteTool in favour of the Workspace exec tool

devin-ai-integration[bot]

This comment was marked as resolved.

@agent-think

agent-think Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

✅ agents import sizes: no significant changes (c69270ac → d2d8a42e, workflow run)

@mattzcarey
mattzcarey added this pull request to stack #2566 October 12, 2026 11:52
@pkg-pr-new

pkg-pr-new Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

agents

npm i https://pkg.pr.new/agents@2562

@cloudflare/ai-chat

npm i https://pkg.pr.new/@cloudflare/ai-chat@2562

@cloudflare/codemode

npm i https://pkg.pr.new/@cloudflare/codemode@2562

hono-agents

npm i https://pkg.pr.new/hono-agents@2562

@cloudflare/shell

npm i https://pkg.pr.new/@cloudflare/shell@2562

@cloudflare/think

npm i https://pkg.pr.new/@cloudflare/think@2562

@cloudflare/voice

npm i https://pkg.pr.new/@cloudflare/voice@2562

@cloudflare/worker-bundler

npm i https://pkg.pr.new/@cloudflare/worker-bundler@2562

commit: d2d8a42

@mattzcarey
mattzcarey force-pushed the deprecate-shell/4-think-drop-shell branch from f4ed9ff to f16fdcf Compare October 12, 2026 12:32
@changeset-bot

changeset-bot Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2c1bb5b

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

This PR includes changesets to release 2 packages
Name Type
@cloudflare/think Minor
@cloudflare/agent-think Patch

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

@mattzcarey
mattzcarey force-pushed the deprecate-shell/4-think-drop-shell branch from f16fdcf to c4bc875 Compare October 12, 2026 14:09
@mattzcarey
mattzcarey force-pushed the deprecate-shell/4-think-drop-shell branch from c4bc875 to d2d8a42 Compare October 12, 2026 14:11
@mattzcarey
mattzcarey force-pushed the deprecate-shell/4-think-drop-shell branch from d2d8a42 to 2c1bb5b Compare October 12, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant