@copilotkit/runtime 1.10.4 → 1.10.5-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.
Files changed (52) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/__snapshots__/schema/schema.graphql +6 -0
  3. package/dist/{chunk-HV5H6LOK.mjs → chunk-C56AVUZI.mjs} +2 -2
  4. package/dist/{chunk-HHMKB5P4.mjs → chunk-CX4GADTM.mjs} +2 -2
  5. package/dist/{chunk-XAA5PFCY.mjs → chunk-FOXQPOXW.mjs} +184 -136
  6. package/dist/chunk-FOXQPOXW.mjs.map +1 -0
  7. package/dist/{chunk-XGVZS3FD.mjs → chunk-H6QUY5ZQ.mjs} +16 -6
  8. package/dist/chunk-H6QUY5ZQ.mjs.map +1 -0
  9. package/dist/{chunk-CNG7I5M5.mjs → chunk-T4NLPBCY.mjs} +2 -2
  10. package/dist/graphql/types/converted/index.d.ts +1 -1
  11. package/dist/{groq-adapter-4ba7b2f0.d.ts → groq-adapter-c8aec5c5.d.ts} +1 -1
  12. package/dist/{index-d4614f9b.d.ts → index-96b330da.d.ts} +1 -1
  13. package/dist/index.d.ts +4 -4
  14. package/dist/index.js +216 -158
  15. package/dist/index.js.map +1 -1
  16. package/dist/index.mjs +5 -5
  17. package/dist/{langserve-3f99bf2e.d.ts → langserve-0c6100e3.d.ts} +1 -1
  18. package/dist/lib/index.d.ts +12 -6
  19. package/dist/lib/index.js +216 -158
  20. package/dist/lib/index.js.map +1 -1
  21. package/dist/lib/index.mjs +5 -5
  22. package/dist/lib/integrations/index.d.ts +4 -4
  23. package/dist/lib/integrations/index.js +188 -143
  24. package/dist/lib/integrations/index.js.map +1 -1
  25. package/dist/lib/integrations/index.mjs +4 -4
  26. package/dist/lib/integrations/nest/index.d.ts +3 -3
  27. package/dist/lib/integrations/nest/index.js +188 -143
  28. package/dist/lib/integrations/nest/index.js.map +1 -1
  29. package/dist/lib/integrations/nest/index.mjs +2 -2
  30. package/dist/lib/integrations/node-express/index.d.ts +3 -3
  31. package/dist/lib/integrations/node-express/index.js +188 -143
  32. package/dist/lib/integrations/node-express/index.js.map +1 -1
  33. package/dist/lib/integrations/node-express/index.mjs +2 -2
  34. package/dist/lib/integrations/node-http/index.d.ts +3 -3
  35. package/dist/lib/integrations/node-http/index.js +188 -143
  36. package/dist/lib/integrations/node-http/index.js.map +1 -1
  37. package/dist/lib/integrations/node-http/index.mjs +1 -1
  38. package/dist/service-adapters/index.d.ts +5 -5
  39. package/dist/{shared-26958730.d.ts → shared-35015e40.d.ts} +9 -2
  40. package/package.json +3 -3
  41. package/src/graphql/inputs/copilot-context.input.ts +10 -0
  42. package/src/graphql/inputs/generate-copilot-response.input.ts +4 -0
  43. package/src/graphql/resolvers/copilot.resolver.ts +1 -0
  44. package/src/lib/runtime/agui-action.ts +4 -0
  45. package/src/lib/runtime/copilot-runtime.ts +5 -0
  46. package/src/lib/runtime/langgraph/langgraph-agent.ts +27 -7
  47. package/src/lib/runtime/remote-actions.ts +4 -0
  48. package/dist/chunk-XAA5PFCY.mjs.map +0 -1
  49. package/dist/chunk-XGVZS3FD.mjs.map +0 -1
  50. /package/dist/{chunk-HV5H6LOK.mjs.map → chunk-C56AVUZI.mjs.map} +0 -0
  51. /package/dist/{chunk-HHMKB5P4.mjs.map → chunk-CX4GADTM.mjs.map} +0 -0
  52. /package/dist/{chunk-CNG7I5M5.mjs.map → chunk-T4NLPBCY.mjs.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @copilotkit/runtime
2
2
 
3
+ ## 1.10.5-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - b7bc3a0: - feat: pass copilot readable context to agui agents
8
+ - @copilotkit/shared@1.10.5-next.1
9
+
10
+ ## 1.10.5-next.0
11
+
12
+ ### Patch Changes
13
+
14
+ - @copilotkit/shared@1.10.5-next.0
15
+
3
16
  ## 1.10.4
4
17
 
5
18
  ### Patch Changes
@@ -100,6 +100,11 @@ input CloudInput {
100
100
  guardrails: GuardrailsInput
101
101
  }
102
102
 
103
+ input CopilotContextInput {
104
+ description: String!
105
+ value: String!
106
+ }
107
+
103
108
  type CopilotKitLangGraphInterruptEvent implements BaseMetaEvent {
104
109
  data: CopilotKitLangGraphInterruptEventData!
105
110
  name: MetaEventName!
@@ -180,6 +185,7 @@ input GenerateCopilotResponseInput {
180
185
  agentState: AgentStateInput
181
186
  agentStates: [AgentStateInput!]
182
187
  cloud: CloudInput
188
+ context: [CopilotContextInput!]
183
189
  extensions: ExtensionsInput
184
190
  forwardedParameters: ForwardedParametersInput
185
191
  frontend: FrontendInput!
@@ -2,7 +2,7 @@ import {
2
2
  copilotRuntimeNodeHttpEndpoint,
3
3
  getRuntimeInstanceTelemetryInfo,
4
4
  telemetry_client_default
5
- } from "./chunk-XAA5PFCY.mjs";
5
+ } from "./chunk-FOXQPOXW.mjs";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-FHD4JECV.mjs";
@@ -22,4 +22,4 @@ __name(copilotRuntimeNodeExpressEndpoint, "copilotRuntimeNodeExpressEndpoint");
22
22
  export {
23
23
  copilotRuntimeNodeExpressEndpoint
24
24
  };
25
- //# sourceMappingURL=chunk-HV5H6LOK.mjs.map
25
+ //# sourceMappingURL=chunk-C56AVUZI.mjs.map
@@ -2,7 +2,7 @@ import {
2
2
  getCommonConfig,
3
3
  getRuntimeInstanceTelemetryInfo,
4
4
  telemetry_client_default
5
- } from "./chunk-XAA5PFCY.mjs";
5
+ } from "./chunk-FOXQPOXW.mjs";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-FHD4JECV.mjs";
@@ -77,4 +77,4 @@ export {
77
77
  config,
78
78
  copilotRuntimeNextJSPagesRouterEndpoint
79
79
  };
80
- //# sourceMappingURL=chunk-HHMKB5P4.mjs.map
80
+ //# sourceMappingURL=chunk-CX4GADTM.mjs.map