OpenWriterControle/packages/compatibility-layer/src
BillionToken ef3836efd6
fix: add missing 'question' tool to ToolAccessSchema (#269)
The 'question' tool is a built-in OpenCode tool used to ask users
to make decisions, but it was missing from the ToolAccessSchema in
types.ts and the isValidOACTool() function in ToolMapper.ts.

This prevented OpenCoder/OpenAgent agents from accessing the tool
even when explicitly configured.

Changes:
- Add question: z.boolean().optional() to ToolAccessSchema
- Add 'question' to validTools array in isValidOACTool()

Fixes #268

Co-authored-by: BillionClaw <267901332+BillionClaw@users.noreply.github.com>
2026-03-24 22:16:19 +00:00
..
adapters feat(lint): resolve all ESLint errors and complete compatibility layer (Issue #141) (#176) 2026-02-06 00:08:14 +00:00
cli feat(lint): resolve all ESLint errors and complete compatibility layer (Issue #141) (#176) 2026-02-06 00:08:14 +00:00
core feat(lint): resolve all ESLint errors and complete compatibility layer (Issue #141) (#176) 2026-02-06 00:08:14 +00:00
mappers fix: add missing 'question' tool to ToolAccessSchema (#269) 2026-03-24 22:16:19 +00:00
index.ts feat(lint): resolve all ESLint errors and complete compatibility layer (Issue #141) (#176) 2026-02-06 00:08:14 +00:00
types.ts fix: add missing 'question' tool to ToolAccessSchema (#269) 2026-03-24 22:16:19 +00:00