Summary
Use the core command primitive when rendering/executing templates instead of the custom implementation currently in OpenWork. This should align templates with OpenCode’s native tool surface and reduce bespoke logic.
Why
- Keeps parity with OpenCode primitives
- Removes duplicated implementation details
- Simplifies future template features
Notes
- Identify current custom template command flow and swap to the command primitive
- Ensure any UI surfaces map cleanly to the underlying tool