@copilotkit/runtime 0.0.0-max-runner-auth-20251229210625 → 0.0.0-max-changeset-20260109043537

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,11 +1,22 @@
1
1
  # @copilotkit/runtime
2
2
 
3
- ## 0.0.0-max-runner-auth-20251229210625
3
+ ## 0.0.0-max-changeset-20260109043537
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - c0f0e41: Optionally include request in run method
8
- - @copilotkit/shared@0.0.0-max-runner-auth-20251229210625
7
+ - 9e8c5a7: Update versioning strategy
8
+ - Updated dependencies [9e8c5a7]
9
+ - @copilotkitnext/runtime@0.0.0-max-changeset-20260109043537
10
+ - @copilotkit/shared@0.0.0-max-changeset-20260109043537
11
+ - @copilotkitnext/agent@0.0.0-max-changeset-20260109043537
12
+
13
+ ## 1.50.2-next.0
14
+
15
+ ### Patch Changes
16
+
17
+ - cf245a6: fix: restore and fix handle method in node http
18
+ - cf245a6: fix: use direct hono node integration on node-http integration
19
+ - @copilotkit/shared@1.50.2-next.0
9
20
 
10
21
  ## 1.50.1
11
22
 
@@ -522,7 +533,6 @@
522
533
  ### Patch Changes
523
534
 
524
535
  - 1abcecf: - fix: add graphqlContext to constructAGUIRemoteAction for enhanced agent properties
525
-
526
536
  - Updated constructAGUIRemoteAction to accept graphqlContext, allowing forwarding of properties like Authorization token to the agent.
527
537
  - Modified setupRemoteActions to include graphqlContext in the parameters.
528
538
 
@@ -624,7 +634,6 @@
624
634
  ### Patch Changes
625
635
 
626
636
  - 1abcecf: - fix: add graphqlContext to constructAGUIRemoteAction for enhanced agent properties
627
-
628
637
  - Updated constructAGUIRemoteAction to accept graphqlContext, allowing forwarding of properties like Authorization token to the agent.
629
638
  - Modified setupRemoteActions to include graphqlContext in the parameters.
630
639
  - @copilotkit/shared@1.10.0-next.1
@@ -692,7 +701,6 @@
692
701
  - remove request logging
693
702
  - 3a7f45f: - fix: resolve agui agents only after all other endpoints
694
703
  - fac89c2: - refactor: rename onTrace to onError throughout codebase
695
-
696
704
  - Rename CopilotTraceEvent to CopilotErrorEvent and CopilotTraceHandler to CopilotErrorHandler
697
705
 
698
706
  - 7ca7023: - feat: send node name to agui agent
@@ -793,7 +801,6 @@
793
801
  ### Patch Changes
794
802
 
795
803
  - fac89c2: - refactor: rename onTrace to onError throughout codebase
796
-
797
804
  - Rename CopilotTraceEvent to CopilotErrorEvent and CopilotTraceHandler to CopilotErrorHandler
798
805
 
799
806
  - Updated dependencies [fac89c2]
@@ -1275,11 +1282,9 @@
1275
1282
  - c0d3261: - full AWP support
1276
1283
 
1277
1284
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1278
-
1279
1285
  - refactor: address linter issues with the new pages
1280
1286
 
1281
1287
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1282
-
1283
1288
  - Merge branch 'mme/acp' into mme/mastra
1284
1289
  - add sse example
1285
1290
  - Create small-turkeys-agree.md
@@ -1296,17 +1301,14 @@
1296
1301
  - 77a7457: - feat: Add Model Context Protocol (MCP) support
1297
1302
  - 76d9ef9: - fix: handle langgraph client specific errors when running lgc stream
1298
1303
  - c0d3261: - add AWP support
1299
-
1300
1304
  - make it work
1301
1305
  - update docs
1302
1306
  - refactor: move UI files to be normal NextJS pages and update generation
1303
1307
 
1304
1308
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1305
-
1306
1309
  - refactor: address linter issues with the new pages
1307
1310
 
1308
1311
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1309
-
1310
1312
  - Merge branch 'mme/acp' into mme/mastra
1311
1313
  - add sse example
1312
1314
 
@@ -1320,11 +1322,9 @@
1320
1322
  - c0d3261: - full AWP support
1321
1323
 
1322
1324
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1323
-
1324
1325
  - refactor: address linter issues with the new pages
1325
1326
 
1326
1327
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1327
-
1328
1328
  - Merge branch 'mme/acp' into mme/mastra
1329
1329
  - add sse example
1330
1330
  - Create small-turkeys-agree.md
@@ -1339,17 +1339,14 @@
1339
1339
  - fix missing tool call ids
1340
1340
 
1341
1341
  - c0d3261: - add AWP support
1342
-
1343
1342
  - make it work
1344
1343
  - update docs
1345
1344
  - refactor: move UI files to be normal NextJS pages and update generation
1346
1345
 
1347
1346
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1348
-
1349
1347
  - refactor: address linter issues with the new pages
1350
1348
 
1351
1349
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1352
-
1353
1350
  - Merge branch 'mme/acp' into mme/mastra
1354
1351
  - add sse example
1355
1352
  - @copilotkit/shared@1.8.5-next.5
@@ -2354,7 +2351,6 @@
2354
2351
  - e16d95e: New prerelease
2355
2352
  - 1721cbd: Add convertActionsToDynamicStructuredTools to sdk-js
2356
2353
  - CopilotKit Core:
2357
-
2358
2354
  - Improved error messages and overall logs
2359
2355
  - `useCopilotAction.renderAndAwait` renamed to `.renderAndAwaitForResponse` (backwards compatible, will be deprecated in the future)
2360
2356
  - Improved scrolling behavior. It is now possible to scroll up during LLM response generation
@@ -2362,7 +2358,6 @@
2362
2358
  - Updated interfaces for better developer ergonomics
2363
2359
 
2364
2360
  CoAgents:
2365
-
2366
2361
  - Renamed `remoteActions` to `remoteEndpoints` (backwards compatible, will be deprecated in the future)
2367
2362
  - Support for LangGraph Platform in Remote Endpoints
2368
2363
  - LangGraph JS Support for CoAgents (locally via `langgraph dev`, `langgraph up` or deployed to LangGraph Platform)
@@ -2370,7 +2365,6 @@
2370
2365
  - Enhanced state management and message handling
2371
2366
 
2372
2367
  CopilotKid Back-end SDK:
2373
-
2374
2368
  - Released a whole-new `@copilotkit/sdk-js` for building agents with LangGraph JS Support
2375
2369
 
2376
2370
  - 8d0144f: bump
@@ -2717,7 +2711,6 @@ CopilotKid Back-end SDK:
2717
2711
  ### Patch Changes
2718
2712
 
2719
2713
  - inject minified css in bundle
2720
-
2721
2714
  - removes the need to import `styles.css` manually
2722
2715
  - empty `styles.css` included in the build for backwards compatibility
2723
2716
  - uses tsup's `injectStyles` with `postcss` to bundle and minify the CSS, then inject it as a style tag
@@ -2854,7 +2847,6 @@ CopilotKid Back-end SDK:
2854
2847
  ### Major Changes
2855
2848
 
2856
2849
  - b6a4b6eb: V1.0 Release Candidate
2857
-
2858
2850
  - A robust new protocol between the frontend and the Copilot Runtime
2859
2851
  - Support for Copilot Cloud
2860
2852
  - Generative UI
@@ -2862,7 +2854,6 @@ CopilotKid Back-end SDK:
2862
2854
  - OpenAI assistant API streaming
2863
2855
 
2864
2856
  - V1.0 Release
2865
-
2866
2857
  - A robust new protocol between the frontend and the Copilot Runtime
2867
2858
  - Support for Copilot Cloud
2868
2859
  - Generative UI
@@ -2900,7 +2891,6 @@ CopilotKid Back-end SDK:
2900
2891
  ### Major Changes
2901
2892
 
2902
2893
  - V1.0 Release Candidate
2903
-
2904
2894
  - A robust new protocol between the frontend and the Copilot Runtime
2905
2895
  - Support for Copilot Cloud
2906
2896
  - Generative UI
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License
2
+
3
+ Copyright (c) Atai Barkai
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
package/dist/index.d.ts CHANGED
@@ -7,13 +7,13 @@ import { IterableReadableStream, IterableReadableStreamInterface } from '@langch
7
7
  import { Groq } from 'groq-sdk';
8
8
  import Anthropic from '@anthropic-ai/sdk';
9
9
  import * as graphql from 'graphql';
10
- import * as pino from 'pino';
10
+ import * as createPinoLogger from 'pino';
11
+ import createPinoLogger__default from 'pino';
11
12
  import { YogaInitialContext, createYoga } from 'graphql-yoga';
12
13
  import { CopilotRuntimeOptions, CopilotRuntime as CopilotRuntime$1, AgentRunner } from '@copilotkitnext/runtime';
13
14
  import { AbstractAgent } from '@ag-ui/client';
14
15
  import * as http from 'http';
15
- import { ServerResponse, IncomingMessage } from 'http';
16
- import { Readable } from 'node:stream';
16
+ import { IncomingMessage, ServerResponse } from 'node:http';
17
17
 
18
18
  declare enum MessageRole {
19
19
  assistant = "assistant",
@@ -1302,9 +1302,9 @@ type CopilotRuntimeLogger = ReturnType<typeof createLogger>;
1302
1302
  declare function createLogger(options?: {
1303
1303
  level?: LogLevel;
1304
1304
  component?: string;
1305
- }): pino.Logger<never>;
1305
+ }): createPinoLogger__default.Logger<never, boolean>;
1306
1306
 
1307
- declare const logger: pino.Logger<never>;
1307
+ declare const logger: createPinoLogger.Logger<never, boolean>;
1308
1308
  declare const addCustomHeaderPlugin: {
1309
1309
  onResponse({ response }: {
1310
1310
  response: any;
@@ -1351,27 +1351,13 @@ declare const config: {
1351
1351
  };
1352
1352
  };
1353
1353
 
1354
- declare function copilotRuntimeNextJSPagesRouterEndpoint(options: CreateCopilotRuntimeServerOptions): (req: http.IncomingMessage & {
1355
- body?: unknown;
1356
- complete?: boolean;
1357
- }, res: http.ServerResponse) => Promise<void>;
1354
+ declare function copilotRuntimeNextJSPagesRouterEndpoint(options: CreateCopilotRuntimeServerOptions): (reqOrRequest: http.IncomingMessage | Request, res?: http.ServerResponse) => Promise<void> | Promise<Response> | Response;
1358
1355
 
1359
- type IncomingWithBody = IncomingMessage & {
1360
- body?: unknown;
1361
- complete?: boolean;
1362
- };
1363
- declare function readableStreamToNodeStream(webStream: ReadableStream): Readable;
1364
- declare function copilotRuntimeNodeHttpEndpoint(options: CreateCopilotRuntimeServerOptions): (req: IncomingWithBody, res: ServerResponse) => Promise<void>;
1356
+ declare function copilotRuntimeNodeHttpEndpoint(options: CreateCopilotRuntimeServerOptions): (reqOrRequest: IncomingMessage | Request, res?: ServerResponse) => Promise<void> | Promise<Response> | Response;
1365
1357
 
1366
- declare function copilotRuntimeNodeExpressEndpoint(options: CreateCopilotRuntimeServerOptions): (req: http.IncomingMessage & {
1367
- body?: unknown;
1368
- complete?: boolean;
1369
- }, res: http.ServerResponse) => Promise<void>;
1358
+ declare function copilotRuntimeNodeExpressEndpoint(options: CreateCopilotRuntimeServerOptions): (reqOrRequest: http.IncomingMessage | Request, res?: http.ServerResponse) => Promise<void> | Promise<Response> | Response;
1370
1359
 
1371
- declare function copilotRuntimeNestEndpoint(options: CreateCopilotRuntimeServerOptions): (req: http.IncomingMessage & {
1372
- body?: unknown;
1373
- complete?: boolean;
1374
- }, res: http.ServerResponse) => Promise<void>;
1360
+ declare function copilotRuntimeNestEndpoint(options: CreateCopilotRuntimeServerOptions): (reqOrRequest: http.IncomingMessage | Request, res?: http.ServerResponse) => Promise<void> | Promise<Response> | Response;
1375
1361
 
1376
1362
  /**
1377
1363
  * TelemetryAgentRunner - A wrapper around AgentRunner that adds telemetry
@@ -1506,4 +1492,4 @@ declare class UnknownErrorResponse extends FailedResponseStatus {
1506
1492
  });
1507
1493
  }
1508
1494
 
1509
- export { AnthropicAdapter, AnthropicAdapterParams, AnthropicPromptCachingConfig, BedrockAdapter, BedrockAdapterParams, CommonConfig, CopilotRequestContextProperties, CopilotRuntime, CopilotRuntimeChatCompletionRequest, CopilotRuntimeChatCompletionResponse, CopilotRuntimeConstructorParams_BASE, CopilotRuntimeLogger, CopilotServiceAdapter, CreateCopilotRuntimeServerOptions, CustomEventNames, EmptyAdapter, ExperimentalEmptyAdapter, ExperimentalOllamaAdapter, GoogleGenerativeAIAdapter, GraphQLContext, GroqAdapter, GroqAdapterParams, GuardrailsValidationFailureResponse, LangChainAdapter, LangGraphAgent, LangGraphHttpAgent, LogLevel, MCPClient, MCPEndpointConfig, MCPTool, MessageStreamInterruptedResponse, OpenAIAdapter, OpenAIAdapterParams, OpenAIAssistantAdapter, OpenAIAssistantAdapterParams, PredictStateTool, RemoteChain, RemoteChainParameters, TelemetryAgentRunner, TelemetryAgentRunnerConfig, TextMessageEvents, ToolCallEvents, UnifyAdapter, UnifyAdapterParams, UnknownErrorResponse, addCustomHeaderPlugin, buildSchema, config, convertMCPToolsToActions, convertServiceAdapterError, copilotKitEndpoint, copilotRuntimeNestEndpoint, copilotRuntimeNextJSAppRouterEndpoint, copilotRuntimeNextJSPagesRouterEndpoint, copilotRuntimeNodeExpressEndpoint, copilotRuntimeNodeHttpEndpoint, createContext, createLogger, extractParametersFromSchema, generateMcpToolInstructions, getCommonConfig, langGraphPlatformEndpoint, readableStreamToNodeStream, resolveEndpointType };
1495
+ export { AnthropicAdapter, AnthropicAdapterParams, AnthropicPromptCachingConfig, BedrockAdapter, BedrockAdapterParams, CommonConfig, CopilotRequestContextProperties, CopilotRuntime, CopilotRuntimeChatCompletionRequest, CopilotRuntimeChatCompletionResponse, CopilotRuntimeConstructorParams_BASE, CopilotRuntimeLogger, CopilotServiceAdapter, CreateCopilotRuntimeServerOptions, CustomEventNames, EmptyAdapter, ExperimentalEmptyAdapter, ExperimentalOllamaAdapter, GoogleGenerativeAIAdapter, GraphQLContext, GroqAdapter, GroqAdapterParams, GuardrailsValidationFailureResponse, LangChainAdapter, LangGraphAgent, LangGraphHttpAgent, LogLevel, MCPClient, MCPEndpointConfig, MCPTool, MessageStreamInterruptedResponse, OpenAIAdapter, OpenAIAdapterParams, OpenAIAssistantAdapter, OpenAIAssistantAdapterParams, PredictStateTool, RemoteChain, RemoteChainParameters, TelemetryAgentRunner, TelemetryAgentRunnerConfig, TextMessageEvents, ToolCallEvents, UnifyAdapter, UnifyAdapterParams, UnknownErrorResponse, addCustomHeaderPlugin, buildSchema, config, convertMCPToolsToActions, convertServiceAdapterError, copilotKitEndpoint, copilotRuntimeNestEndpoint, copilotRuntimeNextJSAppRouterEndpoint, copilotRuntimeNextJSPagesRouterEndpoint, copilotRuntimeNodeExpressEndpoint, copilotRuntimeNodeHttpEndpoint, createContext, createLogger, extractParametersFromSchema, generateMcpToolInstructions, getCommonConfig, langGraphPlatformEndpoint, resolveEndpointType };
package/dist/index.js CHANGED
@@ -72,7 +72,7 @@ var require_package = __commonJS({
72
72
  publishConfig: {
73
73
  access: "public"
74
74
  },
75
- version: "1.50.1",
75
+ version: "1.50.2-next.0",
76
76
  sideEffects: false,
77
77
  main: "./dist/index.js",
78
78
  module: "./dist/index.mjs",
@@ -96,7 +96,7 @@ var require_package = __commonJS({
96
96
  types: "./dist/index.d.ts",
97
97
  license: "MIT",
98
98
  scripts: {
99
- build: 'tsup --onSuccess "pnpm run generate-graphql-schema"',
99
+ build: "pnpm run generate-graphql-schema && tsup",
100
100
  dev: 'tsup --watch --onSuccess "pnpm run generate-graphql-schema"',
101
101
  test: "jest --passWithNoTests",
102
102
  "check-types": "tsc --noEmit",
@@ -106,6 +106,9 @@ var require_package = __commonJS({
106
106
  "unlink:global": "pnpm unlink --global"
107
107
  },
108
108
  devDependencies: {
109
+ "@copilotkit/shared": "workspace:*",
110
+ "@copilotkitnext/agent": "workspace:*",
111
+ "@copilotkitnext/runtime": "workspace:*",
109
112
  "@jest/globals": "^29.7.0",
110
113
  "@swc/core": "1.5.28",
111
114
  "@types/jest": "^29.5.12",
@@ -123,12 +126,6 @@ var require_package = __commonJS({
123
126
  vitest: "^3.2.4"
124
127
  },
125
128
  dependencies: {
126
- "@ag-ui/client": "^0.0.42",
127
- "@ag-ui/core": "^0.0.42",
128
- "@ag-ui/langgraph": "^0.0.20",
129
- "@copilotkit/shared": "workspace:*",
130
- "@copilotkitnext/agent": "0.0.33",
131
- "@copilotkitnext/runtime": "0.0.33",
132
129
  "@graphql-yoga/plugin-defer-stream": "^3.3.1",
133
130
  "@hono/node-server": "^1.13.5",
134
131
  "@scarf/scarf": "^1.3.0",
@@ -148,7 +145,13 @@ var require_package = __commonJS({
148
145
  zod: "^3.23.3"
149
146
  },
150
147
  peerDependencies: {
148
+ "@ag-ui/client": "^0.0.42",
149
+ "@ag-ui/core": "^0.0.42",
150
+ "@ag-ui/langgraph": "^0.0.20",
151
151
  "@anthropic-ai/sdk": "^0.57.0",
152
+ "@copilotkit/shared": "workspace:*",
153
+ "@copilotkitnext/agent": "workspace:*",
154
+ "@copilotkitnext/runtime": "workspace:*",
152
155
  "@langchain/aws": ">=0.1.9",
153
156
  "@langchain/core": ">=0.3.66",
154
157
  "@langchain/community": ">=0.3.58",
@@ -4755,9 +4758,27 @@ function readableStreamToNodeStream(webStream) {
4755
4758
  });
4756
4759
  }
4757
4760
  __name(readableStreamToNodeStream, "readableStreamToNodeStream");
4761
+ function nodeStreamToReadableStream(nodeStream) {
4762
+ return new ReadableStream({
4763
+ start(controller) {
4764
+ nodeStream.on("data", (chunk) => {
4765
+ controller.enqueue(chunk instanceof Buffer ? new Uint8Array(chunk) : chunk);
4766
+ });
4767
+ nodeStream.on("end", () => {
4768
+ controller.close();
4769
+ });
4770
+ nodeStream.on("error", (err) => {
4771
+ controller.error(err);
4772
+ });
4773
+ },
4774
+ cancel() {
4775
+ nodeStream.destroy();
4776
+ }
4777
+ });
4778
+ }
4779
+ __name(nodeStreamToReadableStream, "nodeStreamToReadableStream");
4758
4780
  function getFullUrl(req) {
4759
- const expressPath = req.originalUrl ?? (req.baseUrl ? `${req.baseUrl}${req.url ?? ""}` : void 0);
4760
- const path = expressPath || req.url || "/";
4781
+ const path = req.url || "/";
4761
4782
  const host = req.headers["x-forwarded-host"] || req.headers.host || "localhost";
4762
4783
  const proto = req.headers["x-forwarded-proto"] || (req.socket.encrypted ? "https" : "http");
4763
4784
  return `${proto}://${host}${path}`;
@@ -4809,6 +4830,8 @@ function isDisturbedOrLockedError(error) {
4809
4830
  return error instanceof TypeError && typeof error.message === "string" && (error.message.includes("disturbed") || error.message.includes("locked"));
4810
4831
  }
4811
4832
  __name(isDisturbedOrLockedError, "isDisturbedOrLockedError");
4833
+
4834
+ // src/lib/integrations/node-http/index.ts
4812
4835
  function copilotRuntimeNodeHttpEndpoint(options) {
4813
4836
  var _a;
4814
4837
  const commonConfig = getCommonConfig(options);
@@ -4833,7 +4856,7 @@ function copilotRuntimeNodeHttpEndpoint(options) {
4833
4856
  runtime: options.runtime.instance,
4834
4857
  basePath: options.baseUrl ?? options.endpoint
4835
4858
  });
4836
- return /* @__PURE__ */ __name(async function handler(req, res) {
4859
+ const handle2 = /* @__PURE__ */ __name(async function handler(req, res) {
4837
4860
  const url = getFullUrl(req);
4838
4861
  const hasBody = req.method !== "GET" && req.method !== "HEAD";
4839
4862
  const baseHeaders = toHeaders(req.headers);
@@ -4843,7 +4866,7 @@ function copilotRuntimeNodeHttpEndpoint(options) {
4843
4866
  let requestBody = void 0;
4844
4867
  let useDuplex = false;
4845
4868
  if (hasBody && canStream) {
4846
- requestBody = req;
4869
+ requestBody = nodeStreamToReadableStream(req);
4847
4870
  useDuplex = true;
4848
4871
  }
4849
4872
  if (hasBody && streamConsumed) {
@@ -4899,6 +4922,15 @@ function copilotRuntimeNodeHttpEndpoint(options) {
4899
4922
  res.end();
4900
4923
  }
4901
4924
  }, "handler");
4925
+ return function(reqOrRequest, res) {
4926
+ if (reqOrRequest instanceof Request) {
4927
+ return honoApp.fetch(reqOrRequest);
4928
+ }
4929
+ if (!res) {
4930
+ throw new TypeError("ServerResponse is required for Node HTTP requests");
4931
+ }
4932
+ return handle2(reqOrRequest, res);
4933
+ };
4902
4934
  }
4903
4935
  __name(copilotRuntimeNodeHttpEndpoint, "copilotRuntimeNodeHttpEndpoint");
4904
4936
 
@@ -5607,7 +5639,6 @@ exports.extractParametersFromSchema = extractParametersFromSchema;
5607
5639
  exports.generateMcpToolInstructions = generateMcpToolInstructions;
5608
5640
  exports.getCommonConfig = getCommonConfig;
5609
5641
  exports.langGraphPlatformEndpoint = langGraphPlatformEndpoint;
5610
- exports.readableStreamToNodeStream = readableStreamToNodeStream;
5611
5642
  exports.resolveEndpointType = resolveEndpointType;
5612
5643
  //# sourceMappingURL=out.js.map
5613
5644
  //# sourceMappingURL=index.js.map