Skip to content

fix(dashboard): rename TUI chrome host to ~/as - #431

Merged
cursor[bot] merged 2 commits into
mainfrom
cursor/tui-host-as-dba2
Aug 19, 2026
Merged

fix(dashboard): rename TUI chrome host to ~/as#431
cursor[bot] merged 2 commits into
mainfrom
cursor/tui-host-as-dba2

Conversation

@duyet

@duyet duyet commented Aug 19, 2026

Copy link
Copy Markdown
Owner

The terminal chrome now identifies as ~/as instead of ~/agentstate.

What changed

  • Shared TUI_HOST ("as") in packages/dashboard/src/lib/site.ts
  • Marketing header + footer, landing $ prompts, dashboard sidebar, and breadcrumb all render ~/as
  • Unit test locks the host so it does not drift back to ~/agentstate / ~/fleet

Light/dark behavior is unchanged. [theme] still toggles.

Open in Web Open in Cursor 

Summary by Sourcery

Standardize terminal UI branding on the ~/as host across the dashboard and marketing experience.

Bug Fixes:

  • Rename the terminal UI chrome host from ~/agentstate and ~/fleet to ~/as across marketing and dashboard surfaces.

Enhancements:

  • Centralize the TUI host value in a shared constant for consistent rendering.

Documentation:

  • Document ~/as as the shared dashboard and marketing terminal chrome host.

Tests:

  • Add coverage ensuring the shared TUI host is used and legacy host names do not reappear.

Use a shared TUI_HOST so the marketing header/footer, landing prompts,
and dashboard sidebar/breadcrumb all show ~/as instead of ~/agentstate.

Co-Authored-By: Duyet Le <me@duyet.net>
Co-Authored-By: duyetbot <bot@duyet.net>
@duyet
duyet marked this pull request as ready for review August 19, 2026 16:52

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @duyet, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@sourcery-ai

sourcery-ai Bot commented Aug 19, 2026

Copy link
Copy Markdown

Reviewer's Guide

Renames the shared terminal UI chrome host to a centralized TUI_HOST constant ("as") and updates dashboard/marketing chrome and tests/documentation to ensure all prompts render as ~/as instead of ~/agentstate or ~/fleet.

File-Level Changes

Change Details Files
Centralize the TUI chrome host as a shared constant and use it across dashboard and marketing chrome.
  • Add TUI_HOST export set to "as" in the shared site configuration module.
  • Update dashboard app shell sidebar labels to render ~/ followed by TUI_HOST instead of a hard-coded host string.
  • Update breadcrumb prompt to use ~/{TUI_HOST} instead of a fixed ~/agentstate.
  • Update marketing layout header and footer prompts to use TUI_HOST for the host segment.
  • Update landing page README-style prompts to use ~/{TUI_HOST} instead of ~/fleet.
packages/dashboard/src/lib/site.ts
packages/dashboard/src/components/app-shell.tsx
packages/dashboard/src/layouts/MarketingLayout.astro
packages/dashboard/src/pages/index.astro
Lock the TUI chrome host behavior via tests and documentation to prevent regression to old hosts.
  • Extend the terminal TUI stack test to assert TUI_HOST is exported as "as" and that key chrome files reference TUI_HOST instead of hard-coded hosts.
  • Update core-memory documentation to note that the shared TUI chrome host is ~/as and is configured via TUI_HOST in the site module.
packages/dashboard/src/lib/preset-stack.test.ts
docs/knowledge/core-memory.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai

coderabbitai Bot commented Aug 19, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 2c61669b-dd9e-4a95-b761-ca0b3b61d899


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Keep both TUI tests after the project-tab editor landed on main.

Co-Authored-By: Duyet Le <me@duyet.net>
Co-Authored-By: duyetbot <bot@duyet.net>
@cursor
cursor Bot merged commit bbfd1f3 into main Aug 19, 2026
6 checks passed
@cursor
cursor Bot deleted the cursor/tui-host-as-dba2 branch August 19, 2026 17:16
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.

2 participants