UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

15 lines • 1.02 kB
import type { ExtensionUIContext } from "./extensions/types.ts"; import type { McpFormBinding } from "./mcp-form-types.ts"; /** Local host references only. RPC capabilities and serialized UI objects cannot enter this registry. */ export interface McpMrtrPresentation { readonly ui: Pick<ExtensionUIContext, "select" | "input">; readonly signal: AbortSignal; readonly admit?: () => void; readonly presented?: () => void; readonly privateForms?: McpFormBinding; } export declare function registerMcpMrtrPresentation(ui: ExtensionUIContext, signal: AbortSignal, admit?: () => void, privateForms?: McpFormBinding): ExtensionUIContext; export declare function getMcpMrtrPresentation(ui: object): McpMrtrPresentation | undefined; /** Preserve host identity across runner wrapping; private dialogs still use the raw host UI. */ export declare function inheritMcpMrtrPresentation(source: ExtensionUIContext, wrapper: ExtensionUIContext): ExtensionUIContext; //# sourceMappingURL=mcp-mrtr-presentations.d.ts.map