From 5bb32b9dd5e2236df5933226391d627bf820b09d Mon Sep 17 00:00:00 2001 From: Ran Shem Tov Date: Tue, 9 Jun 2026 12:13:51 +0200 Subject: [PATCH 1/5] feat(a2ui): use new ag-ui single-arg A2UIToolParams API (OSS-248) ag-ui-langgraph's tool factory now takes one A2UIToolParams object (model inside) and folds composition_guide into the guidelines bag. - sdk-js middleware: getA2UITools(params) + type A2UIToolParams import; pin @ag-ui/langgraph 0.0.40 (the JS release carrying the new API). - sdk-python middleware: get_a2ui_tools(params) + guarded A2UIToolParams import; pin ag-ui-langgraph >=0.0.41 (the py release with the new API). - Update the a2ui injection test skip-reason wording. --- packages/sdk-js/package.json | 2 +- packages/sdk-js/src/langgraph/middleware.ts | 13 ++++++++----- sdk-python/copilotkit/copilotkit_lg_middleware.py | 14 +++++++++----- sdk-python/pyproject.toml | 2 +- sdk-python/tests/test_copilotkit_lg_middleware.py | 5 ++++- 5 files changed, 23 insertions(+), 13 deletions(-) diff --git a/packages/sdk-js/package.json b/packages/sdk-js/package.json index ccaec370578..2bbea155d2c 100644 --- a/packages/sdk-js/package.json +++ b/packages/sdk-js/package.json @@ -59,7 +59,7 @@ "attw": "attw --pack . --profile node16" }, "dependencies": { - "@ag-ui/langgraph": "0.0.39", + "@ag-ui/langgraph": "0.0.40", "@copilotkit/shared": "workspace:*" }, "devDependencies": { diff --git a/packages/sdk-js/src/langgraph/middleware.ts b/packages/sdk-js/src/langgraph/middleware.ts index a7d95c47c27..2d87c4bcc24 100644 --- a/packages/sdk-js/src/langgraph/middleware.ts +++ b/packages/sdk-js/src/langgraph/middleware.ts @@ -5,7 +5,7 @@ import type { StandardSchemaV1, } from "@standard-schema/spec"; import * as z from "zod"; -import { getA2UITools } from "@ag-ui/langgraph"; +import { getA2UITools, type A2UIToolParams } from "@ag-ui/langgraph"; import { getForwardedHeaders } from "../header-propagation"; // --------------------------------------------------------------------------- @@ -394,11 +394,14 @@ const buildMiddlewareInput = (exposeState: ExposeStateOption) => ({ const decision = a2uiInjectDecision(request.state); if (typeof getA2UITools === "function" && decision) { const catalog = resolveA2uiCatalog(request.state); - const opts: { defaultCatalogId?: string; compositionGuide?: string } = {}; - if (catalog?.catalogId) opts.defaultCatalogId = catalog.catalogId; + // Shared A2UIToolParams: a single params object owned by the toolkit. + // `model` lives inside it; `compositionGuide` is folded into the + // `guidelines` bag alongside generation/design overrides. + const params: A2UIToolParams = { model: request.model }; + if (catalog?.catalogId) params.defaultCatalogId = catalog.catalogId; if (catalog?.compositionGuide) - opts.compositionGuide = catalog.compositionGuide; - const candidate = getA2UITools(request.model, opts); + params.guidelines = { compositionGuide: catalog.compositionGuide }; + const candidate = getA2UITools(params); const existingNames = new Set( (request.tools || []).map((t: any) => t?.name), ); diff --git a/sdk-python/copilotkit/copilotkit_lg_middleware.py b/sdk-python/copilotkit/copilotkit_lg_middleware.py index 3a021cf154d..2e49a42e4d8 100644 --- a/sdk-python/copilotkit/copilotkit_lg_middleware.py +++ b/sdk-python/copilotkit/copilotkit_lg_middleware.py @@ -34,9 +34,10 @@ # Guarded so an older/skewed version without the factory degrades to # "no auto-A2UI" instead of breaking the whole middleware import. try: # pragma: no cover - exercised indirectly via the a2ui injection path - from ag_ui_langgraph import get_a2ui_tools + from ag_ui_langgraph import get_a2ui_tools, A2UIToolParams except Exception: # noqa: BLE001 - any import failure means the feature is off get_a2ui_tools = None + A2UIToolParams = None # Track which httpx clients already have the header-propagation hook installed # (by object id) so we never double-install on repeated model calls. @@ -420,15 +421,18 @@ def _maybe_build_a2ui_tool(self, request: ModelRequest) -> Any | None: resolved = self._resolve_a2ui_catalog(state) component_schema, catalog_id = resolved if resolved else (None, None) - kwargs: dict[str, Any] = {} + # Shared A2UIToolParams: a single params object owned by the toolkit. + # ``model`` lives inside it; ``composition_guide`` is folded into the + # ``guidelines`` bag alongside generation/design overrides. + params: "A2UIToolParams" = {"model": request.model} if catalog_id: - kwargs["default_catalog_id"] = catalog_id + params["default_catalog_id"] = catalog_id # Feed the registered component schema to the subagent so it composes # only catalog components (the toolkit appends this to its prompt). if component_schema: - kwargs["composition_guide"] = component_schema + params["guidelines"] = {"composition_guide": component_schema} - tool = get_a2ui_tools(request.model, **kwargs) + tool = get_a2ui_tools(params) # (2) Don't double-inject if the agent already defines this tool. existing_names = {getattr(t, "name", None) for t in (request.tools or [])} diff --git a/sdk-python/pyproject.toml b/sdk-python/pyproject.toml index c525c79da8f..d0b5b7b5868 100644 --- a/sdk-python/pyproject.toml +++ b/sdk-python/pyproject.toml @@ -31,7 +31,7 @@ python = ">=3.10,<3.15" langgraph = { version = ">=0.3.25,<2" } langchain = { version = ">=0.3.0" } crewai = { version = ">=0.118.0", optional = true, python = ">=3.10,<3.14" } -ag-ui-langgraph = { version = ">=0.0.40", extras = ["fastapi"] } +ag-ui-langgraph = { version = ">=0.0.41", extras = ["fastapi"] } ag-ui-protocol = ">=0.1.15" fastapi = ">=0.115.0,<1.0.0" partialjson = "^0.0.8" diff --git a/sdk-python/tests/test_copilotkit_lg_middleware.py b/sdk-python/tests/test_copilotkit_lg_middleware.py index c00a3c54f89..647e735f1fa 100644 --- a/sdk-python/tests/test_copilotkit_lg_middleware.py +++ b/sdk-python/tests/test_copilotkit_lg_middleware.py @@ -1092,7 +1092,10 @@ def test_none_configurable_falls_back_to_context(self, monkeypatch): _a2ui_unavailable = pytest.mark.skipif( get_a2ui_tools is None, - reason="ag-ui-langgraph without get_a2ui_tools (needs >=0.0.37)", + reason=( + "ag-ui-langgraph without get_a2ui_tools; the single-arg " + "A2UIToolParams API needs the OSS-248 release (>=0.0.41)" + ), ) From cf7bcd67e598a80c6f85c606446309a8669377c6 Mon Sep 17 00:00:00 2001 From: Ran Shem Tov Date: Tue, 9 Jun 2026 12:14:12 +0200 Subject: [PATCH 2/5] chore(deps): use latest @ag-ui packages and langgraph integration - @ag-ui/core, @ag-ui/client: 0.0.53 -> 0.0.56 across all packages (react-core, core, react-native, vue, runtime, angular, shared, web-inspector, agentcore-runner, demo-agents, sqlite-runner) + root pnpm override; shared's @ag-ui/core range floor -> >=0.0.56. - @ag-ui/langgraph (runtime): 0.0.39 -> 0.0.40. - ag-ui-protocol (sdk-python): >=0.1.15 -> >=0.1.19. - .npmrc: exclude first-party @ag-ui/{core,client,encoder,proto} from the minimum-release-age gate so the freshly-published 0.0.56 set installs. - Regenerate pnpm-lock.yaml + sdk-python/poetry.lock. --- .npmrc | 6 + package.json | 2 +- packages/agentcore-runner/package.json | 2 +- packages/angular/package.json | 4 +- packages/core/package.json | 2 +- packages/demo-agents/package.json | 2 +- packages/react-core/package.json | 4 +- packages/react-native/package.json | 2 +- packages/runtime/package.json | 6 +- packages/shared/package.json | 4 +- packages/sqlite-runner/package.json | 2 +- packages/vue/package.json | 4 +- packages/web-inspector/package.json | 2 +- pnpm-lock.yaml | 159 ++++++++++++++----------- sdk-python/poetry.lock | 22 ++-- sdk-python/pyproject.toml | 2 +- 16 files changed, 124 insertions(+), 101 deletions(-) diff --git a/.npmrc b/.npmrc index fae840d4007..4ebc8577ccb 100644 --- a/.npmrc +++ b/.npmrc @@ -1,4 +1,10 @@ minimum-release-age=1440 +# First-party AG-UI packages release together; exclude them from the age gate +# so freshly-published versions (and their transitive @ag-ui deps) install. +minimum-release-age-exclude[]=@ag-ui/core +minimum-release-age-exclude[]=@ag-ui/client +minimum-release-age-exclude[]=@ag-ui/encoder +minimum-release-age-exclude[]=@ag-ui/proto minimum-release-age-exclude[]=@ag-ui/langgraph minimum-release-age-exclude[]=@ag-ui/a2ui-middleware minimum-release-age-exclude[]=@ag-ui/a2ui-toolkit diff --git a/package.json b/package.json index 52ee604bb7b..7ef4a564f49 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ } }, "overrides": { - "@ag-ui/mcp-middleware>@ag-ui/client": "0.0.53", + "@ag-ui/mcp-middleware>@ag-ui/client": "0.0.56", "streamdown>react": "^19.0.0", "@types/react": "19.1.8", "@types/react-dom": "^19.0.2", diff --git a/packages/agentcore-runner/package.json b/packages/agentcore-runner/package.json index 7bf82c5211c..238c472075c 100644 --- a/packages/agentcore-runner/package.json +++ b/packages/agentcore-runner/package.json @@ -31,7 +31,7 @@ "attw": "attw --pack . --profile node16" }, "dependencies": { - "@ag-ui/client": "0.0.53", + "@ag-ui/client": "0.0.56", "@copilotkit/runtime": "workspace:*", "rxjs": "7.8.1" }, diff --git a/packages/angular/package.json b/packages/angular/package.json index 0d44dae11c8..449ee911689 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -33,8 +33,8 @@ "attw": "attw --pack . --profile node16" }, "dependencies": { - "@ag-ui/client": "0.0.53", - "@ag-ui/core": "0.0.53", + "@ag-ui/client": "0.0.56", + "@ag-ui/core": "0.0.56", "@copilotkit/core": "workspace:*", "@copilotkit/shared": "workspace:*", "clsx": "^2.1.1", diff --git a/packages/core/package.json b/packages/core/package.json index 1d95c95839a..3e565ff03eb 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -35,7 +35,7 @@ "attw": "attw --pack . --profile node16" }, "dependencies": { - "@ag-ui/client": "0.0.53", + "@ag-ui/client": "0.0.56", "@copilotkit/shared": "workspace:*", "@tanstack/pacer": "^0.20.1", "phoenix": "^1.8.4", diff --git a/packages/demo-agents/package.json b/packages/demo-agents/package.json index 01bd815bdd8..ac943eee28e 100644 --- a/packages/demo-agents/package.json +++ b/packages/demo-agents/package.json @@ -24,7 +24,7 @@ "test:watch": "vitest" }, "dependencies": { - "@ag-ui/client": "0.0.53", + "@ag-ui/client": "0.0.56", "openai": "^4.85.1", "rxjs": "^7.8.1" }, diff --git a/packages/react-core/package.json b/packages/react-core/package.json index fb928e37578..2e43db26e4e 100644 --- a/packages/react-core/package.json +++ b/packages/react-core/package.json @@ -74,8 +74,8 @@ "attw": "attw --pack . --profile node16 --ignore-rules internal-resolution-error" }, "dependencies": { - "@ag-ui/client": "0.0.53", - "@ag-ui/core": "0.0.53", + "@ag-ui/client": "0.0.56", + "@ag-ui/core": "0.0.56", "@copilotkit/a2ui-renderer": "workspace:*", "@copilotkit/core": "workspace:*", "@copilotkit/runtime-client-gql": "workspace:*", diff --git a/packages/react-native/package.json b/packages/react-native/package.json index af7a7ae2566..872e86a3c64 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -74,7 +74,7 @@ "unlink:global": "pnpm unlink --global" }, "dependencies": { - "@ag-ui/client": "0.0.53", + "@ag-ui/client": "0.0.56", "@copilotkit/core": "workspace:*", "@copilotkit/react-core": "workspace:*", "@copilotkit/shared": "workspace:*", diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 1b9a918f454..21f0a495159 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -78,10 +78,10 @@ }, "dependencies": { "@ag-ui/a2ui-middleware": "0.0.8", - "@ag-ui/client": "0.0.53", - "@ag-ui/core": "0.0.53", + "@ag-ui/client": "0.0.56", + "@ag-ui/core": "0.0.56", "@ag-ui/encoder": "0.0.53", - "@ag-ui/langgraph": "0.0.39", + "@ag-ui/langgraph": "0.0.40", "@ag-ui/mcp-apps-middleware": "0.0.3", "@ag-ui/mcp-middleware": "0.0.1", "@ai-sdk/anthropic": "^3.0.49", diff --git a/packages/shared/package.json b/packages/shared/package.json index 6667619afe0..3f4203e776f 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -50,7 +50,7 @@ "attw": "attw --pack . --profile node16" }, "dependencies": { - "@ag-ui/client": "0.0.53", + "@ag-ui/client": "0.0.56", "@copilotkit/license-verifier": "~0.4.2", "@segment/analytics-node": "^2.1.2", "@standard-schema/spec": "^1.0.0", @@ -73,6 +73,6 @@ "vitest": "^3.2.4" }, "peerDependencies": { - "@ag-ui/core": ">=0.0.48" + "@ag-ui/core": ">=0.0.56" } } diff --git a/packages/sqlite-runner/package.json b/packages/sqlite-runner/package.json index 4ff6f609f40..0fe696a9ad0 100644 --- a/packages/sqlite-runner/package.json +++ b/packages/sqlite-runner/package.json @@ -31,7 +31,7 @@ "attw": "attw --pack . --profile node16" }, "dependencies": { - "@ag-ui/client": "0.0.53", + "@ag-ui/client": "0.0.56", "@copilotkit/runtime": "workspace:*", "rxjs": "7.8.1" }, diff --git a/packages/vue/package.json b/packages/vue/package.json index 4b68c1a1fdd..23cc4b092e3 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -78,8 +78,8 @@ }, "dependencies": { "@a2ui/web_core": "0.9.0", - "@ag-ui/client": "0.0.53", - "@ag-ui/core": "0.0.53", + "@ag-ui/client": "0.0.56", + "@ag-ui/core": "0.0.56", "@copilotkit/core": "workspace:*", "@copilotkit/shared": "workspace:*", "@copilotkit/web-inspector": "workspace:*", diff --git a/packages/web-inspector/package.json b/packages/web-inspector/package.json index 2b8de73ee0b..acb142693e0 100644 --- a/packages/web-inspector/package.json +++ b/packages/web-inspector/package.json @@ -34,7 +34,7 @@ "attw": "attw --pack . --profile node16" }, "dependencies": { - "@ag-ui/client": "0.0.53", + "@ag-ui/client": "0.0.56", "@copilotkit/core": "workspace:*", "lit": "^3.2.0", "lucide": "^0.525.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 418358a626c..47f42b93e9f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,7 +5,7 @@ settings: excludeLinksFromLockfile: false overrides: - '@ag-ui/mcp-middleware>@ag-ui/client': 0.0.53 + '@ag-ui/mcp-middleware>@ag-ui/client': 0.0.56 streamdown>react: ^19.0.0 '@types/react': 19.1.8 '@types/react-dom': ^19.0.2 @@ -312,7 +312,7 @@ importers: version: 0.8.3(signal-polyfill@0.2.2) '@ag-ui/a2a': specifier: ^0.0.6 - version: 0.0.6(@ag-ui/client@0.0.42)(@ag-ui/core@0.0.54) + version: 0.0.6(@ag-ui/client@0.0.42)(@ag-ui/core@0.0.56) '@ag-ui/a2a-middleware': specifier: ^0.0.2 version: 0.0.2(rxjs@7.8.1) @@ -1874,7 +1874,7 @@ importers: version: 0.0.52 '@ag-ui/mcp-apps-middleware': specifier: 0.0.2 - version: 0.0.2(@ag-ui/client@0.0.53)(@cfworker/json-schema@4.1.1)(rxjs@7.8.1)(zod@3.25.76) + version: 0.0.2(@ag-ui/client@0.0.56)(@cfworker/json-schema@4.1.1)(rxjs@7.8.1)(zod@3.25.76) '@copilotkit/core': specifier: workspace:* version: link:../../../../packages/core @@ -2032,8 +2032,8 @@ importers: packages/agentcore-runner: dependencies: '@ag-ui/client': - specifier: 0.0.53 - version: 0.0.53 + specifier: 0.0.56 + version: 0.0.56 '@copilotkit/runtime': specifier: workspace:* version: link:../runtime @@ -2060,11 +2060,11 @@ importers: packages/angular: dependencies: '@ag-ui/client': - specifier: 0.0.53 - version: 0.0.53 + specifier: 0.0.56 + version: 0.0.56 '@ag-ui/core': - specifier: 0.0.53 - version: 0.0.53 + specifier: 0.0.56 + version: 0.0.56 '@copilotkit/core': specifier: workspace:* version: link:../core @@ -2193,8 +2193,8 @@ importers: packages/core: dependencies: '@ag-ui/client': - specifier: 0.0.53 - version: 0.0.53 + specifier: 0.0.56 + version: 0.0.56 '@copilotkit/shared': specifier: workspace:* version: link:../shared @@ -2245,8 +2245,8 @@ importers: packages/demo-agents: dependencies: '@ag-ui/client': - specifier: 0.0.53 - version: 0.0.53 + specifier: 0.0.56 + version: 0.0.56 openai: specifier: ^4.85.1 version: 4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76) @@ -2273,11 +2273,11 @@ importers: packages/react-core: dependencies: '@ag-ui/client': - specifier: 0.0.53 - version: 0.0.53 + specifier: 0.0.56 + version: 0.0.56 '@ag-ui/core': - specifier: 0.0.53 - version: 0.0.53 + specifier: 0.0.56 + version: 0.0.56 '@copilotkit/a2ui-renderer': specifier: workspace:* version: link:../a2ui-renderer @@ -2439,8 +2439,8 @@ importers: packages/react-native: dependencies: '@ag-ui/client': - specifier: 0.0.53 - version: 0.0.53 + specifier: 0.0.56 + version: 0.0.56 '@copilotkit/core': specifier: workspace:* version: link:../core @@ -2689,22 +2689,22 @@ importers: dependencies: '@ag-ui/a2ui-middleware': specifier: 0.0.8 - version: 0.0.8(@ag-ui/client@0.0.53)(rxjs@7.8.1) + version: 0.0.8(@ag-ui/client@0.0.56)(rxjs@7.8.1) '@ag-ui/client': - specifier: 0.0.53 - version: 0.0.53 + specifier: 0.0.56 + version: 0.0.56 '@ag-ui/core': - specifier: 0.0.53 - version: 0.0.53 + specifier: 0.0.56 + version: 0.0.56 '@ag-ui/encoder': specifier: 0.0.53 version: 0.0.53 '@ag-ui/langgraph': - specifier: 0.0.39 - version: 0.0.39(@ag-ui/client@0.0.53)(@ag-ui/core@0.0.53)(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76)) + specifier: 0.0.40 + version: 0.0.40(@ag-ui/client@0.0.56)(@ag-ui/core@0.0.56)(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76)) '@ag-ui/mcp-apps-middleware': specifier: 0.0.3 - version: 0.0.3(@ag-ui/client@0.0.53)(@cfworker/json-schema@4.1.1)(zod@3.25.76) + version: 0.0.3(@ag-ui/client@0.0.56)(@cfworker/json-schema@4.1.1)(zod@3.25.76) '@ag-ui/mcp-middleware': specifier: 0.0.1 version: 0.0.1(@cfworker/json-schema@4.1.1)(rxjs@7.8.1)(zod@3.25.76) @@ -2975,8 +2975,8 @@ importers: packages/sdk-js: dependencies: '@ag-ui/langgraph': - specifier: 0.0.39 - version: 0.0.39(@ag-ui/client@0.0.53)(@ag-ui/core@0.0.54)(@opentelemetry/api@1.9.0)(openai@6.35.0(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76)) + specifier: 0.0.40 + version: 0.0.40(@ag-ui/client@0.0.56)(@ag-ui/core@0.0.56)(@opentelemetry/api@1.9.0)(openai@6.35.0(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76)) '@copilotkit/shared': specifier: workspace:* version: link:../shared @@ -3030,11 +3030,11 @@ importers: packages/shared: dependencies: '@ag-ui/client': - specifier: 0.0.53 - version: 0.0.53 + specifier: 0.0.56 + version: 0.0.56 '@ag-ui/core': - specifier: '>=0.0.48' - version: 0.0.51 + specifier: '>=0.0.56' + version: 0.0.56 '@copilotkit/license-verifier': specifier: ~0.4.2 version: 0.4.2 @@ -3094,8 +3094,8 @@ importers: packages/sqlite-runner: dependencies: '@ag-ui/client': - specifier: 0.0.53 - version: 0.0.53 + specifier: 0.0.56 + version: 0.0.56 '@copilotkit/runtime': specifier: workspace:* version: link:../runtime @@ -3166,11 +3166,11 @@ importers: specifier: 0.9.0 version: 0.9.0 '@ag-ui/client': - specifier: 0.0.53 - version: 0.0.53 + specifier: 0.0.56 + version: 0.0.56 '@ag-ui/core': - specifier: 0.0.53 - version: 0.0.53 + specifier: 0.0.56 + version: 0.0.56 '@copilotkit/core': specifier: workspace:* version: link:../core @@ -3290,8 +3290,8 @@ importers: packages/web-inspector: dependencies: '@ag-ui/client': - specifier: 0.0.53 - version: 0.0.53 + specifier: 0.0.56 + version: 0.0.56 '@copilotkit/core': specifier: workspace:* version: link:../core @@ -3514,8 +3514,8 @@ packages: '@ag-ui/client@0.0.51': resolution: {integrity: sha512-i95TVJWOIqOOBPDKkg10Db00lkmyPfQ/Bqi0SBVxnJu7qHSXHojvEB3JDUDybVlWhOHEzhMn75EZaDZwYjHaJA==} - '@ag-ui/client@0.0.53': - resolution: {integrity: sha512-Mkup36KUp0KXy9v89QtAOWDUoh8H1s1Vgl4zvQv9HqXuAK1TkbtpXJHpbgZJXIxTqd54KT6yCurmC2UkOP7FDQ==} + '@ag-ui/client@0.0.56': + resolution: {integrity: sha512-dxen4qVnDQB1xC9x1nND9W/plidoy0qwDarUPuasHCrtlkMl1EUlc+rNJM7Lr1NtnRmGHHX8gHrSeUXP3vPVHA==} '@ag-ui/core@0.0.36': resolution: {integrity: sha512-uYUrzw6uxuw4qVQ61mdSeiG0mFh2n/VAWmWsWzwETDuhqJZT7rFmd07IajcFWcyItMr1wjqxFDdlklucAyEYNA==} @@ -3535,8 +3535,8 @@ packages: '@ag-ui/core@0.0.53': resolution: {integrity: sha512-11UocR7fFdMWw503bWCX2IOK15vbWfxT11Mn9xOiPBVO/UVcn57ywGrlLL4UaBlPgmUTvuzr2yYR2ElSqiN2wQ==} - '@ag-ui/core@0.0.54': - resolution: {integrity: sha512-Ilx31OvRQaZfU7jSArGqz06JZKOsAt8zWiCPJljyp9zR6Tzl18oyfx8o6FsuGfAktGRe50GI9SCCxNXXysZwtA==} + '@ag-ui/core@0.0.56': + resolution: {integrity: sha512-PD26s7qk8dG6/TOGmOv23ByTaGwJs2Wzm53OwsM40jSjio3xmswGZzDaFpjMNP6FsASNGovCPB8xICAyWhYx8A==} '@ag-ui/encoder@0.0.36': resolution: {integrity: sha512-p8UNh6a77G/oe/4EZmwkTeYCN/5SnqSY2Cz8f8psZpk4LKzzrPkRNykrUAIBsi1wMp50/VQiM27oTRaade/Qkw==} @@ -3550,11 +3550,14 @@ packages: '@ag-ui/encoder@0.0.53': resolution: {integrity: sha512-bAOcfVdm6U4H6G6tW+DZfwPEQm1w/snVBTwaFn9nJcEMW69M7/HZuwvEc/7Zo0rK1jRL32N/j60PwTAeky19fw==} + '@ag-ui/encoder@0.0.56': + resolution: {integrity: sha512-JkR7OGby8hBUOOlrvli0bArM5qvfCoavj3ajUp8324n20wYMrfN+/TR3GUm7wW1japrV+2dS7JEVX5dylrPF1A==} + '@ag-ui/langgraph@0.0.11': resolution: {integrity: sha512-3xUkaOelnpQ5tbsbuoOTin71tTgWEN0GDZBjGs/7xAwly2Dn4fahbBAoscXullO/pH9kTGGgbuJ0rWDUgo6fKQ==} - '@ag-ui/langgraph@0.0.39': - resolution: {integrity: sha512-+pFw49I9liEt8omTFFiie2YdtRFodjnWQTgN0Vxgo2XdC68xtyUy6I68D0QlZJE2Yy29oEx377vvkrNkL2AplA==} + '@ag-ui/langgraph@0.0.40': + resolution: {integrity: sha512-1zyrtLR8q1gIn0TO17D3EQXv7uFM2/q2ieGIkqcpy2jdAFRgPoLeI43VkQOzj3XA/1AbAI4HtOGLNhvxJzNqdA==} peerDependencies: '@ag-ui/client': '>=0.0.42' '@ag-ui/core': '>=0.0.42' @@ -3593,6 +3596,9 @@ packages: '@ag-ui/proto@0.0.53': resolution: {integrity: sha512-swjz22xWT8YUZt5OhmUwkARDQdwt8XM1hmGZbQrhRnNPXKwrKJX9ELlbnQ4iFUQIKkMWpphzE3vA3yNKs2bbKw==} + '@ag-ui/proto@0.0.56': + resolution: {integrity: sha512-D72l/Xa3vHRBJtlxa+gG3VcycrEwDCHwCTh8BGkyrnRdraYPFl92eeWSV0tnF9+i7xLyNqCdww+NgCoPlrdhZQ==} + '@ai-sdk/anthropic@2.0.71': resolution: {integrity: sha512-JXTtAwlyxGzzRtpiAXk/O93aOTgdfoVX28EoUuRNVqZRgtkoniLQTtqeb8uZ4oXljNJlXzaJLNasS/U90w/wjw==} engines: {node: '>=18'} @@ -23586,8 +23592,8 @@ packages: vue-component-type-helpers@3.3.1: resolution: {integrity: sha512-pu58kqxmVyEH6VfNYW1UyEfR3XAnJ27ZXT3yzXxxpjLxVzAbyC35Zk/nm/RMs7ijWnJNSd9fWkeex2OhUsx3MA==} - vue-component-type-helpers@3.3.3: - resolution: {integrity: sha512-x4nsFpy5Pe8fqPzp/5vkTPeTTDBpAx4WVtV47Ejt0+2FQrq4pRRsJs7JmYRqMFzTu/LW+pCWEjQ3YVCkPV7f9g==} + vue-component-type-helpers@3.3.4: + resolution: {integrity: sha512-joip1uZTaQR0nD23N400gIdJ7xY+WiiiMA/BCKz842gvGBknqDQAzklUvDEhqFvvrhQY8S2ZANBMu4X70VMFGw==} vue-devtools-stub@0.1.0: resolution: {integrity: sha512-RutnB7X8c5hjq39NceArgXg28WZtZpGc3+J16ljMiYnFhKvd8hITxSWQSQ5bvldxMDU6gG5mkxl1MTQLXckVSQ==} @@ -24223,19 +24229,19 @@ snapshots: transitivePeerDependencies: - supports-color - '@ag-ui/a2a@0.0.6(@ag-ui/client@0.0.42)(@ag-ui/core@0.0.54)': + '@ag-ui/a2a@0.0.6(@ag-ui/client@0.0.42)(@ag-ui/core@0.0.56)': dependencies: '@a2a-js/sdk': 0.2.5 '@ag-ui/client': 0.0.42 - '@ag-ui/core': 0.0.54 + '@ag-ui/core': 0.0.56 rxjs: 7.8.1 transitivePeerDependencies: - supports-color - '@ag-ui/a2ui-middleware@0.0.8(@ag-ui/client@0.0.53)(rxjs@7.8.1)': + '@ag-ui/a2ui-middleware@0.0.8(@ag-ui/client@0.0.56)(rxjs@7.8.1)': dependencies: '@ag-ui/a2ui-toolkit': 0.0.2 - '@ag-ui/client': 0.0.53 + '@ag-ui/client': 0.0.56 clarinet: 0.12.6 rxjs: 7.8.1 @@ -24279,11 +24285,11 @@ snapshots: uuid: 11.1.0 zod: 3.25.76 - '@ag-ui/client@0.0.53': + '@ag-ui/client@0.0.56': dependencies: - '@ag-ui/core': 0.0.53 - '@ag-ui/encoder': 0.0.53 - '@ag-ui/proto': 0.0.53 + '@ag-ui/core': 0.0.56 + '@ag-ui/encoder': 0.0.56 + '@ag-ui/proto': 0.0.56 '@types/uuid': 10.0.0 compare-versions: 6.1.1 fast-json-patch: 3.1.1 @@ -24318,7 +24324,7 @@ snapshots: dependencies: zod: 3.25.76 - '@ag-ui/core@0.0.54': + '@ag-ui/core@0.0.56': dependencies: zod: 3.25.76 @@ -24342,6 +24348,11 @@ snapshots: '@ag-ui/core': 0.0.53 '@ag-ui/proto': 0.0.53 + '@ag-ui/encoder@0.0.56': + dependencies: + '@ag-ui/core': 0.0.56 + '@ag-ui/proto': 0.0.56 + '@ag-ui/langgraph@0.0.11(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(ws@8.19.0)': dependencies: '@ag-ui/client': 0.0.36 @@ -24358,11 +24369,11 @@ snapshots: - react-dom - ws - '@ag-ui/langgraph@0.0.39(@ag-ui/client@0.0.53)(@ag-ui/core@0.0.53)(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76))': + '@ag-ui/langgraph@0.0.40(@ag-ui/client@0.0.56)(@ag-ui/core@0.0.56)(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76))': dependencies: '@ag-ui/a2ui-toolkit': 0.0.2 - '@ag-ui/client': 0.0.53 - '@ag-ui/core': 0.0.53 + '@ag-ui/client': 0.0.56 + '@ag-ui/core': 0.0.56 '@langchain/core': 1.1.42(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(ws@8.19.0) '@langchain/langgraph-sdk': 1.8.9(@langchain/core@1.1.42(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(ws@8.19.0))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3)) langchain: 1.3.5(@langchain/core@1.1.42(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(ws@8.19.0))(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76)) @@ -24380,11 +24391,11 @@ snapshots: - ws - zod-to-json-schema - '@ag-ui/langgraph@0.0.39(@ag-ui/client@0.0.53)(@ag-ui/core@0.0.54)(@opentelemetry/api@1.9.0)(openai@6.35.0(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76))': + '@ag-ui/langgraph@0.0.40(@ag-ui/client@0.0.56)(@ag-ui/core@0.0.56)(@opentelemetry/api@1.9.0)(openai@6.35.0(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76))': dependencies: '@ag-ui/a2ui-toolkit': 0.0.2 - '@ag-ui/client': 0.0.53 - '@ag-ui/core': 0.0.54 + '@ag-ui/client': 0.0.56 + '@ag-ui/core': 0.0.56 '@langchain/core': 1.1.42(@opentelemetry/api@1.9.0)(openai@6.35.0(ws@8.19.0)(zod@3.25.76))(ws@8.19.0) '@langchain/langgraph-sdk': 1.8.9(@langchain/core@1.1.42(@opentelemetry/api@1.9.0)(openai@6.35.0(ws@8.19.0)(zod@3.25.76))(ws@8.19.0))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3)) langchain: 1.3.5(@langchain/core@1.1.42(@opentelemetry/api@1.9.0)(openai@6.35.0(ws@8.19.0)(zod@3.25.76))(ws@8.19.0))(@opentelemetry/api@1.9.0)(openai@6.35.0(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76)) @@ -24422,9 +24433,9 @@ snapshots: - supports-color - zod - '@ag-ui/mcp-apps-middleware@0.0.2(@ag-ui/client@0.0.53)(@cfworker/json-schema@4.1.1)(rxjs@7.8.1)(zod@3.25.76)': + '@ag-ui/mcp-apps-middleware@0.0.2(@ag-ui/client@0.0.56)(@cfworker/json-schema@4.1.1)(rxjs@7.8.1)(zod@3.25.76)': dependencies: - '@ag-ui/client': 0.0.53 + '@ag-ui/client': 0.0.56 '@modelcontextprotocol/sdk': 1.29.0(@cfworker/json-schema@4.1.1)(zod@3.25.76) rxjs: 7.8.1 transitivePeerDependencies: @@ -24432,9 +24443,9 @@ snapshots: - supports-color - zod - '@ag-ui/mcp-apps-middleware@0.0.3(@ag-ui/client@0.0.53)(@cfworker/json-schema@4.1.1)(zod@3.25.76)': + '@ag-ui/mcp-apps-middleware@0.0.3(@ag-ui/client@0.0.56)(@cfworker/json-schema@4.1.1)(zod@3.25.76)': dependencies: - '@ag-ui/client': 0.0.53 + '@ag-ui/client': 0.0.56 '@modelcontextprotocol/sdk': 1.29.0(@cfworker/json-schema@4.1.1)(zod@3.25.76) rxjs: 7.8.1 transitivePeerDependencies: @@ -24444,7 +24455,7 @@ snapshots: '@ag-ui/mcp-middleware@0.0.1(@cfworker/json-schema@4.1.1)(rxjs@7.8.1)(zod@3.25.76)': dependencies: - '@ag-ui/client': 0.0.53 + '@ag-ui/client': 0.0.56 '@modelcontextprotocol/sdk': 1.29.0(@cfworker/json-schema@4.1.1)(zod@3.25.76) rxjs: 7.8.1 transitivePeerDependencies: @@ -24476,6 +24487,12 @@ snapshots: '@bufbuild/protobuf': 2.11.0 '@protobuf-ts/protoc': 2.11.1 + '@ag-ui/proto@0.0.56': + dependencies: + '@ag-ui/core': 0.0.56 + '@bufbuild/protobuf': 2.11.0 + '@protobuf-ts/protoc': 2.11.1 + '@ai-sdk/anthropic@2.0.71(zod@3.25.76)': dependencies: '@ai-sdk/provider': 2.0.1 @@ -35167,7 +35184,7 @@ snapshots: storybook: 10.1.11(@testing-library/dom@10.4.0)(prettier@3.7.4)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) type-fest: 2.19.0 vue: 3.5.34(typescript@5.8.2) - vue-component-type-helpers: 3.3.3 + vue-component-type-helpers: 3.3.4 '@swc/core-darwin-arm64@1.15.8': optional: true @@ -52265,7 +52282,7 @@ snapshots: vue-component-type-helpers@3.3.1: {} - vue-component-type-helpers@3.3.3: {} + vue-component-type-helpers@3.3.4: {} vue-devtools-stub@0.1.0: {} diff --git a/sdk-python/poetry.lock b/sdk-python/poetry.lock index 051526366ef..6c5410629db 100644 --- a/sdk-python/poetry.lock +++ b/sdk-python/poetry.lock @@ -2,30 +2,30 @@ [[package]] name = "ag-ui-a2ui-toolkit" -version = "0.0.2" +version = "0.0.3" description = "Framework-agnostic helpers for building A2UI subagent tools — op builders, prompt assembly, history walkers, and request/envelope orchestration shared across framework adapters." optional = false python-versions = "<3.15,>=3.10" groups = ["main"] files = [ - {file = "ag_ui_a2ui_toolkit-0.0.2-py3-none-any.whl", hash = "sha256:028e497dfa2c9ca716143248dee14712d5c1055615a1bd91efa95f85e0a467ef"}, - {file = "ag_ui_a2ui_toolkit-0.0.2.tar.gz", hash = "sha256:5908fa7a9cf474fa26d8821ac15b135bdca2c1cfddce0b7c580c6382d1f0bfd9"}, + {file = "ag_ui_a2ui_toolkit-0.0.3-py3-none-any.whl", hash = "sha256:e0354bd361c09f342fbe671cf870cbd19fdcb1b27e7a5bb2d8a392a4f00c2ba9"}, + {file = "ag_ui_a2ui_toolkit-0.0.3.tar.gz", hash = "sha256:468f25473ac00d098878da54c0069b7fa27dc63b4c1ff61315d4349a324c2fb7"}, ] [[package]] name = "ag-ui-langgraph" -version = "0.0.40" +version = "0.0.41" description = "Implementation of the AG-UI protocol for LangGraph." optional = false python-versions = "<3.15,>=3.10" groups = ["main"] files = [ - {file = "ag_ui_langgraph-0.0.40-py3-none-any.whl", hash = "sha256:ee5e06a47ea267c082f746c9cdab4b0ac2dcc4f8e3a26d750d6dd82d0a0a07f1"}, - {file = "ag_ui_langgraph-0.0.40.tar.gz", hash = "sha256:11b009920b79fe97162f53777ecd7860c8a0999479d55f5d85d8da979d5be28f"}, + {file = "ag_ui_langgraph-0.0.41-py3-none-any.whl", hash = "sha256:ff5f4c3d03305ff51329543ff61bd686a3e0b5c3c4ea071b3575f328d13936ae"}, + {file = "ag_ui_langgraph-0.0.41.tar.gz", hash = "sha256:3ea1fcb49b147d9532b0a90f2a5554d6ffd0d9365590fa2557ba16a881aeeb7a"}, ] [package.dependencies] -ag-ui-a2ui-toolkit = ">=0.0.2" +ag-ui-a2ui-toolkit = ">=0.0.3" ag-ui-protocol = ">=0.1.15" fastapi = {version = ">=0.115.12", optional = true, markers = "extra == \"fastapi\""} langchain = ">=1.2.0" @@ -38,14 +38,14 @@ fastapi = ["fastapi (>=0.115.12)"] [[package]] name = "ag-ui-protocol" -version = "0.1.18" +version = "0.1.19" description = "" optional = false python-versions = ">=3.9" groups = ["main"] files = [ - {file = "ag_ui_protocol-0.1.18-py3-none-any.whl", hash = "sha256:d151c0f0a34160647f1571163f7185746f4326b15a56d1560de5082a7a0e7a12"}, - {file = "ag_ui_protocol-0.1.18.tar.gz", hash = "sha256:b37c672c3fd6bac12b316c39f45ad9db9f137bbb885489c79f268507029a22ff"}, + {file = "ag_ui_protocol-0.1.19-py3-none-any.whl", hash = "sha256:898843b1410d378824da0c6a776486288b9c5828689d0bf563118868e37f390f"}, + {file = "ag_ui_protocol-0.1.19.tar.gz", hash = "sha256:43c27f60d41712dcad0e9e0a203cbdf1c8e248b22417374c5c68321c448af4ea"}, ] [package.dependencies] @@ -5642,4 +5642,4 @@ crewai = ["crewai"] [metadata] lock-version = "2.1" python-versions = ">=3.10,<3.15" -content-hash = "63e8a9a538d3c4dafa497f509516c818f51ace66477ce4d1fd2cc273a357976f" +content-hash = "23cf840bae035e934e0bc4bc6ca09f7cc12e8d66c605ed5d7e22afb113d7ac60" diff --git a/sdk-python/pyproject.toml b/sdk-python/pyproject.toml index d0b5b7b5868..9fb763be47a 100644 --- a/sdk-python/pyproject.toml +++ b/sdk-python/pyproject.toml @@ -32,7 +32,7 @@ langgraph = { version = ">=0.3.25,<2" } langchain = { version = ">=0.3.0" } crewai = { version = ">=0.118.0", optional = true, python = ">=3.10,<3.14" } ag-ui-langgraph = { version = ">=0.0.41", extras = ["fastapi"] } -ag-ui-protocol = ">=0.1.15" +ag-ui-protocol = ">=0.1.19" fastapi = ">=0.115.0,<1.0.0" partialjson = "^0.0.8" toml = "^0.10.2" From 2587c8dfeb44871cd51cb474703882d6d655a46b Mon Sep 17 00:00:00 2001 From: Ran Shem Tov Date: Tue, 9 Jun 2026 13:09:45 +0200 Subject: [PATCH 3/5] chore(showcase): align a2ui to single-arg get_a2ui_tools API --- .../langgraph-typescript/src/agent/graph.ts | 3 ++- .../langgraph/generative-ui/a2ui/dynamic-schema.mdx | 13 ++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/showcase/integrations/langgraph-typescript/src/agent/graph.ts b/showcase/integrations/langgraph-typescript/src/agent/graph.ts index 294e2452dea..6d1e5d44d4a 100644 --- a/showcase/integrations/langgraph-typescript/src/agent/graph.ts +++ b/showcase/integrations/langgraph-typescript/src/agent/graph.ts @@ -164,7 +164,8 @@ const searchFlights = tool( // a2ui_dynamic). A secondary LLM designs the surface; the factory forces the // host catalog and emits the a2ui_operations envelope. Replaces the prior // hand-rolled generate_a2ui tool. -const generateA2ui = getA2UITools(new ChatOpenAI({ model: "gpt-4.1" }), { +const generateA2ui = getA2UITools({ + model: new ChatOpenAI({ model: "gpt-4.1" }), defaultCatalogId: "copilotkit://app-dashboard-catalog", }); diff --git a/showcase/shell-docs/src/content/docs/integrations/langgraph/generative-ui/a2ui/dynamic-schema.mdx b/showcase/shell-docs/src/content/docs/integrations/langgraph/generative-ui/a2ui/dynamic-schema.mdx index 2f7d11b1fa5..301eadc1593 100644 --- a/showcase/shell-docs/src/content/docs/integrations/langgraph/generative-ui/a2ui/dynamic-schema.mdx +++ b/showcase/shell-docs/src/content/docs/integrations/langgraph/generative-ui/a2ui/dynamic-schema.mdx @@ -71,9 +71,12 @@ base_model = ChatOpenAI(model="gpt-4o") TOOLS = [ get_a2ui_tools( - model=base_model, - default_catalog_id="https://a2ui.org/demos/dojo/dynamic_catalog.json", - composition_guide=COMPOSITION_GUIDE, # how the subagent should use your components + { + "model": base_model, + "default_catalog_id": "https://a2ui.org/demos/dojo/dynamic_catalog.json", + # guidelines: optional generation/design/composition prompt knobs + "guidelines": {"composition_guide": COMPOSITION_GUIDE}, + } ) ] @@ -91,11 +94,11 @@ workflow.add_edge("tool_node", "chat_node") graph = workflow.compile() ``` -`get_a2ui_tools(model, default_catalog_id=..., composition_guide=...)` is the same factory the middleware uses under the hood: +`get_a2ui_tools(params)` takes a single `A2UIToolParams` object — the same factory the middleware uses under the hood: - **`model`** — the secondary LLM that designs the surface. - **`default_catalog_id`** — binds generated surfaces to your catalog (BYOC). Catalog ownership stays with the host; the model never picks it. -- **`composition_guide`** — optional rules appended to the subagent's prompt telling it which components exist and how to compose them. +- **`guidelines`** — optional prompt knobs: `composition_guide` (which components exist and how to compose them), plus `generation_guidelines` / `design_guidelines` to override the built-in generation/design defaults. ## Progressive streaming From ceeb861875e782ee1b27e1dc36bd0ec1332dc4b1 Mon Sep 17 00:00:00 2001 From: Ran Shem Tov Date: Tue, 9 Jun 2026 16:16:50 +0200 Subject: [PATCH 4/5] chore(deps): bump @ag-ui/langgraph to 0.0.41 --- packages/runtime/package.json | 2 +- packages/sdk-js/package.json | 2 +- pnpm-lock.yaml | 32 ++++++++++++++++---------------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 21f0a495159..f2ea28708e4 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -81,7 +81,7 @@ "@ag-ui/client": "0.0.56", "@ag-ui/core": "0.0.56", "@ag-ui/encoder": "0.0.53", - "@ag-ui/langgraph": "0.0.40", + "@ag-ui/langgraph": "0.0.41", "@ag-ui/mcp-apps-middleware": "0.0.3", "@ag-ui/mcp-middleware": "0.0.1", "@ai-sdk/anthropic": "^3.0.49", diff --git a/packages/sdk-js/package.json b/packages/sdk-js/package.json index 2bbea155d2c..1d070812377 100644 --- a/packages/sdk-js/package.json +++ b/packages/sdk-js/package.json @@ -59,7 +59,7 @@ "attw": "attw --pack . --profile node16" }, "dependencies": { - "@ag-ui/langgraph": "0.0.40", + "@ag-ui/langgraph": "0.0.41", "@copilotkit/shared": "workspace:*" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 47f42b93e9f..3f3bbd27e12 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2700,8 +2700,8 @@ importers: specifier: 0.0.53 version: 0.0.53 '@ag-ui/langgraph': - specifier: 0.0.40 - version: 0.0.40(@ag-ui/client@0.0.56)(@ag-ui/core@0.0.56)(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76)) + specifier: 0.0.41 + version: 0.0.41(@ag-ui/client@0.0.56)(@ag-ui/core@0.0.56)(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76)) '@ag-ui/mcp-apps-middleware': specifier: 0.0.3 version: 0.0.3(@ag-ui/client@0.0.56)(@cfworker/json-schema@4.1.1)(zod@3.25.76) @@ -2975,8 +2975,8 @@ importers: packages/sdk-js: dependencies: '@ag-ui/langgraph': - specifier: 0.0.40 - version: 0.0.40(@ag-ui/client@0.0.56)(@ag-ui/core@0.0.56)(@opentelemetry/api@1.9.0)(openai@6.35.0(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76)) + specifier: 0.0.41 + version: 0.0.41(@ag-ui/client@0.0.56)(@ag-ui/core@0.0.56)(@opentelemetry/api@1.9.0)(openai@6.35.0(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76)) '@copilotkit/shared': specifier: workspace:* version: link:../shared @@ -3505,6 +3505,9 @@ packages: '@ag-ui/a2ui-toolkit@0.0.2': resolution: {integrity: sha512-HFphlNxBxGSQfvxlI2LCQValSMDUTh3MAsaFMgYlF8sQXgCrXNiLJ70+Dz3uyOv4y/rfqdFafvlo1GKQtEVIVA==} + '@ag-ui/a2ui-toolkit@0.0.3': + resolution: {integrity: sha512-bKjtuYQufGZ+vc2oTz1v5S6ab2gH/whQIIgbGfP+LMisdAkDV7bqeg4e+lZO3xNmdmkCa6nvkovtudMkqxmxEA==} + '@ag-ui/client@0.0.36': resolution: {integrity: sha512-1Ey2KqK9KQpRJcnJvKPfVyLiTK4+CLBQZ085oJvr6T1nznw224j0KyzXNJ7cRjXeEGnuafmXTgpU+xEbN3xuYQ==} @@ -3556,8 +3559,8 @@ packages: '@ag-ui/langgraph@0.0.11': resolution: {integrity: sha512-3xUkaOelnpQ5tbsbuoOTin71tTgWEN0GDZBjGs/7xAwly2Dn4fahbBAoscXullO/pH9kTGGgbuJ0rWDUgo6fKQ==} - '@ag-ui/langgraph@0.0.40': - resolution: {integrity: sha512-1zyrtLR8q1gIn0TO17D3EQXv7uFM2/q2ieGIkqcpy2jdAFRgPoLeI43VkQOzj3XA/1AbAI4HtOGLNhvxJzNqdA==} + '@ag-ui/langgraph@0.0.41': + resolution: {integrity: sha512-xo7ja/kuctmdPiH83QOUIpDs/AY3GzxW1fM37x9otK9fqwnKgi2JIcjfcdvAdGYdsCkXBn2WWQ2PVH+rdsLOzg==} peerDependencies: '@ag-ui/client': '>=0.0.42' '@ag-ui/core': '>=0.0.42' @@ -15371,9 +15374,6 @@ packages: eventemitter3@4.0.7: resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==} - eventemitter3@5.0.1: - resolution: {integrity: sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==} - eventemitter3@5.0.4: resolution: {integrity: sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==} @@ -24247,6 +24247,8 @@ snapshots: '@ag-ui/a2ui-toolkit@0.0.2': {} + '@ag-ui/a2ui-toolkit@0.0.3': {} + '@ag-ui/client@0.0.36': dependencies: '@ag-ui/core': 0.0.36 @@ -24369,9 +24371,9 @@ snapshots: - react-dom - ws - '@ag-ui/langgraph@0.0.40(@ag-ui/client@0.0.56)(@ag-ui/core@0.0.56)(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76))': + '@ag-ui/langgraph@0.0.41(@ag-ui/client@0.0.56)(@ag-ui/core@0.0.56)(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76))': dependencies: - '@ag-ui/a2ui-toolkit': 0.0.2 + '@ag-ui/a2ui-toolkit': 0.0.3 '@ag-ui/client': 0.0.56 '@ag-ui/core': 0.0.56 '@langchain/core': 1.1.42(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(ws@8.19.0) @@ -24391,9 +24393,9 @@ snapshots: - ws - zod-to-json-schema - '@ag-ui/langgraph@0.0.40(@ag-ui/client@0.0.56)(@ag-ui/core@0.0.56)(@opentelemetry/api@1.9.0)(openai@6.35.0(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76))': + '@ag-ui/langgraph@0.0.41(@ag-ui/client@0.0.56)(@ag-ui/core@0.0.56)(@opentelemetry/api@1.9.0)(openai@6.35.0(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76))': dependencies: - '@ag-ui/a2ui-toolkit': 0.0.2 + '@ag-ui/a2ui-toolkit': 0.0.3 '@ag-ui/client': 0.0.56 '@ag-ui/core': 0.0.56 '@langchain/core': 1.1.42(@opentelemetry/api@1.9.0)(openai@6.35.0(ws@8.19.0)(zod@3.25.76))(ws@8.19.0) @@ -40749,8 +40751,6 @@ snapshots: eventemitter3@4.0.7: {} - eventemitter3@5.0.1: {} - eventemitter3@5.0.4: {} events-universal@1.0.1: @@ -44332,7 +44332,7 @@ snapshots: dependencies: cli-truncate: 4.0.0 colorette: 2.0.20 - eventemitter3: 5.0.1 + eventemitter3: 5.0.4 log-update: 6.1.0 rfdc: 1.4.1 wrap-ansi: 9.0.2 From 6e9240accc8f16cb5c676f11ed88daefc7e8e550 Mon Sep 17 00:00:00 2001 From: Ran Shem Tov Date: Tue, 9 Jun 2026 16:59:50 +0200 Subject: [PATCH 5/5] chore(deps): revert @ag-ui/core,client to 0.0.53 (decouple from langgraph 0.0.41 bump) @ag-ui/client 0.0.56 changed runHttpRequest to a thunk signature, breaking @copilotkit/core's ProxiedCopilotRuntimeAgent. OSS-248 only needs @ag-ui/langgraph 0.0.41; keep that, revert the unrelated core/client/protocol 'latest' bump. Adopting client 0.0.56 is a separate migration. --- .npmrc | 3 +- package.json | 2 +- packages/agentcore-runner/package.json | 2 +- packages/angular/package.json | 4 +- packages/core/package.json | 2 +- packages/demo-agents/package.json | 2 +- packages/react-core/package.json | 4 +- packages/react-native/package.json | 2 +- packages/runtime/package.json | 4 +- packages/shared/package.json | 4 +- packages/sqlite-runner/package.json | 2 +- packages/vue/package.json | 4 +- packages/web-inspector/package.json | 2 +- pnpm-lock.yaml | 108 ++++++++++++++----------- sdk-python/poetry.lock | 2 +- sdk-python/pyproject.toml | 2 +- 16 files changed, 83 insertions(+), 66 deletions(-) diff --git a/.npmrc b/.npmrc index 4ebc8577ccb..84eef7783e3 100644 --- a/.npmrc +++ b/.npmrc @@ -1,6 +1,7 @@ minimum-release-age=1440 # First-party AG-UI packages release together; exclude them from the age gate -# so freshly-published versions (and their transitive @ag-ui deps) install. +# so freshly-published versions (incl. transitive @ag-ui deps pulled by +# @ag-ui/langgraph) install without waiting out the maturity window. minimum-release-age-exclude[]=@ag-ui/core minimum-release-age-exclude[]=@ag-ui/client minimum-release-age-exclude[]=@ag-ui/encoder diff --git a/package.json b/package.json index 7ef4a564f49..52ee604bb7b 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ } }, "overrides": { - "@ag-ui/mcp-middleware>@ag-ui/client": "0.0.56", + "@ag-ui/mcp-middleware>@ag-ui/client": "0.0.53", "streamdown>react": "^19.0.0", "@types/react": "19.1.8", "@types/react-dom": "^19.0.2", diff --git a/packages/agentcore-runner/package.json b/packages/agentcore-runner/package.json index 238c472075c..7bf82c5211c 100644 --- a/packages/agentcore-runner/package.json +++ b/packages/agentcore-runner/package.json @@ -31,7 +31,7 @@ "attw": "attw --pack . --profile node16" }, "dependencies": { - "@ag-ui/client": "0.0.56", + "@ag-ui/client": "0.0.53", "@copilotkit/runtime": "workspace:*", "rxjs": "7.8.1" }, diff --git a/packages/angular/package.json b/packages/angular/package.json index 449ee911689..0d44dae11c8 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -33,8 +33,8 @@ "attw": "attw --pack . --profile node16" }, "dependencies": { - "@ag-ui/client": "0.0.56", - "@ag-ui/core": "0.0.56", + "@ag-ui/client": "0.0.53", + "@ag-ui/core": "0.0.53", "@copilotkit/core": "workspace:*", "@copilotkit/shared": "workspace:*", "clsx": "^2.1.1", diff --git a/packages/core/package.json b/packages/core/package.json index 3e565ff03eb..1d95c95839a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -35,7 +35,7 @@ "attw": "attw --pack . --profile node16" }, "dependencies": { - "@ag-ui/client": "0.0.56", + "@ag-ui/client": "0.0.53", "@copilotkit/shared": "workspace:*", "@tanstack/pacer": "^0.20.1", "phoenix": "^1.8.4", diff --git a/packages/demo-agents/package.json b/packages/demo-agents/package.json index ac943eee28e..01bd815bdd8 100644 --- a/packages/demo-agents/package.json +++ b/packages/demo-agents/package.json @@ -24,7 +24,7 @@ "test:watch": "vitest" }, "dependencies": { - "@ag-ui/client": "0.0.56", + "@ag-ui/client": "0.0.53", "openai": "^4.85.1", "rxjs": "^7.8.1" }, diff --git a/packages/react-core/package.json b/packages/react-core/package.json index 2e43db26e4e..fb928e37578 100644 --- a/packages/react-core/package.json +++ b/packages/react-core/package.json @@ -74,8 +74,8 @@ "attw": "attw --pack . --profile node16 --ignore-rules internal-resolution-error" }, "dependencies": { - "@ag-ui/client": "0.0.56", - "@ag-ui/core": "0.0.56", + "@ag-ui/client": "0.0.53", + "@ag-ui/core": "0.0.53", "@copilotkit/a2ui-renderer": "workspace:*", "@copilotkit/core": "workspace:*", "@copilotkit/runtime-client-gql": "workspace:*", diff --git a/packages/react-native/package.json b/packages/react-native/package.json index 872e86a3c64..af7a7ae2566 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -74,7 +74,7 @@ "unlink:global": "pnpm unlink --global" }, "dependencies": { - "@ag-ui/client": "0.0.56", + "@ag-ui/client": "0.0.53", "@copilotkit/core": "workspace:*", "@copilotkit/react-core": "workspace:*", "@copilotkit/shared": "workspace:*", diff --git a/packages/runtime/package.json b/packages/runtime/package.json index f2ea28708e4..656b4d0ef91 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -78,8 +78,8 @@ }, "dependencies": { "@ag-ui/a2ui-middleware": "0.0.8", - "@ag-ui/client": "0.0.56", - "@ag-ui/core": "0.0.56", + "@ag-ui/client": "0.0.53", + "@ag-ui/core": "0.0.53", "@ag-ui/encoder": "0.0.53", "@ag-ui/langgraph": "0.0.41", "@ag-ui/mcp-apps-middleware": "0.0.3", diff --git a/packages/shared/package.json b/packages/shared/package.json index 3f4203e776f..6667619afe0 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -50,7 +50,7 @@ "attw": "attw --pack . --profile node16" }, "dependencies": { - "@ag-ui/client": "0.0.56", + "@ag-ui/client": "0.0.53", "@copilotkit/license-verifier": "~0.4.2", "@segment/analytics-node": "^2.1.2", "@standard-schema/spec": "^1.0.0", @@ -73,6 +73,6 @@ "vitest": "^3.2.4" }, "peerDependencies": { - "@ag-ui/core": ">=0.0.56" + "@ag-ui/core": ">=0.0.48" } } diff --git a/packages/sqlite-runner/package.json b/packages/sqlite-runner/package.json index 0fe696a9ad0..4ff6f609f40 100644 --- a/packages/sqlite-runner/package.json +++ b/packages/sqlite-runner/package.json @@ -31,7 +31,7 @@ "attw": "attw --pack . --profile node16" }, "dependencies": { - "@ag-ui/client": "0.0.56", + "@ag-ui/client": "0.0.53", "@copilotkit/runtime": "workspace:*", "rxjs": "7.8.1" }, diff --git a/packages/vue/package.json b/packages/vue/package.json index 23cc4b092e3..4b68c1a1fdd 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -78,8 +78,8 @@ }, "dependencies": { "@a2ui/web_core": "0.9.0", - "@ag-ui/client": "0.0.56", - "@ag-ui/core": "0.0.56", + "@ag-ui/client": "0.0.53", + "@ag-ui/core": "0.0.53", "@copilotkit/core": "workspace:*", "@copilotkit/shared": "workspace:*", "@copilotkit/web-inspector": "workspace:*", diff --git a/packages/web-inspector/package.json b/packages/web-inspector/package.json index acb142693e0..2b8de73ee0b 100644 --- a/packages/web-inspector/package.json +++ b/packages/web-inspector/package.json @@ -34,7 +34,7 @@ "attw": "attw --pack . --profile node16" }, "dependencies": { - "@ag-ui/client": "0.0.56", + "@ag-ui/client": "0.0.53", "@copilotkit/core": "workspace:*", "lit": "^3.2.0", "lucide": "^0.525.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3f3bbd27e12..7034e895321 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,7 +5,7 @@ settings: excludeLinksFromLockfile: false overrides: - '@ag-ui/mcp-middleware>@ag-ui/client': 0.0.56 + '@ag-ui/mcp-middleware>@ag-ui/client': 0.0.53 streamdown>react: ^19.0.0 '@types/react': 19.1.8 '@types/react-dom': ^19.0.2 @@ -2032,8 +2032,8 @@ importers: packages/agentcore-runner: dependencies: '@ag-ui/client': - specifier: 0.0.56 - version: 0.0.56 + specifier: 0.0.53 + version: 0.0.53 '@copilotkit/runtime': specifier: workspace:* version: link:../runtime @@ -2060,11 +2060,11 @@ importers: packages/angular: dependencies: '@ag-ui/client': - specifier: 0.0.56 - version: 0.0.56 + specifier: 0.0.53 + version: 0.0.53 '@ag-ui/core': - specifier: 0.0.56 - version: 0.0.56 + specifier: 0.0.53 + version: 0.0.53 '@copilotkit/core': specifier: workspace:* version: link:../core @@ -2193,8 +2193,8 @@ importers: packages/core: dependencies: '@ag-ui/client': - specifier: 0.0.56 - version: 0.0.56 + specifier: 0.0.53 + version: 0.0.53 '@copilotkit/shared': specifier: workspace:* version: link:../shared @@ -2245,8 +2245,8 @@ importers: packages/demo-agents: dependencies: '@ag-ui/client': - specifier: 0.0.56 - version: 0.0.56 + specifier: 0.0.53 + version: 0.0.53 openai: specifier: ^4.85.1 version: 4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76) @@ -2273,11 +2273,11 @@ importers: packages/react-core: dependencies: '@ag-ui/client': - specifier: 0.0.56 - version: 0.0.56 + specifier: 0.0.53 + version: 0.0.53 '@ag-ui/core': - specifier: 0.0.56 - version: 0.0.56 + specifier: 0.0.53 + version: 0.0.53 '@copilotkit/a2ui-renderer': specifier: workspace:* version: link:../a2ui-renderer @@ -2439,8 +2439,8 @@ importers: packages/react-native: dependencies: '@ag-ui/client': - specifier: 0.0.56 - version: 0.0.56 + specifier: 0.0.53 + version: 0.0.53 '@copilotkit/core': specifier: workspace:* version: link:../core @@ -2689,22 +2689,22 @@ importers: dependencies: '@ag-ui/a2ui-middleware': specifier: 0.0.8 - version: 0.0.8(@ag-ui/client@0.0.56)(rxjs@7.8.1) + version: 0.0.8(@ag-ui/client@0.0.53)(rxjs@7.8.1) '@ag-ui/client': - specifier: 0.0.56 - version: 0.0.56 + specifier: 0.0.53 + version: 0.0.53 '@ag-ui/core': - specifier: 0.0.56 - version: 0.0.56 + specifier: 0.0.53 + version: 0.0.53 '@ag-ui/encoder': specifier: 0.0.53 version: 0.0.53 '@ag-ui/langgraph': specifier: 0.0.41 - version: 0.0.41(@ag-ui/client@0.0.56)(@ag-ui/core@0.0.56)(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76)) + version: 0.0.41(@ag-ui/client@0.0.53)(@ag-ui/core@0.0.53)(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76)) '@ag-ui/mcp-apps-middleware': specifier: 0.0.3 - version: 0.0.3(@ag-ui/client@0.0.56)(@cfworker/json-schema@4.1.1)(zod@3.25.76) + version: 0.0.3(@ag-ui/client@0.0.53)(@cfworker/json-schema@4.1.1)(zod@3.25.76) '@ag-ui/mcp-middleware': specifier: 0.0.1 version: 0.0.1(@cfworker/json-schema@4.1.1)(rxjs@7.8.1)(zod@3.25.76) @@ -3030,11 +3030,11 @@ importers: packages/shared: dependencies: '@ag-ui/client': - specifier: 0.0.56 - version: 0.0.56 + specifier: 0.0.53 + version: 0.0.53 '@ag-ui/core': - specifier: '>=0.0.56' - version: 0.0.56 + specifier: '>=0.0.48' + version: 0.0.53 '@copilotkit/license-verifier': specifier: ~0.4.2 version: 0.4.2 @@ -3094,8 +3094,8 @@ importers: packages/sqlite-runner: dependencies: '@ag-ui/client': - specifier: 0.0.56 - version: 0.0.56 + specifier: 0.0.53 + version: 0.0.53 '@copilotkit/runtime': specifier: workspace:* version: link:../runtime @@ -3166,11 +3166,11 @@ importers: specifier: 0.9.0 version: 0.9.0 '@ag-ui/client': - specifier: 0.0.56 - version: 0.0.56 + specifier: 0.0.53 + version: 0.0.53 '@ag-ui/core': - specifier: 0.0.56 - version: 0.0.56 + specifier: 0.0.53 + version: 0.0.53 '@copilotkit/core': specifier: workspace:* version: link:../core @@ -3290,8 +3290,8 @@ importers: packages/web-inspector: dependencies: '@ag-ui/client': - specifier: 0.0.56 - version: 0.0.56 + specifier: 0.0.53 + version: 0.0.53 '@copilotkit/core': specifier: workspace:* version: link:../core @@ -3517,6 +3517,9 @@ packages: '@ag-ui/client@0.0.51': resolution: {integrity: sha512-i95TVJWOIqOOBPDKkg10Db00lkmyPfQ/Bqi0SBVxnJu7qHSXHojvEB3JDUDybVlWhOHEzhMn75EZaDZwYjHaJA==} + '@ag-ui/client@0.0.53': + resolution: {integrity: sha512-Mkup36KUp0KXy9v89QtAOWDUoh8H1s1Vgl4zvQv9HqXuAK1TkbtpXJHpbgZJXIxTqd54KT6yCurmC2UkOP7FDQ==} + '@ag-ui/client@0.0.56': resolution: {integrity: sha512-dxen4qVnDQB1xC9x1nND9W/plidoy0qwDarUPuasHCrtlkMl1EUlc+rNJM7Lr1NtnRmGHHX8gHrSeUXP3vPVHA==} @@ -24238,10 +24241,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@ag-ui/a2ui-middleware@0.0.8(@ag-ui/client@0.0.56)(rxjs@7.8.1)': + '@ag-ui/a2ui-middleware@0.0.8(@ag-ui/client@0.0.53)(rxjs@7.8.1)': dependencies: '@ag-ui/a2ui-toolkit': 0.0.2 - '@ag-ui/client': 0.0.56 + '@ag-ui/client': 0.0.53 clarinet: 0.12.6 rxjs: 7.8.1 @@ -24287,6 +24290,19 @@ snapshots: uuid: 11.1.0 zod: 3.25.76 + '@ag-ui/client@0.0.53': + dependencies: + '@ag-ui/core': 0.0.53 + '@ag-ui/encoder': 0.0.53 + '@ag-ui/proto': 0.0.53 + '@types/uuid': 10.0.0 + compare-versions: 6.1.1 + fast-json-patch: 3.1.1 + rxjs: 7.8.1 + untruncate-json: 0.0.1 + uuid: 11.1.0 + zod: 3.25.76 + '@ag-ui/client@0.0.56': dependencies: '@ag-ui/core': 0.0.56 @@ -24371,11 +24387,11 @@ snapshots: - react-dom - ws - '@ag-ui/langgraph@0.0.41(@ag-ui/client@0.0.56)(@ag-ui/core@0.0.56)(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76))': + '@ag-ui/langgraph@0.0.41(@ag-ui/client@0.0.53)(@ag-ui/core@0.0.53)(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76))': dependencies: '@ag-ui/a2ui-toolkit': 0.0.3 - '@ag-ui/client': 0.0.56 - '@ag-ui/core': 0.0.56 + '@ag-ui/client': 0.0.53 + '@ag-ui/core': 0.0.53 '@langchain/core': 1.1.42(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(ws@8.19.0) '@langchain/langgraph-sdk': 1.8.9(@langchain/core@1.1.42(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(ws@8.19.0))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3)) langchain: 1.3.5(@langchain/core@1.1.42(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(ws@8.19.0))(@opentelemetry/api@1.9.0)(openai@4.104.0(encoding@0.1.13)(ws@8.19.0)(zod@3.25.76))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vue@3.5.34(typescript@5.9.3))(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76)) @@ -24445,9 +24461,9 @@ snapshots: - supports-color - zod - '@ag-ui/mcp-apps-middleware@0.0.3(@ag-ui/client@0.0.56)(@cfworker/json-schema@4.1.1)(zod@3.25.76)': + '@ag-ui/mcp-apps-middleware@0.0.3(@ag-ui/client@0.0.53)(@cfworker/json-schema@4.1.1)(zod@3.25.76)': dependencies: - '@ag-ui/client': 0.0.56 + '@ag-ui/client': 0.0.53 '@modelcontextprotocol/sdk': 1.29.0(@cfworker/json-schema@4.1.1)(zod@3.25.76) rxjs: 7.8.1 transitivePeerDependencies: @@ -24457,7 +24473,7 @@ snapshots: '@ag-ui/mcp-middleware@0.0.1(@cfworker/json-schema@4.1.1)(rxjs@7.8.1)(zod@3.25.76)': dependencies: - '@ag-ui/client': 0.0.56 + '@ag-ui/client': 0.0.53 '@modelcontextprotocol/sdk': 1.29.0(@cfworker/json-schema@4.1.1)(zod@3.25.76) rxjs: 7.8.1 transitivePeerDependencies: @@ -42388,7 +42404,7 @@ snapshots: isstream: 0.1.2 jsonwebtoken: 9.0.3 mime-types: 2.1.35 - retry-axios: 2.6.0(axios@1.15.2) + retry-axios: 2.6.0(axios@1.15.2(debug@4.4.3)) tough-cookie: 4.1.4 transitivePeerDependencies: - supports-color @@ -48756,7 +48772,7 @@ snapshots: retext-stringify: 4.0.0 unified: 11.0.5 - retry-axios@2.6.0(axios@1.15.2): + retry-axios@2.6.0(axios@1.15.2(debug@4.4.3)): dependencies: axios: 1.15.2(debug@4.4.3) diff --git a/sdk-python/poetry.lock b/sdk-python/poetry.lock index 6c5410629db..c5008e690b3 100644 --- a/sdk-python/poetry.lock +++ b/sdk-python/poetry.lock @@ -5642,4 +5642,4 @@ crewai = ["crewai"] [metadata] lock-version = "2.1" python-versions = ">=3.10,<3.15" -content-hash = "23cf840bae035e934e0bc4bc6ca09f7cc12e8d66c605ed5d7e22afb113d7ac60" +content-hash = "5fc9ecbf95de1d25040712c2675d39dfedc8a099be1e425390c03014e8c97d58" diff --git a/sdk-python/pyproject.toml b/sdk-python/pyproject.toml index 9fb763be47a..d0b5b7b5868 100644 --- a/sdk-python/pyproject.toml +++ b/sdk-python/pyproject.toml @@ -32,7 +32,7 @@ langgraph = { version = ">=0.3.25,<2" } langchain = { version = ">=0.3.0" } crewai = { version = ">=0.118.0", optional = true, python = ">=3.10,<3.14" } ag-ui-langgraph = { version = ">=0.0.41", extras = ["fastapi"] } -ag-ui-protocol = ">=0.1.19" +ag-ui-protocol = ">=0.1.15" fastapi = ">=0.115.0,<1.0.0" partialjson = "^0.0.8" toml = "^0.10.2"