@assistant-ui/cloud-ai-sdk#
0.1.15#
Patch Changes#
0.1.14#
Patch Changes#
-
#3949
b382de0- fix(cloud-ai-sdk): use ai sdk onFinish event for telemetry status instead of message-shape heuristic (@okisdev)extractRunTelemetrypreviously inferred run status by walking message parts and checking for a final text part. when an assistant message ended on an unresolved frontend tool call (e.g.ask_user_questions), the model's turn was reported asstatus: "incomplete"with emptyoutput_text, and the per-assistantMessageIddedupe inCloudTelemetryReporterthen locked that record so the later resubmission carrying the actual text never overwrote it.CloudChatCorenow forwards the ai sdkonFinishevent (finishReason,isAbort,isDisconnect,isError) intoCloudTelemetryReporter.reportFromMessages. status is derived from those signals;length/content-filtermap toincomplete,isError/finishReason: "error"map toerror,stopand terminaltool-callsmap tocompleted. mid-loop checkpoints (finishReason: "tool-calls"withlastAssistantMessageIsCompleteWithToolCallsreturning true) are skipped, so the dedupe slot stays open for the post-resubmit final state.extractRunTelemetrynow uses ai sdk'sisToolUIPart,isStaticToolUIPart,isReasoningUIPart, andgetToolNamehelpers in place of hand-rolled equivalents, and exposes ahasReasoningflag.reportFromMessages's thirdeventargument is optional, so existing callers that only pass(threadId, messages)keep their previous behavior. -
Updated dependencies []:
- assistant-cloud@0.1.27
0.1.13#
Patch Changes#
0.1.12#
Patch Changes#
0.1.11#
Patch Changes#
- c988db8: chore: update dependencies
- Updated dependencies [c988db8]
- assistant-cloud@0.1.26
0.1.10#
Patch Changes#
- 376bb00: chore: update dependencies
- Updated dependencies [376bb00]
- assistant-cloud@0.1.25
0.1.9#
Patch Changes#
- bdce66f: chore: update dependencies
- 209ae81: chore: remove aui-source export condition from package.json exports
- Updated dependencies [bdce66f]
- Updated dependencies [209ae81]
- assistant-cloud@0.1.24
0.1.8#
Patch Changes#
- 52403c3: chore: update dependencies
- Updated dependencies [52403c3]
- assistant-cloud@0.1.23
0.1.7#
Patch Changes#
- 736344c: chore: update dependencies
- c71cb58: chore: update dependencies
0.1.6#
Patch Changes#
- 349f3c7: chore: update deps
- Updated dependencies [349f3c7]
- assistant-cloud@0.1.22
0.1.5#
Patch Changes#
- 57e26d2: chore: update dependencies
0.1.4#
Patch Changes#
- a845911: chore: update dependencies
- Updated dependencies [a845911]
- assistant-cloud@0.1.21
0.1.3#
Patch Changes#
- 17cf9a8: feat(telemetry): add reasoning/cached token usage across cloud reporting paths
- Updated dependencies [17cf9a8]
- assistant-cloud@0.1.20
0.1.2#
Patch Changes#
- 36ef3a2: chore: update dependencies
- 3a39d33: feat(cloud-ai-sdk): add telemetry reporting for chat runs
- Updated dependencies [36ef3a2]
- assistant-cloud@0.1.19
0.1.1#
Patch Changes#
- 93910bd: Rename .tsx files to .ts where no JSX syntax is used
- Updated dependencies [d08a488]
- Updated dependencies [5e304ea]
- Updated dependencies [af5b085]
- Updated dependencies [a247fc9]
- Updated dependencies [93910bd]
- Updated dependencies [58a8472]
- assistant-cloud@0.1.18