| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986 |
- {
- "version": 1,
- "caseName": "conversation-session-local-config-runtime-usage",
- "spec": "./test/e2e/conversation-session/runtime/conversation-session-local-config-runtime-usage.test.ts",
- "fixtures": [
- {
- "id": "dsync-18-title",
- "description": "各 task 首发的标题生成。",
- "metadata": {
- "kind": "common",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "标题不属于可用性断言,只需保持 task 行稳定。"
- },
- "maxMatches": 20,
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "bodyIncludes": ["Generate a concise title", "E2E_DSYNC_18_LOCAL_RUNTIME"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-title\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"{\\\"title\\\":\\\"DSYNC 18 local runtime\\\"}\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-title\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-subagent-reply",
- "description": "子智能体按新建的定义运行:系统提示含子智能体正文时回复完成标记。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定子智能体回复,证明本机用的是刚新建的子智能体定义。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_AGENT_TASK"],
- "bodyIncludes": ["E2E_DSYNC_18_AGENT_BODY"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-subagent\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"E2E_DSYNC_18_AGENT_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-subagent\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-subagent-wrong-profile",
- "description": "子智能体请求没有带新建的定义正文。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "定义缺失时得到可断言的错误回复,而不是回放未命中。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_AGENT_TASK"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-subagent-wrong\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"E2E_DSYNC_18_AGENT_WRONG_PROFILE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-subagent-wrong\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-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_18_LOCAL_RUNTIME", "call_dsync18_skill_existing"],
- "bodyExcludes": [
- "Generate a concise title",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT_EXISTING:",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MCP:",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_INLINE:",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MARKET:",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_SKILL_NEW:",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT:"
- ]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-SKILL_EXISTING-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_RUN_SKILL_EXISTING_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-SKILL_EXISTING-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-run-agent_existing-final",
- "description": "Agent 工具结果返回后的最终回复。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "bodyIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME", "call_dsync18_agent_existing"],
- "bodyExcludes": [
- "Generate a concise title",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MCP:",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_INLINE:",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MARKET:",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_SKILL_NEW:",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT:"
- ]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-AGENT_EXISTING-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_RUN_AGENT_EXISTING_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-AGENT_EXISTING-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-run-mcp-final",
- "description": "mcp__e2e-dsync-18-mcp__marker 工具结果返回后的最终回复。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "bodyIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME", "call_dsync18_mcp"],
- "bodyExcludes": [
- "Generate a concise title",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_INLINE:",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MARKET:",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_SKILL_NEW:",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT:"
- ]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-MCP-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_RUN_MCP_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-MCP-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-run-inline-final",
- "description": "mcp__plugin_e2e-dsync-18-inline_rt__marker 工具结果返回后的最终回复。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "bodyIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME", "call_dsync18_inline"],
- "bodyExcludes": [
- "Generate a concise title",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MARKET:",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_SKILL_NEW:",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT:"
- ]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-INLINE-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_RUN_INLINE_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-INLINE-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-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_18_LOCAL_RUNTIME", "call_dsync18_market"],
- "bodyExcludes": [
- "Generate a concise title",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_SKILL_NEW:",
- "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT:"
- ]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-MARKET-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_RUN_MARKET_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-MARKET-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-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_18_LOCAL_RUNTIME", "call_dsync18_skill_new"],
- "bodyExcludes": ["Generate a concise title", "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT:"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-SKILL_NEW-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_RUN_SKILL_NEW_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-SKILL_NEW-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-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_18_LOCAL_RUNTIME", "call_dsync18_agent"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-AGENT-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_RUN_AGENT_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-AGENT-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-run-skill_existing-call",
- "description": "模型请求暴露新建内容时调用 Skill。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "tool-use",
- "source": "synthetic",
- "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_SKILL_EXISTING:"],
- "bodyExcludes": ["Generate a concise title", "call_dsync18_skill_existing"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-SKILL_EXISTING-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-SKILL_EXISTING-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync18_skill_existing\",\"type\":\"function\",\"function\":{\"name\":\"Skill\",\"arguments\":\"{\\\"skill\\\":\\\"e2e-dsync-18-skill\\\"}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-SKILL_EXISTING-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-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_18_LOCAL_RUNTIME_RUN_SKILL_EXISTING:"],
- "bodyExcludes": ["Generate a concise title", "call_dsync18_skill_existing"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-SKILL_EXISTING-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_RUN_SKILL_EXISTING_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-SKILL_EXISTING-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-run-agent_existing-call",
- "description": "模型请求暴露新建内容时调用 Agent。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "tool-use",
- "source": "synthetic",
- "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT_EXISTING:"],
- "bodyIncludes": ["E2E_DSYNC_18_AGENT_DESC"],
- "bodyExcludes": ["Generate a concise title", "call_dsync18_agent_existing"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-AGENT_EXISTING-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-AGENT_EXISTING-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync18_agent_existing\",\"type\":\"function\",\"function\":{\"name\":\"Agent\",\"arguments\":\"{\\\"description\\\":\\\"dsync18 subagent\\\",\\\"prompt\\\":\\\"E2E_DSYNC_18_AGENT_TASK: 只回复 E2E_DSYNC_18_AGENT_DONE\\\",\\\"subagent_type\\\":\\\"e2e-dsync-18-agent\\\"}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-AGENT_EXISTING-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-run-agent_existing-not-exposed",
- "description": "模型请求没有暴露 Agent 所需的新建内容。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT_EXISTING:"],
- "bodyExcludes": ["Generate a concise title", "call_dsync18_agent_existing"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-AGENT_EXISTING-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_RUN_AGENT_EXISTING_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-AGENT_EXISTING-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-run-mcp-call",
- "description": "模型请求暴露新建内容时调用 mcp__e2e-dsync-18-mcp__marker。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "tool-use",
- "source": "synthetic",
- "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MCP:"],
- "bodyIncludes": ["mcp__e2e-dsync-18-mcp__marker"],
- "bodyExcludes": ["Generate a concise title", "call_dsync18_mcp"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-MCP-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-MCP-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync18_mcp\",\"type\":\"function\",\"function\":{\"name\":\"mcp__e2e-dsync-18-mcp__marker\",\"arguments\":\"{}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-MCP-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-run-mcp-not-exposed",
- "description": "模型请求没有暴露 mcp__e2e-dsync-18-mcp__marker 所需的新建内容。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MCP:"],
- "bodyExcludes": ["Generate a concise title", "call_dsync18_mcp"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-MCP-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_RUN_MCP_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-MCP-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-run-inline-call",
- "description": "模型请求暴露新建内容时调用 mcp__plugin_e2e-dsync-18-inline_rt__marker。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "tool-use",
- "source": "synthetic",
- "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_INLINE:"],
- "bodyIncludes": ["mcp__plugin_e2e-dsync-18-inline_rt__marker"],
- "bodyExcludes": ["Generate a concise title", "call_dsync18_inline"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-INLINE-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-INLINE-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync18_inline\",\"type\":\"function\",\"function\":{\"name\":\"mcp__plugin_e2e-dsync-18-inline_rt__marker\",\"arguments\":\"{}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-INLINE-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-run-inline-not-exposed",
- "description": "模型请求没有暴露 mcp__plugin_e2e-dsync-18-inline_rt__marker 所需的新建内容。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_INLINE:"],
- "bodyExcludes": ["Generate a concise title", "call_dsync18_inline"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-INLINE-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_RUN_INLINE_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-INLINE-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-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_18_LOCAL_RUNTIME_RUN_MARKET:"],
- "bodyIncludes": ["mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker"],
- "bodyExcludes": ["Generate a concise title", "call_dsync18_market"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-MARKET-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-MARKET-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync18_market\",\"type\":\"function\",\"function\":{\"name\":\"mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker\",\"arguments\":\"{}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-MARKET-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-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_18_LOCAL_RUNTIME_RUN_MARKET:"],
- "bodyExcludes": ["Generate a concise title", "call_dsync18_market"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-MARKET-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_RUN_MARKET_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-MARKET-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-run-skill_new-call",
- "description": "模型请求暴露新建内容时调用 Skill。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "tool-use",
- "source": "synthetic",
- "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_SKILL_NEW:"],
- "bodyExcludes": ["Generate a concise title", "call_dsync18_skill_new"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-SKILL_NEW-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-SKILL_NEW-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync18_skill_new\",\"type\":\"function\",\"function\":{\"name\":\"Skill\",\"arguments\":\"{\\\"skill\\\":\\\"e2e-dsync-18-skill\\\"}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-SKILL_NEW-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-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_18_LOCAL_RUNTIME_RUN_SKILL_NEW:"],
- "bodyExcludes": ["Generate a concise title", "call_dsync18_skill_new"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-SKILL_NEW-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_RUN_SKILL_NEW_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-SKILL_NEW-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-run-agent-call",
- "description": "模型请求暴露新建内容时调用 Agent。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "tool-use",
- "source": "synthetic",
- "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT:"],
- "bodyIncludes": ["E2E_DSYNC_18_AGENT_DESC"],
- "bodyExcludes": ["Generate a concise title", "call_dsync18_agent"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-AGENT-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-AGENT-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync18_agent\",\"type\":\"function\",\"function\":{\"name\":\"Agent\",\"arguments\":\"{\\\"description\\\":\\\"dsync18 subagent\\\",\\\"prompt\\\":\\\"E2E_DSYNC_18_AGENT_TASK: 只回复 E2E_DSYNC_18_AGENT_DONE\\\",\\\"subagent_type\\\":\\\"e2e-dsync-18-agent\\\"}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-AGENT-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-run-agent-not-exposed",
- "description": "模型请求没有暴露 Agent 所需的新建内容。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT:"],
- "bodyExcludes": ["Generate a concise title", "call_dsync18_agent"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-AGENT-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_RUN_AGENT_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-AGENT-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-first-turn",
- "description": "新建配置前 task A 的首发(对照组)。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "建立配置变更前已存在的本机会话。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_A_FIRST_PROMPT"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-first\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_LOCAL_RUNTIME_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-first\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-probe-draft-subagent",
- "description": "探针轮次 DRAFT_SUBAGENT:只回复固定文本,用模型请求判断可见内容。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_DRAFT_SUBAGENT:"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-probe-DRAFT_SUBAGENT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_PROBE_DRAFT_SUBAGENT_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-probe-DRAFT_SUBAGENT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-probe-draft-subagent-2",
- "description": "探针轮次 DRAFT_SUBAGENT_2:只回复固定文本,用模型请求判断可见内容。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_DRAFT_SUBAGENT_2:"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-probe-DRAFT_SUBAGENT_2\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_PROBE_DRAFT_SUBAGENT_2_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-probe-DRAFT_SUBAGENT_2\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-probe-existing-subagent",
- "description": "探针轮次 EXISTING_SUBAGENT:只回复固定文本,用模型请求判断可见内容。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_EXISTING_SUBAGENT:"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-probe-EXISTING_SUBAGENT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_PROBE_EXISTING_SUBAGENT_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-probe-EXISTING_SUBAGENT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-probe-draft-mcp",
- "description": "探针轮次 DRAFT_MCP:只回复固定文本,用模型请求判断可见内容。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_DRAFT_MCP:"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-probe-DRAFT_MCP\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_PROBE_DRAFT_MCP_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-probe-DRAFT_MCP\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-probe-existing-mcp",
- "description": "探针轮次 EXISTING_MCP:只回复固定文本,用模型请求判断可见内容。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_EXISTING_MCP:"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-probe-EXISTING_MCP\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_PROBE_EXISTING_MCP_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-probe-EXISTING_MCP\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-probe-draft-hook",
- "description": "探针轮次 DRAFT_HOOK:只回复固定文本,用模型请求判断可见内容。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_DRAFT_HOOK:"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-probe-DRAFT_HOOK\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_PROBE_DRAFT_HOOK_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-probe-DRAFT_HOOK\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-probe-existing-hook",
- "description": "探针轮次 EXISTING_HOOK:只回复固定文本,用模型请求判断可见内容。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_EXISTING_HOOK:"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-probe-EXISTING_HOOK\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_PROBE_EXISTING_HOOK_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-probe-EXISTING_HOOK\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-probe-draft-skill",
- "description": "探针轮次 DRAFT_SKILL:只回复固定文本,用模型请求判断可见内容。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_DRAFT_SKILL:"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-probe-DRAFT_SKILL\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_PROBE_DRAFT_SKILL_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-probe-DRAFT_SKILL\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-probe-existing-skill",
- "description": "探针轮次 EXISTING_SKILL:只回复固定文本,用模型请求判断可见内容。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_EXISTING_SKILL:"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-probe-EXISTING_SKILL\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_PROBE_EXISTING_SKILL_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-probe-EXISTING_SKILL\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-probe-draft-inline",
- "description": "探针轮次 DRAFT_INLINE:只回复固定文本,用模型请求判断可见内容。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_DRAFT_INLINE:"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-probe-DRAFT_INLINE\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_PROBE_DRAFT_INLINE_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-probe-DRAFT_INLINE\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-probe-existing-inline",
- "description": "探针轮次 EXISTING_INLINE:只回复固定文本,用模型请求判断可见内容。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_EXISTING_INLINE:"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-probe-EXISTING_INLINE\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_PROBE_EXISTING_INLINE_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-probe-EXISTING_INLINE\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-probe-existing-market",
- "description": "探针轮次 EXISTING_MARKET:只回复固定文本,用模型请求判断可见内容。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_EXISTING_MARKET:"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-probe-EXISTING_MARKET\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_PROBE_EXISTING_MARKET_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-probe-EXISTING_MARKET\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-probe-new",
- "description": "探针轮次 NEW:只回复固定文本,用模型请求判断可见内容。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_NEW:"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-probe-NEW\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_PROBE_NEW_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-probe-NEW\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-command-draft",
- "description": "命令轮次 DRAFT:检查 /命令 是否展开为命令正文。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "命令展开发生在 CLI,断言读取本轮模型请求。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_CMD_DRAFT"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-command-DRAFT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_CMD_DRAFT_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-command-DRAFT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-command-existing",
- "description": "命令轮次 EXISTING:检查 /命令 是否展开为命令正文。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "命令展开发生在 CLI,断言读取本轮模型请求。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_CMD_EXISTING"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-command-EXISTING\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_CMD_EXISTING_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-command-EXISTING\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-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-18-command-new",
- "description": "命令轮次 NEW:检查 /命令 是否展开为命令正文。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "命令展开发生在 CLI,断言读取本轮模型请求。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "lastUserMessageIncludes": ["E2E_DSYNC_18_CMD_NEW"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"dsync-18-command-NEW\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_18_CMD_NEW_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-18-command-NEW\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-dsync-18-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
- }
- }
- ]
- }
|