MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / toSerializableEvalResult

Function toSerializableEvalResult

apps/extension/src/shared/tab-debugger.ts:414–434  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

412 readonly released: number;
413 readonly ok: true;
414 readonly type: typeof RELEASE_BROWSER_CALLER_MESSAGE;
415 }
416 | {
417 /** `needs_permission`: the transport maps this to JSON-RPC -32010. */
418 readonly permission?:
419 | {
420 readonly items: readonly Record<string, unknown>[];
421 readonly stepToken?: string | undefined;
422 }
423 | undefined;
424 readonly result: EvalTabResult;
425 readonly ok: true;
426 readonly type: typeof BROWSER_TOOL_MESSAGE;
427 /** Origins whose frames this agent call could not read. */
428 readonly withheldFrames?: readonly string[] | undefined;
429 }
430 | {
431 /** `origin_changed`: the transport maps this to JSON-RPC -32012. */
432 readonly originChanged: { readonly from: string; readonly to: string };
433 readonly result: EvalTabResult;
434 readonly ok: true;
435 readonly type: typeof BROWSER_TOOL_MESSAGE;
436 }
437 | {

Callers 2

evalInTabFunction · 0.85
evalInTabWithScriptingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected