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

Function envelopeOf

packages/server/test/config.e2e.test.ts:68–80  ·  view source on GitHub ↗
(body: unknown)

Source from the content-addressed store, hash-verified

66}
67
68function envelopeOf<T>(body: unknown): {
69 code: number;
70 msg: string;
71 data: T | null;
72 request_id: string;
73} {
74 return body as {
75 code: number;
76 msg: string;
77 data: T | null;
78 request_id: string;
79 };
80}
81
82function seedConfig(toml: string): void {
83 writeFileSync(join(bridgeHome, 'config.toml'), toml, 'utf-8');

Callers 1

config.e2e.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected