Skip to content

feat(sidecar): stream extension events live during dispatch#132

Merged
NathanFlurry merged 1 commit into
mainfrom
zid-se
Jun 26, 2026
Merged

feat(sidecar): stream extension events live during dispatch#132
NathanFlurry merged 1 commit into
mainfrom
zid-se

Conversation

@NathanFlurry

Copy link
Copy Markdown
Member

Summary

  • Adds live sidecar extension event delivery so extension code can emit events while a request is still in flight.
  • Wires the stdio frame transport into the sidecar event sink path.
  • Carries the moved agent registry, including the Pi adapter change that stops buffering prompt-time updates until prompt completion.

Validation

  • cargo test -p secure-exec-sidecar --lib live_event_tests
  • pnpm --dir registry/agent/pi build
  • packed @agentos-software/pi@0.2.0-rc.3 and verified it in the zid repro with agent-os sidecar

Notes

Pairs with the agent-os zid-agentos branch for the ACP extension polling/regression test side of the fix.

@railway-app railway-app Bot temporarily deployed to secure-exec / secure-exec-pr-132 June 26, 2026 01:56 Destroyed
@railway-app railway-app Bot temporarily deployed to rivet-frontend / secure-exec-pr-132 June 26, 2026 01:56 Destroyed
@NathanFlurry NathanFlurry marked this pull request as ready for review June 26, 2026 02:00
@NathanFlurry NathanFlurry merged commit 1f13c36 into main Jun 26, 2026
3 of 4 checks passed
NathanFlurry added a commit that referenced this pull request Jun 26, 2026
…sponses, fix service-test build

Fixes surfaced while syncing agent-os against latest secure-exec main:

1. limits: classify DEFAULT_WASM_RUNNER_HEAP_LIMIT_MB (#129) and MAX_TIMER_DELAY_MS
   (#131) — both added without inventory entries, so limits_audit failed on main.
2. sidecar: accept_sidecar_response drops a stale sidecar_response with no matching
   pending request (UnmatchedResponse) or already completed (DuplicateResponse)
   instead of failing the whole sidecar — a per-VM callback can be answered by the
   host after that VM is disposed on the shared sidecar process. Real protocol
   violations stay fatal.
3. tests: re-export crate::EventSinkTransport into the source-included service test
   crate (#132 added the use in src/service.rs without the matching test re-export,
   breaking 'cargo test -p secure-exec-sidecar --test service' compilation).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
NathanFlurry added a commit that referenced this pull request Jun 26, 2026
…sponses, fix service-test build (#133)

Fixes surfaced while syncing agent-os against latest secure-exec main:

1. limits: classify DEFAULT_WASM_RUNNER_HEAP_LIMIT_MB (#129) and MAX_TIMER_DELAY_MS
   (#131) — both added without inventory entries, so limits_audit failed on main.
2. sidecar: accept_sidecar_response drops a stale sidecar_response with no matching
   pending request (UnmatchedResponse) or already completed (DuplicateResponse)
   instead of failing the whole sidecar — a per-VM callback can be answered by the
   host after that VM is disposed on the shared sidecar process. Real protocol
   violations stay fatal.
3. tests: re-export crate::EventSinkTransport into the source-included service test
   crate (#132 added the use in src/service.rs without the matching test re-export,
   breaking 'cargo test -p secure-exec-sidecar --test service' compilation).

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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