@copilotkit/runtime 1.8.10 → 1.8.11-next.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/CHANGELOG.md +14 -0
- package/dist/{chunk-5EMHHQ4P.mjs → chunk-IYF3PJG5.mjs} +14 -14
- package/dist/chunk-IYF3PJG5.mjs.map +1 -0
- package/dist/{chunk-LSELEGWC.mjs → chunk-KY2KPEXS.mjs} +2 -2
- package/dist/{chunk-DBY2YRE7.mjs → chunk-POEBLTPP.mjs} +2 -2
- package/dist/{chunk-KFZJJYUQ.mjs → chunk-T5O3LCUA.mjs} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +3 -3
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +6 -6
- package/dist/lib/integrations/index.d.ts +2 -2
- package/dist/lib/integrations/index.js +1 -1
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +6 -6
- package/dist/lib/integrations/nest/index.d.ts +1 -1
- package/dist/lib/integrations/nest/index.js +1 -1
- package/dist/lib/integrations/nest/index.js.map +1 -1
- package/dist/lib/integrations/nest/index.mjs +4 -4
- package/dist/lib/integrations/node-express/index.d.ts +1 -1
- package/dist/lib/integrations/node-express/index.js +1 -1
- package/dist/lib/integrations/node-express/index.js.map +1 -1
- package/dist/lib/integrations/node-express/index.mjs +4 -4
- package/dist/lib/integrations/node-http/index.d.ts +1 -1
- package/dist/lib/integrations/node-http/index.js +1 -1
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +3 -3
- package/dist/{shared-ede87417.d.ts → shared-0c31d7c5.d.ts} +1 -1
- package/package.json +2 -2
- package/src/lib/runtime/remote-action-constructors.ts +3 -1
- package/src/lib/runtime/remote-actions.ts +1 -1
- package/src/lib/runtime/remote-lg-action.ts +4 -2
- package/dist/chunk-5EMHHQ4P.mjs.map +0 -1
- /package/dist/{chunk-LSELEGWC.mjs.map → chunk-KY2KPEXS.mjs.map} +0 -0
- /package/dist/{chunk-DBY2YRE7.mjs.map → chunk-POEBLTPP.mjs.map} +0 -0
- /package/dist/{chunk-KFZJJYUQ.mjs.map → chunk-T5O3LCUA.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
config,
|
|
4
4
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
5
5
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-T5O3LCUA.mjs";
|
|
7
7
|
import {
|
|
8
8
|
copilotRuntimeNestEndpoint
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KY2KPEXS.mjs";
|
|
10
10
|
import {
|
|
11
11
|
copilotRuntimeNodeExpressEndpoint
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-POEBLTPP.mjs";
|
|
13
13
|
import {
|
|
14
14
|
CopilotRuntime,
|
|
15
15
|
addCustomHeaderPlugin,
|
|
@@ -25,9 +25,7 @@ import {
|
|
|
25
25
|
getCommonConfig,
|
|
26
26
|
langGraphPlatformEndpoint,
|
|
27
27
|
resolveEndpointType
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-SHBDMA63.mjs";
|
|
30
|
-
import "./chunk-2OZAGFV3.mjs";
|
|
28
|
+
} from "./chunk-IYF3PJG5.mjs";
|
|
31
29
|
import {
|
|
32
30
|
AnthropicAdapter,
|
|
33
31
|
EmptyAdapter,
|
|
@@ -46,6 +44,8 @@ import {
|
|
|
46
44
|
MessageStreamInterruptedResponse,
|
|
47
45
|
UnknownErrorResponse
|
|
48
46
|
} from "./chunk-5BIEM2UU.mjs";
|
|
47
|
+
import "./chunk-SHBDMA63.mjs";
|
|
48
|
+
import "./chunk-2OZAGFV3.mjs";
|
|
49
49
|
import "./chunk-FHD4JECV.mjs";
|
|
50
50
|
|
|
51
51
|
// src/index.ts
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { G as GoogleGenerativeAIAdapter, f as GroqAdapter, e as GroqAdapterParams, L as LangChainAdapter, a as OpenAIAdapter, O as OpenAIAdapterParams, c as OpenAIAssistantAdapter, b as OpenAIAssistantAdapterParams, d as UnifyAdapter, U as UnifyAdapterParams } from '../groq-adapter-4848f8e8.js';
|
|
2
|
-
export { e as CommonConfig, C as CopilotRequestContextProperties, k as CopilotRuntime, j as CopilotRuntimeConstructorParams, f as CopilotRuntimeLogger, i as CopilotRuntimeRequest, b as CreateCopilotRuntimeServerOptions, G as GraphQLContext, L as LogLevel, o as MCPClient, p as MCPEndpointConfig, M as MCPTool, a as addCustomHeaderPlugin, d as buildSchema, s as convertMCPToolsToActions, m as copilotKitEndpoint, c as createContext, h as createLogger, q as extractParametersFromSchema, l as flattenToolCallsNoDuplicates, t as generateMcpToolInstructions, g as getCommonConfig, n as langGraphPlatformEndpoint, r as resolveEndpointType } from '../shared-
|
|
2
|
+
export { e as CommonConfig, C as CopilotRequestContextProperties, k as CopilotRuntime, j as CopilotRuntimeConstructorParams, f as CopilotRuntimeLogger, i as CopilotRuntimeRequest, b as CreateCopilotRuntimeServerOptions, G as GraphQLContext, L as LogLevel, o as MCPClient, p as MCPEndpointConfig, M as MCPTool, a as addCustomHeaderPlugin, d as buildSchema, s as convertMCPToolsToActions, m as copilotKitEndpoint, c as createContext, h as createLogger, q as extractParametersFromSchema, l as flattenToolCallsNoDuplicates, t as generateMcpToolInstructions, g as getCommonConfig, n as langGraphPlatformEndpoint, r as resolveEndpointType } from '../shared-0c31d7c5.js';
|
|
3
3
|
export { CopilotRuntimeServerInstance, config, copilotRuntimeNextJSAppRouterEndpoint, copilotRuntimeNextJSPagesRouterEndpoint } from './integrations/index.js';
|
|
4
4
|
export { copilotRuntimeNodeHttpEndpoint } from './integrations/node-http/index.js';
|
|
5
5
|
export { copilotRuntimeNodeExpressEndpoint } from './integrations/node-express/index.js';
|
package/dist/lib/index.js
CHANGED
|
@@ -44,7 +44,7 @@ var require_package = __commonJS({
|
|
|
44
44
|
publishConfig: {
|
|
45
45
|
access: "public"
|
|
46
46
|
},
|
|
47
|
-
version: "1.8.
|
|
47
|
+
version: "1.8.11-next.1",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -3077,7 +3077,7 @@ async function streamEvents(controller, args) {
|
|
|
3077
3077
|
});
|
|
3078
3078
|
}
|
|
3079
3079
|
let streamInfo = {
|
|
3080
|
-
hashedLgcKey: (0, import_node_crypto.createHash)("sha256").update(langsmithApiKey).digest("hex")
|
|
3080
|
+
hashedLgcKey: langsmithApiKey ? (0, import_node_crypto.createHash)("sha256").update(langsmithApiKey).digest("hex") : null
|
|
3081
3081
|
};
|
|
3082
3082
|
const assistants = await client.assistants.search();
|
|
3083
3083
|
const retrievedAssistant = assistants.find((a) => a.name === name || a.assistant_id === initialAssistantId);
|
|
@@ -3661,7 +3661,7 @@ function constructLGCRemoteAction({ endpoint, graphqlContext, logger: logger2, m
|
|
|
3661
3661
|
agentExecution: true,
|
|
3662
3662
|
type: "langgraph-platform",
|
|
3663
3663
|
agentsAmount: endpoint.agents.length,
|
|
3664
|
-
hashedLgcKey: (0, import_node_crypto2.createHash)("sha256").update(endpoint.langsmithApiKey).digest("hex")
|
|
3664
|
+
hashedLgcKey: endpoint.langsmithApiKey ? (0, import_node_crypto2.createHash)("sha256").update(endpoint.langsmithApiKey).digest("hex") : null
|
|
3665
3665
|
});
|
|
3666
3666
|
let state = {};
|
|
3667
3667
|
let config2 = {};
|