Skip to content

Export tools module into code mode runner#14167

Merged
pakrym-oai merged 9 commits intomainfrom
pakrym/export-executecommand-from-toolsjs
Mar 10, 2026
Merged

Export tools module into code mode runner#14167
pakrym-oai merged 9 commits intomainfrom
pakrym/export-executecommand-from-toolsjs

Conversation

@pakrym-oai
Copy link
Copy Markdown
Collaborator

Summary

  • allow code_mode to pass enabled tools metadata to the runner and expose them via tools.js
  • import tools inside JavaScript rather than relying only on globals or proxies for nested tool calls
  • update specs, docs, and tests to exercise the new bridge and explain the tooling changes

Testing

  • Not run (not requested)
});

write_message(&mut stdin, &HostToNodeMessage::Init { source }).await?;
write_message(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oof, we're starting a new process and initing all the tools for each js invocation :|

Ok for PoC but will be nice to have these be startup snapshots when we get to the isolates.

@pakrym-oai pakrym-oai merged commit 7106825 into main Mar 10, 2026
50 of 52 checks passed
@pakrym-oai pakrym-oai deleted the pakrym/export-executecommand-from-toolsjs branch March 10, 2026 04:59
@github-actions github-actions bot locked and limited conversation to collaborators Mar 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants