{ "version": 1, "caseName": "conversation-session-ssh-remote-settings-overlay-sidebar-status", "spec": "./test/e2e/conversation-session/remote/configuration/conversation-session-ssh-remote-settings-overlay-sidebar-status.test.ts", "fixtures": [ { "id": "ssh-settings-overlay-title", "description": "SSH settings overlay 标题辅助响应。", "metadata": { "kind": "common", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "标题内容不属于侧栏状态断言,只需稳定 task row。" }, "maxMatches": 2, "match": { "method": "POST", "pathIncludes": "/chat/completions", "bodyIncludes": ["Generate a concise title", "E2E_SSH_P0_SETTINGS_OVERLAY_SIDEBAR"] }, "response": { "statusCode": 200, "headers": { "content-type": "application/json; charset=utf-8" }, "body": "{\"id\":\"ssh-settings-overlay-title\",\"object\":\"chat.completion\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"{\\\"title\\\":\\\"SSH settings overlay\\\"}\"},\"finish_reason\":\"stop\"}]}" } }, { "id": "ssh-settings-overlay-a-first", "description": "workspace A 首发响应。", "metadata": { "kind": "main", "timingPolicy": "slow-stream", "source": "synthetic", "syntheticReason": "稳定创建远程 task 并让首发回到 idle。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_SSH_P0_SETTINGS_OVERLAY_SIDEBAR_A_FIRST_PROMPT"], "bodyExcludes": ["Generate a concise title"] }, "response": { "statusCode": 200, "delayMs": 1200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"ssh-settings-overlay-a-first\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"SSH_P0_SETTINGS_OVERLAY_SIDEBAR_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"ssh-settings-overlay-a-first\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}]}\n\ndata: [DONE]\n\n" } }, { "id": "ssh-settings-overlay-a-follow", "description": "续发写出首个流片段后等待开关设置页及运行态断言,显式释放后结束任务。", "metadata": { "kind": "main", "timingPolicy": "controlled-stream", "source": "synthetic", "syntheticReason": "确保设置页覆盖与返回都发生在远端任务运行期间,释放后验证侧栏订阅正确收口。" }, "match": { "method": "POST", "pathIncludes": "/chat/completions", "lastUserMessageIncludes": ["E2E_SSH_P0_SETTINGS_OVERLAY_SIDEBAR_A_FOLLOW_PROMPT"], "bodyExcludes": ["Generate a concise title"] }, "response": { "statusCode": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "chunks": [ { "offsetMs": 0, "text": "data: {\"id\":\"ssh-settings-overlay-a-follow\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"SSH_P0_SETTINGS_OVERLAY_SIDEBAR_REPLY\"},\"finish_reason\":null}]}\n\n" }, { "offsetMs": 100, "text": "data: {\"id\":\"ssh-settings-overlay-a-follow\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}]}\n\n" }, { "offsetMs": 200, "text": "data: [DONE]\n\n" } ], "releaseAfterChunks": 1 } } ] }