Promote th api dashboard to top-level th dashboard#276
Merged
Conversation
brentrager
enabled auto-merge (squash)
July 26, 2026 19:58
🦋 Changeset detectedLatest commit: d9bf0ef The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The layout commands are a daily-driver surface, so they get the first-class spelling — same promotion the config/widgets/pearls commands went through. Top-level Commands::Dashboard dispatches to the same smooai::dashboard::Cmd; 'th api dashboard' keeps working as the REST-mirror spelling. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PFBBaG8GMKhVKntX36dkys
brentrager
force-pushed
the
th-dashboard-toplevel
branch
from
July 26, 2026 20:05
170397a to
d9bf0ef
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The dashboard-layout commands shipped under
th api dashboard(#272), but layout editing is a daily-driver surface — the same class asth config/th widgets/th pearls, which all have first-class spellings.Solution
Top-level
th dashboard layout get|add|remove— a newCommands::Dashboardentry dispatching to the samesmooai::dashboard::Cmd.th api dashboardkeeps working as the REST-mirror spelling. (Cargo.lock carries the recurring smooth-operator git-dep version-metadata flip — the pre-commit hook regenerates and stages it; 4 lines, benign.)Verification
cargo clippy0 warnings; dispatch-only change, no new logic.Pearl th-93d811 · follows #272 (SMOODEV-2753)
🤖 Generated with Claude Code
https://claude.ai/code/session_01PFBBaG8GMKhVKntX36dkys