Theia API Documentation v1.69.0
    Preparing search index...

    Full analysis of a command for the confirmation UI. Provides everything needed to generate meaningful allow/deny pattern options.

    interface CommandAnalysis {
        hasDangerousPatterns: boolean;
        subCommands: string[];
        unallowedSubCommands: string[];
    }
    Index

    Properties

    hasDangerousPatterns: boolean

    Whether the command contains dangerous shell patterns (allowlist is bypassed for these).

    subCommands: string[]

    The individual sub-commands parsed from the full command.

    unallowedSubCommands: string[]

    Sub-commands not yet covered by any allowlist pattern.