INNER CODE UNIT · Go

defaultTimeout

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

	defaultTimeout        = 7200 // seconds (2 hours)
	defaultCoverageTarget = 90.0
	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

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…