docs: 交付文档、维护指引与端到端回归

补齐 README、开发计划、维护交接与 E2E 用例,执行最终验收。
This commit is contained in:
WangShen007 committed 2026-10-21 21:40:00 +08:00
1 parent 5be5ca3376
commit 308332eb94
216 files changed
+37038

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
import type { APIRequestContext } from '@playwright/test'
import { env } from '../env'
export interface McpRequest {
at: string
authorization: string | null
rpcMethod: string | null
}
/** Test-side client for services/fake-mcp: what reached the MCP server. */
export class FakeMcp {
readonly url = `${env.fakeMcpUrl}/mcp`
private readonly request: APIRequestContext
constructor(request: APIRequestContext) {
this.request = request
}
async requests(): Promise<McpRequest[]> {
return (await (await this.request.get(`${env.fakeMcpUrl}/__requests`)).json()) as McpRequest[]
}
}