'use strict';

var chunk3YFDOQMM_cjs = require('./chunk-3YFDOQMM.cjs');
var chunk45SRRAK2_cjs = require('./chunk-45SRRAK2.cjs');
var chunkGJBHQJBK_cjs = require('./chunk-GJBHQJBK.cjs');
var chunkKR6SLS2Y_cjs = require('./chunk-KR6SLS2Y.cjs');
var chunkIEE5MCG5_cjs = require('./chunk-IEE5MCG5.cjs');
var chunkCU3VFK4E_cjs = require('./chunk-CU3VFK4E.cjs');
var chunkD6FUPRXX_cjs = require('./chunk-D6FUPRXX.cjs');
var chunkGK23JHRL_cjs = require('./chunk-GK23JHRL.cjs');
var chunkYKY2YBJI_cjs = require('./chunk-YKY2YBJI.cjs');
var chunkUHKWQQBG_cjs = require('./chunk-UHKWQQBG.cjs');
var chunkRDU2H7FF_cjs = require('./chunk-RDU2H7FF.cjs');
var chunkXXNADDFD_cjs = require('./chunk-XXNADDFD.cjs');
var chunkYZ6PW23L_cjs = require('./chunk-YZ6PW23L.cjs');
var chunkHR4F4XZV_cjs = require('./chunk-HR4F4XZV.cjs');
var chunk7XZQUQEO_cjs = require('./chunk-7XZQUQEO.cjs');
var chunkVZ7EXKEF_cjs = require('./chunk-VZ7EXKEF.cjs');
var chunkVCCMOFQR_cjs = require('./chunk-VCCMOFQR.cjs');
var chunkKSN5CWZ7_cjs = require('./chunk-KSN5CWZ7.cjs');
var chunkXTB6XXHH_cjs = require('./chunk-XTB6XXHH.cjs');
var chunkTZZ2AOOV_cjs = require('./chunk-TZZ2AOOV.cjs');
var chunkUIAQYIDW_cjs = require('./chunk-UIAQYIDW.cjs');
var chunk4ATFZDHI_cjs = require('./chunk-4ATFZDHI.cjs');
var chunkWGEIHQXI_cjs = require('./chunk-WGEIHQXI.cjs');
var chunkBQ2JQTKA_cjs = require('./chunk-BQ2JQTKA.cjs');
var chunkPMGFP7II_cjs = require('./chunk-PMGFP7II.cjs');
var chunk2VO3BDE5_cjs = require('./chunk-2VO3BDE5.cjs');
var chunkMJS4T74S_cjs = require('./chunk-MJS4T74S.cjs');
var chunkIRMEODX4_cjs = require('./chunk-IRMEODX4.cjs');
var chunkYZVC4WQD_cjs = require('./chunk-YZVC4WQD.cjs');
var chunk76YQAK7Q_cjs = require('./chunk-76YQAK7Q.cjs');
var chunk6KPMWM5N_cjs = require('./chunk-6KPMWM5N.cjs');
var chunkU52CKL4A_cjs = require('./chunk-U52CKL4A.cjs');
var chunk46D4LXPJ_cjs = require('./chunk-46D4LXPJ.cjs');
var chunkSEOGVPOT_cjs = require('./chunk-SEOGVPOT.cjs');
var chunkJJOGTXKN_cjs = require('./chunk-JJOGTXKN.cjs');
var chunkXLIDL7QO_cjs = require('./chunk-XLIDL7QO.cjs');
var chunkEFJCOPJ3_cjs = require('./chunk-EFJCOPJ3.cjs');
var chunkTGKPSQB3_cjs = require('./chunk-TGKPSQB3.cjs');
var chunkQ56NQYUJ_cjs = require('./chunk-Q56NQYUJ.cjs');
var chunkRJPRSDIS_cjs = require('./chunk-RJPRSDIS.cjs');
var chunk57BKC4ZW_cjs = require('./chunk-57BKC4ZW.cjs');

// src/server/server-adapter/routes/permissions.ts
var METHOD_TO_ACTION = {
  GET: "read",
  POST: "write",
  // Default for POST, may be overridden to 'execute'
  PUT: "write",
  PATCH: "write",
  DELETE: "delete"
};
var EXECUTE_PATTERNS = [
  "/generate",
  "/stream",
  "/execute",
  "/start",
  "/resume",
  "/restart",
  "/cancel",
  "/approve",
  "/decline",
  "/speak",
  "/listen",
  "/query",
  "/search",
  "/observe",
  "/time-travel",
  "/enhance",
  "/clone"
];
var PUBLISH_PATTERNS = ["/publish", "/activate", "/restore"];
var STORED_RESOURCE_SEGMENTS = {
  agents: "stored-agents",
  "mcp-clients": "stored-mcp-clients",
  "prompt-blocks": "stored-prompt-blocks",
  scorers: "stored-scorers",
  skills: "stored-skills",
  workspaces: "stored-workspaces"
};
function extractResource(path) {
  const segments = path.replace(/^\//, "").split("/");
  if (segments.length === 0) {
    return null;
  }
  const firstSegment = segments[0];
  if (firstSegment === "stored" && segments[1]) {
    return STORED_RESOURCE_SEGMENTS[segments[1]] ?? null;
  }
  if (firstSegment === ".well-known") {
    return "a2a";
  }
  return firstSegment || null;
}
function deriveAction(method, path) {
  const upperMethod = method.toUpperCase();
  if (upperMethod === "POST") {
    if (path.startsWith("/stored/")) {
      const isPublishOperation = PUBLISH_PATTERNS.some((pattern) => path.endsWith(pattern));
      if (isPublishOperation) {
        return "publish";
      }
    }
    const isExecuteOperation = EXECUTE_PATTERNS.some((pattern) => path.includes(pattern));
    return isExecuteOperation ? "execute" : "write";
  }
  return METHOD_TO_ACTION[upperMethod] || "read";
}
function derivePermission(route) {
  if (route.method === "ALL") {
    return null;
  }
  const resource = extractResource(route.path);
  if (!resource) {
    return null;
  }
  const action = deriveAction(route.method, route.path);
  return `${resource}:${action}`;
}
function getEffectivePermission(route) {
  if (route.requiresAuth === false) {
    return null;
  }
  if (route.requiresPermission) {
    return route.requiresPermission;
  }
  return derivePermission(route);
}

// src/server/server-adapter/routes/a2a.ts
var A2A_ROUTES = [chunkXLIDL7QO_cjs.GET_AGENT_CARD_ROUTE, chunkXLIDL7QO_cjs.AGENT_EXECUTION_ROUTE];

// src/server/server-adapter/routes/agent-builder.ts
var AGENT_BUILDER_ROUTES = [
  chunkQ56NQYUJ_cjs.LIST_AGENT_BUILDER_ACTIONS_ROUTE,
  chunkQ56NQYUJ_cjs.GET_AGENT_BUILDER_ACTION_BY_ID_ROUTE,
  chunkQ56NQYUJ_cjs.LIST_AGENT_BUILDER_ACTION_RUNS_ROUTE,
  chunkQ56NQYUJ_cjs.GET_AGENT_BUILDER_ACTION_RUN_BY_ID_ROUTE,
  chunkQ56NQYUJ_cjs.CREATE_AGENT_BUILDER_ACTION_RUN_ROUTE,
  chunkQ56NQYUJ_cjs.STREAM_AGENT_BUILDER_ACTION_ROUTE,
  chunkQ56NQYUJ_cjs.STREAM_LEGACY_AGENT_BUILDER_ACTION_ROUTE,
  chunkQ56NQYUJ_cjs.START_ASYNC_AGENT_BUILDER_ACTION_ROUTE,
  chunkQ56NQYUJ_cjs.START_AGENT_BUILDER_ACTION_RUN_ROUTE,
  chunkQ56NQYUJ_cjs.OBSERVE_STREAM_AGENT_BUILDER_ACTION_ROUTE,
  chunkQ56NQYUJ_cjs.OBSERVE_STREAM_LEGACY_AGENT_BUILDER_ACTION_ROUTE,
  chunkQ56NQYUJ_cjs.RESUME_ASYNC_AGENT_BUILDER_ACTION_ROUTE,
  chunkQ56NQYUJ_cjs.RESUME_NO_WAIT_AGENT_BUILDER_ACTION_ROUTE,
  chunkQ56NQYUJ_cjs.RESUME_AGENT_BUILDER_ACTION_ROUTE,
  chunkQ56NQYUJ_cjs.RESUME_STREAM_AGENT_BUILDER_ACTION_ROUTE,
  chunkQ56NQYUJ_cjs.CANCEL_AGENT_BUILDER_ACTION_RUN_ROUTE
];

// src/server/server-adapter/routes/agent-controller.ts
var AGENT_CONTROLLER_ROUTES = [
  chunk57BKC4ZW_cjs.LIST_AGENT_CONTROLLERS_ROUTE,
  chunk57BKC4ZW_cjs.LIST_AGENT_CONTROLLER_MODES_ROUTE,
  chunk57BKC4ZW_cjs.LIST_AGENT_CONTROLLER_MODELS_ROUTE,
  chunk57BKC4ZW_cjs.CREATE_AGENT_CONTROLLER_SESSION_ROUTE,
  chunk57BKC4ZW_cjs.GET_AGENT_CONTROLLER_SESSION_STATE_ROUTE,
  chunk57BKC4ZW_cjs.LIST_AGENT_CONTROLLER_THREADS_ROUTE,
  chunk57BKC4ZW_cjs.CREATE_AGENT_CONTROLLER_THREAD_ROUTE,
  chunk57BKC4ZW_cjs.DELETE_AGENT_CONTROLLER_THREAD_ROUTE,
  chunk57BKC4ZW_cjs.RENAME_AGENT_CONTROLLER_THREAD_ROUTE,
  chunk57BKC4ZW_cjs.CLONE_AGENT_CONTROLLER_THREAD_ROUTE,
  chunk57BKC4ZW_cjs.LIST_AGENT_CONTROLLER_THREAD_MESSAGES_ROUTE,
  chunk57BKC4ZW_cjs.STREAM_AGENT_CONTROLLER_SESSION_ROUTE,
  chunk57BKC4ZW_cjs.SEND_AGENT_CONTROLLER_MESSAGE_ROUTE,
  chunk57BKC4ZW_cjs.STEER_AGENT_CONTROLLER_SESSION_ROUTE,
  chunk57BKC4ZW_cjs.FOLLOW_UP_AGENT_CONTROLLER_SESSION_ROUTE,
  chunk57BKC4ZW_cjs.ABORT_AGENT_CONTROLLER_SESSION_ROUTE,
  chunk57BKC4ZW_cjs.AGENT_CONTROLLER_TOOL_APPROVAL_ROUTE,
  chunk57BKC4ZW_cjs.AGENT_CONTROLLER_TOOL_SUSPENSION_ROUTE,
  chunk57BKC4ZW_cjs.SWITCH_AGENT_CONTROLLER_MODE_ROUTE,
  chunk57BKC4ZW_cjs.SWITCH_AGENT_CONTROLLER_MODEL_ROUTE,
  chunk57BKC4ZW_cjs.SWITCH_AGENT_CONTROLLER_THREAD_ROUTE,
  chunk57BKC4ZW_cjs.SEND_AGENT_CONTROLLER_NOTIFICATION_ROUTE,
  chunk57BKC4ZW_cjs.GET_AGENT_CONTROLLER_WORKSPACE_STATUS_ROUTE,
  chunk57BKC4ZW_cjs.GET_AGENT_CONTROLLER_OM_RECORD_ROUTE,
  chunk57BKC4ZW_cjs.SET_AGENT_CONTROLLER_RESOURCE_ID_ROUTE,
  chunk57BKC4ZW_cjs.GET_AGENT_CONTROLLER_RESOURCE_IDS_ROUTE,
  chunk57BKC4ZW_cjs.GET_AGENT_CONTROLLER_GOAL_ROUTE,
  chunk57BKC4ZW_cjs.SET_AGENT_CONTROLLER_GOAL_ROUTE,
  chunk57BKC4ZW_cjs.UPDATE_AGENT_CONTROLLER_GOAL_ROUTE,
  chunk57BKC4ZW_cjs.CLEAR_AGENT_CONTROLLER_GOAL_ROUTE,
  chunk57BKC4ZW_cjs.GET_AGENT_CONTROLLER_PERMISSIONS_ROUTE,
  chunk57BKC4ZW_cjs.SET_AGENT_CONTROLLER_CATEGORY_PERMISSION_ROUTE,
  chunk57BKC4ZW_cjs.SET_AGENT_CONTROLLER_TOOL_PERMISSION_ROUTE,
  chunk57BKC4ZW_cjs.SET_AGENT_CONTROLLER_SESSION_STATE_ROUTE
];

// src/server/server-adapter/routes/agents.ts
var AGENTS_ROUTES = [
  // ============================================================================
  // Agent Core Routes
  // ============================================================================
  chunkEFJCOPJ3_cjs.LIST_AGENTS_ROUTE,
  chunkEFJCOPJ3_cjs.GET_PROVIDERS_ROUTE,
  chunkEFJCOPJ3_cjs.GET_AGENT_BY_ID_ROUTE,
  chunkEFJCOPJ3_cjs.CLONE_AGENT_ROUTE,
  // ============================================================================
  // Voice Routes
  // ============================================================================
  chunkPMGFP7II_cjs.GET_SPEAKERS_ROUTE,
  chunkPMGFP7II_cjs.GET_SPEAKERS_DEPRECATED_ROUTE,
  // ============================================================================
  // Agent Execution Routes
  // ============================================================================
  chunkEFJCOPJ3_cjs.GENERATE_AGENT_ROUTE,
  chunkEFJCOPJ3_cjs.GENERATE_AGENT_VNEXT_ROUTE,
  chunkEFJCOPJ3_cjs.STREAM_GENERATE_ROUTE,
  chunkEFJCOPJ3_cjs.STREAM_UNTIL_IDLE_GENERATE_ROUTE,
  chunkEFJCOPJ3_cjs.STREAM_GENERATE_VNEXT_DEPRECATED_ROUTE,
  // ============================================================================
  // Resumable Stream Routes
  // ============================================================================
  chunkEFJCOPJ3_cjs.OBSERVE_AGENT_STREAM_ROUTE,
  chunkEFJCOPJ3_cjs.SEND_AGENT_MESSAGE_ROUTE,
  chunkEFJCOPJ3_cjs.QUEUE_AGENT_MESSAGE_ROUTE,
  chunkEFJCOPJ3_cjs.SEND_AGENT_SIGNAL_ROUTE,
  chunkEFJCOPJ3_cjs.ABORT_AGENT_THREAD_ROUTE,
  chunkEFJCOPJ3_cjs.SUBSCRIBE_AGENT_THREAD_ROUTE,
  // ============================================================================
  // Tool Routes
  // ============================================================================
  chunkMJS4T74S_cjs.EXECUTE_AGENT_TOOL_ROUTE,
  chunkEFJCOPJ3_cjs.APPROVE_TOOL_CALL_ROUTE,
  chunkEFJCOPJ3_cjs.SEND_TOOL_APPROVAL_ROUTE,
  chunkEFJCOPJ3_cjs.LIST_SUSPENDED_RUNS_ROUTE,
  chunkEFJCOPJ3_cjs.DECLINE_TOOL_CALL_ROUTE,
  chunkEFJCOPJ3_cjs.RESUME_STREAM_ROUTE,
  chunkEFJCOPJ3_cjs.APPROVE_TOOL_CALL_GENERATE_ROUTE,
  chunkEFJCOPJ3_cjs.DECLINE_TOOL_CALL_GENERATE_ROUTE,
  chunkEFJCOPJ3_cjs.APPROVE_NETWORK_TOOL_CALL_ROUTE,
  chunkEFJCOPJ3_cjs.DECLINE_NETWORK_TOOL_CALL_ROUTE,
  chunkEFJCOPJ3_cjs.RESUME_STREAM_UNTIL_IDLE_ROUTE,
  // ============================================================================
  // Network Routes
  // ============================================================================
  chunkEFJCOPJ3_cjs.STREAM_NETWORK_ROUTE,
  // ============================================================================
  // Model Management Routes
  // ============================================================================
  chunkEFJCOPJ3_cjs.UPDATE_AGENT_MODEL_ROUTE,
  chunkEFJCOPJ3_cjs.RESET_AGENT_MODEL_ROUTE,
  chunkEFJCOPJ3_cjs.REORDER_AGENT_MODEL_LIST_ROUTE,
  chunkEFJCOPJ3_cjs.UPDATE_AGENT_MODEL_IN_MODEL_LIST_ROUTE,
  // ============================================================================
  // Instruction Enhancement Routes
  // ============================================================================
  chunkEFJCOPJ3_cjs.ENHANCE_INSTRUCTIONS_ROUTE,
  // ============================================================================
  // Agent Tool Routes
  // ============================================================================
  chunkMJS4T74S_cjs.GET_AGENT_TOOL_ROUTE,
  // ============================================================================
  // Agent Skill Routes
  // ============================================================================
  chunkEFJCOPJ3_cjs.GET_AGENT_SKILL_ROUTE,
  // ============================================================================
  // Voice/Speech Routes
  // ============================================================================
  chunkPMGFP7II_cjs.GENERATE_SPEECH_ROUTE,
  chunkPMGFP7II_cjs.GENERATE_SPEECH_DEPRECATED_ROUTE,
  chunkPMGFP7II_cjs.TRANSCRIBE_SPEECH_ROUTE,
  chunkPMGFP7II_cjs.TRANSCRIBE_SPEECH_DEPRECATED_ROUTE,
  chunkPMGFP7II_cjs.GET_LISTENER_ROUTE,
  // ============================================================================
  // Deprecated Routes
  // ============================================================================
  chunkEFJCOPJ3_cjs.STREAM_VNEXT_DEPRECATED_ROUTE,
  chunkEFJCOPJ3_cjs.STREAM_UI_MESSAGE_VNEXT_DEPRECATED_ROUTE,
  chunkEFJCOPJ3_cjs.STREAM_UI_MESSAGE_DEPRECATED_ROUTE
];

// src/server/server-adapter/routes/background-tasks.ts
var BACKGROUND_TASK_ROUTES = [
  chunkUIAQYIDW_cjs.BACKGROUND_TASK_STREAM_ROUTE,
  chunkUIAQYIDW_cjs.LIST_BACKGROUND_TASKS_ROUTE,
  chunkUIAQYIDW_cjs.GET_BACKGROUND_TASK_ROUTE
];

// src/server/server-adapter/routes/channels.ts
var CHANNELS_ROUTES = [
  chunkWGEIHQXI_cjs.LIST_CHANNEL_PLATFORMS_ROUTE,
  chunkWGEIHQXI_cjs.LIST_CHANNEL_INSTALLATIONS_ROUTE,
  chunkWGEIHQXI_cjs.CONNECT_CHANNEL_ROUTE,
  chunkWGEIHQXI_cjs.DISCONNECT_CHANNEL_ROUTE
];

// src/server/server-adapter/routes/conversations.ts
var CONVERSATIONS_ROUTES = [
  chunkSEOGVPOT_cjs.CREATE_CONVERSATION_ROUTE,
  chunkSEOGVPOT_cjs.GET_CONVERSATION_ROUTE,
  chunkSEOGVPOT_cjs.GET_CONVERSATION_ITEMS_ROUTE,
  chunkSEOGVPOT_cjs.DELETE_CONVERSATION_ROUTE
];

// src/server/server-adapter/routes/datasets.ts
var DATASETS_ROUTES = [
  // Dataset CRUD
  chunkVCCMOFQR_cjs.LIST_DATASETS_ROUTE,
  chunkVCCMOFQR_cjs.CREATE_DATASET_ROUTE,
  chunkVCCMOFQR_cjs.GET_DATASET_ROUTE,
  chunkVCCMOFQR_cjs.UPDATE_DATASET_ROUTE,
  chunkVCCMOFQR_cjs.DELETE_DATASET_ROUTE,
  // Item list and add
  chunkVCCMOFQR_cjs.LIST_ITEMS_ROUTE,
  chunkVCCMOFQR_cjs.ADD_ITEM_ROUTE,
  // Batch operations - MUST come before item-specific routes to avoid /items/batch matching /items/:itemId
  chunkVCCMOFQR_cjs.BATCH_INSERT_ITEMS_ROUTE,
  chunkVCCMOFQR_cjs.BATCH_DELETE_ITEMS_ROUTE,
  // Item-specific CRUD (uses :itemId param)
  chunkVCCMOFQR_cjs.GET_ITEM_ROUTE,
  chunkVCCMOFQR_cjs.UPDATE_ITEM_ROUTE,
  chunkVCCMOFQR_cjs.DELETE_ITEM_ROUTE,
  // Version operations
  chunkVCCMOFQR_cjs.LIST_DATASET_VERSIONS_ROUTE,
  chunkVCCMOFQR_cjs.LIST_ITEM_VERSIONS_ROUTE,
  chunkVCCMOFQR_cjs.GET_ITEM_VERSION_ROUTE,
  // All experiments (cross-dataset) - MUST come before dataset-scoped experiments
  chunkVCCMOFQR_cjs.LIST_ALL_EXPERIMENTS_ROUTE,
  // Experiment review summary (cross-dataset) - MUST come before dataset-scoped experiments
  chunkVCCMOFQR_cjs.EXPERIMENT_REVIEW_SUMMARY_ROUTE,
  // Experiment operations (dataset-scoped)
  chunkVCCMOFQR_cjs.LIST_EXPERIMENTS_ROUTE,
  chunkVCCMOFQR_cjs.TRIGGER_EXPERIMENT_ROUTE,
  chunkVCCMOFQR_cjs.GET_EXPERIMENT_ROUTE,
  chunkVCCMOFQR_cjs.LIST_EXPERIMENT_RESULTS_ROUTE,
  chunkVCCMOFQR_cjs.UPDATE_EXPERIMENT_RESULT_ROUTE,
  // Analytics
  chunkVCCMOFQR_cjs.COMPARE_EXPERIMENTS_ROUTE,
  // AI generation
  chunkVCCMOFQR_cjs.GENERATE_ITEMS_ROUTE,
  // Failure analysis
  chunkVCCMOFQR_cjs.CLUSTER_FAILURES_ROUTE
];

// src/server/server-adapter/routes/editor-builder.ts
var EDITOR_BUILDER_ROUTES = [
  chunkKSN5CWZ7_cjs.GET_EDITOR_BUILDER_SETTINGS_ROUTE,
  chunkKSN5CWZ7_cjs.GET_EDITOR_BUILDER_AVAILABLE_MODELS_ROUTE,
  chunkKSN5CWZ7_cjs.GET_INFRASTRUCTURE_STATUS_ROUTE,
  chunk4ATFZDHI_cjs.LIST_BUILDER_REGISTRIES_ROUTE,
  chunk4ATFZDHI_cjs.BUILDER_REGISTRY_SEARCH_ROUTE,
  chunk4ATFZDHI_cjs.BUILDER_REGISTRY_POPULAR_ROUTE,
  chunk4ATFZDHI_cjs.BUILDER_REGISTRY_PREVIEW_ROUTE,
  chunk4ATFZDHI_cjs.BUILDER_REGISTRY_INSTALL_ROUTE
];

// src/server/server-adapter/routes/heartbeats.ts
var HEARTBEATS_ROUTES = [
  chunkXTB6XXHH_cjs.LIST_HEARTBEATS_ROUTE,
  chunkXTB6XXHH_cjs.GET_HEARTBEAT_ROUTE,
  chunkXTB6XXHH_cjs.CREATE_HEARTBEAT_ROUTE,
  chunkXTB6XXHH_cjs.UPDATE_HEARTBEAT_ROUTE,
  chunkXTB6XXHH_cjs.DELETE_HEARTBEAT_ROUTE,
  chunkXTB6XXHH_cjs.PAUSE_HEARTBEAT_ROUTE,
  chunkXTB6XXHH_cjs.RESUME_HEARTBEAT_ROUTE,
  chunkXTB6XXHH_cjs.RUN_HEARTBEAT_ROUTE
];

// src/server/server-adapter/routes/legacy.ts
var LEGACY_ROUTES = [
  // ============================================================================
  // Legacy Agent Routes
  // ============================================================================
  chunkEFJCOPJ3_cjs.GENERATE_LEGACY_ROUTE,
  chunkEFJCOPJ3_cjs.STREAM_GENERATE_LEGACY_ROUTE,
  // ============================================================================
  // Legacy Workflow Routes
  // ============================================================================
  chunkRJPRSDIS_cjs.STREAM_LEGACY_WORKFLOW_ROUTE,
  chunkRJPRSDIS_cjs.OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE
];

// src/server/server-adapter/routes/logs.ts
var LOGS_ROUTES = [chunkJJOGTXKN_cjs.LIST_LOG_TRANSPORTS_ROUTE, chunkJJOGTXKN_cjs.LIST_LOGS_ROUTE, chunkJJOGTXKN_cjs.LIST_LOGS_BY_RUN_ID_ROUTE];

// src/server/server-adapter/routes/mcp.ts
var MCP_ROUTES = [
  // ============================================================================
  // MCP Server Registry Routes
  // ============================================================================
  chunk76YQAK7Q_cjs.LIST_MCP_SERVERS_ROUTE,
  chunk76YQAK7Q_cjs.GET_MCP_SERVER_DETAIL_ROUTE,
  // ============================================================================
  // MCP Server Tool Routes
  // ============================================================================
  chunk76YQAK7Q_cjs.LIST_MCP_SERVER_TOOLS_ROUTE,
  chunk76YQAK7Q_cjs.GET_MCP_SERVER_TOOL_DETAIL_ROUTE,
  chunk76YQAK7Q_cjs.EXECUTE_MCP_SERVER_TOOL_ROUTE,
  // ============================================================================
  // MCP Server Resource Routes
  // ============================================================================
  chunk76YQAK7Q_cjs.LIST_MCP_SERVER_RESOURCES_ROUTE,
  chunk76YQAK7Q_cjs.READ_MCP_SERVER_RESOURCE_ROUTE,
  // ============================================================================
  // MCP Transport Routes (handled by adapters)
  // ============================================================================
  chunk76YQAK7Q_cjs.MCP_HTTP_TRANSPORT_ROUTE,
  chunk76YQAK7Q_cjs.MCP_SSE_TRANSPORT_ROUTE,
  chunk76YQAK7Q_cjs.MCP_SSE_MESSAGES_ROUTE
];

// src/server/server-adapter/routes/memory.ts
var MEMORY_ROUTES = [
  chunk6KPMWM5N_cjs.GET_MEMORY_STATUS_ROUTE,
  chunk6KPMWM5N_cjs.GET_MEMORY_CONFIG_ROUTE,
  chunk6KPMWM5N_cjs.GET_OBSERVATIONAL_MEMORY_ROUTE,
  chunk6KPMWM5N_cjs.AWAIT_BUFFER_STATUS_ROUTE,
  chunk6KPMWM5N_cjs.LIST_THREADS_ROUTE,
  chunk6KPMWM5N_cjs.GET_THREAD_BY_ID_ROUTE,
  chunk6KPMWM5N_cjs.LIST_MESSAGES_ROUTE,
  chunk6KPMWM5N_cjs.GET_WORKING_MEMORY_ROUTE,
  chunk6KPMWM5N_cjs.SAVE_MESSAGES_ROUTE,
  chunk6KPMWM5N_cjs.CREATE_THREAD_ROUTE,
  chunk6KPMWM5N_cjs.UPDATE_THREAD_ROUTE,
  chunk6KPMWM5N_cjs.DELETE_THREAD_ROUTE,
  chunk6KPMWM5N_cjs.CLONE_THREAD_ROUTE,
  chunk6KPMWM5N_cjs.UPDATE_WORKING_MEMORY_ROUTE,
  chunk6KPMWM5N_cjs.DELETE_MESSAGES_ROUTE,
  chunk6KPMWM5N_cjs.SEARCH_MEMORY_ROUTE,
  chunk6KPMWM5N_cjs.GET_MEMORY_STATUS_NETWORK_ROUTE,
  chunk6KPMWM5N_cjs.LIST_THREADS_NETWORK_ROUTE,
  chunk6KPMWM5N_cjs.GET_THREAD_BY_ID_NETWORK_ROUTE,
  chunk6KPMWM5N_cjs.LIST_MESSAGES_NETWORK_ROUTE,
  chunk6KPMWM5N_cjs.SAVE_MESSAGES_NETWORK_ROUTE,
  chunk6KPMWM5N_cjs.CREATE_THREAD_NETWORK_ROUTE,
  chunk6KPMWM5N_cjs.UPDATE_THREAD_NETWORK_ROUTE,
  chunk6KPMWM5N_cjs.DELETE_THREAD_NETWORK_ROUTE,
  chunk6KPMWM5N_cjs.DELETE_MESSAGES_NETWORK_ROUTE
];

// src/server/server-adapter/routes/observability.ts
var OBSERVABILITY_ROUTES = [
  // Legacy
  chunkU52CKL4A_cjs.LIST_TRACES_ROUTE,
  chunkU52CKL4A_cjs.LIST_TRACES_LIGHT_ROUTE,
  chunkU52CKL4A_cjs.LIST_BRANCHES_ROUTE,
  chunkU52CKL4A_cjs.GET_BRANCH_ROUTE,
  chunkU52CKL4A_cjs.GET_TRACE_ROUTE,
  chunkU52CKL4A_cjs.GET_TRACE_LIGHT_ROUTE,
  chunkU52CKL4A_cjs.GET_SPAN_ROUTE,
  chunkU52CKL4A_cjs.GET_TRACE_TRAJECTORY_ROUTE,
  chunkU52CKL4A_cjs.SCORE_TRACES_ROUTE,
  chunkU52CKL4A_cjs.LIST_SCORES_BY_SPAN_ROUTE,
  // New observability routes
  chunk46D4LXPJ_cjs.LIST_METRICS,
  chunk46D4LXPJ_cjs.LIST_LOGS,
  chunk46D4LXPJ_cjs.LIST_SCORES,
  chunk46D4LXPJ_cjs.CREATE_SCORE,
  chunk46D4LXPJ_cjs.GET_SCORE,
  chunk46D4LXPJ_cjs.GET_SCORE_AGGREGATE,
  chunk46D4LXPJ_cjs.GET_SCORE_BREAKDOWN,
  chunk46D4LXPJ_cjs.GET_SCORE_TIME_SERIES,
  chunk46D4LXPJ_cjs.GET_SCORE_PERCENTILES,
  chunk46D4LXPJ_cjs.LIST_FEEDBACK,
  chunk46D4LXPJ_cjs.CREATE_FEEDBACK,
  chunk46D4LXPJ_cjs.GET_FEEDBACK_AGGREGATE,
  chunk46D4LXPJ_cjs.GET_FEEDBACK_BREAKDOWN,
  chunk46D4LXPJ_cjs.GET_FEEDBACK_TIME_SERIES,
  chunk46D4LXPJ_cjs.GET_FEEDBACK_PERCENTILES,
  chunk46D4LXPJ_cjs.GET_METRIC_AGGREGATE,
  chunk46D4LXPJ_cjs.GET_METRIC_BREAKDOWN,
  chunk46D4LXPJ_cjs.GET_METRIC_TIME_SERIES,
  chunk46D4LXPJ_cjs.GET_METRIC_PERCENTILES,
  chunk46D4LXPJ_cjs.GET_METRIC_NAMES,
  chunk46D4LXPJ_cjs.GET_METRIC_LABEL_KEYS,
  chunk46D4LXPJ_cjs.GET_METRIC_LABEL_VALUES,
  chunk46D4LXPJ_cjs.GET_ENTITY_TYPES,
  chunk46D4LXPJ_cjs.GET_ENTITY_NAMES,
  chunk46D4LXPJ_cjs.GET_SERVICE_NAMES,
  chunk46D4LXPJ_cjs.GET_ENVIRONMENTS,
  chunk46D4LXPJ_cjs.GET_TAGS
];

// src/server/server-adapter/routes/processor-providers.ts
var PROCESSOR_PROVIDER_ROUTES = [chunkXXNADDFD_cjs.LIST_PROCESSOR_PROVIDERS_ROUTE, chunkXXNADDFD_cjs.GET_PROCESSOR_PROVIDER_ROUTE];

// src/server/server-adapter/routes/processors.ts
var PROCESSORS_ROUTES = [chunkYZ6PW23L_cjs.LIST_PROCESSORS_ROUTE, chunkYZ6PW23L_cjs.GET_PROCESSOR_BY_ID_ROUTE, chunkYZ6PW23L_cjs.EXECUTE_PROCESSOR_ROUTE];

// src/server/server-adapter/routes/responses.ts
var RESPONSES_ROUTES = [chunkYZVC4WQD_cjs.CREATE_RESPONSE_ROUTE, chunkYZVC4WQD_cjs.GET_RESPONSE_ROUTE, chunkYZVC4WQD_cjs.DELETE_RESPONSE_ROUTE];

// src/server/server-adapter/routes/schedules.ts
var SCHEDULES_ROUTES = [
  chunk7XZQUQEO_cjs.LIST_SCHEDULES_ROUTE,
  chunk7XZQUQEO_cjs.GET_SCHEDULE_ROUTE,
  chunk7XZQUQEO_cjs.LIST_SCHEDULE_TRIGGERS_ROUTE,
  chunk7XZQUQEO_cjs.PAUSE_SCHEDULE_ROUTE,
  chunk7XZQUQEO_cjs.RESUME_SCHEDULE_ROUTE
];

// src/server/server-adapter/routes/scorers.ts
var SCORES_ROUTES = [
  chunkIRMEODX4_cjs.LIST_SCORERS_ROUTE,
  chunkIRMEODX4_cjs.GET_SCORER_ROUTE,
  chunkIRMEODX4_cjs.LIST_SCORES_BY_RUN_ID_ROUTE,
  chunkIRMEODX4_cjs.LIST_SCORES_BY_SCORER_ID_ROUTE,
  chunkIRMEODX4_cjs.LIST_SCORES_BY_ENTITY_ID_ROUTE,
  chunkIRMEODX4_cjs.SAVE_SCORE_ROUTE
];

// src/server/server-adapter/routes/stored-agents.ts
var STORED_AGENTS_ROUTES = [
  // ============================================================================
  // Stored Agents CRUD Routes
  // IMPORTANT: Routes with literal paths (e.g., /preview-instructions) must come
  // BEFORE routes with path parameters (e.g., /:storedAgentId) to ensure correct matching.
  // ============================================================================
  chunkGK23JHRL_cjs.LIST_STORED_AGENTS_ROUTE,
  chunkGK23JHRL_cjs.PREVIEW_INSTRUCTIONS_ROUTE,
  // Must be before GET_STORED_AGENT_ROUTE
  chunkGK23JHRL_cjs.GET_STORED_AGENT_DEPENDENTS_ROUTE,
  // Must be before GET_STORED_AGENT_ROUTE (longer literal)
  chunkGK23JHRL_cjs.EXPORT_STORED_AGENT_ROUTE,
  // Must be before GET_STORED_AGENT_ROUTE
  chunkGK23JHRL_cjs.OPEN_STORED_AGENT_CHANGE_REQUEST_ROUTE,
  // Must be before GET_STORED_AGENT_ROUTE
  chunkGK23JHRL_cjs.GET_STORED_AGENT_ROUTE,
  chunkGK23JHRL_cjs.CREATE_STORED_AGENT_ROUTE,
  chunkGK23JHRL_cjs.UPDATE_STORED_AGENT_ROUTE,
  chunkGK23JHRL_cjs.DELETE_STORED_AGENT_ROUTE,
  // ============================================================================
  // Agent Versions Routes
  // IMPORTANT: Routes with literal paths (e.g., /compare) must come BEFORE
  // routes with path parameters (e.g., /:versionId) to ensure correct matching.
  // ============================================================================
  chunkTZZ2AOOV_cjs.LIST_AGENT_VERSIONS_ROUTE,
  chunkTZZ2AOOV_cjs.CREATE_AGENT_VERSION_ROUTE,
  chunkTZZ2AOOV_cjs.COMPARE_AGENT_VERSIONS_ROUTE,
  // Must be before GET_AGENT_VERSION_ROUTE
  chunkTZZ2AOOV_cjs.GET_AGENT_VERSION_ROUTE,
  chunkTZZ2AOOV_cjs.ACTIVATE_AGENT_VERSION_ROUTE,
  chunkTZZ2AOOV_cjs.RESTORE_AGENT_VERSION_ROUTE,
  chunkTZZ2AOOV_cjs.DELETE_AGENT_VERSION_ROUTE,
  // ============================================================================
  // Favorites (EE)
  // ============================================================================
  chunkD6FUPRXX_cjs.FAVORITE_STORED_AGENT_ROUTE,
  chunkD6FUPRXX_cjs.UNFAVORITE_STORED_AGENT_ROUTE
];

// src/server/server-adapter/routes/stored-mcp-clients.ts
var STORED_MCP_CLIENTS_ROUTES = [
  // Stored MCP Clients CRUD Routes
  chunkYKY2YBJI_cjs.LIST_STORED_MCP_CLIENTS_ROUTE,
  chunkYKY2YBJI_cjs.GET_STORED_MCP_CLIENT_ROUTE,
  chunkYKY2YBJI_cjs.CREATE_STORED_MCP_CLIENT_ROUTE,
  chunkYKY2YBJI_cjs.UPDATE_STORED_MCP_CLIENT_ROUTE,
  chunkYKY2YBJI_cjs.DELETE_STORED_MCP_CLIENT_ROUTE,
  // MCP Client Versions Routes
  // IMPORTANT: Routes with literal paths (e.g., /compare) must come BEFORE
  // routes with path parameters (e.g., /:versionId) to ensure correct matching.
  chunkVZ7EXKEF_cjs.LIST_MCP_CLIENT_VERSIONS_ROUTE,
  chunkVZ7EXKEF_cjs.CREATE_MCP_CLIENT_VERSION_ROUTE,
  chunkVZ7EXKEF_cjs.COMPARE_MCP_CLIENT_VERSIONS_ROUTE,
  chunkVZ7EXKEF_cjs.GET_MCP_CLIENT_VERSION_ROUTE,
  chunkVZ7EXKEF_cjs.ACTIVATE_MCP_CLIENT_VERSION_ROUTE,
  chunkVZ7EXKEF_cjs.RESTORE_MCP_CLIENT_VERSION_ROUTE,
  chunkVZ7EXKEF_cjs.DELETE_MCP_CLIENT_VERSION_ROUTE
];

// src/server/server-adapter/routes/stored-prompt-blocks.ts
var STORED_PROMPT_BLOCKS_ROUTES = [
  // Stored Prompt Blocks CRUD Routes
  chunkUHKWQQBG_cjs.LIST_STORED_PROMPT_BLOCKS_ROUTE,
  chunkUHKWQQBG_cjs.GET_STORED_PROMPT_BLOCK_ROUTE,
  chunkUHKWQQBG_cjs.CREATE_STORED_PROMPT_BLOCK_ROUTE,
  chunkUHKWQQBG_cjs.UPDATE_STORED_PROMPT_BLOCK_ROUTE,
  chunkUHKWQQBG_cjs.DELETE_STORED_PROMPT_BLOCK_ROUTE,
  // Prompt Block Versions Routes
  // IMPORTANT: Routes with literal paths (e.g., /compare) must come BEFORE
  // routes with path parameters (e.g., /:versionId) to ensure correct matching.
  chunkHR4F4XZV_cjs.LIST_PROMPT_BLOCK_VERSIONS_ROUTE,
  chunkHR4F4XZV_cjs.CREATE_PROMPT_BLOCK_VERSION_ROUTE,
  chunkHR4F4XZV_cjs.COMPARE_PROMPT_BLOCK_VERSIONS_ROUTE,
  chunkHR4F4XZV_cjs.GET_PROMPT_BLOCK_VERSION_ROUTE,
  chunkHR4F4XZV_cjs.ACTIVATE_PROMPT_BLOCK_VERSION_ROUTE,
  chunkHR4F4XZV_cjs.RESTORE_PROMPT_BLOCK_VERSION_ROUTE,
  chunkHR4F4XZV_cjs.DELETE_PROMPT_BLOCK_VERSION_ROUTE
];

// src/server/server-adapter/routes/stored-scorers.ts
var STORED_SCORERS_ROUTES = [
  // Stored Scorers CRUD Routes
  chunkRDU2H7FF_cjs.LIST_STORED_SCORERS_ROUTE,
  chunkRDU2H7FF_cjs.GET_STORED_SCORER_ROUTE,
  chunkRDU2H7FF_cjs.CREATE_STORED_SCORER_ROUTE,
  chunkRDU2H7FF_cjs.UPDATE_STORED_SCORER_ROUTE,
  chunkRDU2H7FF_cjs.DELETE_STORED_SCORER_ROUTE,
  // Scorer Versions Routes
  // IMPORTANT: Routes with literal paths (e.g., /compare) must come BEFORE
  // routes with path parameters (e.g., /:versionId) to ensure correct matching.
  chunkCU3VFK4E_cjs.LIST_SCORER_VERSIONS_ROUTE,
  chunkCU3VFK4E_cjs.CREATE_SCORER_VERSION_ROUTE,
  chunkCU3VFK4E_cjs.COMPARE_SCORER_VERSIONS_ROUTE,
  chunkCU3VFK4E_cjs.GET_SCORER_VERSION_ROUTE,
  chunkCU3VFK4E_cjs.ACTIVATE_SCORER_VERSION_ROUTE,
  chunkCU3VFK4E_cjs.RESTORE_SCORER_VERSION_ROUTE,
  chunkCU3VFK4E_cjs.DELETE_SCORER_VERSION_ROUTE
];

// src/server/server-adapter/routes/stored-skills.ts
var STORED_SKILLS_ROUTES = [
  // Stored Skills CRUD Routes
  chunk45SRRAK2_cjs.LIST_STORED_SKILLS_ROUTE,
  chunk45SRRAK2_cjs.GET_STORED_SKILL_ROUTE,
  chunk45SRRAK2_cjs.CREATE_STORED_SKILL_ROUTE,
  chunk45SRRAK2_cjs.UPDATE_STORED_SKILL_ROUTE,
  chunk45SRRAK2_cjs.DELETE_STORED_SKILL_ROUTE,
  // Publish
  chunk45SRRAK2_cjs.PUBLISH_STORED_SKILL_ROUTE,
  // Favorites (EE)
  chunk3YFDOQMM_cjs.FAVORITE_STORED_SKILL_ROUTE,
  chunk3YFDOQMM_cjs.UNFAVORITE_STORED_SKILL_ROUTE
];

// src/server/server-adapter/routes/stored-workspaces.ts
var STORED_WORKSPACES_ROUTES = [
  // Stored Workspaces CRUD Routes
  chunkGJBHQJBK_cjs.LIST_STORED_WORKSPACES_ROUTE,
  chunkGJBHQJBK_cjs.GET_STORED_WORKSPACE_ROUTE,
  chunkGJBHQJBK_cjs.CREATE_STORED_WORKSPACE_ROUTE,
  chunkGJBHQJBK_cjs.UPDATE_STORED_WORKSPACE_ROUTE,
  chunkGJBHQJBK_cjs.DELETE_STORED_WORKSPACE_ROUTE
];

// src/server/server-adapter/routes/system.ts
var SYSTEM_ROUTES = [chunkKR6SLS2Y_cjs.GET_SYSTEM_PACKAGES_ROUTE, chunkKR6SLS2Y_cjs.GET_API_SCHEMA_ROUTE];

// src/server/server-adapter/routes/tool-providers.ts
var TOOL_PROVIDER_ROUTES = [
  chunkIEE5MCG5_cjs.LIST_TOOL_PROVIDERS_ROUTE,
  chunkIEE5MCG5_cjs.LIST_TOOL_PROVIDER_TOOLKITS_ROUTE,
  chunkIEE5MCG5_cjs.LIST_TOOL_PROVIDER_TOOLS_ROUTE,
  chunkIEE5MCG5_cjs.GET_TOOL_PROVIDER_TOOL_SCHEMA_ROUTE,
  chunkIEE5MCG5_cjs.AUTHORIZE_TOOL_PROVIDER_ROUTE,
  chunkIEE5MCG5_cjs.GET_TOOL_PROVIDER_AUTH_STATUS_ROUTE,
  chunkIEE5MCG5_cjs.TOOL_PROVIDER_CONNECTION_STATUS_ROUTE,
  chunkIEE5MCG5_cjs.LIST_TOOL_PROVIDER_CONNECTIONS_ROUTE,
  chunkIEE5MCG5_cjs.LIST_TOOL_PROVIDER_CONNECTION_FIELDS_ROUTE,
  chunkIEE5MCG5_cjs.DISCONNECT_TOOL_PROVIDER_CONNECTION_ROUTE,
  chunkIEE5MCG5_cjs.UPDATE_TOOL_PROVIDER_CONNECTION_ROUTE,
  chunkIEE5MCG5_cjs.GET_TOOL_PROVIDER_CONNECTION_USAGE_ROUTE,
  chunkIEE5MCG5_cjs.GET_TOOL_PROVIDER_HEALTH_ROUTE
];

// src/server/server-adapter/routes/tools.ts
var TOOLS_ROUTES = [chunkMJS4T74S_cjs.LIST_TOOLS_ROUTE, chunkMJS4T74S_cjs.GET_TOOL_BY_ID_ROUTE, chunkMJS4T74S_cjs.EXECUTE_TOOL_ROUTE];

// src/server/server-adapter/routes/vectors.ts
var VECTORS_ROUTES = [
  chunkBQ2JQTKA_cjs.UPSERT_VECTORS_ROUTE,
  chunkBQ2JQTKA_cjs.CREATE_INDEX_ROUTE,
  chunkBQ2JQTKA_cjs.QUERY_VECTORS_ROUTE,
  chunkBQ2JQTKA_cjs.LIST_INDEXES_ROUTE,
  chunkBQ2JQTKA_cjs.DESCRIBE_INDEX_ROUTE,
  chunkBQ2JQTKA_cjs.DELETE_INDEX_ROUTE,
  chunkBQ2JQTKA_cjs.LIST_VECTORS_ROUTE,
  chunkBQ2JQTKA_cjs.LIST_EMBEDDERS_ROUTE
];

// src/server/server-adapter/routes/workflows.ts
var WORKFLOWS_ROUTES = [
  chunkRJPRSDIS_cjs.LIST_WORKFLOWS_ROUTE,
  chunkRJPRSDIS_cjs.GET_WORKFLOW_BY_ID_ROUTE,
  chunkRJPRSDIS_cjs.LIST_WORKFLOW_RUNS_ROUTE,
  chunkRJPRSDIS_cjs.GET_WORKFLOW_RUN_BY_ID_ROUTE,
  chunkRJPRSDIS_cjs.DELETE_WORKFLOW_RUN_BY_ID_ROUTE,
  chunkRJPRSDIS_cjs.CREATE_WORKFLOW_RUN_ROUTE,
  chunkRJPRSDIS_cjs.STREAM_WORKFLOW_ROUTE,
  chunkRJPRSDIS_cjs.RESUME_STREAM_WORKFLOW_ROUTE,
  chunkRJPRSDIS_cjs.START_ASYNC_WORKFLOW_ROUTE,
  chunkRJPRSDIS_cjs.START_WORKFLOW_RUN_ROUTE,
  chunkRJPRSDIS_cjs.OBSERVE_STREAM_WORKFLOW_ROUTE,
  chunkRJPRSDIS_cjs.RESUME_ASYNC_WORKFLOW_ROUTE,
  chunkRJPRSDIS_cjs.RESUME_NO_WAIT_WORKFLOW_ROUTE,
  chunkRJPRSDIS_cjs.RESUME_WORKFLOW_ROUTE,
  chunkRJPRSDIS_cjs.CANCEL_WORKFLOW_RUN_ROUTE,
  chunkRJPRSDIS_cjs.TIME_TRAVEL_WORKFLOW_ROUTE,
  chunkRJPRSDIS_cjs.TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE,
  chunkRJPRSDIS_cjs.TIME_TRAVEL_STREAM_WORKFLOW_ROUTE,
  chunkRJPRSDIS_cjs.RESTART_WORKFLOW_ROUTE,
  chunkRJPRSDIS_cjs.RESTART_ASYNC_WORKFLOW_ROUTE,
  chunkRJPRSDIS_cjs.RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ROUTE,
  chunkRJPRSDIS_cjs.RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ASYNC_ROUTE,
  chunkRJPRSDIS_cjs.EXECUTE_WORKFLOW_STEP_ROUTE,
  chunkRJPRSDIS_cjs.RECEIVE_WORKFLOW_EVENT_ROUTE
];

// src/server/server-adapter/routes/workspace.ts
var WORKSPACE_ROUTES = [
  // List all workspaces route (at /api/workspaces)
  chunk2VO3BDE5_cjs.LIST_WORKSPACES_ROUTE,
  // Get workspace route (at /api/workspaces/:workspaceId)
  chunk2VO3BDE5_cjs.GET_WORKSPACE_ROUTE,
  // Filesystem routes (at /api/workspaces/:workspaceId/fs/*)
  ...chunk2VO3BDE5_cjs.WORKSPACE_FS_ROUTES,
  // Search routes (at /api/workspaces/:workspaceId/search, /api/workspaces/:workspaceId/index)
  ...chunk2VO3BDE5_cjs.WORKSPACE_SEARCH_ROUTES,
  // Skills routes (search must come before parameterized routes)
  ...chunk2VO3BDE5_cjs.WORKSPACE_SKILLS_ROUTES,
  // skills.sh proxy routes (at /api/workspaces/:workspaceId/skills-sh/*)
  ...chunk2VO3BDE5_cjs.WORKSPACE_SKILLS_SH_ROUTES
];

// src/server/server-adapter/routes/index.ts
var SERVER_ROUTES = [
  ...AGENTS_ROUTES,
  ...chunkTGKPSQB3_cjs.AUTH_ROUTES,
  ...WORKFLOWS_ROUTES,
  ...TOOLS_ROUTES,
  ...PROCESSORS_ROUTES,
  ...RESPONSES_ROUTES,
  ...CONVERSATIONS_ROUTES,
  ...MEMORY_ROUTES,
  ...SCORES_ROUTES,
  ...OBSERVABILITY_ROUTES,
  ...LOGS_ROUTES,
  ...VECTORS_ROUTES,
  ...A2A_ROUTES,
  ...WORKSPACE_ROUTES,
  ...LEGACY_ROUTES,
  ...MCP_ROUTES,
  ...STORED_AGENTS_ROUTES,
  ...STORED_MCP_CLIENTS_ROUTES,
  ...STORED_PROMPT_BLOCKS_ROUTES,
  ...STORED_SCORERS_ROUTES,
  ...STORED_WORKSPACES_ROUTES,
  ...STORED_SKILLS_ROUTES,
  ...TOOL_PROVIDER_ROUTES,
  ...PROCESSOR_PROVIDER_ROUTES,
  ...SYSTEM_ROUTES,
  ...DATASETS_ROUTES,
  ...BACKGROUND_TASK_ROUTES,
  ...EDITOR_BUILDER_ROUTES,
  ...AGENT_BUILDER_ROUTES,
  ...SCHEDULES_ROUTES,
  ...HEARTBEATS_ROUTES,
  ...CHANNELS_ROUTES,
  ...AGENT_CONTROLLER_ROUTES
];

exports.SERVER_ROUTES = SERVER_ROUTES;
exports.deriveAction = deriveAction;
exports.derivePermission = derivePermission;
exports.extractResource = extractResource;
exports.getEffectivePermission = getEffectivePermission;
//# sourceMappingURL=chunk-KURYHRSI.cjs.map
//# sourceMappingURL=chunk-KURYHRSI.cjs.map