Class CodexLogFormat
java.lang.Object
io.jenkins.plugins.aiagentjob.codex.CodexLogFormat
- All Implemented Interfaces:
AiAgentLogFormat
Format-specific log classification for Codex CLI JSONL output. Handles item.started /
item.completed wrappers for reasoning, agent_message, and command_execution items.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionclassify(long lineNumber, net.sf.json.JSONObject json) Attempt to classify a single JSON object into a parsed event.
-
Field Details
-
INSTANCE
-
-
Method Details
-
classify
Description copied from interface:AiAgentLogFormatAttempt to classify a single JSON object into a parsed event.- Specified by:
classifyin interfaceAiAgentLogFormat- Parameters:
lineNumber- 1-based line number in the raw log filejson- the parsed JSON object for this line- Returns:
- a classified
AiAgentLogParser.ParsedLine, ornullif this format does not handle the given JSON structure
-