UNPKG

@code-yeongyu/senpi

Version:

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

16 lines • 934 B
import type { PathIdentityResolver } from "../../core/extensions/builtin/permission-system/path-identity-host.ts"; declare const STATES: readonly ["not_started", "ready", "unavailable"]; type PathIdentityResolverState = (typeof STATES)[number]; /** * What `senpi host status` says about the path identity resolver: `not_started` until a worker has * published its first mount snapshot (the worker is spawned by the first path request), `ready` after * it, or `unavailable` with why the worker could not start. */ export interface PathIdentityResolverStatus { readonly state: PathIdentityResolverState; readonly detail: string | null; } export declare function pathIdentityResolverStatus(resolver: PathIdentityResolver): PathIdentityResolverStatus; export declare function parsePathIdentityResolverStatus(value: unknown): PathIdentityResolverStatus | undefined; export {}; //# sourceMappingURL=path-identity-status.d.ts.map