Skip to content

fix(core): execute renamed tool definitions - #40174

Open
opencode-agent[bot] wants to merge 1 commit into
v2from
renamed-tool-execution
Open

fix(core): execute renamed tool definitions#40174
opencode-agent[bot] wants to merge 1 commit into
v2from
renamed-tool-execution

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • preserve each hooked tool definition's registered implementation when a session context hook renames its key
  • advertise the renamed definition to the model while routing calls back to the captured registry name
  • keep hook-removed and unregistered tools unavailable

Tests

  • bun test test/session-runner.test.ts --timeout 30000
  • bun typecheck

Requested by: @rekram1-node (Aiden Cline via Slack)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant