Skip to content

feat(android): route plugin.json scripts through segkit#58

Merged
abueide merged 1 commit intomainfrom
feat/segkit-android-plugin
May 1, 2026
Merged

feat(android): route plugin.json scripts through segkit#58
abueide merged 1 commit intomainfrom
feat/segkit-android-plugin

Conversation

@abueide
Copy link
Copy Markdown
Contributor

@abueide abueide commented May 1, 2026

Summary

Updates Android plugin convenience scripts to call segkit android instead of android.sh directly. No fallbacks — if segkit isn't on PATH, the command fails immediately.

Changes

  • Replace android.sh with segkit android in 6 plugin.json scripts: android:sync, android:devices:eval, start:android, start:emu, stop:emu, reset:emu
  • Add segkit:install devbox script (cargo install --path segkit) for easy local installation

Why

Phase 1.2 of the shell-to-Rust migration. Routes user-facing plugin commands through segkit's delegation layer, which logs timing and errors to JSONL for observability. Failing fast on missing segkit ensures issues surface immediately during the conversion.

Note: CI E2E tests are unaffected — they use process-compose which calls android.sh directly. Only devbox run start:emu and similar user convenience commands are routed through segkit.


🤖 Generated with Claude Code

Replace direct android.sh calls in the Android plugin's convenience
scripts with segkit android delegation. No fallbacks — segkit must be
available on PATH or the command fails immediately.

Scripts updated: android:sync, android:devices:eval, start:android,
start:emu, stop:emu, reset:emu.

Also adds `segkit:install` devbox script for cargo install --path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@abueide abueide added the feature New feature or functionality label May 1, 2026
@abueide abueide marked this pull request as ready for review May 1, 2026 23:09
@abueide abueide merged commit 3e67c74 into main May 1, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant