@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
22 lines • 1.34 kB
TypeScript
import { type ToolRuntimeKind } from "../../cli/tool-runtime.ts";
/** `unload_session` and `session_parked.reason` (senpi#3225). */
export declare const UNLOAD_SESSION_CAPABILITY = "unload_session";
/** `get_subscription_limits` and the `subscription_limits` host record (senpi#3370). */
export declare const SUBSCRIPTION_LIMITS_CAPABILITY = "subscription_limits";
/** `resolve_path`: which file a message's path means, the engine's one rule (senpi#3415). */
export declare const RESOLVE_PATH_CAPABILITY = "resolve_path";
/** `set_permission_preset`: a live session's approval mode can be set and is echoed back (classic and multi-session). */
export declare const SET_PERMISSION_PRESET_CAPABILITY = "set_permission_preset_v1";
/**
* The capabilities a multi-session host advertises in `get_protocol_info`, in their wire order. `warm` is added only
* when the runtime is in-process, `tool_runtime:<kind>` names where heavy tool work runs, and `negotiated` carries
* the launch capabilities this connection was given.
*/
export declare function multiSessionHostCapabilities(options: {
readonly warm: boolean;
readonly parkClaim?: boolean;
readonly toolRuntime: ToolRuntimeKind;
readonly negotiated: readonly string[];
readonly mcpPresenters?: boolean;
}): string[];
//# sourceMappingURL=host-capabilities.d.ts.map