Skip to content

fix(core): omit unavailable host tools#31050

Closed
kitlangton wants to merge 2 commits into
devfrom
fix/v2-headless-permission-policy
Closed

fix(core): omit unavailable host tools#31050
kitlangton wants to merge 2 commits into
devfrom
fix/v2-headless-permission-policy

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • add an additive OpenCode host configuration for unavailable tools
  • remove unavailable built-in and application tool definitions before prompting
  • settle stale calls to unavailable tools as terminal unknown-tool errors
  • prevent headless hosts from creating unanswered question interactions

Verification

  • application tools, Session runner, public OpenCode, and location layer suites
  • Core, Server, and OpenCode application typechecks
  • git diff --check origin/dev...HEAD

@kitlangton
Copy link
Copy Markdown
Contributor Author

Closing for API redesign. A special layerWithHostConfig({ unavailableTools }) constructor is the wrong abstraction; tool visibility should follow the existing permission/catalog model. We will replace this with a smaller permission-based design.

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