Skip to content

Add dynamic tool to switch thread environment directory#209

Draft
ymichael wants to merge 1 commit into
mainfrom
bb/scope-thread-change-support-thr_a8eyut82sq
Draft

Add dynamic tool to switch thread environment directory#209
ymichael wants to merge 1 commit into
mainfrom
bb/scope-thread-change-support-thr_a8eyut82sq

Conversation

@ymichael

Copy link
Copy Markdown
Owner

Summary

  • Add the update_environment_directory dynamic tool for switching a thread to another host directory on future turns.
  • Reuse any ready environment for the same host/path, and create/provision an unmanaged environment when none exists.
  • Wire the tool into runtime config, internal tool-call dispatch, standard agent instructions, and focused tests.

Test plan

  • pnpm exec turbo run test --filter=@bb/server -- test/internal/internal-events-tool-calls.test.ts test/threads/thread-runtime-config.test.ts
  • pnpm exec turbo run typecheck --filter=@bb/server
  • pnpm exec turbo run typecheck --filter=@bb/templates

@ymichael ymichael marked this pull request as ready for review June 17, 2026 22:58
@ymichael ymichael marked this pull request as draft June 17, 2026 22:58
@ymichael ymichael force-pushed the bb/scope-thread-change-support-thr_a8eyut82sq branch from ebd889a to d65aaa2 Compare June 17, 2026 23:02
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