| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- {
- "version": 1,
- "caseName": "conversation-session-bot-channel-worker",
- "spec": "./test/e2e/conversation-session/session-control/conversation-session-bot-channel-worker.test.ts",
- "fixtures": [
- {
- "id": "first-tool",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "确定性触发真实 CLI ReplyToChannel 与客户端续聊,外部飞书 HTTP 被隔离。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "lastUserMessageIncludes": ["E2E_BOT_CHANNEL_FIRST"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "call_first",
- "name": "ReplyToChannel",
- "input": {
- "parts": [
- {
- "type": "mention",
- "refId": "om_first:m1"
- },
- {
- "type": "text",
- "text": " E2E_NATIVE_first"
- }
- ]
- }
- }
- },
- "maxMatches": 1
- },
- {
- "id": "first-final",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "确定性触发真实 CLI ReplyToChannel 与客户端续聊,外部飞书 HTTP 被隔离。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyExcludes": [
- "Generate a concise title",
- "CRITICAL: Respond with TEXT ONLY",
- "E2E_BOT_CHANNEL_FOLLOWUP"
- ],
- "bodyIncludes": ["E2E_BOT_CHANNEL_FIRST"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "text": "E2E_CHANNEL_DONE_first"
- }
- }
- },
- {
- "id": "followup-tool",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "确定性触发真实 CLI ReplyToChannel 与客户端续聊,外部飞书 HTTP 被隔离。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "lastUserMessageIncludes": ["E2E_BOT_CHANNEL_FOLLOWUP"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "toolUse": {
- "id": "call_followup",
- "name": "ReplyToChannel",
- "input": {
- "parts": [
- {
- "type": "mentionName",
- "name": "目录目标"
- },
- {
- "type": "text",
- "text": " E2E_NATIVE_followup"
- }
- ]
- }
- }
- },
- "maxMatches": 1
- },
- {
- "id": "followup-final",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "确定性触发真实 CLI ReplyToChannel 与客户端续聊,外部飞书 HTTP 被隔离。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"],
- "bodyIncludes": ["E2E_BOT_CHANNEL_FOLLOWUP"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "text": "E2E_CHANNEL_DONE_followup"
- }
- }
- }
- ]
- }
|