substrate-ai 0.20.78 → 0.20.80

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.
@@ -1,14 +1,14 @@
1
- import "./health-EyALt_76.js";
1
+ 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 "./manifest-read-DP4lBymM.js";
6
- import { normalizeGraphSummaryToStatus, registerRunCommand, resolveMaxReviewCycles, resolveProbeAuthorStateIntegrating, runRunAction, wireNdjsonEmitter } from "./run-5R5ZPgSw.js";
5
+ import { normalizeGraphSummaryToStatus, registerRunCommand, resolveMaxReviewCycles, resolveProbeAuthorStateIntegrating, runRunAction, wireNdjsonEmitter } from "./run-Bhe2gX2V.js";
6
+ import "./manifest-read-Boipz5aP.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-DqvUvzPv.js";
11
+ import "./interactive-prompt-CsvMelhG.js";
12
12
  import "./recovery-engine-BKGBeBnW.js";
13
13
 
14
14
  export { runRunAction };
@@ -695,6 +695,13 @@ interface RunManifestData {
695
695
  cost_accumulation: CostAccumulation;
696
696
  /** Pending proposals awaiting confirmation. */
697
697
  pending_proposals: Proposal[];
698
+ /**
699
+ * Git branch that was HEAD when `substrate run` was invoked (e.g. 'main').
700
+ * Captured once at orchestrator run-startup; consumed by the merge-to-main
701
+ * phase (Story 75-2) to know which branch to merge the story branch into.
702
+ * Optional for backward-compatibility with pre-75-2 manifests.
703
+ */
704
+ orchestrator_start_branch?: string;
698
705
  /**
699
706
  * Human-readable reason the run was stopped (e.g. 'killed_by_user').
700
707
  * Set by the SIGTERM/SIGINT handler (Story 58-7). Absent on pre-58-7 manifests.
@@ -745,6 +752,7 @@ declare const CliFlagsSchema: z.ZodObject<{
745
752
  reason: z.ZodString;
746
753
  skippedAt: z.ZodString;
747
754
  }, z.core.$strip>>>;
755
+ no_worktree: z.ZodOptional<z.ZodBoolean>;
748
756
  }, z.core.$strip>;
749
757
  type CliFlags = z.infer<typeof CliFlagsSchema>;
750
758
 
@@ -891,12 +899,15 @@ declare class RunManifest {
891
899
  * (preserves the single-writer guarantee from Epic 57-1).
892
900
  * Non-fatal: callers MUST wrap in `.catch((err) => logger.warn(...))`.
893
901
  *
894
- * @param updates - Top-level status fields to merge (run_status, stopped_reason, stopped_at)
902
+ * @param updates - Top-level status fields to merge (run_status, stopped_reason, stopped_at,
903
+ * orchestrator_start_branch)
895
904
  */
896
905
  patchRunStatus(updates: {
897
906
  run_status?: RunManifestData['run_status'];
898
907
  stopped_reason?: string;
899
908
  stopped_at?: string;
909
+ /** Git branch HEAD at run-startup; consumed by merge-to-main phase (Story 75-2). */
910
+ orchestrator_start_branch?: string;
900
911
  }): Promise<void>;
901
912
  /**
902
913
  * Raw implementation — must only be called from within `_enqueue`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "substrate-ai",
3
- "version": "0.20.78",
3
+ "version": "0.20.80",
4
4
  "description": "Substrate — multi-agent orchestration daemon for AI coding agents",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,4 +0,0 @@
1
- import { AdapterRegistry } from "./dist-DCBSXUiX.js";
2
- import "./adapter-registry-DXLMTmfD.js";
3
-
4
- export { AdapterRegistry };