pai
    Preparing search index...

    Function claudeProvider

    • Points Claude Code at Phantom AI, or removes pai's settings with off. Uses the same backups and restore safeguards as applySetup. The return value remains the provider result for existing callers.

      Parameters

      • env: Env
      • opts: { model?: string; off?: boolean; onPath?: (bin: string) => boolean } = {}

      Returns ProviderResult

      Use setupAgents or planSetup and applySetup. This helper remains for settings-only callers.