Skip to content

fix(dev): use TUI picker for deploy when launching dev from interactive menu#1409

Closed
jesseturner21 wants to merge 1 commit into
previewfrom
fix/dev-tui-consistency-1376
Closed

fix(dev): use TUI picker for deploy when launching dev from interactive menu#1409
jesseturner21 wants to merge 1 commit into
previewfrom
fix/dev-tui-consistency-1376

Conversation

@jesseturner21

Copy link
Copy Markdown
Contributor

Summary

  • Fixes inconsistency where agentcore → select "dev" rendered harness deploy inline (text spinners), while agentcore dev used the full-screen TUI (DevScreen) with structured deploy progress
  • launchBrowserDev() now uses launchTuiDevScreenWithPicker() — the same alt-screen TUI picker used by the direct agentcore dev command
  • Both entry paths now render deploy progress identically in the terminal

Closes #1376

Test plan

  • Added unit tests for launchBrowserDev verifying it uses the TUI picker path
  • Tests verify alt screen is entered (confirming TUI mode, not inline)
  • Tests verify user can back out of picker without launching browser mode
  • Tests verify error cases (no project, no runtimes/harnesses)
  • Manual: agentcore createcd into project → agentcore → select "dev" → verify deploy uses full-screen TUI
  • Manual: agentcore dev → verify same full-screen TUI deploy experience

…ve menu

When selecting "dev" from the interactive `agentcore` menu, harness
deploy was rendered inline via runCliDeploy() instead of using the
full-screen TUI (DevScreen) that `agentcore dev` uses directly.
This made the two paths visually inconsistent.

Now launchBrowserDev() uses launchTuiDevScreenWithPicker() — the same
alt-screen TUI picker used by the direct `agentcore dev` command —
so deploy progress renders identically regardless of entry path.

Closes #1376

Constraint: Must match the existing agentcore dev direct-invocation UX
Rejected: Adding ENTER_ALT_SCREEN around runCliDeploy | would still show spinner-based output instead of the structured DevScreen TUI
Confidence: high
Scope-risk: narrow
@jesseturner21 jesseturner21 requested a review from a team May 28, 2026 14:34
@github-actions github-actions Bot added the agentcore-harness-reviewing AgentCore Harness review in progress label May 28, 2026
@agentcore-devx-automation agentcore-devx-automation Bot added the claude-security-reviewing Claude Code /security-review in progress label May 28, 2026
@github-actions github-actions Bot removed the agentcore-harness-reviewing AgentCore Harness review in progress label May 28, 2026
@agentcore-devx-automation

Copy link
Copy Markdown
Contributor

Claude Security Review: no high-confidence findings. (run)

@agentcore-devx-automation agentcore-devx-automation Bot removed the claude-security-reviewing Claude Code /security-review in progress label May 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 42.76% 10157 / 23750
🔵 Statements 42.06% 10802 / 25679
🔵 Functions 39.81% 1713 / 4302
🔵 Branches 38.78% 6646 / 17136
Generated in workflow #3369 for commit bc741fc by the Vitest Coverage Report Action

@jesseturner21

Copy link
Copy Markdown
Contributor Author

Closing — fix should target main with isPreviewEnabled gate, not preview branch directly.

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