## Public API Report File for "@grackle-ai/runtime-acp"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

import type { AgentEvent } from '@grackle-ai/runtime-sdk';
import type { AgentSession } from '@grackle-ai/runtime-sdk';
import { BaseAgentRuntime } from '@grackle-ai/runtime-sdk';
import type { CreateSessionOptions } from '@grackle-ai/runtime-sdk';

// @public
export interface AcpAgentConfig {
    args: string[];
    command: string;
    env?: Record<string, string>;
    name: string;
}

// @public
export class AcpRuntime extends BaseAgentRuntime {
    constructor(config: AcpAgentConfig);
    // (undocumented)
    protected createSession(opts: CreateSessionOptions): AgentSession;
    // (undocumented)
    name: string;
}

// @public
export function autoApprovePermission(params: {
    options: Array<{
        optionId: string;
        kind: string;
    }>;
}): {
    outcome: {
        outcome: string;
        optionId: string;
    };
};

// @public
export function mapSessionUpdate(update: Record<string, unknown>): AgentEvent[];

// @public
export function selectEnvVarAuthMethod(authMethods: Array<Record<string, unknown>>, env: Record<string, string | undefined>): string | undefined;

// Warnings were encountered during analysis:
//
// src/acp.ts:24:1 - (ae-internal-missing-underscore) The name "AcpSdkModule" should be prefixed with an underscore because the declaration is marked as @internal

// (No @packageDocumentation comment for this package)

```
