Agent Client Protocol - v0.4.6
    Preparing search index...

    Interface CreateTerminalRequest

    Request to create a new terminal and execute a command.

    interface CreateTerminalRequest {
        _meta?: { [k: string]: unknown };
        args?: string[];
        command: string;
        cwd?: null | string;
        env?: EnvVariable[];
        outputByteLimit?: null | number;
        sessionId: string;
    }
    Index

    Properties

    _meta?: { [k: string]: unknown }

    Extension point for implementations

    args?: string[]

    Array of command arguments.

    command: string

    The command to execute.

    cwd?: null | string

    Working directory for the command (absolute path).

    env?: EnvVariable[]

    Environment variables for the command.

    outputByteLimit?: null | number

    Maximum number of output bytes to retain.

    When the limit is exceeded, the Client truncates from the beginning of the output to stay within the limit.

    The Client MUST ensure truncation happens at a character boundary to maintain valid string output, even if this means the retained output is slightly less than the specified limit.

    sessionId: string

    The session ID for this request.