@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
17 lines • 1.37 kB
TypeScript
import { type BashOperations, type BashSpawnContext, type BashSpawnHook, type BashToolDetails, type BashToolInput, type BashToolOptions, type createBashTool, createShellToolDefinition } from "./bash.ts";
export declare const powershellToolSystemPromptContribution: {
readonly snippet: "Execute PowerShell commands";
readonly guidelines: readonly ["PI_* env vars = current model + session details."];
readonly fullGuidelines: readonly ["You can inspect PI_* environment variables for current model and session details."];
};
export type PowerShellOperations = BashOperations;
export type PowerShellSpawnContext = BashSpawnContext;
export type PowerShellSpawnHook = BashSpawnHook;
export type PowerShellToolDetails = BashToolDetails;
export type PowerShellToolInput = BashToolInput;
export interface PowerShellToolOptions extends Pick<BashToolOptions, "operations" | "exposeSessionEnvironment" | "spawnHook" | "machine"> {
}
export declare function createLocalPowerShellOperations(machine?: BashToolOptions["machine"]): PowerShellOperations;
export declare function createPowerShellToolDefinition(cwd: string, options?: PowerShellToolOptions): ReturnType<typeof createShellToolDefinition>;
export declare function createPowerShellTool(cwd: string, options?: PowerShellToolOptions): ReturnType<typeof createBashTool>;
//# sourceMappingURL=powershell.d.ts.map