@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
22 lines • 1.47 kB
TypeScript
import type { InlineExtension } from "../../core/extensions/types.ts";
import { SettingsManager } from "../../core/settings-manager.ts";
import type { CliRuntimeConfiguration } from "../../main.ts";
import { type LooplessExecuteGrant } from "./loopless-execute-grant.ts";
import { type LooplessRuntimeFactory } from "./loopless-runtime.ts";
import { type TwoSidedHome } from "./loopless-tool-handlers.ts";
/**
* Builds loopless runtimes from the same launch configuration as `createCliRuntimeFactory`: the same
* cwd-bound services (settings, project trust, model registry, extensions and their flags), then the tool
* registry through `bootstrapRuntime()` / `buildToolRegistry()` (senpi#5222) on a runner without a session
* (senpi#5223), so nothing is ever written to a session file. Tools are placed by the same tool-child runtime
* a session builds (senpi#5227), so `--tool-runtime child` runs child-placed work on this runtime's own child.
*/
export declare function createLooplessRuntimeFactory(configuration: CliRuntimeConfiguration, local?: {
extensionFactories?: InlineExtension[];
startupSettingsManager?: SettingsManager;
/** Required for `execute`; see `loopless-execute-grant.ts`. */
executeGrant?: LooplessExecuteGrant;
/** Where two-sided extensions run whole; see `extensionToolHandlers`. Default: with the loop. */
twoSidedHome?: TwoSidedHome;
}): LooplessRuntimeFactory;
//# sourceMappingURL=runtime-factory-loopless.d.ts.map