openclaw/scripts/lib/release-publish-inputs.d.mts
Dallin Romney 7e8732d9d7
fix: restore blocking release validation and remove publication waivers (#157864)
* fix: restore blocking release validation and remove publication waivers

* fix(release): align recovery proof with strict validation

* docs(release): preserve qualified beta promotion

* fix(release): require strict stable orchestration and retire waived replay

* fix: read waiver-free saved release state after retry removal

* fix: discard retired capability metadata from strict release state
2026-09-25 16:27:23 -07:00

34 lines
918 B
TypeScript

import type { NpmPublishPlan } from "./npm-publish-plan.mjs";
export type ReleaseNpmDecision = {
packageName: string;
packageVersion: string;
plan: NpmPublishPlan;
decision: "already-published" | "superseded" | "plan";
route: "npm-readback" | "npm-mirror" | "npm-tag-repair" | null;
supersededBy: string | null;
bootstrap: boolean;
};
export type ReleasePublishInputs = {
version?: 1;
targetSha?: string;
npmDistTag?: string;
pluginSdkApiAcknowledgement: string;
pluginSdkApiEvidenceDigest?: string;
npmDecisions: ReleaseNpmDecision[] | undefined;
};
export function resolveReleasePublishInputs(
manifest: unknown,
overrides?: {
pluginSdkApiAcknowledgement?: string;
targetSha?: string;
npmDistTag?: string;
},
): ReleasePublishInputs;
export function createReleasePublishInputs(options: {
manifest: unknown;
npmManifest: unknown;
}): Promise<ReleasePublishInputs>;