Skip to content

Add isolated Pi bridge integration and @mmprotest/pi-villani extension#392

Open
mmprotest wants to merge 61 commits into
mainfrom
mmprotest/implement-pi-integration-as-external-adapter
Open

Add isolated Pi bridge integration and @mmprotest/pi-villani extension#392
mmprotest wants to merge 61 commits into
mainfrom
mmprotest/implement-pi-integration-as-external-adapter

Conversation

@mmprotest

Copy link
Copy Markdown
Owner

Motivation

  • Provide an isolated JSONL stdio bridge so external Pi integrations can run Villani via villani-code bridge --stdio without changing normal CLI runner behaviour.
  • Expose a stable runner factory and first-class external approval mode so the bridge can create and control runs without importing private CLI internals or duplicating runner logic.
  • Ship a Pi extension npm package that launches a verified runtime, optional local model proxy, and a bridge subprocess with sanitized environment to avoid leaking upstream credentials.

Description

  • Added a Typer bridge command that invokes villani_code.integrations.pi_bridge.main_stdio() and emits the initial ready event protocol (`{

Codex Task

mmprotest and others added 28 commits June 28, 2026 13:43
…caffold-issues

Fix Pi integration scaffold and runtime packaging/tests
…n-and-expand-tests

Harden Pi bridge/model-proxy and expand integration tests
…elease-blockers

Fix Pi integration release blockers
…nsion-layer

Rebuild Pi Villani extension adapter
…egression

Restore Pi completion path and forward Pi auth to local proxy
…o-restore-old-behaviors

Fix Pi Villani proxy completion path and robust bridge wait/ack handling
…ecycle-hang

Fix Pi lifecycle timeout cleanup
…ration-errors

Dynamic Pi completion resolver, improved proxy diagnostics, and bridge ping
…n-acknowledgement-issue

Restore robust Pi bridge stdio loop and make run acknowledgement immediate
…ng-issue

Fix Pi bridge subprocess stdin isolation
mmprotest and others added 30 commits June 28, 2026 22:03
…call-argument-crash

Harden Pi tool-call argument handling
…event-wiring

Fix Pi approval event shape and tool progress/finished wiring
…sing-bridge-changes-only

Fix Pi bridge approval schema and tool-result lifecycle
…e-lifecycle-events

Preserve Pi bridge command/tool lifecycle; add heartbeats and proxy lifecycle events
…for-pi-villani

Fix Pi Villani UI final output
…-show-only-relevant-progress

Clean Pi Villani progress rendering
…-message-renderer-crash

Return Pi TUI Text component for villani-result to prevent crash
…-error

Remove Pi Villani custom renderer
…py-and-remove-unknown-messages

Fix Pi Villani UI status copy and preserve safe tool inputs
…py-issues

Fix Pi Villani UI status and approval copy
…tion-and-remove-test-commands

Fix Pi approval UI duplication and remove public debug slash commands
…s-before-release

Add bridge launch overrides for tests and bump Pi runtime to v0.1.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant