Skip to content

feat: add cascade dashboard CLI with tRPC client and webhooks router#292

Merged
zbigniewsobiecki merged 1 commit intodevfrom
feat/dashboard-cli
Feb 16, 2026
Merged

feat: add cascade dashboard CLI with tRPC client and webhooks router#292
zbigniewsobiecki merged 1 commit intodevfrom
feat/dashboard-cli

Conversation

@zbigniewsobiecki
Copy link
Copy Markdown
Member

Summary

  • Add a full-featured cascade CLI binary (33 commands across 8 topics) for managing the dashboard from the terminal, consuming the same tRPC endpoints as the web UI
  • New webhooks tRPC router extracted from tools/setup-webhooks.ts with list/create/delete procedures
  • Shared CLI infrastructure: config persistence (~/.cascade/cli.json), tRPC client factory, DashboardCommand base class, output formatting (tables, detail views, relative dates, chalk colors)
  • Dual binary support: cascade (dashboard CLI) + cascade-tools (agent tools) with separate oclif configs
  • 67 new tests across 6 test files (1156 total tests passing)
  • CLAUDE.md updated with CLI documentation and full command reference
  • .claude and .cascade dev environment configs committed

Command Topics

Topic Commands Description
cascade login/logout/whoami 3 Session auth
cascade runs 6 List, show, logs, LLM calls, debug analysis
cascade projects 10 CRUD + integrations + credential overrides
cascade credentials 4 Org credential management
cascade defaults 2 Org defaults show/set
cascade org 2 Organization info
cascade agents 4 Agent config CRUD
cascade webhooks 3 Trello + GitHub webhook management

Test plan

  • npm run lint — clean (0 errors)
  • npm run typecheck — passes
  • npm test — 1156 tests pass (79 test files)
  • Pre-commit hooks (lint + typecheck) pass
  • Pre-push hooks (full test suite) pass
  • CI workflow passes

🤖 Generated with Claude Code

Add a full-featured `cascade` CLI binary for managing the dashboard from
the terminal. The CLI consumes the same tRPC endpoints as the web UI —
no business logic duplication, full type safety via AppRouter import.

- 33 commands across 8 topics: auth, runs, projects, credentials,
  defaults, org, agents, webhooks
- Shared modules: config persistence, tRPC client factory, base command
  class, output formatting (tables, detail views, relative dates)
- New webhooks tRPC router extracted from tools/setup-webhooks.ts
- Dual binary support: cascade (dashboard) + cascade-tools (agents)
- 67 new tests across 6 test files (config, format, base, client,
  webhooks router, router integration)
- CLAUDE.md updated with CLI documentation and command reference
- .claude and .cascade dev environment configs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@zbigniewsobiecki zbigniewsobiecki merged commit 2d59d8f into dev Feb 16, 2026
4 checks passed
@zbigniewsobiecki zbigniewsobiecki deleted the feat/dashboard-cli branch February 16, 2026 13:51
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