Skip to content

refactor(app): fold engine toggle into the amicode MCP row (#1598) - #1604

Merged
jeonghun-jj-lee merged 1 commit into
feature/free-tier-fleetfrom
fix/1598-fold-engine-toggle
Sep 28, 2026
Merged

jeonghun-jj-lee merged 1 commit into
feature/free-tier-fleetfrom
fix/1598-fold-engine-toggle

Conversation

@jeonghun-jj-lee

Copy link
Copy Markdown
Contributor

Follow-up to #1603 (merged). Removes the standalone Engine row from the status popover and folds the engine start/stop behavior into the existing amicode MCP toggle — the amicode entry IS the engine, so a separate row was redundant.

Changes

  • Delete engine-toggle.tsx (standalone component)
  • Keep engine-toggle-utils.ts (pure parsing + command logic, reused)
  • Special-case name === "amicode" in the MCP <For> loop: dot color, switch state, and click handler reflect engine lifecycle (on/booting/off) instead of MCP connection status
  • Show "Starting…" subtitle during boot; disable switch while locked

Testing

  • 297 test files pass (5017 tests)
  • Overlay typecheck clean (no errors in our files)
  • Manifest auto-refreshed

Remove the standalone Engine row from the status popover. The 'amicode'
entry in the MCP list now doubles as the engine toggle: its dot, switch,
and click handler reflect engine lifecycle state (on/booting/off) and
send start/stop commands through the extension bridge.

- Delete engine-toggle.tsx (standalone component)
- Keep engine-toggle-utils.ts (pure parsing + command logic, reused)
- Special-case name === 'amicode' in the MCP <For> loop
- Show 'Starting…' subtitle during boot, disable switch while locked
@jeonghun-jj-lee
jeonghun-jj-lee merged commit 11728e8 into feature/free-tier-fleet Sep 28, 2026
4 checks passed
@jeonghun-jj-lee
jeonghun-jj-lee deleted the fix/1598-fold-engine-toggle branch September 28, 2026 03:49
@coderabbitai

coderabbitai Bot commented Sep 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 8c8ce9b6-e869-4c85-9e4c-f108eedeb668

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

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