substrate-ai 0.7.0 → 0.8.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 +21 -8
- package/dist/{health-Dnx-FGva.js → health-C-VRJruD.js} +502 -23
- package/dist/{health-4fyhDU6T.js → health-DMbNP9bw.js} +1 -1
- package/dist/index.d.ts +24 -0
- package/dist/{run-BdqqWU9p.js → run-B40PykZL.js} +2 -2
- package/dist/{run-CfF0-tVP.js → run-ohzPz3r1.js} +550 -189
- package/package.json +1 -2
- package/packs/bmad/prompts/dev-story.md +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
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-C-VRJruD.js";
|
|
2
2
|
import "./logger-D2fS2ccL.js";
|
|
3
3
|
import "./decisions-DhAA2HG2.js";
|
|
4
4
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1357,6 +1357,30 @@ interface OrchestratorEvents {
|
|
|
1357
1357
|
reviewCycles: number;
|
|
1358
1358
|
dispatches: number;
|
|
1359
1359
|
};
|
|
1360
|
+
/**
|
|
1361
|
+
* Emitted when a dev-story timeout has partial work on disk and the
|
|
1362
|
+
* orchestrator captures it as a checkpoint for retry (Story 39-5).
|
|
1363
|
+
*/
|
|
1364
|
+
'story:checkpoint-saved': {
|
|
1365
|
+
/** Story key that timed out with partial work */
|
|
1366
|
+
storyKey: string;
|
|
1367
|
+
/** Number of files modified before the timeout */
|
|
1368
|
+
filesCount: number;
|
|
1369
|
+
/** Approximate byte length of the git diff captured */
|
|
1370
|
+
diffSizeBytes: number;
|
|
1371
|
+
};
|
|
1372
|
+
/**
|
|
1373
|
+
* Emitted when the orchestrator dispatches a checkpoint retry for a story
|
|
1374
|
+
* that timed out with partial work (Story 39-6).
|
|
1375
|
+
*/
|
|
1376
|
+
'story:checkpoint-retry': {
|
|
1377
|
+
/** Story key being retried */
|
|
1378
|
+
storyKey: string;
|
|
1379
|
+
/** Number of files modified in the partial work captured at checkpoint */
|
|
1380
|
+
filesCount: number;
|
|
1381
|
+
/** Retry attempt number (always 2 — first retry after initial timeout) */
|
|
1382
|
+
attempt: number;
|
|
1383
|
+
};
|
|
1360
1384
|
}
|
|
1361
1385
|
|
|
1362
1386
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./health-
|
|
1
|
+
import "./health-C-VRJruD.js";
|
|
2
2
|
import "./logger-D2fS2ccL.js";
|
|
3
|
-
import { registerRunCommand, runRunAction } from "./run-
|
|
3
|
+
import { registerRunCommand, runRunAction } from "./run-ohzPz3r1.js";
|
|
4
4
|
import "./config-migrator-CtGelIsG.js";
|
|
5
5
|
import "./helpers-CpMs8VZX.js";
|
|
6
6
|
import "./routing-BVrxrM6v.js";
|