Workflows
Typical tasks
The CLI fits reading a project, fixing failing tests, reviewing diffs, and running quality gates such as pnpm verify. The SDK lets AgentHub v0.4.0 manage thread lifecycle, UI state, remote approval, and event delivery through the v4 shared workbench while TokenDanceCode executes runtime, providers, tools, permissions, and transcripts. See the AgentHub docs for approval bridge and event sink architecture.
Isolated changes
Managed worktrees default to .worktrees under the repository root, and names are limited to letters, numbers, dots, underscores, and hyphens. Dirty worktrees preserve local state; coding subagent accept checks user-visible uncommitted target changes before applying diffs.