/**
 * The swarm layer — public surface.
 *
 * The crew/swarm coordination stack, assembled into one import site. The
 * coordinator ({@link Crew} / {@link createCrew}) ties together four domain
 * services — each a thin wrapper over the frozen kernel — plus an optional
 * git-worktree isolation seam:
 *
 *   - {@link CrewManifest} — the roster (who is on the crew);
 *   - {@link TicketBoard}  — the dependency-aware shared task store;
 *   - {@link Channel}      — the cursor-based mailbox;
 *   - {@link ActivityLog}  — the append-only coordination transcript;
 *   - {@link Workspace}    — per-teammate git-worktree isolation.
 *
 * The kernel primitives the services are built on ({@link JsonCell},
 * {@link JsonlLog}, {@link newId}, {@link SwarmFault}) are re-exported too, so a
 * host that wants to compose its own service over the same foundation can reach
 * them from one place.
 */
export { createCrew, Crew, defaultSpawnAgent } from "./coordinator";
export type { CrewOptions, CrewStatus, RoundOutcome, TaskDraft, SpawnAgent, } from "./coordinator";
export { CrewManifest, ModelPolicy } from "./roster";
export type { CrewMember, CrewRecord, MemberDraft, CrewToolCollection, } from "./roster";
export { TicketBoard, ticketSchema, ticketStatuses, DepGraph } from "./workboard";
export type { Ticket, TicketStatus, TicketDraft } from "./workboard";
export { Channel, encode, decode, ENVELOPE_SCHEMA, ENVELOPE_TYPES } from "./postbox";
export type { Envelope, EnvelopeType, PayloadOf } from "./postbox";
export { Workspace, nodeRunner } from "./isolation";
export type { WorktreeRef, WorktreeEntry, CreateOptions, RemoveOptions, ShellRunner, RunResult, } from "./isolation";
export { ActivityLog, CREW_EVENT_KINDS } from "./telemetry/activity";
export type { CrewEvent, CrewEventKind, CrewEventInput } from "./telemetry/activity";
export { JsonCell, JsonlLog, newId, SwarmFault, swarmFault } from "./kernel";
export type { GuardOptions, TreeNode, SwarmFaultKind, } from "./kernel";
