Skip to content

Structure

AISessionBuilder

Builds a structured AISessionPayload from a project inspection.

struct AISessionBuilder

Overview

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

Type Properties

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype