INNER CODE UNIT · Go

codexLogLineLimit

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

	codexLogLineLimit     = 0 // 0 = unlimited (prevent truncation of long JSON events like agent_message)
	stdinSpecialChars     = "\n\\\"'`$"
	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"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…