@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
28 lines • 1.58 kB
TypeScript
/**
* Every ensured host starts with this installation-wide profile, independent of the first
* caller. In particular, extension_events must remain available when a terminal client starts
* the shared host before the desktop connects.
*/
export declare const PINNED_HOST_CLIENT_CAPABILITIES: readonly ["extension_events", "custom_unsupported"];
/**
* Builds the spawnable supervisor command for one supervisor argv
* (`--socket <public> [--bind <path>] [--replace <dev>:<ino>] [host cli args...]`).
*
* A compiled standalone binary cannot re-enter itself through a script path: bun executables
* always boot their embedded entrypoint and parse the whole argv as CLI arguments, so
* `host-lifecycle.ts --socket <path>` dies with "Unknown option: --socket" before the host ever
* answers get_protocol_info. Compiled binaries therefore re-enter through the hidden
* `--internal-rpc-host-supervisor` route that main() dispatches before argument parsing.
* Exported for tests.
*/
export declare function defaultHostLaunch(supervisorArgs: readonly string[], compiled?: boolean,
/** Null stands for a bundled layout, where no standalone sibling program exists. */
sibling?: string | null,
/** The bundle's own supervisor program beside its CLI entry; null when this bundle has none. */
bundledSupervisor?: string | null): {
command: string;
args: string[];
};
/** Emitted by the bundle build beside `cli.js` (`scripts/build-coding-agent-bundle.mjs`). */
export declare const BUNDLED_SUPERVISOR_ENTRY = "host-supervisor.js";
//# sourceMappingURL=host-launch.d.ts.map