refactor(models): carry vision limits, output modes and route capabilities
refactor(vision): carry provider image facts as typed limits ImageLimits now carries a VisionProfile: the vision geometry a provider's images are read with, whether they reach it as uploads rather than inline, and the frame cap that applies when the provider states no image count. Every provider extension declares it on its Upstream, and snapcompact's shape, provider_cap and known_cap no longer match provider or model names; shape takes the declared geometry and the cap and the inline byte budget come from the profile. Frames and caps are unchanged for Anthropic API, Claude (uploads, so no byte budget), Bedrock, Antigravity (by model family), Vertex, Mistral, Perplexity and the OpenAI API itself. Codex keeps the unmeasured floor cap of 5 that its catalog attribution gave it before. Behaviour change, because snapcompact can no longer see a model name: routes that serve any vendor's model (Copilot, OpenCode Go and Zen, OpenAI-compatible gateways including OpenRouter) now render the default frame geometry, where a gpt, o-series or gemini-named model there used the OpenAI or Gemini geometry before. Their frame caps follow the host (OpenRouter 90, other gateways the floor) rather than whichever catalog attributed the model. refactor(openai): filter models by the outputs the endpoint lists OpenAI-compatible /models lists that carry architecture.output_modalities (OpenRouter and llama.cpp style gateways) now decide chat eligibility: a model that produces text is kept. The id name filter judges only rows that list no outputs, so a plain OpenAI list is unchanged. Behaviour change, limited to rows that list outputs: a model whose id contains audio, image, or similar but that produces text now appears in the picker, and a model that produces no text is hidden whatever its id says. A new e2e scenario in model_catalogs_test covers both orderings and the id fallback. refactor(copilot): route a model by the endpoints its /models list names The Copilot catalog keeps each model's supported_endpoints when it fetches /models, in a per-endpoint file beside the other model lists, and every connection carries them to the wire. wire.route now takes that fact: a model goes to the Chat Completions, Responses or Messages route its list names, and the prefix guess is only the fallback for a model no fetched list names, documented as such. A model listed on several endpoints keeps the route its family usually takes when that is among them, so no model whose family guess was already served moves; only a model whose list excludes the guess changes route (the new e2e uses a grok id the list serves on chat only). Models and the picker are unchanged. fix(codex): give the ChatGPT backend OpenAI's frame cap Codex's vision profile held snapcompact to the unmeasured floor of 5 frames per request. The floor was never chosen for it: the old cap table spelled the provider openai-codex while its catalog attributes models to codex, so the lookup missed and fell through to the default. The profile is now openai_vision as written for the other OpenAI routes. Snapcompact's frame budget for a Codex session rises from 5 to 60 frames, the inline byte budget being the tighter bound under the 200-frame cap. Geometry and image edge limits are unchanged.