fix: add one-click web sentinel publish

This commit is contained in:
Codex
2026-07-01 00:56:28 +00:00
parent 0f087898b9
commit 98c59c9468
10 changed files with 600 additions and 23 deletions
+1 -1
View File
@@ -391,7 +391,7 @@ export function runSentinelDashboard(state: SentinelCicdState, options: Extract<
return rendered(result.ok === true, command, options.raw ? JSON.stringify(result, null, 2) : renderDashboardResult(result));
}
function probeSentinelDashboardBrowser(state: SentinelCicdState, options: Extract<WebProbeSentinelOptions, { kind: "dashboard" }>): Record<string, unknown> {
export function probeSentinelDashboardBrowser(state: SentinelCicdState, options: Extract<WebProbeSentinelOptions, { kind: "dashboard" }>): Record<string, unknown> {
const publicBaseUrl = stringAt(state.publicExposure, "publicBaseUrl").replace(/\/$/u, "");
const [widthRaw, heightRaw] = options.viewport.split("x");
const screenshotName = options.action === "screenshot" ? dashboardScreenshotName(options, state) : "";