gsxdsm
e5c3ffbb39
FN-7725: wire Grok CLI runtime adapter routing end-to-end with tests and docs
Formalizes and tests the existing agent Runtime-mode picker path as the decided Grok CLI routing wiring.
- Add FNXC decision note at the extractRuntimeHint seam documenting the Grok CLI routing chain (agent-session-helpers.ts)
- Add routing test verifying runtimeHint="grok" resolves through resolveRuntime/resolvePluginRuntime to GrokRuntimeAdapter (grok-runtime-routing.test.ts)
- Update docs/grok-cli-contract.md with the wiring decision and documented limitations
- Update plugins/fusion-plugin-grok-runtime/README.md with routing guidance
- Add changeset for the new opt-in Grok CLI streaming runtime routing feature
Files changed:
.changeset/fn-7725-grok-cli-routing.md | 7 +
docs/grok-cli-contract.md | 106 ++++++--
.../src/__tests__/grok-runtime-routing.test.ts | 275 +++++++++++++++++++++
packages/engine/src/agent-session-helpers.ts | 12 +
plugins/fusion-plugin-grok-runtime/README.md | 38 ++-
5 files changed, 414 insertions(+), 24 deletions(-)
Fusion-Task-Id: FN-7725
Fusion-Task-Lineage: f5210793-59d0-4a0c-8152-4c5ef61ca737
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-09 19:58:04 -07:00
..
2026-07-09 19:58:04 -07:00
2026-07-08 16:27:10 -07:00
2026-07-08 16:27:10 -07:00
2026-06-08 15:19:27 -07:00
2026-07-08 06:35:22 -07:00