Package io.jenkins.plugins.aiagentjob
package io.jenkins.plugins.aiagentjob
Core implementation for the AI Agent Jenkins plugin: build step execution, event parsing, usage
accounting, and approval-gate coordination.
-
ClassDescriptionNormalized token usage and cost statistics extracted from AI agent JSONL logs.Build step that runs AI coding agents and can be used from freestyle and pipeline jobs.Shared execution settings used by the AI agent builder step and command execution flow.Per-execution customizations contributed by an
AiAgentTypeHandler, including extra environment variables and cleanup hooks.Strategy interface for classifying a JSON log line emitted by an AI agent into aAiAgentLogParser.ParsedLine.Parses JSONL output from AI agents into classifiedAiAgentLogParser.EventViewobjects.Represents a single conversation event for rendering in the UI.Per-build action that stores AI agent invocation metadata and provides the inline conversation view on the build page.Serialized metadata for one invocation in a run.Strategy interface for extracting usage statistics from a single JSON log line emitted by an AI agent.Describable extension point for an AI agent implementation.In-memory registry of live AI agent builds, used to coordinate tool-call approval gates between the running agent process and the Jenkins web UI.Result of a user approval decision.Live mutable state for one running build.Immutable view model for one outstanding approval request.Shared utility methods used by agent-specific log format classes.