@copilotkit/runtime 1.9.3-next.0 → 1.9.3-next.2

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/{chunk-R5D7D7YN.mjs → chunk-2RQ4BX75.mjs} +2 -2
  3. package/dist/{chunk-EK5RTZVJ.mjs → chunk-4ES2QKLP.mjs} +8 -5
  4. package/dist/chunk-4ES2QKLP.mjs.map +1 -0
  5. package/dist/{chunk-YGS5B7PN.mjs → chunk-7WSOM546.mjs} +4 -3
  6. package/dist/chunk-7WSOM546.mjs.map +1 -0
  7. package/dist/{chunk-RCCT2GOF.mjs → chunk-CCQGWSPS.mjs} +2 -2
  8. package/dist/{chunk-KCYFFRJY.mjs → chunk-DH323WEF.mjs} +2 -2
  9. package/dist/index.d.ts +1 -1
  10. package/dist/index.js +6 -1
  11. package/dist/index.js.map +1 -1
  12. package/dist/index.mjs +11 -9
  13. package/dist/index.mjs.map +1 -1
  14. package/dist/lib/index.d.ts +1 -0
  15. package/dist/lib/index.js +6 -1
  16. package/dist/lib/index.js.map +1 -1
  17. package/dist/lib/index.mjs +11 -9
  18. package/dist/lib/integrations/index.js +4 -1
  19. package/dist/lib/integrations/index.js.map +1 -1
  20. package/dist/lib/integrations/index.mjs +7 -7
  21. package/dist/lib/integrations/nest/index.js +4 -1
  22. package/dist/lib/integrations/nest/index.js.map +1 -1
  23. package/dist/lib/integrations/nest/index.mjs +3 -3
  24. package/dist/lib/integrations/node-express/index.js +4 -1
  25. package/dist/lib/integrations/node-express/index.js.map +1 -1
  26. package/dist/lib/integrations/node-express/index.mjs +3 -3
  27. package/dist/lib/integrations/node-http/index.js +4 -1
  28. package/dist/lib/integrations/node-http/index.js.map +1 -1
  29. package/dist/lib/integrations/node-http/index.mjs +2 -2
  30. package/package.json +5 -2
  31. package/src/lib/runtime/langgraph/langgraph-agent.ts +3 -0
  32. package/dist/chunk-EK5RTZVJ.mjs.map +0 -1
  33. package/dist/chunk-YGS5B7PN.mjs.map +0 -1
  34. /package/dist/{chunk-R5D7D7YN.mjs.map → chunk-2RQ4BX75.mjs.map} +0 -0
  35. /package/dist/{chunk-RCCT2GOF.mjs.map → chunk-CCQGWSPS.mjs.map} +0 -0
  36. /package/dist/{chunk-KCYFFRJY.mjs.map → chunk-DH323WEF.mjs.map} +0 -0
package/dist/index.mjs CHANGED
@@ -1,18 +1,19 @@
1
1
  import {
2
2
  CustomEventNames,
3
- LangGraphAgent
4
- } from "./chunk-YGS5B7PN.mjs";
3
+ LangGraphAgent,
4
+ LangGraphHttpAgent
5
+ } from "./chunk-7WSOM546.mjs";
5
6
  import {
6
7
  config,
7
8
  copilotRuntimeNextJSAppRouterEndpoint,
8
9
  copilotRuntimeNextJSPagesRouterEndpoint
9
- } from "./chunk-R5D7D7YN.mjs";
10
- import {
11
- copilotRuntimeNodeExpressEndpoint
12
- } from "./chunk-KCYFFRJY.mjs";
10
+ } from "./chunk-2RQ4BX75.mjs";
13
11
  import {
14
12
  copilotRuntimeNestEndpoint
15
- } from "./chunk-RCCT2GOF.mjs";
13
+ } from "./chunk-CCQGWSPS.mjs";
14
+ import {
15
+ copilotRuntimeNodeExpressEndpoint
16
+ } from "./chunk-DH323WEF.mjs";
16
17
  import {
17
18
  CopilotRuntime,
18
19
  addCustomHeaderPlugin,
@@ -28,9 +29,8 @@ import {
28
29
  getCommonConfig,
29
30
  langGraphPlatformEndpoint,
30
31
  resolveEndpointType
31
- } from "./chunk-EK5RTZVJ.mjs";
32
+ } from "./chunk-4ES2QKLP.mjs";
32
33
  import "./chunk-SHBDMA63.mjs";
33
- import "./chunk-2OZAGFV3.mjs";
34
34
  import {
35
35
  AnthropicAdapter,
36
36
  BedrockAdapter,
@@ -53,6 +53,7 @@ import {
53
53
  import {
54
54
  convertServiceAdapterError
55
55
  } from "./chunk-AMUJQ6IR.mjs";
56
+ import "./chunk-2OZAGFV3.mjs";
56
57
  import "./chunk-FHD4JECV.mjs";
57
58
 
58
59
  // src/index.ts
@@ -70,6 +71,7 @@ export {
70
71
  GuardrailsValidationFailureResponse,
71
72
  LangChainAdapter,
72
73
  LangGraphAgent,
74
+ LangGraphHttpAgent,
73
75
  MessageStreamInterruptedResponse,
74
76
  OpenAIAdapter,
75
77
  OpenAIAssistantAdapter,
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import \"reflect-metadata\";\nexport * from \"./lib\";\nexport * from \"./utils\";\nexport * from \"./service-adapters\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import \"reflect-metadata\";\nexport * from \"./lib\";\nexport * from \"./utils\";\nexport * from \"./service-adapters\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO;","names":[]}
@@ -7,6 +7,7 @@ export { copilotRuntimeNestEndpoint } from './integrations/nest/index.js';
7
7
  import * as rxjs from 'rxjs';
8
8
  import { TextMessageStartEvent, TextMessageContentEvent, TextMessageEndEvent, ToolCallStartEvent, ToolCallArgsEvent, ToolCallEndEvent, RunAgentInput, EventType } from '@ag-ui/client';
9
9
  import { LangGraphAgent as LangGraphAgent$1, LangGraphAgentConfig, ProcessedEvents, SchemaKeys } from '@ag-ui/langgraph';
10
+ export { LangGraphHttpAgent } from '@ag-ui/langgraph';
10
11
  import { Message } from '@langchain/langgraph-sdk/dist/types.messages';
11
12
  import 'openai';
12
13
  import '../langserve-3e8d0e06.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.9.3-next.0",
47
+ version: "1.9.3-next.2",
48
48
  sideEffects: false,
49
49
  main: "./dist/index.js",
50
50
  module: "./dist/index.mjs",
@@ -96,6 +96,8 @@ var require_package = __commonJS({
96
96
  "@langchain/google-gauth": "^0.1.0",
97
97
  "@langchain/langgraph-sdk": "^0.0.70",
98
98
  "@langchain/openai": "^0.4.2",
99
+ "@scarf/scarf": "^1.3.0",
100
+ "@types/ip": "^1.1.3",
99
101
  "class-transformer": "^0.5.1",
100
102
  "class-validator": "^0.14.1",
101
103
  express: "^4.19.2",
@@ -103,6 +105,7 @@ var require_package = __commonJS({
103
105
  "graphql-scalars": "^1.23.0",
104
106
  "graphql-yoga": "^5.3.1",
105
107
  "groq-sdk": "^0.5.0",
108
+ ip: "^2.0.1",
106
109
  langchain: "^0.3.3",
107
110
  openai: "^4.85.1",
108
111
  "partial-json": "^0.1.7",
@@ -144,6 +147,7 @@ __export(lib_exports, {
144
147
  GroqAdapter: () => GroqAdapter,
145
148
  LangChainAdapter: () => LangChainAdapter,
146
149
  LangGraphAgent: () => LangGraphAgent,
150
+ LangGraphHttpAgent: () => import_langgraph.LangGraphHttpAgent,
147
151
  OpenAIAdapter: () => OpenAIAdapter,
148
152
  OpenAIAssistantAdapter: () => OpenAIAssistantAdapter,
149
153
  UnifyAdapter: () => UnifyAdapter,
@@ -7692,6 +7696,7 @@ __name(LangGraphAgent, "LangGraphAgent");
7692
7696
  GroqAdapter,
7693
7697
  LangChainAdapter,
7694
7698
  LangGraphAgent,
7699
+ LangGraphHttpAgent,
7695
7700
  OpenAIAdapter,
7696
7701
  OpenAIAssistantAdapter,
7697
7702
  UnifyAdapter,