@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
10 lines • 648 B
TypeScript
import { type EffectCommandContext } from "./effect-commands.ts";
import { type RpcCommand, type RpcResponse } from "./rpc-types.ts";
type Command<T extends RpcCommand["type"]> = Extract<RpcCommand, {
type: T;
}>;
export type RpcModelCommand = Command<"set_model" | "set_favorite_models" | "set_scoped_models" | "cycle_model" | "get_available_models">;
export declare function handleModelCommand(ctx: EffectCommandContext, command: RpcModelCommand): Promise<RpcResponse>;
export declare function runSetModel(ctx: EffectCommandContext, command: Command<"set_model">): Promise<RpcResponse>;
export {};
//# sourceMappingURL=handlers-model.d.ts.map