Files
wehub-resource-sync e30e75b5d4
Changesets / Create Version PR (push) Has been cancelled
Deploy Shadcn Registry / Deploy Production (push) Has been cancelled
Template Metrics / LOC + Bundle Size (push) Has been cancelled
Code Quality / Oxlint + Oxfmt (push) Has been cancelled
Code Quality / Template Sync (push) Has been cancelled
Code Quality / Build Changed Packages (push) Has been cancelled
Code Quality / Test Changed Packages (push) Has been cancelled
Deploy Expo Example / Deploy Production (push) Has been cancelled
Deploy Ink Example / Deploy Production (push) Has been cancelled
Python Tests / pytest (assistant-stream, 3.10) (push) Has been cancelled
Python Tests / pytest (assistant-stream, 3.12) (push) Has been cancelled
Python Tests / pytest (assistant-ui-sync-server-api, 3.10) (push) Has been cancelled
Python Tests / pytest (assistant-ui-sync-server-api, 3.12) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:40:13 +08:00

22 KiB

@assistant-ui/react-google-adk

0.0.16

Patch Changes

  • #4517 cefcf27 - chore: update dependencies (@okisdev)

  • #4515 f5e94b7 - feat: forward onThreadIdChange through the adapter entry hooks (useLangGraphRuntime, useStreamRuntime, useChatRuntime, useAdkRuntime, useOpenCodeRuntime, usePiRuntime). the option already existed on useRemoteThreadListRuntime but every wrapper dropped it, so routing/persistence built on the settled remote thread id never fired from these hooks. only the settled remote id is emitted; the transient __LOCALID_* placeholder is never surfaced. (@okisdev)

  • #4475 4b22e39 - refactor: adopt the shared createRuntimeExtras helper and move the extras type into types.ts, with no public API or behavior change (@okisdev)

  • #4591 f582f09 - feat: honor startRun false across staged-message-capable runtimes (@Yonom)

  • Updated dependencies [ddc40b7, ea52de0, 29c6fdb, d0987a3, cefcf27, 0c51b90, 3a8f685, ec6adf4, 4acd4c0]:

    • @assistant-ui/core@0.2.19
    • assistant-stream@0.3.24
    • assistant-cloud@0.1.34
    • @assistant-ui/store@0.2.19

0.0.15

Patch Changes

0.0.14

Patch Changes

0.0.13

Patch Changes

  • #4151 299d448 - chore: drop stale biome-ignore pragmas now that the repo lints with oxlint (@okisdev)

  • #4136 4429aa3 - centralize thread-level shared options forwarding across runtime wrapper hooks. follow-up to #4135. (@okisdev)

    new public exports from @assistant-ui/core (re-exported from @assistant-ui/react):

    • ExternalStoreSharedOptions, a typed Pick over ExternalStoreAdapter covering the four thread-level optional fields every wrapper forwards: isDisabled, isSendDisabled, unstable_capabilities, suggestions.
    • pickExternalStoreSharedOptions(options), plucks those four fields from a wider options object. the body uses satisfies Required<...> so adding a key to the type without copying it in the function is a compile error rather than a silent missing-field bug.
    • useExternalStoreSharedOptions(options) (from @assistant-ui/core/react), a memoized variant for wrappers that wrap their store in useMemo. lets the wrapper list a single stable shared reference as a dep instead of enumerating the four fields. same satisfies guard internally so the destructure stays in sync with the type.

    internal: every runtime wrapper hook (useChatRuntime, useAISDKRuntime, useLangGraphRuntime, useA2ARuntime, useAgUiRuntime, useAdkRuntime, useStreamRuntime, useOpenCodeRuntime) now uses these helpers instead of inlining the conditional spreads added in #4135. each wrapper sheds 20 to 40 lines of duplicated declarations and conditional spreads; future additions to the shared option set propagate through a single edit in pickExternalStoreSharedOptions instead of touching every wrapper. no user-facing behavior change.

  • #4135 e7c2396 - align the runtime wrapper hooks so every distribution forwards the same set of optional adapter-level fields to useExternalStoreRuntime. closes #4134. (@okisdev)

    useChatRuntime and useAISDKRuntime (which already accepted suggestions) gain three new options:

    • isDisabled, disables the composer input entirely.
    • isSendDisabled, keeps the input usable but makes send() a no-op (paired with composer.canSend).
    • unstable_capabilities, per-thread capability overrides (currently { copy?: boolean }).

    useLangGraphRuntime, useA2ARuntime, useAgUiRuntime, useAdkRuntime, useStreamRuntime, useOpenCodeRuntime gain all four (the three above plus suggestions).

    adapter-level additions, where missing:

    • useChatRuntime / useAISDKRuntime already accepted dictation and voice through the ExternalStoreAdapter adapter shape; this just confirms the typing.
    • useLangGraphRuntime, useA2ARuntime, useAgUiRuntime, useAdkRuntime, useStreamRuntime, useOpenCodeRuntime now accept dictation and voice in their adapters object and forward them through.
    • useOpenCodeRuntime gains an adapters option for the first time (attachments / speech / dictation / voice / feedback).

    every new field is optional and defaults to the prior behavior, so existing call sites need no changes.

  • #4128 331f2f7 - chore: update dependencies (@Yonom)

  • Updated dependencies [1315789, 299d448, 4429aa3, e76611f, 76f7d16, eef724e, 2dec3ae, fcb6baf, c4d3eea, 331f2f7]:

    • assistant-stream@0.3.18
    • @assistant-ui/core@0.2.8
    • @assistant-ui/store@0.2.13
    • assistant-cloud@0.1.30

0.0.12

Patch Changes

  • #4125 e639a11 - chore: drop tracker-behaviour explainer comments left behind in satellite runtimes (@Yonom)

0.0.11

Patch Changes

  • #3967 0a0c306 - feat(core, react): add MessagePrimitive.GenerativeUI primitive (@samdickson22)

    A new first-class primitive for rendering agent-described React UI from a JSON spec, with a consumer-provided component allowlist as the security boundary.

    The agent emits a new generative-ui message part containing a tree of components by name; MessagePrimitive.GenerativeUI walks the spec and resolves each name against the registry you pass in. Unknown names throw a typed GenerativeUIRenderError (or invoke the optional Fallback). Composes with MessagePrimitive.Parts via the new components.generativeUI option, and supports streaming partial specs.

    <MessagePrimitive.Parts
      components={{
        generativeUI: { components: { Card, Button } },
      }}
    />
    
  • #4085 01244a5 - chore: update dependencies (@Yonom)

  • Updated dependencies [13a12c4, 0a0c306, 6a0ecb2, e4634a5, 325de4c, 01244a5, f2ec01c, 1e21076]:

    • assistant-stream@0.3.16
    • @assistant-ui/core@0.2.5
    • assistant-cloud@0.1.29
    • @assistant-ui/store@0.2.12

0.0.10

Patch Changes

  • Updated dependencies [040d469]:
    • @assistant-ui/core@0.2.0

0.0.9

Patch Changes

0.0.8

Patch Changes

  • #3894 d3380f4 - fix(react-google-adk): add missing DictationAdapter to UseAdkRuntimeOptions (@okisdev)

  • #3905 d0b72cb - fix(react-google-adk): preserve file attachment data on the wire (@okisdev)

    useAdkRuntime.getMessageContent previously collapsed file message parts into a [File: <name>] text marker before sending to ADK, dropping the base64 payload entirely. new file and file_url variants on AdkMessageContentPart carry the binary through AdkClient and useAdkMessages.contentToParts, which serialize them as inlineData and fileData on the wire. inbound, AdkEventAccumulator sniffs MIME type so non-image inlineData produces a file part (rather than being silently coerced into image), and explicitly non-image fileData produces file_url; fileData with no MIME type falls back to image_url to preserve the legacy round-trip. convertAdkMessage maps file to a core FileMessagePart and file_url to a data part named "file_url".

  • Updated dependencies [549037a, 005f83f, 976aec5, 25b97d5, 2008fc9, 88fcd35]:

    • @assistant-ui/core@0.1.16
    • @assistant-ui/store@0.2.9

0.0.7

Patch Changes

  • #3843 c15a958 - fix(react-google-adk): return the ADK session id as remoteId from createAdkSessionAdapter().initialize(). Previously the input threadId (an internal __LOCALID_*) was returned, so later delete(remoteId) calls hit /sessions/__LOCALID_* and 404'd — masked by the adapter's tolerated 404 on delete. (@okisdev)

  • #3876 ce865bc - chore: update dependencies (@Yonom)

  • Updated dependencies [c7a274e, ce865bc, ca8f526, c56f98f, 974d15e, 4b19d42, da0f598, d53ff4f, 20f8404, 17958c9]:

    • @assistant-ui/core@0.1.15
    • assistant-stream@0.3.12
    • assistant-cloud@0.1.27
    • @assistant-ui/store@0.2.8

0.0.6

Patch Changes

  • 147c1b8: fix(react-google-adk): render user-authored events as human messages

    AdkEventAccumulator.processEvent previously routed author: "user" events through getOrCreateAiMessage, producing type: "ai" messages that convertAdkMessage mapped to role: "assistant" — so user text rendered as assistant bubbles. With Workflow agents this caused full multi-turn conversations to merge into a single assistant block. User events now create type: "human" messages, preserving text, inline images, and file references.

  • 9abb15c: fix(react-google-adk): allow HITL interrupt tool UIs to render with requires-action status

    • makeAssistantToolUI for HITL tools (adk_request_input, etc.) can now use status.type === "requires-action" to render input forms
    • Non-HITL final events still receive their manual complete status
  • 4d2531e: fix(react-google-adk): don't auto-cancel HITL interrupts when user sends a new message

    • useAdkRuntime.onNew now filters pending tool calls whose id is tracked in long_running_tool_ids, so ADK HITL interrupts (adk_request_input, adk_request_confirmation, adk_request_credential) are no longer overwritten with {cancelled: true} when the user types a new message
    • Add useAdkSubmitInput(toolCallId, result) to submit the user's answer as a {result} FunctionResponse, matching ADK's unwrap_response contract so Workflow RequestInput nodes resume with the unwrapped value
    • AdkEventAccumulator unions long_running_tool_ids across events instead of replacing, so multiple HITL interrupts in the same turn are all tracked
    • onEdit / onReload / session load paths now reset derived HITL state (longRunningToolIds, toolConfirmations, authRequests, escalated) via a new replaceMessages helper on useAdkMessages, so stale interrupt markers don't leak into the next turn

    Behavior change: HITL interrupts must now be answered through a tool UI using the dedicated submit helpers (useAdkSubmitInput, useAdkConfirmTool, useAdkSubmitAuth). Typing in the composer while an interrupt is pending no longer sends a spurious cancellation.

  • c988db8: chore: update dependencies

  • Updated dependencies [f20b9ca]

  • Updated dependencies [c988db8]

    • @assistant-ui/core@0.1.14
    • assistant-stream@0.3.11
    • assistant-cloud@0.1.26
    • @assistant-ui/store@0.2.7

0.0.5

Patch Changes

  • 376bb00: chore: update dependencies
  • Updated dependencies [42bc640]
  • Updated dependencies [376bb00]
  • Updated dependencies [87e7761]
    • @assistant-ui/core@0.1.13
    • assistant-cloud@0.1.25

0.0.4

Patch Changes

  • 5e23896: fix: skip partial functionCall events in AdkEventAccumulator to prevent incomplete tool calls from hanging the runtime
  • Updated dependencies [de29641]
  • Updated dependencies [a8bf84b]
  • Updated dependencies [5fd5c3d]
  • Updated dependencies [2c5cd97]
  • Updated dependencies [ec50e8a]
    • @assistant-ui/core@0.1.11
    • assistant-stream@0.3.10

0.0.3

Patch Changes

  • bdce66f: chore: update dependencies
  • 209ae81: chore: remove aui-source export condition from package.json exports
  • Updated dependencies [dffb6b4]
  • Updated dependencies [6554892]
  • Updated dependencies [9103282]
  • Updated dependencies [876f75d]
  • Updated dependencies [bdce66f]
  • Updated dependencies [4abb898]
  • Updated dependencies [209ae81]
  • Updated dependencies [2dd0c9f]
  • Updated dependencies [af70d7f]
    • assistant-stream@0.3.9
    • @assistant-ui/core@0.1.10
    • assistant-cloud@0.1.24
    • @assistant-ui/store@0.2.6

0.0.2

Patch Changes

  • 52403c3: chore: update dependencies
  • Updated dependencies [781f28d]
  • Updated dependencies [3227e71]
  • Updated dependencies [3227e71]
  • Updated dependencies [0f55ce8]
  • Updated dependencies [83a15f7]
  • Updated dependencies [52403c3]
  • Updated dependencies [ffa3a0f]
    • @assistant-ui/core@0.1.9
    • assistant-stream@0.3.8
    • assistant-cloud@0.1.23
    • @assistant-ui/store@0.2.5

0.0.1

Patch Changes

  • 69886fd: feat: add Google ADK adapter package
  • Updated dependencies [7ecc497]
    • @assistant-ui/core@0.1.7