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

Function envelopeOf

packages/server/test/fs-git.e2e.test.ts:104–118  ·  view source on GitHub ↗
(body: unknown)

Source from the content-addressed store, hash-verified

102}
103
104function envelopeOf<T>(body: unknown): {
105 code: number;
106 msg: string;
107 data: T | null;
108 request_id: string;
109 details?: unknown;
110} {
111 return body as {
112 code: number;
113 msg: string;
114 data: T | null;
115 request_id: string;
116 details?: unknown;
117 };
118}
119
120async function createSession(r: RunningServer): Promise<string> {
121 const res = await appOf(r).inject({

Callers 2

createSessionFunction · 0.70
fs-git.e2e.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected