Structure
AISessionBuilder
Builds a structured AISessionPayload from a project inspection.
struct AISessionBuilderOverview
This is the core logic behind shipit ai-session. It produces a stable, versioned JSON payload containing everything an AI agent needs to guide a user through configuring and running a ShipItSwifty workflow.
Usage
let inspection = try await ProjectInspector(rootPath: path).inspect()
let payload = AISessionBuilder().build(goal: .beta, inspection: inspection, hasExistingShipfile: false)Topics
Initializers
Instance Methods
func build(goal: SuggestionGoal, inspection: ProjectInspection, hasExistingShipfile: Bool, platform: Platform, customActions: [String : CustomActionConfig]) -> AISessionPayloadBuilds a full
AISessionPayloadfor the given goal and inspection result.
Type Properties
static let contractVersion: StringThe current contract version. Increment on breaking
AISessionPayloadchanges.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype