assistant-cloud#
0.2.7#
Patch Changes#
- #9175
2c10bb1- fix(cloud): reject stale run streaming auth headers (@rupic-app)
0.2.6#
Patch Changes#
-
#8519
a32e7a8- fix: add explicit browser authentication invalidation for session changes (@Kinfe123) -
#9119
7886e77- fix(cloud): normalize trailing slashes in the base URL the same way for auth requests and trace export (@okisdev) -
#9160
34fa2b6- refactor(cloud): build request and run streaming headers in one place (@okisdev) -
Updated dependencies [
606bc2d,c5a635a,2252059,2abd1e0,2ed2043,ae487aa,01ac83d,8c32dea,0a3ca24,ee517fb,081a239,542d871,e79cdd4,41344cb,e8620c1,3b7b337]:- assistant-stream@0.3.49
0.2.5#
Patch Changes#
- #8507
098c140- chore: update dependencies (@Yonom) - Updated dependencies [
6b7df95,098c140]:- assistant-stream@0.3.47
0.2.4#
Patch Changes#
-
#8406
cec9fd4- fix: markfiles.pdfToImagesdeprecated, since Assistant Cloud has no/v1/files/pdf-to-imagesroute and every call answers 404 (@okisdev) -
#8405
f0a0488- fix:threads.createacceptsupsert, so a server can create or find the thread for anexternal_idwithout a cast (@okisdev) -
Updated dependencies [
b1a3211,ce5b7ed]:- assistant-stream@0.3.46
0.2.3#
Patch Changes#
-
#7637
b4f5153- fix: useCloudRuntime sends the active Cloud thread id, including on the first run of a new thread, and pins the ui message stream protocol (@rupic-app) -
#7822
9f286dc- fix: report cloud engagement events once per thread list instead of once per mounted thread, keep counting a run that ends while its thread is in the background, and let an engagement id resolver decline an event for a thread it does not know (@okisdev) -
#8023
920422c- fix: retry transient engagement event delivery failures (@Kinfe123) -
#7898
40ba7f0- fix(cloud): summarize base64 blocks inside an MCPCallToolResultinstead of shipping them raw (@Kinfe123) -
#7643
b649669- fix: expose caller-supplied cost, attributes, and root span fields on run reports (@Young7117) -
#7823
0ce62a8- fix: accept a step input and every run outcome type on run reports (@okisdev) -
#7889
5d33fca- fix(cloud): measure a send's idle time from a stopped run instead of the last completed one (@Kinfe123) -
#8026
92d16d7- fix: stop pending engagement event retries when telemetry is disabled (@Kinfe123) -
#8338
d403574- feat: LangGraph, LangChain, Google ADK and custom external store runtimes under a cloud thread list now store a copy of their settled messages in Assistant Cloud by default, keyed by their backend's message ids, so the dashboard shows the transcript and feedback can rate it; tool interactions recorded in their tool UIs are kept on the copy instead of throwing. a message the cloud refuses, such as one over the size limit, is skipped with a console warning and the later messages are still copied, while a thread it refuses as a whole (deleted, its end user past the plan cap, or refused twice before any message was accepted) stops being copied with one warning.telemetry: { messages: false }on theAssistantCloudclient keeps the copy out, and tool interactions then throw as before. a stored user message counts its end user toward the project's monthly active users. (@okisdev) -
Updated dependencies [
9619b42,dcd43fd,e046327,e525f14,4b069f9]:- assistant-stream@0.3.45
0.2.2#
Patch Changes#
-
#7120
69c3d0f- docs: enable the AI SDK OpenTelemetry integration in the README telemetry recipe, so a route that follows it emits spans (@rupic-app) -
#7709
2caa1ce- feat: message feedback accepts an optional comment and Assistant Cloud stores it (@okisdev) -
#7694
5c55222- fix: reject non-finite numeric event properties before serialization (@Kinfe123) -
#7373
479d6a3- fix: allow keyed run reports to retry after rate limiting (@Kinfe123) -
Updated dependencies [
562e495,99c9988,37a5a95,b7f9a96,408d5f4,70b633f]:- assistant-stream@0.3.44
0.2.1#
Patch Changes#
-
#7199
79c2219- fix: avoid caching malformed rotated JWTs (@Kinfe123) -
#7391
f0bbcec- fix(cloud): ignore whitespace-only generated thread titles (@Kinfe123) -
#7264
4619335- docs: clarify that run telemetry can include assistant output and tool data (@Kinfe123) -
#7234
e54bf9a- feat: addCloudRunReporter,CloudEngagementReporter,RunMessageTelemetryand theassistant-cloud/ai-sdkentry (aiSDKV6FormatAdapter,extractAISDKRunTelemetry), which listsaias an optional peer and needs no runtime from it (@okisdev) -
#7256
c083236- fix: prevent pending history loads from restoring message mappings after reset. (@Kinfe123) -
#7310
3cd7700- fix: preserve cloud message parts and track tool approvals (@okisdev) -
#7244
617bbf9- docs: rewrite the jsdoc of CloudMessagePersistence and createFormattedPersistence so the generated package reference reads without the retired hook (@okisdev) -
#7343
37bd676- fix: preserve successful MCP sampling responses when metrics callbacks throw or reject. Report callback errors without delaying the response or masking model failures. (@Kinfe123) -
#7269
de6d6b7- fix: stop sending queued engagement events after telemetry is disabled (@Kinfe123) -
#7236
063b9ec- feat: send theAui-Sdkheader on every request, naming the client version and the integrations registered throughregisterSdk(@okisdev) -
#7288
f03be0c- fix: keep an append's remote ID inCloudMessagePersistencewhen a history load returns the same message ID (@rupic-app) -
Updated dependencies [
628df88,ed77e95,f6f52cd,790217b,dacfcec,c0d6150,275eeb9,e57c33f,e533f6b,28691a5]:- assistant-stream@0.3.43
0.2.0#
Minor Changes#
-
#7115
4767a92- feat: align the cloud SDK with Assistant Cloud 0.2 (@okisdev)- run reports now carry
provider,outcome_type(aborted,disconnected,length,content_filter),error_codeanderror,message_id,first_token_ms,duration_ms, afinish_reasonper step fromuseCloudChatandtrace_id, plusenvironment,releaseandtagsfrom thetelemetryconfig; onecreateRunReportbuilder inassistant-cloudassembles the body for the assistant-ui runtime and for@assistant-ui/cloud-ai-sdk, andprovider_typeandmetadatastay on the wire for older self hosted clouds assistant-cloud/telemetry(server side):createAssistantCloudTraceExporter,createAssistantCloudSpanProcessor,assistantCloudTraceMetadataandwithAssistantCloudTraceMetadatasend AI SDK GenAI spans toPOST /v1/tracesand hand the trace id to the browser, so a client report and its server spans merge into one run; the OpenTelemetry packages are optional peers of the subpath only- engagement events: sends, edits, stops, regenerates, copies, branch switches, suggestions, attachments, thread switches, speech, voice and shown errors are batched to
POST /v1/eventswithout any message content;telemetry.events: falseopts out cloud.scores.createfor custom scores, and message feedback throughuseCloudChat().feedbacknext to the assistant-uiFeedbackAdaptercloud.files.generatePresignedDownloadUrland the objectkeyon upload responsesCloudAPIError.codeanddetails, includingplan_limit_reachedon a 402@assistant-ui/corerequiresassistant-cloud@^0.2.0, and its store emits the composer, message and thread events the engagement reporter reads
- run reports now carry
Patch Changes#
-
#6815
c9e03ef- feat: submit feedback for cloud-persisted thread messages (@okisdev) -
#6963
71cc3ff- fix: page the cloud thread message list so threads longer than 200 messages reload in full (@okisdev) -
#6843
24a288e- feat(cloud): claim anonymous threads into a signed-in workspace by exposing the browser's anonymous refresh token and moving its threads into an authenticated Assistant Cloud workspace after sign-in. (@okisdev) -
#6973
27a3442- fix: support message IDs that match object prototype properties (@Kinfe123) -
#6964
a05828f- fix: resolve run telemetry model IDs from per-step response metadata (@okisdev) -
Updated dependencies [
3bcd6db,a16b990,253c80d,e6158c8,623d5ff,07eeb54,12c5447,9b9d5e9,afac9e0,4cdcabb,23d2865,b505555,01fdd4b,59a8251]:- assistant-stream@0.3.42
0.1.43#
Patch Changes#
-
#6472
99fd86e- fix: coordinate anonymous authentication across Cloud client instances (@Kinfe123) -
#6487
7f7bd54- fix: coordinate anonymous authentication across browser tabs (@rupic-app) -
#6626
5972a5e- fix: deduplicate concurrent message appends while parent persistence is pending (@Kinfe123) -
#6502
d9eae73- fix: abort Cloud authentication token requests after their deadline (@Kinfe123) -
#6701
d56a66a- fix: report cached and reasoning tokens from the AI SDK v7 token details (@okisdev) -
Updated dependencies [
46fad14,f0d0aa2,5bdd416,e53299b]:- assistant-stream@0.3.41
0.1.42#
Patch Changes#
-
#6255
0f0ebb6- fix: surface the response text when a JSON error body has no message (@Kinfe123) -
#6262
5a3e9f7- refactor: move the run report tool call shape and its serialization into assistant-cloud (@okisdev) -
#6254
d24bcb2- fix: keep telemetry enabled when config carries an undefined enabled (@Kinfe123) -
#6340
7adf047- refactor: provide thread title generation from assistant-cloud; cloud-ai-sdk keeps only the format-specific half. (@okisdev) -
#6264
1743d19- fix: clamp pre-serialized run telemetry arguments (@rupic-app) -
Updated dependencies [
8626c1f,531f61a,dfaa94f,a4bc54a,fd471e9,ac7ec15,e96d3de,f96e22f,bfc8bef,2cd5cbc,105af3e,4c3194a]:- assistant-stream@0.3.40
0.1.41#
Patch Changes#
-
#5953
bd01e8b- fix: scope anonymous refresh tokens by Cloud backend (@Kinfe123) -
#5984
4a2a76f- fix: validate file API responses before returning them to consumers (@Kinfe123) -
#5941
04e967c- fix: preserve anonymous identities when token refresh fails transiently (@Kinfe123) -
#5997
d79b87d- fix: validate auth token responses (@rupic-app) -
#5954
645c56b- fix: validate Cloud run stream response bodies and content types (@Kinfe123) -
#5738
72a6272- fix: validate thread, message, and run IDs returned by Cloud mutations (@Kinfe123) -
Updated dependencies [
0e91e27,c5bc8ed,f0d1d48,ab7f49f,61d29f4,a2ab997,e8997d9,44e574f,14c3b5a]:- assistant-stream@0.3.38
0.1.40#
Patch Changes#
- #5715
8bba3aa- fix: include archived Cloud threads when requested and preserve archive filters (@Kinfe123)
0.1.39#
Patch Changes#
0.1.38#
Patch Changes#
-
#5555
6c062f1- fix: validate successful anonymous authentication responses before use (@Kinfe123)Malformed successful responses now throw a
CloudResponseErrorinstead of persisting invalid refresh-token data or failing during JWT parsing. -
Updated dependencies [
78943a3]:- assistant-stream@0.3.33
0.1.37#
Patch Changes#
-
#5208
a0ddc86- AdopterasableSyntaxOnly; public enums are nowas constobjects. (@Yonom) -
Updated dependencies [
f9c1b0f,235c17e,a0ddc86,06f5266,d319637]:- assistant-stream@0.3.28
0.1.36#
Patch Changes#
-
#5126
0d0834d- fix: refresh Cloud history persistence when the Cloud client changes (@Kinfe123) -
#5157
3f90440- fix: deduplicate concurrent Cloud authentication requests (@Kinfe123) -
#4846
ccebbf9- fix: normalize Cloud base URLs across authentication modes (@Kinfe123) -
#4773
85d7c25- feat: add cloud.projects.threads.list() and cloud.projects.threads.messages.list() for project-wide thread and message export (@ShobhitPatra) -
#5017
23a9925- fix: thread and message responses are now decoded to match their published types (@Kinfe123)- timestamps are real
Dateobjects (previously raw strings at runtime) threads.get()returns the thread (previously the raw{ thread }envelope)- malformed responses now throw instead of passing through
- timestamps are real
-
#5058
7fde141- fix(assistant-cloud): warn when an update targets a message without a remote id (@okisdev) -
Updated dependencies [
8630186,446a118,a081656,25a5be0,47562fd,5e4dd9f,5da0d93,85d4976,5135400,9a343db,666aaab,ba948d8,44aac58,9402648,4651ea5,2bc6798]:- assistant-stream@0.3.27
0.1.35#
Patch Changes#
-
#4732
0ea628f- feat: expose CloudAPIError with the HTTP status on failed requests (@ShobhitPatra) -
#4870
7cf5acc- fix: guard localStorage access in anonymous auth strategy (@okisdev) -
#4811
7a85307- fix: handle empty successful Cloud API responses (@Kinfe123) -
#4807
e4da8c5- fix: await auth headers when initializing Assistant Cloud auth (@Kinfe123) -
Updated dependencies [
43b8ce8,1e926b6,d6c7571,4d7a447,ca751f4,38bf104,19b2a00,0686f4e,c2d2271,84e8ddf,d03e5cf,5325f09]:- assistant-stream@0.3.26
0.1.34#
Patch Changes#
0.1.33#
Patch Changes#
0.1.32#
Patch Changes#
0.1.31#
Patch Changes#
0.1.30#
Patch Changes#
0.1.29#
Patch Changes#
0.1.28#
Patch Changes#
-
#4041
845c7c1- feat(cloud): allow custombaseUrlwith API key auth. Previously the apiKey config branch hard-codedhttps://backend.assistant-api.com; you can now passbaseUrlto point an apiKey-authenticatedAssistantCloudat a self-hosted or staging backend. (@okisdev) -
Updated dependencies [
94548fa]:- assistant-stream@0.3.15
0.1.27#
Patch Changes#
0.1.26#
Patch Changes#
- c988db8: chore: update dependencies
- Updated dependencies [c988db8]
- assistant-stream@0.3.11
0.1.25#
Patch Changes#
- 376bb00: chore: update dependencies
0.1.24#
Patch Changes#
- bdce66f: chore: update dependencies
- 209ae81: chore: remove aui-source export condition from package.json exports
- Updated dependencies [dffb6b4]
- Updated dependencies [9103282]
- Updated dependencies [bdce66f]
- Updated dependencies [209ae81]
- assistant-stream@0.3.9
0.1.23#
Patch Changes#
- 52403c3: chore: update dependencies
- Updated dependencies [3227e71]
- Updated dependencies [52403c3]
- assistant-stream@0.3.8
0.1.22#
Patch Changes#
- 349f3c7: chore: update deps
- Updated dependencies [427ffaa]
- Updated dependencies [349f3c7]
- Updated dependencies [02614aa]
- assistant-stream@0.3.6
0.1.21#
Patch Changes#
- a845911: chore: update dependencies
0.1.20#
Patch Changes#
- 17cf9a8: feat(telemetry): add reasoning/cached token usage across cloud reporting paths
0.1.19#
Patch Changes#
- 36ef3a2: chore: update dependencies
- Updated dependencies [36ef3a2]
- assistant-stream@0.3.4
0.1.18#
Patch Changes#
-
d08a488: Preserve CloudAPIError instances from AssistantCloudAPI error responses.
-
5e304ea: feat: client-side run telemetry reporting with
beforeReporthook -
af5b085: feat(assistant-cloud): support MCP tool observability
-
a247fc9: feat(assistant-cloud): allow save complete multi-step message
-
93910bd: Rename .tsx files to .ts where no JSX syntax is used
-
58a8472: feat: Add standalone AI SDK hooks for cloud persistence without assistant-ui
New
@assistant-ui/cloud-ai-sdkpackage withuseCloudChatanduseThreadshooks. Wraps AI SDK'suseChatwith automatic message persistence, thread management, and auto-title generation. -
Updated dependencies [61b54e9]
-
Updated dependencies [93910bd]
- assistant-stream@0.3.3
0.1.17#
Patch Changes#
- a088518: chore: update dependencies
- Updated dependencies [a088518]
- assistant-stream@0.3.2
0.1.16#
Patch Changes#
- d45b893: chore: update dependencies
- Updated dependencies [d45b893]
- assistant-stream@0.3.1
0.1.15#
Patch Changes#
- Updated dependencies [acbaf07]
- assistant-stream@0.3.0
0.1.14#
Patch Changes#
- 605d825: chore: update dependencies
- Updated dependencies [605d825]
- assistant-stream@0.2.48
0.1.13#
Patch Changes#
- 3719567: chore: update deps
- Updated dependencies [3719567]
- assistant-stream@0.2.47
0.1.12#
Patch Changes#
- 57bd207: chore: update dependencies
- cce009d: chore: use tsc for building packages
- Updated dependencies [57bd207]
- Updated dependencies [cce009d]
- assistant-stream@0.2.46
0.1.11#
Patch Changes#
- e8ea57b: chore: update deps
- Updated dependencies [e8ea57b]
- assistant-stream@0.2.45
0.1.10#
Patch Changes#
- 01c31fe: chore: update dependencies
- Updated dependencies [01c31fe]
- assistant-stream@0.2.43
0.1.9#
Patch Changes#
- ec662cd: chore: update dependencies
- Updated dependencies [ec662cd]
- assistant-stream@0.2.42
0.1.8#
Patch Changes#
- 2c33091: chore: update deps
- Updated dependencies [2c33091]
- assistant-stream@0.2.41
0.1.7#
Patch Changes#
- 4e3877e: feat: Add thread fetching capability to remote thread list adapter
- Add
fetchmethod toRemoteThreadListAdapterinterface - Implement
fetchin cloud adapter to retrieve individual threads - Enhance
switchToThreadto automatically fetch and load threads not present in the current list - Add
getmethod toAssistantCloudThreadsfor individual thread retrieval
- Add
0.1.6#
Patch Changes#
- 2fc7e99: chore: update deps
- Updated dependencies [2fc7e99]
- assistant-stream@0.2.39
0.1.5#
Patch Changes#
- 953db24: chore: update deps
- Updated dependencies [953db24]
- assistant-stream@0.2.37
0.1.4#
Patch Changes#
- chore: update deps
- Updated dependencies
- assistant-stream@0.2.36
0.1.3#
Patch Changes#
- e6a46e4: chore: update deps
- Updated dependencies [e6a46e4]
- assistant-stream@0.2.34
0.1.2#
Patch Changes#
- 8812f86: chore: update deps
- Updated dependencies [8812f86]
- assistant-stream@0.2.30
0.1.1#
Patch Changes#
- 12e0a77: chore: update deps
- Updated dependencies [12e0a77]
- assistant-stream@0.2.23
0.1.0#
Minor Changes#
- 179f8b7: Add format parameter support to assistant-cloud client library
- Add optional
formatquery parameter toAssistantCloudThreadMessages.list()method - Update cloud history adapter to pass format parameter when loading messages
- Enables backend-level message format conversion when supported by the cloud backend
- Add optional
0.0.4#
Patch Changes#
- 0f063e0: chore: update dependencies
- Updated dependencies [0f063e0]
- assistant-stream@0.2.22
0.0.3#
Patch Changes#
- 65b3ff1: chore: update deps
- Updated dependencies [65b3ff1]
- assistant-stream@0.2.18
0.0.2#
Patch Changes#
- 644abb8: chore: update deps
- Updated dependencies [644abb8]
- assistant-stream@0.2.17