module.exports=[42532,(a,b,c)=>{"use strict";var d=Object.defineProperty,e=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,g=Object.prototype.hasOwnProperty,h={},i={VercelOidcTokenError:()=>k};for(var j in i)d(h,j,{get:i[j],enumerable:!0});b.exports=((a,b,c,h)=>{if(b&&"object"==typeof b||"function"==typeof b)for(let c of f(b))g.call(a,c)||void 0===c||d(a,c,{get:()=>b[c],enumerable:!(h=e(b,c))||h.enumerable});return a})(d({},"__esModule",{value:!0}),h);class k extends Error{constructor(a,b){super(a),this.name="VercelOidcTokenError",this.cause=b}toString(){return this.cause?`${this.name}: ${this.message}: ${this.cause}`:`${this.name}: ${this.message}`}}},46786,(a,b,c)=>{b.exports=a.x("os",()=>require("os"))},26279,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"registerServerReference",{enumerable:!0,get:function(){return d.registerServerReference}});let d=a.r(51515)},2157,(a,b,c)=>{b.exports=a.x("node:fs",()=>require("node:fs"))},44376,(a,b,c)=>{b.exports=a.x("node:module",()=>require("node:module"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},90963,(a,b,c)=>{"use strict";function d(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},83153,a=>{"use strict";var b=a.i(26279),c=a.i(2157),d=a.i(44376),e=a.i(50227);let f=[{id:"local",displayName:"Local",packageName:null,description:"Local file-based storage with no dependencies, ideal for development",isBuiltIn:!0},{id:"vercel",displayName:"Vercel",packageName:null,description:"Vercel-managed storage and queue",isBuiltIn:!0},{id:"postgres",displayName:"PostgreSQL",packageName:"@workflow/world-postgres",description:"PostgreSQL-based storage with pg-boss queue",isBuiltIn:!1}];var g=a.i(90963);let h=(0,d.createRequire)((0,e.join)(process.cwd(),"index.js"));async function i(){return f.map(a=>{let b={id:a.id,displayName:a.displayName,packageName:a.packageName,description:a.description,isBuiltIn:a.isBuiltIn,isInstalled:a.isBuiltIn};if(!a.isBuiltIn&&a.packageName)try{h.resolve(a.packageName),b.isInstalled=!0}catch{b.isInstalled=!1,b.installCommand=`npm install ${a.packageName}`}return b})}async function j(a){let b=[],d=a.backend||"local";if("local"===d){if(a.dataDir){let d=(0,e.resolve)(a.dataDir);(0,c.existsSync)(d)||b.push({field:"dataDir",message:`Data directory does not exist: ${d}`})}if(a.port){let c=Number.parseInt(a.port,10);(Number.isNaN(c)||c<1||c>65535)&&b.push({field:"port",message:"Port must be a number between 1 and 65535"})}}return"postgres"===d&&(a.postgresUrl?a.postgresUrl.startsWith("postgres://")||a.postgresUrl.startsWith("postgresql://")||b.push({field:"postgresUrl",message:"Invalid PostgreSQL connection string format (must start with postgres:// or postgresql://)"}):b.push({field:"postgresUrl",message:"PostgreSQL connection string is required"})),b}(0,g.ensureServerEntryExports)([i,j]),(0,b.registerServerReference)(i,"00f5d87d587abb8bf9946a0329993411ba974058eb",null),(0,b.registerServerReference)(j,"402c83f68f97c6b3738088f54e0bdd5b1c5f202248",null),a.s(["checkWorldsAvailability",()=>i,"validateWorldConfig",()=>j],83153)},82463,a=>{"use strict";var b=a.i(83153),c=a.i(76527);a.s([],66769),a.i(66769),a.s(["00f5d87d587abb8bf9946a0329993411ba974058eb",()=>b.checkWorldsAvailability,"402c83f68f97c6b3738088f54e0bdd5b1c5f202248",()=>b.validateWorldConfig,"603988f2b5d16ef75192febbfe6f5ee689cec1a333",()=>c.recreateRun,"6075590a44c4d3311b767b3e7c9bb9374f9df45714",()=>c.fetchHooks,"60f4eb4ffdeffb98b4ab2e4bbca17bf375ac806634",()=>c.fetchRuns,"60fe7950674d18217b5e1d01a590e49a60c17ecc74",()=>c.cancelRun,"705a497b3bcf44c9a4864288797d25765def90909a",()=>c.fetchHook,"7072d67378b329f383dbd707cb6d02c19a2f3e5571",()=>c.fetchSteps,"708565faf29f38fb0caba21e7a847d61995484c78f",()=>c.fetchEvents,"70c631a8b69731373e01f48361644f3b2a1e31cb3f",()=>c.fetchRun,"70e03f61300aa648f541bc823644d6207ddc4bc686",()=>c.readStreamServerAction,"70e215ad425def6cf55b4f2389258f4342c1bbbe16",()=>c.fetchEventsByCorrelationId,"789670d2dd47ea2545987b090fb2fb56fa4eb69cd1",()=>c.fetchStep],82463)},73191,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__f5724172._.js"].map(b=>a.l(b))).then(()=>b(16885)))},74458,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__e786fe02._.js"].map(b=>a.l(b))).then(()=>b(20384)))},74052,a=>{a.v(a=>Promise.resolve().then(()=>a(51565)))}];

//# sourceMappingURL=%5Broot-of-the-server%5D__76e708cb._.js.map