@copilotkit/runtime 1.62.3 → 1.63.1
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/dist/_virtual/_rolldown/runtime.mjs +15 -1
- package/dist/agent/converters/aisdk.d.cts +1 -1
- package/dist/agent/converters/tanstack.d.cts +1 -1
- package/dist/agent/index.d.cts +1 -1
- package/dist/channels/dist/index.d.cts +10 -0
- package/dist/channels/dist/index.d.cts.map +1 -0
- package/dist/channels/dist/index.d.mts +10 -0
- package/dist/channels/dist/index.d.mts.map +1 -0
- package/dist/graphql/inputs/action.input.d.cts +1 -1
- package/dist/graphql/inputs/agent-session.input.d.cts +1 -1
- package/dist/graphql/inputs/agent-state.input.d.cts +1 -1
- package/dist/graphql/inputs/extensions.input.d.cts +1 -1
- package/dist/graphql/inputs/forwarded-parameters.input.d.cts +1 -1
- package/dist/graphql/inputs/message.input.d.cts +1 -1
- package/dist/graphql/types/base/index.d.cts +1 -1
- package/dist/graphql/types/converted/index.d.cts +1 -1
- package/dist/graphql/types/copilot-response.type.d.cts +1 -1
- package/dist/graphql/types/enums.d.cts +1 -1
- package/dist/graphql/types/extensions-response.type.d.cts +1 -1
- package/dist/graphql/types/message-status.type.d.cts +1 -1
- package/dist/graphql/types/response-status.type.d.cts +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/langgraph.d.cts +1 -1
- package/dist/lib/cloud/index.d.cts +1 -1
- package/dist/lib/index.d.cts +1 -1
- package/dist/lib/integrations/index.d.cts +1 -1
- package/dist/lib/integrations/nest/index.d.cts +1 -1
- package/dist/lib/integrations/nextjs/app-router.d.cts +1 -1
- package/dist/lib/integrations/nextjs/pages-router.d.cts +1 -1
- package/dist/lib/integrations/node-express/index.d.cts +1 -1
- package/dist/lib/integrations/node-http/index.d.cts +1 -1
- package/dist/lib/integrations/shared.d.cts +1 -1
- package/dist/lib/logger.d.cts +1 -1
- package/dist/lib/observability.d.cts +1 -1
- package/dist/lib/runtime/agent-integrations/langgraph/agent.d.cts +1 -1
- package/dist/lib/runtime/agent-integrations/langgraph/consts.d.cts +1 -1
- package/dist/lib/runtime/agent-integrations/langgraph/index.d.cts +1 -1
- package/dist/lib/runtime/copilot-runtime.d.cts +1 -1
- package/dist/lib/runtime/mcp-tools-utils.d.cts +1 -1
- package/dist/lib/runtime/telemetry-agent-runner.d.cts +1 -1
- package/dist/lib/runtime/types.d.cts +1 -1
- package/dist/lib/telemetry-client.mjs +1 -1
- package/dist/package.cjs +4 -1
- package/dist/{package.mjs → runtime/package.mjs} +5 -2
- package/dist/runtime/package.mjs.map +1 -0
- package/dist/service-adapters/anthropic/anthropic-adapter.d.cts +1 -1
- package/dist/service-adapters/bedrock/bedrock-adapter.d.cts +1 -1
- package/dist/service-adapters/empty/empty-adapter.d.cts +1 -1
- package/dist/service-adapters/events.d.cts +1 -1
- package/dist/service-adapters/experimental/ollama/ollama-adapter.d.cts +1 -1
- package/dist/service-adapters/google/google-genai-adapter.d.cts +1 -1
- package/dist/service-adapters/groq/groq-adapter.d.cts +1 -1
- package/dist/service-adapters/index.d.cts +1 -1
- package/dist/service-adapters/langchain/langchain-adapter.d.cts +1 -1
- package/dist/service-adapters/langchain/langserve.d.cts +1 -1
- package/dist/service-adapters/langchain/types.d.cts +1 -1
- package/dist/service-adapters/openai/openai-adapter.d.cts +1 -1
- package/dist/service-adapters/openai/openai-assistant-adapter.d.cts +1 -1
- package/dist/service-adapters/service-adapter.d.cts +1 -1
- package/dist/service-adapters/shared/error-utils.d.cts +1 -1
- package/dist/service-adapters/shared/sdk-client-utils.d.cts +1 -1
- package/dist/service-adapters/unify/unify-adapter.d.cts +1 -1
- package/dist/utils/failed-response-status-reasons.d.cts +1 -1
- package/dist/v2/express.d.cts +3 -3
- package/dist/v2/express.d.mts +2 -2
- package/dist/v2/hono.d.cts +3 -3
- package/dist/v2/hono.d.mts +2 -2
- package/dist/v2/index.d.cts +7 -6
- package/dist/v2/index.d.mts +6 -5
- package/dist/v2/node.d.cts +1 -1
- package/dist/v2/runtime/core/channel-activation-config.cjs +93 -0
- package/dist/v2/runtime/core/channel-activation-config.cjs.map +1 -0
- package/dist/v2/runtime/core/channel-activation-config.d.cts +34 -0
- package/dist/v2/runtime/core/channel-activation-config.d.cts.map +1 -0
- package/dist/v2/runtime/core/channel-activation-config.d.mts +34 -0
- package/dist/v2/runtime/core/channel-activation-config.d.mts.map +1 -0
- package/dist/v2/runtime/core/channel-activation-config.mjs +91 -0
- package/dist/v2/runtime/core/channel-activation-config.mjs.map +1 -0
- package/dist/v2/runtime/core/channel-manager.cjs +447 -0
- package/dist/v2/runtime/core/channel-manager.cjs.map +1 -0
- package/dist/v2/runtime/core/channel-manager.d.cts +90 -0
- package/dist/v2/runtime/core/channel-manager.d.cts.map +1 -0
- package/dist/v2/runtime/core/channel-manager.d.mts +90 -0
- package/dist/v2/runtime/core/channel-manager.d.mts.map +1 -0
- package/dist/v2/runtime/core/channel-manager.mjs +446 -0
- package/dist/v2/runtime/core/channel-manager.mjs.map +1 -0
- package/dist/v2/runtime/core/debug-event-bus.d.cts +1 -1
- package/dist/v2/runtime/core/fetch-cors.d.cts +1 -1
- package/dist/v2/runtime/core/fetch-handler.cjs +47 -1
- package/dist/v2/runtime/core/fetch-handler.cjs.map +1 -1
- package/dist/v2/runtime/core/fetch-handler.d.cts +60 -4
- package/dist/v2/runtime/core/fetch-handler.d.cts.map +1 -1
- package/dist/v2/runtime/core/fetch-handler.d.mts +59 -3
- package/dist/v2/runtime/core/fetch-handler.d.mts.map +1 -1
- package/dist/v2/runtime/core/fetch-handler.mjs +47 -1
- package/dist/v2/runtime/core/fetch-handler.mjs.map +1 -1
- package/dist/v2/runtime/core/hooks.d.cts +1 -1
- package/dist/v2/runtime/core/middleware-sse-parser.d.cts +1 -1
- package/dist/v2/runtime/core/middleware.d.cts +1 -1
- package/dist/v2/runtime/core/runtime.cjs +24 -1
- package/dist/v2/runtime/core/runtime.cjs.map +1 -1
- package/dist/v2/runtime/core/runtime.d.cts +75 -27
- package/dist/v2/runtime/core/runtime.d.cts.map +1 -1
- package/dist/v2/runtime/core/runtime.d.mts +74 -26
- package/dist/v2/runtime/core/runtime.d.mts.map +1 -1
- package/dist/v2/runtime/core/runtime.mjs +25 -2
- package/dist/v2/runtime/core/runtime.mjs.map +1 -1
- package/dist/v2/runtime/endpoints/express-single.d.cts +1 -1
- package/dist/v2/runtime/endpoints/express.cjs +10 -5
- package/dist/v2/runtime/endpoints/express.cjs.map +1 -1
- package/dist/v2/runtime/endpoints/express.d.cts +30 -4
- package/dist/v2/runtime/endpoints/express.d.cts.map +1 -1
- package/dist/v2/runtime/endpoints/express.d.mts +29 -3
- package/dist/v2/runtime/endpoints/express.d.mts.map +1 -1
- package/dist/v2/runtime/endpoints/express.mjs +10 -5
- package/dist/v2/runtime/endpoints/express.mjs.map +1 -1
- package/dist/v2/runtime/endpoints/hono-single.d.cts +1 -1
- package/dist/v2/runtime/endpoints/hono.cjs +7 -3
- package/dist/v2/runtime/endpoints/hono.cjs.map +1 -1
- package/dist/v2/runtime/endpoints/hono.d.cts +30 -16
- package/dist/v2/runtime/endpoints/hono.d.cts.map +1 -1
- package/dist/v2/runtime/endpoints/hono.d.mts +29 -15
- package/dist/v2/runtime/endpoints/hono.d.mts.map +1 -1
- package/dist/v2/runtime/endpoints/hono.mjs +7 -3
- package/dist/v2/runtime/endpoints/hono.mjs.map +1 -1
- package/dist/v2/runtime/endpoints/index.d.cts +3 -3
- package/dist/v2/runtime/endpoints/index.d.mts +2 -2
- package/dist/v2/runtime/endpoints/node-fetch-handler.d.cts +1 -1
- package/dist/v2/runtime/endpoints/node.cjs +12 -1
- package/dist/v2/runtime/endpoints/node.cjs.map +1 -1
- package/dist/v2/runtime/endpoints/node.d.cts +22 -2
- package/dist/v2/runtime/endpoints/node.d.cts.map +1 -1
- package/dist/v2/runtime/endpoints/node.d.mts +21 -1
- package/dist/v2/runtime/endpoints/node.d.mts.map +1 -1
- package/dist/v2/runtime/endpoints/node.mjs +12 -1
- package/dist/v2/runtime/endpoints/node.mjs.map +1 -1
- package/dist/v2/runtime/express.d.cts +2 -2
- package/dist/v2/runtime/express.d.mts +1 -1
- package/dist/v2/runtime/handlers/header-utils.d.cts +1 -1
- package/dist/v2/runtime/hono.d.cts +2 -2
- package/dist/v2/runtime/hono.d.mts +1 -1
- package/dist/v2/runtime/index.d.cts +6 -5
- package/dist/v2/runtime/index.d.cts.map +1 -1
- package/dist/v2/runtime/index.d.mts +5 -4
- package/dist/v2/runtime/index.d.mts.map +1 -1
- package/dist/v2/runtime/intelligence-platform/client.d.cts +1 -1
- package/dist/v2/runtime/node.d.cts +1 -1
- package/dist/v2/runtime/runner/agent-runner.d.cts +1 -1
- package/dist/v2/runtime/runner/in-memory.cjs +35 -19
- package/dist/v2/runtime/runner/in-memory.cjs.map +1 -1
- package/dist/v2/runtime/runner/in-memory.d.cts +13 -1
- package/dist/v2/runtime/runner/in-memory.d.cts.map +1 -1
- package/dist/v2/runtime/runner/in-memory.d.mts +12 -0
- package/dist/v2/runtime/runner/in-memory.d.mts.map +1 -1
- package/dist/v2/runtime/runner/in-memory.mjs +35 -19
- package/dist/v2/runtime/runner/in-memory.mjs.map +1 -1
- package/dist/v2/runtime/runner/index.d.cts +1 -1
- package/dist/v2/runtime/runner/intelligence.d.cts +1 -1
- package/dist/v2/runtime/telemetry/telemetry-client.mjs +1 -1
- package/dist/v2/runtime/transcription-service/transcription-service.d.cts +1 -1
- package/package.json +5 -2
- package/dist/package.mjs.map +0 -1
|
@@ -9,6 +9,19 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
9
9
|
var __getProtoOf = Object.getPrototypeOf;
|
|
10
10
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
11
11
|
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
12
|
+
var __exportAll = (all, no_symbols) => {
|
|
13
|
+
let target = {};
|
|
14
|
+
for (var name in all) {
|
|
15
|
+
__defProp(target, name, {
|
|
16
|
+
get: all[name],
|
|
17
|
+
enumerable: true
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
if (!no_symbols) {
|
|
21
|
+
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
22
|
+
}
|
|
23
|
+
return target;
|
|
24
|
+
};
|
|
12
25
|
var __copyProps = (to, from, except, desc) => {
|
|
13
26
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
27
|
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
@@ -23,6 +36,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
23
36
|
}
|
|
24
37
|
return to;
|
|
25
38
|
};
|
|
39
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
26
40
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
27
41
|
value: mod,
|
|
28
42
|
enumerable: true
|
|
@@ -30,4 +44,4 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
44
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
31
45
|
|
|
32
46
|
//#endregion
|
|
33
|
-
export { __commonJSMin, __require, __toESM };
|
|
47
|
+
export { __commonJSMin, __exportAll, __reExport, __require, __toESM };
|
package/dist/agent/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
require("reflect-metadata");
|
|
2
2
|
import { convertAISDKStream } from "./converters/aisdk.cjs";
|
|
3
3
|
import { TanStackChatMessage, TanStackInputResult, convertInputToTanStackAI, convertTanStackStream } from "./converters/tanstack.cjs";
|
|
4
4
|
import { LanguageModel, ModelMessage, ToolChoice, ToolSet } from "ai";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
require("reflect-metadata");
|
|
2
|
+
import { __exportAll, __reExport } from "../../_virtual/_rolldown/runtime.cjs";
|
|
3
|
+
export * from "@copilotkit/channels-core";
|
|
4
|
+
|
|
5
|
+
//#region ../channels/dist/index.d.ts
|
|
6
|
+
|
|
7
|
+
import * as import__copilotkit_channels_core from "@copilotkit/channels-core";
|
|
8
|
+
//#endregion
|
|
9
|
+
export { import__copilotkit_channels_core as index_d_exports };
|
|
10
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../../../../channels/dist/index.d.ts"],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "reflect-metadata";
|
|
2
|
+
import { __exportAll, __reExport } from "../../_virtual/_rolldown/runtime.mjs";
|
|
3
|
+
export * from "@copilotkit/channels-core";
|
|
4
|
+
|
|
5
|
+
//#region ../channels/dist/index.d.ts
|
|
6
|
+
|
|
7
|
+
import * as import__copilotkit_channels_core from "@copilotkit/channels-core";
|
|
8
|
+
//#endregion
|
|
9
|
+
export { import__copilotkit_channels_core as index_d_exports };
|
|
10
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../../../channels/dist/index.d.ts"],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
require("reflect-metadata");
|
|
2
2
|
import { MessageRole } from "../enums.cjs";
|
|
3
3
|
import { ActionExecutionMessageInput, AgentStateMessageInput, ImageMessageInput, ResultMessageInput, TextMessageInput } from "../../inputs/message.input.cjs";
|
|
4
4
|
import { MessageStatus } from "../message-status.type.cjs";
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
require("reflect-metadata");
|
|
2
2
|
import { CopilotRuntimeChatCompletionRequest, CopilotRuntimeChatCompletionResponse, CopilotServiceAdapter } from "./service-adapters/service-adapter.cjs";
|
|
3
3
|
import { OpenAIAdapter, OpenAIAdapterParams } from "./service-adapters/openai/openai-adapter.cjs";
|
|
4
4
|
import { LangChainAdapter } from "./service-adapters/langchain/langchain-adapter.cjs";
|
package/dist/langgraph.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
require("reflect-metadata");
|
|
2
2
|
import { CustomEventNames, PredictStateTool, TextMessageEvents, ToolCallEvents } from "./lib/runtime/agent-integrations/langgraph/consts.cjs";
|
|
3
3
|
import { LangGraphAgent, LangGraphHttpAgent } from "./lib/runtime/agent-integrations/langgraph/agent.cjs";
|
|
4
4
|
import "./lib/runtime/agent-integrations/langgraph/index.cjs";
|
package/dist/lib/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
require("reflect-metadata");
|
|
2
2
|
import { OpenAIAdapter, OpenAIAdapterParams } from "../service-adapters/openai/openai-adapter.cjs";
|
|
3
3
|
import { LangChainAdapter } from "../service-adapters/langchain/langchain-adapter.cjs";
|
|
4
4
|
import { GoogleGenerativeAIAdapter } from "../service-adapters/google/google-genai-adapter.cjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
require("reflect-metadata");
|
|
2
2
|
import { CommonConfig, CopilotEndpointCorsConfig, CopilotRequestContextProperties, CreateCopilotRuntimeServerOptions, GraphQLContext, buildSchema, getCommonConfig } from "./shared.cjs";
|
|
3
3
|
import { copilotRuntimeNextJSAppRouterEndpoint } from "./nextjs/app-router.cjs";
|
|
4
4
|
import { config, copilotRuntimeNextJSPagesRouterEndpoint } from "./nextjs/pages-router.cjs";
|
package/dist/lib/logger.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "reflect-metadata";
|
|
2
|
-
import { require_package } from "../package.mjs";
|
|
2
|
+
import { require_package } from "../runtime/package.mjs";
|
|
3
3
|
import { EndpointType } from "./runtime/types.mjs";
|
|
4
4
|
import { resolveEndpointType } from "./runtime/copilot-runtime.mjs";
|
|
5
5
|
import { TelemetryClient } from "@copilotkit/shared";
|
package/dist/package.cjs
CHANGED
|
@@ -5,7 +5,7 @@ const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
|
|
|
5
5
|
var require_package = /* @__PURE__ */ require_runtime.__commonJSMin(((exports, module) => {
|
|
6
6
|
module.exports = {
|
|
7
7
|
"name": "@copilotkit/runtime",
|
|
8
|
-
"version": "1.
|
|
8
|
+
"version": "1.63.1",
|
|
9
9
|
"private": false,
|
|
10
10
|
"keywords": [
|
|
11
11
|
"ai",
|
|
@@ -89,6 +89,8 @@ var require_package = /* @__PURE__ */ require_runtime.__commonJSMin(((exports, m
|
|
|
89
89
|
"@ai-sdk/google-vertex": "^3.0.97",
|
|
90
90
|
"@ai-sdk/mcp": "^1.0.21",
|
|
91
91
|
"@ai-sdk/openai": "^3.0.36",
|
|
92
|
+
"@copilotkit/channels-core": "workspace:^",
|
|
93
|
+
"@copilotkit/channels-intelligence": "workspace:*",
|
|
92
94
|
"@copilotkit/license-verifier": "~0.5.0",
|
|
93
95
|
"@copilotkit/shared": "workspace:*",
|
|
94
96
|
"@graphql-yoga/plugin-defer-stream": "^3.3.1",
|
|
@@ -121,6 +123,7 @@ var require_package = /* @__PURE__ */ require_runtime.__commonJSMin(((exports, m
|
|
|
121
123
|
},
|
|
122
124
|
"devDependencies": {
|
|
123
125
|
"@copilotkit/aimock": "latest",
|
|
126
|
+
"@copilotkit/channels": "workspace:*",
|
|
124
127
|
"@swc/core": "1.5.28",
|
|
125
128
|
"@tanstack/intent": "^0.0.29",
|
|
126
129
|
"@types/cors": "^2.8.17",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "reflect-metadata";
|
|
2
|
-
import { __commonJSMin } from "
|
|
2
|
+
import { __commonJSMin } from "../_virtual/_rolldown/runtime.mjs";
|
|
3
3
|
|
|
4
4
|
//#region package.json
|
|
5
5
|
var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6
6
|
module.exports = {
|
|
7
7
|
"name": "@copilotkit/runtime",
|
|
8
|
-
"version": "1.
|
|
8
|
+
"version": "1.63.1",
|
|
9
9
|
"private": false,
|
|
10
10
|
"keywords": [
|
|
11
11
|
"ai",
|
|
@@ -89,6 +89,8 @@ var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
89
89
|
"@ai-sdk/google-vertex": "^3.0.97",
|
|
90
90
|
"@ai-sdk/mcp": "^1.0.21",
|
|
91
91
|
"@ai-sdk/openai": "^3.0.36",
|
|
92
|
+
"@copilotkit/channels-core": "workspace:^",
|
|
93
|
+
"@copilotkit/channels-intelligence": "workspace:*",
|
|
92
94
|
"@copilotkit/license-verifier": "~0.5.0",
|
|
93
95
|
"@copilotkit/shared": "workspace:*",
|
|
94
96
|
"@graphql-yoga/plugin-defer-stream": "^3.3.1",
|
|
@@ -121,6 +123,7 @@ var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
121
123
|
},
|
|
122
124
|
"devDependencies": {
|
|
123
125
|
"@copilotkit/aimock": "latest",
|
|
126
|
+
"@copilotkit/channels": "workspace:*",
|
|
124
127
|
"@swc/core": "1.5.28",
|
|
125
128
|
"@tanstack/intent": "^0.0.29",
|
|
126
129
|
"@types/cors": "^2.8.17",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package.mjs","names":[],"sources":["../../package.json"],"sourcesContent":[""],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
require("reflect-metadata");
|
|
2
2
|
import { CopilotRuntimeChatCompletionRequest, CopilotRuntimeChatCompletionResponse, CopilotServiceAdapter } from "./service-adapter.cjs";
|
|
3
3
|
import { OpenAIAdapter, OpenAIAdapterParams } from "./openai/openai-adapter.cjs";
|
|
4
4
|
import { LangChainAdapter } from "./langchain/langchain-adapter.cjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
require("reflect-metadata");
|
|
2
2
|
import { CopilotRuntimeChatCompletionRequest, CopilotRuntimeChatCompletionResponse, CopilotServiceAdapter } from "../service-adapter.cjs";
|
|
3
3
|
import { LangChainReturnType } from "./types.cjs";
|
|
4
4
|
import { BaseMessage } from "@langchain/core/messages";
|
package/dist/v2/express.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { CopilotExpressEndpointParams, createCopilotExpressHandler } from "./runtime/endpoints/express.cjs";
|
|
1
|
+
require("reflect-metadata");
|
|
2
|
+
import { CopilotExpressEndpointParams, CopilotExpressRouter, createCopilotExpressHandler } from "./runtime/endpoints/express.cjs";
|
|
3
3
|
import { createCopilotEndpointSingleRouteExpress } from "./runtime/endpoints/express-single.cjs";
|
|
4
4
|
import "./runtime/express.cjs";
|
|
5
|
-
export { CopilotExpressEndpointParams, createCopilotExpressHandler as createCopilotEndpointExpress, createCopilotExpressHandler, createCopilotEndpointSingleRouteExpress };
|
|
5
|
+
export { CopilotExpressEndpointParams, CopilotExpressRouter, createCopilotExpressHandler as createCopilotEndpointExpress, createCopilotExpressHandler, createCopilotEndpointSingleRouteExpress };
|
package/dist/v2/express.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "reflect-metadata";
|
|
2
|
-
import { CopilotExpressEndpointParams, createCopilotExpressHandler } from "./runtime/endpoints/express.mjs";
|
|
2
|
+
import { CopilotExpressEndpointParams, CopilotExpressRouter, createCopilotExpressHandler } from "./runtime/endpoints/express.mjs";
|
|
3
3
|
import { createCopilotEndpointSingleRouteExpress } from "./runtime/endpoints/express-single.mjs";
|
|
4
4
|
import "./runtime/express.mjs";
|
|
5
|
-
export { CopilotExpressEndpointParams, createCopilotExpressHandler as createCopilotEndpointExpress, createCopilotExpressHandler, createCopilotEndpointSingleRouteExpress };
|
|
5
|
+
export { CopilotExpressEndpointParams, CopilotExpressRouter, createCopilotExpressHandler as createCopilotEndpointExpress, createCopilotExpressHandler, createCopilotEndpointSingleRouteExpress };
|
package/dist/v2/hono.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { CopilotEndpointCorsConfig, createCopilotEndpoint, createCopilotHonoHandler, toFetchCorsConfig } from "./runtime/endpoints/hono.cjs";
|
|
1
|
+
require("reflect-metadata");
|
|
2
|
+
import { CopilotEndpointCorsConfig, CopilotHonoApp, createCopilotEndpoint, createCopilotHonoHandler, toFetchCorsConfig } from "./runtime/endpoints/hono.cjs";
|
|
3
3
|
import { createCopilotEndpointSingleRoute } from "./runtime/endpoints/hono-single.cjs";
|
|
4
4
|
import "./runtime/hono.cjs";
|
|
5
|
-
export { CopilotEndpointCorsConfig, createCopilotEndpoint, createCopilotEndpointSingleRoute, createCopilotHonoHandler, toFetchCorsConfig };
|
|
5
|
+
export { CopilotEndpointCorsConfig, CopilotHonoApp, createCopilotEndpoint, createCopilotEndpointSingleRoute, createCopilotHonoHandler, toFetchCorsConfig };
|
package/dist/v2/hono.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "reflect-metadata";
|
|
2
|
-
import { CopilotEndpointCorsConfig, createCopilotEndpoint, createCopilotHonoHandler, toFetchCorsConfig } from "./runtime/endpoints/hono.mjs";
|
|
2
|
+
import { CopilotEndpointCorsConfig, CopilotHonoApp, createCopilotEndpoint, createCopilotHonoHandler, toFetchCorsConfig } from "./runtime/endpoints/hono.mjs";
|
|
3
3
|
import { createCopilotEndpointSingleRoute } from "./runtime/endpoints/hono-single.mjs";
|
|
4
4
|
import "./runtime/hono.mjs";
|
|
5
|
-
export { CopilotEndpointCorsConfig, createCopilotEndpoint, createCopilotEndpointSingleRoute, createCopilotHonoHandler, toFetchCorsConfig };
|
|
5
|
+
export { CopilotEndpointCorsConfig, CopilotHonoApp, createCopilotEndpoint, createCopilotEndpointSingleRoute, createCopilotHonoHandler, toFetchCorsConfig };
|