@copilotkit/runtime 1.5.15-next.7 → 1.5.15

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 (50) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/__snapshots__/schema/schema.graphql +14 -1
  3. package/dist/{chunk-F4WILQ32.mjs → chunk-2ITUMI4O.mjs} +2 -2
  4. package/dist/{chunk-BUEAVIXA.mjs → chunk-GRU4U3VO.mjs} +2 -2
  5. package/dist/{chunk-OMS5GY45.mjs → chunk-HOTR3KYO.mjs} +538 -416
  6. package/dist/chunk-HOTR3KYO.mjs.map +1 -0
  7. package/dist/{chunk-65VBDTR4.mjs → chunk-USNCP24V.mjs} +2 -2
  8. package/dist/{copilot-runtime-a113045f.d.ts → copilot-runtime-3e7f1c7b.d.ts} +5 -4
  9. package/dist/graphql/types/converted/index.d.ts +1 -1
  10. package/dist/{groq-adapter-248058e8.d.ts → groq-adapter-3b894689.d.ts} +1 -1
  11. package/dist/{index-a7f37670.d.ts → index-f6d1f30b.d.ts} +1 -1
  12. package/dist/index.d.ts +4 -4
  13. package/dist/index.js +1283 -1161
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.mjs +4 -4
  16. package/dist/{langserve-9580bd66.d.ts → langserve-3a591089.d.ts} +11 -3
  17. package/dist/lib/index.d.ts +4 -4
  18. package/dist/lib/index.js +1283 -1161
  19. package/dist/lib/index.js.map +1 -1
  20. package/dist/lib/index.mjs +4 -4
  21. package/dist/lib/integrations/index.d.ts +4 -4
  22. package/dist/lib/integrations/index.js +493 -400
  23. package/dist/lib/integrations/index.js.map +1 -1
  24. package/dist/lib/integrations/index.mjs +4 -4
  25. package/dist/lib/integrations/nest/index.d.ts +3 -3
  26. package/dist/lib/integrations/nest/index.js +493 -400
  27. package/dist/lib/integrations/nest/index.js.map +1 -1
  28. package/dist/lib/integrations/nest/index.mjs +2 -2
  29. package/dist/lib/integrations/node-express/index.d.ts +3 -3
  30. package/dist/lib/integrations/node-express/index.js +493 -400
  31. package/dist/lib/integrations/node-express/index.js.map +1 -1
  32. package/dist/lib/integrations/node-express/index.mjs +2 -2
  33. package/dist/lib/integrations/node-http/index.d.ts +3 -3
  34. package/dist/lib/integrations/node-http/index.js +493 -400
  35. package/dist/lib/integrations/node-http/index.js.map +1 -1
  36. package/dist/lib/integrations/node-http/index.mjs +1 -1
  37. package/dist/service-adapters/index.d.ts +4 -4
  38. package/package.json +2 -2
  39. package/src/agents/langgraph/event-source.ts +7 -0
  40. package/src/agents/langgraph/events.ts +11 -1
  41. package/src/graphql/inputs/meta-event.input.ts +4 -3
  42. package/src/graphql/resolvers/copilot.resolver.ts +44 -1
  43. package/src/graphql/types/copilot-response.type.ts +1 -3
  44. package/src/graphql/types/meta-events.type.ts +41 -1
  45. package/src/lib/runtime/remote-lg-action.ts +44 -19
  46. package/src/service-adapters/events.ts +8 -2
  47. package/dist/chunk-OMS5GY45.mjs.map +0 -1
  48. /package/dist/{chunk-F4WILQ32.mjs.map → chunk-2ITUMI4O.mjs.map} +0 -0
  49. /package/dist/{chunk-BUEAVIXA.mjs.map → chunk-GRU4U3VO.mjs.map} +0 -0
  50. /package/dist/{chunk-65VBDTR4.mjs.map → chunk-USNCP24V.mjs.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @copilotkit/runtime
2
2
 
3
+ ## 1.5.15
4
+
5
+ ### Patch Changes
6
+
7
+ - 06f9f35: - feat(interrupt): add copilotkit interrupt as messages with copilotkit interrupt convenience fn
8
+ - chore(deps): update dependencies for demos
9
+ - chore(interrupt-as-message): add e2e test for interrupt as message
10
+ - 7b3141d: - feat(interrupt): support LG interrupt with useLangGraphInterrupt hook
11
+ - chore(interrupt): add e2e test to interrupt functionality
12
+ - feat(interrupt): add support for multiple interrupts and conditions
13
+ - 68bdbcd: - fix(runtime): enable multi-agent flows while preventing recursive self-calls
14
+ - c14f9db: - add headers handling to other LangGraphClients
15
+ - eb315bd: - fix: allow empty langsmith api key
16
+ - Updated dependencies [7b3141d]
17
+ - @copilotkit/shared@1.5.15
18
+
19
+ ## 1.5.15-next.8
20
+
21
+ ### Patch Changes
22
+
23
+ - 06f9f35: - feat(interrupt): add copilotkit interrupt as messages with copilotkit interrupt convenience fn
24
+ - chore(deps): update dependencies for demos
25
+ - chore(interrupt-as-message): add e2e test for interrupt as message
26
+ - @copilotkit/shared@1.5.15-next.8
27
+
3
28
  ## 1.5.15-next.7
4
29
 
5
30
  ### Patch Changes
@@ -99,6 +99,18 @@ input CloudInput {
99
99
  guardrails: GuardrailsInput
100
100
  }
101
101
 
102
+ type CopilotKitLangGraphInterruptEvent implements BaseMetaEvent {
103
+ data: CopilotKitLangGraphInterruptEventData!
104
+ name: MetaEventName!
105
+ response: String
106
+ type: String!
107
+ }
108
+
109
+ type CopilotKitLangGraphInterruptEventData {
110
+ messages: [BaseMessageOutput!]!
111
+ value: String!
112
+ }
113
+
102
114
  """The type of Copilot request"""
103
115
  enum CopilotRequestType {
104
116
  Chat
@@ -245,14 +257,15 @@ enum MessageStatusCode {
245
257
  }
246
258
 
247
259
  input MetaEventInput {
260
+ messages: [MessageInput!]
248
261
  name: MetaEventName!
249
262
  response: String
250
- type: String! = "MetaEvent"
251
263
  value: String!
252
264
  }
253
265
 
254
266
  """Meta event types"""
255
267
  enum MetaEventName {
268
+ CopilotKitLangGraphInterruptEvent
256
269
  LangGraphInterruptEvent
257
270
  }
258
271
 
@@ -2,7 +2,7 @@ import {
2
2
  copilotRuntimeNodeHttpEndpoint,
3
3
  getRuntimeInstanceTelemetryInfo,
4
4
  telemetry_client_default
5
- } from "./chunk-OMS5GY45.mjs";
5
+ } from "./chunk-HOTR3KYO.mjs";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-44O2JGUY.mjs";
@@ -22,4 +22,4 @@ __name(copilotRuntimeNodeExpressEndpoint, "copilotRuntimeNodeExpressEndpoint");
22
22
  export {
23
23
  copilotRuntimeNodeExpressEndpoint
24
24
  };
25
- //# sourceMappingURL=chunk-F4WILQ32.mjs.map
25
+ //# sourceMappingURL=chunk-2ITUMI4O.mjs.map
@@ -2,7 +2,7 @@ import {
2
2
  copilotRuntimeNodeHttpEndpoint,
3
3
  getRuntimeInstanceTelemetryInfo,
4
4
  telemetry_client_default
5
- } from "./chunk-OMS5GY45.mjs";
5
+ } from "./chunk-HOTR3KYO.mjs";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-44O2JGUY.mjs";
@@ -22,4 +22,4 @@ __name(copilotRuntimeNestEndpoint, "copilotRuntimeNestEndpoint");
22
22
  export {
23
23
  copilotRuntimeNestEndpoint
24
24
  };
25
- //# sourceMappingURL=chunk-BUEAVIXA.mjs.map
25
+ //# sourceMappingURL=chunk-GRU4U3VO.mjs.map