[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)

Nov 28

Patch-level updates usually fix specific problems; if the current project does not encounter the corresponding scenario, you can upgrade at your own pace, while if you are being troubled by some edge-case problem, it is worth checking the changelog to confirm whether it has been fixed.

Unverified50%
Nov 28

This release is also associated with changes in ai@7.0.184; in a monorepo or a tightly coupled package ecosystem, a patch is often triggered by changes in an upstream dependency.

Unverified50%
Nov 23

Previously, when users needed to approve or reject a tool call, the TUI interface might not clearly show which piece of tool input the approval decision specifically applied to.

Unverified50%
Nov 23

When tool input is long, requiring scrolling to the end is equivalent to forcing the user to browse through the complete input at least once, thereby making a more informed decision.

Unverified50%
Nov 23

@ai-sdk/tui 1.0.182 fixes the display of approval decisions via commit 2d2fc46, so that the interface clearly shows the tool call input to which the approval decision corresponds.

Unverified50%
Nov 23

@ai-sdk/tui 1.0.182 via commit 25972d7 makes the TUI display tool input and output precisely, and requires users to scroll to the end of the input content before approving the tool input.

Unverified50%
Nov 23

Frequently releasing patch versions (small steps, fast pace) lets fixes reach users sooner and reduces the regression risk of any single upgrade, but the cost is fast-growing version numbers and fragmented changelogs, requiring developers to pay more active attention to dependency version changes.

Unverified70%
Nov 20

For linked upgrades of @ai-sdk/tui and ai, it is recommended to use npm ls ai or pnpm why ai to check the actually resolved version, and to use overrides (npm), resolutions (yarn) or pnpm.overrides to force a unified version.

Unverified50%
Nov 20

@ai-sdk/tui's version number has reached 1.0.179, and combined with GitHub Actions automated releases and linked dependency updates, this indicates that Vercel's maintenance of the AI SDK ecosystem leans toward continuous integration and rapid synchronization rather than accumulating changes for a big centralized major release.

Unverified50%
Nov 20

@ai-sdk/tui 1.0.179 is a low-risk update because it is a patch version number, has no breaking-change declaration, and uses an automated release process.

Unverified50%

40 more timeline events

All Facts (20)

Verified

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

90%
Verified

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

90%
Verified

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

90%
Verified

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

90%
Verified

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

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

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

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.

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 commit hashes involved in this update include 3f6852a, 6317504, 3cb2dcd, and ccf98e7.

80%
Verified

In npm's flattened dependency tree, if the version ranges of @ai-sdk/tui and the ai package directly depended on by the project do not overlap, the package manager may install two copies of ai, resulting in type mismatches, failed instance checks, or streaming objects that cannot interoperate

80%
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.

80%
Verified

@ai-sdk/workflow declares ai as a dependency; when developers install the workflow package, the package manager resolves and pulls a specific version of ai, and this layer is the transitive dependency.

75%
Verified

Upgrading @ai-sdk/xai to 2.0.100 requires no code changes and is an optimization that "works better if installed, and does not error if not installed."

75%

Source Articles