Extends GatewayEvent union with structured_part variants, adds matching
HistoryPart types, wires SSE emission in runtime handleChat, and maps
agent-core content parts to history in session-state.
Address the latest PR 305 review comment by passing typed text after an explicit option separator and add a regression test that captures the forwarded argv.
Co-authored-by: Codex <noreply@openai.com>
- reject unsafe snapshot ids in the TypeScript wrapper before spawning the helper
- reject unsafe snapshot ids in agent-computer before loading snapshot files
- add regression coverage for wrapper and helper traversal attempts
Co-authored-by: Codex <noreply@openai.com>
- remove the unimplemented accessibility observe mode from the public contract
- refuse unmatched app_open requests instead of shelling out
- add direct helper tests for both review findings
Co-authored-by: Codex <noreply@openai.com>
Complete the remaining pi-to-companion rename across companion-os, web, vm-orchestrator, docker, and archived fixtures.
Verification:
- semantic rg sweeps for Pi/piConfig/getPi/.pi runtime references
- npm run check in apps/companion-os (fails in this worktree: biome not found)
Co-authored-by: Codex <noreply@openai.com>
Expose deterministic Slack and Telegram channel status from the current pi-channels config, remove one-click connect from the dashboard dialog, and enable the chat bridge when users save channel tokens so messages reach the agent.
Co-authored-by: Codex <noreply@openai.com>
Flush final text before closing each AI SDK text block, surface event-processing failures to chat callers, and clear the remaining Companion OS check blockers.
fixes#273
Co-authored-by: Codex <noreply@openai.com>
Restore the bedrock provider import through an explicit workspace path mapping, align pi-grind package metadata with the existing package manifests, remove the unused controller-failure state path, and parse bare ISO dates in local time.
Co-authored-by: Codex <noreply@openai.com>
Switch the apps/companion-os check script from biome check --write to biome lint so verification stops rewriting the worktree while still running tsgo and the browser smoke bundle.
Co-authored-by: Codex <noreply@openai.com>