SWEny, YAML workflows for AI agents I'm running in prod (triage, E2E)
v@sweny-ai/[email protected] BreakingThis release includes breaking changes for platform teams planning a safe upgrade.
✓ No known CVEs patched in this version
Topics
+4 more
Affected surfaces
Summary
AI summaryAdded optional streaming callback onEvent to coding agent provider configs and introduced Prometheus & PagerDuty observability providers.
Full changelog
Minor Changes
-
5053263: Add optional
onEventstreaming callback to coding agent provider configs.ClaudeCodeConfig,GoogleGeminiConfig,OpenAICodexConfig,MockCodingAgentConfig
all acceptonEvent?: AgentEventHandler- Claude provider uses
--output-format stream-jsonfor structured events (tool calls,
tool results, text deltas, thinking blocks) - Gemini and Codex providers emit text lines as
{ type: "text" }events - New
AgentEventandAgentEventHandlertypes exported from@sweny-ai/providers/coding-agent - No breaking changes —
onEventis optional; omitting it preserves existing behaviour exactly
-
474589e: New observability providers: Prometheus and PagerDuty.
Patch Changes
- 6a71f2a: Harden coding agent providers: stderr capture, timeout support, error logging.
- Extract
spawnLines()helper toshared.ts— eliminates duplicate spawn code across
Claude, Gemini, and Codex providers spawnLinescaptures stderr and forwards each line to the logger (previously discarded)- Event handler errors are logged via the logger instead of silently swallowed
- Process killed by signal resolves with exit code -1 and logs the signal name
- Add
timeoutMstoCodingAgentRunOptions— passed through to both event and non-event paths - Add
timeoutMstoexecCommandfor non-event mode too - Mock agent now lets
onEventhandler errors propagate (aids test debugging)
- Extract
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
Track SWEny, YAML workflows for AI agents I'm running in prod (triage, E2E)
Get notified when new releases ship.
Sign up freeAbout SWEny, YAML workflows for AI agents I'm running in prod (triage, E2E)
All releases →Related context
Related tools
Beta — feedback welcome: [email protected]