feat(runner): pi.dev runner — gateway provider, model from pair, in RUNNERS (#524)#693
feat(runner): pi.dev runner — gateway provider, model from pair, in RUNNERS (#524)#693gewenyu99 wants to merge 1 commit into
Conversation
🧙 Wizard CIRun the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands: Test all apps:
Test all apps in a directory:
Test an individual app:
Show more apps
Results will be posted here when complete. |
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
f31aa09 to
c6c7870
Compare
…dleware (#693) Register piBackend in RUNNERS and add the wizardRunner pair-middleware (reads the existing wizard-runner flag). pi.ts consumes the resolved pair's model and infers the gateway transport from the id (claude -> anthropic-messages, openai/* -> openai-completions). Brings the pi capability modules (security, tools, tasks, subagent, mcp), yara-scanner, the isWizardDocumentationPath export, and the @earendil-works/pi-* + jiti + pi-mcp-adapter deps. MODELS gains the gpt5 alias. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
c6c7870 to
d020534
Compare
20d5b6f to
66850b4
Compare
Live snapshot evidence — reshaped runner (this stack)End-to-end wizard runs on this reshaped runner (#692 core + #693 pi), via pi · sonnet → dashboard
|
d020534 to
6283374
Compare
bd5cee4 to
93a0b5d
Compare
66850b4 to
4c6f355
Compare
…istered in RUNNERS (#693) Register piBackend in RUNNERS and add the wizardRunner pair-middleware (reads the existing wizard-runner flag; model stays from config). pi.ts registers the PostHog gateway and consumes the resolved pair's model, inferring the transport from the id (claude -> anthropic-messages, openai/* -> openai-completions). MODELS gains gpt5. Replaces the old selectBackend seam. Capability modules land in follow-ups. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
93a0b5d to
1ad2caf
Compare
4c6f355 to
79cafb3
Compare














Epic #520 · implements #524 (backend core).
Problem
@earendil-works/pi-coding-agent) driving the same PostHog gateway, so it can be A/B'd againstanthropic.Changes
anthropic-messagesprovider —baseUrlfromgetLlmGatewayUrlFromHost, bearer token, shared gateway headers, 1M-context beta; same model id asanthropic.createAgentSession→session.prompt→subscribemapped onto the shared stream→TUI bridge (status, todos, markers); terminal/loop errors mapped toAgentErrorType; honors[ABORT].Test plan
wizard-runner=pi.anthropicpath; no interactive auth in headless runs.