{ "version": 1, "caseName": "conversation-session-remote-data-sync-runtime-usage", "spec": "./test/e2e/conversation-session/remote/data-sync/conversation-session-remote-data-sync-runtime-usage.test.ts", "fixtures": [ { "id": "dsync-17-title", "description": "task A、B、C 首发的标题生成。", "metadata": { "kind": "common", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "标题不属于远端可用性断言,只需保持 task 行稳定。" }, "maxMatches": 6, "match": { "method": "POST", "pathIncludes": "/chat/completions", "bodyIncludes": ["Generate a concise title", "E2E_DSYNC_17_RUNTIME_USAGE"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-title\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"{\\\"title\\\":\\\"DSYNC 17 runtime usage\\\"}\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-title\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-subagent-reply", "description": "子智能体按推送的定义运行:系统提示含子智能体正文时回复完成标记。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "固定子智能体回复,证明远端用的是推送过去的子智能体定义。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_AGENT_TASK"], "bodyIncludes": ["E2E_DSYNC_17_AGENT_BODY"], "bodyExcludes": ["Generate a concise title"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-subagent\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"E2E_DSYNC_17_AGENT_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-subagent\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-subagent-wrong-profile", "description": "子智能体请求没有带推送的定义正文。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "让定义缺失时得到可断言的错误回复,而不是回放未命中。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_AGENT_TASK"], "bodyExcludes": ["Generate a concise title"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-subagent-wrong\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"E2E_DSYNC_17_AGENT_WRONG_PROFILE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-subagent-wrong\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-skill_existing-final", "description": "Skill 工具结果返回后的最终回复。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "bodyIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE", "call_dsync17_skill_existing"], "bodyExcludes": [ "Generate a concise title", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_EXISTING_AGENT", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_MCP", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_INLINE", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_MARKET", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_SKILL_NEW", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_AGENT" ] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-SKILL_EXISTING-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_SKILL_EXISTING_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-SKILL_EXISTING-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-existing_agent-final", "description": "Agent 工具结果返回后的最终回复。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "bodyIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE", "call_dsync17_existing_agent"], "bodyExcludes": [ "Generate a concise title", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_MCP", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_INLINE", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_MARKET", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_SKILL_NEW", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_AGENT" ] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-EXISTING_AGENT-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_EXISTING_AGENT_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-EXISTING_AGENT-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-mcp-final", "description": "mcp__e2e-dsync-17-mcp__marker 工具结果返回后的最终回复。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "bodyIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE", "call_dsync17_mcp"], "bodyExcludes": [ "Generate a concise title", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_INLINE", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_MARKET", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_SKILL_NEW", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_AGENT" ] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-MCP-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_MCP_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-MCP-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-inline-final", "description": "mcp__plugin_e2e-dsync-17-inline_rt__marker 工具结果返回后的最终回复。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "bodyIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE", "call_dsync17_inline"], "bodyExcludes": [ "Generate a concise title", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_MARKET", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_SKILL_NEW", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_AGENT" ] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-INLINE-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_INLINE_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-INLINE-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-market-final", "description": "mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker 工具结果返回后的最终回复。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "bodyIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE", "call_dsync17_market"], "bodyExcludes": [ "Generate a concise title", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_SKILL_NEW", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_AGENT" ] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-MARKET-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_MARKET_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-MARKET-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-skill_new-final", "description": "Skill 工具结果返回后的最终回复。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "bodyIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE", "call_dsync17_skill_new"], "bodyExcludes": ["Generate a concise title", "E2E_DSYNC_17_RUNTIME_USAGE_RUN_AGENT"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-SKILL_NEW-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_SKILL_NEW_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-SKILL_NEW-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-agent-final", "description": "Agent 工具结果返回后的最终回复。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "bodyIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE", "call_dsync17_agent"], "bodyExcludes": ["Generate a concise title"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-AGENT-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_AGENT_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-AGENT-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-skill_existing-call", "description": "模型请求暴露推送内容时调用 Skill。", "metadata": { "kind": "main", "timingPolicy": "tool-use", "source": "synthetic", "syntheticReason": "固定工具调用,检查远端是否真的执行推送过去的内容。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_RUN_SKILL_EXISTING"], "bodyExcludes": ["Generate a concise title", "call_dsync17_skill_existing"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-SKILL_EXISTING-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-SKILL_EXISTING-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync17_skill_existing\",\"type\":\"function\",\"function\":{\"name\":\"Skill\",\"arguments\":\"{\\\"skill\\\":\\\"e2e-dsync-17-skill\\\"}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-SKILL_EXISTING-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"tool_calls\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-skill_existing-not-exposed", "description": "模型请求没有暴露 Skill 所需的推送内容。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "推送内容不可见时给出可断言的回复,而不是回放未命中。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_RUN_SKILL_EXISTING"], "bodyExcludes": ["Generate a concise title", "call_dsync17_skill_existing"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-SKILL_EXISTING-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_SKILL_EXISTING_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-SKILL_EXISTING-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-existing_agent-call", "description": "模型请求暴露推送内容时调用 Agent。", "metadata": { "kind": "main", "timingPolicy": "tool-use", "source": "synthetic", "syntheticReason": "固定工具调用,检查远端是否真的执行推送过去的内容。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_RUN_EXISTING_AGENT"], "bodyIncludes": ["E2E_DSYNC_17_AGENT_DESC"], "bodyExcludes": ["Generate a concise title", "call_dsync17_existing_agent"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-EXISTING_AGENT-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-EXISTING_AGENT-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync17_existing_agent\",\"type\":\"function\",\"function\":{\"name\":\"Agent\",\"arguments\":\"{\\\"description\\\":\\\"dsync17 subagent in task A\\\",\\\"prompt\\\":\\\"E2E_DSYNC_17_AGENT_TASK: 只回复 E2E_DSYNC_17_AGENT_DONE\\\",\\\"subagent_type\\\":\\\"e2e-dsync-17-agent\\\"}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-EXISTING_AGENT-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"tool_calls\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-existing_agent-not-exposed", "description": "模型请求没有暴露 Agent 所需的推送内容。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "推送内容不可见时给出可断言的回复,而不是回放未命中。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_RUN_EXISTING_AGENT"], "bodyExcludes": ["Generate a concise title", "call_dsync17_existing_agent"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-EXISTING_AGENT-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_EXISTING_AGENT_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-EXISTING_AGENT-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-mcp-call", "description": "模型请求暴露推送内容时调用 mcp__e2e-dsync-17-mcp__marker。", "metadata": { "kind": "main", "timingPolicy": "tool-use", "source": "synthetic", "syntheticReason": "固定工具调用,检查远端是否真的执行推送过去的内容。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_RUN_MCP"], "bodyIncludes": ["mcp__e2e-dsync-17-mcp__marker"], "bodyExcludes": ["Generate a concise title", "call_dsync17_mcp"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-MCP-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-MCP-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync17_mcp\",\"type\":\"function\",\"function\":{\"name\":\"mcp__e2e-dsync-17-mcp__marker\",\"arguments\":\"{}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-MCP-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"tool_calls\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-mcp-not-exposed", "description": "模型请求没有暴露 mcp__e2e-dsync-17-mcp__marker 所需的推送内容。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "推送内容不可见时给出可断言的回复,而不是回放未命中。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_RUN_MCP"], "bodyExcludes": ["Generate a concise title", "call_dsync17_mcp"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-MCP-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_MCP_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-MCP-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-inline-call", "description": "模型请求暴露推送内容时调用 mcp__plugin_e2e-dsync-17-inline_rt__marker。", "metadata": { "kind": "main", "timingPolicy": "tool-use", "source": "synthetic", "syntheticReason": "固定工具调用,检查远端是否真的执行推送过去的内容。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_RUN_INLINE"], "bodyIncludes": ["mcp__plugin_e2e-dsync-17-inline_rt__marker"], "bodyExcludes": ["Generate a concise title", "call_dsync17_inline"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-INLINE-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-INLINE-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync17_inline\",\"type\":\"function\",\"function\":{\"name\":\"mcp__plugin_e2e-dsync-17-inline_rt__marker\",\"arguments\":\"{}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-INLINE-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"tool_calls\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-inline-not-exposed", "description": "模型请求没有暴露 mcp__plugin_e2e-dsync-17-inline_rt__marker 所需的推送内容。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "推送内容不可见时给出可断言的回复,而不是回放未命中。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_RUN_INLINE"], "bodyExcludes": ["Generate a concise title", "call_dsync17_inline"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-INLINE-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_INLINE_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-INLINE-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-market-call", "description": "模型请求暴露推送内容时调用 mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker。", "metadata": { "kind": "main", "timingPolicy": "tool-use", "source": "synthetic", "syntheticReason": "固定工具调用,检查远端是否真的执行推送过去的内容。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_RUN_MARKET"], "bodyIncludes": ["mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker"], "bodyExcludes": ["Generate a concise title", "call_dsync17_market"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-MARKET-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-MARKET-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync17_market\",\"type\":\"function\",\"function\":{\"name\":\"mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker\",\"arguments\":\"{}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-MARKET-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"tool_calls\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-market-not-exposed", "description": "模型请求没有暴露 mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker 所需的推送内容。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "推送内容不可见时给出可断言的回复,而不是回放未命中。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_RUN_MARKET"], "bodyExcludes": ["Generate a concise title", "call_dsync17_market"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-MARKET-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_MARKET_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-MARKET-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-skill_new-call", "description": "模型请求暴露推送内容时调用 Skill。", "metadata": { "kind": "main", "timingPolicy": "tool-use", "source": "synthetic", "syntheticReason": "固定工具调用,检查远端是否真的执行推送过去的内容。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_RUN_SKILL_NEW"], "bodyExcludes": ["Generate a concise title", "call_dsync17_skill_new"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-SKILL_NEW-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-SKILL_NEW-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync17_skill_new\",\"type\":\"function\",\"function\":{\"name\":\"Skill\",\"arguments\":\"{\\\"skill\\\":\\\"e2e-dsync-17-skill\\\"}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-SKILL_NEW-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"tool_calls\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-skill_new-not-exposed", "description": "模型请求没有暴露 Skill 所需的推送内容。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "推送内容不可见时给出可断言的回复,而不是回放未命中。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_RUN_SKILL_NEW"], "bodyExcludes": ["Generate a concise title", "call_dsync17_skill_new"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-SKILL_NEW-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_SKILL_NEW_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-SKILL_NEW-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-agent-call", "description": "模型请求暴露推送内容时调用 Agent。", "metadata": { "kind": "main", "timingPolicy": "tool-use", "source": "synthetic", "syntheticReason": "固定工具调用,检查远端是否真的执行推送过去的内容。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_RUN_AGENT"], "bodyIncludes": ["E2E_DSYNC_17_AGENT_DESC"], "bodyExcludes": ["Generate a concise title", "call_dsync17_agent"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-AGENT-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-AGENT-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync17_agent\",\"type\":\"function\",\"function\":{\"name\":\"Agent\",\"arguments\":\"{\\\"description\\\":\\\"dsync17 subagent\\\",\\\"prompt\\\":\\\"E2E_DSYNC_17_AGENT_TASK: 只回复 E2E_DSYNC_17_AGENT_DONE\\\",\\\"subagent_type\\\":\\\"e2e-dsync-17-agent\\\"}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-AGENT-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"tool_calls\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-run-agent-not-exposed", "description": "模型请求没有暴露 Agent 所需的推送内容。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "推送内容不可见时给出可断言的回复,而不是回放未命中。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_RUN_AGENT"], "bodyExcludes": ["Generate a concise title", "call_dsync17_agent"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-AGENT-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_AGENT_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-AGENT-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-first-turn", "description": "推送前 task A 的首发(对照组)。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "建立推送前已存在的远端会话。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_A_FIRST_PROMPT"], "bodyExcludes": ["Generate a concise title"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-first\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUNTIME_USAGE_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-first\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-probe-draft", "description": "探针轮次 DRAFT:只回复固定文本,用模型请求判断可见内容。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_PROBE_DRAFT"], "bodyExcludes": ["Generate a concise title"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-probe-DRAFT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_PROBE_DRAFT_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-probe-DRAFT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-probe-hook-draft", "description": "探针轮次 HOOK_DRAFT:只回复固定文本,用模型请求判断可见内容。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_PROBE_HOOK_DRAFT"], "bodyExcludes": ["Generate a concise title"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-probe-HOOK_DRAFT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_PROBE_HOOK_DRAFT_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-probe-HOOK_DRAFT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-probe-existing-1", "description": "探针轮次 EXISTING_1:只回复固定文本,用模型请求判断可见内容。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_PROBE_EXISTING_1"], "bodyExcludes": ["Generate a concise title"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-probe-EXISTING_1\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_PROBE_EXISTING_1_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-probe-EXISTING_1\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-probe-existing-2", "description": "探针轮次 EXISTING_2:只回复固定文本,用模型请求判断可见内容。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_PROBE_EXISTING_2"], "bodyExcludes": ["Generate a concise title"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-probe-EXISTING_2\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_PROBE_EXISTING_2_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-probe-EXISTING_2\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-probe-new", "description": "探针轮次 NEW:只回复固定文本,用模型请求判断可见内容。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_RUNTIME_USAGE_PROBE_NEW"], "bodyExcludes": ["Generate a concise title"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-probe-NEW\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_PROBE_NEW_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-probe-NEW\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-command-draft", "description": "命令轮次 DRAFT:检查 /命令 是否展开为命令正文。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "命令展开发生在远端 CLI,断言读取本轮模型请求。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_CMD_DRAFT"], "bodyExcludes": ["Generate a concise title"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-command-DRAFT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_CMD_DRAFT_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-command-DRAFT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-command-existing", "description": "命令轮次 EXISTING:检查 /命令 是否展开为命令正文。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "命令展开发生在远端 CLI,断言读取本轮模型请求。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_CMD_EXISTING"], "bodyExcludes": ["Generate a concise title"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-command-EXISTING\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_CMD_EXISTING_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-command-EXISTING\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } }, { "id": "dsync-17-command-new", "description": "命令轮次 NEW:检查 /命令 是否展开为命令正文。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "命令展开发生在远端 CLI,断言读取本轮模型请求。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_DSYNC_17_CMD_NEW"], "bodyExcludes": ["Generate a concise title"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"dsync-17-command-NEW\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_CMD_NEW_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-command-NEW\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n" } } ] }