Files
ruflo/v3/@claude-flow
randRuFlo 1b2deae0ee fix(cli): let agent_spawn take an exact model id (#3215)
agent_spawn's input schema limited `model` to five aliases, so a client
that validates against the schema could not pass an exact model id such
as claude-opus-5-5 or openrouter/anthropic/claude-sonnet-5.5, although
the handler already passes non-alias strings through as modelId (#2962).

The enum is now a bounded string (1-256 chars) with an anchored pattern:
letters, digits and . _ : / @ + -, starting with a letter or digit. The
handler applies the same check to `model` and to `config.model` (the
`agent spawn -m` path, which the schema never sees), so whitespace and
shell metacharacters are refused before the agent is stored. Aliases
route as before; exact ids are reported back as modelId.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 12:04:39 -05:00
..
…