| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- {
- "version": 1,
- "caseName": "conversation-session-plugin-mcp-skill-not-installed",
- "spec": "./test/e2e/conversation-session/plugins/conversation-session-plugin-mcp-skill-not-installed.test.ts",
- "fixtures": [
- {
- "id": "upstream-plugin-mcp-skill-not-installed-noop",
- "description": "Plugin MCP skill not-installed baseline: agent must NOT advertise the namespaced tool, so the model replies with a normal text turn (no tool_use).",
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "lastUserMessageIncludes": ["E2E_PLUGIN_MCP_PING_NOT_INSTALLED"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "msg_e2e_plugin_mcp_ping_not_installed",
- "inputTokens": 32,
- "model": "deepseek-v4-flash",
- "outputTokens": 16,
- "text": "E2E_PLUGIN_MCP_PING_NOT_INSTALLED_NOOP\nupstream-e2e-ok"
- }
- },
- "metadata": {
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "将旧专项回放原样归入本用例;真实 Agent 注册工具、工具调用和 Provider tools 数组仍由 E2E 断言。"
- }
- },
- {
- "id": "plugin-mcp-not-installed-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_NOT_INSTALLED"]
- },
- "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\"}}"
- }
- }
- ]
- }
|