feat(engine): register MCP profiles and provider transitions

This commit is contained in:
Codex
2026-07-25 15:39:23 +03:00
parent 951b884c4b
commit e9e03143cd
21 changed files with 3573 additions and 28 deletions
@@ -147,15 +147,15 @@ class EngineNodeIntelligenceTest(unittest.TestCase):
)
self.assertEqual(actual, descriptor)
def test_gateway_accepts_registered_0_11_and_rejects_unknown_successors(self):
def test_gateway_accepts_registered_0_12_and_rejects_unknown_successors(self):
with tempfile.TemporaryDirectory() as directory:
payload, descriptor = self.make_activation_payload(Path(directory))
gateway = payload / RUNNER.ENGINE_NODE_INTELLIGENCE_GATEWAY_REL
gateway_text = gateway.read_text(encoding="utf-8")
self.assertIn("const ENGINE_AGENT_MCP_VERSION = '0.11.0'", gateway_text)
self.assertIn("const ENGINE_AGENT_MCP_VERSION = '0.12.0'", gateway_text)
gateway.write_text(
gateway_text.replace(
"const ENGINE_AGENT_MCP_VERSION = '0.11.0'",
"const ENGINE_AGENT_MCP_VERSION = '0.12.0'",
"const ENGINE_AGENT_MCP_VERSION = '9.9.9'",
),
encoding="utf-8",