Packages Published
TypeScript (npm) - published at 07:54:52 UTC
| Package | Version | Install |
|---|---|---|
| @ag-ui/mcp-apps-middleware | 0.1.2 | npm install @ag-ui/mcp-apps-middleware@0.1.2
|
@ag-ui/mcp-apps-middleware@0.1.2
- Preserve prerequisite history and structured results during tool execution.
- Discover and execute supporting tools.
- Declare
protocolVersionand use the inputthreadIdon synthesized proxy runs.
Breaking changes
None.
Python (PyPI) - published at 07:54:55 UTC
| Package | Version | Install |
|---|---|---|
| ag_ui_adk | 0.8.0 | pip install ag_ui_adk==0.8.0
|
| ag-ui-langgraph | 0.0.47 | pip install ag-ui-langgraph==0.0.47
|
ag_ui_adk@0.8.0
- Declares
protocolVersionon everyRUN_STARTEDevent and raises theag-ui-protocolfloor to>=1.0.0. - Keeps
nullJSON Patch values on the SSE wire so TS clients no longer rejectStateDeltaEventdeltas. - Enforces interrupt resume rules (
INTERRUPT_RESUME_REQUIRED,INTERRUPT_RESUME_INCOMPLETE) whenemit_interrupt_outcomeis on. - Keeps answers retryable until the continuation starts, so refused starts no longer drop tool results or confirmations.
- Ends the run after a batch reports
RUN_ERRORinstead of dispatching later batches. - Reports warm-path session read failures as
SESSION_LOOKUP_ERRORrather thanBACKGROUND_EXECUTION_ERROR. - Keeps failed session lookups retryable on tool-result resume.
- Enforces
max_sessions_per_userwhen tracking a found session. - Reads only listed native session IDs on every backend that can list, avoiding cross-user ID reads.
- Warns once per
SessionManagerwhen the backend cannot list sessions. - Preserves complete arguments after LRO streaming previews; closes nested continuation generators on errors.
- Adds optional keyword-only
user_idtoget_processed_message_idsandmark_messages_processed, scoping processed IDs per (app, user, thread).
Breaking changes
- Requires
ag-ui-protocol>=1.0.0; upgrade the dependency. - Removed
exclude_nonefrommodel_dump_json, changing SSE serialization (unset optional fields still omitted, butnullpatch values now retained). RUN_STARTEDnow carriesprotocolVersion; verify clients accept it.- Failed session reads now fail the lookup and end the run instead of creating a replacement session.
- Custom session services must honor the
get_sessioncontract (returnNonewhen absent); re-verify behavior. - Interrupt resume enforcement rejects runs lacking required resumes when
emit_interrupt_outcomeis enabled.
ag-ui-langgraph@0.0.47
- Non-streamed tool calls now name the owning assistant message as the parent instead of reusing the result message id.
- Image and video filenames are preserved through native conversion; filenames no longer lost when threads are stored and reopened.
- Provider failures now surface as terminal run errors; run errors documented.
- Non-image media types preserved across runtimes.
RUN_FINISHED.usage/RUN_ERROR.usagenow populated from provider metadata in Python (previously always absent).- Model-end token usage recorded for non-streaming model calls, which previously reported no usage.
- Token counts capped at
Number.MAX_SAFE_INTEGERrather than int64. - Malformed
tool_call.argumentsJSON no longer crashesagui_messages_to_langchain. - Plain string entries in list-form multimodal content are preserved instead of silently dropped.
- Reasoning content blocks guarded against non-mapping values that previously killed the stream.
- Whitespace-only and leading-whitespace
image_urlvalues now rejected like empty values. - FastAPI endpoint helpers forward route kwargs (name, tags, summary, operation_id, dependencies, include_in_schema).
- Adapters follow 1.0 model part renames, flatten tool result content, and drop unsupported file sources with a warning.
CustomEventNames.Exitdocumented as advisory-only; forwarded asCUSTOM(name="exit")and never terminates the stream.- Removed unused
should_exitflag. - Command tool args now serialized safely.
- Changelog URLs added to published package metadata;
ag-ui-protocolfloor raised to>=0.1.21.
Breaking changes
- Adapters now take validators from
@ag-ui/core/schemasand follow the 1.0 model part renames; file sources that are provider handles are dropped with a warning rather than forwarded. ag-ui-protocol>=0.1.21is now required.- Whitespace-only or leading-whitespace
image_urlpayloads are now rejected (tightened validation). CustomEventNames.Exitis advisory and does not terminate the stream; verify if you relied on exit behavior.- Tool-call parent ids changed for non-streamed calls; re-verify client assumptions about shared message ids.