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