@workflow/web
Advanced tools
| window.__reactRouterManifest={"entry":{"module":"/assets/entry.client-C_C46bD6.js","imports":["/assets/index-BsV8i_Jn.js"],"css":[]},"routes":{"root":{"id":"root","path":"","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":true,"module":"/assets/root-BxnaECGo.js","imports":["/assets/index-BsV8i_Jn.js","/assets/mermaid-3ZIDBTTL-Bp6ZST9_.js"],"css":["/assets/root-BOS11TzD.css","/assets/mermaid-3ZIDBTTL-yyHEMZs4.css"]},"routes/home":{"id":"routes/home","parentId":"root","index":true,"hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":false,"module":"/assets/home-Blj6TeEE.js","imports":["/assets/index-BsV8i_Jn.js","/assets/workflow-graph-viewer-C6PWoIIU.js","/assets/mermaid-3ZIDBTTL-Bp6ZST9_.js","/assets/index-DZSXezpI.js"],"css":["/assets/workflow-graph-viewer-yls6qlc0.css","/assets/mermaid-3ZIDBTTL-yyHEMZs4.css"]},"routes/run-detail":{"id":"routes/run-detail","parentId":"root","path":"run/:runId","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":false,"module":"/assets/run-detail-1KdCfmI4.js","imports":["/assets/index-BsV8i_Jn.js","/assets/workflow-graph-viewer-C6PWoIIU.js","/assets/mermaid-3ZIDBTTL-Bp6ZST9_.js","/assets/encryption-BRhjWsZh.js","/assets/index-DZSXezpI.js"],"css":["/assets/workflow-graph-viewer-yls6qlc0.css","/assets/mermaid-3ZIDBTTL-yyHEMZs4.css"]},"routes/api.rpc":{"id":"routes/api.rpc","parentId":"root","path":"api/rpc","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":false,"hasErrorBoundary":false,"module":"/assets/api.rpc-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.stream.$streamId":{"id":"routes/api.stream.$streamId","parentId":"root","path":"api/stream/:streamId","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":false,"hasErrorBoundary":false,"module":"/assets/api.stream._streamId-l0sNRNKZ.js","imports":[],"css":[]}},"url":"/assets/manifest-d91343fe.js","version":"d91343fe"}; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
| import { createRequire as __wkfCreateRequire } from "node:module"; | ||
| if (typeof globalThis.require === "undefined") { | ||
| globalThis.require = __wkfCreateRequire(import.meta.url); | ||
| } | ||
| import { a0 as R, a1 as Ks, a2 as jsxRuntimeExports, a3 as Qe } from "./server-build-BFktO0pM.js"; | ||
| import { r as reactExports } from "./app-eQjjf4RE.js"; | ||
| import "node:stream"; | ||
| import "util"; | ||
| import "crypto"; | ||
| import "async_hooks"; | ||
| import "stream"; | ||
| import "node:crypto"; | ||
| import "node:process"; | ||
| import "node:path"; | ||
| import "node:url"; | ||
| import "module"; | ||
| import "node:fs/promises"; | ||
| import "tty"; | ||
| import "os"; | ||
| import "node:module"; | ||
| import "node:fs"; | ||
| import "node:child_process"; | ||
| import "node:util"; | ||
| import "node:timers/promises"; | ||
| import "node:buffer"; | ||
| import "node:http"; | ||
| import "node:https"; | ||
| import "node:zlib"; | ||
| import "events"; | ||
| import "node:assert"; | ||
| import "node:net"; | ||
| import "node:querystring"; | ||
| import "node:events"; | ||
| import "node:diagnostics_channel"; | ||
| import "node:tls"; | ||
| import "node:perf_hooks"; | ||
| import "node:util/types"; | ||
| import "node:sqlite"; | ||
| import "node:worker_threads"; | ||
| import "node:async_hooks"; | ||
| import "node:console"; | ||
| import "node:timers"; | ||
| import "node:dns"; | ||
| import "path"; | ||
| import "fs"; | ||
| import "net"; | ||
| import "node:os"; | ||
| import "express"; | ||
| var L = ({ code: s, language: t, raw: e, className: n, ...d$1 }) => { | ||
| let { shikiTheme: l } = reactExports.useContext(R), o = Ks(), [m, i] = reactExports.useState(e); | ||
| return reactExports.useEffect(() => { | ||
| if (!o) { | ||
| i(e); | ||
| return; | ||
| } | ||
| let g = o.highlight({ code: s, language: t, themes: l }, (p) => { | ||
| i(p); | ||
| }); | ||
| g && i(g); | ||
| }, [s, t, l, o, e]), jsxRuntimeExports.jsx(Qe, { className: n, language: t, result: m, ...d$1 }); | ||
| }; | ||
| export { | ||
| L as HighlightedCodeBlockBody | ||
| }; |
| import { createRequire as __wkfCreateRequire } from "node:module"; | ||
| if (typeof globalThis.require === "undefined") { | ||
| globalThis.require = __wkfCreateRequire(import.meta.url); | ||
| } | ||
| import { H as HookSchema } from "./server-build-BFktO0pM.js"; | ||
| import { B, D, a, E, b, c, d, e, L, M, f, g, P, Q, h, R, S, i, j, k, l, m, n, o, p, T, q, r, s, t, u, V, W, v, w, x, y, z, A, C, F, G, I, J, K, O, U, X, Y, Z, _, $ } from "./server-build-BFktO0pM.js"; | ||
| import "./app-eQjjf4RE.js"; | ||
| import "stream"; | ||
| import "express"; | ||
| import "node:stream"; | ||
| import "util"; | ||
| import "crypto"; | ||
| import "async_hooks"; | ||
| import "node:crypto"; | ||
| import "node:process"; | ||
| import "node:path"; | ||
| import "node:url"; | ||
| import "module"; | ||
| import "node:fs/promises"; | ||
| import "tty"; | ||
| import "os"; | ||
| import "node:module"; | ||
| import "node:fs"; | ||
| import "node:child_process"; | ||
| import "node:util"; | ||
| import "node:timers/promises"; | ||
| import "node:buffer"; | ||
| import "node:http"; | ||
| import "node:https"; | ||
| import "node:zlib"; | ||
| import "events"; | ||
| import "node:assert"; | ||
| import "node:net"; | ||
| import "node:querystring"; | ||
| import "node:events"; | ||
| import "node:diagnostics_channel"; | ||
| import "node:tls"; | ||
| import "node:perf_hooks"; | ||
| import "node:util/types"; | ||
| import "node:sqlite"; | ||
| import "node:worker_threads"; | ||
| import "node:async_hooks"; | ||
| import "node:console"; | ||
| import "node:timers"; | ||
| import "node:dns"; | ||
| import "path"; | ||
| import "fs"; | ||
| import "net"; | ||
| import "node:os"; | ||
| export { | ||
| B as BaseEventSchema, | ||
| D as DEFAULT_TIMESTAMP_THRESHOLD_FUTURE_MS, | ||
| a as DEFAULT_TIMESTAMP_THRESHOLD_PAST_MS, | ||
| E as EVENT_DATA_REF_FIELDS, | ||
| b as EventSchema, | ||
| c as EventTypeSchema, | ||
| d as HealthCheckPayloadSchema, | ||
| e as HookCreatedEventSchema, | ||
| HookSchema, | ||
| L as LegacySerializedDataSchemaV1, | ||
| M as MessageId, | ||
| f as NODE_HTTP_DEFAULT, | ||
| g as NODE_HTTP_ENV_VAR, | ||
| P as PaginatedResponseSchema, | ||
| Q as QueuePayloadSchema, | ||
| h as QueuePrefix, | ||
| R as RunInputSchema, | ||
| S as SPEC_VERSION_CURRENT, | ||
| i as SPEC_VERSION_LEGACY, | ||
| j as SPEC_VERSION_SUPPORTS_CBOR_QUEUE_TRANSPORT, | ||
| k as SPEC_VERSION_SUPPORTS_EVENT_SOURCING, | ||
| l as SerializedDataSchema, | ||
| m as StepInvokePayloadSchema, | ||
| n as StepSchema, | ||
| o as StepStatusSchema, | ||
| p as StructuredErrorSchema, | ||
| T as TERMINAL_RUN_EVENT_TYPES, | ||
| q as TERMINAL_STEP_STATUSES, | ||
| r as TERMINAL_WORKFLOW_RUN_STATUSES, | ||
| s as TerminalRunEventTypeSchema, | ||
| t as TerminalStepStatusSchema, | ||
| u as TerminalWorkflowRunStatusSchema, | ||
| V as ValidQueueName, | ||
| W as WaitSchema, | ||
| v as WaitStatusSchema, | ||
| w as WorkflowInvokePayloadSchema, | ||
| x as WorkflowRunBaseSchema, | ||
| y as WorkflowRunSchema, | ||
| z as WorkflowRunStatusSchema, | ||
| A as envFlag, | ||
| C as getQueueTopicPrefix, | ||
| F as isLegacySpecVersion, | ||
| G as isNodeHttpEnabled, | ||
| I as isTerminalRunEventType, | ||
| J as isTerminalStepStatus, | ||
| K as isTerminalWorkflowRunStatus, | ||
| O as parseQueueName, | ||
| U as reenqueueActiveRuns, | ||
| X as requiresNewerWorld, | ||
| Y as resolveQueueNamespace, | ||
| Z as stripEventDataRefs, | ||
| _ as ulidToDate, | ||
| $ as validateUlidTimestamp | ||
| }; |
| import { createRequire as __wkfCreateRequire } from "node:module"; | ||
| if (typeof globalThis.require === "undefined") { | ||
| globalThis.require = __wkfCreateRequire(import.meta.url); | ||
| } | ||
| import { N as Nt } from "./server-build-BFktO0pM.js"; | ||
| import "./app-eQjjf4RE.js"; | ||
| import "stream"; | ||
| import "express"; | ||
| import "node:stream"; | ||
| import "util"; | ||
| import "crypto"; | ||
| import "async_hooks"; | ||
| import "node:crypto"; | ||
| import "node:process"; | ||
| import "node:path"; | ||
| import "node:url"; | ||
| import "module"; | ||
| import "node:fs/promises"; | ||
| import "tty"; | ||
| import "os"; | ||
| import "node:module"; | ||
| import "node:fs"; | ||
| import "node:child_process"; | ||
| import "node:util"; | ||
| import "node:timers/promises"; | ||
| import "node:buffer"; | ||
| import "node:http"; | ||
| import "node:https"; | ||
| import "node:zlib"; | ||
| import "events"; | ||
| import "node:assert"; | ||
| import "node:net"; | ||
| import "node:querystring"; | ||
| import "node:events"; | ||
| import "node:diagnostics_channel"; | ||
| import "node:tls"; | ||
| import "node:perf_hooks"; | ||
| import "node:util/types"; | ||
| import "node:sqlite"; | ||
| import "node:worker_threads"; | ||
| import "node:async_hooks"; | ||
| import "node:console"; | ||
| import "node:timers"; | ||
| import "node:dns"; | ||
| import "path"; | ||
| import "fs"; | ||
| import "net"; | ||
| import "node:os"; | ||
| export { | ||
| Nt as Mermaid | ||
| }; |
Sorry, the diff of this file is too big to display
| import { createRequire as __wkfCreateRequire } from "node:module"; | ||
| if (typeof globalThis.require === "undefined") { | ||
| globalThis.require = __wkfCreateRequire(import.meta.url); | ||
| } | ||
| import { g as getDefaultExportFromCjs } from "./app-eQjjf4RE.js"; | ||
| import { a5 as requireTokenError, a4 as requireTokenUtil } from "./server-build-BFktO0pM.js"; | ||
| function _mergeNamespaces(n, m) { | ||
| for (var i = 0; i < m.length; i++) { | ||
| const e = m[i]; | ||
| if (typeof e !== "string" && !Array.isArray(e)) { | ||
| for (const k in e) { | ||
| if (k !== "default" && !(k in n)) { | ||
| const d = Object.getOwnPropertyDescriptor(e, k); | ||
| if (d) { | ||
| Object.defineProperty(n, k, d.get ? d : { | ||
| enumerable: true, | ||
| get: () => e[k] | ||
| }); | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" })); | ||
| } | ||
| var token$2; | ||
| var hasRequiredToken; | ||
| function requireToken() { | ||
| if (hasRequiredToken) return token$2; | ||
| hasRequiredToken = 1; | ||
| var __defProp = Object.defineProperty; | ||
| var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
| var __getOwnPropNames = Object.getOwnPropertyNames; | ||
| var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
| var __export = (target, all) => { | ||
| for (var name in all) | ||
| __defProp(target, name, { get: all[name], enumerable: true }); | ||
| }; | ||
| var __copyProps = (to, from, except, desc) => { | ||
| if (from && typeof from === "object" || typeof from === "function") { | ||
| for (let key of __getOwnPropNames(from)) | ||
| if (!__hasOwnProp.call(to, key) && key !== except) | ||
| __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | ||
| } | ||
| return to; | ||
| }; | ||
| var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
| var token_exports = {}; | ||
| __export(token_exports, { | ||
| refreshToken: () => refreshToken | ||
| }); | ||
| token$2 = __toCommonJS(token_exports); | ||
| var import_token_error = requireTokenError(); | ||
| var import_token_util = requireTokenUtil(); | ||
| async function refreshToken(options) { | ||
| let projectId = options == null ? void 0 : options.project; | ||
| let teamId = options == null ? void 0 : options.team; | ||
| if (!projectId && !teamId) { | ||
| const projectInfo = (0, import_token_util.findProjectInfo)(); | ||
| projectId = projectInfo.projectId; | ||
| teamId = projectInfo.teamId; | ||
| } else if (!projectId || !teamId) { | ||
| const projectInfo = (0, import_token_util.findProjectInfo)(); | ||
| projectId = projectId ?? projectInfo.projectId; | ||
| teamId = teamId ?? projectInfo.teamId; | ||
| } | ||
| if (!projectId) { | ||
| throw new import_token_error.VercelOidcTokenError( | ||
| "Failed to refresh OIDC token: No project specified. Try re-linking your project with `vc link`" | ||
| ); | ||
| } | ||
| let maybeToken = (0, import_token_util.loadToken)(projectId); | ||
| if (!maybeToken || (0, import_token_util.isExpired)((0, import_token_util.getTokenPayload)(maybeToken.token), options == null ? void 0 : options.expirationBufferMs)) { | ||
| const authToken = await (0, import_token_util.getVercelToken)({ | ||
| expirationBufferMs: options == null ? void 0 : options.expirationBufferMs | ||
| }); | ||
| maybeToken = await (0, import_token_util.getVercelOidcToken)(authToken, projectId, teamId); | ||
| if (!maybeToken) { | ||
| throw new import_token_error.VercelOidcTokenError("Failed to refresh OIDC token"); | ||
| } | ||
| (0, import_token_util.saveToken)(maybeToken, projectId); | ||
| } | ||
| process.env.VERCEL_OIDC_TOKEN = maybeToken.token; | ||
| return; | ||
| } | ||
| return token$2; | ||
| } | ||
| var tokenExports = requireToken(); | ||
| const token = /* @__PURE__ */ getDefaultExportFromCjs(tokenExports); | ||
| const token$1 = /* @__PURE__ */ _mergeNamespaces({ | ||
| __proto__: null, | ||
| default: token | ||
| }, [tokenExports]); | ||
| export { | ||
| token$1 as t | ||
| }; |
| import { createRequire as __wkfCreateRequire } from "node:module"; | ||
| if (typeof globalThis.require === "undefined") { | ||
| globalThis.require = __wkfCreateRequire(import.meta.url); | ||
| } | ||
| import { g as getDefaultExportFromCjs } from "./app-eQjjf4RE.js"; | ||
| import { a4 as requireTokenUtil } from "./server-build-BFktO0pM.js"; | ||
| function _mergeNamespaces(n, m) { | ||
| for (var i = 0; i < m.length; i++) { | ||
| const e = m[i]; | ||
| if (typeof e !== "string" && !Array.isArray(e)) { | ||
| for (const k in e) { | ||
| if (k !== "default" && !(k in n)) { | ||
| const d = Object.getOwnPropertyDescriptor(e, k); | ||
| if (d) { | ||
| Object.defineProperty(n, k, d.get ? d : { | ||
| enumerable: true, | ||
| get: () => e[k] | ||
| }); | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" })); | ||
| } | ||
| var tokenUtilExports = requireTokenUtil(); | ||
| const tokenUtil = /* @__PURE__ */ getDefaultExportFromCjs(tokenUtilExports); | ||
| const tokenUtil$1 = /* @__PURE__ */ _mergeNamespaces({ | ||
| __proto__: null, | ||
| default: tokenUtil | ||
| }, [tokenUtilExports]); | ||
| export { | ||
| tokenUtil$1 as t | ||
| }; |
@@ -5,3 +5,3 @@ import { createRequire as __wkfCreateRequire } from "node:module"; | ||
| } | ||
| import { n } from "./assets/app-C6I0cOSv.js"; | ||
| import { n } from "./assets/app-eQjjf4RE.js"; | ||
| import "express"; | ||
@@ -8,0 +8,0 @@ import "stream"; |
+5
-5
| { | ||
| "name": "@workflow/web", | ||
| "description": "Workflow Observability UI", | ||
| "version": "4.1.20", | ||
| "version": "4.1.21", | ||
| "type": "module", | ||
@@ -74,8 +74,8 @@ "private": false, | ||
| "jsdom": "^26", | ||
| "@workflow/core": "4.8.4", | ||
| "@workflow/core": "4.8.5", | ||
| "@workflow/errors": "4.2.1", | ||
| "@workflow/utils": "4.1.4", | ||
| "@workflow/web-shared": "4.1.20", | ||
| "@workflow/world": "4.4.0", | ||
| "@workflow/world-vercel": "4.7.0" | ||
| "@workflow/web-shared": "4.1.21", | ||
| "@workflow/world": "4.5.0", | ||
| "@workflow/world-vercel": "4.7.1" | ||
| }, | ||
@@ -82,0 +82,0 @@ "scripts": { |
| window.__reactRouterManifest={"entry":{"module":"/assets/entry.client-C_C46bD6.js","imports":["/assets/index-BsV8i_Jn.js"],"css":[]},"routes":{"root":{"id":"root","path":"","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":true,"module":"/assets/root-BxnaECGo.js","imports":["/assets/index-BsV8i_Jn.js","/assets/mermaid-3ZIDBTTL-Bp6ZST9_.js"],"css":["/assets/root-BOS11TzD.css","/assets/mermaid-3ZIDBTTL-yyHEMZs4.css"]},"routes/home":{"id":"routes/home","parentId":"root","index":true,"hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":false,"module":"/assets/home-Blj6TeEE.js","imports":["/assets/index-BsV8i_Jn.js","/assets/workflow-graph-viewer-C6PWoIIU.js","/assets/mermaid-3ZIDBTTL-Bp6ZST9_.js","/assets/index-DZSXezpI.js"],"css":["/assets/workflow-graph-viewer-yls6qlc0.css","/assets/mermaid-3ZIDBTTL-yyHEMZs4.css"]},"routes/run-detail":{"id":"routes/run-detail","parentId":"root","path":"run/:runId","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":false,"module":"/assets/run-detail-Cbuf5qtv.js","imports":["/assets/index-BsV8i_Jn.js","/assets/workflow-graph-viewer-C6PWoIIU.js","/assets/mermaid-3ZIDBTTL-Bp6ZST9_.js","/assets/encryption-BRhjWsZh.js","/assets/index-DZSXezpI.js"],"css":["/assets/workflow-graph-viewer-yls6qlc0.css","/assets/mermaid-3ZIDBTTL-yyHEMZs4.css"]},"routes/api.rpc":{"id":"routes/api.rpc","parentId":"root","path":"api/rpc","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":false,"hasErrorBoundary":false,"module":"/assets/api.rpc-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.stream.$streamId":{"id":"routes/api.stream.$streamId","parentId":"root","path":"api/stream/:streamId","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":false,"hasErrorBoundary":false,"module":"/assets/api.stream._streamId-l0sNRNKZ.js","imports":[],"css":[]}},"url":"/assets/manifest-0285e96f.js","version":"0285e96f"}; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
| import { createRequire as __wkfCreateRequire } from "node:module"; | ||
| if (typeof globalThis.require === "undefined") { | ||
| globalThis.require = __wkfCreateRequire(import.meta.url); | ||
| } | ||
| import { a0 as R, a1 as Ks, a2 as jsxRuntimeExports, a3 as Qe } from "./server-build-DMT2kgzu.js"; | ||
| import { r as reactExports } from "./app-C6I0cOSv.js"; | ||
| import "node:stream"; | ||
| import "util"; | ||
| import "crypto"; | ||
| import "async_hooks"; | ||
| import "stream"; | ||
| import "node:crypto"; | ||
| import "node:process"; | ||
| import "node:path"; | ||
| import "node:url"; | ||
| import "module"; | ||
| import "node:fs/promises"; | ||
| import "tty"; | ||
| import "os"; | ||
| import "node:module"; | ||
| import "node:fs"; | ||
| import "node:child_process"; | ||
| import "node:util"; | ||
| import "node:timers/promises"; | ||
| import "node:buffer"; | ||
| import "node:http"; | ||
| import "node:https"; | ||
| import "node:zlib"; | ||
| import "events"; | ||
| import "node:assert"; | ||
| import "node:net"; | ||
| import "node:querystring"; | ||
| import "node:events"; | ||
| import "node:diagnostics_channel"; | ||
| import "node:tls"; | ||
| import "node:perf_hooks"; | ||
| import "node:util/types"; | ||
| import "node:sqlite"; | ||
| import "node:worker_threads"; | ||
| import "node:async_hooks"; | ||
| import "node:console"; | ||
| import "node:timers"; | ||
| import "node:dns"; | ||
| import "path"; | ||
| import "fs"; | ||
| import "net"; | ||
| import "node:os"; | ||
| import "express"; | ||
| var L = ({ code: s, language: t, raw: e, className: n, ...d$1 }) => { | ||
| let { shikiTheme: l } = reactExports.useContext(R), o = Ks(), [m, i] = reactExports.useState(e); | ||
| return reactExports.useEffect(() => { | ||
| if (!o) { | ||
| i(e); | ||
| return; | ||
| } | ||
| let g = o.highlight({ code: s, language: t, themes: l }, (p) => { | ||
| i(p); | ||
| }); | ||
| g && i(g); | ||
| }, [s, t, l, o, e]), jsxRuntimeExports.jsx(Qe, { className: n, language: t, result: m, ...d$1 }); | ||
| }; | ||
| export { | ||
| L as HighlightedCodeBlockBody | ||
| }; |
| import { createRequire as __wkfCreateRequire } from "node:module"; | ||
| if (typeof globalThis.require === "undefined") { | ||
| globalThis.require = __wkfCreateRequire(import.meta.url); | ||
| } | ||
| import { H as HookSchema } from "./server-build-DMT2kgzu.js"; | ||
| import { B, D, a, E, b, c, d, e, L, M, f, g, P, Q, h, R, S, i, j, k, l, m, n, o, p, T, q, r, s, t, u, V, W, v, w, x, y, z, A, C, F, G, I, J, K, O, U, X, Y, Z, _, $ } from "./server-build-DMT2kgzu.js"; | ||
| import "./app-C6I0cOSv.js"; | ||
| import "stream"; | ||
| import "express"; | ||
| import "node:stream"; | ||
| import "util"; | ||
| import "crypto"; | ||
| import "async_hooks"; | ||
| import "node:crypto"; | ||
| import "node:process"; | ||
| import "node:path"; | ||
| import "node:url"; | ||
| import "module"; | ||
| import "node:fs/promises"; | ||
| import "tty"; | ||
| import "os"; | ||
| import "node:module"; | ||
| import "node:fs"; | ||
| import "node:child_process"; | ||
| import "node:util"; | ||
| import "node:timers/promises"; | ||
| import "node:buffer"; | ||
| import "node:http"; | ||
| import "node:https"; | ||
| import "node:zlib"; | ||
| import "events"; | ||
| import "node:assert"; | ||
| import "node:net"; | ||
| import "node:querystring"; | ||
| import "node:events"; | ||
| import "node:diagnostics_channel"; | ||
| import "node:tls"; | ||
| import "node:perf_hooks"; | ||
| import "node:util/types"; | ||
| import "node:sqlite"; | ||
| import "node:worker_threads"; | ||
| import "node:async_hooks"; | ||
| import "node:console"; | ||
| import "node:timers"; | ||
| import "node:dns"; | ||
| import "path"; | ||
| import "fs"; | ||
| import "net"; | ||
| import "node:os"; | ||
| export { | ||
| B as BaseEventSchema, | ||
| D as DEFAULT_TIMESTAMP_THRESHOLD_FUTURE_MS, | ||
| a as DEFAULT_TIMESTAMP_THRESHOLD_PAST_MS, | ||
| E as EVENT_DATA_REF_FIELDS, | ||
| b as EventSchema, | ||
| c as EventTypeSchema, | ||
| d as HealthCheckPayloadSchema, | ||
| e as HookCreatedEventSchema, | ||
| HookSchema, | ||
| L as LegacySerializedDataSchemaV1, | ||
| M as MessageId, | ||
| f as NODE_HTTP_DEFAULT, | ||
| g as NODE_HTTP_ENV_VAR, | ||
| P as PaginatedResponseSchema, | ||
| Q as QueuePayloadSchema, | ||
| h as QueuePrefix, | ||
| R as RunInputSchema, | ||
| S as SPEC_VERSION_CURRENT, | ||
| i as SPEC_VERSION_LEGACY, | ||
| j as SPEC_VERSION_SUPPORTS_CBOR_QUEUE_TRANSPORT, | ||
| k as SPEC_VERSION_SUPPORTS_EVENT_SOURCING, | ||
| l as SerializedDataSchema, | ||
| m as StepInvokePayloadSchema, | ||
| n as StepSchema, | ||
| o as StepStatusSchema, | ||
| p as StructuredErrorSchema, | ||
| T as TERMINAL_RUN_EVENT_TYPES, | ||
| q as TERMINAL_STEP_STATUSES, | ||
| r as TERMINAL_WORKFLOW_RUN_STATUSES, | ||
| s as TerminalRunEventTypeSchema, | ||
| t as TerminalStepStatusSchema, | ||
| u as TerminalWorkflowRunStatusSchema, | ||
| V as ValidQueueName, | ||
| W as WaitSchema, | ||
| v as WaitStatusSchema, | ||
| w as WorkflowInvokePayloadSchema, | ||
| x as WorkflowRunBaseSchema, | ||
| y as WorkflowRunSchema, | ||
| z as WorkflowRunStatusSchema, | ||
| A as envFlag, | ||
| C as getQueueTopicPrefix, | ||
| F as isLegacySpecVersion, | ||
| G as isNodeHttpEnabled, | ||
| I as isTerminalRunEventType, | ||
| J as isTerminalStepStatus, | ||
| K as isTerminalWorkflowRunStatus, | ||
| O as parseQueueName, | ||
| U as reenqueueActiveRuns, | ||
| X as requiresNewerWorld, | ||
| Y as resolveQueueNamespace, | ||
| Z as stripEventDataRefs, | ||
| _ as ulidToDate, | ||
| $ as validateUlidTimestamp | ||
| }; |
| import { createRequire as __wkfCreateRequire } from "node:module"; | ||
| if (typeof globalThis.require === "undefined") { | ||
| globalThis.require = __wkfCreateRequire(import.meta.url); | ||
| } | ||
| import { N as Nt } from "./server-build-DMT2kgzu.js"; | ||
| import "./app-C6I0cOSv.js"; | ||
| import "stream"; | ||
| import "express"; | ||
| import "node:stream"; | ||
| import "util"; | ||
| import "crypto"; | ||
| import "async_hooks"; | ||
| import "node:crypto"; | ||
| import "node:process"; | ||
| import "node:path"; | ||
| import "node:url"; | ||
| import "module"; | ||
| import "node:fs/promises"; | ||
| import "tty"; | ||
| import "os"; | ||
| import "node:module"; | ||
| import "node:fs"; | ||
| import "node:child_process"; | ||
| import "node:util"; | ||
| import "node:timers/promises"; | ||
| import "node:buffer"; | ||
| import "node:http"; | ||
| import "node:https"; | ||
| import "node:zlib"; | ||
| import "events"; | ||
| import "node:assert"; | ||
| import "node:net"; | ||
| import "node:querystring"; | ||
| import "node:events"; | ||
| import "node:diagnostics_channel"; | ||
| import "node:tls"; | ||
| import "node:perf_hooks"; | ||
| import "node:util/types"; | ||
| import "node:sqlite"; | ||
| import "node:worker_threads"; | ||
| import "node:async_hooks"; | ||
| import "node:console"; | ||
| import "node:timers"; | ||
| import "node:dns"; | ||
| import "path"; | ||
| import "fs"; | ||
| import "net"; | ||
| import "node:os"; | ||
| export { | ||
| Nt as Mermaid | ||
| }; |
Sorry, the diff of this file is too big to display
| import { createRequire as __wkfCreateRequire } from "node:module"; | ||
| if (typeof globalThis.require === "undefined") { | ||
| globalThis.require = __wkfCreateRequire(import.meta.url); | ||
| } | ||
| import { g as getDefaultExportFromCjs } from "./app-C6I0cOSv.js"; | ||
| import { a5 as requireTokenError, a4 as requireTokenUtil } from "./server-build-DMT2kgzu.js"; | ||
| function _mergeNamespaces(n, m) { | ||
| for (var i = 0; i < m.length; i++) { | ||
| const e = m[i]; | ||
| if (typeof e !== "string" && !Array.isArray(e)) { | ||
| for (const k in e) { | ||
| if (k !== "default" && !(k in n)) { | ||
| const d = Object.getOwnPropertyDescriptor(e, k); | ||
| if (d) { | ||
| Object.defineProperty(n, k, d.get ? d : { | ||
| enumerable: true, | ||
| get: () => e[k] | ||
| }); | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" })); | ||
| } | ||
| var token$2; | ||
| var hasRequiredToken; | ||
| function requireToken() { | ||
| if (hasRequiredToken) return token$2; | ||
| hasRequiredToken = 1; | ||
| var __defProp = Object.defineProperty; | ||
| var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
| var __getOwnPropNames = Object.getOwnPropertyNames; | ||
| var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
| var __export = (target, all) => { | ||
| for (var name in all) | ||
| __defProp(target, name, { get: all[name], enumerable: true }); | ||
| }; | ||
| var __copyProps = (to, from, except, desc) => { | ||
| if (from && typeof from === "object" || typeof from === "function") { | ||
| for (let key of __getOwnPropNames(from)) | ||
| if (!__hasOwnProp.call(to, key) && key !== except) | ||
| __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | ||
| } | ||
| return to; | ||
| }; | ||
| var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
| var token_exports = {}; | ||
| __export(token_exports, { | ||
| refreshToken: () => refreshToken | ||
| }); | ||
| token$2 = __toCommonJS(token_exports); | ||
| var import_token_error = requireTokenError(); | ||
| var import_token_util = requireTokenUtil(); | ||
| async function refreshToken(options) { | ||
| let projectId = options == null ? void 0 : options.project; | ||
| let teamId = options == null ? void 0 : options.team; | ||
| if (!projectId && !teamId) { | ||
| const projectInfo = (0, import_token_util.findProjectInfo)(); | ||
| projectId = projectInfo.projectId; | ||
| teamId = projectInfo.teamId; | ||
| } else if (!projectId || !teamId) { | ||
| const projectInfo = (0, import_token_util.findProjectInfo)(); | ||
| projectId = projectId ?? projectInfo.projectId; | ||
| teamId = teamId ?? projectInfo.teamId; | ||
| } | ||
| if (!projectId) { | ||
| throw new import_token_error.VercelOidcTokenError( | ||
| "Failed to refresh OIDC token: No project specified. Try re-linking your project with `vc link`" | ||
| ); | ||
| } | ||
| let maybeToken = (0, import_token_util.loadToken)(projectId); | ||
| if (!maybeToken || (0, import_token_util.isExpired)((0, import_token_util.getTokenPayload)(maybeToken.token), options == null ? void 0 : options.expirationBufferMs)) { | ||
| const authToken = await (0, import_token_util.getVercelToken)({ | ||
| expirationBufferMs: options == null ? void 0 : options.expirationBufferMs | ||
| }); | ||
| maybeToken = await (0, import_token_util.getVercelOidcToken)(authToken, projectId, teamId); | ||
| if (!maybeToken) { | ||
| throw new import_token_error.VercelOidcTokenError("Failed to refresh OIDC token"); | ||
| } | ||
| (0, import_token_util.saveToken)(maybeToken, projectId); | ||
| } | ||
| process.env.VERCEL_OIDC_TOKEN = maybeToken.token; | ||
| return; | ||
| } | ||
| return token$2; | ||
| } | ||
| var tokenExports = requireToken(); | ||
| const token = /* @__PURE__ */ getDefaultExportFromCjs(tokenExports); | ||
| const token$1 = /* @__PURE__ */ _mergeNamespaces({ | ||
| __proto__: null, | ||
| default: token | ||
| }, [tokenExports]); | ||
| export { | ||
| token$1 as t | ||
| }; |
| import { createRequire as __wkfCreateRequire } from "node:module"; | ||
| if (typeof globalThis.require === "undefined") { | ||
| globalThis.require = __wkfCreateRequire(import.meta.url); | ||
| } | ||
| import { g as getDefaultExportFromCjs } from "./app-C6I0cOSv.js"; | ||
| import { a4 as requireTokenUtil } from "./server-build-DMT2kgzu.js"; | ||
| function _mergeNamespaces(n, m) { | ||
| for (var i = 0; i < m.length; i++) { | ||
| const e = m[i]; | ||
| if (typeof e !== "string" && !Array.isArray(e)) { | ||
| for (const k in e) { | ||
| if (k !== "default" && !(k in n)) { | ||
| const d = Object.getOwnPropertyDescriptor(e, k); | ||
| if (d) { | ||
| Object.defineProperty(n, k, d.get ? d : { | ||
| enumerable: true, | ||
| get: () => e[k] | ||
| }); | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" })); | ||
| } | ||
| var tokenUtilExports = requireTokenUtil(); | ||
| const tokenUtil = /* @__PURE__ */ getDefaultExportFromCjs(tokenUtilExports); | ||
| const tokenUtil$1 = /* @__PURE__ */ _mergeNamespaces({ | ||
| __proto__: null, | ||
| default: tokenUtil | ||
| }, [tokenUtilExports]); | ||
| export { | ||
| tokenUtil$1 as t | ||
| }; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
10509689
0.05%112939
0