Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

1.4 KB
Raw Blame
// SPDX-License-Identifier: AGPL-3.0-only
// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
// including ports, remain AGPLv3; serving them over a network requires releasing their source.

export { type Binding, type LoopKind, parseBinding } from "./binding";
export {
  type Exec,
  FLOOR_GATES,
  type Gate,
  type GateResult,
  runGates
} from "./gates";
export {
  bindingPath,
  hostedScreenshotPath,
  ledgerPath,
  logPath,
  outcomePath,
  RUNS_DIR,
  runDir,
  screenshotsDir
} from "./layout";
export { appendLedger, type LedgerEntry, readLedger } from "./ledger";
export {
  behaviorGate,
  ensureStack,
  parseBehaviorResult,
  reachable
} from "./runner/behavior";
export { runLoop } from "./runner/loop";
export {
  buildPlan,
  buildPlannerPrompt,
  parsePlanResult,
  type ResolvedPlan,
  resolvePlan
} from "./runner/plan";
export {
  buildDoerPrompt,
  buildJudgePrompt,
  extractJson,
  parseDoerResult,
  parseJudgeResult,
  type TaskContext
} from "./runner/prompts";
export {
  type BehaviorResult,
  type ClaudeRequest,
  type ClaudeResult,
  DEFAULT_CONFIG,
  type DoerResult,
  type JudgeResult,
  type LoopOutcome,
  type PlanTask,
  type RunnerConfig,
  type RunnerDeps,
  type Shell,
  type TaskStatus,
  type TerminalState
} from "./runner/types";
export {
  listRuns,
  type PrunePolicy,
  pruneRuns,
  type RunSummary,
  readOutcome
} from "./runs";