import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{X0 as t,__t as n,b as r,h_t as i,i_t as a,npt as o,y_t as s}from"./app-initial-BHB6SClA.js";function c(e){return e.stage===`beta`?e.name!==`memories`&&e.name!==`multi_agent`&&e.name!==`plugins`&&e.name!==`plugin`&&e.name!==`remote_control`&&!e.name.startsWith(`realtime_`)&&e.name!==`chronicle`&&e.name!==`workspace_dependencies`:!1}var l=e((()=>{o(),t(),r()}));function u(e){let t=f.safeParse(e);return t.success&&t.data.returnToPreviousHistoryEntry===!0}function d(e){let t=f.safeParse(e);return!t.success||!Object.hasOwn(t.data,`workspaceRoot`)?{hasValue:!1,workspaceRoot:null}:{hasValue:!0,workspaceRoot:t.data.workspaceRoot??null}}var f,p=e((()=>{a(),f=n({returnToPreviousHistoryEntry:i(!0).optional(),workspaceRoot:s().min(1).nullable().optional()}).passthrough()}));export{c as a,l as i,d as n,p as r,u as t};
//# sourceMappingURL=settings-route-state-DB76KYn2.js.map