substrate-ai 0.20.80 → 0.20.82
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
|
@@ -3,7 +3,7 @@ import { FileStateStore, SUBSTRATE_OWNED_SETTINGS_KEYS, VALID_PHASES, buildPipel
|
|
|
3
3
|
import { createLogger } from "../logger-KeHncl-f.js";
|
|
4
4
|
import { createEventBus } from "../helpers-CElYrONe.js";
|
|
5
5
|
import { AdapterRegistry, BudgetConfigSchema, CURRENT_CONFIG_FORMAT_VERSION, CURRENT_TASK_GRAPH_VERSION, ConfigError, CostTrackerConfigSchema, DEFAULT_CONFIG, DoltClient, DoltNotInstalled, GlobalSettingsSchema, InMemoryDatabaseAdapter, 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, getRunningPipelineRuns, getSessionCostSummary, getSessionCostSummaryFiltered, getStoryMetricsForRun, getTokenUsageSummary, incrementRunRestarts, initSchema, initializeDolt, listRunMetrics, loadParentRunDecisions, supersedeDecision, swallowDebug, tagRunAsBaseline, updatePipelineRun } from "../dist-DCBSXUiX.js";
|
|
6
|
-
import { AdapterTelemetryPersistence, AppError, DoltRepoMapMetaRepository, DoltSymbolRepository, ERR_REPO_MAP_STORAGE_WRITE, EpicIngester, GLOBSTAR, GitClient, GrammarLoader, Minimatch, Minipass, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SymbolParser, createContextCompiler, createDispatcher, createEventEmitter, createGitWorktreeManager, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStopAfterGate, createTelemetryAdvisor, escape, formatPhaseCompletionSummary, getFactoryRunSummaries, getScenarioResultsForRun, getTwinRunsForRun, listGraphRuns, registerExportCommand, registerFactoryCommand, registerRunCommand, registerScenariosCommand, resolveStoryKeys, runAnalysisPhase, runPlanningPhase, runProbeAuthor, runSolutioningPhase, unescape, validateStopAfterFromConflict } from "../run-
|
|
6
|
+
import { AdapterTelemetryPersistence, AppError, DoltRepoMapMetaRepository, DoltSymbolRepository, ERR_REPO_MAP_STORAGE_WRITE, EpicIngester, GLOBSTAR, GitClient, GrammarLoader, Minimatch, Minipass, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SymbolParser, createContextCompiler, createDispatcher, createEventEmitter, createGitWorktreeManager, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStopAfterGate, createTelemetryAdvisor, escape, formatPhaseCompletionSummary, getFactoryRunSummaries, getScenarioResultsForRun, getTwinRunsForRun, listGraphRuns, registerExportCommand, registerFactoryCommand, registerRunCommand, registerScenariosCommand, resolveStoryKeys, runAnalysisPhase, runPlanningPhase, runProbeAuthor, runSolutioningPhase, unescape, validateStopAfterFromConflict } from "../run-DsETRdG0.js";
|
|
7
7
|
import "../adapter-registry-DIcrxjH8.js";
|
|
8
8
|
import { RunManifest, SupervisorLock, ZERO_FINDINGS_BY_AUTHOR, ZERO_FINDING_COUNTS, ZERO_PROBE_AUTHOR_METRICS, aggregateProbeAuthorMetrics, parseRuntimeProbes, readCurrentRunId, resolveMainRepoRoot, resolveRunManifest, rollupFindingCounts, rollupFindingsByAuthor, rollupProbeAuthorByClass, rollupProbeAuthorMetrics, runAcTraceabilityCheck } from "../manifest-read-Boipz5aP.js";
|
|
9
9
|
import "../errors-D7xD-utp.js";
|
|
@@ -8436,7 +8436,7 @@ async function runSupervisorAction(options, deps = {}) {
|
|
|
8436
8436
|
await initSchema(expAdapter);
|
|
8437
8437
|
const { runRunAction: runPipeline } = await import(
|
|
8438
8438
|
/* @vite-ignore */
|
|
8439
|
-
"../run-
|
|
8439
|
+
"../run-DhRYsOEH.js"
|
|
8440
8440
|
);
|
|
8441
8441
|
const runStoryFn = async (opts) => {
|
|
8442
8442
|
const exitCode = await runPipeline({
|
|
@@ -2,7 +2,7 @@ import "./health-CuKzY0Fn.js";
|
|
|
2
2
|
import "./logger-KeHncl-f.js";
|
|
3
3
|
import "./helpers-CElYrONe.js";
|
|
4
4
|
import "./dist-DCBSXUiX.js";
|
|
5
|
-
import { normalizeGraphSummaryToStatus, registerRunCommand, resolveMaxReviewCycles, resolveProbeAuthorStateIntegrating, runRunAction, wireNdjsonEmitter } from "./run-
|
|
5
|
+
import { normalizeGraphSummaryToStatus, registerRunCommand, resolveMaxReviewCycles, resolveProbeAuthorStateIntegrating, runRunAction, wireNdjsonEmitter } from "./run-DsETRdG0.js";
|
|
6
6
|
import "./manifest-read-Boipz5aP.js";
|
|
7
7
|
import "./routing-DFxoKHDt.js";
|
|
8
8
|
import "./work-graph-repository-DZyJv5pV.js";
|
|
@@ -142,7 +142,7 @@ async function verifyGitVersion() {
|
|
|
142
142
|
*
|
|
143
143
|
* @param projectRoot - Absolute path to the git repository root
|
|
144
144
|
* @param taskId - Task identifier (used in path derivation)
|
|
145
|
-
* @param branchName - Branch name to create (e.g., "substrate/
|
|
145
|
+
* @param branchName - Branch name to create (e.g., "substrate/story-abc123")
|
|
146
146
|
* @param baseBranch - Branch to base the worktree on (e.g., "main")
|
|
147
147
|
* @returns - Object with the worktreePath
|
|
148
148
|
* @throws - Error if git command fails
|
|
@@ -201,7 +201,7 @@ async function removeWorktree(worktreePath, projectRoot) {
|
|
|
201
201
|
/**
|
|
202
202
|
* Delete a git branch using `git branch -D`.
|
|
203
203
|
*
|
|
204
|
-
* @param branchName - Branch name to delete (e.g., "substrate/
|
|
204
|
+
* @param branchName - Branch name to delete (e.g., "substrate/story-abc123")
|
|
205
205
|
* @param projectRoot - Absolute path to the git repository root
|
|
206
206
|
* @returns - true if branch was successfully deleted, false otherwise
|
|
207
207
|
*/
|
|
@@ -339,7 +339,7 @@ async function getMergedFiles(cwd) {
|
|
|
339
339
|
|
|
340
340
|
//#endregion
|
|
341
341
|
//#region packages/core/dist/git/git-worktree-manager-impl.js
|
|
342
|
-
const BRANCH_PREFIX = "substrate/
|
|
342
|
+
const BRANCH_PREFIX = "substrate/story-";
|
|
343
343
|
const DEFAULT_WORKTREE_BASE = ".substrate-worktrees";
|
|
344
344
|
var GitWorktreeManagerImpl = class {
|
|
345
345
|
_eventBus;
|
|
@@ -16014,7 +16014,7 @@ function createImplementationOrchestrator(deps) {
|
|
|
16014
16014
|
error: expansionErr instanceof Error ? expansionErr.message : String(expansionErr)
|
|
16015
16015
|
}, "Test expansion failed — story verdict unchanged");
|
|
16016
16016
|
}
|
|
16017
|
-
if (
|
|
16017
|
+
if (!noWorktree && _worktreeManager !== void 0 && _orchestratorStartBranch !== void 0 && projectRoot !== void 0) {
|
|
16018
16018
|
const branchName = `substrate/story-${storyKey}`;
|
|
16019
16019
|
logger$27.info({
|
|
16020
16020
|
storyKey,
|
|
@@ -16027,7 +16027,7 @@ function createImplementationOrchestrator(deps) {
|
|
|
16027
16027
|
storyKey,
|
|
16028
16028
|
branchName,
|
|
16029
16029
|
startBranch: _orchestratorStartBranch,
|
|
16030
|
-
worktreeManager,
|
|
16030
|
+
worktreeManager: _worktreeManager,
|
|
16031
16031
|
eventBus,
|
|
16032
16032
|
projectRoot
|
|
16033
16033
|
});
|
|
@@ -47125,4 +47125,4 @@ function registerRunCommand(program, version = "0.0.0", projectRoot = process.cw
|
|
|
47125
47125
|
|
|
47126
47126
|
//#endregion
|
|
47127
47127
|
export { AdapterTelemetryPersistence, AppError, DoltRepoMapMetaRepository, DoltSymbolRepository, ERR_REPO_MAP_STORAGE_WRITE, EpicIngester, GLOBSTAR$1 as GLOBSTAR, GitClient, GrammarLoader, Minimatch$1 as Minimatch, Minipass, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SymbolParser, createContextCompiler, createDispatcher, createEventEmitter, createGitWorktreeManager, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStopAfterGate, createTelemetryAdvisor, escape$1 as escape, formatPhaseCompletionSummary, getFactoryRunSummaries, getScenarioResultsForRun, getTwinRunsForRun, listGraphRuns, normalizeGraphSummaryToStatus, registerExportCommand, registerFactoryCommand, registerRunCommand, registerScenariosCommand, resolveMaxReviewCycles, resolveProbeAuthorStateIntegrating, resolveStoryKeys, runAnalysisPhase, runPlanningPhase, runProbeAuthor, runRunAction, runSolutioningPhase, unescape$1 as unescape, validateStopAfterFromConflict, wireNdjsonEmitter };
|
|
47128
|
-
//# sourceMappingURL=run-
|
|
47128
|
+
//# sourceMappingURL=run-DsETRdG0.js.map
|