Skip to content
Star

Stability and compatibility

Check the SDK versions used by the examples and plan upgrades.

What the examples verify

Ghost provides React views, optional SDK adapters, and normalizers for native data. Several server frameworks can use the same protocol and React client. Keep native features such as branches and checkpoints on the SDK when they need more than a shared chat command.

The examples compile against the packaged Ghost UI and the versions below. Tests exercise SDK clients and streams with local fixtures. Check your own server, credentials, and network settings separately.

Checked versions

Install the listed packages for your recipe, plus the Ghost view dependencies. The optional SDKs are separate installs.

Upgrade an SDK

Keep the last working lockfile. Upgrade one integration at a time, and compile it with the adapter. Test streaming updates, cancellation, failed sends, and any approvals or attachments your product uses. Check the SDK’s migration guide for server and protocol changes.

  • TanStack v1. Upgrade the server and client together, then switch to bound interrupts. See Upgrade from TanStack 0.x.
  • Vercel AI SDK. The hook recipe checks v7. Check upstream compatibility for v5 and v6. Use the legacy decoder for v4 streams.
  • A2A. The examples target v1. Use the SDK’s separate compatibility API for v0.3.
  • Eve and Claude Managed Agents. The examples use a release candidate and a beta API, respectively. Check their release notes before upgrading.

Use native SDK features

Use native SDK APIs for new capabilities before adding a Ghost abstraction. Project known content and retain an explicit unknown/data representation for the rest. Add a Ghost command only when its identity, lifecycle and failure meaning can be stated without losing native behavior. See adapters and threads.