@h-rig/bundle-default-lifecycle 0.0.6-alpha.156 → 0.0.6-alpha.158
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/src/cli.d.ts +1 -7
- package/dist/src/cli.js +5 -2
- package/dist/src/control-plane/completion-verification.js +1591 -118
- package/dist/src/control-plane/hooks/inject-context.d.ts +2 -0
- package/dist/src/control-plane/hooks/inject-context.js +175 -0
- package/dist/src/control-plane/hooks/shared.d.ts +11 -0
- package/dist/src/control-plane/hooks/shared.js +44 -0
- package/dist/src/control-plane/hooks/submodule-branch.d.ts +2 -0
- package/dist/src/control-plane/hooks/submodule-branch.js +432 -0
- package/dist/src/control-plane/hooks/task-runtime-start.d.ts +2 -0
- package/dist/src/control-plane/hooks/task-runtime-start.js +429 -0
- package/dist/src/control-plane/materialize-task-config.d.ts +29 -0
- package/dist/src/control-plane/materialize-task-config.js +95 -0
- package/dist/src/control-plane/native/git-ops.d.ts +67 -0
- package/dist/src/control-plane/native/git-ops.js +1390 -0
- package/dist/src/control-plane/policy.d.ts +3 -0
- package/dist/src/control-plane/policy.js +226 -0
- package/dist/src/control-plane/pr-automation.d.ts +2 -0
- package/dist/src/control-plane/pr-automation.js +26 -16
- package/dist/src/control-plane/pr-merge-gate-cap.d.ts +10 -0
- package/dist/src/control-plane/pr-merge-gate-cap.js +13 -0
- package/dist/src/control-plane/task-data.d.ts +13 -0
- package/dist/src/control-plane/task-data.js +12 -0
- package/dist/src/control-plane/task-verify.js +131 -59
- package/dist/src/control-plane/verifier.d.ts +1 -3
- package/dist/src/control-plane/verifier.js +133 -57
- package/dist/src/defaultPipeline.d.ts +1 -1
- package/dist/src/defaultPipeline.js +5 -2
- package/dist/src/index.d.ts +0 -2
- package/dist/src/index.js +1908 -290
- package/dist/src/native/closeout-runners.js +22 -2
- package/dist/src/native/github-auth-env.d.ts +2 -0
- package/dist/src/native/github-auth-env.js +25 -0
- package/dist/src/native/host-git.d.ts +6 -0
- package/dist/src/native/host-git.js +62 -0
- package/dist/src/native/in-process-closeout.d.ts +1 -3
- package/dist/src/native/in-process-closeout.js +0 -794
- package/dist/src/pipelineCloseout.js +1905 -185
- package/dist/src/plugin.js +2843 -145
- package/dist/src/stages/auto-merge.js +28 -16
- package/dist/src/stages/commit.js +28 -16
- package/dist/src/stages/isolation.d.ts +1 -1
- package/dist/src/stages/isolation.js +5 -3
- package/dist/src/stages/merge-gate.js +35 -3
- package/dist/src/stages/open-pr.js +28 -16
- package/dist/src/stages/push.js +28 -16
- package/dist/src/stages/source-closeout.js +28 -16
- package/package.json +29 -16
- package/dist/src/branch-naming.d.ts +0 -15
- package/dist/src/branch-naming.js +0 -33
- package/dist/src/closeoutEquivalence.d.ts +0 -37
- package/dist/src/closeoutEquivalence.js +0 -78
- package/dist/src/closeoutShadowHarness.d.ts +0 -27
- package/dist/src/closeoutShadowHarness.js +0 -29
package/dist/src/cli.d.ts
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import type { RuntimeCliContext } from "@rig/core/config";
|
|
2
2
|
export declare const DEFAULT_PIPELINE_CLI_ID = "default-lifecycle.pipeline";
|
|
3
3
|
export declare const DEFAULT_KERNEL_CLI_ID = "default-lifecycle.kernel";
|
|
4
|
-
type CommandOutcome
|
|
5
|
-
readonly ok: boolean;
|
|
6
|
-
readonly group: string;
|
|
7
|
-
readonly command: string;
|
|
8
|
-
readonly details?: Record<string, unknown>;
|
|
9
|
-
};
|
|
4
|
+
import type { CommandOutcome } from "@rig/contracts";
|
|
10
5
|
export declare function executePipeline(context: RuntimeCliContext, args: readonly string[]): Promise<CommandOutcome>;
|
|
11
6
|
export declare function executeKernel(context: RuntimeCliContext, args: readonly string[]): Promise<CommandOutcome>;
|
|
12
7
|
export declare const defaultLifecycleCliCommands: readonly [{
|
|
@@ -24,4 +19,3 @@ export declare const defaultLifecycleCliCommands: readonly [{
|
|
|
24
19
|
readonly usage: "rig kernel status [--json]";
|
|
25
20
|
readonly run: typeof executeKernel;
|
|
26
21
|
}];
|
|
27
|
-
export {};
|
package/dist/src/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// packages/bundle-default-lifecycle/src/defaultPipeline.ts
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { createDefaultKernelPlugin } from "@rig/kernel-seed/default-kernel";
|
|
4
|
+
import { resolveKernelStages } from "@rig/kernel-seed/resolver";
|
|
5
5
|
|
|
6
6
|
// packages/bundle-default-lifecycle/src/stages/types.ts
|
|
7
7
|
function defineDefaultLifecycleStage(input) {
|
|
@@ -29,6 +29,9 @@ var commitStage = defineDefaultLifecycleStage({
|
|
|
29
29
|
});
|
|
30
30
|
|
|
31
31
|
// packages/bundle-default-lifecycle/src/stages/isolation.ts
|
|
32
|
+
import { ISOLATION_BACKEND } from "@rig/contracts";
|
|
33
|
+
import { defineCapability } from "@rig/core/capability";
|
|
34
|
+
import { requireCapabilityForRoot } from "@rig/core/capability-loaders";
|
|
32
35
|
var isolationStage = defineDefaultLifecycleStage({
|
|
33
36
|
id: "isolation",
|
|
34
37
|
kind: "transform",
|