feat(FN-3938): add integration tests for droid-cli extension entrypoint

Adds integration test coverage for the droid-cli extension entrypoint, with a minor README refresh.

Fusion-Task-Id: FN-3938
This commit is contained in:
Fusion
2026-05-10 09:55:14 -07:00
committed by gsxdsm
parent 39a9d23cd0
commit 85b96a7546
2 changed files with 236 additions and 3 deletions

View File

@@ -1,8 +1,13 @@
# @fusion/droid-cli
Compatibility shim package for Fusion's Droid integration.
Compatibility-shim package for Fusion's Droid integration extension entrypoint.
Runtime/provider implementation now lives in:
Runtime/provider internals live in:
- `@fusion-plugin-examples/droid-runtime` (`plugins/fusion-plugin-droid-runtime`)
This package preserves the historical pi extension entrypoint and delegates to the plugin-owned implementation so existing imports continue to work.
This package preserves the historical pi extension entrypoint and wires runtime helpers into the real extension surface (`registerProvider`, `session_start` tool activation, model discovery, and MCP handoff) so existing imports continue to work.
## Testing boundary
- `packages/droid-cli/src/__tests__/index.test.ts` owns integration coverage for this shim entrypoint (`index.ts`) and verifies provider registration and wiring behavior.
- Runtime internals (`streamViaCli`, CLI process handling, MCP schema generation, parsing, etc.) remain covered in the plugin package tests under `plugins/fusion-plugin-droid-runtime`.