UNPKG

@promptbook/node

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

20 lines (19 loc) 707 B
import type { PromptRunner } from '../types/PromptRunner'; import type { PromptRunOptions } from '../types/PromptRunOptions'; import type { PromptRunResult } from '../types/PromptRunResult'; import type { GitHubCopilotRunnerOptions } from './GitHubCopilotRunnerOptions'; /** * Runs prompts via the GitHub Copilot CLI. */ export declare class GitHubCopilotRunner implements PromptRunner { private readonly options; readonly name = "github-copilot"; /** * Creates a new GitHub Copilot runner. */ constructor(options: GitHubCopilotRunnerOptions); /** * Runs the prompt using GitHub Copilot CLI. */ runPrompt(options: PromptRunOptions): Promise<PromptRunResult>; }