"use strict";Object.defineProperty(exports, "__esModule", {value: true});// ../packages/adaptor/dist/chunk-XW533RAZ.js
var DEFAULT_MODEL = "claude-sonnet-4-6";
var AbortReason = /* @__PURE__ */ ((AbortReason2) => {
  AbortReason2["UserStop"] = "user_stop";
  AbortReason2["Redirect"] = "redirect";
  AbortReason2["Teardown"] = "teardown";
  AbortReason2["InternalError"] = "internal_error";
  AbortReason2["Handoff"] = "handoff";
  return AbortReason2;
})(AbortReason || {});
var FEATURE_FLAGS = {
  developerFeedback: false,
  richToolDescriptions: true,
  extendedPromptCache: false,
  enable1MContext: false
};
function setPathToClaudeCodeExecutable(path) {
}
function parseValidationError(error) {
  return error;
}
async function validateAnthropicConnection(args) {
  return { success: true };
}
function isValidProviderAuthCombination(providerType, authType) {
  return true;
}
function getModelProvider(model) {
  if (model.startsWith("claude-")) return "anthropic";
  if (model.startsWith("pi/")) return "pi";
  if (model.startsWith("gpt-") || model.startsWith("o1") || model.startsWith("o3") || model.startsWith("o4")) return "openai";
  return void 0;
}
function getModelContextWindow(model) {
  if (model.includes("opus")) return 2e5;
  if (model.includes("sonnet")) return 2e5;
  if (model.includes("haiku")) return 2e5;
  return 2e5;
}
function getAllPiModels() {
  return [];
}
function getPiModelsForAuthProvider(provider) {
  return [];
}
function getPiProviderBaseUrl(provider) {
  return void 0;
}
function getCredentialManager() {
  return {
    getLlmApiKey: async () => null,
    setLlmApiKey: async () => {
    },
    deleteLlmApiKey: async () => {
    },
    hasLlmCredentials: async () => false
  };
}
function getLlmConnection(slug) {
  return null;
}
function getDefaultLlmConnection() {
  return void 0;
}
function getProviderMetadata(providerType, piAuthProvider) {
  return null;
}


















exports.DEFAULT_MODEL = DEFAULT_MODEL; exports.AbortReason = AbortReason; exports.FEATURE_FLAGS = FEATURE_FLAGS; exports.setPathToClaudeCodeExecutable = setPathToClaudeCodeExecutable; exports.parseValidationError = parseValidationError; exports.validateAnthropicConnection = validateAnthropicConnection; exports.isValidProviderAuthCombination = isValidProviderAuthCombination; exports.getModelProvider = getModelProvider; exports.getModelContextWindow = getModelContextWindow; exports.getAllPiModels = getAllPiModels; exports.getPiModelsForAuthProvider = getPiModelsForAuthProvider; exports.getPiProviderBaseUrl = getPiProviderBaseUrl; exports.getCredentialManager = getCredentialManager; exports.getLlmConnection = getLlmConnection; exports.getDefaultLlmConnection = getDefaultLlmConnection; exports.getProviderMetadata = getProviderMetadata;
