mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
OmpRpcSlashCommandSchema had a strict source enum ['extension', 'prompt', 'skill', 'builtin'] that rejected omp commands with source 'custom' or 'file'. When omp reported any such command, the entire get_available_commands response failed Zod validation and listCommands returned an empty array — so the Paseo autocomplete only showed /exit and /clear instead of all omp commands. Relax source to z.string().optional(), matching the already-permissive OmpAvailableCommandSchema used for the available_commands_update event.