Kit a2b3f2c18a fix(tools): flatten nested anyOf schemas for Vertex AI compatibility
Claude API on Vertex AI (Cloud Code Assist) rejects nested anyOf schemas
as invalid JSON Schema draft 2020-12. This change:

- Add tryFlattenLiteralAnyOf() to convert Type.Union([Type.Literal(...)])
  patterns from anyOf with const values to flat enum arrays
- Update stringEnum helper in bash-tools to use Type.Unsafe with flat enum
- Flatten BrowserActSchema from discriminated union to single object
- Simplify TelegramToolSchema to use Type.String() for IDs

Fixes 400 errors when sending messages through WhatsApp/Telegram providers.
2026-01-07 17:51:16 +00:00
..
2026-01-07 11:42:46 +01:00
2026-01-07 17:48:19 +00:00
2026-01-07 17:48:19 +00:00
2026-01-07 17:48:19 +00:00
2026-01-06 00:42:23 +01:00
2026-01-06 02:22:19 +00:00
2026-01-07 05:06:04 +01:00
2026-01-04 14:38:51 +00:00
2026-01-07 10:03:53 +01:00
2026-01-07 17:48:19 +00:00
2026-01-06 07:21:10 +01:00
2026-01-04 14:57:57 +00:00
2026-01-04 14:38:51 +00:00
2026-01-06 04:51:05 +00:00
2026-01-06 04:51:05 +00:00
2025-12-26 02:35:40 +01:00
2026-01-04 14:38:51 +00:00