substrate-ai 0.20.90 → 0.20.92
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/adapter-registry-BZ0cVi8C.js +4 -0
- package/dist/cli/index.js +94 -362
- package/dist/cli/templates/claude-md-substrate-section.md +1 -2
- package/dist/{decisions-CMUW6gO5.js → decisions-CsNAM-T-.js} +1 -1
- package/dist/{dist-i8Re6HlE.js → dist-l0pA6zZF.js} +13 -15
- package/dist/{errors-DPIwiYIO.js → errors-DZuD2tVU.js} +2 -2
- package/dist/{experimenter-DgeyT6XB.js → experimenter-GfhQpMis.js} +1 -1
- package/dist/{health-DzquK08l.js → health-CgY9akax.js} +3 -3
- package/dist/{health-fVo5FGun.js → health-dWYa13k4.js} +50 -531
- package/dist/index.js +2 -2
- package/dist/{interactive-prompt-CPVsakLe.js → interactive-prompt-DY-PFko-.js} +2 -2
- package/dist/{manifest-read-BKmGNnh4.js → manifest-read-CSmDEOWH.js} +2 -2
- package/dist/modules/interactive-prompt/index.js +3 -3
- package/dist/{routing-BdwJkF3S.js → routing-CD5PGDLe.js} +1 -1
- package/dist/{run-CC_c9n-U.js → run-BXRwQRst.js} +6 -6
- package/dist/{run-AN24Jark.js → run-DPQ4DT5Q.js} +5 -5
- package/dist/{upgrade-bldRqYko.js → upgrade-BP0P3qr9.js} +2 -2
- package/dist/{upgrade-BeqdIFCx.js → upgrade-DCDe5u0P.js} +2 -2
- package/dist/{version-manager-impl-CZ1AbRt3.js → version-manager-impl-B8MpvZQz.js} +1 -1
- package/package.json +1 -1
- package/dist/adapter-registry-B6px5DpL.js +0 -4
|
@@ -101,7 +101,6 @@ Each dispatched story runs in `.substrate-worktrees/story-<key>` on its own bran
|
|
|
101
101
|
| `substrate metrics --output-format json` | View historical run metrics |
|
|
102
102
|
| `substrate resume` | Resume an interrupted pipeline run |
|
|
103
103
|
| `substrate run --help-agent` | Full agent instruction reference |
|
|
104
|
-
| `substrate diff <story>` | Show row-level state changes for a story (requires Dolt) |
|
|
105
104
|
| `substrate history` | View Dolt commit log for pipeline state changes (requires Dolt) |
|
|
106
105
|
|
|
107
106
|
### Operator Files (`.substrate/`)
|
|
@@ -112,5 +111,5 @@ Each dispatched story runs in `.substrate-worktrees/story-<key>` on its own bran
|
|
|
112
111
|
|
|
113
112
|
### State Backend
|
|
114
113
|
|
|
115
|
-
Substrate uses Dolt for versioned pipeline state by default. Run `substrate init` to set it up automatically if Dolt is on PATH. Features that require Dolt: `substrate
|
|
114
|
+
Substrate uses Dolt for versioned pipeline state by default. Run `substrate init` to set it up automatically if Dolt is on PATH. Features that require Dolt: `substrate history`, OTEL observability persistence, and context engineering repo-map storage.
|
|
116
115
|
<!-- substrate:end -->
|
|
@@ -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-
|
|
1
|
+
import { addTokenUsage, createDecision, createPipelineRun, createRequirement, getArtifactByTypeForRun, getArtifactsByRun, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestRun, getPipelineRunById, getRunningPipelineRuns, getTokenUsageSummary, listRequirements, registerArtifact, updateDecision, updatePipelineRun, updatePipelineRunConfig, upsertDecision } from "./dist-l0pA6zZF.js";
|
|
2
2
|
import "./decisions-CzSIEeGP.js";
|
|
3
3
|
|
|
4
4
|
export { getLatestRun };
|
|
@@ -3056,20 +3056,18 @@ async function initSchema(adapter) {
|
|
|
3056
3056
|
try {
|
|
3057
3057
|
await adapter.exec("ALTER TABLE story_dependencies ADD COLUMN created_at DATETIME");
|
|
3058
3058
|
} catch {}
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
`);
|
|
3072
|
-
} catch {}
|
|
3059
|
+
await adapter.exec(`
|
|
3060
|
+
CREATE VIEW IF NOT EXISTS ready_stories AS
|
|
3061
|
+
SELECT s.* FROM wg_stories s
|
|
3062
|
+
WHERE s.status IN ('planned', 'ready')
|
|
3063
|
+
AND NOT EXISTS (
|
|
3064
|
+
SELECT 1 FROM story_dependencies d
|
|
3065
|
+
JOIN wg_stories dep ON dep.story_key = d.depends_on
|
|
3066
|
+
WHERE d.story_key = s.story_key
|
|
3067
|
+
AND d.dependency_type = 'blocks'
|
|
3068
|
+
AND dep.status <> 'complete'
|
|
3069
|
+
)
|
|
3070
|
+
`);
|
|
3073
3071
|
await adapter.exec(`
|
|
3074
3072
|
CREATE VIEW IF NOT EXISTS ready_tasks AS
|
|
3075
3073
|
SELECT t.* FROM tasks t
|
|
@@ -11157,4 +11155,4 @@ async function callLLM(params) {
|
|
|
11157
11155
|
|
|
11158
11156
|
//#endregion
|
|
11159
11157
|
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, InMemoryDatabaseAdapter, IngestionServer, LEARNING_FINDING, 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, classifyVersionGap, 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, swallowDebug, tagRunAsBaseline, updateDecision, updatePipelineRun, updatePipelineRunConfig, upsertDecision, writeRunMetrics, writeStoryMetrics };
|
|
11160
|
-
//# sourceMappingURL=dist-
|
|
11158
|
+
//# sourceMappingURL=dist-l0pA6zZF.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdtError } from "./dist-
|
|
1
|
+
import { AdtError } from "./dist-l0pA6zZF.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-
|
|
74
|
+
//# sourceMappingURL=errors-DZuD2tVU.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { buildAuditLogEntry, buildBranchName, buildModificationDirective, buildPRBody, buildWorktreePath, createExperimenter, determineVerdict, resolvePromptFile } from "./dist-
|
|
1
|
+
import { buildAuditLogEntry, buildBranchName, buildModificationDirective, buildPRBody, buildWorktreePath, createExperimenter, determineVerdict, resolvePromptFile } from "./dist-l0pA6zZF.js";
|
|
2
2
|
|
|
3
3
|
export { createExperimenter };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DEFAULT_STALL_THRESHOLD_SECONDS, getAllDescendantPids, getAutoHealthData, inspectProcessTree, isOrchestratorProcessLine, registerHealthCommand, runHealthAction } from "./health-
|
|
1
|
+
import { DEFAULT_STALL_THRESHOLD_SECONDS, getAllDescendantPids, getAutoHealthData, inspectProcessTree, isOrchestratorProcessLine, registerHealthCommand, runHealthAction } from "./health-dWYa13k4.js";
|
|
2
2
|
import "./logger-KeHncl-f.js";
|
|
3
|
-
import "./dist-
|
|
4
|
-
import "./manifest-read-
|
|
3
|
+
import "./dist-l0pA6zZF.js";
|
|
4
|
+
import "./manifest-read-CSmDEOWH.js";
|
|
5
5
|
import "./work-graph-repository-DZyJv5pV.js";
|
|
6
6
|
import "./decisions-CzSIEeGP.js";
|
|
7
7
|
|