conversation-session-preinstalled-tools-real-loopback.json 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-preinstalled-tools-real-loopback",
  4. "spec": "./test/e2e/conversation-session/conversation-session-preinstalled-tools-real-loopback.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "pt-real-title",
  8. "description": "固定验收标题",
  9. "metadata": {
  10. "kind": "common",
  11. "timingPolicy": "fast-text",
  12. "source": "synthetic",
  13. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  14. },
  15. "match": {
  16. "method": "POST",
  17. "pathIncludes": "/messages",
  18. "bodyIncludes": ["Generate a concise title", "E2E_PT_REAL"]
  19. },
  20. "response": {
  21. "statusCode": 200,
  22. "text": {
  23. "id": "pt-real-title",
  24. "text": "{\"title\":\"Five preinstalled tools\"}",
  25. "inputTokens": 100,
  26. "outputTokens": 10
  27. }
  28. }
  29. },
  30. {
  31. "id": "pt-real-before-call",
  32. "description": "before call",
  33. "metadata": {
  34. "kind": "main",
  35. "timingPolicy": "fast-text",
  36. "source": "synthetic",
  37. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  38. },
  39. "maxMatches": 1,
  40. "match": {
  41. "method": "POST",
  42. "pathIncludes": "/messages",
  43. "bodyIncludes": ["E2E_PT_REAL_BEFORE"],
  44. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  45. },
  46. "response": {
  47. "statusCode": 200,
  48. "toolUse": {
  49. "id": "toolu_pt_real_before",
  50. "name": "Bash",
  51. "input": {
  52. "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs before",
  53. "timeout": 180000,
  54. "description": "Run real preinstalled tools phase: before"
  55. }
  56. }
  57. }
  58. },
  59. {
  60. "id": "pt-real-before-done",
  61. "description": "before done",
  62. "metadata": {
  63. "kind": "main",
  64. "timingPolicy": "fast-text",
  65. "source": "synthetic",
  66. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  67. },
  68. "maxMatches": 1,
  69. "match": {
  70. "method": "POST",
  71. "pathIncludes": "/messages",
  72. "bodyIncludes": ["E2E_PT_REAL_BEFORE", "toolu_pt_real_before"],
  73. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  74. },
  75. "response": {
  76. "statusCode": 200,
  77. "text": {
  78. "id": "pt-real-before-done",
  79. "text": "E2E_PT_REAL_BEFORE_DONE",
  80. "inputTokens": 100,
  81. "outputTokens": 10
  82. }
  83. }
  84. },
  85. {
  86. "id": "pt-real-main-call",
  87. "description": "main call",
  88. "metadata": {
  89. "kind": "main",
  90. "timingPolicy": "fast-text",
  91. "source": "synthetic",
  92. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  93. },
  94. "maxMatches": 1,
  95. "match": {
  96. "method": "POST",
  97. "pathIncludes": "/messages",
  98. "bodyIncludes": ["E2E_PT_REAL_MAIN"],
  99. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  100. },
  101. "response": {
  102. "statusCode": 200,
  103. "toolUse": {
  104. "id": "toolu_pt_real_main",
  105. "name": "Bash",
  106. "input": {
  107. "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs main",
  108. "timeout": 360000,
  109. "description": "Run real preinstalled tools phase: main"
  110. }
  111. }
  112. }
  113. },
  114. {
  115. "id": "pt-real-main-done",
  116. "description": "main done",
  117. "metadata": {
  118. "kind": "main",
  119. "timingPolicy": "fast-text",
  120. "source": "synthetic",
  121. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  122. },
  123. "maxMatches": 1,
  124. "match": {
  125. "method": "POST",
  126. "pathIncludes": "/messages",
  127. "bodyIncludes": ["E2E_PT_REAL_MAIN", "toolu_pt_real_main"],
  128. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  129. },
  130. "response": {
  131. "statusCode": 200,
  132. "text": {
  133. "id": "pt-real-main-done",
  134. "text": "E2E_PT_REAL_MAIN_DONE",
  135. "inputTokens": 100,
  136. "outputTokens": 10
  137. }
  138. }
  139. },
  140. {
  141. "id": "pt-real-python-off-call",
  142. "description": "python-off call",
  143. "metadata": {
  144. "kind": "main",
  145. "timingPolicy": "fast-text",
  146. "source": "synthetic",
  147. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  148. },
  149. "maxMatches": 1,
  150. "match": {
  151. "method": "POST",
  152. "pathIncludes": "/messages",
  153. "bodyIncludes": ["E2E_PT_REAL_PYTHON_OFF"],
  154. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  155. },
  156. "response": {
  157. "statusCode": 200,
  158. "toolUse": {
  159. "id": "toolu_pt_real_python_off",
  160. "name": "Bash",
  161. "input": {
  162. "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs python-off",
  163. "timeout": 180000,
  164. "description": "Run real preinstalled tools phase: python-off"
  165. }
  166. }
  167. }
  168. },
  169. {
  170. "id": "pt-real-python-off-done",
  171. "description": "python-off done",
  172. "metadata": {
  173. "kind": "main",
  174. "timingPolicy": "fast-text",
  175. "source": "synthetic",
  176. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  177. },
  178. "maxMatches": 1,
  179. "match": {
  180. "method": "POST",
  181. "pathIncludes": "/messages",
  182. "bodyIncludes": ["E2E_PT_REAL_PYTHON_OFF", "toolu_pt_real_python_off"],
  183. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  184. },
  185. "response": {
  186. "statusCode": 200,
  187. "text": {
  188. "id": "pt-real-python-off-done",
  189. "text": "E2E_PT_REAL_PYTHON_OFF_DONE",
  190. "inputTokens": 100,
  191. "outputTokens": 10
  192. }
  193. }
  194. },
  195. {
  196. "id": "pt-real-python-on-call",
  197. "description": "python-on call",
  198. "metadata": {
  199. "kind": "main",
  200. "timingPolicy": "fast-text",
  201. "source": "synthetic",
  202. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  203. },
  204. "maxMatches": 1,
  205. "match": {
  206. "method": "POST",
  207. "pathIncludes": "/messages",
  208. "bodyIncludes": ["E2E_PT_REAL_PYTHON_ON"],
  209. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  210. },
  211. "response": {
  212. "statusCode": 200,
  213. "toolUse": {
  214. "id": "toolu_pt_real_python_on",
  215. "name": "Bash",
  216. "input": {
  217. "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs python-on",
  218. "timeout": 180000,
  219. "description": "Run real preinstalled tools phase: python-on"
  220. }
  221. }
  222. }
  223. },
  224. {
  225. "id": "pt-real-python-on-done",
  226. "description": "python-on done",
  227. "metadata": {
  228. "kind": "main",
  229. "timingPolicy": "fast-text",
  230. "source": "synthetic",
  231. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  232. },
  233. "maxMatches": 1,
  234. "match": {
  235. "method": "POST",
  236. "pathIncludes": "/messages",
  237. "bodyIncludes": ["E2E_PT_REAL_PYTHON_ON", "toolu_pt_real_python_on"],
  238. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  239. },
  240. "response": {
  241. "statusCode": 200,
  242. "text": {
  243. "id": "pt-real-python-on-done",
  244. "text": "E2E_PT_REAL_PYTHON_ON_DONE",
  245. "inputTokens": 100,
  246. "outputTokens": 10
  247. }
  248. }
  249. },
  250. {
  251. "id": "pt-real-qpdf-off-call",
  252. "description": "qpdf-off call",
  253. "metadata": {
  254. "kind": "main",
  255. "timingPolicy": "fast-text",
  256. "source": "synthetic",
  257. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  258. },
  259. "maxMatches": 1,
  260. "match": {
  261. "method": "POST",
  262. "pathIncludes": "/messages",
  263. "bodyIncludes": ["E2E_PT_REAL_QPDF_OFF"],
  264. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  265. },
  266. "response": {
  267. "statusCode": 200,
  268. "toolUse": {
  269. "id": "toolu_pt_real_qpdf_off",
  270. "name": "Bash",
  271. "input": {
  272. "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs qpdf-off",
  273. "timeout": 180000,
  274. "description": "Run real preinstalled tools phase: qpdf-off"
  275. }
  276. }
  277. }
  278. },
  279. {
  280. "id": "pt-real-qpdf-off-done",
  281. "description": "qpdf-off done",
  282. "metadata": {
  283. "kind": "main",
  284. "timingPolicy": "fast-text",
  285. "source": "synthetic",
  286. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  287. },
  288. "maxMatches": 1,
  289. "match": {
  290. "method": "POST",
  291. "pathIncludes": "/messages",
  292. "bodyIncludes": ["E2E_PT_REAL_QPDF_OFF", "toolu_pt_real_qpdf_off"],
  293. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  294. },
  295. "response": {
  296. "statusCode": 200,
  297. "text": {
  298. "id": "pt-real-qpdf-off-done",
  299. "text": "E2E_PT_REAL_QPDF_OFF_DONE",
  300. "inputTokens": 100,
  301. "outputTokens": 10
  302. }
  303. }
  304. },
  305. {
  306. "id": "pt-real-qpdf-on-call",
  307. "description": "qpdf-on call",
  308. "metadata": {
  309. "kind": "main",
  310. "timingPolicy": "fast-text",
  311. "source": "synthetic",
  312. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  313. },
  314. "maxMatches": 1,
  315. "match": {
  316. "method": "POST",
  317. "pathIncludes": "/messages",
  318. "bodyIncludes": ["E2E_PT_REAL_QPDF_ON"],
  319. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  320. },
  321. "response": {
  322. "statusCode": 200,
  323. "toolUse": {
  324. "id": "toolu_pt_real_qpdf_on",
  325. "name": "Bash",
  326. "input": {
  327. "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs qpdf-on",
  328. "timeout": 180000,
  329. "description": "Run real preinstalled tools phase: qpdf-on"
  330. }
  331. }
  332. }
  333. },
  334. {
  335. "id": "pt-real-qpdf-on-done",
  336. "description": "qpdf-on done",
  337. "metadata": {
  338. "kind": "main",
  339. "timingPolicy": "fast-text",
  340. "source": "synthetic",
  341. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  342. },
  343. "maxMatches": 1,
  344. "match": {
  345. "method": "POST",
  346. "pathIncludes": "/messages",
  347. "bodyIncludes": ["E2E_PT_REAL_QPDF_ON", "toolu_pt_real_qpdf_on"],
  348. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  349. },
  350. "response": {
  351. "statusCode": 200,
  352. "text": {
  353. "id": "pt-real-qpdf-on-done",
  354. "text": "E2E_PT_REAL_QPDF_ON_DONE",
  355. "inputTokens": 100,
  356. "outputTokens": 10
  357. }
  358. }
  359. },
  360. {
  361. "id": "pt-real-pandoc-off-call",
  362. "description": "pandoc-off call",
  363. "metadata": {
  364. "kind": "main",
  365. "timingPolicy": "fast-text",
  366. "source": "synthetic",
  367. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  368. },
  369. "maxMatches": 1,
  370. "match": {
  371. "method": "POST",
  372. "pathIncludes": "/messages",
  373. "bodyIncludes": ["E2E_PT_REAL_PANDOC_OFF"],
  374. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  375. },
  376. "response": {
  377. "statusCode": 200,
  378. "toolUse": {
  379. "id": "toolu_pt_real_pandoc_off",
  380. "name": "Bash",
  381. "input": {
  382. "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs pandoc-off",
  383. "timeout": 180000,
  384. "description": "Run real preinstalled tools phase: pandoc-off"
  385. }
  386. }
  387. }
  388. },
  389. {
  390. "id": "pt-real-pandoc-off-done",
  391. "description": "pandoc-off done",
  392. "metadata": {
  393. "kind": "main",
  394. "timingPolicy": "fast-text",
  395. "source": "synthetic",
  396. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  397. },
  398. "maxMatches": 1,
  399. "match": {
  400. "method": "POST",
  401. "pathIncludes": "/messages",
  402. "bodyIncludes": ["E2E_PT_REAL_PANDOC_OFF", "toolu_pt_real_pandoc_off"],
  403. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  404. },
  405. "response": {
  406. "statusCode": 200,
  407. "text": {
  408. "id": "pt-real-pandoc-off-done",
  409. "text": "E2E_PT_REAL_PANDOC_OFF_DONE",
  410. "inputTokens": 100,
  411. "outputTokens": 10
  412. }
  413. }
  414. },
  415. {
  416. "id": "pt-real-pandoc-on-call",
  417. "description": "pandoc-on call",
  418. "metadata": {
  419. "kind": "main",
  420. "timingPolicy": "fast-text",
  421. "source": "synthetic",
  422. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  423. },
  424. "maxMatches": 1,
  425. "match": {
  426. "method": "POST",
  427. "pathIncludes": "/messages",
  428. "bodyIncludes": ["E2E_PT_REAL_PANDOC_ON"],
  429. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  430. },
  431. "response": {
  432. "statusCode": 200,
  433. "toolUse": {
  434. "id": "toolu_pt_real_pandoc_on",
  435. "name": "Bash",
  436. "input": {
  437. "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs pandoc-on",
  438. "timeout": 180000,
  439. "description": "Run real preinstalled tools phase: pandoc-on"
  440. }
  441. }
  442. }
  443. },
  444. {
  445. "id": "pt-real-pandoc-on-done",
  446. "description": "pandoc-on done",
  447. "metadata": {
  448. "kind": "main",
  449. "timingPolicy": "fast-text",
  450. "source": "synthetic",
  451. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  452. },
  453. "maxMatches": 1,
  454. "match": {
  455. "method": "POST",
  456. "pathIncludes": "/messages",
  457. "bodyIncludes": ["E2E_PT_REAL_PANDOC_ON", "toolu_pt_real_pandoc_on"],
  458. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  459. },
  460. "response": {
  461. "statusCode": 200,
  462. "text": {
  463. "id": "pt-real-pandoc-on-done",
  464. "text": "E2E_PT_REAL_PANDOC_ON_DONE",
  465. "inputTokens": 100,
  466. "outputTokens": 10
  467. }
  468. }
  469. },
  470. {
  471. "id": "pt-real-poppler-off-call",
  472. "description": "poppler-off call",
  473. "metadata": {
  474. "kind": "main",
  475. "timingPolicy": "fast-text",
  476. "source": "synthetic",
  477. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  478. },
  479. "maxMatches": 1,
  480. "match": {
  481. "method": "POST",
  482. "pathIncludes": "/messages",
  483. "bodyIncludes": ["E2E_PT_REAL_POPPLER_OFF"],
  484. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  485. },
  486. "response": {
  487. "statusCode": 200,
  488. "toolUse": {
  489. "id": "toolu_pt_real_poppler_off",
  490. "name": "Bash",
  491. "input": {
  492. "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs poppler-off",
  493. "timeout": 180000,
  494. "description": "Run real preinstalled tools phase: poppler-off"
  495. }
  496. }
  497. }
  498. },
  499. {
  500. "id": "pt-real-poppler-off-done",
  501. "description": "poppler-off done",
  502. "metadata": {
  503. "kind": "main",
  504. "timingPolicy": "fast-text",
  505. "source": "synthetic",
  506. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  507. },
  508. "maxMatches": 1,
  509. "match": {
  510. "method": "POST",
  511. "pathIncludes": "/messages",
  512. "bodyIncludes": ["E2E_PT_REAL_POPPLER_OFF", "toolu_pt_real_poppler_off"],
  513. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  514. },
  515. "response": {
  516. "statusCode": 200,
  517. "text": {
  518. "id": "pt-real-poppler-off-done",
  519. "text": "E2E_PT_REAL_POPPLER_OFF_DONE",
  520. "inputTokens": 100,
  521. "outputTokens": 10
  522. }
  523. }
  524. },
  525. {
  526. "id": "pt-real-poppler-on-call",
  527. "description": "poppler-on call",
  528. "metadata": {
  529. "kind": "main",
  530. "timingPolicy": "fast-text",
  531. "source": "synthetic",
  532. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  533. },
  534. "maxMatches": 1,
  535. "match": {
  536. "method": "POST",
  537. "pathIncludes": "/messages",
  538. "bodyIncludes": ["E2E_PT_REAL_POPPLER_ON"],
  539. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  540. },
  541. "response": {
  542. "statusCode": 200,
  543. "toolUse": {
  544. "id": "toolu_pt_real_poppler_on",
  545. "name": "Bash",
  546. "input": {
  547. "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs poppler-on",
  548. "timeout": 180000,
  549. "description": "Run real preinstalled tools phase: poppler-on"
  550. }
  551. }
  552. }
  553. },
  554. {
  555. "id": "pt-real-poppler-on-done",
  556. "description": "poppler-on done",
  557. "metadata": {
  558. "kind": "main",
  559. "timingPolicy": "fast-text",
  560. "source": "synthetic",
  561. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  562. },
  563. "maxMatches": 1,
  564. "match": {
  565. "method": "POST",
  566. "pathIncludes": "/messages",
  567. "bodyIncludes": ["E2E_PT_REAL_POPPLER_ON", "toolu_pt_real_poppler_on"],
  568. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  569. },
  570. "response": {
  571. "statusCode": 200,
  572. "text": {
  573. "id": "pt-real-poppler-on-done",
  574. "text": "E2E_PT_REAL_POPPLER_ON_DONE",
  575. "inputTokens": 100,
  576. "outputTokens": 10
  577. }
  578. }
  579. },
  580. {
  581. "id": "pt-real-libreoffice-off-call",
  582. "description": "libreoffice-off call",
  583. "metadata": {
  584. "kind": "main",
  585. "timingPolicy": "fast-text",
  586. "source": "synthetic",
  587. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  588. },
  589. "maxMatches": 1,
  590. "match": {
  591. "method": "POST",
  592. "pathIncludes": "/messages",
  593. "bodyIncludes": ["E2E_PT_REAL_LIBREOFFICE_OFF"],
  594. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  595. },
  596. "response": {
  597. "statusCode": 200,
  598. "toolUse": {
  599. "id": "toolu_pt_real_libreoffice_off",
  600. "name": "Bash",
  601. "input": {
  602. "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs libreoffice-off",
  603. "timeout": 180000,
  604. "description": "Run real preinstalled tools phase: libreoffice-off"
  605. }
  606. }
  607. }
  608. },
  609. {
  610. "id": "pt-real-libreoffice-off-done",
  611. "description": "libreoffice-off done",
  612. "metadata": {
  613. "kind": "main",
  614. "timingPolicy": "fast-text",
  615. "source": "synthetic",
  616. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  617. },
  618. "maxMatches": 1,
  619. "match": {
  620. "method": "POST",
  621. "pathIncludes": "/messages",
  622. "bodyIncludes": ["E2E_PT_REAL_LIBREOFFICE_OFF", "toolu_pt_real_libreoffice_off"],
  623. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  624. },
  625. "response": {
  626. "statusCode": 200,
  627. "text": {
  628. "id": "pt-real-libreoffice-off-done",
  629. "text": "E2E_PT_REAL_LIBREOFFICE_OFF_DONE",
  630. "inputTokens": 100,
  631. "outputTokens": 10
  632. }
  633. }
  634. },
  635. {
  636. "id": "pt-real-libreoffice-on-call",
  637. "description": "libreoffice-on call",
  638. "metadata": {
  639. "kind": "main",
  640. "timingPolicy": "fast-text",
  641. "source": "synthetic",
  642. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  643. },
  644. "maxMatches": 1,
  645. "match": {
  646. "method": "POST",
  647. "pathIncludes": "/messages",
  648. "bodyIncludes": ["E2E_PT_REAL_LIBREOFFICE_ON"],
  649. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  650. },
  651. "response": {
  652. "statusCode": 200,
  653. "toolUse": {
  654. "id": "toolu_pt_real_libreoffice_on",
  655. "name": "Bash",
  656. "input": {
  657. "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs libreoffice-on",
  658. "timeout": 180000,
  659. "description": "Run real preinstalled tools phase: libreoffice-on"
  660. }
  661. }
  662. }
  663. },
  664. {
  665. "id": "pt-real-libreoffice-on-done",
  666. "description": "libreoffice-on done",
  667. "metadata": {
  668. "kind": "main",
  669. "timingPolicy": "fast-text",
  670. "source": "synthetic",
  671. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  672. },
  673. "maxMatches": 1,
  674. "match": {
  675. "method": "POST",
  676. "pathIncludes": "/messages",
  677. "bodyIncludes": ["E2E_PT_REAL_LIBREOFFICE_ON", "toolu_pt_real_libreoffice_on"],
  678. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  679. },
  680. "response": {
  681. "statusCode": 200,
  682. "text": {
  683. "id": "pt-real-libreoffice-on-done",
  684. "text": "E2E_PT_REAL_LIBREOFFICE_ON_DONE",
  685. "inputTokens": 100,
  686. "outputTokens": 10
  687. }
  688. }
  689. },
  690. {
  691. "id": "pt-real-fallbacks-call",
  692. "description": "fallbacks call",
  693. "metadata": {
  694. "kind": "main",
  695. "timingPolicy": "fast-text",
  696. "source": "synthetic",
  697. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  698. },
  699. "maxMatches": 1,
  700. "match": {
  701. "method": "POST",
  702. "pathIncludes": "/messages",
  703. "bodyIncludes": ["E2E_PT_REAL_FALLBACKS"],
  704. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  705. },
  706. "response": {
  707. "statusCode": 200,
  708. "toolUse": {
  709. "id": "toolu_pt_real_fallbacks",
  710. "name": "Bash",
  711. "input": {
  712. "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs fallbacks",
  713. "timeout": 180000,
  714. "description": "Run real preinstalled tools phase: fallbacks"
  715. }
  716. }
  717. }
  718. },
  719. {
  720. "id": "pt-real-fallbacks-done",
  721. "description": "fallbacks done",
  722. "metadata": {
  723. "kind": "main",
  724. "timingPolicy": "fast-text",
  725. "source": "synthetic",
  726. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  727. },
  728. "maxMatches": 1,
  729. "match": {
  730. "method": "POST",
  731. "pathIncludes": "/messages",
  732. "bodyIncludes": ["E2E_PT_REAL_FALLBACKS", "toolu_pt_real_fallbacks"],
  733. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  734. },
  735. "response": {
  736. "statusCode": 200,
  737. "text": {
  738. "id": "pt-real-fallbacks-done",
  739. "text": "E2E_PT_REAL_FALLBACKS_DONE",
  740. "inputTokens": 100,
  741. "outputTokens": 10
  742. }
  743. }
  744. },
  745. {
  746. "id": "pt-real-upgrade-before-call",
  747. "description": "upgrade-before call",
  748. "metadata": {
  749. "kind": "main",
  750. "timingPolicy": "fast-text",
  751. "source": "synthetic",
  752. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  753. },
  754. "maxMatches": 1,
  755. "match": {
  756. "method": "POST",
  757. "pathIncludes": "/messages",
  758. "bodyIncludes": ["E2E_PT_REAL_UPGRADE_BEFORE"],
  759. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  760. },
  761. "response": {
  762. "statusCode": 200,
  763. "toolUse": {
  764. "id": "toolu_pt_real_upgrade_before",
  765. "name": "Bash",
  766. "input": {
  767. "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs upgrade-before",
  768. "timeout": 180000,
  769. "description": "Run real preinstalled tools phase: upgrade-before"
  770. }
  771. }
  772. }
  773. },
  774. {
  775. "id": "pt-real-upgrade-before-done",
  776. "description": "upgrade-before done",
  777. "metadata": {
  778. "kind": "main",
  779. "timingPolicy": "fast-text",
  780. "source": "synthetic",
  781. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  782. },
  783. "maxMatches": 1,
  784. "match": {
  785. "method": "POST",
  786. "pathIncludes": "/messages",
  787. "bodyIncludes": ["E2E_PT_REAL_UPGRADE_BEFORE", "toolu_pt_real_upgrade_before"],
  788. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  789. },
  790. "response": {
  791. "statusCode": 200,
  792. "text": {
  793. "id": "pt-real-upgrade-before-done",
  794. "text": "E2E_PT_REAL_UPGRADE_BEFORE_DONE",
  795. "inputTokens": 100,
  796. "outputTokens": 10
  797. }
  798. }
  799. },
  800. {
  801. "id": "pt-real-upgrade-after-call",
  802. "description": "upgrade-after call",
  803. "metadata": {
  804. "kind": "main",
  805. "timingPolicy": "fast-text",
  806. "source": "synthetic",
  807. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  808. },
  809. "maxMatches": 1,
  810. "match": {
  811. "method": "POST",
  812. "pathIncludes": "/messages",
  813. "bodyIncludes": ["E2E_PT_REAL_UPGRADE_AFTER"],
  814. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  815. },
  816. "response": {
  817. "statusCode": 200,
  818. "toolUse": {
  819. "id": "toolu_pt_real_upgrade_after",
  820. "name": "Bash",
  821. "input": {
  822. "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs upgrade-after",
  823. "timeout": 180000,
  824. "description": "Run real preinstalled tools phase: upgrade-after"
  825. }
  826. }
  827. }
  828. },
  829. {
  830. "id": "pt-real-upgrade-after-done",
  831. "description": "upgrade-after done",
  832. "metadata": {
  833. "kind": "main",
  834. "timingPolicy": "fast-text",
  835. "source": "synthetic",
  836. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  837. },
  838. "maxMatches": 1,
  839. "match": {
  840. "method": "POST",
  841. "pathIncludes": "/messages",
  842. "bodyIncludes": ["E2E_PT_REAL_UPGRADE_AFTER", "toolu_pt_real_upgrade_after"],
  843. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  844. },
  845. "response": {
  846. "statusCode": 200,
  847. "text": {
  848. "id": "pt-real-upgrade-after-done",
  849. "text": "E2E_PT_REAL_UPGRADE_AFTER_DONE",
  850. "inputTokens": 100,
  851. "outputTokens": 10
  852. }
  853. }
  854. },
  855. {
  856. "id": "pt-real-finish-call",
  857. "description": "finish call",
  858. "metadata": {
  859. "kind": "main",
  860. "timingPolicy": "fast-text",
  861. "source": "synthetic",
  862. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  863. },
  864. "maxMatches": 1,
  865. "match": {
  866. "method": "POST",
  867. "pathIncludes": "/messages",
  868. "bodyIncludes": ["E2E_PT_REAL_FINISH"],
  869. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  870. },
  871. "response": {
  872. "statusCode": 200,
  873. "toolUse": {
  874. "id": "toolu_pt_real_finish",
  875. "name": "Bash",
  876. "input": {
  877. "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs finish",
  878. "timeout": 180000,
  879. "description": "Run real preinstalled tools phase: finish"
  880. }
  881. }
  882. }
  883. },
  884. {
  885. "id": "pt-real-finish-done",
  886. "description": "finish done",
  887. "metadata": {
  888. "kind": "main",
  889. "timingPolicy": "fast-text",
  890. "source": "synthetic",
  891. "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
  892. },
  893. "maxMatches": 1,
  894. "match": {
  895. "method": "POST",
  896. "pathIncludes": "/messages",
  897. "bodyIncludes": ["E2E_PT_REAL_FINISH", "toolu_pt_real_finish"],
  898. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  899. },
  900. "response": {
  901. "statusCode": 200,
  902. "text": {
  903. "id": "pt-real-finish-done",
  904. "text": "E2E_PT_REAL_FINISH_DONE",
  905. "inputTokens": 100,
  906. "outputTokens": 10
  907. }
  908. }
  909. }
  910. ]
  911. }