INNER CODE UNIT · Go

stderrCaptureLimit

fengshao1227/ccg-workflow · codeagent-wrapper/main.go:23

	stderrCaptureLimit    = 4 * 1024
	defaultBackendName    = "codex"
	defaultCodexCommand   = "codex"

	// stdout close reasons
	stdoutCloseReasonWait  = "wait-done"
	stdoutCloseReasonDrain = "drain-timeout"
	stdoutCloseReasonCtx   = "context-cancel"
	stdoutDrainTimeout     = 100 * time.Millisecond
)

var useASCIIMode = os.Getenv("CODEAGENT_ASCII_MODE") == "true"

// Lite mode: disable WebServer, reduce logging, faster post-message delay
// Can be enabled via --lite flag or CODEAGENT_LITE_MODE=true environment variable
var liteMode = os.Getenv("CODEAGENT_LITE_MODE") == "true"

// Test hooks for dependency injection

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…