flujo-ai 3.45.1 → 3.45.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +37 -37
- package/.next/build-manifest.json +3 -3
- package/.next/react-loadable-manifest.json +2 -2
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/api/telemetry/daily-active/route.js +1 -1
- package/.next/server/app/automation/triggers.html +1 -1
- package/.next/server/app/automation/triggers.rsc +1 -1
- package/.next/server/app/automation/triggers.segments/_full.segment.rsc +1 -1
- package/.next/server/app/automation/triggers.segments/_head.segment.rsc +1 -1
- package/.next/server/app/automation/triggers.segments/_index.segment.rsc +1 -1
- package/.next/server/app/automation/triggers.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/automation/triggers.segments/automation/triggers/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/automation/triggers.segments/automation/triggers.segment.rsc +1 -1
- package/.next/server/app/automation/triggers.segments/automation.segment.rsc +1 -1
- package/.next/server/app/automation/waves.html +1 -1
- package/.next/server/app/automation/waves.rsc +1 -1
- package/.next/server/app/automation/waves.segments/_full.segment.rsc +1 -1
- package/.next/server/app/automation/waves.segments/_head.segment.rsc +1 -1
- package/.next/server/app/automation/waves.segments/_index.segment.rsc +1 -1
- package/.next/server/app/automation/waves.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/automation/waves.segments/automation/waves/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/automation/waves.segments/automation/waves.segment.rsc +1 -1
- package/.next/server/app/automation/waves.segments/automation.segment.rsc +1 -1
- package/.next/server/app/chain-chat.html +1 -1
- package/.next/server/app/chain-chat.rsc +1 -1
- package/.next/server/app/chain-chat.segments/_full.segment.rsc +1 -1
- package/.next/server/app/chain-chat.segments/_head.segment.rsc +1 -1
- package/.next/server/app/chain-chat.segments/_index.segment.rsc +1 -1
- package/.next/server/app/chain-chat.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/chain-chat.segments/chain-chat/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/chain-chat.segments/chain-chat.segment.rsc +1 -1
- package/.next/server/app/chat/page_client-reference-manifest.js +1 -1
- package/.next/server/app/chat.html +1 -1
- package/.next/server/app/chat.rsc +2 -2
- package/.next/server/app/chat.segments/_full.segment.rsc +2 -2
- package/.next/server/app/chat.segments/_head.segment.rsc +1 -1
- package/.next/server/app/chat.segments/_index.segment.rsc +1 -1
- package/.next/server/app/chat.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/chat.segments/chat/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/chat.segments/chat.segment.rsc +1 -1
- package/.next/server/app/docs.html +1 -1
- package/.next/server/app/docs.rsc +1 -1
- package/.next/server/app/docs.segments/_full.segment.rsc +1 -1
- package/.next/server/app/docs.segments/_head.segment.rsc +1 -1
- package/.next/server/app/docs.segments/_index.segment.rsc +1 -1
- package/.next/server/app/docs.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/docs.segments/docs/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/docs.segments/docs.segment.rsc +1 -1
- package/.next/server/app/executions.html +1 -1
- package/.next/server/app/executions.rsc +1 -1
- package/.next/server/app/executions.segments/_full.segment.rsc +1 -1
- package/.next/server/app/executions.segments/_head.segment.rsc +1 -1
- package/.next/server/app/executions.segments/_index.segment.rsc +1 -1
- package/.next/server/app/executions.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/executions.segments/executions/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/executions.segments/executions.segment.rsc +1 -1
- package/.next/server/app/flows/page_client-reference-manifest.js +1 -1
- package/.next/server/app/flows.html +1 -1
- package/.next/server/app/flows.rsc +2 -2
- package/.next/server/app/flows.segments/_full.segment.rsc +2 -2
- package/.next/server/app/flows.segments/_head.segment.rsc +1 -1
- package/.next/server/app/flows.segments/_index.segment.rsc +1 -1
- package/.next/server/app/flows.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/flows.segments/flows/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/flows.segments/flows.segment.rsc +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +1 -1
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/index.segments/_full.segment.rsc +1 -1
- package/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/mcp/page_client-reference-manifest.js +1 -1
- package/.next/server/app/mcp-flows/route.js +1 -1
- package/.next/server/app/mcp-proxy/[server]/route.js +1 -1
- package/.next/server/app/mcp.html +1 -1
- package/.next/server/app/mcp.rsc +2 -2
- package/.next/server/app/mcp.segments/_full.segment.rsc +2 -2
- package/.next/server/app/mcp.segments/_head.segment.rsc +1 -1
- package/.next/server/app/mcp.segments/_index.segment.rsc +1 -1
- package/.next/server/app/mcp.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/mcp.segments/mcp/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/mcp.segments/mcp.segment.rsc +1 -1
- package/.next/server/app/meetings.html +1 -1
- package/.next/server/app/meetings.rsc +1 -1
- package/.next/server/app/meetings.segments/_full.segment.rsc +1 -1
- package/.next/server/app/meetings.segments/_head.segment.rsc +1 -1
- package/.next/server/app/meetings.segments/_index.segment.rsc +1 -1
- package/.next/server/app/meetings.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/meetings.segments/meetings/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/meetings.segments/meetings.segment.rsc +1 -1
- package/.next/server/app/packages.html +1 -1
- package/.next/server/app/packages.rsc +1 -1
- package/.next/server/app/packages.segments/_full.segment.rsc +1 -1
- package/.next/server/app/packages.segments/_head.segment.rsc +1 -1
- package/.next/server/app/packages.segments/_index.segment.rsc +1 -1
- package/.next/server/app/packages.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/packages.segments/packages/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/packages.segments/packages.segment.rsc +1 -1
- package/.next/server/app/personas.html +1 -1
- package/.next/server/app/personas.rsc +1 -1
- package/.next/server/app/personas.segments/_full.segment.rsc +1 -1
- package/.next/server/app/personas.segments/_head.segment.rsc +1 -1
- package/.next/server/app/personas.segments/_index.segment.rsc +1 -1
- package/.next/server/app/personas.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/personas.segments/personas/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/personas.segments/personas.segment.rsc +1 -1
- package/.next/server/app/roles/new.html +1 -1
- package/.next/server/app/roles/new.rsc +1 -1
- package/.next/server/app/roles/new.segments/_full.segment.rsc +1 -1
- package/.next/server/app/roles/new.segments/_head.segment.rsc +1 -1
- package/.next/server/app/roles/new.segments/_index.segment.rsc +1 -1
- package/.next/server/app/roles/new.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/roles/new.segments/roles/new/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/roles/new.segments/roles/new.segment.rsc +1 -1
- package/.next/server/app/roles/new.segments/roles.segment.rsc +1 -1
- package/.next/server/app/roles.html +1 -1
- package/.next/server/app/roles.rsc +1 -1
- package/.next/server/app/roles.segments/_full.segment.rsc +1 -1
- package/.next/server/app/roles.segments/_head.segment.rsc +1 -1
- package/.next/server/app/roles.segments/_index.segment.rsc +1 -1
- package/.next/server/app/roles.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/roles.segments/roles/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/roles.segments/roles.segment.rsc +1 -1
- package/.next/server/app/settings.html +1 -1
- package/.next/server/app/settings.rsc +1 -1
- package/.next/server/app/settings.segments/_full.segment.rsc +1 -1
- package/.next/server/app/settings.segments/_head.segment.rsc +1 -1
- package/.next/server/app/settings.segments/_index.segment.rsc +1 -1
- package/.next/server/app/settings.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/settings.segments/settings.segment.rsc +1 -1
- package/.next/server/app/statistics.html +1 -1
- package/.next/server/app/statistics.rsc +1 -1
- package/.next/server/app/statistics.segments/_full.segment.rsc +1 -1
- package/.next/server/app/statistics.segments/_head.segment.rsc +1 -1
- package/.next/server/app/statistics.segments/_index.segment.rsc +1 -1
- package/.next/server/app/statistics.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/statistics.segments/statistics/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/statistics.segments/statistics.segment.rsc +1 -1
- package/.next/server/app/waves.html +1 -1
- package/.next/server/app/waves.rsc +1 -1
- package/.next/server/app/waves.segments/_full.segment.rsc +1 -1
- package/.next/server/app/waves.segments/_head.segment.rsc +1 -1
- package/.next/server/app/waves.segments/_index.segment.rsc +1 -1
- package/.next/server/app/waves.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/waves.segments/waves/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/waves.segments/waves.segment.rsc +1 -1
- package/.next/server/app-paths-manifest.json +37 -37
- package/.next/server/chunks/1475.js +1 -1
- package/.next/server/chunks/1914.js +1 -1
- package/.next/server/chunks/2887.js +1 -1
- package/.next/server/chunks/3686.js +1 -1
- package/.next/server/chunks/5189.js +1 -1
- package/.next/server/chunks/5399.js +1 -1
- package/.next/server/chunks/5560.js +2 -2
- package/.next/server/chunks/7570.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/{7208-5af7190dbc0e142b.js → 7208-714230aba8f0df89.js} +1 -1
- package/.next/static/chunks/webpack-f1c3062d7039f0c7.js +1 -0
- package/.next/trace +118 -118
- package/.next/trace-build +1 -1
- package/README.md +1 -1
- package/mcp-servers/bash/package.json +1 -1
- package/mcp-servers/browser/package.json +1 -1
- package/mcp-servers/filesystem/package.json +1 -1
- package/mcp-servers/flujo/package.json +1 -1
- package/package.json +5 -5
- package/.next/static/chunks/webpack-489c70bebf5a4745.js +0 -1
- /package/.next/static/{PEARC3s6DHN81nwlN8qpZ → 21CjEbc0FIa9X6No7R5M-}/_buildManifest.js +0 -0
- /package/.next/static/{PEARC3s6DHN81nwlN8qpZ → 21CjEbc0FIa9X6No7R5M-}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=7570,exports.ids=[5189,7570],exports.modules={15837:(a,b,c)=>{c.d(b,{sA:()=>l});var d=c(73024),e=c(76760),f=c.n(e),g=c(77598);function h(a,b,c=!1){let d=f().relative(f().resolve(a),f().resolve(b));return""===d?c:!d.startsWith("..")&&!f().isAbsolute(d)}async function i(a){try{return await d.promises.lstat(a)}catch(a){if("ENOENT"===a.code)return null;throw a}}function j(a,b){if(!a||a.isSymbolicLink()||!a.isDirectory())throw Error(`${b} must be a real directory, not a symbolic link or junction.`)}async function k(a,b,c){let e=f().resolve(a),g=f().resolve(b);if(j(await i(e),"Workspace restore boundary"),!h(e,g,!0))throw Error(`Restore directory escapes workspace boundary: ${g}`);let k=f().relative(e,g),l=e;for(let a of k?k.split(f().sep):[]){l=f().join(l,a);let b=await i(l);if(!b&&c){try{await d.promises.mkdir(l)}catch(a){if("EEXIST"!==a.code)throw a}b=await i(l)}j(b,`Restore path component ${l}`)}if(!h(await d.promises.realpath(e),await d.promises.realpath(g),!0))throw Error(`Restore directory resolves outside workspace boundary: ${g}`)}async function l(a,b,c,e={}){let h=f().dirname(b);await k(a,h,!0);let j=await i(b);if(j?.isSymbolicLink())throw Error(`Refusing to replace symbolic link or junction: ${b}`);if(j&&!j.isFile())throw Error(`Refusing to replace non-file restore target: ${b}`);let m=f().join(h,`.flujo-restore-${(0,g.randomUUID)()}.tmp`),n=!1;try{let f=384|(e.mode??0)&64,g=await d.promises.open(m,d.constants.O_WRONLY|d.constants.O_CREAT|d.constants.O_EXCL,f);n=!0;try{await g.writeFile(c),await g.sync()}finally{await g.close()}await k(a,h,!1);let j=await i(b);if(j?.isSymbolicLink()||j&&!j.isFile())throw Error(`Restore target became unsafe: ${b}`);await d.promises.rename(m,b),n=!1}finally{n&&await d.promises.unlink(m).catch(()=>void 0)}}},16154:(a,b,c)=>{c.d(b,{eK:()=>p,m7:()=>o});var d=c(77598),e=c(73024),f=c(48161),g=c.n(f),h=c(76760),i=c.n(h),j=c(69880);c(28461);let k="flujo-auth-source.json";async function l(a){let b,c=i().join(a,"config.toml"),d=!1;try{let a=await e.promises.lstat(c);d=!0;let f=a.isSymbolicLink()?await e.promises.stat(c):a;if(!f.isFile()||f.size>1048576)throw Error();let g=await e.promises.readFile(c),h=await e.promises.stat(c);if(g.length>1048576||g.length!==f.size||f.ino!==h.ino||f.size!==h.size||f.mtimeMs!==h.mtimeMs)throw Error();b=(0,j.qg)(new TextDecoder("utf-8",{fatal:!0}).decode(g))}catch(a){if(!d&&"ENOENT"===a.code)return;throw Error("Could not verify the host Codex credential store. Repair or make its config.toml readable before using its login in FLUJO.")}let f=b.cli_auth_credentials_store;if(void 0!==f&&"file"!==f)throw Error('FLUJO requires file-backed Codex authentication. Configure cli_auth_credentials_store = "file" and sign in again; keyring and auto storage cannot identify the active login from auth.json.')}async function m(a){try{let b=JSON.parse(await e.promises.readFile(i().join(a,k),"utf8"));if(b?.version!==1||!["host","workspace"].includes(b.source))throw Error("Invalid FLUJO Codex authentication source.");return b}catch(a){if("ENOENT"===a.code)return;throw Error("Could not read FLUJO Codex authentication source.")}}async function n(a,b){let c=`${a}.${(0,d.randomUUID)()}.tmp`;try{await e.promises.writeFile(c,b,{mode:384,flag:"wx"}),await e.promises.rename(c,a),await e.promises.chmod(a,384)}finally{await e.promises.rm(c,{force:!0})}}async function o(a){let b,c=await m(a),f=i().join(a,"auth.json");if(c?.source==="workspace")return void await e.promises.access(f).catch(()=>{throw Error("The worker Codex login is missing. Sign in using its CODEX_HOME.")});let h=process.env.CODEX_HOME?.trim()||i().join(g().homedir(),".codex");await l(h);let j=i().join(h,"auth.json");if(i().resolve(j)===i().resolve(f))return;try{b=await e.promises.readFile(j)}catch(b){if("ENOENT"!==b.code)throw Error("Could not read the host Codex login.");await e.promises.rm(f,{force:!0}),await e.promises.rm(i().join(a,k),{force:!0});return}let o=(0,d.createHash)("sha256").update(b).digest("hex"),p=await e.promises.access(f).then(()=>!0,()=>!1);c?.sourceHash===o&&p||(await n(f,b),await n(i().join(a,k),JSON.stringify({version:1,source:"host",sourceHash:o})))}function p(a){try{let b=JSON.parse(a.toString("utf8"));return(!b.auth_mode||"chatgpt"===b.auth_mode)&&!b.OPENAI_API_KEY&&"string"==typeof b.tokens?.access_token&&b.tokens.access_token.length>0&&"string"==typeof b.tokens?.refresh_token&&b.tokens.refresh_token.length>0}catch{return!1}}},87020:(a,b,c)=>{c.d(b,{YM:()=>i,bA:()=>h,c$:()=>j,eu:()=>k});var d=c(82964),e=c(28461);let f=(0,d.h)("utils/encryption/session");function g(){return global.__flujo_server_deks_by_workspace??(global.__flujo_server_deks_by_workspace=new Map)}function h(a){let b=(0,e.getCurrentWorkspace)(),c=function(a=(0,e.getCurrentWorkspace)()){if(a===e.DEFAULT_WORKSPACE)return global.__flujo_encryption_sessions??(global.__flujo_encryption_sessions=new Map);let b=global.__flujo_encryption_sessions_by_workspace??(global.__flujo_encryption_sessions_by_workspace=new Map),c=b.get(a);return c||(c=new Map,b.set(a,c)),c}(b),d=c.get(a);if(!d||(d.workspace??e.DEFAULT_WORKSPACE)!==b)return f.warn(`Session not found: ${a}`),null;let g=Date.now();return g-d.createdAt>72e5?(f.warn(`Session expired: ${a}`),c.delete(a),null):(d.lastUsed=g,d.dek)}function i(a){let b=(0,e.getCurrentWorkspace)();b===e.DEFAULT_WORKSPACE?global.__flujo_server_dek=a:g().set(b,a),f.info("Server encryption unlocked",{workspace:b})}function j(){return!k()}function k(){let a=(0,e.getCurrentWorkspace)();return a===e.DEFAULT_WORKSPACE?global.__flujo_server_dek??null:g().get(a)??null}},87570:(a,b,c)=>{c.r(b),c.d(b,{restoreConfiguredWorkerSnapshot:()=>E,unlockWorkerSnapshot:()=>C,verifyWorkerCodexAuth:()=>A});var d=c(73024),e=c(77598),f=c(76760),g=c.n(f),h=c(48631),i=c.n(h),j=c(30314),k=c(87020),l=c(28461),m=c(16154),n=c(15837),o=c(21242),p=c(92103);let q="snapshot-manifest.json",r=".flujo-worker-snapshot.json",s=/^[a-f0-9]{64}$/;function t(a,b){let c=Number(process.env[a]);return Number.isSafeInteger(c)&&c>0?c:b}function u(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}function v(a,b){try{return JSON.parse(a)}catch{throw Error(b)}}function w(a,b=!1){let c=b?a.replace(/\/$/,""):a,d=c.split("/");if(!c||c.includes("\\")||c.includes("\0")||d.some(a=>!a||"."===a||".."===a||a.includes(":")||/[. ]$/.test(a)||/^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\.|$)/i.test(a)))throw Error("Snapshot contains an unsafe archive path.");if(c!==q&&".workspace.json"!==c&&!l.WORKSPACE_SUBTREES.includes(d[0]))throw Error("Snapshot contains a file outside the supported workspace roots.");if(b&&(c===q||".workspace.json"===c))throw Error("Snapshot metadata must be a file.");if(!b&&l.WORKSPACE_SUBTREES.includes(c))throw Error("Snapshot workspace roots must be directories.");return c}async function x(a,b=!1){b&&await d.promises.mkdir(a,{recursive:!0,mode:448});let c=await d.promises.lstat(a);if(!c.isDirectory()||c.isSymbolicLink())throw Error("Worker restore destination must be a plain directory.")}async function y(a){try{return await d.promises.lstat(a)}catch(a){if("ENOENT"===a.code)return null;throw a}}async function z(a){await x(a);let b=await d.promises.readdir(a,{withFileTypes:!0});for(let c of b)if(!l.WORKSPACE_SUBTREES.includes(c.name)||!c.isDirectory()||c.isSymbolicLink()||0!==(await d.promises.readdir(g().join(a,c.name))).length)throw Error("Worker snapshot restore refuses to overwrite an existing workspace.");for(let c of b)await d.promises.rmdir(g().join(a,c.name));await d.promises.rmdir(a)}async function A(a,b=(0,l.getWorkspaceDir)(a.workspace)){if("chatgpt"!==a.codexAuth)return;let c=g().join(b,"db","codex-runtime");for(let a of["auth.json","flujo-auth-source.json"]){let b=await d.promises.lstat(g().join(c,a));if(!b.isFile()||b.isSymbolicLink()||b.nlink>1||b.size>1048576)throw Error("Worker Codex authentication is not a valid workspace credential file.")}let e=await d.promises.readFile(g().join(c,"auth.json")),f=v(await d.promises.readFile(g().join(c,"flujo-auth-source.json"),"utf8"),"Worker Codex authentication marker is invalid.");if(!(0,m.eK)(e)||!u(f)||1!==f.version||"workspace"!==f.source)throw Error("Worker Codex ChatGPT authentication is missing or invalid.")}async function B(a,b=(0,l.getWorkspaceDir)(a.workspace)){if("user"!==a.encryption)return null;let c=g().join(b,"db","worker-bootstrap-secrets.json"),e=await d.promises.lstat(c);if(!e.isFile()||e.isSymbolicLink()||e.nlink>1||e.size>4096)throw Error("Worker workspace encryption requires valid bootstrap credentials.");if("win32"!==process.platform&&(63&e.mode)!=0)throw Error("Worker workspace encryption credentials must be owner-only.");let f=v(await d.promises.readFile(c,"utf8"),"Worker workspace encryption bootstrap credentials are invalid.");if(!u(f)||1!==f.version||"string"!=typeof f.workspaceDek||!/^[a-f0-9]{16}$/.test(f.workspaceDek))throw Error("Worker workspace encryption bootstrap credentials are invalid.");return f.workspaceDek}async function C(a){if((0,l.getCurrentWorkspace)()!==a.workspace)throw Error("Worker encryption unlock workspace mismatch.");let b=await B(a);b&&(0,k.YM)(b)}async function D(a,b){let c;(0,p.Vv)({state:"restoring",archiveSha256:b,error:void 0});let f=t("FLUJO_SNAPSHOT_MAX_FILE_BYTES",0x10000000),h=t("FLUJO_SNAPSHOT_MAX_BYTES",0x40000000),k=!!process.env.FLUJO_WORKER_SNAPSHOT_KEY,m=h+8388608,C=k?Math.ceil(4*m/3)+4096:m,D=await d.promises.lstat(a);if(!D.isFile()||D.isSymbolicLink()||D.size>C)throw Error("Worker snapshot must be an ordinary ZIP file within the size limit.");let E=await d.promises.open(a,d.constants.O_RDONLY|(d.constants.O_NOFOLLOW||0));try{let a=await E.stat();if(!a.isFile()||a.dev!==D.dev||a.ino!==D.ino||a.size!==D.size)throw Error("Worker snapshot changed while it was opened.");c=await E.readFile()}finally{await E.close()}if(c.length>C)throw Error("Worker snapshot exceeds the size limit.");if(k&&(c=function(a,b){try{let c=JSON.parse(a.toString("utf8"));if(!u(c)||"flujo-workspace-encrypted"!==c.format||1!==c.version)throw Error();let d=a=>{if("string"!=typeof a||!/^[A-Za-z0-9+/]*={0,2}$/.test(a))throw Error();let b=Buffer.from(a,"base64");if(b.toString("base64")!==a)throw Error();return b},f=d(process.env.FLUJO_WORKER_SNAPSHOT_KEY),g=d(c.iv),h=d(c.tag),i=d(c.data);if(32!==f.length||12!==g.length||16!==h.length||i.length>b)throw Error();let j=(0,e.createDecipheriv)("aes-256-gcm",f,g);return j.setAuthTag(h),Buffer.concat([j.update(i),j.final()])}catch{throw Error("Worker snapshot decryption failed. Check the encrypted archive and its key.")}}(c,m)),(0,e.createHash)("sha256").update(c).digest("hex")!==b)throw Error("Worker snapshot SHA-256 mismatch.");let F=function(a,b,c){let d=-1;for(let b=a.length-22;b>=Math.max(0,a.length-65557);b--)if(0x6054b50===a.readUInt32LE(b)&&b+22+a.readUInt16LE(b+20)===a.length){d=b;break}if(d<0)throw Error("Invalid snapshot ZIP directory.");let e=a.readUInt16LE(d+10),f=a.readUInt32LE(d+12),g=a.readUInt32LE(d+16);if(0!==a.readUInt16LE(d+4)||0!==a.readUInt16LE(d+6)||a.readUInt16LE(d+8)!==e||65535===e||e>1e5||g+f!==d)throw Error("Unsupported snapshot ZIP structure.");let h=new Map,i=[],j=0;for(let f=0;f<e;f++){if(g+46>d||0x2014b50!==a.readUInt32LE(g))throw Error("Invalid snapshot ZIP member.");let e=a.readUInt16LE(g+8),f=a.readUInt16LE(g+10),k=a.readUInt32LE(g+24),l=a.readUInt16LE(g+28),m=a.readUInt16LE(g+30),n=a.readUInt16LE(g+32),o=g+46+l+m+n;if((1&e)!=0||![0,8].includes(f)||o>d||0xffffffff===a.readUInt32LE(g+20)||0xffffffff===k)throw Error("Unsupported snapshot ZIP member encoding.");let p=new TextDecoder("utf-8",{fatal:!0}).decode(a.subarray(g+46,g+46+l)),r=p.endsWith("/"),s=w(p,r).normalize("NFC").toLowerCase();if(h.has(s))throw Error("Snapshot contains duplicate or case-aliased archive paths.");h.set(s,r);let t=a.readUInt32LE(g+38)>>>16,u=61440&t;if(0!==u&&u!==(r?16384:32768))throw Error("Snapshot links and special files are unsupported.");if(k>(p===q?8388608:b)||r&&0!==k)throw Error("Snapshot file exceeds the restore size limit.");if((j+=k)>c+8388608)throw Error("Snapshot exceeds the restore size limit.");i.push({name:p,directory:r,size:k,mode:t}),g=o}if(g!==d)throw Error("Invalid snapshot ZIP directory length.");for(let{name:a,directory:b}of i){let c=w(a,b).split("/");for(let a=1;a<c.length;a++)if(!1===h.get(c.slice(0,a).join("/").normalize("NFC").toLowerCase()))throw Error("Snapshot contains a file/directory path conflict.")}return i}(c,f,h),G=await i().loadAsync(c),H=G.file(q);if(!H)throw Error("Worker snapshot manifest is missing.");let I=function(a){if(!u(a)||2!==a.formatVersion||a.layoutVersion!==o.q||!1!==a.externalRootsIncluded||!u(a.source)||"3.45.1"!==a.source.version||"string"!=typeof a.source.platform||!u(a.runtime)||!u(a.runtime.mcpTransfer)||1!==a.runtime.mcpTransfer.formatVersion||"string"!=typeof a.runtime.mcpTransfer.sourceWorkspaceRoot||!Array.isArray(a.runtime.mcpTransfer.servers)||!["chatgpt","none"].includes(a.runtime.codexAuth)||!["default","user"].includes(a.runtime.encryption)||!Array.isArray(a.files)||!Array.isArray(a.subtrees)||a.subtrees.length!==l.WORKSPACE_SUBTREES.length||l.WORKSPACE_SUBTREES.some(b=>!a.subtrees.includes(b)))throw Error("Snapshot format, FLUJO version, layout, or portable runtime metadata is incompatible.");return(0,l.assertValidWorkspaceName)(a.workspace),a}(v(await H.async("string"),"Worker snapshot manifest is invalid JSON.")),J={workspace:I.workspace,archiveSha256:b,mcpTransfer:I.runtime.mcpTransfer,codexAuth:I.runtime.codexAuth,encryption:I.runtime.encryption};(0,p.Vv)({workspace:J.workspace});let K=new Map,L=0;for(let a of I.files){if(!u(a)||"string"!=typeof a.path||a.path===q||!Number.isSafeInteger(a.size)||a.size<0||a.size>f||"string"!=typeof a.sha256||!s.test(a.sha256))throw Error("Invalid snapshot manifest member.");if(w(a.path),K.has(a.path))throw Error("Snapshot manifest has duplicate members.");if((L+=a.size)>h)throw Error("Snapshot manifest exceeds the restore size limit.");K.set(a.path,a)}let M=[];for(let a of F){if(a.directory||a.name===q)continue;let b=K.get(a.name);if(!b||b.size!==a.size)throw Error("Snapshot archive does not match its manifest.");let c=await G.file(a.name).async("nodebuffer");if(c.length!==b.size||(0,e.createHash)("sha256").update(c).digest("hex")!==b.sha256)throw Error("Snapshot member integrity check failed.");K.delete(a.name),M.push({name:a.name,content:c,mode:73&a.mode?448:384})}if(K.size)throw Error("Snapshot archive is missing a manifest member.");await x((0,j.ok)(),!0),await x((0,l.getWorkspacesDir)(),!0);let N=(0,l.getWorkspaceDir)(J.workspace);if((await d.promises.readdir((0,l.getWorkspacesDir)())).filter(a=>a.toLowerCase()===J.workspace.toLowerCase()).some(a=>a!==J.workspace))throw Error("Worker workspace has a case-alias conflict.");let O=await y(N);if(O){await x(N);let a=g().join(N,r);if(await y(a)){let c=await d.promises.lstat(a);if(!c.isFile()||c.isSymbolicLink()||c.nlink>1||c.size>4096)throw Error("Invalid worker restore marker.");let e=v(await d.promises.readFile(a,"utf8"),"Worker restore marker is invalid.");if(!u(e)||1!==e.formatVersion||e.archiveSha256!==b||e.workspace!==J.workspace)throw Error("Worker snapshot does not match the existing workspace.");return await A(J),await B(J),J}}let P=await d.promises.mkdtemp(g().join((0,l.getWorkspacesDir)(),".worker-restore-")),Q=!1;try{for(let a of(await d.promises.chmod(P,448),l.WORKSPACE_SUBTREES))await d.promises.mkdir(g().join(P,a),{mode:448});for(let a of F.filter(a=>a.directory))await d.promises.mkdir(g().join(P,...w(a.name,!0).split("/")),{recursive:!0,mode:448});for(let a of M){let b=".workspace.json"===a.name?Buffer.from('{"roots":[]}\n'):a.content;await (0,n.sA)(P,g().join(P,...a.name.split("/")),b,{mode:a.mode})}if(await A(J,P),await B(J,P),await (0,n.sA)(P,g().join(P,r),Buffer.from(JSON.stringify({formatVersion:1,workspace:J.workspace,archiveSha256:b}))),O)await z(N);else if(await y(N))throw Error("Worker restore destination was created concurrently.");return await d.promises.rename(P,N),Q=!0,await A(J),J}finally{Q||await d.promises.rm(P,{recursive:!0,force:!0})}}function E(){if(!(0,p.ye)())return Promise.resolve(null);let a=process.env.FLUJO_WORKER_SNAPSHOT?.trim(),b=process.env.FLUJO_WORKER_SNAPSHOT_SHA256?.trim().toLowerCase();if(!a||!b||!s.test(b)||!g().isAbsolute(a)){let a="Worker mode requires an absolute FLUJO_WORKER_SNAPSHOT path and FLUJO_WORKER_SNAPSHOT_SHA256.";return(0,p.Vv)({state:"error",error:a}),Promise.reject(Error(a))}let c=(0,e.createHash)("sha256").update(process.env.FLUJO_WORKER_SNAPSHOT_KEY??"").digest("hex"),d=`${(0,l.getWorkspacesDir)()}\0${a}\0${b}\0${c}`;if(global.__flujo_worker_snapshot_restore?.key===d)return global.__flujo_worker_snapshot_restore.promise;let f=D(a,b).catch(a=>{throw(0,p.Vv)({state:"error",error:a instanceof Error?a.message:"Worker restore failed."}),global.__flujo_worker_snapshot_restore?.promise===f&&(global.__flujo_worker_snapshot_restore=void 0),a});return global.__flujo_worker_snapshot_restore={key:d,promise:f},f}}};
|
|
1
|
+
"use strict";exports.id=7570,exports.ids=[5189,7570],exports.modules={15837:(a,b,c)=>{c.d(b,{sA:()=>l});var d=c(73024),e=c(76760),f=c.n(e),g=c(77598);function h(a,b,c=!1){let d=f().relative(f().resolve(a),f().resolve(b));return""===d?c:!d.startsWith("..")&&!f().isAbsolute(d)}async function i(a){try{return await d.promises.lstat(a)}catch(a){if("ENOENT"===a.code)return null;throw a}}function j(a,b){if(!a||a.isSymbolicLink()||!a.isDirectory())throw Error(`${b} must be a real directory, not a symbolic link or junction.`)}async function k(a,b,c){let e=f().resolve(a),g=f().resolve(b);if(j(await i(e),"Workspace restore boundary"),!h(e,g,!0))throw Error(`Restore directory escapes workspace boundary: ${g}`);let k=f().relative(e,g),l=e;for(let a of k?k.split(f().sep):[]){l=f().join(l,a);let b=await i(l);if(!b&&c){try{await d.promises.mkdir(l)}catch(a){if("EEXIST"!==a.code)throw a}b=await i(l)}j(b,`Restore path component ${l}`)}if(!h(await d.promises.realpath(e),await d.promises.realpath(g),!0))throw Error(`Restore directory resolves outside workspace boundary: ${g}`)}async function l(a,b,c,e={}){let h=f().dirname(b);await k(a,h,!0);let j=await i(b);if(j?.isSymbolicLink())throw Error(`Refusing to replace symbolic link or junction: ${b}`);if(j&&!j.isFile())throw Error(`Refusing to replace non-file restore target: ${b}`);let m=f().join(h,`.flujo-restore-${(0,g.randomUUID)()}.tmp`),n=!1;try{let f=384|(e.mode??0)&64,g=await d.promises.open(m,d.constants.O_WRONLY|d.constants.O_CREAT|d.constants.O_EXCL,f);n=!0;try{await g.writeFile(c),await g.sync()}finally{await g.close()}await k(a,h,!1);let j=await i(b);if(j?.isSymbolicLink()||j&&!j.isFile())throw Error(`Restore target became unsafe: ${b}`);await d.promises.rename(m,b),n=!1}finally{n&&await d.promises.unlink(m).catch(()=>void 0)}}},16154:(a,b,c)=>{c.d(b,{eK:()=>p,m7:()=>o});var d=c(77598),e=c(73024),f=c(48161),g=c.n(f),h=c(76760),i=c.n(h),j=c(69880);c(28461);let k="flujo-auth-source.json";async function l(a){let b,c=i().join(a,"config.toml"),d=!1;try{let a=await e.promises.lstat(c);d=!0;let f=a.isSymbolicLink()?await e.promises.stat(c):a;if(!f.isFile()||f.size>1048576)throw Error();let g=await e.promises.readFile(c),h=await e.promises.stat(c);if(g.length>1048576||g.length!==f.size||f.ino!==h.ino||f.size!==h.size||f.mtimeMs!==h.mtimeMs)throw Error();b=(0,j.qg)(new TextDecoder("utf-8",{fatal:!0}).decode(g))}catch(a){if(!d&&"ENOENT"===a.code)return;throw Error("Could not verify the host Codex credential store. Repair or make its config.toml readable before using its login in FLUJO.")}let f=b.cli_auth_credentials_store;if(void 0!==f&&"file"!==f)throw Error('FLUJO requires file-backed Codex authentication. Configure cli_auth_credentials_store = "file" and sign in again; keyring and auto storage cannot identify the active login from auth.json.')}async function m(a){try{let b=JSON.parse(await e.promises.readFile(i().join(a,k),"utf8"));if(b?.version!==1||!["host","workspace"].includes(b.source))throw Error("Invalid FLUJO Codex authentication source.");return b}catch(a){if("ENOENT"===a.code)return;throw Error("Could not read FLUJO Codex authentication source.")}}async function n(a,b){let c=`${a}.${(0,d.randomUUID)()}.tmp`;try{await e.promises.writeFile(c,b,{mode:384,flag:"wx"}),await e.promises.rename(c,a),await e.promises.chmod(a,384)}finally{await e.promises.rm(c,{force:!0})}}async function o(a){let b,c=await m(a),f=i().join(a,"auth.json");if(c?.source==="workspace")return void await e.promises.access(f).catch(()=>{throw Error("The worker Codex login is missing. Sign in using its CODEX_HOME.")});let h=process.env.CODEX_HOME?.trim()||i().join(g().homedir(),".codex");await l(h);let j=i().join(h,"auth.json");if(i().resolve(j)===i().resolve(f))return;try{b=await e.promises.readFile(j)}catch(b){if("ENOENT"!==b.code)throw Error("Could not read the host Codex login.");await e.promises.rm(f,{force:!0}),await e.promises.rm(i().join(a,k),{force:!0});return}let o=(0,d.createHash)("sha256").update(b).digest("hex"),p=await e.promises.access(f).then(()=>!0,()=>!1);c?.sourceHash===o&&p||(await n(f,b),await n(i().join(a,k),JSON.stringify({version:1,source:"host",sourceHash:o})))}function p(a){try{let b=JSON.parse(a.toString("utf8"));return(!b.auth_mode||"chatgpt"===b.auth_mode)&&!b.OPENAI_API_KEY&&"string"==typeof b.tokens?.access_token&&b.tokens.access_token.length>0&&"string"==typeof b.tokens?.refresh_token&&b.tokens.refresh_token.length>0}catch{return!1}}},87020:(a,b,c)=>{c.d(b,{YM:()=>i,bA:()=>h,c$:()=>j,eu:()=>k});var d=c(82964),e=c(28461);let f=(0,d.h)("utils/encryption/session");function g(){return global.__flujo_server_deks_by_workspace??(global.__flujo_server_deks_by_workspace=new Map)}function h(a){let b=(0,e.getCurrentWorkspace)(),c=function(a=(0,e.getCurrentWorkspace)()){if(a===e.DEFAULT_WORKSPACE)return global.__flujo_encryption_sessions??(global.__flujo_encryption_sessions=new Map);let b=global.__flujo_encryption_sessions_by_workspace??(global.__flujo_encryption_sessions_by_workspace=new Map),c=b.get(a);return c||(c=new Map,b.set(a,c)),c}(b),d=c.get(a);if(!d||(d.workspace??e.DEFAULT_WORKSPACE)!==b)return f.warn(`Session not found: ${a}`),null;let g=Date.now();return g-d.createdAt>72e5?(f.warn(`Session expired: ${a}`),c.delete(a),null):(d.lastUsed=g,d.dek)}function i(a){let b=(0,e.getCurrentWorkspace)();b===e.DEFAULT_WORKSPACE?global.__flujo_server_dek=a:g().set(b,a),f.info("Server encryption unlocked",{workspace:b})}function j(){return!k()}function k(){let a=(0,e.getCurrentWorkspace)();return a===e.DEFAULT_WORKSPACE?global.__flujo_server_dek??null:g().get(a)??null}},87570:(a,b,c)=>{c.r(b),c.d(b,{restoreConfiguredWorkerSnapshot:()=>E,unlockWorkerSnapshot:()=>C,verifyWorkerCodexAuth:()=>A});var d=c(73024),e=c(77598),f=c(76760),g=c.n(f),h=c(48631),i=c.n(h),j=c(30314),k=c(87020),l=c(28461),m=c(16154),n=c(15837),o=c(21242),p=c(92103);let q="snapshot-manifest.json",r=".flujo-worker-snapshot.json",s=/^[a-f0-9]{64}$/;function t(a,b){let c=Number(process.env[a]);return Number.isSafeInteger(c)&&c>0?c:b}function u(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}function v(a,b){try{return JSON.parse(a)}catch{throw Error(b)}}function w(a,b=!1){let c=b?a.replace(/\/$/,""):a,d=c.split("/");if(!c||c.includes("\\")||c.includes("\0")||d.some(a=>!a||"."===a||".."===a||a.includes(":")||/[. ]$/.test(a)||/^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\.|$)/i.test(a)))throw Error("Snapshot contains an unsafe archive path.");if(c!==q&&".workspace.json"!==c&&!l.WORKSPACE_SUBTREES.includes(d[0]))throw Error("Snapshot contains a file outside the supported workspace roots.");if(b&&(c===q||".workspace.json"===c))throw Error("Snapshot metadata must be a file.");if(!b&&l.WORKSPACE_SUBTREES.includes(c))throw Error("Snapshot workspace roots must be directories.");return c}async function x(a,b=!1){b&&await d.promises.mkdir(a,{recursive:!0,mode:448});let c=await d.promises.lstat(a);if(!c.isDirectory()||c.isSymbolicLink())throw Error("Worker restore destination must be a plain directory.")}async function y(a){try{return await d.promises.lstat(a)}catch(a){if("ENOENT"===a.code)return null;throw a}}async function z(a){await x(a);let b=await d.promises.readdir(a,{withFileTypes:!0});for(let c of b)if(!l.WORKSPACE_SUBTREES.includes(c.name)||!c.isDirectory()||c.isSymbolicLink()||0!==(await d.promises.readdir(g().join(a,c.name))).length)throw Error("Worker snapshot restore refuses to overwrite an existing workspace.");for(let c of b)await d.promises.rmdir(g().join(a,c.name));await d.promises.rmdir(a)}async function A(a,b=(0,l.getWorkspaceDir)(a.workspace)){if("chatgpt"!==a.codexAuth)return;let c=g().join(b,"db","codex-runtime");for(let a of["auth.json","flujo-auth-source.json"]){let b=await d.promises.lstat(g().join(c,a));if(!b.isFile()||b.isSymbolicLink()||b.nlink>1||b.size>1048576)throw Error("Worker Codex authentication is not a valid workspace credential file.")}let e=await d.promises.readFile(g().join(c,"auth.json")),f=v(await d.promises.readFile(g().join(c,"flujo-auth-source.json"),"utf8"),"Worker Codex authentication marker is invalid.");if(!(0,m.eK)(e)||!u(f)||1!==f.version||"workspace"!==f.source)throw Error("Worker Codex ChatGPT authentication is missing or invalid.")}async function B(a,b=(0,l.getWorkspaceDir)(a.workspace)){if("user"!==a.encryption)return null;let c=g().join(b,"db","worker-bootstrap-secrets.json"),e=await d.promises.lstat(c);if(!e.isFile()||e.isSymbolicLink()||e.nlink>1||e.size>4096)throw Error("Worker workspace encryption requires valid bootstrap credentials.");if("win32"!==process.platform&&(63&e.mode)!=0)throw Error("Worker workspace encryption credentials must be owner-only.");let f=v(await d.promises.readFile(c,"utf8"),"Worker workspace encryption bootstrap credentials are invalid.");if(!u(f)||1!==f.version||"string"!=typeof f.workspaceDek||!/^[a-f0-9]{16}$/.test(f.workspaceDek))throw Error("Worker workspace encryption bootstrap credentials are invalid.");return f.workspaceDek}async function C(a){if((0,l.getCurrentWorkspace)()!==a.workspace)throw Error("Worker encryption unlock workspace mismatch.");let b=await B(a);b&&(0,k.YM)(b)}async function D(a,b){let c;(0,p.Vv)({state:"restoring",archiveSha256:b,error:void 0});let f=t("FLUJO_SNAPSHOT_MAX_FILE_BYTES",0x10000000),h=t("FLUJO_SNAPSHOT_MAX_BYTES",0x40000000),k=!!process.env.FLUJO_WORKER_SNAPSHOT_KEY,m=h+8388608,C=k?Math.ceil(4*m/3)+4096:m,D=await d.promises.lstat(a);if(!D.isFile()||D.isSymbolicLink()||D.size>C)throw Error("Worker snapshot must be an ordinary ZIP file within the size limit.");let E=await d.promises.open(a,d.constants.O_RDONLY|(d.constants.O_NOFOLLOW||0));try{let a=await E.stat();if(!a.isFile()||a.dev!==D.dev||a.ino!==D.ino||a.size!==D.size)throw Error("Worker snapshot changed while it was opened.");c=await E.readFile()}finally{await E.close()}if(c.length>C)throw Error("Worker snapshot exceeds the size limit.");if(k&&(c=function(a,b){try{let c=JSON.parse(a.toString("utf8"));if(!u(c)||"flujo-workspace-encrypted"!==c.format||1!==c.version)throw Error();let d=a=>{if("string"!=typeof a||!/^[A-Za-z0-9+/]*={0,2}$/.test(a))throw Error();let b=Buffer.from(a,"base64");if(b.toString("base64")!==a)throw Error();return b},f=d(process.env.FLUJO_WORKER_SNAPSHOT_KEY),g=d(c.iv),h=d(c.tag),i=d(c.data);if(32!==f.length||12!==g.length||16!==h.length||i.length>b)throw Error();let j=(0,e.createDecipheriv)("aes-256-gcm",f,g);return j.setAuthTag(h),Buffer.concat([j.update(i),j.final()])}catch{throw Error("Worker snapshot decryption failed. Check the encrypted archive and its key.")}}(c,m)),(0,e.createHash)("sha256").update(c).digest("hex")!==b)throw Error("Worker snapshot SHA-256 mismatch.");let F=function(a,b,c){let d=-1;for(let b=a.length-22;b>=Math.max(0,a.length-65557);b--)if(0x6054b50===a.readUInt32LE(b)&&b+22+a.readUInt16LE(b+20)===a.length){d=b;break}if(d<0)throw Error("Invalid snapshot ZIP directory.");let e=a.readUInt16LE(d+10),f=a.readUInt32LE(d+12),g=a.readUInt32LE(d+16);if(0!==a.readUInt16LE(d+4)||0!==a.readUInt16LE(d+6)||a.readUInt16LE(d+8)!==e||65535===e||e>1e5||g+f!==d)throw Error("Unsupported snapshot ZIP structure.");let h=new Map,i=[],j=0;for(let f=0;f<e;f++){if(g+46>d||0x2014b50!==a.readUInt32LE(g))throw Error("Invalid snapshot ZIP member.");let e=a.readUInt16LE(g+8),f=a.readUInt16LE(g+10),k=a.readUInt32LE(g+24),l=a.readUInt16LE(g+28),m=a.readUInt16LE(g+30),n=a.readUInt16LE(g+32),o=g+46+l+m+n;if((1&e)!=0||![0,8].includes(f)||o>d||0xffffffff===a.readUInt32LE(g+20)||0xffffffff===k)throw Error("Unsupported snapshot ZIP member encoding.");let p=new TextDecoder("utf-8",{fatal:!0}).decode(a.subarray(g+46,g+46+l)),r=p.endsWith("/"),s=w(p,r).normalize("NFC").toLowerCase();if(h.has(s))throw Error("Snapshot contains duplicate or case-aliased archive paths.");h.set(s,r);let t=a.readUInt32LE(g+38)>>>16,u=61440&t;if(0!==u&&u!==(r?16384:32768))throw Error("Snapshot links and special files are unsupported.");if(k>(p===q?8388608:b)||r&&0!==k)throw Error("Snapshot file exceeds the restore size limit.");if((j+=k)>c+8388608)throw Error("Snapshot exceeds the restore size limit.");i.push({name:p,directory:r,size:k,mode:t}),g=o}if(g!==d)throw Error("Invalid snapshot ZIP directory length.");for(let{name:a,directory:b}of i){let c=w(a,b).split("/");for(let a=1;a<c.length;a++)if(!1===h.get(c.slice(0,a).join("/").normalize("NFC").toLowerCase()))throw Error("Snapshot contains a file/directory path conflict.")}return i}(c,f,h),G=await i().loadAsync(c),H=G.file(q);if(!H)throw Error("Worker snapshot manifest is missing.");let I=function(a){if(!u(a)||2!==a.formatVersion||a.layoutVersion!==o.q||!1!==a.externalRootsIncluded||!u(a.source)||"3.45.2"!==a.source.version||"string"!=typeof a.source.platform||!u(a.runtime)||!u(a.runtime.mcpTransfer)||1!==a.runtime.mcpTransfer.formatVersion||"string"!=typeof a.runtime.mcpTransfer.sourceWorkspaceRoot||!Array.isArray(a.runtime.mcpTransfer.servers)||!["chatgpt","none"].includes(a.runtime.codexAuth)||!["default","user"].includes(a.runtime.encryption)||!Array.isArray(a.files)||!Array.isArray(a.subtrees)||a.subtrees.length!==l.WORKSPACE_SUBTREES.length||l.WORKSPACE_SUBTREES.some(b=>!a.subtrees.includes(b)))throw Error("Snapshot format, FLUJO version, layout, or portable runtime metadata is incompatible.");return(0,l.assertValidWorkspaceName)(a.workspace),a}(v(await H.async("string"),"Worker snapshot manifest is invalid JSON.")),J={workspace:I.workspace,archiveSha256:b,mcpTransfer:I.runtime.mcpTransfer,codexAuth:I.runtime.codexAuth,encryption:I.runtime.encryption};(0,p.Vv)({workspace:J.workspace});let K=new Map,L=0;for(let a of I.files){if(!u(a)||"string"!=typeof a.path||a.path===q||!Number.isSafeInteger(a.size)||a.size<0||a.size>f||"string"!=typeof a.sha256||!s.test(a.sha256))throw Error("Invalid snapshot manifest member.");if(w(a.path),K.has(a.path))throw Error("Snapshot manifest has duplicate members.");if((L+=a.size)>h)throw Error("Snapshot manifest exceeds the restore size limit.");K.set(a.path,a)}let M=[];for(let a of F){if(a.directory||a.name===q)continue;let b=K.get(a.name);if(!b||b.size!==a.size)throw Error("Snapshot archive does not match its manifest.");let c=await G.file(a.name).async("nodebuffer");if(c.length!==b.size||(0,e.createHash)("sha256").update(c).digest("hex")!==b.sha256)throw Error("Snapshot member integrity check failed.");K.delete(a.name),M.push({name:a.name,content:c,mode:73&a.mode?448:384})}if(K.size)throw Error("Snapshot archive is missing a manifest member.");await x((0,j.ok)(),!0),await x((0,l.getWorkspacesDir)(),!0);let N=(0,l.getWorkspaceDir)(J.workspace);if((await d.promises.readdir((0,l.getWorkspacesDir)())).filter(a=>a.toLowerCase()===J.workspace.toLowerCase()).some(a=>a!==J.workspace))throw Error("Worker workspace has a case-alias conflict.");let O=await y(N);if(O){await x(N);let a=g().join(N,r);if(await y(a)){let c=await d.promises.lstat(a);if(!c.isFile()||c.isSymbolicLink()||c.nlink>1||c.size>4096)throw Error("Invalid worker restore marker.");let e=v(await d.promises.readFile(a,"utf8"),"Worker restore marker is invalid.");if(!u(e)||1!==e.formatVersion||e.archiveSha256!==b||e.workspace!==J.workspace)throw Error("Worker snapshot does not match the existing workspace.");return await A(J),await B(J),J}}let P=await d.promises.mkdtemp(g().join((0,l.getWorkspacesDir)(),".worker-restore-")),Q=!1;try{for(let a of(await d.promises.chmod(P,448),l.WORKSPACE_SUBTREES))await d.promises.mkdir(g().join(P,a),{mode:448});for(let a of F.filter(a=>a.directory))await d.promises.mkdir(g().join(P,...w(a.name,!0).split("/")),{recursive:!0,mode:448});for(let a of M){let b=".workspace.json"===a.name?Buffer.from('{"roots":[]}\n'):a.content;await (0,n.sA)(P,g().join(P,...a.name.split("/")),b,{mode:a.mode})}if(await A(J,P),await B(J,P),await (0,n.sA)(P,g().join(P,r),Buffer.from(JSON.stringify({formatVersion:1,workspace:J.workspace,archiveSha256:b}))),O)await z(N);else if(await y(N))throw Error("Worker restore destination was created concurrently.");return await d.promises.rename(P,N),Q=!0,await A(J),J}finally{Q||await d.promises.rm(P,{recursive:!0,force:!0})}}function E(){if(!(0,p.ye)())return Promise.resolve(null);let a=process.env.FLUJO_WORKER_SNAPSHOT?.trim(),b=process.env.FLUJO_WORKER_SNAPSHOT_SHA256?.trim().toLowerCase();if(!a||!b||!s.test(b)||!g().isAbsolute(a)){let a="Worker mode requires an absolute FLUJO_WORKER_SNAPSHOT path and FLUJO_WORKER_SNAPSHOT_SHA256.";return(0,p.Vv)({state:"error",error:a}),Promise.reject(Error(a))}let c=(0,e.createHash)("sha256").update(process.env.FLUJO_WORKER_SNAPSHOT_KEY??"").digest("hex"),d=`${(0,l.getWorkspacesDir)()}\0${a}\0${b}\0${c}`;if(global.__flujo_worker_snapshot_restore?.key===d)return global.__flujo_worker_snapshot_restore.promise;let f=D(a,b).catch(a=>{throw(0,p.Vv)({state:"error",error:a instanceof Error?a.message:"Worker restore failed."}),global.__flujo_worker_snapshot_restore?.promise===f&&(global.__flujo_worker_snapshot_restore=void 0),a});return global.__flujo_worker_snapshot_restore={key:d,promise:f},f}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/
|
|
1
|
+
globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/21CjEbc0FIa9X6No7R5M-/_buildManifest.js","static/21CjEbc0FIa9X6No7R5M-/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-f1c3062d7039f0c7.js","static/chunks/4bd1b696-df4c0fb946159b6a.js","static/chunks/3794-3dbd06ff79d82322.js","static/chunks/main-app-e679bf23846f942b.js"],rootMainFilesTree:{},pages:{"/_app":[]}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__REACT_LOADABLE_MANIFEST='{"..\\\\node_modules\\\\@modelcontextprotocol\\\\ext-apps\\\\dist\\\\src\\\\app-bridge.js -> zod/v4":{"id":37904,"files":["static/chunks/7904.48d9f28b247cb77f.js"]},"..\\\\node_modules\\\\next\\\\dist\\\\client\\\\index.js -> ../pages/_app":{"id":41966,"files":["static/chunks/1966.b8f83f7ba376c962.js"]},"..\\\\node_modules\\\\next\\\\dist\\\\client\\\\index.js -> ../pages/_error":{"id":3899,"files":["static/chunks/3899.3f761f7e3a944e8c.js"]},"frontend\\\\components\\\\AmbientWorld\\\\LivingWorldGate.tsx -> ./RiverWorld":{"id":37582,"files":["static/chunks/7582.bec00bea634e0165.js"]},"frontend\\\\components\\\\AppWrapper.tsx -> ../contexts/StorageContext":{"id":80967,"files":[]},"frontend\\\\components\\\\AppWrapper.tsx -> ../contexts/ThemeContext":{"id":94370,"files":[]},"frontend\\\\components\\\\AppWrapper.tsx -> ../contexts/TourContext":{"id":13408,"files":["static/chunks/3408-5e809b8aa2b0e0c8.js","static/chunks/8641.ee1dc4d9a9aabb29.js"]},"frontend\\\\components\\\\AppWrapper.tsx -> ./AskFlujo/AskFlujoDock":{"id":94067,"files":["static/chunks/2457-6aee43c03314b6e6.js","static/chunks/7629-65fd18a22039b979.js","static/chunks/9852-d412d73372303a74.js","static/chunks/8111-55ff10e1dbdcc048.js","static/chunks/8554-7021169fd000047d.js","static/chunks/2636-c979d3932b1ee7aa.js","static/chunks/6939-f6f9b85d84f32f6e.js","static/chunks/1216-bb175dec003d036e.js","static/chunks/1212-0832c0676fb97f2a.js","static/chunks/108-e663525e5af880e0.js","static/chunks/323-b53a75672a87d62d.js","static/chunks/3420-e68648b921dcdeba.js","static/chunks/7570-844d411076417b01.js","static/chunks/9304-1f940d490ea5c972.js","static/chunks/4699-3e48d060799db505.js","static/chunks/1566-bfeb02ebf6b2b3d5.js","static/chunks/2454-df04767ffd7c7e25.js","static/chunks/6843-0415a1c0470ff697.js","static/chunks/4328-0bb08982d0d57706.js","static/chunks/3439-e0ec92656572334f.js","static/chunks/788.9ece7219871f219f.js","static/chunks/7208-
|
|
1
|
+
self.__REACT_LOADABLE_MANIFEST='{"..\\\\node_modules\\\\@modelcontextprotocol\\\\ext-apps\\\\dist\\\\src\\\\app-bridge.js -> zod/v4":{"id":37904,"files":["static/chunks/7904.48d9f28b247cb77f.js"]},"..\\\\node_modules\\\\next\\\\dist\\\\client\\\\index.js -> ../pages/_app":{"id":41966,"files":["static/chunks/1966.b8f83f7ba376c962.js"]},"..\\\\node_modules\\\\next\\\\dist\\\\client\\\\index.js -> ../pages/_error":{"id":3899,"files":["static/chunks/3899.3f761f7e3a944e8c.js"]},"frontend\\\\components\\\\AmbientWorld\\\\LivingWorldGate.tsx -> ./RiverWorld":{"id":37582,"files":["static/chunks/7582.bec00bea634e0165.js"]},"frontend\\\\components\\\\AppWrapper.tsx -> ../contexts/StorageContext":{"id":80967,"files":[]},"frontend\\\\components\\\\AppWrapper.tsx -> ../contexts/ThemeContext":{"id":94370,"files":[]},"frontend\\\\components\\\\AppWrapper.tsx -> ../contexts/TourContext":{"id":13408,"files":["static/chunks/3408-5e809b8aa2b0e0c8.js","static/chunks/8641.ee1dc4d9a9aabb29.js"]},"frontend\\\\components\\\\AppWrapper.tsx -> ./AskFlujo/AskFlujoDock":{"id":94067,"files":["static/chunks/2457-6aee43c03314b6e6.js","static/chunks/7629-65fd18a22039b979.js","static/chunks/9852-d412d73372303a74.js","static/chunks/8111-55ff10e1dbdcc048.js","static/chunks/8554-7021169fd000047d.js","static/chunks/2636-c979d3932b1ee7aa.js","static/chunks/6939-f6f9b85d84f32f6e.js","static/chunks/1216-bb175dec003d036e.js","static/chunks/1212-0832c0676fb97f2a.js","static/chunks/108-e663525e5af880e0.js","static/chunks/323-b53a75672a87d62d.js","static/chunks/3420-e68648b921dcdeba.js","static/chunks/7570-844d411076417b01.js","static/chunks/9304-1f940d490ea5c972.js","static/chunks/4699-3e48d060799db505.js","static/chunks/1566-bfeb02ebf6b2b3d5.js","static/chunks/2454-df04767ffd7c7e25.js","static/chunks/6843-0415a1c0470ff697.js","static/chunks/4328-0bb08982d0d57706.js","static/chunks/3439-e0ec92656572334f.js","static/chunks/788.9ece7219871f219f.js","static/chunks/7208-714230aba8f0df89.js","static/chunks/9580-5b508749442dd5fb.js","static/chunks/8454-9ca0b4d5a8ff2f98.js","static/chunks/1476.20664d662556ed7a.js"]},"frontend\\\\components\\\\AppWrapper.tsx -> ./EncryptionAuthDialog":{"id":37944,"files":["static/chunks/2457-6aee43c03314b6e6.js","static/chunks/7629-65fd18a22039b979.js","static/chunks/9852-d412d73372303a74.js","static/chunks/8111-55ff10e1dbdcc048.js","static/chunks/8554-7021169fd000047d.js","static/chunks/2636-c979d3932b1ee7aa.js","static/chunks/6939-f6f9b85d84f32f6e.js","static/chunks/1216-bb175dec003d036e.js","static/chunks/3420-e68648b921dcdeba.js","static/chunks/7944.4ede50f43b44e2ba.js"]},"frontend\\\\components\\\\AppWrapper.tsx -> ./Navigation":{"id":58830,"files":["static/chunks/2457-6aee43c03314b6e6.js","static/chunks/7629-65fd18a22039b979.js","static/chunks/9852-d412d73372303a74.js","static/chunks/8111-55ff10e1dbdcc048.js","static/chunks/8554-7021169fd000047d.js","static/chunks/2636-c979d3932b1ee7aa.js","static/chunks/6939-f6f9b85d84f32f6e.js","static/chunks/1216-bb175dec003d036e.js","static/chunks/1212-0832c0676fb97f2a.js","static/chunks/108-e663525e5af880e0.js","static/chunks/323-b53a75672a87d62d.js","static/chunks/3420-e68648b921dcdeba.js","static/chunks/9304-1f940d490ea5c972.js","static/chunks/3664-13f69679c0b1eda1.js","static/chunks/8500-f62a38ff68ab7f42.js","static/chunks/357-7381c9d4ce5c1079.js","static/chunks/5830-36b5797693666932.js","static/chunks/5156-5d43f11d5ccd11c9.js","static/chunks/3532.f2ce9f3f2d99bbef.js","static/chunks/3791-3777bdfc37754979.js","static/chunks/8830.c94ca9df9b1a7add.js"]},"frontend\\\\components\\\\AppWrapper.tsx -> ./TelemetryNotice":{"id":12958,"files":["static/chunks/2457-6aee43c03314b6e6.js","static/chunks/7629-65fd18a22039b979.js","static/chunks/9852-d412d73372303a74.js","static/chunks/8111-55ff10e1dbdcc048.js","static/chunks/8554-7021169fd000047d.js","static/chunks/2636-c979d3932b1ee7aa.js","static/chunks/6636-4d4b360c3da79a50.js","static/chunks/3817.356ad7c17c25bad2.js"]},"frontend\\\\components\\\\AppWrapper.tsx -> ./Tour/BigTutorialOverlay":{"id":98646,"files":["static/chunks/2457-6aee43c03314b6e6.js","static/chunks/7629-65fd18a22039b979.js","static/chunks/9852-d412d73372303a74.js","static/chunks/8111-55ff10e1dbdcc048.js","static/chunks/8554-7021169fd000047d.js","static/chunks/2636-c979d3932b1ee7aa.js","static/chunks/6939-f6f9b85d84f32f6e.js","static/chunks/3420-e68648b921dcdeba.js","static/chunks/8562.e19ec9c7ad22244f.js","static/chunks/3408-5e809b8aa2b0e0c8.js","static/chunks/5559.893915be26e9752b.js"]},"frontend\\\\components\\\\AppWrapper.tsx -> ./Tour/TourOverlay":{"id":5452,"files":["static/chunks/2457-6aee43c03314b6e6.js","static/chunks/7629-65fd18a22039b979.js","static/chunks/9852-d412d73372303a74.js","static/chunks/8111-55ff10e1dbdcc048.js","static/chunks/7940.62af51403eebabaf.js","static/chunks/3408-5e809b8aa2b0e0c8.js","static/chunks/9173.8d2a2ba49db5b844.js"]},"frontend\\\\components\\\\AppWrapper.tsx -> ./mcp/GlobalMcpAppsHost":{"id":79615,"files":["static/chunks/2457-6aee43c03314b6e6.js","static/chunks/7629-65fd18a22039b979.js","static/chunks/9852-d412d73372303a74.js","static/chunks/8111-55ff10e1dbdcc048.js","static/chunks/8554-7021169fd000047d.js","static/chunks/2636-c979d3932b1ee7aa.js","static/chunks/108-e663525e5af880e0.js","static/chunks/323-b53a75672a87d62d.js","static/chunks/9304-1f940d490ea5c972.js","static/chunks/1566-bfeb02ebf6b2b3d5.js","static/chunks/6843-0415a1c0470ff697.js","static/chunks/6530.e5f6a1f8dec6b365.js","static/chunks/7208-714230aba8f0df89.js","static/chunks/3999-854bc27a6f9c0fd2.js","static/chunks/2060.1c66e831dbd3b7f4.js"]},"frontend\\\\components\\\\mcp\\\\MCPServerManager\\\\ServerCard.tsx -> @/frontend/utils/oauth":{"id":75353,"files":["static/chunks/5353.7ebbc3e7f7501b1c.js"]},"frontend\\\\components\\\\mcp\\\\MCPServerManager\\\\index.tsx -> @/frontend/utils/oauth":{"id":75353,"files":["static/chunks/5353.7ebbc3e7f7501b1c.js"]}}';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en" class="modern-theme" data-visual-style="modern" style="color-scheme:light"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/3039119d0dca0162.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/14e89bc0b3933096.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-
|
|
1
|
+
<!DOCTYPE html><html lang="en" class="modern-theme" data-visual-style="modern" style="color-scheme:light"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/3039119d0dca0162.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/14e89bc0b3933096.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-f1c3062d7039f0c7.js"/><script src="/_next/static/chunks/4bd1b696-df4c0fb946159b6a.js" async=""></script><script src="/_next/static/chunks/3794-3dbd06ff79d82322.js" async=""></script><script src="/_next/static/chunks/main-app-e679bf23846f942b.js" async=""></script><script src="/_next/static/chunks/1418-f51929a8b8570ebc.js" async=""></script><script src="/_next/static/chunks/9086-532cfae1b7518d44.js" async=""></script><script src="/_next/static/chunks/5212-a971d359522614b8.js" async=""></script><script src="/_next/static/chunks/967-073b8b5446008812.js" async=""></script><script src="/_next/static/chunks/7442-7b498ca5b12935cb.js" async=""></script><script src="/_next/static/chunks/app/layout-5f80d974c7dd4f44.js" async=""></script><meta name="robots" content="noindex"/><meta name="theme-color" content="#F5F7FF" media="(prefers-color-scheme: light)"/><meta name="theme-color" content="#070912" media="(prefers-color-scheme: dark)"/><title>FLUJO — Local AI Operations</title><meta name="description" content="Design, connect, and run private AI systems from one local operations studio."/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="__variable_246ccd __variable_c29908 antialiased"><div hidden=""><!--$--><!--/$--></div><!--$--><div class="app-loading" role="status" aria-live="polite"><div class="app-loading__content"><div class="app-loading__mark" aria-hidden="true"><span>F</span></div><span>Opening your workspace</span></div></div><!--/$--><script src="/_next/static/chunks/webpack-f1c3062d7039f0c7.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[30343,[\"1418\",\"static/chunks/1418-f51929a8b8570ebc.js\",\"9086\",\"static/chunks/9086-532cfae1b7518d44.js\",\"5212\",\"static/chunks/5212-a971d359522614b8.js\",\"967\",\"static/chunks/967-073b8b5446008812.js\",\"7442\",\"static/chunks/7442-7b498ca5b12935cb.js\",\"7177\",\"static/chunks/app/layout-5f80d974c7dd4f44.js\"],\"default\"]\n3:I[57121,[],\"\"]\n4:I[74581,[],\"\"]\n5:I[90484,[],\"OutletBoundary\"]\n6:\"$Sreact.suspense\"\n9:I[90484,[],\"ViewportBoundary\"]\nb:I[90484,[],\"MetadataBoundary\"]\nd:I[27123,[],\"default\",1]\n:HL[\"/_next/static/css/3039119d0dca0162.css\",\"style\"]\n:HL[\"/_next/static/css/14e89bc0b3933096.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/3039119d0dca0162.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/14e89bc0b3933096.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"modern-theme\",\"data-visual-style\":\"modern\",\"style\":{\"colorScheme\":\"light\"},\"suppressHydrationWarning\":true,\"children\":[\"$\",\"body\",null,{\"className\":\"__variable_246ccd __variable_c29908 antialiased\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@7\"}]}]]}],{},null,false,null]},null,false,\"$@8\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L9\",null,{\"children\":\"$La\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lc\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"21CjEbc0FIa9X6No7R5M-\"}\n"])</script><script>self.__next_f.push([1,"e:[]\n8:\"$We\"\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#F5F7FF\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"meta\",\"3\",{\"name\":\"theme-color\",\"content\":\"#070912\",\"media\":\"(prefers-color-scheme: dark)\"}]]\n"])</script><script>self.__next_f.push([1,"7:null\nc:[[\"$\",\"title\",\"0\",{\"children\":\"FLUJO — Local AI Operations\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Design, connect, and run private AI systems from one local operations studio.\"}]]\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-
|
|
1
|
+
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-f1c3062d7039f0c7.js"/><script src="/_next/static/chunks/4bd1b696-df4c0fb946159b6a.js" async=""></script><script src="/_next/static/chunks/3794-3dbd06ff79d82322.js" async=""></script><script src="/_next/static/chunks/main-app-e679bf23846f942b.js" async=""></script><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-f1c3062d7039f0c7.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[57121,[],\"\"]\n3:I[74581,[],\"\"]\n4:I[90484,[],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[90484,[],\"ViewportBoundary\"]\na:I[90484,[],\"MetadataBoundary\"]\nc:I[27123,[],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_global-error\",{\"children\":[\"__PAGE__\",{}]}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"21CjEbc0FIa9X6No7R5M-\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[]\n"])</script></body></html>
|