substrate-ai 0.11.0 → 0.12.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.
package/dist/cli/index.js CHANGED
@@ -4,12 +4,12 @@ import { createLogger } from "../logger-KeHncl-f.js";
4
4
  import { createEventBus } from "../helpers-DTp3VJ2-.js";
5
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";
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";
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-CrIc5FY5.js";
8
8
  import "../errors-BvyMlvCX.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-DvEXi3Fq.js";
13
13
  import { Command } from "commander";
14
14
  import { fileURLToPath } from "url";
15
15
  import { dirname, join, resolve } from "path";
@@ -4351,7 +4351,7 @@ async function runSupervisorAction(options, deps = {}) {
4351
4351
  await initSchema(expAdapter);
4352
4352
  const { runRunAction: runPipeline } = await import(
4353
4353
  /* @vite-ignore */
4354
- "../run-DPZOQOvB.js"
4354
+ "../run-Czm5qS9p.js"
4355
4355
  );
4356
4356
  const runStoryFn = async (opts) => {
4357
4357
  const exitCode = await runPipeline({
@@ -8615,7 +8615,7 @@ async function createProgram() {
8615
8615
  /** Fire-and-forget startup version check (story 8.3, AC3/AC5) */
8616
8616
  function checkForUpdatesInBackground(currentVersion) {
8617
8617
  if (process.env.SUBSTRATE_NO_UPDATE_CHECK === "1") return;
8618
- import("../upgrade-DYdYuuJK.js").then(async () => {
8618
+ import("../upgrade-B3ohl-EC.js").then(async () => {
8619
8619
  const { createVersionManager } = await import("../version-manager-impl-CKv6I1S0.js");
8620
8620
  const vm = createVersionManager();
8621
8621
  const result = await vm.checkForUpdates();
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': {