@copilotkit/runtime 2.0.0-rc.41 → 2.0.0-rc.42

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.
@@ -1,7 +1,7 @@
1
1
 
2
2
  //#region src/runtime/core/package-info.ts
3
3
  const RUNTIME_PACKAGE_NAME = "@copilotkit/runtime";
4
- const RUNTIME_PACKAGE_VERSION = "2.0.0-rc.41";
4
+ const RUNTIME_PACKAGE_VERSION = "2.0.0-rc.42";
5
5
 
6
6
  //#endregion
7
7
  exports.RUNTIME_PACKAGE_NAME = RUNTIME_PACKAGE_NAME;
@@ -1,6 +1,6 @@
1
1
  //#region src/runtime/core/package-info.ts
2
2
  const RUNTIME_PACKAGE_NAME = "@copilotkit/runtime";
3
- const RUNTIME_PACKAGE_VERSION = "2.0.0-rc.41";
3
+ const RUNTIME_PACKAGE_VERSION = "2.0.0-rc.42";
4
4
 
5
5
  //#endregion
6
6
  export { RUNTIME_PACKAGE_NAME, RUNTIME_PACKAGE_VERSION };
@@ -39,7 +39,13 @@ var RecordedEventAgent = class RecordedEventAgent extends _ag_ui_client.Abstract
39
39
  * the caller's responsibility (A2UI can generate random result message IDs).
40
40
  */
41
41
  async function transformRecordedEvents(input, events, options) {
42
- let agent = new RecordedEventAgent(input, () => (0, rxjs.from)(events));
42
+ const lifecycle = events.filter((event) => event.type === _ag_ui_client.EventType.RUN_STARTED || event.type === _ag_ui_client.EventType.RUN_FINISHED);
43
+ let replayed = false;
44
+ let agent = new RecordedEventAgent(input, () => {
45
+ const replay = replayed ? lifecycle : events;
46
+ replayed = true;
47
+ return (0, rxjs.from)(replay);
48
+ });
43
49
  if (options.openGenerativeUI) {
44
50
  const next = agent;
45
51
  const middleware = new require_open_generative_ui_middleware.OpenGenerativeUIMiddleware();
@@ -1 +1 @@
1
- {"version":3,"file":"recorded-events.cjs","names":["AbstractAgent","OpenGenerativeUIMiddleware","A2UIMiddleware"],"sources":["../../../src/runtime/event-transforms/recorded-events.ts"],"sourcesContent":["import { AbstractAgent } from \"@ag-ui/client\";\nimport type { BaseEvent, RunAgentInput } from \"@ag-ui/client\";\nimport { A2UIMiddleware } from \"@ag-ui/a2ui-middleware\";\nimport type { A2UIMiddlewareConfig } from \"@ag-ui/a2ui-middleware\";\nimport { firstValueFrom, from, toArray } from \"rxjs\";\nimport type { Observable } from \"rxjs\";\nimport { OpenGenerativeUIMiddleware } from \"./open-generative-ui-middleware\";\n\nexport interface RecordedEventTransformOptions {\n /** Use the original runtime configuration, including its catalog when known. */\n a2ui?: A2UIMiddlewareConfig;\n openGenerativeUI?: boolean;\n}\n\n/** An inert event source: it cannot contact an agent or execute tools. */\nclass RecordedEventAgent extends AbstractAgent {\n constructor(\n private readonly input: RunAgentInput,\n private readonly stream: (input: RunAgentInput) => Observable<BaseEvent>,\n ) {\n super({\n threadId: input.threadId,\n initialMessages: input.messages,\n initialState: input.state,\n });\n }\n\n /** Emit recorded events through this layer without contacting an agent. */\n run(input: RunAgentInput): Observable<BaseEvent> {\n return this.stream(input);\n }\n\n /** Retain the current replay history and state in an independent agent. */\n clone(): AbstractAgent {\n return new RecordedEventAgent(\n { ...this.input, messages: this.messages, state: this.state },\n this.stream,\n );\n }\n}\n\n/**\n * Apply CPK's rich-UI middleware to one recorded, pre-middleware run.\n * Supply complete AG-UI run events and the original input/configuration. This\n * does not run an agent, fetch resources, or execute tools. Already transformed\n * histories must not be passed through a second time.\n *\n * Returns events in runtime order, including generated activity events and any\n * synthetic A2UI tool results. Persistence IDs, timestamps, and provenance are\n * the caller's responsibility (A2UI can generate random result message IDs).\n */\nexport async function transformRecordedEvents(\n input: RunAgentInput,\n events: readonly BaseEvent[],\n options: RecordedEventTransformOptions,\n): Promise<BaseEvent[]> {\n let agent: AbstractAgent = new RecordedEventAgent(input, () => from(events));\n // Runtime registers A2UI before Open GenUI; the first middleware is outermost.\n if (options.openGenerativeUI) {\n const next = agent;\n const middleware = new OpenGenerativeUIMiddleware();\n agent = new RecordedEventAgent(input, (runInput) =>\n middleware.run(runInput, next),\n );\n }\n if (options.a2ui) {\n const next = agent;\n const middleware = new A2UIMiddleware(options.a2ui);\n agent = new RecordedEventAgent(input, (runInput) =>\n middleware.run(runInput, next),\n );\n }\n return firstValueFrom(agent.run(input).pipe(toArray()));\n}\n"],"mappings":";;;;;;;AAeA,IAAM,qBAAN,MAAM,2BAA2BA,4BAAc;CAC7C,YACE,AAAiB,OACjB,AAAiB,QACjB;AACA,QAAM;GACJ,UAAU,MAAM;GAChB,iBAAiB,MAAM;GACvB,cAAc,MAAM;GACrB,CAAC;EAPe;EACA;;;CAUnB,IAAI,OAA6C;AAC/C,SAAO,KAAK,OAAO,MAAM;;;CAI3B,QAAuB;AACrB,SAAO,IAAI,mBACT;GAAE,GAAG,KAAK;GAAO,UAAU,KAAK;GAAU,OAAO,KAAK;GAAO,EAC7D,KAAK,OACN;;;;;;;;;;;;;AAcL,eAAsB,wBACpB,OACA,QACA,SACsB;CACtB,IAAI,QAAuB,IAAI,mBAAmB,4BAAkB,OAAO,CAAC;AAE5E,KAAI,QAAQ,kBAAkB;EAC5B,MAAM,OAAO;EACb,MAAM,aAAa,IAAIC,kEAA4B;AACnD,UAAQ,IAAI,mBAAmB,QAAQ,aACrC,WAAW,IAAI,UAAU,KAAK,CAC/B;;AAEH,KAAI,QAAQ,MAAM;EAChB,MAAM,OAAO;EACb,MAAM,aAAa,IAAIC,sCAAe,QAAQ,KAAK;AACnD,UAAQ,IAAI,mBAAmB,QAAQ,aACrC,WAAW,IAAI,UAAU,KAAK,CAC/B;;AAEH,iCAAsB,MAAM,IAAI,MAAM,CAAC,wBAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"recorded-events.cjs","names":["AbstractAgent","EventType","OpenGenerativeUIMiddleware","A2UIMiddleware"],"sources":["../../../src/runtime/event-transforms/recorded-events.ts"],"sourcesContent":["import { AbstractAgent, EventType } from \"@ag-ui/client\";\nimport type { BaseEvent, RunAgentInput } from \"@ag-ui/client\";\nimport { A2UIMiddleware } from \"@ag-ui/a2ui-middleware\";\nimport type { A2UIMiddlewareConfig } from \"@ag-ui/a2ui-middleware\";\nimport { firstValueFrom, from, toArray } from \"rxjs\";\nimport type { Observable } from \"rxjs\";\nimport { OpenGenerativeUIMiddleware } from \"./open-generative-ui-middleware\";\n\nexport interface RecordedEventTransformOptions {\n /** Use the original runtime configuration, including its catalog when known. */\n a2ui?: A2UIMiddlewareConfig;\n openGenerativeUI?: boolean;\n}\n\n/** An inert event source: it cannot contact an agent or execute tools. */\nclass RecordedEventAgent extends AbstractAgent {\n constructor(\n private readonly input: RunAgentInput,\n private readonly stream: (input: RunAgentInput) => Observable<BaseEvent>,\n ) {\n super({\n threadId: input.threadId,\n initialMessages: input.messages,\n initialState: input.state,\n });\n }\n\n /** Emit recorded events through this layer without contacting an agent. */\n run(input: RunAgentInput): Observable<BaseEvent> {\n return this.stream(input);\n }\n\n /** Retain the current replay history and state in an independent agent. */\n clone(): AbstractAgent {\n return new RecordedEventAgent(\n { ...this.input, messages: this.messages, state: this.state },\n this.stream,\n );\n }\n}\n\n/**\n * Apply CPK's rich-UI middleware to one recorded, pre-middleware run.\n * Supply complete AG-UI run events and the original input/configuration. This\n * does not run an agent, fetch resources, or execute tools. Already transformed\n * histories must not be passed through a second time.\n *\n * Returns events in runtime order, including generated activity events and any\n * synthetic A2UI tool results. Persistence IDs, timestamps, and provenance are\n * the caller's responsibility (A2UI can generate random result message IDs).\n */\nexport async function transformRecordedEvents(\n input: RunAgentInput,\n events: readonly BaseEvent[],\n options: RecordedEventTransformOptions,\n): Promise<BaseEvent[]> {\n // After A2UI answers a render call from this run, it continues the agent in\n // the same run. A recording has no later agent output, so every run after\n // the first only closes the run.\n const lifecycle = events.filter(\n (event) =>\n event.type === EventType.RUN_STARTED ||\n event.type === EventType.RUN_FINISHED,\n );\n let replayed = false;\n let agent: AbstractAgent = new RecordedEventAgent(input, () => {\n const replay = replayed ? lifecycle : events;\n replayed = true;\n return from(replay);\n });\n // Runtime registers A2UI before Open GenUI; the first middleware is outermost.\n if (options.openGenerativeUI) {\n const next = agent;\n const middleware = new OpenGenerativeUIMiddleware();\n agent = new RecordedEventAgent(input, (runInput) =>\n middleware.run(runInput, next),\n );\n }\n if (options.a2ui) {\n const next = agent;\n const middleware = new A2UIMiddleware(options.a2ui);\n agent = new RecordedEventAgent(input, (runInput) =>\n middleware.run(runInput, next),\n );\n }\n return firstValueFrom(agent.run(input).pipe(toArray()));\n}\n"],"mappings":";;;;;;;AAeA,IAAM,qBAAN,MAAM,2BAA2BA,4BAAc;CAC7C,YACE,AAAiB,OACjB,AAAiB,QACjB;AACA,QAAM;GACJ,UAAU,MAAM;GAChB,iBAAiB,MAAM;GACvB,cAAc,MAAM;GACrB,CAAC;EAPe;EACA;;;CAUnB,IAAI,OAA6C;AAC/C,SAAO,KAAK,OAAO,MAAM;;;CAI3B,QAAuB;AACrB,SAAO,IAAI,mBACT;GAAE,GAAG,KAAK;GAAO,UAAU,KAAK;GAAU,OAAO,KAAK;GAAO,EAC7D,KAAK,OACN;;;;;;;;;;;;;AAcL,eAAsB,wBACpB,OACA,QACA,SACsB;CAItB,MAAM,YAAY,OAAO,QACtB,UACC,MAAM,SAASC,wBAAU,eACzB,MAAM,SAASA,wBAAU,aAC5B;CACD,IAAI,WAAW;CACf,IAAI,QAAuB,IAAI,mBAAmB,aAAa;EAC7D,MAAM,SAAS,WAAW,YAAY;AACtC,aAAW;AACX,wBAAY,OAAO;GACnB;AAEF,KAAI,QAAQ,kBAAkB;EAC5B,MAAM,OAAO;EACb,MAAM,aAAa,IAAIC,kEAA4B;AACnD,UAAQ,IAAI,mBAAmB,QAAQ,aACrC,WAAW,IAAI,UAAU,KAAK,CAC/B;;AAEH,KAAI,QAAQ,MAAM;EAChB,MAAM,OAAO;EACb,MAAM,aAAa,IAAIC,sCAAe,QAAQ,KAAK;AACnD,UAAQ,IAAI,mBAAmB,QAAQ,aACrC,WAAW,IAAI,UAAU,KAAK,CAC/B;;AAEH,iCAAsB,MAAM,IAAI,MAAM,CAAC,wBAAc,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { OpenGenerativeUIMiddleware } from "./open-generative-ui-middleware.mjs";
2
2
  import { firstValueFrom, from, toArray } from "rxjs";
3
- import { AbstractAgent } from "@ag-ui/client";
3
+ import { AbstractAgent, EventType } from "@ag-ui/client";
4
4
  import { A2UIMiddleware } from "@ag-ui/a2ui-middleware";
5
5
 
6
6
  //#region src/runtime/event-transforms/recorded-events.ts
@@ -39,7 +39,13 @@ var RecordedEventAgent = class RecordedEventAgent extends AbstractAgent {
39
39
  * the caller's responsibility (A2UI can generate random result message IDs).
40
40
  */
41
41
  async function transformRecordedEvents(input, events, options) {
42
- let agent = new RecordedEventAgent(input, () => from(events));
42
+ const lifecycle = events.filter((event) => event.type === EventType.RUN_STARTED || event.type === EventType.RUN_FINISHED);
43
+ let replayed = false;
44
+ let agent = new RecordedEventAgent(input, () => {
45
+ const replay = replayed ? lifecycle : events;
46
+ replayed = true;
47
+ return from(replay);
48
+ });
43
49
  if (options.openGenerativeUI) {
44
50
  const next = agent;
45
51
  const middleware = new OpenGenerativeUIMiddleware();
@@ -1 +1 @@
1
- {"version":3,"file":"recorded-events.mjs","names":[],"sources":["../../../src/runtime/event-transforms/recorded-events.ts"],"sourcesContent":["import { AbstractAgent } from \"@ag-ui/client\";\nimport type { BaseEvent, RunAgentInput } from \"@ag-ui/client\";\nimport { A2UIMiddleware } from \"@ag-ui/a2ui-middleware\";\nimport type { A2UIMiddlewareConfig } from \"@ag-ui/a2ui-middleware\";\nimport { firstValueFrom, from, toArray } from \"rxjs\";\nimport type { Observable } from \"rxjs\";\nimport { OpenGenerativeUIMiddleware } from \"./open-generative-ui-middleware\";\n\nexport interface RecordedEventTransformOptions {\n /** Use the original runtime configuration, including its catalog when known. */\n a2ui?: A2UIMiddlewareConfig;\n openGenerativeUI?: boolean;\n}\n\n/** An inert event source: it cannot contact an agent or execute tools. */\nclass RecordedEventAgent extends AbstractAgent {\n constructor(\n private readonly input: RunAgentInput,\n private readonly stream: (input: RunAgentInput) => Observable<BaseEvent>,\n ) {\n super({\n threadId: input.threadId,\n initialMessages: input.messages,\n initialState: input.state,\n });\n }\n\n /** Emit recorded events through this layer without contacting an agent. */\n run(input: RunAgentInput): Observable<BaseEvent> {\n return this.stream(input);\n }\n\n /** Retain the current replay history and state in an independent agent. */\n clone(): AbstractAgent {\n return new RecordedEventAgent(\n { ...this.input, messages: this.messages, state: this.state },\n this.stream,\n );\n }\n}\n\n/**\n * Apply CPK's rich-UI middleware to one recorded, pre-middleware run.\n * Supply complete AG-UI run events and the original input/configuration. This\n * does not run an agent, fetch resources, or execute tools. Already transformed\n * histories must not be passed through a second time.\n *\n * Returns events in runtime order, including generated activity events and any\n * synthetic A2UI tool results. Persistence IDs, timestamps, and provenance are\n * the caller's responsibility (A2UI can generate random result message IDs).\n */\nexport async function transformRecordedEvents(\n input: RunAgentInput,\n events: readonly BaseEvent[],\n options: RecordedEventTransformOptions,\n): Promise<BaseEvent[]> {\n let agent: AbstractAgent = new RecordedEventAgent(input, () => from(events));\n // Runtime registers A2UI before Open GenUI; the first middleware is outermost.\n if (options.openGenerativeUI) {\n const next = agent;\n const middleware = new OpenGenerativeUIMiddleware();\n agent = new RecordedEventAgent(input, (runInput) =>\n middleware.run(runInput, next),\n );\n }\n if (options.a2ui) {\n const next = agent;\n const middleware = new A2UIMiddleware(options.a2ui);\n agent = new RecordedEventAgent(input, (runInput) =>\n middleware.run(runInput, next),\n );\n }\n return firstValueFrom(agent.run(input).pipe(toArray()));\n}\n"],"mappings":";;;;;;;AAeA,IAAM,qBAAN,MAAM,2BAA2B,cAAc;CAC7C,YACE,AAAiB,OACjB,AAAiB,QACjB;AACA,QAAM;GACJ,UAAU,MAAM;GAChB,iBAAiB,MAAM;GACvB,cAAc,MAAM;GACrB,CAAC;EAPe;EACA;;;CAUnB,IAAI,OAA6C;AAC/C,SAAO,KAAK,OAAO,MAAM;;;CAI3B,QAAuB;AACrB,SAAO,IAAI,mBACT;GAAE,GAAG,KAAK;GAAO,UAAU,KAAK;GAAU,OAAO,KAAK;GAAO,EAC7D,KAAK,OACN;;;;;;;;;;;;;AAcL,eAAsB,wBACpB,OACA,QACA,SACsB;CACtB,IAAI,QAAuB,IAAI,mBAAmB,aAAa,KAAK,OAAO,CAAC;AAE5E,KAAI,QAAQ,kBAAkB;EAC5B,MAAM,OAAO;EACb,MAAM,aAAa,IAAI,4BAA4B;AACnD,UAAQ,IAAI,mBAAmB,QAAQ,aACrC,WAAW,IAAI,UAAU,KAAK,CAC/B;;AAEH,KAAI,QAAQ,MAAM;EAChB,MAAM,OAAO;EACb,MAAM,aAAa,IAAI,eAAe,QAAQ,KAAK;AACnD,UAAQ,IAAI,mBAAmB,QAAQ,aACrC,WAAW,IAAI,UAAU,KAAK,CAC/B;;AAEH,QAAO,eAAe,MAAM,IAAI,MAAM,CAAC,KAAK,SAAS,CAAC,CAAC"}
1
+ {"version":3,"file":"recorded-events.mjs","names":[],"sources":["../../../src/runtime/event-transforms/recorded-events.ts"],"sourcesContent":["import { AbstractAgent, EventType } from \"@ag-ui/client\";\nimport type { BaseEvent, RunAgentInput } from \"@ag-ui/client\";\nimport { A2UIMiddleware } from \"@ag-ui/a2ui-middleware\";\nimport type { A2UIMiddlewareConfig } from \"@ag-ui/a2ui-middleware\";\nimport { firstValueFrom, from, toArray } from \"rxjs\";\nimport type { Observable } from \"rxjs\";\nimport { OpenGenerativeUIMiddleware } from \"./open-generative-ui-middleware\";\n\nexport interface RecordedEventTransformOptions {\n /** Use the original runtime configuration, including its catalog when known. */\n a2ui?: A2UIMiddlewareConfig;\n openGenerativeUI?: boolean;\n}\n\n/** An inert event source: it cannot contact an agent or execute tools. */\nclass RecordedEventAgent extends AbstractAgent {\n constructor(\n private readonly input: RunAgentInput,\n private readonly stream: (input: RunAgentInput) => Observable<BaseEvent>,\n ) {\n super({\n threadId: input.threadId,\n initialMessages: input.messages,\n initialState: input.state,\n });\n }\n\n /** Emit recorded events through this layer without contacting an agent. */\n run(input: RunAgentInput): Observable<BaseEvent> {\n return this.stream(input);\n }\n\n /** Retain the current replay history and state in an independent agent. */\n clone(): AbstractAgent {\n return new RecordedEventAgent(\n { ...this.input, messages: this.messages, state: this.state },\n this.stream,\n );\n }\n}\n\n/**\n * Apply CPK's rich-UI middleware to one recorded, pre-middleware run.\n * Supply complete AG-UI run events and the original input/configuration. This\n * does not run an agent, fetch resources, or execute tools. Already transformed\n * histories must not be passed through a second time.\n *\n * Returns events in runtime order, including generated activity events and any\n * synthetic A2UI tool results. Persistence IDs, timestamps, and provenance are\n * the caller's responsibility (A2UI can generate random result message IDs).\n */\nexport async function transformRecordedEvents(\n input: RunAgentInput,\n events: readonly BaseEvent[],\n options: RecordedEventTransformOptions,\n): Promise<BaseEvent[]> {\n // After A2UI answers a render call from this run, it continues the agent in\n // the same run. A recording has no later agent output, so every run after\n // the first only closes the run.\n const lifecycle = events.filter(\n (event) =>\n event.type === EventType.RUN_STARTED ||\n event.type === EventType.RUN_FINISHED,\n );\n let replayed = false;\n let agent: AbstractAgent = new RecordedEventAgent(input, () => {\n const replay = replayed ? lifecycle : events;\n replayed = true;\n return from(replay);\n });\n // Runtime registers A2UI before Open GenUI; the first middleware is outermost.\n if (options.openGenerativeUI) {\n const next = agent;\n const middleware = new OpenGenerativeUIMiddleware();\n agent = new RecordedEventAgent(input, (runInput) =>\n middleware.run(runInput, next),\n );\n }\n if (options.a2ui) {\n const next = agent;\n const middleware = new A2UIMiddleware(options.a2ui);\n agent = new RecordedEventAgent(input, (runInput) =>\n middleware.run(runInput, next),\n );\n }\n return firstValueFrom(agent.run(input).pipe(toArray()));\n}\n"],"mappings":";;;;;;;AAeA,IAAM,qBAAN,MAAM,2BAA2B,cAAc;CAC7C,YACE,AAAiB,OACjB,AAAiB,QACjB;AACA,QAAM;GACJ,UAAU,MAAM;GAChB,iBAAiB,MAAM;GACvB,cAAc,MAAM;GACrB,CAAC;EAPe;EACA;;;CAUnB,IAAI,OAA6C;AAC/C,SAAO,KAAK,OAAO,MAAM;;;CAI3B,QAAuB;AACrB,SAAO,IAAI,mBACT;GAAE,GAAG,KAAK;GAAO,UAAU,KAAK;GAAU,OAAO,KAAK;GAAO,EAC7D,KAAK,OACN;;;;;;;;;;;;;AAcL,eAAsB,wBACpB,OACA,QACA,SACsB;CAItB,MAAM,YAAY,OAAO,QACtB,UACC,MAAM,SAAS,UAAU,eACzB,MAAM,SAAS,UAAU,aAC5B;CACD,IAAI,WAAW;CACf,IAAI,QAAuB,IAAI,mBAAmB,aAAa;EAC7D,MAAM,SAAS,WAAW,YAAY;AACtC,aAAW;AACX,SAAO,KAAK,OAAO;GACnB;AAEF,KAAI,QAAQ,kBAAkB;EAC5B,MAAM,OAAO;EACb,MAAM,aAAa,IAAI,4BAA4B;AACnD,UAAQ,IAAI,mBAAmB,QAAQ,aACrC,WAAW,IAAI,UAAU,KAAK,CAC/B;;AAEH,KAAI,QAAQ,MAAM;EAChB,MAAM,OAAO;EACb,MAAM,aAAa,IAAI,eAAe,QAAQ,KAAK;AACnD,UAAQ,IAAI,mBAAmB,QAAQ,aACrC,WAAW,IAAI,UAAU,KAAK,CAC/B;;AAEH,QAAO,eAAe,MAAM,IAAI,MAAM,CAAC,KAAK,SAAS,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copilotkit/runtime",
3
- "version": "2.0.0-rc.41",
3
+ "version": "2.0.0-rc.42",
4
4
  "private": false,
5
5
  "keywords": [
6
6
  "ai",
@@ -76,15 +76,15 @@
76
76
  "access": "public"
77
77
  },
78
78
  "dependencies": {
79
- "@ag-ui/a2ui-middleware": "0.0.10",
79
+ "@ag-ui/a2ui-middleware": "0.0.15",
80
80
  "@ag-ui/client": "1.0.4",
81
81
  "@ag-ui/core": "1.0.4",
82
82
  "@ag-ui/encoder": "1.0.4",
83
- "@ag-ui/mcp-apps-middleware": "^0.1.1",
83
+ "@ag-ui/mcp-apps-middleware": "0.1.1",
84
84
  "@ag-ui/mcp-middleware": "0.0.2",
85
85
  "@cfworker/json-schema": "^4.1.1",
86
86
  "@copilotkit/license-verifier": "~0.5.0",
87
- "@copilotkit/shared": "2.0.0-rc.41",
87
+ "@copilotkit/shared": "2.0.0-rc.42",
88
88
  "@modelcontextprotocol/sdk": "^1.29.0",
89
89
  "@remix-run/node-fetch-server": "^0.13.0",
90
90
  "@tanstack/ai": "^1.2.0",
@@ -92,8 +92,8 @@
92
92
  "phoenix": "^1.8.4",
93
93
  "rxjs": "7.8.1",
94
94
  "zod": "^4.2.0",
95
- "@copilotkit/channels-core": "^0.12.0",
96
- "@copilotkit/channels-intelligence": "^0.12.0"
95
+ "@copilotkit/channels-intelligence": "^0.12.0",
96
+ "@copilotkit/channels-core": "^0.12.0"
97
97
  },
98
98
  "devDependencies": {
99
99
  "@copilotkit/aimock": "latest",