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

    Implements

    Index

    Constructors

    Properties

    autoApprovedTools: Set<string> = ...

    Tools that don't require approval - they are safe and non-intrusive

    Methods

    • Dynamically imports the Claude Code SDK from the local installation.

      Parameters

      • OptionalcustomClaudeCodePath: string

        Optional custom path to Claude Code executable (cli.js)

      Returns Promise<{ Options: unknown; query: unknown; SDKUserMessage: unknown }>

      An object containing the SDK's query function, user message type, and options type.

    • Parameters

      • streamId: string
      • toolName: string
      • toolInput: unknown

      Returns Promise<
          { behavior: "allow"
          | "deny"; message?: string; updatedInput?: unknown },
      >