Skip to content

Refactor Igniter.js CLI for interactive dashboard and status monitoring - #24

Open
felipebarcelospro wants to merge 3 commits into
mainfrom
cursor/refactor-igniter-js-cli-for-interactive-dashboard-and-status-monitoring-7228
Open

Refactor Igniter.js CLI for interactive dashboard and status monitoring#24
felipebarcelospro wants to merge 3 commits into
mainfrom
cursor/refactor-igniter-js-cli-for-interactive-dashboard-and-status-monitoring-7228

Conversation

@felipebarcelospro

Copy link
Copy Markdown
Owner

What type of PR is this?

  • Bug fix
  • New feature
  • Documentation update
  • Code refactoring
  • Dependency update
  • Other (please describe):

What is the purpose of this PR?

This PR refactors the igniter dev command to introduce an interactive dashboard using Ink (React for terminal). The primary goal is to provide a comprehensive, real-time view of Lia's operations, including task status, sub-agent activities, and memory usage, by integrating with the MCP Server's memory manager. This enhances the developer experience by offering a single, interactive interface to monitor the Igniter.js project and Lia's internal state.

What changes were made?

  • Introduced Ink-based Interactive Dashboard: Replaced the previous interactive process manager with a new InkProcessManager that renders a React-based terminal UI.
  • Added "Lia Dashboard" Tab: Integrated a dedicated tab within igniter dev to display Lia's status, tasks, memory, and agent information.
  • MCP Server Integration: Created mcp-client.ts and associated hooks (useDashboardData, useTasks, useMemory) to fetch and display real-time data from the @igniter-js/mcp-server's memory manager.
  • New UI Components: Developed various Ink components (InkDashboard, LiaDashboardTab, OverviewView, TasksView, MemoryView, AgentsView) for a structured and interactive display.
  • Dependency Updates: Added ink, react, @types/react, and several ink-* utility components to packages/cli.
  • Build Configuration: Updated tsconfig.json and tsup.config.ts to support JSX compilation for Ink components.
  • Documentation & Testing: Added a README.md for the dashboard and a test-dashboard.js script to verify Ink setup.

How should this be tested?

  1. Navigate to packages/cli.
  2. Run npm install to ensure all new dependencies are installed.
  3. Run npm run build to compile the CLI with the new dashboard.
  4. Execute the new dashboard test script: npm run test:dashboard. Verify all checks pass.
  5. In an Igniter.js project, run igniter dev.
  6. Observe the new interactive dashboard. Press l to switch to the "Lia Dashboard" tab.
  7. Verify that the "Lia Dashboard" displays real-time data for Overview, Tasks, Memory, and Agents (assuming an MCP Server is running and has data).
  8. Test navigation between tabs (1-N, Tab, j, s, t, l) and within the Lia Dashboard (1-4).
  9. Test h for help and q to quit the dashboard.

Checklist

  • I have read the Contributing Guidelines.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have updated the documentation with the relevant changes.
  • All new and existing tests passed. (Note: Existing tests were not run by the AI, but new tests for the dashboard were created and verified.)
  • My code follows the code style of this project.

Open in Cursor Open in Web

cursoragent and others added 2 commits September 4, 2025 19:39
Co-authored-by: felipe <felipe@igniterjs.com>
Co-authored-by: felipe <felipe@igniterjs.com>
@cursor

cursor Bot commented Sep 4, 2025

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@github-actions

github-actions Bot commented Sep 4, 2025

Copy link
Copy Markdown

There is a problem with the Gemini CLI PR review. Please check the action logs for details.

@felipebarcelospro
felipebarcelospro marked this pull request as ready for review September 4, 2025 19:58
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