[KongchangAI]
Productai-sdk/tui / TUI模块

@ai-sdk/tui

A terminal user interface module for the Vercel AI SDK that extends AI SDK capabilities—such as streaming responses and tool calls—into command-line terminal environments. It provides AI-interaction-specific terminal UI components including streaming text output, typewriter effects, and multi-turn conversation state management.

Core Facts

Timeline (last 90 days)

Oct 28

The commit corresponding to this release is a5db0af, and the release notes do not elaborate on specific code change details.

Unverified50%
Oct 28

After upgrading to @ai-sdk/tui 1.0.157, it is recommended to verify that the TUI components work properly with the ai@7.0.156 core package and that terminal rendering and streaming output are consistent with before the upgrade.

Unverified50%
Oct 28

In the AI SDK's modular architecture, UI-layer components (such as TUI) typically depend on the abstract interfaces, streaming response handling, or message protocol definitions provided by the core ai package.

Unverified50%
Oct 27

@ai-sdk/tui increments at the patch position from 1.0.x, which under SemVer conventions means this release contains no breaking changes and introduces no new APIs.

Unverified50%
Oct 27

This information comes from a single RSS source, the release page provides limited description of the version contents, and the analysis of behavioral impact is a reasonable inference based on dependency relationships rather than an explicit statement in the release notes.

Unverified50%
Oct 27

Before upgrading @ai-sdk/tui, one should first review the contents of commit b6b9dca in the ai package, and then assess whether the TUI side needs adaptation.

Unverified50%
Oct 27

When the wrapper-layer TUI and the underlying ai package versions are mismatched, two instances of the same package may appear in the lockfile, which in turn causes problems such as duplicate type definitions or runtime singleton failures.

Unverified50%
Oct 24

The actual resolution result of the dependency tree depends on the lockfile and package manager; if the ai version is already pinned via overrides/resolutions in the project, the upgrade of @ai-sdk/tui may not pull the new core package in sync, causing a version mismatch.

Unverified50%
Oct 24

After upgrading, it is recommended to run npm ls ai to check the actually installed version, ensuring that the TUI layer and the core package are within a compatible range.

Unverified50%
Oct 24

@ai-sdk/tui 1.0.154 upgrades the ai package dependency to version 7.0.153.

Unverified50%

40 more timeline events

All Facts (20)

Verified

The sole change in @ai-sdk/workflow 2.0.68 is upgrading the core dependency ai to 7.0.136.

90%
Verified

The main changes in @ai-sdk/togetherai@3.0.51 are focused on dependency upgrades and contain no breaking changes.

90%
Verified

Patch-level updates generally do not introduce breaking changes and can typically be applied directly without modifying existing code.

90%
Verified

The core change in @ai-sdk/tui@1.0.100 is an update to dependencies, with the associated commit being 615ac89.

90%
Verified

A patch version update (1.0.104 → 1.0.105) signifies backward-compatible bug fixes or dependency updates, without introducing breaking changes.

90%
Verified

This release record was completed by a GitHub Actions automated workflow and carries an official GitHub verified signature (Verified).

90%
Verified

@ai-sdk/svelte@4.0.276 depends on the ai@6.0.276 core package.

90%
Verified

@ai-sdk/tui is the TUI (Terminal User Interface) module in the Vercel AI SDK, extending AI SDK capabilities to command-line terminal environments.

90%
Verified

The upgrade method is to run npm install @ai-sdk/openai@4.0.60.

90%
Verified

@ai-sdk/zai@3.0.8 introduces no breaking changes and no new features.

90%
Verified

The Vercel AI SDK adopts a Monorepo single-repository management model, with the core package ai and various framework adapter packages (such as @ai-sdk/vue, @ai-sdk/react, and @ai-sdk/svelte) released in coordination.

90%
Verified

The versions of @ai-sdk/vue framework adapter packages are closely linked with the core ai package, and when the core package is updated, each adapter package releases a corresponding patch.

85%
Verified

This update upgrades the dependency ai to 7.0.102 and @ai-sdk/provider-utils to 5.0.41.

80%
Verified

There is tight coupling between @ai-sdk/tui and the core ai package; the TUI layer needs to be updated in sync with interface changes in the core SDK, directly consuming the core SDK's type definitions and runtime capabilities.

75%
Verified

If the versions of @ai-sdk/vue and ai in a project are not aligned, type mismatches or runtime behavior differences may occur.

75%
Verified

For projects using loose dependency pinning such as ^1.0.0, performing a regular package manager update is enough to obtain version 1.0.151.

75%
Verified

In the AI SDK's layered design, the core package ai provides framework-agnostic capabilities (model invocation, streaming response parsing, tool call orchestration, message state management, etc.).

75%
Verified

The core ai package provides unified underlying capabilities including model invocation, streaming processing, and tool calling.

75%
Verified

The commit hashes involved in this update include 3f6852a, 6317504, 3cb2dcd, and ccf98e7.

75%
Verified

Upgrading to @ai-sdk/voyage 2.0.44 is generally a low-risk operation and will not change existing calling patterns.

75%

Source Articles