UNPKG

@code-yeongyu/senpi

Version:

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

30 lines • 2.4 kB
/** * Run modes for the coding agent. */ export { InteractiveMode } from "./interactive/interactive-mode.js"; export { runPrintMode } from "./print-mode.js"; // The shard naming contract every client computes identically; `senpi host shard-path` prints the same. export { daemonDirectoryName, ENDPOINT_REGISTRY_VERSION, shardKey, shardSocketPath, shardSocketPathForKey, } from "./rpc/host-daemon-paths.js"; // Host compatibility and upgrade decisions: protocol version + capabilities + ordinal, never a version string export { decideHostAction, GENERATION_HANDOFF_CAPABILITY, HOST_PROTOCOL_VERSION, HostEnsureRefusedError, parseHostProtocolInfo, REQUIRED_HOST_CAPABILITIES, } from "./rpc/host-decision.js"; // The one endpoint registry: which endpoints an agent directory holds, whether each can be reached, // and the evidence-gated removal of the ones that provably ended. export { classifyEndpointLiveness, endpointProbeTimeoutMs, TUI_PROBE_TIMEOUT_MS, } from "./rpc/host-endpoint-liveness.js"; export { listHostEndpoints } from "./rpc/host-endpoints.js"; export { createHostDaemonPaths, ensureHost, PINNED_HOST_CLIENT_CAPABILITIES, } from "./rpc/host-ensure.js"; export { gcHostEndpoints } from "./rpc/host-gc.js"; // Replacing a running daemon without ending its work: the drain-based generation handoff, // the identity probe every decision starts from, and the two ways a generation is ended. export { handoffHost, } from "./rpc/host-handoff.js"; export { describeHostHolder } from "./rpc/host-holder.js"; // What a client hands `senpi host` to describe the daemon it wants, and the trust boundary it crosses. export { DEFAULT_HOST_LAUNCH_SPEC, HostLaunchSpecError, loadHostLaunchSpec, parseHostLaunchSpec, } from "./rpc/host-launch-spec.js"; export { probeHost } from "./rpc/host-probe.js"; // One host request - ensure, status, stop, handoff - and the exit codes its outcomes mean. export { HOST_EXIT_ERROR, HOST_EXIT_FALLBACK, HOST_EXIT_OK, HOST_EXIT_REFUSED, HOST_EXIT_USAGE, runHostRequest, } from "./rpc/host-runner.js"; export { readHostStatus, } from "./rpc/host-status.js"; export { readAllHostStatus } from "./rpc/host-status-all.js"; export { stopHost } from "./rpc/host-stop.js"; export { isTransportGoneError, RpcClient, RpcClientOpenInFlightError, RpcTransportGoneError, } from "./rpc/rpc-client.js"; export { runRpcMode } from "./rpc/rpc-mode.js"; //# sourceMappingURL=index.js.map