Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kevinelliott/agentpipe
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.3
Choose a base ref
...
head repository: kevinelliott/agentpipe
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.5.4
Choose a head ref
  • 1 commit
  • 6 files changed
  • 2 contributors

Commits on Oct 26, 2025

  1. feat: emit all logs as JSON events in --json mode (v0.5.4)

    Complete JSON-only output mode - ALL logs (messages, events, diagnostics)
    now emitted as JSON to stdout when using --json flag.
    
    Key Features:
    - Pure JSONL stream - every line is a valid JSON object
    - Two event types: conversation events + log.entry events
    - Diagnostic logs (zerolog INF/WRN/ERR/DBG) emitted as log.entry with role="diagnostic"
    - Chat messages emitted as log.entry with role="agent"/"system"/"user"
    - Includes all metadata: tokens, cost, duration, agent info
    - Perfect for log aggregators, monitoring, CI/CD, automation
    
    Technical Implementation:
    - New event type: log.entry in internal/bridge/events.go
    - New module: internal/bridge/zerolog_json_writer.go (custom zerolog writer)
    - Updated: internal/bridge/stdout_emitter.go (EmitLogEntry method)
    - Updated: pkg/logger/logger.go (JSON emitter integration)
    - Updated: cmd/run.go (logger reinitialization for JSON mode)
    
    All quality checks passing:
    ✅ go test -v -race ./... (all tests pass)
    ✅ go build -o agentpipe .
    ✅ Manual testing with --json flag
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    kevinelliott and claude committed Oct 26, 2025
    Configuration menu
    Copy the full SHA
    9f9f9a8 View commit details
    Browse the repository at this point in the history
Loading