Move an app from assistant-cloud 0.1 to the 0.2 line the assistant-ui runtimes depend on, and turn on what 0.2 reports.
@assistant-ui/core and the platform packages built on it, @assistant-ui/react, @assistant-ui/react-native and @assistant-ui/react-ink, depend on assistant-cloud 0.2. An app that still lists assistant-cloud 0.1 in its own package.json installs a second, older copy of the client next to theirs, so update assistant-cloud, your platform package and your integration package together. Then:
- If your route uses the AI SDK, add the
messageMetadatacallback to it; see Run reports. Without it those runs show as No model reported and cannot be priced. - Pass
telemetry: { environment, release }toAssistantCloudso runs can be filtered by deployment. Engagement events are on by default; see Turning telemetry off. - If your server emits OpenTelemetry spans, add the span processor from Traces.
- Review Settings › Access: anonymous sessions and allowed origins are settings, and both default to open.
- If you use
@assistant-ui/cloud-ai-sdk, plan the move: the package is deprecated and gets no further releases; see Migrate from Cloud AI SDK.