substrate-ai 0.11.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4 @@
1
+ import { AdapterRegistry } from "./dist-DKG5lyUw.js";
2
+ import "./adapter-registry-DXLMTmfD.js";
3
+
4
+ export { AdapterRegistry };
package/dist/cli/index.js CHANGED
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
- import { FileStateStore, SUBSTRATE_OWNED_SETTINGS_KEYS, VALID_PHASES, WorkGraphRepository, buildPipelineStatusOutput, createDatabaseAdapter, createStateStore, detectCycles, findPackageRoot, formatOutput, formatPipelineStatusHuman, formatPipelineSummary, formatTokenTelemetry, getAllDescendantPids, getAutoHealthData, getSubstrateDefaultSettings, parseDbTimestampAsUtc, registerHealthCommand, resolveBmadMethodSrcPath, resolveBmadMethodVersion, resolveMainRepoRoot } from "../health-CiDi90gC.js";
2
+ import { FileStateStore, SUBSTRATE_OWNED_SETTINGS_KEYS, VALID_PHASES, WorkGraphRepository, buildPipelineStatusOutput, createDatabaseAdapter, createStateStore, detectCycles, findPackageRoot, formatOutput, formatPipelineStatusHuman, formatPipelineSummary, formatTokenTelemetry, getAllDescendantPids, getAutoHealthData, getSubstrateDefaultSettings, parseDbTimestampAsUtc, registerHealthCommand, resolveBmadMethodSrcPath, resolveBmadMethodVersion, resolveMainRepoRoot } from "../health-BR5GD5Ge.js";
3
3
  import { createLogger } from "../logger-KeHncl-f.js";
4
- import { createEventBus } from "../helpers-DTp3VJ2-.js";
5
- import { AdapterRegistry, BudgetConfigSchema, CURRENT_CONFIG_FORMAT_VERSION, CURRENT_TASK_GRAPH_VERSION, ConfigError, CostTrackerConfigSchema, DEFAULT_CONFIG, DoltClient, DoltNotInstalled, EXPERIMENT_RESULT, GlobalSettingsSchema, IngestionServer, MonitorDatabaseImpl, OPERATIONAL_FINDING, PartialGlobalSettingsSchema, PartialProviderConfigSchema, ProvidersSchema, RoutingRecommender, STORY_METRICS, TelemetryConfigSchema, addTokenUsage, aggregateTokenUsageForRun, checkDoltInstalled, compareRunMetrics, createAmendmentRun, createConfigSystem, createDecision, createDoltClient, createPipelineRun, getActiveDecisions, getAllCostEntriesFiltered, getBaselineRunMetrics, getDecisionsByCategory, getDecisionsByPhaseForRun, getLatestCompletedRun, getLatestRun, getPipelineRunById, getPlanningCostTotal, getRetryableEscalations, getRunMetrics, getSessionCostSummary, getSessionCostSummaryFiltered, getStoryMetricsForRun, getTokenUsageSummary, incrementRunRestarts, initSchema, initializeDolt, listRequirements, listRunMetrics, loadParentRunDecisions, supersedeDecision, tagRunAsBaseline, updatePipelineRun } from "../dist-eNB_v7Iy.js";
4
+ import { createEventBus } from "../helpers-CElYrONe.js";
5
+ import { AdapterRegistry, BudgetConfigSchema, CURRENT_CONFIG_FORMAT_VERSION, CURRENT_TASK_GRAPH_VERSION, ConfigError, CostTrackerConfigSchema, DEFAULT_CONFIG, DoltClient, DoltNotInstalled, EXPERIMENT_RESULT, GlobalSettingsSchema, IngestionServer, MonitorDatabaseImpl, OPERATIONAL_FINDING, PartialGlobalSettingsSchema, PartialProviderConfigSchema, ProvidersSchema, RoutingRecommender, STORY_METRICS, TelemetryConfigSchema, addTokenUsage, aggregateTokenUsageForRun, checkDoltInstalled, compareRunMetrics, createAmendmentRun, createConfigSystem, createDecision, createDoltClient, createPipelineRun, getActiveDecisions, getAllCostEntriesFiltered, getBaselineRunMetrics, getDecisionsByCategory, getDecisionsByPhaseForRun, getLatestCompletedRun, getLatestRun, getPipelineRunById, getPlanningCostTotal, getRetryableEscalations, getRunMetrics, getSessionCostSummary, getSessionCostSummaryFiltered, getStoryMetricsForRun, getTokenUsageSummary, incrementRunRestarts, initSchema, initializeDolt, listRequirements, listRunMetrics, loadParentRunDecisions, supersedeDecision, tagRunAsBaseline, updatePipelineRun } from "../dist-DKG5lyUw.js";
6
6
  import "../adapter-registry-DXLMTmfD.js";
7
- import { AdapterTelemetryPersistence, AppError, DoltRepoMapMetaRepository, DoltSymbolRepository, ERR_REPO_MAP_STORAGE_WRITE, GitClient, GrammarLoader, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SymbolParser, createContextCompiler, createDispatcher, createEventEmitter, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStopAfterGate, createTelemetryAdvisor, formatPhaseCompletionSummary, registerRunCommand, resolveStoryKeys, runAnalysisPhase, runPlanningPhase, runSolutioningPhase, validateStopAfterFromConflict } from "../run-CAUhTR7Y.js";
8
- import "../errors-BvyMlvCX.js";
7
+ import { AdapterTelemetryPersistence, AppError, DoltRepoMapMetaRepository, DoltSymbolRepository, ERR_REPO_MAP_STORAGE_WRITE, GitClient, GrammarLoader, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SymbolParser, createContextCompiler, createDispatcher, createEventEmitter, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStopAfterGate, createTelemetryAdvisor, formatPhaseCompletionSummary, registerFactoryCommand, registerRunCommand, registerScenariosCommand, resolveStoryKeys, runAnalysisPhase, runPlanningPhase, runSolutioningPhase, validateStopAfterFromConflict } from "../run-zWACyS3w.js";
8
+ import "../errors-CQKOiaYV.js";
9
9
  import "../routing-CcBOCuC9.js";
10
10
  import "../decisions-C0pz9Clx.js";
11
11
  import "../version-manager-impl-BmOWu8ml.js";
12
- import { registerUpgradeCommand } from "../upgrade-DFGrqjGI.js";
12
+ import { registerUpgradeCommand } from "../upgrade-CBE6JaxX.js";
13
13
  import { Command } from "commander";
14
14
  import { fileURLToPath } from "url";
15
15
  import { dirname, join, resolve } from "path";
@@ -2108,7 +2108,11 @@ async function runInitAction(options) {
2108
2108
  await scaffoldClaudeSettings(projectRoot);
2109
2109
  await scaffoldClaudeCommands(projectRoot, outputFormat);
2110
2110
  const gitignorePath = join(projectRoot, ".gitignore");
2111
- const runtimeEntries = [".substrate/orchestrator.pid", ".substrate/current-run-id"];
2111
+ const runtimeEntries = [
2112
+ ".substrate/orchestrator.pid",
2113
+ ".substrate/current-run-id",
2114
+ ".substrate/scenarios/"
2115
+ ];
2112
2116
  try {
2113
2117
  const existing = existsSync$1(gitignorePath) ? readFileSync$1(gitignorePath, "utf-8") : "";
2114
2118
  const missing = runtimeEntries.filter((e) => !existing.includes(e));
@@ -3021,7 +3025,7 @@ async function runStatusAction(options) {
3021
3025
  if (run === void 0) run = await getLatestRun(adapter);
3022
3026
  }
3023
3027
  if (run === void 0) {
3024
- const { inspectProcessTree } = await import("../health-BvYILeQQ.js");
3028
+ const { inspectProcessTree } = await import("../health-DXNHn938.js");
3025
3029
  const substrateDirPath = join(projectRoot, ".substrate");
3026
3030
  const processInfo = inspectProcessTree({
3027
3031
  projectRoot,
@@ -3906,7 +3910,7 @@ function defaultSupervisorDeps() {
3906
3910
  if (cached === null) {
3907
3911
  const { AdapterRegistry: AR } = await import(
3908
3912
  /* @vite-ignore */
3909
- "../adapter-registry-neBZrkr3.js"
3913
+ "../adapter-registry-B19pDsb2.js"
3910
3914
  );
3911
3915
  cached = new AR();
3912
3916
  await cached.discoverAndRegister();
@@ -4337,11 +4341,11 @@ async function runSupervisorAction(options, deps = {}) {
4337
4341
  try {
4338
4342
  const { createExperimenter } = await import(
4339
4343
  /* @vite-ignore */
4340
- "../experimenter-Dos3NsCg.js"
4344
+ "../experimenter-DAIK4Ljm.js"
4341
4345
  );
4342
4346
  const { getLatestRun: getLatest } = await import(
4343
4347
  /* @vite-ignore */
4344
- "../decisions-DQZW0h9X.js"
4348
+ "../decisions-0VsbM-3Z.js"
4345
4349
  );
4346
4350
  const expAdapter = createDatabaseAdapter({
4347
4351
  backend: "auto",
@@ -4351,7 +4355,7 @@ async function runSupervisorAction(options, deps = {}) {
4351
4355
  await initSchema(expAdapter);
4352
4356
  const { runRunAction: runPipeline } = await import(
4353
4357
  /* @vite-ignore */
4354
- "../run-DPZOQOvB.js"
4358
+ "../run-C3HrjTtt.js"
4355
4359
  );
4356
4360
  const runStoryFn = async (opts) => {
4357
4361
  const exitCode = await runPipeline({
@@ -4867,7 +4871,7 @@ async function runMetricsAction(options) {
4867
4871
  const routingConfigPath = join(dbDir, "routing.yml");
4868
4872
  let routingConfig = null;
4869
4873
  if (existsSync$1(routingConfigPath)) try {
4870
- const { loadModelRoutingConfig } = await import("../routing-HaYsjEIS.js");
4874
+ const { loadModelRoutingConfig } = await import("../routing-h9IhuF0i.js");
4871
4875
  routingConfig = loadModelRoutingConfig(routingConfigPath);
4872
4876
  } catch {}
4873
4877
  if (routingConfig === null) routingConfig = {
@@ -8609,14 +8613,16 @@ async function createProgram() {
8609
8613
  registerExportCommand(program, version);
8610
8614
  registerIngestEpicCommand(program);
8611
8615
  registerEpicStatusCommand(program);
8616
+ registerScenariosCommand(program);
8617
+ registerFactoryCommand(program);
8612
8618
  registerUpgradeCommand(program);
8613
8619
  return program;
8614
8620
  }
8615
8621
  /** Fire-and-forget startup version check (story 8.3, AC3/AC5) */
8616
8622
  function checkForUpdatesInBackground(currentVersion) {
8617
8623
  if (process.env.SUBSTRATE_NO_UPDATE_CHECK === "1") return;
8618
- import("../upgrade-DYdYuuJK.js").then(async () => {
8619
- const { createVersionManager } = await import("../version-manager-impl-CKv6I1S0.js");
8624
+ import("../upgrade-D0JTv4uQ.js").then(async () => {
8625
+ const { createVersionManager } = await import("../version-manager-impl-CxCB4SPB.js");
8620
8626
  const vm = createVersionManager();
8621
8627
  const result = await vm.checkForUpdates();
8622
8628
  if (result.updateAvailable) {
@@ -1,4 +1,4 @@
1
- import { addTokenUsage, createDecision, createPipelineRun, createRequirement, getArtifactByTypeForRun, getArtifactsByRun, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestRun, getPipelineRunById, getRunningPipelineRuns, getTokenUsageSummary, listRequirements, registerArtifact, updateDecision, updatePipelineRun, updatePipelineRunConfig, upsertDecision } from "./dist-eNB_v7Iy.js";
1
+ import { addTokenUsage, createDecision, createPipelineRun, createRequirement, getArtifactByTypeForRun, getArtifactsByRun, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestRun, getPipelineRunById, getRunningPipelineRuns, getTokenUsageSummary, listRequirements, registerArtifact, updateDecision, updatePipelineRun, updatePipelineRunConfig, upsertDecision } from "./dist-DKG5lyUw.js";
2
2
  import "./decisions-C0pz9Clx.js";
3
3
 
4
4
  export { getLatestRun };
@@ -10201,5 +10201,31 @@ function createExperimenter(config, deps) {
10201
10201
  }
10202
10202
 
10203
10203
  //#endregion
10204
- export { ADVISORY_NOTES, AdapterRegistry, AdtError, BudgetConfigSchema, CURRENT_CONFIG_FORMAT_VERSION, CURRENT_TASK_GRAPH_VERSION, Categorizer, ClaudeCodeAdapter, CodexCLIAdapter, ConfigError, ConfigIncompatibleFormatError, ConsumerAnalyzer, CostTrackerConfigSchema, DEFAULT_CONFIG, DispatcherImpl, DoltClient, DoltNotInstalled, DoltQueryError, ESCALATION_DIAGNOSIS, EXPERIMENT_RESULT, EfficiencyScorer, GeminiCLIAdapter, GlobalSettingsSchema, IngestionServer, LogTurnAnalyzer, ModelRoutingConfigSchema, MonitorDatabaseImpl, OPERATIONAL_FINDING, PartialGlobalSettingsSchema, PartialProviderConfigSchema, ProviderPolicySchema, ProvidersSchema, Recommender, RoutingConfigError, RoutingRecommender, RoutingResolver, RoutingTelemetry, RoutingTokenAccumulator, RoutingTuner, STORY_METRICS, STORY_OUTCOME, TASK_TYPE_PHASE_MAP, TEST_EXPANSION_FINDING, TEST_PLAN, TelemetryConfigSchema, TelemetryNormalizer, TelemetryPipeline, TurnAnalyzer, VersionManagerImpl, addTokenUsage, aggregateTokenUsageForRun, aggregateTokenUsageForStory, buildAuditLogEntry, buildBranchName, buildModificationDirective, buildPRBody, buildWorktreePath, checkDoltInstalled, compareRunMetrics, createAmendmentRun, createConfigSystem, createDatabaseAdapter as createDatabaseAdapter$1, createDecision, createDoltClient, createExperimenter, createPipelineRun, createRequirement, createVersionManager, detectInterfaceChanges, determineVerdict, getActiveDecisions, getAllCostEntriesFiltered, getArtifactByTypeForRun, getArtifactsByRun, getBaselineRunMetrics, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestCompletedRun, getLatestRun, getModelTier, getPipelineRunById, getPlanningCostTotal, getRetryableEscalations, getRunMetrics, getRunningPipelineRuns, getSessionCostSummary, getSessionCostSummaryFiltered, getStoryMetricsForRun, getTokenUsageSummary, incrementRunRestarts, initSchema, initializeDolt, listRequirements, listRunMetrics, loadModelRoutingConfig, loadParentRunDecisions, registerArtifact, resolvePromptFile, supersedeDecision, tagRunAsBaseline, updateDecision, updatePipelineRun, updatePipelineRunConfig, upsertDecision, writeRunMetrics, writeStoryMetrics };
10205
- //# sourceMappingURL=dist-eNB_v7Iy.js.map
10204
+ //#region packages/core/dist/llm/client.js
10205
+ /**
10206
+ * Minimal LLM client API for the factory graph engine (story 42-10).
10207
+ *
10208
+ * `callLLM` is a thin interface boundary — it defines the parameter shape and
10209
+ * return type that the codergen handler depends on, keeping the handler
10210
+ * decoupled from any specific provider SDK. Actual provider routing is
10211
+ * handled at the application layer (e.g. the executor injects a real
10212
+ * implementation via dependency injection or monkey-patching for tests).
10213
+ *
10214
+ * Callers that need to make live LLM requests should either:
10215
+ * 1. Replace the exported function reference at startup, or
10216
+ * 2. Mock it with `vi.mock('@substrate-ai/core')` in unit tests.
10217
+ */
10218
+ /**
10219
+ * Invoke an LLM with the given parameters and return the response text.
10220
+ *
10221
+ * This default export throws "not implemented" — it is intended to be replaced
10222
+ * by a real adapter at runtime or mocked in tests. The codergen handler
10223
+ * imports this symbol so that `vi.mock('@substrate-ai/core')` can intercept it.
10224
+ */
10225
+ async function callLLM(params) {
10226
+ throw new Error(`callLLM: no provider adapter configured for provider="${params.provider}" model="${params.model}"`);
10227
+ }
10228
+
10229
+ //#endregion
10230
+ export { ADVISORY_NOTES, AdapterRegistry, AdtError, BudgetConfigSchema, CURRENT_CONFIG_FORMAT_VERSION, CURRENT_TASK_GRAPH_VERSION, Categorizer, ClaudeCodeAdapter, CodexCLIAdapter, ConfigError, ConfigIncompatibleFormatError, ConsumerAnalyzer, CostTrackerConfigSchema, DEFAULT_CONFIG, DEFAULT_GLOBAL_SETTINGS, DispatcherImpl, DoltClient, DoltNotInstalled, DoltQueryError, ESCALATION_DIAGNOSIS, EXPERIMENT_RESULT, EfficiencyScorer, GeminiCLIAdapter, GlobalSettingsSchema, IngestionServer, LogTurnAnalyzer, ModelRoutingConfigSchema, MonitorDatabaseImpl, OPERATIONAL_FINDING, PartialGlobalSettingsSchema, PartialProviderConfigSchema, ProviderPolicySchema, ProvidersSchema, Recommender, RoutingConfigError, RoutingRecommender, RoutingResolver, RoutingTelemetry, RoutingTokenAccumulator, RoutingTuner, STORY_METRICS, STORY_OUTCOME, SubstrateConfigSchema, TASK_TYPE_PHASE_MAP, TEST_EXPANSION_FINDING, TEST_PLAN, TelemetryConfigSchema, TelemetryNormalizer, TelemetryPipeline, TurnAnalyzer, VersionManagerImpl, addTokenUsage, aggregateTokenUsageForRun, aggregateTokenUsageForStory, buildAuditLogEntry, buildBranchName, buildModificationDirective, buildPRBody, buildWorktreePath, callLLM, checkDoltInstalled, compareRunMetrics, createAmendmentRun, createConfigSystem, createDatabaseAdapter as createDatabaseAdapter$1, createDecision, createDoltClient, createExperimenter, createPipelineRun, createRequirement, createVersionManager, detectInterfaceChanges, determineVerdict, getActiveDecisions, getAllCostEntriesFiltered, getArtifactByTypeForRun, getArtifactsByRun, getBaselineRunMetrics, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestCompletedRun, getLatestRun, getModelTier, getPipelineRunById, getPlanningCostTotal, getRetryableEscalations, getRunMetrics, getRunningPipelineRuns, getSessionCostSummary, getSessionCostSummaryFiltered, getStoryMetricsForRun, getTokenUsageSummary, incrementRunRestarts, initSchema, initializeDolt, listRequirements, listRunMetrics, loadModelRoutingConfig, loadParentRunDecisions, registerArtifact, resolvePromptFile, supersedeDecision, tagRunAsBaseline, updateDecision, updatePipelineRun, updatePipelineRunConfig, upsertDecision, writeRunMetrics, writeStoryMetrics };
10231
+ //# sourceMappingURL=dist-DKG5lyUw.js.map
@@ -1,4 +1,4 @@
1
- import { AdtError } from "./dist-eNB_v7Iy.js";
1
+ import { AdtError } from "./dist-DKG5lyUw.js";
2
2
 
3
3
  //#region src/core/errors.ts
4
4
  /** Error thrown when task configuration is invalid */
@@ -71,4 +71,4 @@ var TaskGraphIncompatibleFormatError = class extends AdtError {
71
71
 
72
72
  //#endregion
73
73
  export { BudgetExceededError, GitError, RecoveryError, TaskConfigError, TaskGraphCycleError, TaskGraphError, TaskGraphIncompatibleFormatError, WorkerError, WorkerNotFoundError };
74
- //# sourceMappingURL=errors-BvyMlvCX.js.map
74
+ //# sourceMappingURL=errors-CQKOiaYV.js.map
@@ -1,3 +1,3 @@
1
- import { buildAuditLogEntry, buildBranchName, buildModificationDirective, buildPRBody, buildWorktreePath, createExperimenter, determineVerdict, resolvePromptFile } from "./dist-eNB_v7Iy.js";
1
+ import { buildAuditLogEntry, buildBranchName, buildModificationDirective, buildPRBody, buildWorktreePath, createExperimenter, determineVerdict, resolvePromptFile } from "./dist-DKG5lyUw.js";
2
2
 
3
3
  export { createExperimenter };
@@ -1,5 +1,5 @@
1
1
  import { createLogger } from "./logger-KeHncl-f.js";
2
- import { DoltClient, DoltQueryError, createDatabaseAdapter$1 as createDatabaseAdapter, getLatestRun, getPipelineRunById, initSchema } from "./dist-eNB_v7Iy.js";
2
+ import { DoltClient, DoltQueryError, createDatabaseAdapter$1 as createDatabaseAdapter, getLatestRun, getPipelineRunById, initSchema } from "./dist-DKG5lyUw.js";
3
3
  import { createRequire } from "module";
4
4
  import { dirname, join } from "path";
5
5
  import { existsSync, readFileSync } from "node:fs";
@@ -1930,4 +1930,4 @@ function registerHealthCommand(program, _version = "0.0.0", projectRoot = proces
1930
1930
 
1931
1931
  //#endregion
1932
1932
  export { BMAD_BASELINE_TOKENS_FULL, DEFAULT_STALL_THRESHOLD_SECONDS, DoltMergeConflict, FileStateStore, STOP_AFTER_VALID_PHASES, STORY_KEY_PATTERN$1 as STORY_KEY_PATTERN, SUBSTRATE_OWNED_SETTINGS_KEYS, VALID_PHASES, WorkGraphRepository, __commonJS, __require, __toESM, buildPipelineStatusOutput, createDatabaseAdapter$1 as createDatabaseAdapter, createStateStore, detectCycles, findPackageRoot, formatOutput, formatPipelineStatusHuman, formatPipelineSummary, formatTokenTelemetry, getAllDescendantPids, getAutoHealthData, getSubstrateDefaultSettings, inspectProcessTree, isOrchestratorProcessLine, parseDbTimestampAsUtc, registerHealthCommand, resolveBmadMethodSrcPath, resolveBmadMethodVersion, resolveMainRepoRoot, runHealthAction, validateStoryKey };
1933
- //# sourceMappingURL=health-CiDi90gC.js.map
1933
+ //# sourceMappingURL=health-BR5GD5Ge.js.map
@@ -1,6 +1,6 @@
1
- import { DEFAULT_STALL_THRESHOLD_SECONDS, getAllDescendantPids, getAutoHealthData, inspectProcessTree, isOrchestratorProcessLine, registerHealthCommand, runHealthAction } from "./health-CiDi90gC.js";
1
+ import { DEFAULT_STALL_THRESHOLD_SECONDS, getAllDescendantPids, getAutoHealthData, inspectProcessTree, isOrchestratorProcessLine, registerHealthCommand, runHealthAction } from "./health-BR5GD5Ge.js";
2
2
  import "./logger-KeHncl-f.js";
3
- import "./dist-eNB_v7Iy.js";
3
+ import "./dist-DKG5lyUw.js";
4
4
  import "./decisions-C0pz9Clx.js";
5
5
 
6
6
  export { inspectProcessTree };
@@ -826,5 +826,5 @@ async function withRetry(fn, maxRetries = 3, baseDelayMs = 100) {
826
826
  }
827
827
 
828
828
  //#endregion
829
- export { assertDefined, createEventBus, createTuiApp, deepClone, formatDuration, generateId, isPlainObject, isTuiCapable, printNonTtyWarning, sleep, withRetry };
830
- //# sourceMappingURL=helpers-DTp3VJ2-.js.map
829
+ export { TypedEventBusImpl$1 as TypedEventBusImpl, assertDefined, createEventBus, createTuiApp, deepClone, formatDuration, generateId, isPlainObject, isTuiCapable, printNonTtyWarning, sleep, withRetry };
830
+ //# sourceMappingURL=helpers-CElYrONe.js.map
package/dist/index.d.ts CHANGED
@@ -1868,12 +1868,14 @@ interface OrchestratorEvents {
1868
1868
  'orchestrator:story-phase-start': {
1869
1869
  storyKey: string;
1870
1870
  phase: string;
1871
+ pipelineRunId?: string;
1871
1872
  };
1872
1873
  /** A story phase has completed within the implementation orchestrator */
1873
1874
  'orchestrator:story-phase-complete': {
1874
1875
  storyKey: string;
1875
1876
  phase: string;
1876
1877
  result: unknown;
1878
+ pipelineRunId?: string;
1877
1879
  };
1878
1880
  /** A story has completed the full pipeline with SHIP_IT verdict */
1879
1881
  'orchestrator:story-complete': {
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { childLogger, createLogger, logger } from "./logger-KeHncl-f.js";
2
- import { assertDefined, createEventBus, createTuiApp, deepClone, formatDuration, generateId, isPlainObject, isTuiCapable, printNonTtyWarning, sleep, withRetry } from "./helpers-DTp3VJ2-.js";
3
- import { AdapterRegistry, AdtError, ClaudeCodeAdapter, CodexCLIAdapter, ConfigError, ConfigIncompatibleFormatError, GeminiCLIAdapter } from "./dist-eNB_v7Iy.js";
2
+ import { assertDefined, createEventBus, createTuiApp, deepClone, formatDuration, generateId, isPlainObject, isTuiCapable, printNonTtyWarning, sleep, withRetry } from "./helpers-CElYrONe.js";
3
+ import { AdapterRegistry, AdtError, ClaudeCodeAdapter, CodexCLIAdapter, ConfigError, ConfigIncompatibleFormatError, GeminiCLIAdapter } from "./dist-DKG5lyUw.js";
4
4
  import "./adapter-registry-DXLMTmfD.js";
5
- import { BudgetExceededError, GitError, RecoveryError, TaskConfigError, TaskGraphCycleError, TaskGraphError, TaskGraphIncompatibleFormatError, WorkerError, WorkerNotFoundError } from "./errors-BvyMlvCX.js";
5
+ import { BudgetExceededError, GitError, RecoveryError, TaskConfigError, TaskGraphCycleError, TaskGraphError, TaskGraphIncompatibleFormatError, WorkerError, WorkerNotFoundError } from "./errors-CQKOiaYV.js";
6
6
 
7
7
  //#region src/core/di.ts
8
8
  /**
@@ -1,4 +1,4 @@
1
- import { ModelRoutingConfigSchema, ProviderPolicySchema, RoutingConfigError, RoutingRecommender, RoutingResolver, RoutingTelemetry, RoutingTokenAccumulator, RoutingTuner, TASK_TYPE_PHASE_MAP, getModelTier, loadModelRoutingConfig } from "./dist-eNB_v7Iy.js";
1
+ import { ModelRoutingConfigSchema, ProviderPolicySchema, RoutingConfigError, RoutingRecommender, RoutingResolver, RoutingTelemetry, RoutingTokenAccumulator, RoutingTuner, TASK_TYPE_PHASE_MAP, getModelTier, loadModelRoutingConfig } from "./dist-DKG5lyUw.js";
2
2
  import "./routing-CcBOCuC9.js";
3
3
 
4
4
  export { loadModelRoutingConfig };
@@ -0,0 +1,9 @@
1
+ import "./health-BR5GD5Ge.js";
2
+ import "./logger-KeHncl-f.js";
3
+ import "./helpers-CElYrONe.js";
4
+ import "./dist-DKG5lyUw.js";
5
+ import { registerRunCommand, runRunAction } from "./run-zWACyS3w.js";
6
+ import "./routing-CcBOCuC9.js";
7
+ import "./decisions-C0pz9Clx.js";
8
+
9
+ export { runRunAction };