@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
15 lines • 719 B
TypeScript
import type { HandleInfo, Limits, ProcessHandle, SpawnRequest } from "../types.ts";
import type { HolderLink } from "./holder-link.ts";
import { type ScopeRegistry } from "./scopes.ts";
/** Live and finished handles of one MachineOps instance. */
export declare class HandleRegistry {
private readonly handles;
private readonly holder;
private readonly scopes;
private readonly limits;
constructor(holder: HolderLink, scopes: ScopeRegistry | undefined, limits: Limits);
spawn(req: SpawnRequest, principal: string, limits: Limits): Promise<ProcessHandle>;
get(id: string): ProcessHandle | undefined;
list(principal?: string): readonly HandleInfo[];
}
//# sourceMappingURL=handles.d.ts.map