conversation-session-remote-data-sync-runtime-usage.json 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-remote-data-sync-runtime-usage",
  4. "spec": "./test/e2e/conversation-session/remote/data-sync/conversation-session-remote-data-sync-runtime-usage.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "dsync-17-title",
  8. "description": "task A、B、C 首发的标题生成。",
  9. "metadata": {
  10. "kind": "common",
  11. "timingPolicy": "fast-text",
  12. "source": "synthetic",
  13. "syntheticReason": "标题不属于远端可用性断言,只需保持 task 行稳定。"
  14. },
  15. "maxMatches": 6,
  16. "match": {
  17. "method": "POST",
  18. "pathIncludes": "/chat/completions",
  19. "bodyIncludes": ["Generate a concise title", "E2E_DSYNC_17_RUNTIME_USAGE"]
  20. },
  21. "response": {
  22. "statusCode": 200,
  23. "headers": {
  24. "content-type": "text/event-stream; charset=utf-8"
  25. },
  26. "body": "data: {\"id\":\"dsync-17-title\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"{\\\"title\\\":\\\"DSYNC 17 runtime usage\\\"}\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-title\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  27. }
  28. },
  29. {
  30. "id": "dsync-17-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_17_AGENT_TASK"],
  42. "bodyIncludes": ["E2E_DSYNC_17_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-17-subagent\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"E2E_DSYNC_17_AGENT_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-subagent\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  51. }
  52. },
  53. {
  54. "id": "dsync-17-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_17_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-17-subagent-wrong\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"E2E_DSYNC_17_AGENT_WRONG_PROFILE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-subagent-wrong\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  74. }
  75. },
  76. {
  77. "id": "dsync-17-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_17_RUNTIME_USAGE", "call_dsync17_skill_existing"],
  89. "bodyExcludes": [
  90. "Generate a concise title",
  91. "E2E_DSYNC_17_RUNTIME_USAGE_RUN_EXISTING_AGENT",
  92. "E2E_DSYNC_17_RUNTIME_USAGE_RUN_MCP",
  93. "E2E_DSYNC_17_RUNTIME_USAGE_RUN_INLINE",
  94. "E2E_DSYNC_17_RUNTIME_USAGE_RUN_MARKET",
  95. "E2E_DSYNC_17_RUNTIME_USAGE_RUN_SKILL_NEW",
  96. "E2E_DSYNC_17_RUNTIME_USAGE_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-17-SKILL_EXISTING-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_SKILL_EXISTING_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-SKILL_EXISTING-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  105. }
  106. },
  107. {
  108. "id": "dsync-17-run-existing_agent-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_17_RUNTIME_USAGE", "call_dsync17_existing_agent"],
  120. "bodyExcludes": [
  121. "Generate a concise title",
  122. "E2E_DSYNC_17_RUNTIME_USAGE_RUN_MCP",
  123. "E2E_DSYNC_17_RUNTIME_USAGE_RUN_INLINE",
  124. "E2E_DSYNC_17_RUNTIME_USAGE_RUN_MARKET",
  125. "E2E_DSYNC_17_RUNTIME_USAGE_RUN_SKILL_NEW",
  126. "E2E_DSYNC_17_RUNTIME_USAGE_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-17-EXISTING_AGENT-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_EXISTING_AGENT_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-EXISTING_AGENT-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  135. }
  136. },
  137. {
  138. "id": "dsync-17-run-mcp-final",
  139. "description": "mcp__e2e-dsync-17-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_17_RUNTIME_USAGE", "call_dsync17_mcp"],
  150. "bodyExcludes": [
  151. "Generate a concise title",
  152. "E2E_DSYNC_17_RUNTIME_USAGE_RUN_INLINE",
  153. "E2E_DSYNC_17_RUNTIME_USAGE_RUN_MARKET",
  154. "E2E_DSYNC_17_RUNTIME_USAGE_RUN_SKILL_NEW",
  155. "E2E_DSYNC_17_RUNTIME_USAGE_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-17-MCP-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_MCP_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-MCP-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  164. }
  165. },
  166. {
  167. "id": "dsync-17-run-inline-final",
  168. "description": "mcp__plugin_e2e-dsync-17-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_17_RUNTIME_USAGE", "call_dsync17_inline"],
  179. "bodyExcludes": [
  180. "Generate a concise title",
  181. "E2E_DSYNC_17_RUNTIME_USAGE_RUN_MARKET",
  182. "E2E_DSYNC_17_RUNTIME_USAGE_RUN_SKILL_NEW",
  183. "E2E_DSYNC_17_RUNTIME_USAGE_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-17-INLINE-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_INLINE_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-INLINE-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  192. }
  193. },
  194. {
  195. "id": "dsync-17-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_17_RUNTIME_USAGE", "call_dsync17_market"],
  207. "bodyExcludes": [
  208. "Generate a concise title",
  209. "E2E_DSYNC_17_RUNTIME_USAGE_RUN_SKILL_NEW",
  210. "E2E_DSYNC_17_RUNTIME_USAGE_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-17-MARKET-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_MARKET_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-MARKET-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  219. }
  220. },
  221. {
  222. "id": "dsync-17-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_17_RUNTIME_USAGE", "call_dsync17_skill_new"],
  234. "bodyExcludes": ["Generate a concise title", "E2E_DSYNC_17_RUNTIME_USAGE_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-17-SKILL_NEW-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_SKILL_NEW_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-SKILL_NEW-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  242. }
  243. },
  244. {
  245. "id": "dsync-17-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_17_RUNTIME_USAGE", "call_dsync17_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-17-AGENT-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_AGENT_DONE\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-AGENT-final\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  265. }
  266. },
  267. {
  268. "id": "dsync-17-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_17_RUNTIME_USAGE_RUN_SKILL_EXISTING"],
  280. "bodyExcludes": ["Generate a concise title", "call_dsync17_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-17-SKILL_EXISTING-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-SKILL_EXISTING-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync17_skill_existing\",\"type\":\"function\",\"function\":{\"name\":\"Skill\",\"arguments\":\"{\\\"skill\\\":\\\"e2e-dsync-17-skill\\\"}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-SKILL_EXISTING-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"tool_calls\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  288. }
  289. },
  290. {
  291. "id": "dsync-17-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_17_RUNTIME_USAGE_RUN_SKILL_EXISTING"],
  303. "bodyExcludes": ["Generate a concise title", "call_dsync17_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-17-SKILL_EXISTING-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_SKILL_EXISTING_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-SKILL_EXISTING-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  311. }
  312. },
  313. {
  314. "id": "dsync-17-run-existing_agent-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_17_RUNTIME_USAGE_RUN_EXISTING_AGENT"],
  326. "bodyIncludes": ["E2E_DSYNC_17_AGENT_DESC"],
  327. "bodyExcludes": ["Generate a concise title", "call_dsync17_existing_agent"]
  328. },
  329. "response": {
  330. "statusCode": 200,
  331. "headers": {
  332. "content-type": "text/event-stream; charset=utf-8"
  333. },
  334. "body": "data: {\"id\":\"dsync-17-EXISTING_AGENT-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-EXISTING_AGENT-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync17_existing_agent\",\"type\":\"function\",\"function\":{\"name\":\"Agent\",\"arguments\":\"{\\\"description\\\":\\\"dsync17 subagent in task A\\\",\\\"prompt\\\":\\\"E2E_DSYNC_17_AGENT_TASK: 只回复 E2E_DSYNC_17_AGENT_DONE\\\",\\\"subagent_type\\\":\\\"e2e-dsync-17-agent\\\"}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-EXISTING_AGENT-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"tool_calls\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  335. }
  336. },
  337. {
  338. "id": "dsync-17-run-existing_agent-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_17_RUNTIME_USAGE_RUN_EXISTING_AGENT"],
  350. "bodyExcludes": ["Generate a concise title", "call_dsync17_existing_agent"]
  351. },
  352. "response": {
  353. "statusCode": 200,
  354. "headers": {
  355. "content-type": "text/event-stream; charset=utf-8"
  356. },
  357. "body": "data: {\"id\":\"dsync-17-EXISTING_AGENT-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_EXISTING_AGENT_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-EXISTING_AGENT-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  358. }
  359. },
  360. {
  361. "id": "dsync-17-run-mcp-call",
  362. "description": "模型请求暴露推送内容时调用 mcp__e2e-dsync-17-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_17_RUNTIME_USAGE_RUN_MCP"],
  373. "bodyIncludes": ["mcp__e2e-dsync-17-mcp__marker"],
  374. "bodyExcludes": ["Generate a concise title", "call_dsync17_mcp"]
  375. },
  376. "response": {
  377. "statusCode": 200,
  378. "headers": {
  379. "content-type": "text/event-stream; charset=utf-8"
  380. },
  381. "body": "data: {\"id\":\"dsync-17-MCP-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-MCP-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync17_mcp\",\"type\":\"function\",\"function\":{\"name\":\"mcp__e2e-dsync-17-mcp__marker\",\"arguments\":\"{}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-MCP-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"tool_calls\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  382. }
  383. },
  384. {
  385. "id": "dsync-17-run-mcp-not-exposed",
  386. "description": "模型请求没有暴露 mcp__e2e-dsync-17-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_17_RUNTIME_USAGE_RUN_MCP"],
  397. "bodyExcludes": ["Generate a concise title", "call_dsync17_mcp"]
  398. },
  399. "response": {
  400. "statusCode": 200,
  401. "headers": {
  402. "content-type": "text/event-stream; charset=utf-8"
  403. },
  404. "body": "data: {\"id\":\"dsync-17-MCP-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_MCP_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-MCP-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  405. }
  406. },
  407. {
  408. "id": "dsync-17-run-inline-call",
  409. "description": "模型请求暴露推送内容时调用 mcp__plugin_e2e-dsync-17-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_17_RUNTIME_USAGE_RUN_INLINE"],
  420. "bodyIncludes": ["mcp__plugin_e2e-dsync-17-inline_rt__marker"],
  421. "bodyExcludes": ["Generate a concise title", "call_dsync17_inline"]
  422. },
  423. "response": {
  424. "statusCode": 200,
  425. "headers": {
  426. "content-type": "text/event-stream; charset=utf-8"
  427. },
  428. "body": "data: {\"id\":\"dsync-17-INLINE-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-INLINE-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync17_inline\",\"type\":\"function\",\"function\":{\"name\":\"mcp__plugin_e2e-dsync-17-inline_rt__marker\",\"arguments\":\"{}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-INLINE-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"tool_calls\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  429. }
  430. },
  431. {
  432. "id": "dsync-17-run-inline-not-exposed",
  433. "description": "模型请求没有暴露 mcp__plugin_e2e-dsync-17-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_17_RUNTIME_USAGE_RUN_INLINE"],
  444. "bodyExcludes": ["Generate a concise title", "call_dsync17_inline"]
  445. },
  446. "response": {
  447. "statusCode": 200,
  448. "headers": {
  449. "content-type": "text/event-stream; charset=utf-8"
  450. },
  451. "body": "data: {\"id\":\"dsync-17-INLINE-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_INLINE_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-INLINE-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  452. }
  453. },
  454. {
  455. "id": "dsync-17-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_17_RUNTIME_USAGE_RUN_MARKET"],
  467. "bodyIncludes": ["mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker"],
  468. "bodyExcludes": ["Generate a concise title", "call_dsync17_market"]
  469. },
  470. "response": {
  471. "statusCode": 200,
  472. "headers": {
  473. "content-type": "text/event-stream; charset=utf-8"
  474. },
  475. "body": "data: {\"id\":\"dsync-17-MARKET-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-MARKET-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync17_market\",\"type\":\"function\",\"function\":{\"name\":\"mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker\",\"arguments\":\"{}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-MARKET-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"tool_calls\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  476. }
  477. },
  478. {
  479. "id": "dsync-17-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_17_RUNTIME_USAGE_RUN_MARKET"],
  491. "bodyExcludes": ["Generate a concise title", "call_dsync17_market"]
  492. },
  493. "response": {
  494. "statusCode": 200,
  495. "headers": {
  496. "content-type": "text/event-stream; charset=utf-8"
  497. },
  498. "body": "data: {\"id\":\"dsync-17-MARKET-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_MARKET_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-MARKET-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  499. }
  500. },
  501. {
  502. "id": "dsync-17-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_17_RUNTIME_USAGE_RUN_SKILL_NEW"],
  514. "bodyExcludes": ["Generate a concise title", "call_dsync17_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-17-SKILL_NEW-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-SKILL_NEW-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync17_skill_new\",\"type\":\"function\",\"function\":{\"name\":\"Skill\",\"arguments\":\"{\\\"skill\\\":\\\"e2e-dsync-17-skill\\\"}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-SKILL_NEW-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"tool_calls\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  522. }
  523. },
  524. {
  525. "id": "dsync-17-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_17_RUNTIME_USAGE_RUN_SKILL_NEW"],
  537. "bodyExcludes": ["Generate a concise title", "call_dsync17_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-17-SKILL_NEW-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_SKILL_NEW_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-SKILL_NEW-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  545. }
  546. },
  547. {
  548. "id": "dsync-17-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_17_RUNTIME_USAGE_RUN_AGENT"],
  560. "bodyIncludes": ["E2E_DSYNC_17_AGENT_DESC"],
  561. "bodyExcludes": ["Generate a concise title", "call_dsync17_agent"]
  562. },
  563. "response": {
  564. "statusCode": 200,
  565. "headers": {
  566. "content-type": "text/event-stream; charset=utf-8"
  567. },
  568. "body": "data: {\"id\":\"dsync-17-AGENT-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-AGENT-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_dsync17_agent\",\"type\":\"function\",\"function\":{\"name\":\"Agent\",\"arguments\":\"{\\\"description\\\":\\\"dsync17 subagent\\\",\\\"prompt\\\":\\\"E2E_DSYNC_17_AGENT_TASK: 只回复 E2E_DSYNC_17_AGENT_DONE\\\",\\\"subagent_type\\\":\\\"e2e-dsync-17-agent\\\"}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-AGENT-call\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"tool_calls\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  569. }
  570. },
  571. {
  572. "id": "dsync-17-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_17_RUNTIME_USAGE_RUN_AGENT"],
  584. "bodyExcludes": ["Generate a concise title", "call_dsync17_agent"]
  585. },
  586. "response": {
  587. "statusCode": 200,
  588. "headers": {
  589. "content-type": "text/event-stream; charset=utf-8"
  590. },
  591. "body": "data: {\"id\":\"dsync-17-AGENT-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUN_AGENT_NOT_EXPOSED\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-AGENT-not-exposed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  592. }
  593. },
  594. {
  595. "id": "dsync-17-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_17_RUNTIME_USAGE_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-17-first\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_RUNTIME_USAGE_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-first\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  615. }
  616. },
  617. {
  618. "id": "dsync-17-probe-draft",
  619. "description": "探针轮次 DRAFT:只回复固定文本,用模型请求判断可见内容。",
  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_17_RUNTIME_USAGE_PROBE_DRAFT"],
  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-17-probe-DRAFT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_PROBE_DRAFT_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-probe-DRAFT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  638. }
  639. },
  640. {
  641. "id": "dsync-17-probe-hook-draft",
  642. "description": "探针轮次 HOOK_DRAFT:只回复固定文本,用模型请求判断可见内容。",
  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_17_RUNTIME_USAGE_PROBE_HOOK_DRAFT"],
  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-17-probe-HOOK_DRAFT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_PROBE_HOOK_DRAFT_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-probe-HOOK_DRAFT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  661. }
  662. },
  663. {
  664. "id": "dsync-17-probe-existing-1",
  665. "description": "探针轮次 EXISTING_1:只回复固定文本,用模型请求判断可见内容。",
  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_17_RUNTIME_USAGE_PROBE_EXISTING_1"],
  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-17-probe-EXISTING_1\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_PROBE_EXISTING_1_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-probe-EXISTING_1\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  684. }
  685. },
  686. {
  687. "id": "dsync-17-probe-existing-2",
  688. "description": "探针轮次 EXISTING_2:只回复固定文本,用模型请求判断可见内容。",
  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_17_RUNTIME_USAGE_PROBE_EXISTING_2"],
  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-17-probe-EXISTING_2\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_PROBE_EXISTING_2_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-probe-EXISTING_2\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  707. }
  708. },
  709. {
  710. "id": "dsync-17-probe-new",
  711. "description": "探针轮次 NEW:只回复固定文本,用模型请求判断可见内容。",
  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_17_RUNTIME_USAGE_PROBE_NEW"],
  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-17-probe-NEW\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_PROBE_NEW_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-probe-NEW\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  730. }
  731. },
  732. {
  733. "id": "dsync-17-command-draft",
  734. "description": "命令轮次 DRAFT:检查 /命令 是否展开为命令正文。",
  735. "metadata": {
  736. "kind": "main",
  737. "timingPolicy": "fast-text",
  738. "source": "synthetic",
  739. "syntheticReason": "命令展开发生在远端 CLI,断言读取本轮模型请求。"
  740. },
  741. "match": {
  742. "method": "POST",
  743. "pathIncludes": "/chat/completions",
  744. "lastUserMessageIncludes": ["E2E_DSYNC_17_CMD_DRAFT"],
  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-17-command-DRAFT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_CMD_DRAFT_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-command-DRAFT\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  753. }
  754. },
  755. {
  756. "id": "dsync-17-command-existing",
  757. "description": "命令轮次 EXISTING:检查 /命令 是否展开为命令正文。",
  758. "metadata": {
  759. "kind": "main",
  760. "timingPolicy": "fast-text",
  761. "source": "synthetic",
  762. "syntheticReason": "命令展开发生在远端 CLI,断言读取本轮模型请求。"
  763. },
  764. "match": {
  765. "method": "POST",
  766. "pathIncludes": "/chat/completions",
  767. "lastUserMessageIncludes": ["E2E_DSYNC_17_CMD_EXISTING"],
  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-17-command-EXISTING\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_CMD_EXISTING_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-command-EXISTING\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  776. }
  777. },
  778. {
  779. "id": "dsync-17-command-new",
  780. "description": "命令轮次 NEW:检查 /命令 是否展开为命令正文。",
  781. "metadata": {
  782. "kind": "main",
  783. "timingPolicy": "fast-text",
  784. "source": "synthetic",
  785. "syntheticReason": "命令展开发生在远端 CLI,断言读取本轮模型请求。"
  786. },
  787. "match": {
  788. "method": "POST",
  789. "pathIncludes": "/chat/completions",
  790. "lastUserMessageIncludes": ["E2E_DSYNC_17_CMD_NEW"],
  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-17-command-NEW\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"DSYNC_17_CMD_NEW_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"dsync-17-command-NEW\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64,\"completion_tokens\":8,\"total_tokens\":72}}\n\ndata: [DONE]\n\n"
  799. }
  800. }
  801. ]
  802. }