Skip to content

feat(cli): unify plan and dev output presentation - #1458

Merged
BlankParticle merged 3 commits into
mainfrom
t3code/fix-profile-view-resize
Sep 3, 2026
Merged

BlankParticle merged 3 commits into
mainfrom
t3code/fix-profile-view-resize

Conversation

@BlankParticle

@BlankParticle BlankParticle commented Sep 2, 2026 •

Copy link
Copy Markdown
Member

Summary

Unify plan review, apply progress, and dev output around one composable terminal presentation.

  • Render review, approval, deploy, destroy, and dev plans through a shared reactive PlanTree.
  • Keep resource totals at the top, bounded or virtualized plan content in the middle, and operation progress or controls at the bottom.
  • Include binding work in progress and failure totals without counting unchanged binding details as resources.
  • Support detailed property output, active-work following, arrow-key scrolling, and switchable Plan and Output views.
  • Keep ordinary dev logs in scrollback while changing output stays inside a hideable live widget.
  • Render stack outputs through the CLI view system so ANSI colors and long lines are preserved.
  • Improve terminal input, resize handling, and delayed shutdown feedback.
  • Bind each dev apply widget to its generation scope so reload or Ctrl+C removes it before the next widget starts.

Result

Every command now presents plans with the same structure, and each dev generation owns exactly one live widget without sacrificing terminal scrollback.

@alchemy-version-bot

alchemy-version-bot Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Install the packages built from this commit:

Alchemy

alchemy

bun add https://pkg.ing/alchemy/1c10b83

@alchemy.run/better-auth

bun add https://pkg.ing/@alchemy.run/better-auth/1c10b83

@alchemy.run/cloudflare-runtime

bun add https://pkg.ing/@alchemy.run/cloudflare-runtime/1c10b83

@alchemy.run/frontend-frameworks

bun add https://pkg.ing/@alchemy.run/frontend-frameworks/1c10b83

@alchemy.run/node-utils

bun add https://pkg.ing/@alchemy.run/node-utils/1c10b83

@alchemy.run/pr-package

bun add https://pkg.ing/@alchemy.run/pr-package/1c10b83

@alchemy.run/floci

bun add https://pkg.ing/@alchemy.run/floci/1c10b83

Distilled

@distilled.cloud/core

bun add https://pkg.ing/@distilled.cloud/core/cb11c5b

@distilled.cloud/aws

bun add https://pkg.ing/@distilled.cloud/aws/cb11c5b

@distilled.cloud/axiom

bun add https://pkg.ing/@distilled.cloud/axiom/cb11c5b

@distilled.cloud/cloudflare

bun add https://pkg.ing/@distilled.cloud/cloudflare/cb11c5b

@distilled.cloud/hetzner

bun add https://pkg.ing/@distilled.cloud/hetzner/cb11c5b

@distilled.cloud/neon

bun add https://pkg.ing/@distilled.cloud/neon/cb11c5b

@distilled.cloud/planetscale

bun add https://pkg.ing/@distilled.cloud/planetscale/cb11c5b

@BlankParticle BlankParticle changed the title feat(cli): unify interactive plan rendering feat(cli): unify plan presentation and dev reloads Sep 2, 2026
@BlankParticle
BlankParticle force-pushed the t3code/fix-profile-view-resize branch from 539a1fe to c5d67c7 Compare September 2, 2026 22:36
@BlankParticle BlankParticle changed the title feat(cli): unify plan presentation and dev reloads feat(cli): unify plan and dev output presentation Sep 2, 2026
Render plans through a reusable reactive tree view with summary, progress, virtualization, and composable controls. Keep dev output and plans in a switchable terminal widget while preserving log space and static command output.
@BlankParticle
BlankParticle force-pushed the t3code/fix-profile-view-resize branch from c5d67c7 to db4778b Compare September 3, 2026 09:32
Dev keeps the apply widget mounted after `done` so the plan/output view
stays available, but nothing ever removed it: the session's live handle
lived in a manually created scope that was never closed. Once a dev run
is interrupted and restarted (a stack reload, Ctrl+C), each generation
left its "Dev stack ready" bar behind and the next one stacked under it.

`PlanStatusSession` gains a `close` that removes the widget without
settling it, and `renderApply` binds it to the ambient scope in dev so a
generation's teardown takes its widget with it.
@BlankParticle
BlankParticle merged commit fe7d1e3 into main Sep 3, 2026
7 checks passed
@BlankParticle
BlankParticle deleted the t3code/fix-profile-view-resize branch September 3, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant