MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / envelopeOf

Function envelopeOf

packages/server/test/auth.e2e.test.ts:94–108  ·  view source on GitHub ↗
(body: unknown)

Source from the content-addressed store, hash-verified

92}
93
94function envelopeOf<T>(body: unknown): {
95 code: number;
96 msg: string;
97 data: T | null;
98 request_id: string;
99 details?: unknown;
100} {
101 return body as {
102 code: number;
103 msg: string;
104 data: T | null;
105 request_id: string;
106 details?: unknown;
107 };
108}
109
110/**
111 * Seed `<bridgeHome>/config.toml` BEFORE server boot. Path layout matches

Callers 2

createSessionFunction · 0.70
auth.e2e.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected