Retire obsolete provider request publication
This commit is contained in:
parent
c37cae8bc1
commit
87ea81db2a
6 changed files with 7 additions and 122 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -242,7 +242,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "codex-connector"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/GameCult/CodexConnector?rev=89d965b0495ba817a1e48adda0a28509d6637d31#89d965b0495ba817a1e48adda0a28509d6637d31"
|
||||
source = "git+https://github.com/GameCult/CodexConnector?rev=6dc80f6d266db4d82566d2434adcc55a48e8ecad#6dc80f6d266db4d82566d2434adcc55a48e8ecad"
|
||||
dependencies = [
|
||||
"aes-gcm",
|
||||
"base64 0.23.1",
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ epiphany-core = { path = "epiphany-core" }
|
|||
epiphany-model-adapter = { path = "epiphany-model-adapter" }
|
||||
epiphany-openai-adapter = { path = "epiphany-openai-adapter" }
|
||||
epiphany-openai-runtime = { path = "epiphany-openai-runtime", optional = true }
|
||||
codex-connector = { git = "https://github.com/GameCult/CodexConnector", rev = "89d965b0495ba817a1e48adda0a28509d6637d31", default-features = false, features = ["client"], optional = true }
|
||||
codex-connector = { git = "https://github.com/GameCult/CodexConnector", rev = "6dc80f6d266db4d82566d2434adcc55a48e8ecad", default-features = false, features = ["client"], optional = true }
|
||||
epiphany-tool-adapter = { path = "epiphany-tool-adapter" }
|
||||
epiphany-tool-mcp-runtime = { path = "epiphany-tool-mcp-runtime", optional = true }
|
||||
rmp-serde = "1"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ path = "src/lib.rs"
|
|||
|
||||
[dependencies]
|
||||
anyhow = "1"
|
||||
codex-connector = { git = "https://github.com/GameCult/CodexConnector", rev = "89d965b0495ba817a1e48adda0a28509d6637d31", default-features = false }
|
||||
codex-connector = { git = "https://github.com/GameCult/CodexConnector", rev = "6dc80f6d266db4d82566d2434adcc55a48e8ecad", default-features = false }
|
||||
cultcache-rs = { path = "../vendor/cultcache-rs" }
|
||||
epiphany-model-adapter = { path = "../epiphany-model-adapter" }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
|
|
|
|||
|
|
@ -23,11 +23,13 @@ hand-maintained JSON registry.
|
|||
|
||||
## Main Families
|
||||
|
||||
- `epiphany.openai_model_request.v1`: the exact provider request crossing the
|
||||
OpenAI-compatible transport boundary.
|
||||
- `gamecult.persona_state.v0`: portable public Persona state.
|
||||
- `epiphany.work_organ_state.v0`: portable state for lean work organs.
|
||||
|
||||
Provider request contracts are owned by their provider boundary. The shared
|
||||
Codex contract lives in `GameCult/CodexConnector`; Epiphany's closed durable
|
||||
provider-request document is private Mind state, not a public CultNet promise.
|
||||
|
||||
The catalog publishes contracts the executable body actually produces or
|
||||
consumes. Editor capabilities are provider-owned CultMesh/Eve surfaces, not
|
||||
Epiphany-owned Rider or Unity command families. Brokkr owns Unity editor
|
||||
|
|
|
|||
|
|
@ -1,106 +0,0 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://gamecult.dev/epiphany/cultnet/epiphany.openai-model-request.schema.json",
|
||||
"title": "Epiphany OpenAI Model Request",
|
||||
"type": "object",
|
||||
"required": ["schema_id", "request_id", "conversation_id", "model", "instructions", "input", "provider_id", "wire_dialect"],
|
||||
"properties": {
|
||||
"schema_id": { "const": "epiphany.openai_model_request.v1" },
|
||||
"request_id": { "type": "string" },
|
||||
"conversation_id": { "type": "string" },
|
||||
"model": { "type": "string" },
|
||||
"instructions": { "type": "string" },
|
||||
"input": {
|
||||
"type": "array",
|
||||
"items": { "$ref": "#/$defs/input_item" }
|
||||
},
|
||||
"reasoning_effort": { "type": ["string", "null"] },
|
||||
"reasoning_summary": { "type": ["string", "null"] },
|
||||
"service_tier": { "type": ["string", "null"] },
|
||||
"output_contract_id": { "type": ["string", "null"] },
|
||||
"previous_response_id": { "type": ["string", "null"] },
|
||||
"tools": {
|
||||
"type": "array",
|
||||
"items": { "$ref": "#/$defs/tool_definition" }
|
||||
},
|
||||
"output_schema_json": { "type": ["string", "null"] },
|
||||
"provider_id": { "enum": ["openai-codex", "openai", "openrouter"] },
|
||||
"wire_dialect": { "enum": ["Responses", "ChatCompletionsTerminalTool"] }
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$defs": {
|
||||
"input_item": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"required": ["ToolCall"],
|
||||
"properties": {
|
||||
"ToolCall": {
|
||||
"type": "object",
|
||||
"required": ["call_id", "name", "arguments"],
|
||||
"properties": {
|
||||
"call_id": { "type": "string" },
|
||||
"name": { "type": "string" },
|
||||
"arguments": { "type": "string" }
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"required": ["UserText"],
|
||||
"properties": {
|
||||
"UserText": {
|
||||
"type": "object",
|
||||
"required": ["text"],
|
||||
"properties": { "text": { "type": "string" } },
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"required": ["AssistantText"],
|
||||
"properties": {
|
||||
"AssistantText": {
|
||||
"type": "object",
|
||||
"required": ["text"],
|
||||
"properties": { "text": { "type": "string" } },
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"required": ["ToolResult"],
|
||||
"properties": {
|
||||
"ToolResult": {
|
||||
"type": "object",
|
||||
"required": ["call_id", "output"],
|
||||
"properties": {
|
||||
"call_id": { "type": "string" },
|
||||
"output": { "type": "string" }
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"tool_definition": {
|
||||
"type": "object",
|
||||
"required": ["name", "description", "parameters_json"],
|
||||
"properties": {
|
||||
"name": { "type": "string" },
|
||||
"description": { "type": "string" },
|
||||
"parameters_json": { "type": "string" }
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,17 +1,6 @@
|
|||
{
|
||||
"schemaVersion": "epiphany.cultnet_catalog.v0",
|
||||
"schemas": [
|
||||
{
|
||||
"schemaId": "https://gamecult.dev/epiphany/cultnet/epiphany.openai-model-request.schema.json",
|
||||
"kind": "document_payload",
|
||||
"wireContracts": [
|
||||
"cultnet.schema.v0"
|
||||
],
|
||||
"schemaVersion": "epiphany.openai_model_request.v1",
|
||||
"documentType": "epiphany.openai_model_request.v1",
|
||||
"title": "Epiphany OpenAI Model Request",
|
||||
"path": "epiphany.openai-model-request.schema.json"
|
||||
},
|
||||
{
|
||||
"schemaId": "https://gamecult.dev/cultnet/gamecult.persona_state.v0.schema.json",
|
||||
"kind": "document_payload",
|
||||
|
|
|
|||
Reference in a new issue