singularity-forge/packages/coding-agent/src
Mikael Hugo 7ea41b89ae feat(ai,coding-agent): wireModelId — provider deployment alias
Adds an optional wireModelId field to the Model interface and a
resolveWireModelId helper. Forge's canonical model.id stays stable for
selection, capability scoring, policy, and history; providers now send
model.wireModelId on the wire when set, model.id otherwise.

Use cases: Azure deployment names, vendor model slugs that differ
from Forge's canonical identity, A/B routing where the operator wants
canonical history but a specific deployment.

Wired through every provider in @singularity-forge/ai (anthropic,
amazon-bedrock, azure-openai-responses, google, google-vertex,
google-gemini-cli, mistral, openai-codex-responses, openai-completions,
openai-responses) plus @singularity-forge/coding-agent's
ModelRegistry (model definitions + per-model overrides).

Tests: openai-completions wireModelId payload coverage +
model-registry-auth-mode coverage for the override + definition fields.
Full pi-ai + coding-agent suite: 956/956 ✓ (7 unrelated skipped).

This realizes the model-registry contract drafted in 1d753af6b.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 09:25:21 +02:00
..
cli sf snapshot: uncommitted changes after 197m inactivity 2026-05-10 15:59:33 +02:00
core feat(ai,coding-agent): wireModelId — provider deployment alias 2026-05-14 09:25:21 +02:00
modes refactor: complete rf-01/rf-02/rf-11 blocked todos 2026-05-11 16:45:39 +02:00
resources/extensions/memory fix(lint): fix all pre-existing lint failures 2026-05-11 04:02:31 +02:00
tests feat(web): add error boundaries, expand test coverage, add README 2026-05-10 11:24:40 +02:00
types feat(web): add error boundaries, expand test coverage, add README 2026-05-10 11:24:40 +02:00
utils fix(lint): fix all pre-existing lint failures 2026-05-11 04:02:31 +02:00
cli.ts refactor: strip internal pi branding (Phase 2A) 2026-05-10 11:50:55 +02:00
config.ts feat(web): add error boundaries, expand test coverage, add README 2026-05-10 11:24:40 +02:00
index.ts fix(bash): add 120s default timeout to prevent autonomous mode hangs 2026-05-11 19:12:33 +02:00
main.ts feat(web): add error boundaries, expand test coverage, add README 2026-05-10 11:24:40 +02:00
migrations.ts feat(web): add error boundaries, expand test coverage, add README 2026-05-10 11:24:40 +02:00