openclaw-vainplex/src/types/pi-coding-agent.d.ts
Tyler Yust bcbb447357 feat: extend CreateAgentSessionOptions with new properties
- Added systemPrompt for overriding the default system prompt.
- Introduced skills for pre-loaded skills management.
- Added contextFiles for handling pre-loaded context files with path and content attributes.
2026-02-01 14:53:33 -08:00

14 lines
500 B
TypeScript

import "@mariozechner/pi-coding-agent";
declare module "@mariozechner/pi-coding-agent" {
interface CreateAgentSessionOptions {
/** Extra extension paths merged with settings-based discovery. */
additionalExtensionPaths?: string[];
/** Override the default system prompt. */
systemPrompt?: (defaultPrompt?: string) => string;
/** Pre-loaded skills. */
skills?: Skill[];
/** Pre-loaded context files. */
contextFiles?: Array<{ path: string; content: string }>;
}
}