substrate-ai 0.20.134 → 0.20.136
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-JR4v2z6n.js +4 -0
- package/dist/cli/index.js +15 -15
- package/dist/{decisions-B2ColN4E.js → decisions-D0MA8bRv.js} +1 -1
- package/dist/{dist-FYMixuGN.js → dist-T6ZXe2Q2.js} +28 -28
- package/dist/{errors-Qqm59kND.js → errors-C-9u7gCX.js} +2 -2
- package/dist/{experimenter-Dwti5ZXb.js → experimenter-BZ1rtNzK.js} +1 -1
- package/dist/{health-DiT_FlpE.js → health-COhVUNXM.js} +3 -3
- package/dist/{health-CmwLEwMG.js → health-Dt1yKeE5.js} +3 -3
- package/dist/{index-CO-wmVvJ.d.ts → index-ChoQK2tb.d.ts} +26 -20
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/{interactive-prompt-CHWGblJe.js → interactive-prompt-wZnuOAri.js} +2 -2
- package/dist/{manifest-read-BCnoRvTV.js → manifest-read-C84VX-CF.js} +2 -2
- package/dist/modules/interactive-prompt/index.js +3 -3
- package/dist/{routing-Bl3LFjFs.js → routing-2kbRZmr7.js} +1 -1
- package/dist/{run-C0h5CjUK.js → run-lBgnO-3E.js} +8 -7
- package/dist/{run-CniiJHAS.js → run-rq4X93Bs.js} +5 -5
- package/dist/src/modules/recovery-engine/index.d.ts +1 -1
- package/dist/{upgrade-DWzAWGtt.js → upgrade-CZMWjtYN.js} +2 -2
- package/dist/{upgrade-Bq4SRZgH.js → upgrade-DjJ4uqLJ.js} +2 -2
- package/dist/{version-manager-impl-CZKVyewX.js → version-manager-impl-BLXt2ucf.js} +1 -1
- package/package.json +1 -1
- package/dist/adapter-registry-61HN97Pb.js +0 -4
package/dist/cli/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { FileKvStore, SUBSTRATE_OWNED_SETTINGS_KEYS, VALID_PHASES, buildPipelineStatusOutput, createDatabaseAdapter, createDoltOperatorReader, findPackageRoot, formatOutput, formatPipelineStatusHuman, formatPipelineSummary, formatTokenTelemetry, getAllDescendantPids, getAutoHealthData, getSubstrateDefaultSettings, inspectProcessTree, parseDbTimestampAsUtc, registerHealthCommand, resolveBmadMethodSrcPath, resolveBmadMethodVersion } from "../health-
|
|
2
|
+
import { FileKvStore, SUBSTRATE_OWNED_SETTINGS_KEYS, VALID_PHASES, buildPipelineStatusOutput, createDatabaseAdapter, createDoltOperatorReader, findPackageRoot, formatOutput, formatPipelineStatusHuman, formatPipelineSummary, formatTokenTelemetry, getAllDescendantPids, getAutoHealthData, getSubstrateDefaultSettings, inspectProcessTree, parseDbTimestampAsUtc, registerHealthCommand, resolveBmadMethodSrcPath, resolveBmadMethodVersion } from "../health-COhVUNXM.js";
|
|
3
3
|
import { createLogger } from "../logger-KeHncl-f.js";
|
|
4
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, GlobalSettingsSchema, InMemoryDatabaseAdapter, IngestionServer, MonitorDatabaseImpl, OPERATIONAL_FINDING, PartialGlobalSettingsSchema, PartialProviderConfigSchema, ProvidersSchema, RoutingRecommender, STORY_METRICS, TelemetryConfigSchema, addTokenUsage, aggregateTokenUsageForRun, checkDoltInstalled, compareRunMetrics, createAmendmentRun, createConfigSystem, createDecision, createPipelineRun, createStderrLogger, getActiveDecisions, getAllCostEntriesFiltered, getBaselineRunMetrics, getDecisionsByCategory, getDecisionsByPhaseForRun, getLatestCompletedRun, getLatestRun, getPipelineRunById, getPlanningCostTotal, getRetryableEscalations, getRunMetrics, getRunningPipelineRuns, getSessionCostSummary, getSessionCostSummaryFiltered, getStoryMetricsForRun, getTokenUsageSummary, incrementRunRestarts, initSchema, initWorkGraphSchema, initializeDolt, listRunMetrics, loadParentRunDecisions, supersedeDecision, swallowDebug, tagRunAsBaseline, updatePipelineRun } from "../dist-
|
|
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-
|
|
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, createPipelineRun, createStderrLogger, getActiveDecisions, getAllCostEntriesFiltered, getBaselineRunMetrics, getDecisionsByCategory, getDecisionsByPhaseForRun, getLatestCompletedRun, getLatestRun, getPipelineRunById, getPlanningCostTotal, getRetryableEscalations, getRunMetrics, getRunningPipelineRuns, getSessionCostSummary, getSessionCostSummaryFiltered, getStoryMetricsForRun, getTokenUsageSummary, incrementRunRestarts, initSchema, initWorkGraphSchema, initializeDolt, listRunMetrics, loadParentRunDecisions, supersedeDecision, swallowDebug, tagRunAsBaseline, updatePipelineRun } from "../dist-T6ZXe2Q2.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-lBgnO-3E.js";
|
|
7
7
|
import "../adapter-registry-DIcrxjH8.js";
|
|
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-
|
|
9
|
-
import "../errors-
|
|
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-C84VX-CF.js";
|
|
9
|
+
import "../errors-C-9u7gCX.js";
|
|
10
10
|
import "../routing-DFxoKHDt.js";
|
|
11
11
|
import { WorkGraphRepository } from "../work-graph-repository-DZyJv5pV.js";
|
|
12
12
|
import "../decisions-CzSIEeGP.js";
|
|
13
13
|
import "../decision-router-DblHY8se.js";
|
|
14
|
-
import "../interactive-prompt-
|
|
14
|
+
import "../interactive-prompt-wZnuOAri.js";
|
|
15
15
|
import "../recovery-engine-BKGBeBnW.js";
|
|
16
16
|
import "../version-manager-impl-qFBiO4Eh.js";
|
|
17
|
-
import { registerUpgradeCommand } from "../upgrade-
|
|
17
|
+
import { registerUpgradeCommand } from "../upgrade-CZMWjtYN.js";
|
|
18
18
|
import { Command } from "commander";
|
|
19
19
|
import { fileURLToPath } from "url";
|
|
20
20
|
import { dirname, join, resolve } from "path";
|
|
@@ -7023,7 +7023,7 @@ async function runStatusAction(options) {
|
|
|
7023
7023
|
logger$15.debug({ err }, "Work graph query failed, continuing without work graph data");
|
|
7024
7024
|
}
|
|
7025
7025
|
if (run === void 0) {
|
|
7026
|
-
const { inspectProcessTree: inspectProcessTree$1 } = await import("../health-
|
|
7026
|
+
const { inspectProcessTree: inspectProcessTree$1 } = await import("../health-Dt1yKeE5.js");
|
|
7027
7027
|
const substrateDirPath = join(projectRoot, ".substrate");
|
|
7028
7028
|
const processInfo = inspectProcessTree$1({
|
|
7029
7029
|
projectRoot,
|
|
@@ -7971,7 +7971,7 @@ function defaultSupervisorDeps() {
|
|
|
7971
7971
|
if (cached === null) {
|
|
7972
7972
|
const { AdapterRegistry: AR } = await import(
|
|
7973
7973
|
/* @vite-ignore */
|
|
7974
|
-
"../adapter-registry-
|
|
7974
|
+
"../adapter-registry-JR4v2z6n.js"
|
|
7975
7975
|
);
|
|
7976
7976
|
cached = new AR();
|
|
7977
7977
|
await cached.discoverAndRegister();
|
|
@@ -8538,11 +8538,11 @@ async function runSupervisorAction(options, deps = {}) {
|
|
|
8538
8538
|
try {
|
|
8539
8539
|
const { createExperimenter } = await import(
|
|
8540
8540
|
/* @vite-ignore */
|
|
8541
|
-
"../experimenter-
|
|
8541
|
+
"../experimenter-BZ1rtNzK.js"
|
|
8542
8542
|
);
|
|
8543
8543
|
const { getLatestRun: getLatest } = await import(
|
|
8544
8544
|
/* @vite-ignore */
|
|
8545
|
-
"../decisions-
|
|
8545
|
+
"../decisions-D0MA8bRv.js"
|
|
8546
8546
|
);
|
|
8547
8547
|
const expAdapter = createDatabaseAdapter({
|
|
8548
8548
|
backend: "auto",
|
|
@@ -8552,7 +8552,7 @@ async function runSupervisorAction(options, deps = {}) {
|
|
|
8552
8552
|
await initSchema(expAdapter);
|
|
8553
8553
|
const { runRunAction: runPipeline } = await import(
|
|
8554
8554
|
/* @vite-ignore */
|
|
8555
|
-
"../run-
|
|
8555
|
+
"../run-rq4X93Bs.js"
|
|
8556
8556
|
);
|
|
8557
8557
|
const runStoryFn = async (opts) => {
|
|
8558
8558
|
const exitCode = await runPipeline({
|
|
@@ -9077,7 +9077,7 @@ async function runMetricsAction(options) {
|
|
|
9077
9077
|
const routingConfigPath = join(dbDir, "routing.yml");
|
|
9078
9078
|
let routingConfig = null;
|
|
9079
9079
|
if (existsSync$1(routingConfigPath)) try {
|
|
9080
|
-
const { loadModelRoutingConfig } = await import("../routing-
|
|
9080
|
+
const { loadModelRoutingConfig } = await import("../routing-2kbRZmr7.js");
|
|
9081
9081
|
routingConfig = loadModelRoutingConfig(routingConfigPath);
|
|
9082
9082
|
} catch {}
|
|
9083
9083
|
if (routingConfig === null) routingConfig = {
|
|
@@ -13387,8 +13387,8 @@ async function createProgram() {
|
|
|
13387
13387
|
/** Fire-and-forget startup version check (story 8.3, AC3/AC5) */
|
|
13388
13388
|
function checkForUpdatesInBackground(currentVersion) {
|
|
13389
13389
|
if (process.env.SUBSTRATE_NO_UPDATE_CHECK === "1") return;
|
|
13390
|
-
import("../upgrade-
|
|
13391
|
-
const { createVersionManager } = await import("../version-manager-impl-
|
|
13390
|
+
import("../upgrade-DjJ4uqLJ.js").then(async () => {
|
|
13391
|
+
const { createVersionManager } = await import("../version-manager-impl-BLXt2ucf.js");
|
|
13392
13392
|
const vm = createVersionManager();
|
|
13393
13393
|
const result = await vm.checkForUpdates();
|
|
13394
13394
|
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-
|
|
1
|
+
import { addTokenUsage, createDecision, createPipelineRun, createRequirement, getArtifactByTypeForRun, getArtifactsByRun, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestRun, getPipelineRunById, getRunningPipelineRuns, getTokenUsageSummary, listRequirements, registerArtifact, updateDecision, updatePipelineRun, updatePipelineRunConfig, upsertDecision } from "./dist-T6ZXe2Q2.js";
|
|
2
2
|
import "./decisions-CzSIEeGP.js";
|
|
3
3
|
|
|
4
4
|
export { getLatestRun };
|
|
@@ -9728,7 +9728,7 @@ const CODEX_SANDBOX_BLOCK_SIGNATURES = [
|
|
|
9728
9728
|
"disallowed by requirements"
|
|
9729
9729
|
];
|
|
9730
9730
|
/** Human-readable explanation appended to escalations caused by a Codex write-block. */
|
|
9731
|
-
const CODEX_SANDBOX_BLOCK_HINT = "Likely cause: Codex could not write files. Substrate runs `codex exec --sandbox workspace-write
|
|
9731
|
+
const CODEX_SANDBOX_BLOCK_HINT = "Likely cause: Codex could not write files. Substrate runs `codex exec --full-auto` (Codex's documented alias for `-a on-request --sandbox workspace-write` — the standard low-friction non-interactive automation mode, NOT the org-blocked `--dangerously-bypass-approvals-and-sandbox`). If the run log shows \"approval is not supported in exec mode\" or \"patch rejected by user\", the most likely cause is a known Codex defect: `UnlessTrusted` policy unconditionally asks for approval on `apply_patch` (see codex-rs/core/src/safety.rs TODO(ragona)), and `OnRequest` may also fail in environments where `get_platform_sandbox()` returns None (e.g. WSL — see Codex issue #18365). Workarounds: dispatch with a provider that can write here (e.g. `--agent claude-code`), or get the Codex CLI bug fixed upstream.";
|
|
9732
9732
|
/**
|
|
9733
9733
|
* Returns the Codex-write-block hint if `output` contains a sandbox/approval
|
|
9734
9734
|
* block signature, else null. Pure + exported for diagnostics and testing.
|
|
@@ -9784,40 +9784,40 @@ var CodexCLIAdapter = class {
|
|
|
9784
9784
|
* Build spawn command for a coding task.
|
|
9785
9785
|
* Uses: `codex exec` with prompt delivered via stdin.
|
|
9786
9786
|
*
|
|
9787
|
-
* `--
|
|
9788
|
-
*
|
|
9789
|
-
*
|
|
9790
|
-
* user — but exec has no one to approve, so file writes fail with
|
|
9791
|
-
* "file change approval is not supported in exec mode" (→ create-story-no-file).
|
|
9787
|
+
* `--full-auto` is Codex's documented `exec` convenience alias for
|
|
9788
|
+
* `-a on-request --sandbox workspace-write` — the standard low-friction
|
|
9789
|
+
* non-interactive automation mode. We use this form for three reasons:
|
|
9792
9790
|
*
|
|
9793
|
-
*
|
|
9794
|
-
*
|
|
9795
|
-
*
|
|
9796
|
-
*
|
|
9797
|
-
*
|
|
9798
|
-
*
|
|
9799
|
-
*
|
|
9800
|
-
*
|
|
9801
|
-
*
|
|
9802
|
-
*
|
|
9791
|
+
* 1. **It parses cleanly on `exec`.** `--full-auto` is a documented
|
|
9792
|
+
* subcommand flag (`codex exec --help` lists it). The earlier substrate
|
|
9793
|
+
* attempts hit two failure modes: `--ask-for-approval` is top-level
|
|
9794
|
+
* only and errors `unexpected argument` after `exec` (v0.20.131–133),
|
|
9795
|
+
* and `-c approval_policy=never` parses but gets silently downshifted
|
|
9796
|
+
* under enterprise cloud-managed policies that disallow `Never`
|
|
9797
|
+
* (v0.20.134–135 — the operator's pv-core-harness case).
|
|
9798
|
+
* 2. **`OnRequest` works with `apply_patch` in `workspace-write`.** Per
|
|
9799
|
+
* Codex source (`codex-rs/core/src/safety.rs:33-116`), `OnRequest`
|
|
9800
|
+
* falls through to `is_write_patch_constrained_to_writable_paths` and
|
|
9801
|
+
* AUTO-APPROVES `apply_patch` calls when every target path is inside
|
|
9802
|
+
* the writable roots of an active platform sandbox. So Codex writes
|
|
9803
|
+
* land in `exec` mode without any approval prompt or escalation.
|
|
9804
|
+
* `UnlessTrusted` is the only policy with the broken `TODO(ragona)`
|
|
9805
|
+
* branch that unconditionally asks for approval — we avoid it.
|
|
9806
|
+
* 3. **`OnRequest` is broadly allow-listed.** Enterprise cloud policies
|
|
9807
|
+
* that disallow `Never` typically still permit `OnRequest`
|
|
9808
|
+
* (it's strictly more conservative). `--full-auto` is therefore the
|
|
9809
|
+
* form most likely to work across both unrestricted and managed Codex
|
|
9810
|
+
* installs.
|
|
9803
9811
|
*
|
|
9804
|
-
*
|
|
9805
|
-
*
|
|
9806
|
-
* `--dangerously-bypass-approvals-and-sandbox` flag (which some org policies
|
|
9807
|
-
* forbid). The planning command stays read-only (it must not write).
|
|
9812
|
+
* Not the org-blocked `--dangerously-bypass-approvals-and-sandbox` flag.
|
|
9813
|
+
* The planning command stays read-only (it must not write).
|
|
9808
9814
|
*
|
|
9809
9815
|
* Do NOT use --json: it produces a JSONL event stream that prevents
|
|
9810
9816
|
* extractYamlBlock from finding the structured result block in stdout.
|
|
9811
9817
|
* Raw text output is required (same rationale as Claude adapter).
|
|
9812
9818
|
*/
|
|
9813
9819
|
buildCommand(prompt, options) {
|
|
9814
|
-
const args = [
|
|
9815
|
-
"exec",
|
|
9816
|
-
"--sandbox",
|
|
9817
|
-
"workspace-write",
|
|
9818
|
-
"-c",
|
|
9819
|
-
"approval_policy=never"
|
|
9820
|
-
];
|
|
9820
|
+
const args = ["exec", "--full-auto"];
|
|
9821
9821
|
if (options.additionalFlags && options.additionalFlags.length > 0) args.push(...options.additionalFlags);
|
|
9822
9822
|
const envEntries = {};
|
|
9823
9823
|
if (options.apiKey) envEntries.OPENAI_API_KEY = options.apiKey;
|
|
@@ -11331,4 +11331,4 @@ async function callLLM(params) {
|
|
|
11331
11331
|
|
|
11332
11332
|
//#endregion
|
|
11333
11333
|
export { ADVISORY_NOTES, AdapterRegistry, AdtError, BudgetConfigSchema, CODEX_SANDBOX_BLOCK_HINT, 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, createExperimenter, createPipelineRun, createRequirement, createStderrLogger, createVersionManager, detectCodexSandboxBlock, detectInterfaceChanges, determineVerdict, getActiveDecisions, getAllCostEntriesFiltered, getArtifactByTypeForRun, getArtifactsByRun, getBaselineRunMetrics, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestCompletedRun, getLatestRun, getModelTier, getPipelineRunById, getPlanningCostTotal, getRetryableEscalations, getRunMetrics, getRunningPipelineRuns, getSessionCostSummary, getSessionCostSummaryFiltered, getStoryMetricsForRun, getTokenUsageSummary, incrementRunRestarts, initSchema, initWorkGraphSchema, initializeDolt, listRequirements, listRunMetrics, loadModelRoutingConfig, loadParentRunDecisions, registerArtifact, resolvePromptFile, supersedeDecision, swallowDebug, tagRunAsBaseline, updateDecision, updatePipelineRun, updatePipelineRunConfig, upsertDecision, writeRunMetrics, writeStoryMetrics };
|
|
11334
|
-
//# sourceMappingURL=dist-
|
|
11334
|
+
//# sourceMappingURL=dist-T6ZXe2Q2.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdtError } from "./dist-
|
|
1
|
+
import { AdtError } from "./dist-T6ZXe2Q2.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-C-9u7gCX.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-T6ZXe2Q2.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-T6ZXe2Q2.js";
|
|
3
|
+
import { resolveMainRepoRoot, resolveRunManifest } from "./manifest-read-C84VX-CF.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-COhVUNXM.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-COhVUNXM.js";
|
|
2
2
|
import "./logger-KeHncl-f.js";
|
|
3
|
-
import "./dist-
|
|
4
|
-
import "./manifest-read-
|
|
3
|
+
import "./dist-T6ZXe2Q2.js";
|
|
4
|
+
import "./manifest-read-C84VX-CF.js";
|
|
5
5
|
import "./work-graph-repository-DZyJv5pV.js";
|
|
6
6
|
import "./decisions-CzSIEeGP.js";
|
|
7
7
|
|
|
@@ -1333,27 +1333,33 @@ declare class CodexCLIAdapter implements WorkerAdapter {
|
|
|
1333
1333
|
* Build spawn command for a coding task.
|
|
1334
1334
|
* Uses: `codex exec` with prompt delivered via stdin.
|
|
1335
1335
|
*
|
|
1336
|
-
* `--
|
|
1337
|
-
*
|
|
1338
|
-
*
|
|
1339
|
-
* user — but exec has no one to approve, so file writes fail with
|
|
1340
|
-
* "file change approval is not supported in exec mode" (→ create-story-no-file).
|
|
1336
|
+
* `--full-auto` is Codex's documented `exec` convenience alias for
|
|
1337
|
+
* `-a on-request --sandbox workspace-write` — the standard low-friction
|
|
1338
|
+
* non-interactive automation mode. We use this form for three reasons:
|
|
1341
1339
|
*
|
|
1342
|
-
*
|
|
1343
|
-
*
|
|
1344
|
-
*
|
|
1345
|
-
*
|
|
1346
|
-
*
|
|
1347
|
-
*
|
|
1348
|
-
*
|
|
1349
|
-
*
|
|
1350
|
-
*
|
|
1351
|
-
*
|
|
1340
|
+
* 1. **It parses cleanly on `exec`.** `--full-auto` is a documented
|
|
1341
|
+
* subcommand flag (`codex exec --help` lists it). The earlier substrate
|
|
1342
|
+
* attempts hit two failure modes: `--ask-for-approval` is top-level
|
|
1343
|
+
* only and errors `unexpected argument` after `exec` (v0.20.131–133),
|
|
1344
|
+
* and `-c approval_policy=never` parses but gets silently downshifted
|
|
1345
|
+
* under enterprise cloud-managed policies that disallow `Never`
|
|
1346
|
+
* (v0.20.134–135 — the operator's pv-core-harness case).
|
|
1347
|
+
* 2. **`OnRequest` works with `apply_patch` in `workspace-write`.** Per
|
|
1348
|
+
* Codex source (`codex-rs/core/src/safety.rs:33-116`), `OnRequest`
|
|
1349
|
+
* falls through to `is_write_patch_constrained_to_writable_paths` and
|
|
1350
|
+
* AUTO-APPROVES `apply_patch` calls when every target path is inside
|
|
1351
|
+
* the writable roots of an active platform sandbox. So Codex writes
|
|
1352
|
+
* land in `exec` mode without any approval prompt or escalation.
|
|
1353
|
+
* `UnlessTrusted` is the only policy with the broken `TODO(ragona)`
|
|
1354
|
+
* branch that unconditionally asks for approval — we avoid it.
|
|
1355
|
+
* 3. **`OnRequest` is broadly allow-listed.** Enterprise cloud policies
|
|
1356
|
+
* that disallow `Never` typically still permit `OnRequest`
|
|
1357
|
+
* (it's strictly more conservative). `--full-auto` is therefore the
|
|
1358
|
+
* form most likely to work across both unrestricted and managed Codex
|
|
1359
|
+
* installs.
|
|
1352
1360
|
*
|
|
1353
|
-
*
|
|
1354
|
-
*
|
|
1355
|
-
* `--dangerously-bypass-approvals-and-sandbox` flag (which some org policies
|
|
1356
|
-
* forbid). The planning command stays read-only (it must not write).
|
|
1361
|
+
* Not the org-blocked `--dangerously-bypass-approvals-and-sandbox` flag.
|
|
1362
|
+
* The planning command stays read-only (it must not write).
|
|
1357
1363
|
*
|
|
1358
1364
|
* Do NOT use --json: it produces a JSONL event stream that prevents
|
|
1359
1365
|
* extractYamlBlock from finding the structured result block in stdout.
|
|
@@ -1461,4 +1467,4 @@ interface Recommendation {
|
|
|
1461
1467
|
|
|
1462
1468
|
//#endregion
|
|
1463
1469
|
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 };
|
|
1464
|
-
//# sourceMappingURL=index-
|
|
1470
|
+
//# sourceMappingURL=index-ChoQK2tb.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-ChoQK2tb.js";
|
|
2
2
|
import pino from "pino";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { Readable, Writable } from "node:stream";
|
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-
|
|
3
|
+
import { AdapterRegistry, AdtError, ClaudeCodeAdapter, CodexCLIAdapter, ConfigError, ConfigIncompatibleFormatError, GeminiCLIAdapter } from "./dist-T6ZXe2Q2.js";
|
|
4
4
|
import "./adapter-registry-DIcrxjH8.js";
|
|
5
|
-
import { BudgetExceededError, GitError, RecoveryError, TaskConfigError, TaskGraphCycleError, TaskGraphError, TaskGraphIncompatibleFormatError, WorkerError, WorkerNotFoundError } from "./errors-
|
|
5
|
+
import { BudgetExceededError, GitError, RecoveryError, TaskConfigError, TaskGraphCycleError, TaskGraphError, TaskGraphIncompatibleFormatError, WorkerError, WorkerNotFoundError } from "./errors-C-9u7gCX.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-C84VX-CF.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-wZnuOAri.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-T6ZXe2Q2.js";
|
|
3
3
|
import * as path$1 from "path";
|
|
4
4
|
import { join } from "path";
|
|
5
5
|
import { readFile } from "fs/promises";
|
|
@@ -5851,4 +5851,4 @@ async function resolveRunManifest(dbRoot, runId) {
|
|
|
5851
5851
|
|
|
5852
5852
|
//#endregion
|
|
5853
5853
|
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 };
|
|
5854
|
-
//# sourceMappingURL=manifest-read-
|
|
5854
|
+
//# sourceMappingURL=manifest-read-C84VX-CF.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-T6ZXe2Q2.js";
|
|
3
|
+
import "../../manifest-read-C84VX-CF.js";
|
|
4
|
+
import { runInteractivePrompt } from "../../interactive-prompt-wZnuOAri.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-T6ZXe2Q2.js";
|
|
2
2
|
import "./routing-DFxoKHDt.js";
|
|
3
3
|
|
|
4
4
|
export { loadModelRoutingConfig };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { BMAD_BASELINE_TOKENS_FULL, FileKvStore, STOP_AFTER_VALID_PHASES, STORY_KEY_PATTERN, VALID_PHASES, __commonJS, __require, __toESM, buildPipelineStatusOutput, createDatabaseAdapter, formatOutput, formatPipelineSummary, formatTokenTelemetry, inspectProcessTree, parseDbTimestampAsUtc, validateStoryKey } from "./health-
|
|
1
|
+
import { BMAD_BASELINE_TOKENS_FULL, FileKvStore, STOP_AFTER_VALID_PHASES, STORY_KEY_PATTERN, VALID_PHASES, __commonJS, __require, __toESM, buildPipelineStatusOutput, createDatabaseAdapter, formatOutput, formatPipelineSummary, formatTokenTelemetry, inspectProcessTree, parseDbTimestampAsUtc, validateStoryKey } from "./health-COhVUNXM.js";
|
|
2
2
|
import { createLogger } from "./logger-KeHncl-f.js";
|
|
3
3
|
import { TypedEventBusImpl, createEventBus, createTuiApp, isTuiCapable, printNonTtyWarning, sleep } from "./helpers-CElYrONe.js";
|
|
4
|
-
import { ADVISORY_NOTES, CODEX_SANDBOX_BLOCK_HINT, Categorizer, ConsumerAnalyzer, DEFAULT_GLOBAL_SETTINGS, DispatcherImpl, DoltClient, ESCALATION_DIAGNOSIS, EXPERIMENT_RESULT, EfficiencyScorer, IngestionServer, LogTurnAnalyzer, OPERATIONAL_FINDING, Recommender, RoutingRecommender, RoutingResolver, RoutingTelemetry, RoutingTokenAccumulator, RoutingTuner, STORY_METRICS, STORY_OUTCOME, SubstrateConfigSchema, TEST_EXPANSION_FINDING, TEST_PLAN, TelemetryNormalizer, TelemetryPipeline, TurnAnalyzer, addTokenUsage, aggregateTokenUsageForRun, aggregateTokenUsageForStory, callLLM, classifyVersionGap, createConfigSystem, createDatabaseAdapter$1, createDecision, createPipelineRun, createRequirement, createStderrLogger, detectCodexSandboxBlock, detectInterfaceChanges, getArtifactByTypeForRun, getArtifactsByRun, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestRun, getPipelineRunById, getRunMetrics, getRunningPipelineRuns, getStoryMetricsForRun, getTokenUsageSummary, initSchema, listRequirements, loadModelRoutingConfig, registerArtifact, swallowDebug, updatePipelineRun, updatePipelineRunConfig, upsertDecision, writeRunMetrics, writeStoryMetrics } from "./dist-
|
|
5
|
-
import { FindingsInjector, RunManifest, RuntimeProbeListSchema, applyConfigToGraph, createDefaultVerificationPipeline, createGraphOrchestrator, createSdlcCodeReviewHandler, createSdlcCreateStoryHandler, createSdlcDevStoryHandler, createSdlcPhaseHandler, detectsEventDrivenAC, detectsStateIntegratingAC, extractTargetFilesFromStoryContent, parseRuntimeProbes, renderFindings, resolveGraphPath, resolveMainRepoRoot, runAcTraceabilityCheck, runStaleVerificationRecovery } from "./manifest-read-
|
|
4
|
+
import { ADVISORY_NOTES, CODEX_SANDBOX_BLOCK_HINT, Categorizer, ConsumerAnalyzer, DEFAULT_GLOBAL_SETTINGS, DispatcherImpl, DoltClient, ESCALATION_DIAGNOSIS, EXPERIMENT_RESULT, EfficiencyScorer, IngestionServer, LogTurnAnalyzer, OPERATIONAL_FINDING, Recommender, RoutingRecommender, RoutingResolver, RoutingTelemetry, RoutingTokenAccumulator, RoutingTuner, STORY_METRICS, STORY_OUTCOME, SubstrateConfigSchema, TEST_EXPANSION_FINDING, TEST_PLAN, TelemetryNormalizer, TelemetryPipeline, TurnAnalyzer, addTokenUsage, aggregateTokenUsageForRun, aggregateTokenUsageForStory, callLLM, classifyVersionGap, createConfigSystem, createDatabaseAdapter$1, createDecision, createPipelineRun, createRequirement, createStderrLogger, detectCodexSandboxBlock, detectInterfaceChanges, getArtifactByTypeForRun, getArtifactsByRun, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestRun, getPipelineRunById, getRunMetrics, getRunningPipelineRuns, getStoryMetricsForRun, getTokenUsageSummary, initSchema, listRequirements, loadModelRoutingConfig, registerArtifact, swallowDebug, updatePipelineRun, updatePipelineRunConfig, upsertDecision, writeRunMetrics, writeStoryMetrics } from "./dist-T6ZXe2Q2.js";
|
|
5
|
+
import { FindingsInjector, RunManifest, RuntimeProbeListSchema, applyConfigToGraph, createDefaultVerificationPipeline, createGraphOrchestrator, createSdlcCodeReviewHandler, createSdlcCreateStoryHandler, createSdlcDevStoryHandler, createSdlcPhaseHandler, detectsEventDrivenAC, detectsStateIntegratingAC, extractTargetFilesFromStoryContent, parseRuntimeProbes, renderFindings, resolveGraphPath, resolveMainRepoRoot, runAcTraceabilityCheck, runStaleVerificationRecovery } from "./manifest-read-C84VX-CF.js";
|
|
6
6
|
import { WorkGraphRepository, detectCycles } from "./work-graph-repository-DZyJv5pV.js";
|
|
7
7
|
import { deriveExitCode, routeDecision } from "./decision-router-DblHY8se.js";
|
|
8
|
-
import { runInteractivePrompt } from "./interactive-prompt-
|
|
8
|
+
import { runInteractivePrompt } from "./interactive-prompt-wZnuOAri.js";
|
|
9
9
|
import { runRecoveryEngine } from "./recovery-engine-BKGBeBnW.js";
|
|
10
10
|
import { basename, dirname, extname, join } from "path";
|
|
11
11
|
import { access, readFile, readdir, stat } from "fs/promises";
|
|
@@ -14353,11 +14353,12 @@ function createImplementationOrchestrator(deps) {
|
|
|
14353
14353
|
completedAt: new Date().toISOString()
|
|
14354
14354
|
});
|
|
14355
14355
|
await writeStoryMetricsBestEffort(storyKey, "failed", 0);
|
|
14356
|
+
const noFileIssues = deps.agentId === "codex" ? [errMsg, CODEX_SANDBOX_BLOCK_HINT] : [errMsg];
|
|
14356
14357
|
await emitEscalation({
|
|
14357
14358
|
storyKey,
|
|
14358
14359
|
lastVerdict: "create-story-no-file",
|
|
14359
14360
|
reviewCycles: 0,
|
|
14360
|
-
issues:
|
|
14361
|
+
issues: noFileIssues
|
|
14361
14362
|
});
|
|
14362
14363
|
await persistState();
|
|
14363
14364
|
return;
|
|
@@ -47441,7 +47442,7 @@ async function runFullPipeline(options) {
|
|
|
47441
47442
|
*/
|
|
47442
47443
|
async function emitPreDispatchVersionAdvisory(currentVersion) {
|
|
47443
47444
|
if (process.env["SUBSTRATE_NO_UPDATE_CHECK"] === "1") return;
|
|
47444
|
-
const { createVersionManager } = await import("./version-manager-impl-
|
|
47445
|
+
const { createVersionManager } = await import("./version-manager-impl-BLXt2ucf.js");
|
|
47445
47446
|
const vm = createVersionManager();
|
|
47446
47447
|
const result = await vm.checkForUpdates(true);
|
|
47447
47448
|
const gap = classifyVersionGap(currentVersion, result.latestVersion);
|
|
@@ -47538,4 +47539,4 @@ function registerRunCommand(program, version = "0.0.0", projectRoot = process.cw
|
|
|
47538
47539
|
|
|
47539
47540
|
//#endregion
|
|
47540
47541
|
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 };
|
|
47541
|
-
//# sourceMappingURL=run-
|
|
47542
|
+
//# sourceMappingURL=run-lBgnO-3E.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./health-
|
|
1
|
+
import "./health-COhVUNXM.js";
|
|
2
2
|
import "./logger-KeHncl-f.js";
|
|
3
3
|
import "./helpers-CElYrONe.js";
|
|
4
|
-
import "./dist-
|
|
5
|
-
import { normalizeGraphSummaryToStatus, registerRunCommand, resolveMaxReviewCycles, resolveProbeAuthorStateIntegrating, runRunAction, wireNdjsonEmitter } from "./run-
|
|
6
|
-
import "./manifest-read-
|
|
4
|
+
import "./dist-T6ZXe2Q2.js";
|
|
5
|
+
import { normalizeGraphSummaryToStatus, registerRunCommand, resolveMaxReviewCycles, resolveProbeAuthorStateIntegrating, runRunAction, wireNdjsonEmitter } from "./run-lBgnO-3E.js";
|
|
6
|
+
import "./manifest-read-C84VX-CF.js";
|
|
7
7
|
import "./routing-DFxoKHDt.js";
|
|
8
8
|
import "./work-graph-repository-DZyJv5pV.js";
|
|
9
9
|
import "./decisions-CzSIEeGP.js";
|
|
10
10
|
import "./decision-router-DblHY8se.js";
|
|
11
|
-
import "./interactive-prompt-
|
|
11
|
+
import "./interactive-prompt-wZnuOAri.js";
|
|
12
12
|
import "./recovery-engine-BKGBeBnW.js";
|
|
13
13
|
|
|
14
14
|
export { runRunAction };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createVersionManager } from "./dist-
|
|
1
|
+
import { createVersionManager } from "./dist-T6ZXe2Q2.js";
|
|
2
2
|
import { execSync, spawn } from "child_process";
|
|
3
3
|
import * as readline from "readline";
|
|
4
4
|
|
|
@@ -123,4 +123,4 @@ function registerUpgradeCommand(program) {
|
|
|
123
123
|
|
|
124
124
|
//#endregion
|
|
125
125
|
export { isGlobalInstall, registerUpgradeCommand, runUpgradeCommand };
|
|
126
|
-
//# sourceMappingURL=upgrade-
|
|
126
|
+
//# sourceMappingURL=upgrade-CZMWjtYN.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./dist-
|
|
1
|
+
import "./dist-T6ZXe2Q2.js";
|
|
2
2
|
import "./version-manager-impl-qFBiO4Eh.js";
|
|
3
|
-
import { isGlobalInstall, registerUpgradeCommand, runUpgradeCommand } from "./upgrade-
|
|
3
|
+
import { isGlobalInstall, registerUpgradeCommand, runUpgradeCommand } from "./upgrade-CZMWjtYN.js";
|
|
4
4
|
|
|
5
5
|
export { isGlobalInstall, registerUpgradeCommand, runUpgradeCommand };
|
package/package.json
CHANGED