{ "version": 1, "caseName": "conversation-session-plugin-mcp-skill-disabled", "spec": "./test/e2e/conversation-session/plugins/conversation-session-plugin-mcp-skill-disabled.test.ts", "fixtures": [ { "id": "upstream-plugin-mcp-skill-disabled-noop", "description": "Plugin MCP skill disabled: agent must NOT advertise the namespaced tool even though the plugin is installed, so the model replies with a normal text turn (no tool_use).", "match": { "method": "POST", "pathIncludes": "/messages", "lastUserMessageIncludes": ["E2E_PLUGIN_MCP_PING_DISABLED"], "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"] }, "response": { "statusCode": 200, "text": { "id": "msg_e2e_plugin_mcp_ping_disabled", "inputTokens": 32, "model": "deepseek-v4-flash", "outputTokens": 16, "text": "E2E_PLUGIN_MCP_PING_DISABLED_NOOP\nupstream-e2e-ok" } }, "metadata": { "kind": "main", "source": "synthetic", "timingPolicy": "fast-text", "syntheticReason": "将旧专项回放原样归入本用例;真实 Agent 注册工具、工具调用和 Provider tools 数组仍由 E2E 断言。" } }, { "id": "plugin-mcp-disabled-title", "metadata": { "kind": "common", "source": "synthetic", "timingPolicy": "fast-text", "syntheticReason": "固定辅助标题,避免独立回放依赖旧共享 fixture 池。" }, "match": { "method": "POST", "pathIncludes": "/messages", "bodyIncludes": ["Generate a concise title", "E2E_PLUGIN_MCP_PING_DISABLED"] }, "response": { "statusCode": 200, "headers": { "content-type": "application/json; charset=utf-8" }, "body": "{\"id\":\"msg_upstream_e2e_text\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"deepseek-v4-flash\",\"content\":[{\"type\":\"text\",\"text\":\"{\\\"title\\\":\\\"Plugin MCP lifecycle\\\"}\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":128,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"output_tokens\":12,\"service_tier\":\"standard\"}}" } } ] }