Files
oh-my-pi/packages
can1357 2c8daf0578 feat: implemented dynamic coercion for legacy tool argument aliases
- Added `normalizeSingleStringField` to dynamically map misplaced string inputs to required schema fields for single-argument tools.
- Integrated argument normalization into `validateToolArguments` to handle model-specific variations in JSON payloads during validation passes.
- Updated `coding-agent` streaming and rendering components to recognize `_input` as a legacy alias for `input` across various UI paths and logic flows.
- Refactored `hashlineEditParamsSchema` to strictly enforce the `input` field while maintaining support for legacy aliases via runtime coercion rather than schema definition.
- Corrected unit tests to reflect that `_input` is rejected by the strict schema but handled gracefully by the validation layer.
2026-07-02 23:32:35 +02:00
..
2026-07-02 17:50:38 +02:00
2026-07-02 17:50:38 +02:00
2026-07-02 17:50:38 +02:00
2026-07-02 17:50:38 +02:00
2026-07-02 17:50:38 +02:00
2026-07-02 17:50:38 +02:00
2026-07-02 17:50:38 +02:00