Files
skillkit/packages/cli/src/commands/ui.ts
T
Rohit Ghumare f357c73e97 fix: update agent count from 17 to 32 across codebase (#24)
* fix: update agent count from 17 to 32 across codebase

- Update all documentation files (README.md, package READMEs)
- Update hardcoded AGENT_COUNT constant in onboarding
- Update JSDoc comments in core modules
- Update test files and e2e tests
- SkillKit now supports 32 AI coding agents:
  Primary: claude-code, codex, cursor, antigravity, opencode,
  gemini-cli, amp, clawdbot, droid, github-copilot, goose,
  kilo, kiro-cli, roo, trae, windsurf, universal
  Extended: cline, codebuddy, commandcode, continue, crush,
  factory, mcpjam, mux, neovate, openhands, pi, qoder, qwen,
  vercel, zencoder

* fix: add all 32 agents to documentation and tests

- apps/skillkit/README.md: Split agents into Primary (17) and Extended (15)
- e2e/onboarding-ui.e2e.test.ts: Add 15 extended agents to test array
- e2e/translation.e2e.test.ts: Add 15 extended agents to SUPPORTED_AGENTS
- README.md: Add extended agents to inline list and table
2026-01-29 13:21:58 +00:00

51 lines
1.5 KiB
TypeScript

import { Command } from 'clipanion';
/**
* UI Command - Launch the SkillKit TUI
* Uses the unified OpenTUI-based interface
*/
export class UICommand extends Command {
static override paths = [['ui'], ['tui']];
static override usage = Command.Usage({
description: 'Launch the interactive TUI (Terminal User Interface)',
details: `
Launches the SkillKit TUI with a beautiful monochromatic design.
Features:
- Browse and discover skills from the marketplace
- Manage installed skills across 32 AI coding agents
- Sync skills between agents
- AI-powered recommendations
- Team collaboration
Requires Bun runtime (>=1.2.0) for optimal performance.
`,
examples: [
['Open interactive TUI', '$0 ui'],
['Alias for TUI', '$0 tui'],
],
});
async execute(): Promise<number> {
try {
const { startTUI } = await import('@skillkit/tui');
await startTUI();
return 0;
} catch (err) {
if (err instanceof Error) {
console.error('Error launching TUI:', err.message);
console.error('');
console.error('The TUI requires Bun runtime (>=1.2.0). Run with:');
console.error(' bun $(which skillkit) ui');
console.error('');
console.error('Or from source directory:');
console.error(' bun ./apps/skillkit/dist/cli.js ui');
console.error('');
console.error('Install Bun from: https://bun.sh');
}
return 1;
}
}
}