MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / create-rpc.test.ts

File create-rpc.test.ts

packages/agent-core/test/rpc/create-rpc.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it, vi } from 'vitest';
2
3import { ErrorCodes, KimiError } from '../../src/errors';
4import { createRPC } from '../../src/rpc';

Callers

nothing calls this directly

Calls 8

createRPCFunction · 0.90
callProviderMethod · 0.80
misbehaveMethod · 0.80
emitEventMethod · 0.65
requestApprovalMethod · 0.65
getConfigMethod · 0.65
failMethod · 0.65
promptMethod · 0.65

Tested by

no test coverage detected