19 KiB
@assistant-ui/react-a2a
0.2.21
Patch Changes
-
#4473
19d2752- refactor: adopt the shared createRuntimeExtras helper and move the accessor hooks and option/extras types into hooks.ts and types.ts, with no public API or behavior change (@okisdev) -
Updated dependencies [
ddc40b7,ea52de0,29c6fdb,d0987a3,cefcf27,0c51b90,3a8f685,ec6adf4,4acd4c0]:- @assistant-ui/core@0.2.19
- @assistant-ui/store@0.2.19
0.2.20
Patch Changes
-
#4414
344f737- chore: importgenerateIdandfromThreadMessageLikefrom the public@assistant-ui/coreentry instead of/internal(@okisdev)no behavior change; these utilities are now part of the public API.
-
Updated dependencies [
344f737,a2e21ee]:- @assistant-ui/core@0.2.17
0.2.19
Patch Changes
-
Updated dependencies [
2a84174,a0a0769,19c5b5f,dbdfb15,ca191dc,15878d8,44ff4bf,01cf957,26a365b]:- @assistant-ui/core@0.2.11
- @assistant-ui/store@0.2.14
0.2.18
Patch Changes
-
Updated dependencies [
4145caa,5fe118d,dcd5897,0558db2,69540af,d9b3119,ae54c55,7640b31]:- @assistant-ui/core@0.2.10
0.2.17
Patch Changes
-
#4138
bbc705e- addfetchOptionspassthrough onA2AClientanduseA2ARuntimeso callers can forwardcredentials,cache,mode,keepalive, etc. to the underlying fetch. (@sdg9670f)const runtime = useA2ARuntime({ baseUrl: "https://my-agent.example.com", fetchOptions: { credentials: "include" }, });headers,body,method, andsignalstay internally managed: the four fields are stripped at construction time and cannot leak through even if a caller bypasses the type with anas RequestInitcast. -
#4158
45fec23- fix(react-a2a): sendpartson the wire per A2A v1.0 spec. (@ShobhitPatra) -
#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 typedPickoverExternalStoreAdaptercovering 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 usessatisfies 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 inuseMemo. lets the wrapper list a single stablesharedreference as a dep instead of enumerating the four fields. samesatisfiesguard 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 inpickExternalStoreSharedOptionsinstead 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 touseExternalStoreRuntime. closes #4134. (@okisdev)useChatRuntimeanduseAISDKRuntime(which already acceptedsuggestions) gain three new options:isDisabled, disables the composer input entirely.isSendDisabled, keeps the input usable but makessend()a no-op (paired withcomposer.canSend).unstable_capabilities, per-thread capability overrides (currently{ copy?: boolean }).
useLangGraphRuntime,useA2ARuntime,useAgUiRuntime,useAdkRuntime,useStreamRuntime,useOpenCodeRuntimegain all four (the three above plussuggestions).adapter-level additions, where missing:
useChatRuntime/useAISDKRuntimealready accepteddictationandvoicethrough theExternalStoreAdapteradapter shape; this just confirms the typing.useLangGraphRuntime,useA2ARuntime,useAgUiRuntime,useAdkRuntime,useStreamRuntime,useOpenCodeRuntimenow acceptdictationandvoicein theiradaptersobject and forward them through.useOpenCodeRuntimegains anadaptersoption 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.
-
Updated dependencies [
1315789,299d448,4429aa3,e76611f,76f7d16,eef724e,2dec3ae,fcb6baf]:- @assistant-ui/core@0.2.8
- @assistant-ui/store@0.2.13
0.2.16
Patch Changes
-
Updated dependencies [
0a0c306,6a0ecb2,e4634a5,325de4c,01244a5,f2ec01c,1e21076]:- @assistant-ui/core@0.2.5
- @assistant-ui/store@0.2.12
0.2.15
Patch Changes
-
#4060
a84898d- Update link to a2a overview (@LGmatrix13) -
Updated dependencies [
db721df,94548fa,94548fa,8b6fc88,179895f,7a8bf26,3b2bbce]:- @assistant-ui/store@0.2.11
- @assistant-ui/core@0.2.3
0.2.14
Patch Changes
- Updated dependencies [
040d469]:- @assistant-ui/core@0.2.0
0.2.13
Patch Changes
-
Updated dependencies [
7098bab,b090acb,5fdf17e]:- @assistant-ui/core@0.1.18
- @assistant-ui/store@0.2.10
0.2.12
Patch Changes
-
#3831
d53ff4f- chore: remove decorative separator comments across packages (@okisdev) -
Updated dependencies [
c7a274e,ce865bc,ca8f526,c56f98f,974d15e,4b19d42,da0f598,d53ff4f,20f8404,17958c9]:- @assistant-ui/core@0.1.15
- @assistant-ui/store@0.2.8
0.2.11
Patch Changes
- c988db8: chore: update dependencies
- Updated dependencies [f20b9ca]
- Updated dependencies [c988db8]
- @assistant-ui/core@0.1.14
- @assistant-ui/store@0.2.7
0.2.10
Patch Changes
- 376bb00: chore: update dependencies
- Updated dependencies [42bc640]
- Updated dependencies [87e7761]
- @assistant-ui/core@0.1.13
0.2.9
Patch Changes
- 3344084: fix(react-a2a): align wire format with A2A v1.0 proto spec
- bdce66f: chore: update dependencies
- 209ae81: chore: remove aui-source export condition from package.json exports
- 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-ui/core@0.1.10
- @assistant-ui/store@0.2.6
0.2.8
Patch Changes
- 52403c3: chore: update dependencies
- Updated dependencies [781f28d]
- Updated dependencies [3227e71]
- Updated dependencies [0f55ce8]
- Updated dependencies [83a15f7]
- Updated dependencies [52403c3]
- Updated dependencies [ffa3a0f]
- @assistant-ui/core@0.1.9
- @assistant-ui/store@0.2.5
0.2.7
Patch Changes
- a1b68b1: rewrite to align with A2A v1.0 protocol specification
- Updated dependencies [7ecc497]
- @assistant-ui/core@0.1.7
0.2.6
Patch Changes
- 349f3c7: chore: update deps
- 619d923: Depend on @assistant-ui/core instead of @assistant-ui/react
- Updated dependencies [1ed9867]
- Updated dependencies [427ffaa]
- Updated dependencies [349f3c7]
- Updated dependencies [02614aa]
- Updated dependencies [6cc4122]
- Updated dependencies [642bcda]
- @assistant-ui/core@0.1.6
- assistant-stream@0.3.6
- @assistant-ui/store@0.2.3
0.2.5
Patch Changes
- 36ef3a2: chore: update dependencies
- Updated dependencies [36ef3a2]
- Updated dependencies [6692226]
- Updated dependencies [c31c0fa]
- Updated dependencies [1672be8]
- Updated dependencies [28f39fe]
- Updated dependencies [3a1cb66]
- Updated dependencies [14769af]
- Updated dependencies [7c360ce]
- Updated dependencies [a638f05]
- Updated dependencies [8a78cd2]
- assistant-stream@0.3.4
- @assistant-ui/react@0.12.12
0.2.4
Patch Changes
- a088518: chore: update dependencies
- Updated dependencies [a088518]
- Updated dependencies [d8122cc]
- assistant-stream@0.3.2
- @assistant-ui/react@0.12.9
0.2.3
Patch Changes
- d45b893: chore: update dependencies
- Updated dependencies [d45b893]
- Updated dependencies [fe71bfc]
- assistant-stream@0.3.1
- @assistant-ui/react@0.12.5
0.2.2
Patch Changes
- Updated dependencies [07d1c65]
- Updated dependencies [b591d72]
- Updated dependencies [59a338a]
- Updated dependencies [acbaf07]
- Updated dependencies [c665612]
- Updated dependencies [0371d72]
- Updated dependencies [e8b3f34]
- @assistant-ui/react@0.12.3
- assistant-stream@0.3.0
0.2.1
Patch Changes
- 605d825: chore: update dependencies
- Updated dependencies [1ea3e28]
- Updated dependencies [8cbf686]
- Updated dependencies [a8be364]
- Updated dependencies [605d825]
- @assistant-ui/react@0.12.2
- assistant-stream@0.2.48
0.1.6
Patch Changes
- 3719567: chore: update deps
- Updated dependencies [3719567]
- assistant-stream@0.2.47
- @assistant-ui/react@0.11.58
0.1.5
Patch Changes
- 57bd207: chore: update dependencies
- cce009d: chore: use tsc for building packages
- Updated dependencies [57bd207]
- Updated dependencies [cce009d]
- assistant-stream@0.2.46
- @assistant-ui/react@0.11.53
0.1.4
Patch Changes
- e8ea57b: chore: update deps
- Updated dependencies [bae3aa2]
- Updated dependencies [e8ea57b]
- @assistant-ui/react@0.11.50
- assistant-stream@0.2.45
0.1.3
Patch Changes
- 01c31fe: chore: update dependencies
- Updated dependencies [ba26b22]
- Updated dependencies [d169e4f]
- Updated dependencies [da9f8a6]
- Updated dependencies [01c31fe]
- @assistant-ui/react@0.11.48
- assistant-stream@0.2.43
0.1.2
Patch Changes
- ec662cd: chore: update dependencies
- Updated dependencies [ec662cd]
- assistant-stream@0.2.42
- @assistant-ui/react@0.11.45
0.1.1
Patch Changes
- 2c33091: chore: update deps
- Updated dependencies [2c33091]
- assistant-stream@0.2.41
- @assistant-ui/react@0.11.40