mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-31 06:42:03 +00:00
feat: Add raw output logging and endpoint for debugging
- Introduced a new environment variable `AUTOMAKER_DEBUG_RAW_OUTPUT` to enable raw output logging for agent streams. - Added a new endpoint `/raw-output` to retrieve raw JSONL output for debugging purposes. - Implemented functionality in `AutoModeService` to log raw output events and save them to `raw-output.jsonl`. - Enhanced `FeatureLoader` to provide access to raw output files. - Updated UI components to clean fragmented streaming text for better log parsing.
This commit is contained in:
@@ -48,3 +48,15 @@ TERMINAL_ENABLED=true
|
||||
TERMINAL_PASSWORD=
|
||||
|
||||
ENABLE_REQUEST_LOGGING=false
|
||||
|
||||
# ============================================
|
||||
# OPTIONAL - Debugging
|
||||
# ============================================
|
||||
|
||||
# Enable raw output logging for agent streams (default: false)
|
||||
# When enabled, saves unprocessed stream events to raw-output.jsonl
|
||||
# in each feature's directory (.automaker/features/{id}/raw-output.jsonl)
|
||||
# Useful for debugging provider streaming issues, improving log parsing,
|
||||
# or analyzing how different providers (Claude, Cursor) stream responses
|
||||
# Note: This adds disk I/O overhead, only enable when debugging
|
||||
AUTOMAKER_DEBUG_RAW_OUTPUT=false
|
||||
|
||||
Reference in New Issue
Block a user