import { createRequire } from "node:module";
var __defProp = Object.defineProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, {
      get: all[name],
      enumerable: true,
      configurable: true,
      set: (newValue) => all[name] = () => newValue
    });
};
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
var __require = /* @__PURE__ */ createRequire(import.meta.url);

// src/i18n/keys.ts
var AGENT_KEYS, KNOWLEDGE_KEYS, TOOL_KEYS, INTEROP_KEYS, ERROR_KEYS, EXPORT_KEYS, APPROVAL_KEYS, LOG_KEYS, I18N_KEYS;
var init_keys = __esm(() => {
  AGENT_KEYS = {
    "agent.json.rules.validJsonOnly": "agent.json.rules.validJsonOnly",
    "agent.json.rules.noMarkdownFences": "agent.json.rules.noMarkdownFences",
    "agent.json.rules.noCommentary": "agent.json.rules.noCommentary",
    "agent.json.rules.doubleQuotes": "agent.json.rules.doubleQuotes",
    "agent.json.rules.noTrailingCommas": "agent.json.rules.noTrailingCommas",
    "agent.json.defaultDescription": "agent.json.defaultDescription",
    "agent.json.systemPrompt": "agent.json.systemPrompt"
  };
  KNOWLEDGE_KEYS = {
    "knowledge.header": "knowledge.header",
    "knowledge.description": "knowledge.description"
  };
  TOOL_KEYS = {
    "tool.knowledge.description": "tool.knowledge.description",
    "tool.knowledge.availableSpaces": "tool.knowledge.availableSpaces",
    "tool.knowledge.spaceDefault": "tool.knowledge.spaceDefault",
    "tool.knowledge.param.query": "tool.knowledge.param.query",
    "tool.knowledge.param.spaceKey": "tool.knowledge.param.spaceKey",
    "tool.knowledge.param.topK": "tool.knowledge.param.topK",
    "tool.knowledge.noResults": "tool.knowledge.noResults",
    "tool.knowledge.sourceLabel": "tool.knowledge.sourceLabel",
    "tool.fallbackDescription": "tool.fallbackDescription",
    "tool.mcp.param.message": "tool.mcp.param.message",
    "tool.mcp.param.sessionId": "tool.mcp.param.sessionId",
    "tool.mcp.agentDescription": "tool.mcp.agentDescription",
    "tool.mcp.executePrompt": "tool.mcp.executePrompt",
    "tool.mcp.toolDescription": "tool.mcp.toolDescription"
  };
  INTEROP_KEYS = {
    "interop.prompt.agentIdentity": "interop.prompt.agentIdentity",
    "interop.prompt.youAre": "interop.prompt.youAre",
    "interop.prompt.description": "interop.prompt.description",
    "interop.prompt.instructions": "interop.prompt.instructions",
    "interop.prompt.availableTools": "interop.prompt.availableTools",
    "interop.prompt.toolsIntro": "interop.prompt.toolsIntro",
    "interop.prompt.parameters": "interop.prompt.parameters",
    "interop.prompt.knowledgeContext": "interop.prompt.knowledgeContext",
    "interop.prompt.additionalContext": "interop.prompt.additionalContext",
    "interop.md.toc": "interop.md.toc",
    "interop.md.overview": "interop.md.overview",
    "interop.md.tools": "interop.md.tools",
    "interop.md.knowledge": "interop.md.knowledge",
    "interop.md.policy": "interop.md.policy",
    "interop.md.metaKey": "interop.md.metaKey",
    "interop.md.metaVersion": "interop.md.metaVersion",
    "interop.md.metaStability": "interop.md.metaStability",
    "interop.md.metaOwners": "interop.md.metaOwners",
    "interop.md.metaTags": "interop.md.metaTags",
    "interop.md.schema": "interop.md.schema",
    "interop.md.automationSafe": "interop.md.automationSafe",
    "interop.md.required": "interop.md.required",
    "interop.md.optional": "interop.md.optional",
    "interop.md.minConfidence": "interop.md.minConfidence",
    "interop.md.escalationThreshold": "interop.md.escalationThreshold",
    "interop.md.escalateToolFailure": "interop.md.escalateToolFailure",
    "interop.md.escalateTimeout": "interop.md.escalateTimeout",
    "interop.md.yes": "interop.md.yes",
    "interop.md.no": "interop.md.no"
  };
  ERROR_KEYS = {
    "error.jsonRunner.requiresModel": "error.jsonRunner.requiresModel",
    "error.missingToolHandler": "error.missingToolHandler",
    "error.unknownBackend": "error.unknownBackend",
    "error.claudeSdk.notAvailable": "error.claudeSdk.notAvailable",
    "error.claudeSdk.notInstalled": "error.claudeSdk.notInstalled",
    "error.opencodeSdk.notAvailable": "error.opencodeSdk.notAvailable",
    "error.opencodeSdk.notInstalled": "error.opencodeSdk.notInstalled",
    "error.providerNotInitialized": "error.providerNotInitialized",
    "error.agentKeyRequired": "error.agentKeyRequired",
    "error.agentMissingVersion": "error.agentMissingVersion",
    "error.agentRequiresInstructions": "error.agentRequiresInstructions",
    "error.agentRequiresTool": "error.agentRequiresTool",
    "error.agentDuplicateTool": "error.agentDuplicateTool",
    "error.agentSpecNotFound": "error.agentSpecNotFound",
    "error.specNotFound": "error.specNotFound",
    "error.toolNotFound": "error.toolNotFound",
    "error.noHandlerForTool": "error.noHandlerForTool",
    "error.noToolHandler": "error.noToolHandler",
    "error.unknownExportFormat": "error.unknownExportFormat",
    "error.handlerNotFoundForTool": "error.handlerNotFoundForTool",
    "error.toolNotFoundOrNoHandler": "error.toolNotFoundOrNoHandler",
    "error.toolNoExecuteHandler": "error.toolNoExecuteHandler",
    "error.provider.notRegistered": "error.provider.notRegistered",
    "error.provider.depsNotInstalled": "error.provider.depsNotInstalled",
    "error.provider.sdkNotConfigured": "error.provider.sdkNotConfigured",
    "error.provider.claudeSdkMissing": "error.provider.claudeSdkMissing",
    "error.provider.opencodeSdkMissing": "error.provider.opencodeSdkMissing",
    "error.provider.sdkNotInstalled": "error.provider.sdkNotInstalled",
    "error.provider.contextCreation": "error.provider.contextCreation",
    "error.provider.executionFailed": "error.provider.executionFailed",
    "error.provider.streamFailed": "error.provider.streamFailed",
    "error.provider.notAvailable": "error.provider.notAvailable",
    "error.telemetry.posthogAiRequired": "error.telemetry.posthogAiRequired",
    "error.telemetry.posthogClientOrKeyRequired": "error.telemetry.posthogClientOrKeyRequired",
    "error.telemetry.posthogNodeRequired": "error.telemetry.posthogNodeRequired"
  };
  EXPORT_KEYS = {
    "export.agentConfiguration": "export.agentConfiguration",
    "export.metadata": "export.metadata",
    "export.metaName": "export.metaName",
    "export.metaVersion": "export.metaVersion",
    "export.metaOwners": "export.metaOwners",
    "export.metaModel": "export.metaModel",
    "export.instructions": "export.instructions",
    "export.availableTools": "export.availableTools",
    "export.tools": "export.tools",
    "export.knowledgeSources": "export.knowledgeSources",
    "export.policy": "export.policy",
    "export.additionalContext": "export.additionalContext",
    "export.configuration": "export.configuration",
    "export.mcpServers": "export.mcpServers",
    "export.parameters": "export.parameters",
    "export.requiresApproval": "export.requiresApproval",
    "export.notAutomationSafe": "export.notAutomationSafe",
    "export.requiresApprovalMd": "export.requiresApprovalMd",
    "export.notAutomationSafeMd": "export.notAutomationSafeMd",
    "export.required": "export.required",
    "export.optional": "export.optional",
    "export.minConfidence": "export.minConfidence",
    "export.escalationConfigured": "export.escalationConfigured",
    "export.escalationPolicyConfigured": "export.escalationPolicyConfigured",
    "export.featureFlags": "export.featureFlags",
    "export.generatedFrom": "export.generatedFrom",
    "export.exportedAt": "export.exportedAt",
    "export.agentType": "export.agentType",
    "export.noDescription": "export.noDescription",
    "export.validation.requiresKey": "export.validation.requiresKey",
    "export.validation.requiresInstructions": "export.validation.requiresInstructions",
    "export.validation.requiresTool": "export.validation.requiresTool",
    "export.validation.toolRequiresName": "export.validation.toolRequiresName",
    "export.validation.toolRequiresDescOrName": "export.validation.toolRequiresDescOrName",
    "export.validation.toolInvalidName": "export.validation.toolInvalidName",
    "export.agentType.build": "export.agentType.build",
    "export.agentType.plan": "export.agentType.plan",
    "export.agentType.general": "export.agentType.general",
    "export.agentType.explore": "export.agentType.explore",
    "export.bridge.requiresApproval": "export.bridge.requiresApproval",
    "export.bridge.askMode": "export.bridge.askMode"
  };
  APPROVAL_KEYS = {
    "approval.toolRequiresApproval": "approval.toolRequiresApproval"
  };
  LOG_KEYS = {
    "log.unifiedAgent.fallback": "log.unifiedAgent.fallback",
    "log.knowledge.spaceNotAvailable": "log.knowledge.spaceNotAvailable",
    "log.knowledge.loadFailed": "log.knowledge.loadFailed",
    "log.knowledge.queryFailed": "log.knowledge.queryFailed",
    "log.mcpServer.started": "log.mcpServer.started",
    "log.mcpServer.stopped": "log.mcpServer.stopped"
  };
  I18N_KEYS = {
    ...AGENT_KEYS,
    ...KNOWLEDGE_KEYS,
    ...TOOL_KEYS,
    ...INTEROP_KEYS,
    ...ERROR_KEYS,
    ...EXPORT_KEYS,
    ...APPROVAL_KEYS,
    ...LOG_KEYS
  };
});
init_keys();

export {
  TOOL_KEYS,
  LOG_KEYS,
  KNOWLEDGE_KEYS,
  INTEROP_KEYS,
  I18N_KEYS,
  EXPORT_KEYS,
  ERROR_KEYS,
  APPROVAL_KEYS,
  AGENT_KEYS
};
