Skip to content

feat(runtime): add pilot runtime adapter - #113

Merged
drown0315 merged 9 commits into
mainfrom
feat/pilot_runtime
Jul 8, 2026
Merged

drown0315 merged 9 commits into
mainfrom
feat/pilot_runtime

Conversation

@drown0315

Copy link
Copy Markdown
Owner

Summary

Adds the first pilot_runtime integration path behind the hidden runtime adapter switch and updates CI so the repository is validated with the Flutter toolchain now that the root package depends on a Flutter package.

What Changed

  • Added the pilot_runtime package with app-side binding, protocol handshake, VM Service client, and Widget Tree normalization.
  • Added PilotRuntimeAdapter, VM Service connection plumbing, and runtime adapter selection via the hidden environment switch.
  • Split CLI command implementations out of the main CLI module while preserving command behavior.
  • Replaced the Dart-only checks workflow with Flutter/Dart checks and added separate analysis/test steps for pilot_runtime and screen_recorder.
  • Updated docs checks to install Flutter before resolving root dependencies.

Why

pilot_runtime introduces Flutter SDK dependencies into the root dependency graph, so CI must run in an environment that can resolve Flutter packages. The runtime remains opt-in while it is developed and calibrated, keeping the existing default adapter path intact.

Verification

  • dart format --output=none --set-exit-if-changed .
  • dart analyze --fatal-infos --fatal-warnings bin lib test tool
  • flutter analyze --fatal-infos --fatal-warnings in packages/pilot_runtime
  • dart analyze --fatal-infos --fatal-warnings in packages/screen_recorder
  • dart test
  • flutter test in packages/pilot_runtime
  • dart test in packages/screen_recorder

@drown0315
drown0315 merged commit 3cec4a3 into main Jul 8, 2026
2 checks passed
@drown0315
drown0315 deleted the feat/pilot_runtime branch July 8, 2026 15:46
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