| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911 |
- {
- "version": 1,
- "caseName": "conversation-session-preinstalled-tools-real-loopback",
- "spec": "./test/e2e/conversation-session/conversation-session-preinstalled-tools-real-loopback.test.ts",
- "fixtures": [
- {
- "id": "pt-real-title",
- "description": "固定验收标题",
- "metadata": {
- "kind": "common",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["Generate a concise title", "E2E_PT_REAL"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "pt-real-title",
- "text": "{\"title\":\"Five preinstalled tools\"}",
- "inputTokens": 100,
- "outputTokens": 10
- }
- }
- },
- {
- "id": "pt-real-before-call",
- "description": "before call",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_BEFORE"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "toolu_pt_real_before",
- "name": "Bash",
- "input": {
- "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs before",
- "timeout": 180000,
- "description": "Run real preinstalled tools phase: before"
- }
- }
- }
- },
- {
- "id": "pt-real-before-done",
- "description": "before done",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_BEFORE", "toolu_pt_real_before"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "pt-real-before-done",
- "text": "E2E_PT_REAL_BEFORE_DONE",
- "inputTokens": 100,
- "outputTokens": 10
- }
- }
- },
- {
- "id": "pt-real-main-call",
- "description": "main call",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_MAIN"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "toolu_pt_real_main",
- "name": "Bash",
- "input": {
- "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs main",
- "timeout": 360000,
- "description": "Run real preinstalled tools phase: main"
- }
- }
- }
- },
- {
- "id": "pt-real-main-done",
- "description": "main done",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_MAIN", "toolu_pt_real_main"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "pt-real-main-done",
- "text": "E2E_PT_REAL_MAIN_DONE",
- "inputTokens": 100,
- "outputTokens": 10
- }
- }
- },
- {
- "id": "pt-real-python-off-call",
- "description": "python-off call",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_PYTHON_OFF"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "toolu_pt_real_python_off",
- "name": "Bash",
- "input": {
- "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs python-off",
- "timeout": 180000,
- "description": "Run real preinstalled tools phase: python-off"
- }
- }
- }
- },
- {
- "id": "pt-real-python-off-done",
- "description": "python-off done",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_PYTHON_OFF", "toolu_pt_real_python_off"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "pt-real-python-off-done",
- "text": "E2E_PT_REAL_PYTHON_OFF_DONE",
- "inputTokens": 100,
- "outputTokens": 10
- }
- }
- },
- {
- "id": "pt-real-python-on-call",
- "description": "python-on call",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_PYTHON_ON"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "toolu_pt_real_python_on",
- "name": "Bash",
- "input": {
- "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs python-on",
- "timeout": 180000,
- "description": "Run real preinstalled tools phase: python-on"
- }
- }
- }
- },
- {
- "id": "pt-real-python-on-done",
- "description": "python-on done",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_PYTHON_ON", "toolu_pt_real_python_on"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "pt-real-python-on-done",
- "text": "E2E_PT_REAL_PYTHON_ON_DONE",
- "inputTokens": 100,
- "outputTokens": 10
- }
- }
- },
- {
- "id": "pt-real-qpdf-off-call",
- "description": "qpdf-off call",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_QPDF_OFF"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "toolu_pt_real_qpdf_off",
- "name": "Bash",
- "input": {
- "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs qpdf-off",
- "timeout": 180000,
- "description": "Run real preinstalled tools phase: qpdf-off"
- }
- }
- }
- },
- {
- "id": "pt-real-qpdf-off-done",
- "description": "qpdf-off done",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_QPDF_OFF", "toolu_pt_real_qpdf_off"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "pt-real-qpdf-off-done",
- "text": "E2E_PT_REAL_QPDF_OFF_DONE",
- "inputTokens": 100,
- "outputTokens": 10
- }
- }
- },
- {
- "id": "pt-real-qpdf-on-call",
- "description": "qpdf-on call",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_QPDF_ON"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "toolu_pt_real_qpdf_on",
- "name": "Bash",
- "input": {
- "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs qpdf-on",
- "timeout": 180000,
- "description": "Run real preinstalled tools phase: qpdf-on"
- }
- }
- }
- },
- {
- "id": "pt-real-qpdf-on-done",
- "description": "qpdf-on done",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_QPDF_ON", "toolu_pt_real_qpdf_on"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "pt-real-qpdf-on-done",
- "text": "E2E_PT_REAL_QPDF_ON_DONE",
- "inputTokens": 100,
- "outputTokens": 10
- }
- }
- },
- {
- "id": "pt-real-pandoc-off-call",
- "description": "pandoc-off call",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_PANDOC_OFF"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "toolu_pt_real_pandoc_off",
- "name": "Bash",
- "input": {
- "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs pandoc-off",
- "timeout": 180000,
- "description": "Run real preinstalled tools phase: pandoc-off"
- }
- }
- }
- },
- {
- "id": "pt-real-pandoc-off-done",
- "description": "pandoc-off done",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_PANDOC_OFF", "toolu_pt_real_pandoc_off"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "pt-real-pandoc-off-done",
- "text": "E2E_PT_REAL_PANDOC_OFF_DONE",
- "inputTokens": 100,
- "outputTokens": 10
- }
- }
- },
- {
- "id": "pt-real-pandoc-on-call",
- "description": "pandoc-on call",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_PANDOC_ON"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "toolu_pt_real_pandoc_on",
- "name": "Bash",
- "input": {
- "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs pandoc-on",
- "timeout": 180000,
- "description": "Run real preinstalled tools phase: pandoc-on"
- }
- }
- }
- },
- {
- "id": "pt-real-pandoc-on-done",
- "description": "pandoc-on done",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_PANDOC_ON", "toolu_pt_real_pandoc_on"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "pt-real-pandoc-on-done",
- "text": "E2E_PT_REAL_PANDOC_ON_DONE",
- "inputTokens": 100,
- "outputTokens": 10
- }
- }
- },
- {
- "id": "pt-real-poppler-off-call",
- "description": "poppler-off call",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_POPPLER_OFF"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "toolu_pt_real_poppler_off",
- "name": "Bash",
- "input": {
- "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs poppler-off",
- "timeout": 180000,
- "description": "Run real preinstalled tools phase: poppler-off"
- }
- }
- }
- },
- {
- "id": "pt-real-poppler-off-done",
- "description": "poppler-off done",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_POPPLER_OFF", "toolu_pt_real_poppler_off"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "pt-real-poppler-off-done",
- "text": "E2E_PT_REAL_POPPLER_OFF_DONE",
- "inputTokens": 100,
- "outputTokens": 10
- }
- }
- },
- {
- "id": "pt-real-poppler-on-call",
- "description": "poppler-on call",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_POPPLER_ON"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "toolu_pt_real_poppler_on",
- "name": "Bash",
- "input": {
- "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs poppler-on",
- "timeout": 180000,
- "description": "Run real preinstalled tools phase: poppler-on"
- }
- }
- }
- },
- {
- "id": "pt-real-poppler-on-done",
- "description": "poppler-on done",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_POPPLER_ON", "toolu_pt_real_poppler_on"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "pt-real-poppler-on-done",
- "text": "E2E_PT_REAL_POPPLER_ON_DONE",
- "inputTokens": 100,
- "outputTokens": 10
- }
- }
- },
- {
- "id": "pt-real-libreoffice-off-call",
- "description": "libreoffice-off call",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_LIBREOFFICE_OFF"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "toolu_pt_real_libreoffice_off",
- "name": "Bash",
- "input": {
- "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs libreoffice-off",
- "timeout": 180000,
- "description": "Run real preinstalled tools phase: libreoffice-off"
- }
- }
- }
- },
- {
- "id": "pt-real-libreoffice-off-done",
- "description": "libreoffice-off done",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_LIBREOFFICE_OFF", "toolu_pt_real_libreoffice_off"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "pt-real-libreoffice-off-done",
- "text": "E2E_PT_REAL_LIBREOFFICE_OFF_DONE",
- "inputTokens": 100,
- "outputTokens": 10
- }
- }
- },
- {
- "id": "pt-real-libreoffice-on-call",
- "description": "libreoffice-on call",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_LIBREOFFICE_ON"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "toolu_pt_real_libreoffice_on",
- "name": "Bash",
- "input": {
- "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs libreoffice-on",
- "timeout": 180000,
- "description": "Run real preinstalled tools phase: libreoffice-on"
- }
- }
- }
- },
- {
- "id": "pt-real-libreoffice-on-done",
- "description": "libreoffice-on done",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_LIBREOFFICE_ON", "toolu_pt_real_libreoffice_on"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "pt-real-libreoffice-on-done",
- "text": "E2E_PT_REAL_LIBREOFFICE_ON_DONE",
- "inputTokens": 100,
- "outputTokens": 10
- }
- }
- },
- {
- "id": "pt-real-fallbacks-call",
- "description": "fallbacks call",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_FALLBACKS"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "toolu_pt_real_fallbacks",
- "name": "Bash",
- "input": {
- "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs fallbacks",
- "timeout": 180000,
- "description": "Run real preinstalled tools phase: fallbacks"
- }
- }
- }
- },
- {
- "id": "pt-real-fallbacks-done",
- "description": "fallbacks done",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_FALLBACKS", "toolu_pt_real_fallbacks"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "pt-real-fallbacks-done",
- "text": "E2E_PT_REAL_FALLBACKS_DONE",
- "inputTokens": 100,
- "outputTokens": 10
- }
- }
- },
- {
- "id": "pt-real-upgrade-before-call",
- "description": "upgrade-before call",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_UPGRADE_BEFORE"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "toolu_pt_real_upgrade_before",
- "name": "Bash",
- "input": {
- "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs upgrade-before",
- "timeout": 180000,
- "description": "Run real preinstalled tools phase: upgrade-before"
- }
- }
- }
- },
- {
- "id": "pt-real-upgrade-before-done",
- "description": "upgrade-before done",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_UPGRADE_BEFORE", "toolu_pt_real_upgrade_before"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "pt-real-upgrade-before-done",
- "text": "E2E_PT_REAL_UPGRADE_BEFORE_DONE",
- "inputTokens": 100,
- "outputTokens": 10
- }
- }
- },
- {
- "id": "pt-real-upgrade-after-call",
- "description": "upgrade-after call",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_UPGRADE_AFTER"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "toolu_pt_real_upgrade_after",
- "name": "Bash",
- "input": {
- "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs upgrade-after",
- "timeout": 180000,
- "description": "Run real preinstalled tools phase: upgrade-after"
- }
- }
- }
- },
- {
- "id": "pt-real-upgrade-after-done",
- "description": "upgrade-after done",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_UPGRADE_AFTER", "toolu_pt_real_upgrade_after"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "pt-real-upgrade-after-done",
- "text": "E2E_PT_REAL_UPGRADE_AFTER_DONE",
- "inputTokens": 100,
- "outputTokens": 10
- }
- }
- },
- {
- "id": "pt-real-finish-call",
- "description": "finish call",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_FINISH"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "toolu_pt_real_finish",
- "name": "Bash",
- "input": {
- "command": "node .zcode-e2e/conversation-session-preinstalled-tools-real-loopback/probe.mjs finish",
- "timeout": 180000,
- "description": "Run real preinstalled tools phase: finish"
- }
- }
- }
- },
- {
- "id": "pt-real-finish-done",
- "description": "finish done",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "固定Provider只驱动真实Agent Bash;归档、分发插件、文档转换、开关和升级使用实际运行结果。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_PT_REAL_FINISH", "toolu_pt_real_finish"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "pt-real-finish-done",
- "text": "E2E_PT_REAL_FINISH_DONE",
- "inputTokens": 100,
- "outputTokens": 10
- }
- }
- }
- ]
- }
|