mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 17:53:39 +00:00
* 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
34 lines
918 B
TypeScript
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>;
|