Lift the connector contract, envelope and client from CodexConnector fd7cec4

Workspace with the model-connector crate. contract.rs, envelope.rs and client.rs
are CodexConnector lib.rs moved verbatim under the rename rule (strip the leading
Codex from identifiers); schema id strings are unchanged, so the v2 wire is
unchanged. canonical_responses_body stays behind: it is OpenAI Responses lowering.
The moved tests keep their bodies; shared fixtures live in fixtures.rs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-28 04:39:58 +01:00
commit 76e4e4f269
9 changed files with 2150 additions and 0 deletions

9
Cargo.toml Normal file
View file

@ -0,0 +1,9 @@
[workspace]
members = ["crates/*"]
resolver = "3"
[workspace.package]
version = "0.1.0"
edition = "2024"
license = "AGPL-3.0-only"
repository = "https://eureka.gamecult.org/forge/GameCult/ModelConnector"