substrate-ai 0.20.147 → 0.20.149
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-CauYNA1U.js +4 -0
- package/dist/cli/index.js +42 -26
- package/dist/{decisions-qFnqErZ5.js → decisions-De43bvYq.js} +1 -1
- package/dist/{dist-DT378h1M.js → dist-C2CAZDep.js} +912 -27
- package/dist/{errors-BGE3kaH8.js → errors-Db8EIM9w.js} +2 -2
- package/dist/{experimenter-COLnRT8i.js → experimenter-Dm5jUPO6.js} +1 -1
- package/dist/{health-nQ_Txd5T.js → health-ByQadq3J.js} +3 -3
- package/dist/{health-BJoVPIyR.js → health-WGcvcIYK.js} +3 -3
- package/dist/{index-DaBYDiWn.d.ts → index-DxeIRBBf.d.ts} +10 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +3 -3
- package/dist/{interactive-prompt-xJ3K-IUQ.js → interactive-prompt-CMBlj6UF.js} +2 -2
- package/dist/{manifest-read-DlWwZpfO.js → manifest-read-knD2uWkz.js} +2 -2
- package/dist/modules/interactive-prompt/index.js +3 -3
- package/dist/{routing-Dz4GQta5.js → routing-B3sgH5MZ.js} +1 -1
- package/dist/{run-BBVZdkEo.js → run-BAUlPom3.js} +210 -838
- package/dist/{run-D3mhgkIL.js → run-CtIc7_rK.js} +5 -5
- package/dist/src/modules/recovery-engine/index.d.ts +1 -1
- package/dist/{upgrade-V0xYGkQs.js → upgrade-B3iamwjO.js} +2 -2
- package/dist/{upgrade-BVHnUYUd.js → upgrade-DOmKCyOY.js} +2 -2
- package/dist/{version-manager-impl-BWqvme_f.js → version-manager-impl-DizCvYy8.js} +1 -1
- package/package.json +1 -1
- package/dist/adapter-registry-SL7-DtOW.js +0 -4
- /package/dist/{adapter-registry-DIcrxjH8.js → adapter-registry-DXLMTmfD.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdtError } from "./dist-
|
|
1
|
+
import { AdtError } from "./dist-C2CAZDep.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-Db8EIM9w.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-C2CAZDep.js";
|
|
2
2
|
|
|
3
3
|
export { createExperimenter };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createLogger } from "./logger-KeHncl-f.js";
|
|
2
|
-
import { DoltClient, DoltQueryError, createDatabaseAdapter$1 as createDatabaseAdapter, getLatestRun, getPipelineRunById, initSchema } from "./dist-
|
|
3
|
-
import { resolveMainRepoRoot, resolveRunManifest } from "./manifest-read-
|
|
2
|
+
import { DoltClient, DoltQueryError, createDatabaseAdapter$1 as createDatabaseAdapter, getLatestRun, getPipelineRunById, initSchema } from "./dist-C2CAZDep.js";
|
|
3
|
+
import { resolveMainRepoRoot, resolveRunManifest } from "./manifest-read-knD2uWkz.js";
|
|
4
4
|
import { createRequire } from "module";
|
|
5
5
|
import { dirname, join } from "path";
|
|
6
6
|
import { existsSync, readFileSync } from "node:fs";
|
|
@@ -1000,4 +1000,4 @@ function registerHealthCommand(program, _version = "0.0.0", projectRoot = proces
|
|
|
1000
1000
|
|
|
1001
1001
|
//#endregion
|
|
1002
1002
|
export { BMAD_BASELINE_TOKENS_FULL, DEFAULT_STALL_THRESHOLD_SECONDS, FileKvStore, STOP_AFTER_VALID_PHASES, STORY_KEY_PATTERN, SUBSTRATE_OWNED_SETTINGS_KEYS, VALID_PHASES, __commonJS, __require, __toESM, buildPipelineStatusOutput, createDatabaseAdapter$1 as createDatabaseAdapter, createDoltOperatorReader, findPackageRoot, formatOutput, formatPipelineStatusHuman, formatPipelineSummary, formatTokenTelemetry, getAllDescendantPids, getAutoHealthData, getSubstrateDefaultSettings, inspectProcessTree, isOrchestratorProcessLine, parseDbTimestampAsUtc, registerHealthCommand, resolveBmadMethodSrcPath, resolveBmadMethodVersion, runHealthAction, validateStoryKey };
|
|
1003
|
-
//# sourceMappingURL=health-
|
|
1003
|
+
//# sourceMappingURL=health-ByQadq3J.js.map
|
|
@@ -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-ByQadq3J.js";
|
|
2
2
|
import "./logger-KeHncl-f.js";
|
|
3
|
-
import "./dist-
|
|
4
|
-
import "./manifest-read-
|
|
3
|
+
import "./dist-C2CAZDep.js";
|
|
4
|
+
import "./manifest-read-knD2uWkz.js";
|
|
5
5
|
import "./work-graph-repository-DZyJv5pV.js";
|
|
6
6
|
import "./decisions-CzSIEeGP.js";
|
|
7
7
|
|
|
@@ -290,6 +290,10 @@ declare const SubstrateConfigSchema: z.ZodObject<{
|
|
|
290
290
|
}, z.core.$strict>>;
|
|
291
291
|
worktree: z.ZodOptional<z.ZodObject<{
|
|
292
292
|
copy_files: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
293
|
+
base: z.ZodOptional<z.ZodEnum<{
|
|
294
|
+
"in-repo": "in-repo";
|
|
295
|
+
external: "external";
|
|
296
|
+
}>>;
|
|
293
297
|
}, z.core.$strict>>;
|
|
294
298
|
trivialOutputThreshold: z.ZodOptional<z.ZodNumber>;
|
|
295
299
|
finalization: z.ZodOptional<z.ZodObject<{
|
|
@@ -298,6 +302,11 @@ declare const SubstrateConfigSchema: z.ZodObject<{
|
|
|
298
302
|
branch: "branch";
|
|
299
303
|
pr: "pr";
|
|
300
304
|
}>>;
|
|
305
|
+
merge_strategy: z.ZodOptional<z.ZodEnum<{
|
|
306
|
+
"ff-only": "ff-only";
|
|
307
|
+
"three-way": "three-way";
|
|
308
|
+
}>>;
|
|
309
|
+
epic_gate_command: z.ZodOptional<z.ZodString>;
|
|
301
310
|
}, z.core.$strict>>;
|
|
302
311
|
}, z.core.$loose>;
|
|
303
312
|
type SubstrateConfig = z.infer<typeof SubstrateConfigSchema>; //#endregion
|
|
@@ -1591,4 +1600,4 @@ interface Recommendation {
|
|
|
1591
1600
|
|
|
1592
1601
|
//#endregion
|
|
1593
1602
|
export { AdapterDiscoveryResult, AdapterRegistry as AdapterRegistry$1, AdtError as AdtError$1, ClaudeCodeAdapter as ClaudeCodeAdapter$1, CodexCLIAdapter as CodexCLIAdapter$1, ConfigError as ConfigError$1, ConfigIncompatibleFormatError as ConfigIncompatibleFormatError$1, CoreEvents, DatabaseAdapter, DiscoveryReport, GeminiCLIAdapter as GeminiCLIAdapter$1, Recommendation, TypedEventBus };
|
|
1594
|
-
//# sourceMappingURL=index-
|
|
1603
|
+
//# sourceMappingURL=index-DxeIRBBf.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdapterDiscoveryResult, AdapterRegistry$1 as AdapterRegistry, AdtError$1 as AdtError, ClaudeCodeAdapter$1 as ClaudeCodeAdapter, CodexCLIAdapter$1 as CodexCLIAdapter, ConfigError$1 as ConfigError, ConfigIncompatibleFormatError$1 as ConfigIncompatibleFormatError, DiscoveryReport, GeminiCLIAdapter$1 as GeminiCLIAdapter, Recommendation, TypedEventBus } from "./index-
|
|
1
|
+
import { AdapterDiscoveryResult, AdapterRegistry$1 as AdapterRegistry, AdtError$1 as AdtError, ClaudeCodeAdapter$1 as ClaudeCodeAdapter, CodexCLIAdapter$1 as CodexCLIAdapter, ConfigError$1 as ConfigError, ConfigIncompatibleFormatError$1 as ConfigIncompatibleFormatError, DiscoveryReport, GeminiCLIAdapter$1 as GeminiCLIAdapter, Recommendation, TypedEventBus } from "./index-DxeIRBBf.js";
|
|
2
2
|
import pino from "pino";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { Readable, Writable } from "node:stream";
|
|
@@ -1074,6 +1074,18 @@ declare const SubstrateConfigSchema: z.ZodObject<{
|
|
|
1074
1074
|
branch: "branch";
|
|
1075
1075
|
pr: "pr";
|
|
1076
1076
|
}>>;
|
|
1077
|
+
merge_strategy: z.ZodOptional<z.ZodEnum<{
|
|
1078
|
+
"ff-only": "ff-only";
|
|
1079
|
+
"three-way": "three-way";
|
|
1080
|
+
}>>;
|
|
1081
|
+
epic_gate_command: z.ZodOptional<z.ZodString>;
|
|
1082
|
+
}, z.core.$strict>>;
|
|
1083
|
+
worktree: z.ZodOptional<z.ZodObject<{
|
|
1084
|
+
copy_files: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1085
|
+
base: z.ZodOptional<z.ZodEnum<{
|
|
1086
|
+
"in-repo": "in-repo";
|
|
1087
|
+
external: "external";
|
|
1088
|
+
}>>;
|
|
1077
1089
|
}, z.core.$strict>>;
|
|
1078
1090
|
}, z.core.$strict>;
|
|
1079
1091
|
type SubstrateConfig = z.infer<typeof SubstrateConfigSchema>;
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { childLogger, createLogger, logger } from "./logger-KeHncl-f.js";
|
|
2
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-
|
|
4
|
-
import "./adapter-registry-
|
|
5
|
-
import { BudgetExceededError, GitError, RecoveryError, TaskConfigError, TaskGraphCycleError, TaskGraphError, TaskGraphIncompatibleFormatError, WorkerError, WorkerNotFoundError } from "./errors-
|
|
3
|
+
import { AdapterRegistry, AdtError, ClaudeCodeAdapter, CodexCLIAdapter, ConfigError, ConfigIncompatibleFormatError, GeminiCLIAdapter } from "./dist-C2CAZDep.js";
|
|
4
|
+
import "./adapter-registry-DXLMTmfD.js";
|
|
5
|
+
import { BudgetExceededError, GitError, RecoveryError, TaskConfigError, TaskGraphCycleError, TaskGraphError, TaskGraphIncompatibleFormatError, WorkerError, WorkerNotFoundError } from "./errors-Db8EIM9w.js";
|
|
6
6
|
|
|
7
7
|
//#region src/core/di.ts
|
|
8
8
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createLogger } from "./logger-KeHncl-f.js";
|
|
2
|
-
import { readCurrentRunId, resolveMainRepoRoot } from "./manifest-read-
|
|
2
|
+
import { readCurrentRunId, resolveMainRepoRoot } from "./manifest-read-knD2uWkz.js";
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
5
5
|
import * as readline from "node:readline";
|
|
@@ -180,4 +180,4 @@ async function runInteractivePrompt(decisionContext) {
|
|
|
180
180
|
|
|
181
181
|
//#endregion
|
|
182
182
|
export { runInteractivePrompt };
|
|
183
|
-
//# sourceMappingURL=interactive-prompt-
|
|
183
|
+
//# sourceMappingURL=interactive-prompt-CMBlj6UF.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createLogger } from "./logger-KeHncl-f.js";
|
|
2
|
-
import { LEARNING_FINDING, createDecision, getDecisionsByCategory } from "./dist-
|
|
2
|
+
import { LEARNING_FINDING, createDecision, getDecisionsByCategory } from "./dist-C2CAZDep.js";
|
|
3
3
|
import * as path$1 from "path";
|
|
4
4
|
import { join } from "path";
|
|
5
5
|
import { readFile } from "fs/promises";
|
|
@@ -6300,4 +6300,4 @@ async function resolveRunManifest(dbRoot, runId) {
|
|
|
6300
6300
|
|
|
6301
6301
|
//#endregion
|
|
6302
6302
|
export { FindingsInjector, RunManifest, RuntimeProbeListSchema, SupervisorLock, ZERO_FINDINGS_BY_AUTHOR, ZERO_FINDING_COUNTS, ZERO_PROBE_AUTHOR_METRICS, aggregateProbeAuthorMetrics, applyConfigToGraph, createDefaultVerificationPipeline, createGraphOrchestrator, createSdlcCodeReviewHandler, createSdlcCreateStoryHandler, createSdlcDevStoryHandler, createSdlcPhaseHandler, detectsEventDrivenAC, detectsStateIntegratingAC, extractTargetFilesFromStoryContent, parseRuntimeProbes, readCurrentRunId, renderFindings, resolveGraphPath, resolveMainRepoRoot, resolveRunManifest, rollupFindingCounts, rollupFindingsByAuthor, rollupProbeAuthorByClass, rollupProbeAuthorMetrics, runAcTraceabilityCheck, runStaleVerificationRecovery };
|
|
6303
|
-
//# sourceMappingURL=manifest-read-
|
|
6303
|
+
//# sourceMappingURL=manifest-read-knD2uWkz.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../logger-KeHncl-f.js";
|
|
2
|
-
import "../../dist-
|
|
3
|
-
import "../../manifest-read-
|
|
4
|
-
import { runInteractivePrompt } from "../../interactive-prompt-
|
|
2
|
+
import "../../dist-C2CAZDep.js";
|
|
3
|
+
import "../../manifest-read-knD2uWkz.js";
|
|
4
|
+
import { runInteractivePrompt } from "../../interactive-prompt-CMBlj6UF.js";
|
|
5
5
|
|
|
6
6
|
export { runInteractivePrompt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModelRoutingConfigSchema, ProviderPolicySchema, RoutingConfigError, RoutingRecommender, RoutingResolver, RoutingTelemetry, RoutingTokenAccumulator, RoutingTuner, TASK_TYPE_PHASE_MAP, getModelTier, loadModelRoutingConfig } from "./dist-
|
|
1
|
+
import { ModelRoutingConfigSchema, ProviderPolicySchema, RoutingConfigError, RoutingRecommender, RoutingResolver, RoutingTelemetry, RoutingTokenAccumulator, RoutingTuner, TASK_TYPE_PHASE_MAP, getModelTier, loadModelRoutingConfig } from "./dist-C2CAZDep.js";
|
|
2
2
|
import "./routing-DFxoKHDt.js";
|
|
3
3
|
|
|
4
4
|
export { loadModelRoutingConfig };
|