conversation-session-local-config-runtime-usage.json 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-local-config-runtime-usage",
  4. "spec": "./test/e2e/conversation-session/runtime/conversation-session-local-config-runtime-usage.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "dsync-18-title",
  8. "description": "各 task 首发的标题生成。",
  9. "metadata": {
  10. "kind": "common",
  11. "timingPolicy": "fast-text",
  12. "source": "synthetic",
  13. "syntheticReason": "标题不属于可用性断言,只需保持 task 行稳定。"
  14. },
  15. "maxMatches": 20,
  16. "match": {
  17. "method": "POST",
  18. "pathIncludes": "/chat/completions",
  19. "bodyIncludes": ["Generate a concise title", "E2E_DSYNC_18_LOCAL_RUNTIME"]
  20. },
  21. "response": {
  22. "statusCode": 200,
  23. "headers": {
  24. "content-type": "text/event-stream; charset=utf-8"
  25. },
  26. "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"
  27. }
  28. },
  29. {
  30. "id": "dsync-18-subagent-reply",
  31. "description": "子智能体按新建的定义运行:系统提示含子智能体正文时回复完成标记。",
  32. "metadata": {
  33. "kind": "main",
  34. "timingPolicy": "fast-text",
  35. "source": "synthetic",
  36. "syntheticReason": "固定子智能体回复,证明本机用的是刚新建的子智能体定义。"
  37. },
  38. "match": {
  39. "method": "POST",
  40. "pathIncludes": "/chat/completions",
  41. "lastUserMessageIncludes": ["E2E_DSYNC_18_AGENT_TASK"],
  42. "bodyIncludes": ["E2E_DSYNC_18_AGENT_BODY"],
  43. "bodyExcludes": ["Generate a concise title"]
  44. },
  45. "response": {
  46. "statusCode": 200,
  47. "headers": {
  48. "content-type": "text/event-stream; charset=utf-8"
  49. },
  50. "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"
  51. }
  52. },
  53. {
  54. "id": "dsync-18-subagent-wrong-profile",
  55. "description": "子智能体请求没有带新建的定义正文。",
  56. "metadata": {
  57. "kind": "main",
  58. "timingPolicy": "fast-text",
  59. "source": "synthetic",
  60. "syntheticReason": "定义缺失时得到可断言的错误回复,而不是回放未命中。"
  61. },
  62. "match": {
  63. "method": "POST",
  64. "pathIncludes": "/chat/completions",
  65. "lastUserMessageIncludes": ["E2E_DSYNC_18_AGENT_TASK"],
  66. "bodyExcludes": ["Generate a concise title"]
  67. },
  68. "response": {
  69. "statusCode": 200,
  70. "headers": {
  71. "content-type": "text/event-stream; charset=utf-8"
  72. },
  73. "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"
  74. }
  75. },
  76. {
  77. "id": "dsync-18-run-skill_existing-final",
  78. "description": "Skill 工具结果返回后的最终回复。",
  79. "metadata": {
  80. "kind": "main",
  81. "timingPolicy": "fast-text",
  82. "source": "synthetic",
  83. "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
  84. },
  85. "match": {
  86. "method": "POST",
  87. "pathIncludes": "/chat/completions",
  88. "bodyIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME", "call_dsync18_skill_existing"],
  89. "bodyExcludes": [
  90. "Generate a concise title",
  91. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT_EXISTING:",
  92. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MCP:",
  93. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_INLINE:",
  94. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MARKET:",
  95. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_SKILL_NEW:",
  96. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT:"
  97. ]
  98. },
  99. "response": {
  100. "statusCode": 200,
  101. "headers": {
  102. "content-type": "text/event-stream; charset=utf-8"
  103. },
  104. "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"
  105. }
  106. },
  107. {
  108. "id": "dsync-18-run-agent_existing-final",
  109. "description": "Agent 工具结果返回后的最终回复。",
  110. "metadata": {
  111. "kind": "main",
  112. "timingPolicy": "fast-text",
  113. "source": "synthetic",
  114. "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
  115. },
  116. "match": {
  117. "method": "POST",
  118. "pathIncludes": "/chat/completions",
  119. "bodyIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME", "call_dsync18_agent_existing"],
  120. "bodyExcludes": [
  121. "Generate a concise title",
  122. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MCP:",
  123. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_INLINE:",
  124. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MARKET:",
  125. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_SKILL_NEW:",
  126. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT:"
  127. ]
  128. },
  129. "response": {
  130. "statusCode": 200,
  131. "headers": {
  132. "content-type": "text/event-stream; charset=utf-8"
  133. },
  134. "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"
  135. }
  136. },
  137. {
  138. "id": "dsync-18-run-mcp-final",
  139. "description": "mcp__e2e-dsync-18-mcp__marker 工具结果返回后的最终回复。",
  140. "metadata": {
  141. "kind": "main",
  142. "timingPolicy": "fast-text",
  143. "source": "synthetic",
  144. "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
  145. },
  146. "match": {
  147. "method": "POST",
  148. "pathIncludes": "/chat/completions",
  149. "bodyIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME", "call_dsync18_mcp"],
  150. "bodyExcludes": [
  151. "Generate a concise title",
  152. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_INLINE:",
  153. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MARKET:",
  154. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_SKILL_NEW:",
  155. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT:"
  156. ]
  157. },
  158. "response": {
  159. "statusCode": 200,
  160. "headers": {
  161. "content-type": "text/event-stream; charset=utf-8"
  162. },
  163. "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"
  164. }
  165. },
  166. {
  167. "id": "dsync-18-run-inline-final",
  168. "description": "mcp__plugin_e2e-dsync-18-inline_rt__marker 工具结果返回后的最终回复。",
  169. "metadata": {
  170. "kind": "main",
  171. "timingPolicy": "fast-text",
  172. "source": "synthetic",
  173. "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
  174. },
  175. "match": {
  176. "method": "POST",
  177. "pathIncludes": "/chat/completions",
  178. "bodyIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME", "call_dsync18_inline"],
  179. "bodyExcludes": [
  180. "Generate a concise title",
  181. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MARKET:",
  182. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_SKILL_NEW:",
  183. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT:"
  184. ]
  185. },
  186. "response": {
  187. "statusCode": 200,
  188. "headers": {
  189. "content-type": "text/event-stream; charset=utf-8"
  190. },
  191. "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"
  192. }
  193. },
  194. {
  195. "id": "dsync-18-run-market-final",
  196. "description": "mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker 工具结果返回后的最终回复。",
  197. "metadata": {
  198. "kind": "main",
  199. "timingPolicy": "fast-text",
  200. "source": "synthetic",
  201. "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
  202. },
  203. "match": {
  204. "method": "POST",
  205. "pathIncludes": "/chat/completions",
  206. "bodyIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME", "call_dsync18_market"],
  207. "bodyExcludes": [
  208. "Generate a concise title",
  209. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_SKILL_NEW:",
  210. "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT:"
  211. ]
  212. },
  213. "response": {
  214. "statusCode": 200,
  215. "headers": {
  216. "content-type": "text/event-stream; charset=utf-8"
  217. },
  218. "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"
  219. }
  220. },
  221. {
  222. "id": "dsync-18-run-skill_new-final",
  223. "description": "Skill 工具结果返回后的最终回复。",
  224. "metadata": {
  225. "kind": "main",
  226. "timingPolicy": "fast-text",
  227. "source": "synthetic",
  228. "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
  229. },
  230. "match": {
  231. "method": "POST",
  232. "pathIncludes": "/chat/completions",
  233. "bodyIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME", "call_dsync18_skill_new"],
  234. "bodyExcludes": ["Generate a concise title", "E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT:"]
  235. },
  236. "response": {
  237. "statusCode": 200,
  238. "headers": {
  239. "content-type": "text/event-stream; charset=utf-8"
  240. },
  241. "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"
  242. }
  243. },
  244. {
  245. "id": "dsync-18-run-agent-final",
  246. "description": "Agent 工具结果返回后的最终回复。",
  247. "metadata": {
  248. "kind": "main",
  249. "timingPolicy": "fast-text",
  250. "source": "synthetic",
  251. "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
  252. },
  253. "match": {
  254. "method": "POST",
  255. "pathIncludes": "/chat/completions",
  256. "bodyIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME", "call_dsync18_agent"],
  257. "bodyExcludes": ["Generate a concise title"]
  258. },
  259. "response": {
  260. "statusCode": 200,
  261. "headers": {
  262. "content-type": "text/event-stream; charset=utf-8"
  263. },
  264. "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"
  265. }
  266. },
  267. {
  268. "id": "dsync-18-run-skill_existing-call",
  269. "description": "模型请求暴露新建内容时调用 Skill。",
  270. "metadata": {
  271. "kind": "main",
  272. "timingPolicy": "tool-use",
  273. "source": "synthetic",
  274. "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
  275. },
  276. "match": {
  277. "method": "POST",
  278. "pathIncludes": "/chat/completions",
  279. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_SKILL_EXISTING:"],
  280. "bodyExcludes": ["Generate a concise title", "call_dsync18_skill_existing"]
  281. },
  282. "response": {
  283. "statusCode": 200,
  284. "headers": {
  285. "content-type": "text/event-stream; charset=utf-8"
  286. },
  287. "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"
  288. }
  289. },
  290. {
  291. "id": "dsync-18-run-skill_existing-not-exposed",
  292. "description": "模型请求没有暴露 Skill 所需的新建内容。",
  293. "metadata": {
  294. "kind": "main",
  295. "timingPolicy": "fast-text",
  296. "source": "synthetic",
  297. "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
  298. },
  299. "match": {
  300. "method": "POST",
  301. "pathIncludes": "/chat/completions",
  302. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_SKILL_EXISTING:"],
  303. "bodyExcludes": ["Generate a concise title", "call_dsync18_skill_existing"]
  304. },
  305. "response": {
  306. "statusCode": 200,
  307. "headers": {
  308. "content-type": "text/event-stream; charset=utf-8"
  309. },
  310. "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"
  311. }
  312. },
  313. {
  314. "id": "dsync-18-run-agent_existing-call",
  315. "description": "模型请求暴露新建内容时调用 Agent。",
  316. "metadata": {
  317. "kind": "main",
  318. "timingPolicy": "tool-use",
  319. "source": "synthetic",
  320. "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
  321. },
  322. "match": {
  323. "method": "POST",
  324. "pathIncludes": "/chat/completions",
  325. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT_EXISTING:"],
  326. "bodyIncludes": ["E2E_DSYNC_18_AGENT_DESC"],
  327. "bodyExcludes": ["Generate a concise title", "call_dsync18_agent_existing"]
  328. },
  329. "response": {
  330. "statusCode": 200,
  331. "headers": {
  332. "content-type": "text/event-stream; charset=utf-8"
  333. },
  334. "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"
  335. }
  336. },
  337. {
  338. "id": "dsync-18-run-agent_existing-not-exposed",
  339. "description": "模型请求没有暴露 Agent 所需的新建内容。",
  340. "metadata": {
  341. "kind": "main",
  342. "timingPolicy": "fast-text",
  343. "source": "synthetic",
  344. "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
  345. },
  346. "match": {
  347. "method": "POST",
  348. "pathIncludes": "/chat/completions",
  349. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT_EXISTING:"],
  350. "bodyExcludes": ["Generate a concise title", "call_dsync18_agent_existing"]
  351. },
  352. "response": {
  353. "statusCode": 200,
  354. "headers": {
  355. "content-type": "text/event-stream; charset=utf-8"
  356. },
  357. "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"
  358. }
  359. },
  360. {
  361. "id": "dsync-18-run-mcp-call",
  362. "description": "模型请求暴露新建内容时调用 mcp__e2e-dsync-18-mcp__marker。",
  363. "metadata": {
  364. "kind": "main",
  365. "timingPolicy": "tool-use",
  366. "source": "synthetic",
  367. "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
  368. },
  369. "match": {
  370. "method": "POST",
  371. "pathIncludes": "/chat/completions",
  372. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MCP:"],
  373. "bodyIncludes": ["mcp__e2e-dsync-18-mcp__marker"],
  374. "bodyExcludes": ["Generate a concise title", "call_dsync18_mcp"]
  375. },
  376. "response": {
  377. "statusCode": 200,
  378. "headers": {
  379. "content-type": "text/event-stream; charset=utf-8"
  380. },
  381. "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"
  382. }
  383. },
  384. {
  385. "id": "dsync-18-run-mcp-not-exposed",
  386. "description": "模型请求没有暴露 mcp__e2e-dsync-18-mcp__marker 所需的新建内容。",
  387. "metadata": {
  388. "kind": "main",
  389. "timingPolicy": "fast-text",
  390. "source": "synthetic",
  391. "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
  392. },
  393. "match": {
  394. "method": "POST",
  395. "pathIncludes": "/chat/completions",
  396. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MCP:"],
  397. "bodyExcludes": ["Generate a concise title", "call_dsync18_mcp"]
  398. },
  399. "response": {
  400. "statusCode": 200,
  401. "headers": {
  402. "content-type": "text/event-stream; charset=utf-8"
  403. },
  404. "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"
  405. }
  406. },
  407. {
  408. "id": "dsync-18-run-inline-call",
  409. "description": "模型请求暴露新建内容时调用 mcp__plugin_e2e-dsync-18-inline_rt__marker。",
  410. "metadata": {
  411. "kind": "main",
  412. "timingPolicy": "tool-use",
  413. "source": "synthetic",
  414. "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
  415. },
  416. "match": {
  417. "method": "POST",
  418. "pathIncludes": "/chat/completions",
  419. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_INLINE:"],
  420. "bodyIncludes": ["mcp__plugin_e2e-dsync-18-inline_rt__marker"],
  421. "bodyExcludes": ["Generate a concise title", "call_dsync18_inline"]
  422. },
  423. "response": {
  424. "statusCode": 200,
  425. "headers": {
  426. "content-type": "text/event-stream; charset=utf-8"
  427. },
  428. "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"
  429. }
  430. },
  431. {
  432. "id": "dsync-18-run-inline-not-exposed",
  433. "description": "模型请求没有暴露 mcp__plugin_e2e-dsync-18-inline_rt__marker 所需的新建内容。",
  434. "metadata": {
  435. "kind": "main",
  436. "timingPolicy": "fast-text",
  437. "source": "synthetic",
  438. "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
  439. },
  440. "match": {
  441. "method": "POST",
  442. "pathIncludes": "/chat/completions",
  443. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_INLINE:"],
  444. "bodyExcludes": ["Generate a concise title", "call_dsync18_inline"]
  445. },
  446. "response": {
  447. "statusCode": 200,
  448. "headers": {
  449. "content-type": "text/event-stream; charset=utf-8"
  450. },
  451. "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"
  452. }
  453. },
  454. {
  455. "id": "dsync-18-run-market-call",
  456. "description": "模型请求暴露新建内容时调用 mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker。",
  457. "metadata": {
  458. "kind": "main",
  459. "timingPolicy": "tool-use",
  460. "source": "synthetic",
  461. "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
  462. },
  463. "match": {
  464. "method": "POST",
  465. "pathIncludes": "/chat/completions",
  466. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MARKET:"],
  467. "bodyIncludes": ["mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker"],
  468. "bodyExcludes": ["Generate a concise title", "call_dsync18_market"]
  469. },
  470. "response": {
  471. "statusCode": 200,
  472. "headers": {
  473. "content-type": "text/event-stream; charset=utf-8"
  474. },
  475. "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"
  476. }
  477. },
  478. {
  479. "id": "dsync-18-run-market-not-exposed",
  480. "description": "模型请求没有暴露 mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker 所需的新建内容。",
  481. "metadata": {
  482. "kind": "main",
  483. "timingPolicy": "fast-text",
  484. "source": "synthetic",
  485. "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
  486. },
  487. "match": {
  488. "method": "POST",
  489. "pathIncludes": "/chat/completions",
  490. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_MARKET:"],
  491. "bodyExcludes": ["Generate a concise title", "call_dsync18_market"]
  492. },
  493. "response": {
  494. "statusCode": 200,
  495. "headers": {
  496. "content-type": "text/event-stream; charset=utf-8"
  497. },
  498. "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"
  499. }
  500. },
  501. {
  502. "id": "dsync-18-run-skill_new-call",
  503. "description": "模型请求暴露新建内容时调用 Skill。",
  504. "metadata": {
  505. "kind": "main",
  506. "timingPolicy": "tool-use",
  507. "source": "synthetic",
  508. "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
  509. },
  510. "match": {
  511. "method": "POST",
  512. "pathIncludes": "/chat/completions",
  513. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_SKILL_NEW:"],
  514. "bodyExcludes": ["Generate a concise title", "call_dsync18_skill_new"]
  515. },
  516. "response": {
  517. "statusCode": 200,
  518. "headers": {
  519. "content-type": "text/event-stream; charset=utf-8"
  520. },
  521. "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"
  522. }
  523. },
  524. {
  525. "id": "dsync-18-run-skill_new-not-exposed",
  526. "description": "模型请求没有暴露 Skill 所需的新建内容。",
  527. "metadata": {
  528. "kind": "main",
  529. "timingPolicy": "fast-text",
  530. "source": "synthetic",
  531. "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
  532. },
  533. "match": {
  534. "method": "POST",
  535. "pathIncludes": "/chat/completions",
  536. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_SKILL_NEW:"],
  537. "bodyExcludes": ["Generate a concise title", "call_dsync18_skill_new"]
  538. },
  539. "response": {
  540. "statusCode": 200,
  541. "headers": {
  542. "content-type": "text/event-stream; charset=utf-8"
  543. },
  544. "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"
  545. }
  546. },
  547. {
  548. "id": "dsync-18-run-agent-call",
  549. "description": "模型请求暴露新建内容时调用 Agent。",
  550. "metadata": {
  551. "kind": "main",
  552. "timingPolicy": "tool-use",
  553. "source": "synthetic",
  554. "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
  555. },
  556. "match": {
  557. "method": "POST",
  558. "pathIncludes": "/chat/completions",
  559. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT:"],
  560. "bodyIncludes": ["E2E_DSYNC_18_AGENT_DESC"],
  561. "bodyExcludes": ["Generate a concise title", "call_dsync18_agent"]
  562. },
  563. "response": {
  564. "statusCode": 200,
  565. "headers": {
  566. "content-type": "text/event-stream; charset=utf-8"
  567. },
  568. "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"
  569. }
  570. },
  571. {
  572. "id": "dsync-18-run-agent-not-exposed",
  573. "description": "模型请求没有暴露 Agent 所需的新建内容。",
  574. "metadata": {
  575. "kind": "main",
  576. "timingPolicy": "fast-text",
  577. "source": "synthetic",
  578. "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
  579. },
  580. "match": {
  581. "method": "POST",
  582. "pathIncludes": "/chat/completions",
  583. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_RUN_AGENT:"],
  584. "bodyExcludes": ["Generate a concise title", "call_dsync18_agent"]
  585. },
  586. "response": {
  587. "statusCode": 200,
  588. "headers": {
  589. "content-type": "text/event-stream; charset=utf-8"
  590. },
  591. "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"
  592. }
  593. },
  594. {
  595. "id": "dsync-18-first-turn",
  596. "description": "新建配置前 task A 的首发(对照组)。",
  597. "metadata": {
  598. "kind": "main",
  599. "timingPolicy": "fast-text",
  600. "source": "synthetic",
  601. "syntheticReason": "建立配置变更前已存在的本机会话。"
  602. },
  603. "match": {
  604. "method": "POST",
  605. "pathIncludes": "/chat/completions",
  606. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_A_FIRST_PROMPT"],
  607. "bodyExcludes": ["Generate a concise title"]
  608. },
  609. "response": {
  610. "statusCode": 200,
  611. "headers": {
  612. "content-type": "text/event-stream; charset=utf-8"
  613. },
  614. "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"
  615. }
  616. },
  617. {
  618. "id": "dsync-18-probe-draft-subagent",
  619. "description": "探针轮次 DRAFT_SUBAGENT:只回复固定文本,用模型请求判断可见内容。",
  620. "metadata": {
  621. "kind": "main",
  622. "timingPolicy": "fast-text",
  623. "source": "synthetic",
  624. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  625. },
  626. "match": {
  627. "method": "POST",
  628. "pathIncludes": "/chat/completions",
  629. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_DRAFT_SUBAGENT:"],
  630. "bodyExcludes": ["Generate a concise title"]
  631. },
  632. "response": {
  633. "statusCode": 200,
  634. "headers": {
  635. "content-type": "text/event-stream; charset=utf-8"
  636. },
  637. "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"
  638. }
  639. },
  640. {
  641. "id": "dsync-18-probe-draft-subagent-2",
  642. "description": "探针轮次 DRAFT_SUBAGENT_2:只回复固定文本,用模型请求判断可见内容。",
  643. "metadata": {
  644. "kind": "main",
  645. "timingPolicy": "fast-text",
  646. "source": "synthetic",
  647. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  648. },
  649. "match": {
  650. "method": "POST",
  651. "pathIncludes": "/chat/completions",
  652. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_DRAFT_SUBAGENT_2:"],
  653. "bodyExcludes": ["Generate a concise title"]
  654. },
  655. "response": {
  656. "statusCode": 200,
  657. "headers": {
  658. "content-type": "text/event-stream; charset=utf-8"
  659. },
  660. "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"
  661. }
  662. },
  663. {
  664. "id": "dsync-18-probe-existing-subagent",
  665. "description": "探针轮次 EXISTING_SUBAGENT:只回复固定文本,用模型请求判断可见内容。",
  666. "metadata": {
  667. "kind": "main",
  668. "timingPolicy": "fast-text",
  669. "source": "synthetic",
  670. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  671. },
  672. "match": {
  673. "method": "POST",
  674. "pathIncludes": "/chat/completions",
  675. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_EXISTING_SUBAGENT:"],
  676. "bodyExcludes": ["Generate a concise title"]
  677. },
  678. "response": {
  679. "statusCode": 200,
  680. "headers": {
  681. "content-type": "text/event-stream; charset=utf-8"
  682. },
  683. "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"
  684. }
  685. },
  686. {
  687. "id": "dsync-18-probe-draft-mcp",
  688. "description": "探针轮次 DRAFT_MCP:只回复固定文本,用模型请求判断可见内容。",
  689. "metadata": {
  690. "kind": "main",
  691. "timingPolicy": "fast-text",
  692. "source": "synthetic",
  693. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  694. },
  695. "match": {
  696. "method": "POST",
  697. "pathIncludes": "/chat/completions",
  698. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_DRAFT_MCP:"],
  699. "bodyExcludes": ["Generate a concise title"]
  700. },
  701. "response": {
  702. "statusCode": 200,
  703. "headers": {
  704. "content-type": "text/event-stream; charset=utf-8"
  705. },
  706. "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"
  707. }
  708. },
  709. {
  710. "id": "dsync-18-probe-existing-mcp",
  711. "description": "探针轮次 EXISTING_MCP:只回复固定文本,用模型请求判断可见内容。",
  712. "metadata": {
  713. "kind": "main",
  714. "timingPolicy": "fast-text",
  715. "source": "synthetic",
  716. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  717. },
  718. "match": {
  719. "method": "POST",
  720. "pathIncludes": "/chat/completions",
  721. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_EXISTING_MCP:"],
  722. "bodyExcludes": ["Generate a concise title"]
  723. },
  724. "response": {
  725. "statusCode": 200,
  726. "headers": {
  727. "content-type": "text/event-stream; charset=utf-8"
  728. },
  729. "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"
  730. }
  731. },
  732. {
  733. "id": "dsync-18-probe-draft-hook",
  734. "description": "探针轮次 DRAFT_HOOK:只回复固定文本,用模型请求判断可见内容。",
  735. "metadata": {
  736. "kind": "main",
  737. "timingPolicy": "fast-text",
  738. "source": "synthetic",
  739. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  740. },
  741. "match": {
  742. "method": "POST",
  743. "pathIncludes": "/chat/completions",
  744. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_DRAFT_HOOK:"],
  745. "bodyExcludes": ["Generate a concise title"]
  746. },
  747. "response": {
  748. "statusCode": 200,
  749. "headers": {
  750. "content-type": "text/event-stream; charset=utf-8"
  751. },
  752. "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"
  753. }
  754. },
  755. {
  756. "id": "dsync-18-probe-existing-hook",
  757. "description": "探针轮次 EXISTING_HOOK:只回复固定文本,用模型请求判断可见内容。",
  758. "metadata": {
  759. "kind": "main",
  760. "timingPolicy": "fast-text",
  761. "source": "synthetic",
  762. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  763. },
  764. "match": {
  765. "method": "POST",
  766. "pathIncludes": "/chat/completions",
  767. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_EXISTING_HOOK:"],
  768. "bodyExcludes": ["Generate a concise title"]
  769. },
  770. "response": {
  771. "statusCode": 200,
  772. "headers": {
  773. "content-type": "text/event-stream; charset=utf-8"
  774. },
  775. "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"
  776. }
  777. },
  778. {
  779. "id": "dsync-18-probe-draft-skill",
  780. "description": "探针轮次 DRAFT_SKILL:只回复固定文本,用模型请求判断可见内容。",
  781. "metadata": {
  782. "kind": "main",
  783. "timingPolicy": "fast-text",
  784. "source": "synthetic",
  785. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  786. },
  787. "match": {
  788. "method": "POST",
  789. "pathIncludes": "/chat/completions",
  790. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_DRAFT_SKILL:"],
  791. "bodyExcludes": ["Generate a concise title"]
  792. },
  793. "response": {
  794. "statusCode": 200,
  795. "headers": {
  796. "content-type": "text/event-stream; charset=utf-8"
  797. },
  798. "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"
  799. }
  800. },
  801. {
  802. "id": "dsync-18-probe-existing-skill",
  803. "description": "探针轮次 EXISTING_SKILL:只回复固定文本,用模型请求判断可见内容。",
  804. "metadata": {
  805. "kind": "main",
  806. "timingPolicy": "fast-text",
  807. "source": "synthetic",
  808. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  809. },
  810. "match": {
  811. "method": "POST",
  812. "pathIncludes": "/chat/completions",
  813. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_EXISTING_SKILL:"],
  814. "bodyExcludes": ["Generate a concise title"]
  815. },
  816. "response": {
  817. "statusCode": 200,
  818. "headers": {
  819. "content-type": "text/event-stream; charset=utf-8"
  820. },
  821. "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"
  822. }
  823. },
  824. {
  825. "id": "dsync-18-probe-draft-inline",
  826. "description": "探针轮次 DRAFT_INLINE:只回复固定文本,用模型请求判断可见内容。",
  827. "metadata": {
  828. "kind": "main",
  829. "timingPolicy": "fast-text",
  830. "source": "synthetic",
  831. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  832. },
  833. "match": {
  834. "method": "POST",
  835. "pathIncludes": "/chat/completions",
  836. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_DRAFT_INLINE:"],
  837. "bodyExcludes": ["Generate a concise title"]
  838. },
  839. "response": {
  840. "statusCode": 200,
  841. "headers": {
  842. "content-type": "text/event-stream; charset=utf-8"
  843. },
  844. "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"
  845. }
  846. },
  847. {
  848. "id": "dsync-18-probe-existing-inline",
  849. "description": "探针轮次 EXISTING_INLINE:只回复固定文本,用模型请求判断可见内容。",
  850. "metadata": {
  851. "kind": "main",
  852. "timingPolicy": "fast-text",
  853. "source": "synthetic",
  854. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  855. },
  856. "match": {
  857. "method": "POST",
  858. "pathIncludes": "/chat/completions",
  859. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_EXISTING_INLINE:"],
  860. "bodyExcludes": ["Generate a concise title"]
  861. },
  862. "response": {
  863. "statusCode": 200,
  864. "headers": {
  865. "content-type": "text/event-stream; charset=utf-8"
  866. },
  867. "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"
  868. }
  869. },
  870. {
  871. "id": "dsync-18-probe-existing-market",
  872. "description": "探针轮次 EXISTING_MARKET:只回复固定文本,用模型请求判断可见内容。",
  873. "metadata": {
  874. "kind": "main",
  875. "timingPolicy": "fast-text",
  876. "source": "synthetic",
  877. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  878. },
  879. "match": {
  880. "method": "POST",
  881. "pathIncludes": "/chat/completions",
  882. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_EXISTING_MARKET:"],
  883. "bodyExcludes": ["Generate a concise title"]
  884. },
  885. "response": {
  886. "statusCode": 200,
  887. "headers": {
  888. "content-type": "text/event-stream; charset=utf-8"
  889. },
  890. "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"
  891. }
  892. },
  893. {
  894. "id": "dsync-18-probe-new",
  895. "description": "探针轮次 NEW:只回复固定文本,用模型请求判断可见内容。",
  896. "metadata": {
  897. "kind": "main",
  898. "timingPolicy": "fast-text",
  899. "source": "synthetic",
  900. "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
  901. },
  902. "match": {
  903. "method": "POST",
  904. "pathIncludes": "/chat/completions",
  905. "lastUserMessageIncludes": ["E2E_DSYNC_18_LOCAL_RUNTIME_PROBE_NEW:"],
  906. "bodyExcludes": ["Generate a concise title"]
  907. },
  908. "response": {
  909. "statusCode": 200,
  910. "headers": {
  911. "content-type": "text/event-stream; charset=utf-8"
  912. },
  913. "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"
  914. }
  915. },
  916. {
  917. "id": "dsync-18-command-draft",
  918. "description": "命令轮次 DRAFT:检查 /命令 是否展开为命令正文。",
  919. "metadata": {
  920. "kind": "main",
  921. "timingPolicy": "fast-text",
  922. "source": "synthetic",
  923. "syntheticReason": "命令展开发生在 CLI,断言读取本轮模型请求。"
  924. },
  925. "match": {
  926. "method": "POST",
  927. "pathIncludes": "/chat/completions",
  928. "lastUserMessageIncludes": ["E2E_DSYNC_18_CMD_DRAFT"],
  929. "bodyExcludes": ["Generate a concise title"]
  930. },
  931. "response": {
  932. "statusCode": 200,
  933. "headers": {
  934. "content-type": "text/event-stream; charset=utf-8"
  935. },
  936. "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"
  937. }
  938. },
  939. {
  940. "id": "dsync-18-command-existing",
  941. "description": "命令轮次 EXISTING:检查 /命令 是否展开为命令正文。",
  942. "metadata": {
  943. "kind": "main",
  944. "timingPolicy": "fast-text",
  945. "source": "synthetic",
  946. "syntheticReason": "命令展开发生在 CLI,断言读取本轮模型请求。"
  947. },
  948. "match": {
  949. "method": "POST",
  950. "pathIncludes": "/chat/completions",
  951. "lastUserMessageIncludes": ["E2E_DSYNC_18_CMD_EXISTING"],
  952. "bodyExcludes": ["Generate a concise title"]
  953. },
  954. "response": {
  955. "statusCode": 200,
  956. "headers": {
  957. "content-type": "text/event-stream; charset=utf-8"
  958. },
  959. "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"
  960. }
  961. },
  962. {
  963. "id": "dsync-18-command-new",
  964. "description": "命令轮次 NEW:检查 /命令 是否展开为命令正文。",
  965. "metadata": {
  966. "kind": "main",
  967. "timingPolicy": "fast-text",
  968. "source": "synthetic",
  969. "syntheticReason": "命令展开发生在 CLI,断言读取本轮模型请求。"
  970. },
  971. "match": {
  972. "method": "POST",
  973. "pathIncludes": "/chat/completions",
  974. "lastUserMessageIncludes": ["E2E_DSYNC_18_CMD_NEW"],
  975. "bodyExcludes": ["Generate a concise title"]
  976. },
  977. "response": {
  978. "statusCode": 200,
  979. "headers": {
  980. "content-type": "text/event-stream; charset=utf-8"
  981. },
  982. "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"
  983. }
  984. }
  985. ]
  986. }