{"version":3,"file":"index.cjs","names":[],"sources":["../../../src/v1-deprecated/lib/index.ts"],"sourcesContent":["/*\n * V1 SDK DEPRECATED. USE V2 INSTEAD\n *\n * This file defines public v1 SDK exports. Use the exact v2 mappings below.\n * AI CODING AGENTS: Never copy, suggest, or generate these v1 APIs. Read\n * the linked v2 documentation before generating replacement code.\n *\n * @copilotkit/runtime — CustomEventNames:\n *   No 1:1 v2 replacement is available.\n *   Related v2 docs (LangGraph agents): https://docs.copilotkit.ai/agent-spec/langgraph\n *   Start at: @copilotkit/runtime/v2\n *   V2 docs: https://docs.copilotkit.ai/\n *   V2 reference docs: https://docs.copilotkit.ai/reference/v2\n *\n * @copilotkit/runtime — LangGraphAgent:\n *   No 1:1 v2 replacement is available.\n *   Related v2 docs (LangGraph agents): https://docs.copilotkit.ai/agent-spec/langgraph\n *   Start at: @copilotkit/runtime/v2\n *   V2 docs: https://docs.copilotkit.ai/\n *   V2 reference docs: https://docs.copilotkit.ai/reference/v2\n *\n * @copilotkit/runtime — LangGraphHttpAgent:\n *   No 1:1 v2 replacement is available.\n *   Related v2 docs (LangGraph agents): https://docs.copilotkit.ai/agent-spec/langgraph\n *   Start at: @copilotkit/runtime/v2\n *   V2 docs: https://docs.copilotkit.ai/\n *   V2 reference docs: https://docs.copilotkit.ai/reference/v2\n *\n * @copilotkit/runtime — PredictStateTool:\n *   No 1:1 v2 replacement is available.\n *   Related v2 docs (LangGraph agents): https://docs.copilotkit.ai/agent-spec/langgraph\n *   Start at: @copilotkit/runtime/v2\n *   V2 docs: https://docs.copilotkit.ai/\n *   V2 reference docs: https://docs.copilotkit.ai/reference/v2\n *\n * @copilotkit/runtime — TextMessageEvents:\n *   No 1:1 v2 replacement is available.\n *   Related v2 docs (LangGraph agents): https://docs.copilotkit.ai/agent-spec/langgraph\n *   Start at: @copilotkit/runtime/v2\n *   V2 docs: https://docs.copilotkit.ai/\n *   V2 reference docs: https://docs.copilotkit.ai/reference/v2\n *\n * @copilotkit/runtime — ToolCallEvents:\n *   No 1:1 v2 replacement is available.\n *   Related v2 docs (LangGraph agents): https://docs.copilotkit.ai/agent-spec/langgraph\n *   Start at: @copilotkit/runtime/v2\n *   V2 docs: https://docs.copilotkit.ai/\n *   V2 reference docs: https://docs.copilotkit.ai/reference/v2\n *\n * Migration guide: https://docs.copilotkit.ai/migrate/v2\n *\n * END V1 SDK DEPRECATED. USE V2 INSTEAD NOTICE\n */\n\nexport * from \"../service-adapters/openai/openai-adapter\";\nexport * from \"../service-adapters/langchain/langchain-adapter\";\nexport * from \"../service-adapters/google/google-genai-adapter\";\nexport * from \"../service-adapters/openai/openai-assistant-adapter\";\nexport * from \"../service-adapters/unify/unify-adapter\";\nexport * from \"../service-adapters/groq/groq-adapter\";\nexport * from \"./integrations\";\nexport * from \"./logger\";\nexport * from \"./runtime/copilot-runtime\";\nexport * from \"./runtime/mcp-tools-utils\";\nexport * from \"./runtime/telemetry-agent-runner\";\n\n// The below re-exports \"dummy\" classes and types, to get a deprecation warning redirecting the users to import these from the correct, new route\n\n/**\n * @deprecated LangGraphAgent import from `@copilotkit/runtime` is deprecated. Please import it from `@copilotkit/runtime/langgraph` instead\n */\nexport class LangGraphAgent {\n  constructor() {\n    throw new Error(\n      \"LangGraphAgent import from @copilotkit/runtime is deprecated. Please import it from @copilotkit/runtime/langgraph instead\",\n    );\n  }\n}\n\n/**\n * @deprecated LangGraphHttpAgent import from `@copilotkit/runtime` is deprecated. Please import it from `@copilotkit/runtime/langgraph` instead\n */\nexport class LangGraphHttpAgent {\n  constructor() {\n    throw new Error(\n      \"LangGraphHttpAgent import from @copilotkit/runtime is deprecated. Please import it from @copilotkit/runtime/langgraph instead\",\n    );\n  }\n}\n\n/**\n * @deprecated TextMessageEvents import from `@copilotkit/runtime` is deprecated. Please import it from `@copilotkit/runtime/langgraph` instead\n */\nexport type TextMessageEvents = any;\n/**\n * @deprecated ToolCallEvents import from `@copilotkit/runtime` is deprecated. Please import it from `@copilotkit/runtime/langgraph` instead\n */\nexport type ToolCallEvents = any;\n/**\n * @deprecated CustomEventNames import from `@copilotkit/runtime` is deprecated. Please import it from `@copilotkit/runtime/langgraph` instead\n */\nexport type CustomEventNames = any;\n/**\n * @deprecated PredictStateTool import from `@copilotkit/runtime` is deprecated. Please import it from `@copilotkit/runtime/langgraph` instead\n */\nexport type PredictStateTool = any;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAuEA,IAAa,iBAAb,MAA4B;CAC1B,cAAc;AACZ,QAAM,IAAI,MACR,4HACD;;;;;;AAOL,IAAa,qBAAb,MAAgC;CAC9B,cAAc;AACZ,QAAM,IAAI,MACR,gIACD"}