rekall-accord 1.0.0
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-node/BUILD_ID +1 -0
- package/.next-node/app-path-routes-manifest.json +26 -0
- package/.next-node/build-manifest.json +24 -0
- package/.next-node/package.json +1 -0
- package/.next-node/prerender-manifest.json +333 -0
- package/.next-node/required-server-files.json +358 -0
- package/.next-node/routes-manifest.json +194 -0
- package/.next-node/server/app/_global-error/page/app-paths-manifest.json +3 -0
- package/.next-node/server/app/_global-error/page/build-manifest.json +20 -0
- package/.next-node/server/app/_global-error/page/next-font-manifest.json +6 -0
- package/.next-node/server/app/_global-error/page/react-loadable-manifest.json +1 -0
- package/.next-node/server/app/_global-error/page/server-reference-manifest.json +4 -0
- package/.next-node/server/app/_global-error/page.js +9 -0
- package/.next-node/server/app/_global-error/page.js.map +5 -0
- package/.next-node/server/app/_global-error/page.js.nft.json +1 -0
- package/.next-node/server/app/_global-error/page_client-reference-manifest.js +3 -0
- package/.next-node/server/app/_global-error.html +1 -0
- package/.next-node/server/app/_global-error.meta +22 -0
- package/.next-node/server/app/_global-error.rsc +14 -0
- package/.next-node/server/app/_global-error.segments/__PAGE__.segment.rsc +19 -0
- package/.next-node/server/app/_global-error.segments/_full.segment.rsc +14 -0
- package/.next-node/server/app/_global-error.segments/_tree.segment.rsc +1 -0
- package/.next-node/server/app/_not-found/page/app-paths-manifest.json +3 -0
- package/.next-node/server/app/_not-found/page/build-manifest.json +20 -0
- package/.next-node/server/app/_not-found/page/next-font-manifest.json +6 -0
- package/.next-node/server/app/_not-found/page/react-loadable-manifest.json +1 -0
- package/.next-node/server/app/_not-found/page/server-reference-manifest.json +4 -0
- package/.next-node/server/app/_not-found/page.js +12 -0
- package/.next-node/server/app/_not-found/page.js.map +5 -0
- package/.next-node/server/app/_not-found/page.js.nft.json +1 -0
- package/.next-node/server/app/_not-found/page_client-reference-manifest.js +3 -0
- package/.next-node/server/app/_not-found.html +1 -0
- package/.next-node/server/app/_not-found.meta +27 -0
- package/.next-node/server/app/_not-found.rsc +16 -0
- package/.next-node/server/app/_not-found.segments/_full.segment.rsc +16 -0
- package/.next-node/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +22 -0
- package/.next-node/server/app/_not-found.segments/_tree.segment.rsc +2 -0
- package/.next-node/server/app/about/page/app-paths-manifest.json +3 -0
- package/.next-node/server/app/about/page/build-manifest.json +20 -0
- package/.next-node/server/app/about/page/next-font-manifest.json +6 -0
- package/.next-node/server/app/about/page/react-loadable-manifest.json +1 -0
- package/.next-node/server/app/about/page/server-reference-manifest.json +4 -0
- package/.next-node/server/app/about/page.js +13 -0
- package/.next-node/server/app/about/page.js.map +5 -0
- package/.next-node/server/app/about/page.js.nft.json +1 -0
- package/.next-node/server/app/about/page_client-reference-manifest.js +3 -0
- package/.next-node/server/app/about.html +1 -0
- package/.next-node/server/app/about.meta +26 -0
- package/.next-node/server/app/about.rsc +28 -0
- package/.next-node/server/app/about.segments/_full.segment.rsc +28 -0
- package/.next-node/server/app/about.segments/_tree.segment.rsc +2 -0
- package/.next-node/server/app/about.segments/about/__PAGE__.segment.rsc +33 -0
- package/.next-node/server/app/api/account/route/app-paths-manifest.json +3 -0
- package/.next-node/server/app/api/account/route/build-manifest.json +12 -0
- package/.next-node/server/app/api/account/route/server-reference-manifest.json +4 -0
- package/.next-node/server/app/api/account/route.js +9 -0
- package/.next-node/server/app/api/account/route.js.map +5 -0
- package/.next-node/server/app/api/account/route.js.nft.json +1 -0
- package/.next-node/server/app/api/account/route_client-reference-manifest.js +3 -0
- package/.next-node/server/app/api/agent-token/route/app-paths-manifest.json +3 -0
- package/.next-node/server/app/api/agent-token/route/build-manifest.json +12 -0
- package/.next-node/server/app/api/agent-token/route/server-reference-manifest.json +4 -0
- package/.next-node/server/app/api/agent-token/route.js +7 -0
- package/.next-node/server/app/api/agent-token/route.js.map +5 -0
- package/.next-node/server/app/api/agent-token/route.js.nft.json +1 -0
- package/.next-node/server/app/api/agent-token/route_client-reference-manifest.js +3 -0
- package/.next-node/server/app/api/audit/route/app-paths-manifest.json +3 -0
- package/.next-node/server/app/api/audit/route/build-manifest.json +12 -0
- package/.next-node/server/app/api/audit/route/server-reference-manifest.json +4 -0
- package/.next-node/server/app/api/audit/route.js +7 -0
- package/.next-node/server/app/api/audit/route.js.map +5 -0
- package/.next-node/server/app/api/audit/route.js.nft.json +1 -0
- package/.next-node/server/app/api/audit/route_client-reference-manifest.js +3 -0
- package/.next-node/server/app/api/changes/route/app-paths-manifest.json +3 -0
- package/.next-node/server/app/api/changes/route/build-manifest.json +12 -0
- package/.next-node/server/app/api/changes/route/server-reference-manifest.json +4 -0
- package/.next-node/server/app/api/changes/route.js +7 -0
- package/.next-node/server/app/api/changes/route.js.map +5 -0
- package/.next-node/server/app/api/changes/route.js.nft.json +1 -0
- package/.next-node/server/app/api/changes/route_client-reference-manifest.js +3 -0
- package/.next-node/server/app/api/licence/route/app-paths-manifest.json +3 -0
- package/.next-node/server/app/api/licence/route/build-manifest.json +12 -0
- package/.next-node/server/app/api/licence/route/server-reference-manifest.json +4 -0
- package/.next-node/server/app/api/licence/route.js +7 -0
- package/.next-node/server/app/api/licence/route.js.map +5 -0
- package/.next-node/server/app/api/licence/route.js.nft.json +1 -0
- package/.next-node/server/app/api/licence/route_client-reference-manifest.js +3 -0
- package/.next-node/server/app/api/local/route/app-paths-manifest.json +3 -0
- package/.next-node/server/app/api/local/route/build-manifest.json +12 -0
- package/.next-node/server/app/api/local/route/server-reference-manifest.json +4 -0
- package/.next-node/server/app/api/local/route.js +9 -0
- package/.next-node/server/app/api/local/route.js.map +5 -0
- package/.next-node/server/app/api/local/route.js.nft.json +1 -0
- package/.next-node/server/app/api/local/route_client-reference-manifest.js +3 -0
- package/.next-node/server/app/api/mcp/route/app-paths-manifest.json +3 -0
- package/.next-node/server/app/api/mcp/route/build-manifest.json +12 -0
- package/.next-node/server/app/api/mcp/route/server-reference-manifest.json +4 -0
- package/.next-node/server/app/api/mcp/route.js +9 -0
- package/.next-node/server/app/api/mcp/route.js.map +5 -0
- package/.next-node/server/app/api/mcp/route.js.nft.json +1 -0
- package/.next-node/server/app/api/mcp/route_client-reference-manifest.js +3 -0
- package/.next-node/server/app/api/org/route/app-paths-manifest.json +3 -0
- package/.next-node/server/app/api/org/route/build-manifest.json +12 -0
- package/.next-node/server/app/api/org/route/server-reference-manifest.json +4 -0
- package/.next-node/server/app/api/org/route.js +8 -0
- package/.next-node/server/app/api/org/route.js.map +5 -0
- package/.next-node/server/app/api/org/route.js.nft.json +1 -0
- package/.next-node/server/app/api/org/route_client-reference-manifest.js +3 -0
- package/.next-node/server/app/api/project-logo/route/app-paths-manifest.json +3 -0
- package/.next-node/server/app/api/project-logo/route/build-manifest.json +12 -0
- package/.next-node/server/app/api/project-logo/route/server-reference-manifest.json +4 -0
- package/.next-node/server/app/api/project-logo/route.js +7 -0
- package/.next-node/server/app/api/project-logo/route.js.map +5 -0
- package/.next-node/server/app/api/project-logo/route.js.nft.json +1 -0
- package/.next-node/server/app/api/project-logo/route_client-reference-manifest.js +3 -0
- package/.next-node/server/app/api/runner/route/app-paths-manifest.json +3 -0
- package/.next-node/server/app/api/runner/route/build-manifest.json +12 -0
- package/.next-node/server/app/api/runner/route/server-reference-manifest.json +4 -0
- package/.next-node/server/app/api/runner/route.js +8 -0
- package/.next-node/server/app/api/runner/route.js.map +5 -0
- package/.next-node/server/app/api/runner/route.js.nft.json +1 -0
- package/.next-node/server/app/api/runner/route_client-reference-manifest.js +3 -0
- package/.next-node/server/app/api/runs/route/app-paths-manifest.json +3 -0
- package/.next-node/server/app/api/runs/route/build-manifest.json +12 -0
- package/.next-node/server/app/api/runs/route/server-reference-manifest.json +4 -0
- package/.next-node/server/app/api/runs/route.js +9 -0
- package/.next-node/server/app/api/runs/route.js.map +5 -0
- package/.next-node/server/app/api/runs/route.js.nft.json +1 -0
- package/.next-node/server/app/api/runs/route_client-reference-manifest.js +3 -0
- package/.next-node/server/app/api/share/route/app-paths-manifest.json +3 -0
- package/.next-node/server/app/api/share/route/build-manifest.json +12 -0
- package/.next-node/server/app/api/share/route/server-reference-manifest.json +4 -0
- package/.next-node/server/app/api/share/route.js +7 -0
- package/.next-node/server/app/api/share/route.js.map +5 -0
- package/.next-node/server/app/api/share/route.js.nft.json +1 -0
- package/.next-node/server/app/api/share/route_client-reference-manifest.js +3 -0
- package/.next-node/server/app/api/team/route/app-paths-manifest.json +3 -0
- package/.next-node/server/app/api/team/route/build-manifest.json +12 -0
- package/.next-node/server/app/api/team/route/server-reference-manifest.json +4 -0
- package/.next-node/server/app/api/team/route.js +7 -0
- package/.next-node/server/app/api/team/route.js.map +5 -0
- package/.next-node/server/app/api/team/route.js.nft.json +1 -0
- package/.next-node/server/app/api/team/route_client-reference-manifest.js +3 -0
- package/.next-node/server/app/api/workspace/route/app-paths-manifest.json +3 -0
- package/.next-node/server/app/api/workspace/route/build-manifest.json +12 -0
- package/.next-node/server/app/api/workspace/route/server-reference-manifest.json +4 -0
- package/.next-node/server/app/api/workspace/route.js +9 -0
- package/.next-node/server/app/api/workspace/route.js.map +5 -0
- package/.next-node/server/app/api/workspace/route.js.nft.json +1 -0
- package/.next-node/server/app/api/workspace/route_client-reference-manifest.js +3 -0
- package/.next-node/server/app/guides/[slug]/page/app-paths-manifest.json +3 -0
- package/.next-node/server/app/guides/[slug]/page/build-manifest.json +20 -0
- package/.next-node/server/app/guides/[slug]/page/next-font-manifest.json +6 -0
- package/.next-node/server/app/guides/[slug]/page/react-loadable-manifest.json +1 -0
- package/.next-node/server/app/guides/[slug]/page/server-reference-manifest.json +4 -0
- package/.next-node/server/app/guides/[slug]/page.js +14 -0
- package/.next-node/server/app/guides/[slug]/page.js.map +5 -0
- package/.next-node/server/app/guides/[slug]/page.js.nft.json +1 -0
- package/.next-node/server/app/guides/[slug]/page_client-reference-manifest.js +3 -0
- package/.next-node/server/app/guides/acceptance-criteria-and-qa.html +1 -0
- package/.next-node/server/app/guides/acceptance-criteria-and-qa.meta +31 -0
- package/.next-node/server/app/guides/acceptance-criteria-and-qa.rsc +27 -0
- package/.next-node/server/app/guides/acceptance-criteria-and-qa.segments/_full.segment.rsc +27 -0
- package/.next-node/server/app/guides/acceptance-criteria-and-qa.segments/_tree.segment.rsc +2 -0
- package/.next-node/server/app/guides/acceptance-criteria-and-qa.segments/guides/$d$slug/__PAGE__.segment.rsc +39 -0
- package/.next-node/server/app/guides/ai-development-change-requests.html +1 -0
- package/.next-node/server/app/guides/ai-development-change-requests.meta +31 -0
- package/.next-node/server/app/guides/ai-development-change-requests.rsc +25 -0
- package/.next-node/server/app/guides/ai-development-change-requests.segments/_full.segment.rsc +25 -0
- package/.next-node/server/app/guides/ai-development-change-requests.segments/_tree.segment.rsc +2 -0
- package/.next-node/server/app/guides/ai-development-change-requests.segments/guides/$d$slug/__PAGE__.segment.rsc +37 -0
- package/.next-node/server/app/guides/page/app-paths-manifest.json +3 -0
- package/.next-node/server/app/guides/page/build-manifest.json +20 -0
- package/.next-node/server/app/guides/page/next-font-manifest.json +6 -0
- package/.next-node/server/app/guides/page/react-loadable-manifest.json +1 -0
- package/.next-node/server/app/guides/page/server-reference-manifest.json +4 -0
- package/.next-node/server/app/guides/page.js +13 -0
- package/.next-node/server/app/guides/page.js.map +5 -0
- package/.next-node/server/app/guides/page.js.nft.json +1 -0
- package/.next-node/server/app/guides/page_client-reference-manifest.js +3 -0
- package/.next-node/server/app/guides/software-requirements-template.html +1 -0
- package/.next-node/server/app/guides/software-requirements-template.meta +31 -0
- package/.next-node/server/app/guides/software-requirements-template.rsc +26 -0
- package/.next-node/server/app/guides/software-requirements-template.segments/_full.segment.rsc +26 -0
- package/.next-node/server/app/guides/software-requirements-template.segments/_tree.segment.rsc +2 -0
- package/.next-node/server/app/guides/software-requirements-template.segments/guides/$d$slug/__PAGE__.segment.rsc +38 -0
- package/.next-node/server/app/guides.html +1 -0
- package/.next-node/server/app/guides.meta +26 -0
- package/.next-node/server/app/guides.rsc +23 -0
- package/.next-node/server/app/guides.segments/_full.segment.rsc +23 -0
- package/.next-node/server/app/guides.segments/_tree.segment.rsc +2 -0
- package/.next-node/server/app/guides.segments/guides/__PAGE__.segment.rsc +28 -0
- package/.next-node/server/app/index.html +1 -0
- package/.next-node/server/app/index.meta +21 -0
- package/.next-node/server/app/index.rsc +15 -0
- package/.next-node/server/app/index.segments/__PAGE__.segment.rsc +20 -0
- package/.next-node/server/app/index.segments/_full.segment.rsc +15 -0
- package/.next-node/server/app/index.segments/_tree.segment.rsc +2 -0
- package/.next-node/server/app/page/app-paths-manifest.json +3 -0
- package/.next-node/server/app/page/build-manifest.json +20 -0
- package/.next-node/server/app/page/next-font-manifest.json +6 -0
- package/.next-node/server/app/page/react-loadable-manifest.json +1 -0
- package/.next-node/server/app/page/server-reference-manifest.json +4 -0
- package/.next-node/server/app/page.js +13 -0
- package/.next-node/server/app/page.js.map +5 -0
- package/.next-node/server/app/page.js.nft.json +1 -0
- package/.next-node/server/app/page_client-reference-manifest.js +3 -0
- package/.next-node/server/app/robots.txt/route/app-paths-manifest.json +3 -0
- package/.next-node/server/app/robots.txt/route/build-manifest.json +12 -0
- package/.next-node/server/app/robots.txt/route/server-reference-manifest.json +4 -0
- package/.next-node/server/app/robots.txt/route.js +6 -0
- package/.next-node/server/app/robots.txt/route.js.map +5 -0
- package/.next-node/server/app/robots.txt/route.js.nft.json +1 -0
- package/.next-node/server/app/robots.txt/route_client-reference-manifest.js +3 -0
- package/.next-node/server/app/robots.txt.body +9 -0
- package/.next-node/server/app/robots.txt.meta +1 -0
- package/.next-node/server/app/s/[token]/page/app-paths-manifest.json +3 -0
- package/.next-node/server/app/s/[token]/page/build-manifest.json +20 -0
- package/.next-node/server/app/s/[token]/page/next-font-manifest.json +6 -0
- package/.next-node/server/app/s/[token]/page/react-loadable-manifest.json +1 -0
- package/.next-node/server/app/s/[token]/page/server-reference-manifest.json +4 -0
- package/.next-node/server/app/s/[token]/page.js +15 -0
- package/.next-node/server/app/s/[token]/page.js.map +5 -0
- package/.next-node/server/app/s/[token]/page.js.nft.json +1 -0
- package/.next-node/server/app/s/[token]/page_client-reference-manifest.js +3 -0
- package/.next-node/server/app/sitemap.xml/route/app-paths-manifest.json +3 -0
- package/.next-node/server/app/sitemap.xml/route/build-manifest.json +12 -0
- package/.next-node/server/app/sitemap.xml/route/server-reference-manifest.json +4 -0
- package/.next-node/server/app/sitemap.xml/route.js +6 -0
- package/.next-node/server/app/sitemap.xml/route.js.map +5 -0
- package/.next-node/server/app/sitemap.xml/route.js.nft.json +1 -0
- package/.next-node/server/app/sitemap.xml/route_client-reference-manifest.js +3 -0
- package/.next-node/server/app/sitemap.xml.body +8 -0
- package/.next-node/server/app/sitemap.xml.meta +1 -0
- package/.next-node/server/app/spec/page/app-paths-manifest.json +3 -0
- package/.next-node/server/app/spec/page/build-manifest.json +20 -0
- package/.next-node/server/app/spec/page/next-font-manifest.json +6 -0
- package/.next-node/server/app/spec/page/react-loadable-manifest.json +1 -0
- package/.next-node/server/app/spec/page/server-reference-manifest.json +4 -0
- package/.next-node/server/app/spec/page.js +15 -0
- package/.next-node/server/app/spec/page.js.map +5 -0
- package/.next-node/server/app/spec/page.js.nft.json +1 -0
- package/.next-node/server/app/spec/page_client-reference-manifest.js +3 -0
- package/.next-node/server/app-paths-manifest.json +26 -0
- package/.next-node/server/chunks/[externals]__1xp13sj._.js +3 -0
- package/.next-node/server/chunks/[root-of-the-server]__03c4113._.js +3 -0
- package/.next-node/server/chunks/[root-of-the-server]__0_98crs._.js +3 -0
- package/.next-node/server/chunks/[root-of-the-server]__0g957e5._.js +3 -0
- package/.next-node/server/chunks/[root-of-the-server]__0uymhsf._.js +70 -0
- package/.next-node/server/chunks/[root-of-the-server]__1-pt4sf._.js +3 -0
- package/.next-node/server/chunks/[root-of-the-server]__1161aa9._.js +3 -0
- package/.next-node/server/chunks/[root-of-the-server]__15bjnu5._.js +5 -0
- package/.next-node/server/chunks/[root-of-the-server]__194807o._.js +3 -0
- package/.next-node/server/chunks/[root-of-the-server]__1_g8brf._.js +15 -0
- package/.next-node/server/chunks/[root-of-the-server]__1cj35zq._.js +15 -0
- package/.next-node/server/chunks/[root-of-the-server]__1ecyjj1._.js +3 -0
- package/.next-node/server/chunks/[root-of-the-server]__1o6a8yh._.js +3 -0
- package/.next-node/server/chunks/[root-of-the-server]__1yk21j_._.js +3 -0
- package/.next-node/server/chunks/[turbopack]_runtime.js +939 -0
- package/.next-node/server/chunks/_09w0rob._.js +3 -0
- package/.next-node/server/chunks/_0c2ik63._.js +3 -0
- package/.next-node/server/chunks/_116ijjc._.js +3 -0
- package/.next-node/server/chunks/_1fp04yw._.js +3 -0
- package/.next-node/server/chunks/_1gn7eh7._.js +3 -0
- package/.next-node/server/chunks/_1yd-p3w._.js +3 -0
- package/.next-node/server/chunks/_1yf4csx._.js +219 -0
- package/.next-node/server/chunks/_next-internal_server_app_api_account_route_actions_194w89l.js +3 -0
- package/.next-node/server/chunks/_next-internal_server_app_api_agent-token_route_actions_08cna7_.js +3 -0
- package/.next-node/server/chunks/_next-internal_server_app_api_audit_route_actions_19mknew.js +3 -0
- package/.next-node/server/chunks/_next-internal_server_app_api_changes_route_actions_0csrjtr.js +3 -0
- package/.next-node/server/chunks/_next-internal_server_app_api_licence_route_actions_0vpn64k.js +3 -0
- package/.next-node/server/chunks/_next-internal_server_app_api_local_route_actions_14zijx1.js +3 -0
- package/.next-node/server/chunks/_next-internal_server_app_api_mcp_route_actions_1thtluk.js +3 -0
- package/.next-node/server/chunks/_next-internal_server_app_api_org_route_actions_1t3xlml.js +3 -0
- package/.next-node/server/chunks/_next-internal_server_app_api_project-logo_route_actions_100vr9l.js +3 -0
- package/.next-node/server/chunks/_next-internal_server_app_api_runner_route_actions_1wqlapv.js +3 -0
- package/.next-node/server/chunks/_next-internal_server_app_api_runs_route_actions_0kh91o2.js +3 -0
- package/.next-node/server/chunks/_next-internal_server_app_api_share_route_actions_0tpl991.js +3 -0
- package/.next-node/server/chunks/_next-internal_server_app_api_team_route_actions_0b1uoww.js +3 -0
- package/.next-node/server/chunks/_next-internal_server_app_api_workspace_route_actions_19-xkal.js +3 -0
- package/.next-node/server/chunks/_next-internal_server_app_robots_txt_route_actions_15vc_89.js +3 -0
- package/.next-node/server/chunks/_next-internal_server_app_sitemap_xml_route_actions_05l5km9.js +3 -0
- package/.next-node/server/chunks/lib_accord_run-server_ts_1b1ff99._.js +3 -0
- package/.next-node/server/chunks/runner_1v-wy_w._.js +23 -0
- package/.next-node/server/chunks/runner_check_mjs_0poxsgb._.js +3 -0
- package/.next-node/server/chunks/runner_config_mjs_02q6n0r._.js +3 -0
- package/.next-node/server/chunks/ssr/[root-of-the-server]__0b06nll._.js +3 -0
- package/.next-node/server/chunks/ssr/[root-of-the-server]__0fizn_-._.js +3 -0
- package/.next-node/server/chunks/ssr/[root-of-the-server]__0melyg_._.js +3 -0
- package/.next-node/server/chunks/ssr/[root-of-the-server]__0nyueky._.js +33 -0
- package/.next-node/server/chunks/ssr/[root-of-the-server]__0twe8p9._.js +3 -0
- package/.next-node/server/chunks/ssr/[root-of-the-server]__0ze2_dq._.js +3 -0
- package/.next-node/server/chunks/ssr/[root-of-the-server]__112mz-6._.js +14 -0
- package/.next-node/server/chunks/ssr/[root-of-the-server]__11zr9ex._.js +3 -0
- package/.next-node/server/chunks/ssr/[root-of-the-server]__1io3bae._.js +33 -0
- package/.next-node/server/chunks/ssr/[root-of-the-server]__1oe4hc5._.js +3 -0
- package/.next-node/server/chunks/ssr/[root-of-the-server]__1rasrr9._.js +3 -0
- package/.next-node/server/chunks/ssr/[root-of-the-server]__1ypl2q0._.js +3 -0
- package/.next-node/server/chunks/ssr/[turbopack]_runtime.js +939 -0
- package/.next-node/server/chunks/ssr/_043p6h1._.js +3 -0
- package/.next-node/server/chunks/ssr/_0_b-2rs._.js +3 -0
- package/.next-node/server/chunks/ssr/_1ofgw5a._.js +3 -0
- package/.next-node/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-.js +3 -0
- package/.next-node/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yr.js +3 -0
- package/.next-node/server/chunks/ssr/_next-internal_server_app_about_page_actions_0xvgj07.js +3 -0
- package/.next-node/server/chunks/ssr/_next-internal_server_app_guides_[slug]_page_actions_07fmjsl.js +3 -0
- package/.next-node/server/chunks/ssr/_next-internal_server_app_guides_page_actions_0vqxbaj.js +3 -0
- package/.next-node/server/chunks/ssr/_next-internal_server_app_page_actions_0hhsz1j.js +3 -0
- package/.next-node/server/chunks/ssr/_next-internal_server_app_s_[token]_page_actions_0kpicgu.js +3 -0
- package/.next-node/server/chunks/ssr/_next-internal_server_app_spec_page_actions_0d5m1h5.js +3 -0
- package/.next-node/server/chunks/ssr/app_workspace_tsx_16kkvlv._.js +102 -0
- package/.next-node/server/chunks/ssr/node_modules_01xbj_9._.js +33 -0
- package/.next-node/server/chunks/ssr/node_modules_1nkgb45._.js +23 -0
- package/.next-node/server/chunks/ssr/node_modules_lucide-react_dist_esm_createLucideIcon_mjs_046kvv3._.js +3 -0
- package/.next-node/server/chunks/ssr/node_modules_next_dist_0drixxt._.js +151 -0
- package/.next-node/server/chunks/ssr/node_modules_next_dist_1c5ky4f._.js +3 -0
- package/.next-node/server/chunks/ssr/node_modules_next_dist_1n3w9lb._.js +6 -0
- package/.next-node/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j3._.js +3 -0
- package/.next-node/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9.js +3 -0
- package/.next-node/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0q-w892.js +3 -0
- package/.next-node/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0x.js +3 -0
- package/.next-node/server/functions-config-manifest.json +4 -0
- package/.next-node/server/middleware-build-manifest.js +24 -0
- package/.next-node/server/middleware-manifest.json +6 -0
- package/.next-node/server/next-font-manifest.js +1 -0
- package/.next-node/server/next-font-manifest.json +6 -0
- package/.next-node/server/pages/404.html +1 -0
- package/.next-node/server/pages/500.html +1 -0
- package/.next-node/server/pages-manifest.json +4 -0
- package/.next-node/server/prefetch-hints.json +81 -0
- package/.next-node/server/server-reference-manifest.js +1 -0
- package/.next-node/server/server-reference-manifest.json +5 -0
- package/.next-node/static/O0yz_3m0RU49CRdgEzJko/_buildManifest.js +11 -0
- package/.next-node/static/O0yz_3m0RU49CRdgEzJko/_clientMiddlewareManifest.js +1 -0
- package/.next-node/static/O0yz_3m0RU49CRdgEzJko/_ssgManifest.js +1 -0
- package/.next-node/static/chunks/001803_ikgvy0.js +1 -0
- package/.next-node/static/chunks/0cz1d0mv5g_q7.js +1 -0
- package/.next-node/static/chunks/18jc9s790l5j4.js +1 -0
- package/.next-node/static/chunks/19mx3mg6lkumu.js +1 -0
- package/.next-node/static/chunks/1mh6a-0e61pyc.js +1 -0
- package/.next-node/static/chunks/2-rtuqsgzmno4.js +22 -0
- package/.next-node/static/chunks/21_wi9mjjb4hi.js +1 -0
- package/.next-node/static/chunks/22i43cg4l4-dq.js +1 -0
- package/.next-node/static/chunks/24eykxjjs1eyd.js +100 -0
- package/.next-node/static/chunks/2q_ofqpogy1t8.css +1 -0
- package/.next-node/static/chunks/310vm2bl3xxpt.js +31 -0
- package/.next-node/static/chunks/3fntmmi971322.js +1 -0
- package/.next-node/static/chunks/turbopack-08z-qkls8a53k.js +1 -0
- package/bin/accord.mjs +45 -0
- package/drizzle/0000_mean_nitro.sql +24 -0
- package/drizzle/0001_dry_warlock.sql +19 -0
- package/drizzle/0002_cynical_mikhail_rasputin.sql +9 -0
- package/drizzle/0003_black_thing.sql +1 -0
- package/drizzle/meta/0000_snapshot.json +165 -0
- package/drizzle/meta/0001_snapshot.json +279 -0
- package/drizzle/meta/0002_snapshot.json +332 -0
- package/drizzle/meta/0003_snapshot.json +339 -0
- package/drizzle/meta/_journal.json +34 -0
- package/package.json +30 -0
- package/public/favicon.svg +1 -0
- package/public/file.svg +1 -0
- package/public/globe.svg +1 -0
- package/public/runner/accord-runner.mjs +799 -0
- package/public/window.svg +1 -0
- package/runner/accord-runner.mjs +150 -0
- package/runner/check.mjs +65 -0
- package/runner/config.mjs +35 -0
- package/runner/install.mjs +52 -0
- package/runner/protocol.mjs +50 -0
- package/runner/providers/claude.mjs +47 -0
- package/runner/providers/codex.mjs +27 -0
- package/runner/providers/index.mjs +5 -0
- package/server.js +44 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[19837,e=>{"use strict";let t;var r,i,a,s,n,o,d,u=e.i(2927);let l=e=>JSON.stringify({...e,runs:void 0});var c=e.i(51759),h=e.i(55402);e.s([],54033),e.i(54033),(r=s||(s={})).assertEqual=e=>{},r.assertIs=function(e){},r.assertNever=function(e){throw Error()},r.arrayToEnum=e=>{let t={};for(let r of e)t[r]=r;return t},r.getValidEnumValues=e=>{let t=r.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),i={};for(let r of t)i[r]=e[r];return r.objectValues(i)},r.objectValues=e=>r.objectKeys(e).map(function(t){return e[t]}),r.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},r.find=(e,t)=>{for(let r of e)if(t(r))return r},r.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&Number.isFinite(e)&&Math.floor(e)===e,r.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},r.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,(n||(n={})).mergeShapes=(e,t)=>({...e,...t});let p=s.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),m=e=>{switch(typeof e){case"undefined":return p.undefined;case"string":return p.string;case"number":return Number.isNaN(e)?p.nan:p.number;case"boolean":return p.boolean;case"function":return p.function;case"bigint":return p.bigint;case"symbol":return p.symbol;case"object":if(Array.isArray(e))return p.array;if(null===e)return p.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return p.promise;if("u">typeof Map&&e instanceof Map)return p.map;if("u">typeof Set&&e instanceof Set)return p.set;if("u">typeof Date&&e instanceof Date)return p.date;return p.object;default:return p.unknown}};e.s(["ZodParsedType",0,p,"getParsedType",0,m,"objectUtil",0,n,"util",0,s],42944);let f=s.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),g=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class y extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){let t=e||function(e){return e.message},r={_errors:[]},i=e=>{for(let a of e.issues)if("invalid_union"===a.code)a.unionErrors.map(i);else if("invalid_return_type"===a.code)i(a.returnTypeError);else if("invalid_arguments"===a.code)i(a.argumentsError);else if(0===a.path.length)r._errors.push(t(a));else{let e=r,i=0;for(;i<a.path.length;){let r=a.path[i];i===a.path.length-1?(e[r]=e[r]||{_errors:[]},e[r]._errors.push(t(a))):e[r]=e[r]||{_errors:[]},e=e[r],i++}}};return i(this),r}static assert(e){if(!(e instanceof y))throw Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,s.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},r=[];for(let i of this.issues)if(i.path.length>0){let r=i.path[0];t[r]=t[r]||[],t[r].push(e(i))}else r.push(e(i));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}y.create=e=>new y(e),e.s(["ZodError",0,y,"ZodIssueCode",0,f,"quotelessJson",0,g],15235);let v=(e,t)=>{let r;switch(e.code){case f.invalid_type:r=e.received===p.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case f.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,s.jsonStringifyReplacer)}`;break;case f.unrecognized_keys:r=`Unrecognized key(s) in object: ${s.joinValues(e.keys,", ")}`;break;case f.invalid_union:r="Invalid input";break;case f.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${s.joinValues(e.options)}`;break;case f.invalid_enum_value:r=`Invalid enum value. Expected ${s.joinValues(e.options)}, received '${e.received}'`;break;case f.invalid_arguments:r="Invalid function arguments";break;case f.invalid_return_type:r="Invalid function return type";break;case f.invalid_date:r="Invalid date";break;case f.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:s.assertNever(e.validation):r="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case f.too_small:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type||"bigint"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case f.too_big:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case f.custom:r="Invalid input";break;case f.invalid_intersection_types:r="Intersection results could not be merged";break;case f.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case f.not_finite:r="Number must be finite";break;default:r=t.defaultError,s.assertNever(e)}return{message:r}},_=v;function w(e){_=e}function b(){return _}e.s(["getErrorMap",0,b,"setErrorMap",0,w],85676),e.i(85676),e.s(["defaultErrorMap",0,v,"getErrorMap",0,b,"setErrorMap",0,w],76733),e.i(76733);let x=e=>{let{data:t,path:r,errorMaps:i,issueData:a}=e,s=[...r,...a.path||[]],n={...a,path:s};if(void 0!==a.message)return{...a,path:s,message:a.message};let o="";for(let e of i.filter(e=>!!e).slice().reverse())o=e(n,{data:t,defaultError:o}).message;return{...a,path:s,message:o}},k=[];function Z(e,t){let r=b(),i=x({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===v?void 0:v].filter(e=>!!e)});e.common.issues.push(i)}class E{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let r=[];for(let i of t){if("aborted"===i.status)return T;"dirty"===i.status&&e.dirty(),r.push(i.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){let r=[];for(let e of t){let t=await e.key,i=await e.value;r.push({key:t,value:i})}return E.mergeObjectSync(e,r)}static mergeObjectSync(e,t){let r={};for(let i of t){let{key:t,value:a}=i;if("aborted"===t.status||"aborted"===a.status)return T;"dirty"===t.status&&e.dirty(),"dirty"===a.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==a.value||i.alwaysSet)&&(r[t.value]=a.value)}return{status:e.value,value:r}}}let T=Object.freeze({status:"aborted"}),S=e=>({status:"dirty",value:e}),I=e=>({status:"valid",value:e}),O=e=>"aborted"===e.status,A=e=>"dirty"===e.status,C=e=>"valid"===e.status,N=e=>"u">typeof Promise&&e instanceof Promise;e.s(["DIRTY",0,S,"EMPTY_PATH",0,k,"INVALID",0,T,"OK",0,I,"ParseStatus",0,E,"addIssueToContext",0,Z,"isAborted",0,O,"isAsync",0,N,"isDirty",0,A,"isValid",0,C,"makeIssue",0,x],84488),e.i(84488),e.s([],91316),e.i(91316),e.i(42944),(i=o||(o={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},i.toString=e=>"string"==typeof e?e:e?.message;class j{constructor(e,t,r,i){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=i}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let D=(e,t)=>{if(C(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new y(e.common.issues);return this._error=t,this._error}}};function R(e){if(!e)return{};let{errorMap:t,invalid_type_error:r,required_error:i,description:a}=e;if(t&&(r||i))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:a}:{errorMap:(t,a)=>{let{message:s}=e;return"invalid_enum_value"===t.code?{message:s??a.defaultError}:void 0===a.data?{message:s??i??a.defaultError}:"invalid_type"!==t.code?{message:a.defaultError}:{message:s??r??a.defaultError}},description:a}}class P{get description(){return this._def.description}_getType(e){return m(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:m(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new E,ctx:{common:e.parent.common,data:e.data,parsedType:m(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(N(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){let r={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:m(e)},i=this._parseSync({data:e,path:r.path,parent:r});return D(r,i)}"~validate"(e){let t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:m(e)};if(!this["~standard"].async)try{let r=this._parseSync({data:e,path:[],parent:t});return C(r)?{value:r.value}:{issues:t.common.issues}}catch(e){e?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>C(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){let r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){let r={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:m(e)},i=this._parse({data:e,path:r.path,parent:r});return D(r,await (N(i)?i:Promise.resolve(i)))}refine(e,t){return this._refinement((r,i)=>{let a=e(r),s=()=>i.addIssue({code:f.custom,..."string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(r):t});return"u">typeof Promise&&a instanceof Promise?a.then(e=>!!e||(s(),!1)):!!a||(s(),!1)})}refinement(e,t){return this._refinement((r,i)=>!!e(r)||(i.addIssue("function"==typeof t?t(r,i):t),!1))}_refinement(e){return new eA({schema:this,typeName:d.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return eC.create(this,this._def)}nullable(){return eN.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ep.create(this)}promise(){return eO.create(this,this._def)}or(e){return ef.create([this,e],this._def)}and(e){return ev.create(this,e,this._def)}transform(e){return new eA({...R(this._def),schema:this,typeName:d.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new ej({...R(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:d.ZodDefault})}brand(){return new eq({typeName:d.ZodBranded,type:this,...R(this._def)})}catch(e){return new eD({...R(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:d.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return e$.create(this,e)}readonly(){return eM.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let q=/^c[^\s-]{8,}$/i,$=/^[0-9a-z]+$/,M=/^[0-9A-HJKMNP-TV-Z]{26}$/i,L=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,F=/^[a-z0-9_-]{21}$/i,U=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,z=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,V=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,B=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,W=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,K=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,J=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,H=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Y=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,G="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",X=RegExp(`^${G}$`);function Q(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`);let r=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${r}`}function ee(e){let t=`${G}T${Q(e)}`,r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,RegExp(`^${t}$`)}class et extends P{_parse(e){var r,i,a,n;let o;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==p.string){let t=this._getOrReturnCtx(e);return Z(t,{code:f.invalid_type,expected:p.string,received:t.parsedType}),T}let d=new E;for(let u of this._def.checks)if("min"===u.kind)e.data.length<u.value&&(Z(o=this._getOrReturnCtx(e,o),{code:f.too_small,minimum:u.value,type:"string",inclusive:!0,exact:!1,message:u.message}),d.dirty());else if("max"===u.kind)e.data.length>u.value&&(Z(o=this._getOrReturnCtx(e,o),{code:f.too_big,maximum:u.value,type:"string",inclusive:!0,exact:!1,message:u.message}),d.dirty());else if("length"===u.kind){let t=e.data.length>u.value,r=e.data.length<u.value;(t||r)&&(o=this._getOrReturnCtx(e,o),t?Z(o,{code:f.too_big,maximum:u.value,type:"string",inclusive:!0,exact:!0,message:u.message}):r&&Z(o,{code:f.too_small,minimum:u.value,type:"string",inclusive:!0,exact:!0,message:u.message}),d.dirty())}else if("email"===u.kind)V.test(e.data)||(Z(o=this._getOrReturnCtx(e,o),{validation:"email",code:f.invalid_string,message:u.message}),d.dirty());else if("emoji"===u.kind)t||(t=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),t.test(e.data)||(Z(o=this._getOrReturnCtx(e,o),{validation:"emoji",code:f.invalid_string,message:u.message}),d.dirty());else if("uuid"===u.kind)L.test(e.data)||(Z(o=this._getOrReturnCtx(e,o),{validation:"uuid",code:f.invalid_string,message:u.message}),d.dirty());else if("nanoid"===u.kind)F.test(e.data)||(Z(o=this._getOrReturnCtx(e,o),{validation:"nanoid",code:f.invalid_string,message:u.message}),d.dirty());else if("cuid"===u.kind)q.test(e.data)||(Z(o=this._getOrReturnCtx(e,o),{validation:"cuid",code:f.invalid_string,message:u.message}),d.dirty());else if("cuid2"===u.kind)$.test(e.data)||(Z(o=this._getOrReturnCtx(e,o),{validation:"cuid2",code:f.invalid_string,message:u.message}),d.dirty());else if("ulid"===u.kind)M.test(e.data)||(Z(o=this._getOrReturnCtx(e,o),{validation:"ulid",code:f.invalid_string,message:u.message}),d.dirty());else if("url"===u.kind)try{new URL(e.data)}catch{Z(o=this._getOrReturnCtx(e,o),{validation:"url",code:f.invalid_string,message:u.message}),d.dirty()}else"regex"===u.kind?(u.regex.lastIndex=0,u.regex.test(e.data)||(Z(o=this._getOrReturnCtx(e,o),{validation:"regex",code:f.invalid_string,message:u.message}),d.dirty())):"trim"===u.kind?e.data=e.data.trim():"includes"===u.kind?e.data.includes(u.value,u.position)||(Z(o=this._getOrReturnCtx(e,o),{code:f.invalid_string,validation:{includes:u.value,position:u.position},message:u.message}),d.dirty()):"toLowerCase"===u.kind?e.data=e.data.toLowerCase():"toUpperCase"===u.kind?e.data=e.data.toUpperCase():"startsWith"===u.kind?e.data.startsWith(u.value)||(Z(o=this._getOrReturnCtx(e,o),{code:f.invalid_string,validation:{startsWith:u.value},message:u.message}),d.dirty()):"endsWith"===u.kind?e.data.endsWith(u.value)||(Z(o=this._getOrReturnCtx(e,o),{code:f.invalid_string,validation:{endsWith:u.value},message:u.message}),d.dirty()):"datetime"===u.kind?ee(u).test(e.data)||(Z(o=this._getOrReturnCtx(e,o),{code:f.invalid_string,validation:"datetime",message:u.message}),d.dirty()):"date"===u.kind?X.test(e.data)||(Z(o=this._getOrReturnCtx(e,o),{code:f.invalid_string,validation:"date",message:u.message}),d.dirty()):"time"===u.kind?RegExp(`^${Q(u)}$`).test(e.data)||(Z(o=this._getOrReturnCtx(e,o),{code:f.invalid_string,validation:"time",message:u.message}),d.dirty()):"duration"===u.kind?z.test(e.data)||(Z(o=this._getOrReturnCtx(e,o),{validation:"duration",code:f.invalid_string,message:u.message}),d.dirty()):"ip"===u.kind?(r=e.data,!(("v4"===(i=u.version)||!i)&&B.test(r)||("v6"===i||!i)&&K.test(r))&&1&&(Z(o=this._getOrReturnCtx(e,o),{validation:"ip",code:f.invalid_string,message:u.message}),d.dirty())):"jwt"===u.kind?!function(e,t){if(!U.test(e))return!1;try{let[r]=e.split(".");if(!r)return!1;let i=r.replace(/-/g,"+").replace(/_/g,"/").padEnd(r.length+(4-r.length%4)%4,"="),a=JSON.parse(atob(i));if("object"!=typeof a||null===a||"typ"in a&&a?.typ!=="JWT"||!a.alg||t&&a.alg!==t)return!1;return!0}catch{return!1}}(e.data,u.alg)&&(Z(o=this._getOrReturnCtx(e,o),{validation:"jwt",code:f.invalid_string,message:u.message}),d.dirty()):"cidr"===u.kind?(a=e.data,!(("v4"===(n=u.version)||!n)&&W.test(a)||("v6"===n||!n)&&J.test(a))&&1&&(Z(o=this._getOrReturnCtx(e,o),{validation:"cidr",code:f.invalid_string,message:u.message}),d.dirty())):"base64"===u.kind?H.test(e.data)||(Z(o=this._getOrReturnCtx(e,o),{validation:"base64",code:f.invalid_string,message:u.message}),d.dirty()):"base64url"===u.kind?Y.test(e.data)||(Z(o=this._getOrReturnCtx(e,o),{validation:"base64url",code:f.invalid_string,message:u.message}),d.dirty()):s.assertNever(u);return{status:d.value,value:e.data}}_regex(e,t,r){return this.refinement(t=>e.test(t),{validation:t,code:f.invalid_string,...o.errToObj(r)})}_addCheck(e){return new et({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...o.errToObj(e)})}url(e){return this._addCheck({kind:"url",...o.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...o.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...o.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...o.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...o.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...o.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...o.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...o.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...o.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...o.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...o.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...o.errToObj(e)})}datetime(e){return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===e?.precision?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...o.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===e?.precision?null:e?.precision,...o.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...o.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...o.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...o.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...o.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...o.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...o.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...o.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...o.errToObj(t)})}nonempty(e){return this.min(1,o.errToObj(e))}trim(){return new et({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new et({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new et({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}et.create=e=>new et({checks:[],typeName:d.ZodString,coerce:e?.coerce??!1,...R(e)});class er extends P{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==p.number){let t=this._getOrReturnCtx(e);return Z(t,{code:f.invalid_type,expected:p.number,received:t.parsedType}),T}let r=new E;for(let i of this._def.checks)"int"===i.kind?s.isInteger(e.data)||(Z(t=this._getOrReturnCtx(e,t),{code:f.invalid_type,expected:"integer",received:"float",message:i.message}),r.dirty()):"min"===i.kind?(i.inclusive?e.data<i.value:e.data<=i.value)&&(Z(t=this._getOrReturnCtx(e,t),{code:f.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):"max"===i.kind?(i.inclusive?e.data>i.value:e.data>=i.value)&&(Z(t=this._getOrReturnCtx(e,t),{code:f.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):"multipleOf"===i.kind?0!==function(e,t){let r=(e.toString().split(".")[1]||"").length,i=(t.toString().split(".")[1]||"").length,a=r>i?r:i;return Number.parseInt(e.toFixed(a).replace(".",""))%Number.parseInt(t.toFixed(a).replace(".",""))/10**a}(e.data,i.value)&&(Z(t=this._getOrReturnCtx(e,t),{code:f.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):"finite"===i.kind?Number.isFinite(e.data)||(Z(t=this._getOrReturnCtx(e,t),{code:f.not_finite,message:i.message}),r.dirty()):s.assertNever(i);return{status:r.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,o.toString(t))}gt(e,t){return this.setLimit("min",e,!1,o.toString(t))}lte(e,t){return this.setLimit("max",e,!0,o.toString(t))}lt(e,t){return this.setLimit("max",e,!1,o.toString(t))}setLimit(e,t,r,i){return new er({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:o.toString(i)}]})}_addCheck(e){return new er({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:o.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:o.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:o.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:o.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:o.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:o.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:o.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:o.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:o.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&s.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let r of this._def.checks)if("finite"===r.kind||"int"===r.kind||"multipleOf"===r.kind)return!0;else"min"===r.kind?(null===t||r.value>t)&&(t=r.value):"max"===r.kind&&(null===e||r.value<e)&&(e=r.value);return Number.isFinite(t)&&Number.isFinite(e)}}er.create=e=>new er({checks:[],typeName:d.ZodNumber,coerce:e?.coerce||!1,...R(e)});class ei extends P{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==p.bigint)return this._getInvalidInput(e);let r=new E;for(let i of this._def.checks)"min"===i.kind?(i.inclusive?e.data<i.value:e.data<=i.value)&&(Z(t=this._getOrReturnCtx(e,t),{code:f.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),r.dirty()):"max"===i.kind?(i.inclusive?e.data>i.value:e.data>=i.value)&&(Z(t=this._getOrReturnCtx(e,t),{code:f.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),r.dirty()):"multipleOf"===i.kind?e.data%i.value!==BigInt(0)&&(Z(t=this._getOrReturnCtx(e,t),{code:f.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):s.assertNever(i);return{status:r.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return Z(t,{code:f.invalid_type,expected:p.bigint,received:t.parsedType}),T}gte(e,t){return this.setLimit("min",e,!0,o.toString(t))}gt(e,t){return this.setLimit("min",e,!1,o.toString(t))}lte(e,t){return this.setLimit("max",e,!0,o.toString(t))}lt(e,t){return this.setLimit("max",e,!1,o.toString(t))}setLimit(e,t,r,i){return new ei({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:o.toString(i)}]})}_addCheck(e){return new ei({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:o.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:o.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:o.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:o.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:o.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}ei.create=e=>new ei({checks:[],typeName:d.ZodBigInt,coerce:e?.coerce??!1,...R(e)});class ea extends P{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==p.boolean){let t=this._getOrReturnCtx(e);return Z(t,{code:f.invalid_type,expected:p.boolean,received:t.parsedType}),T}return I(e.data)}}ea.create=e=>new ea({typeName:d.ZodBoolean,coerce:e?.coerce||!1,...R(e)});class es extends P{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==p.date){let t=this._getOrReturnCtx(e);return Z(t,{code:f.invalid_type,expected:p.date,received:t.parsedType}),T}if(Number.isNaN(e.data.getTime()))return Z(this._getOrReturnCtx(e),{code:f.invalid_date}),T;let r=new E;for(let i of this._def.checks)"min"===i.kind?e.data.getTime()<i.value&&(Z(t=this._getOrReturnCtx(e,t),{code:f.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),r.dirty()):"max"===i.kind?e.data.getTime()>i.value&&(Z(t=this._getOrReturnCtx(e,t),{code:f.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):s.assertNever(i);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new es({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:o.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:o.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}es.create=e=>new es({checks:[],coerce:e?.coerce||!1,typeName:d.ZodDate,...R(e)});class en extends P{_parse(e){if(this._getType(e)!==p.symbol){let t=this._getOrReturnCtx(e);return Z(t,{code:f.invalid_type,expected:p.symbol,received:t.parsedType}),T}return I(e.data)}}en.create=e=>new en({typeName:d.ZodSymbol,...R(e)});class eo extends P{_parse(e){if(this._getType(e)!==p.undefined){let t=this._getOrReturnCtx(e);return Z(t,{code:f.invalid_type,expected:p.undefined,received:t.parsedType}),T}return I(e.data)}}eo.create=e=>new eo({typeName:d.ZodUndefined,...R(e)});class ed extends P{_parse(e){if(this._getType(e)!==p.null){let t=this._getOrReturnCtx(e);return Z(t,{code:f.invalid_type,expected:p.null,received:t.parsedType}),T}return I(e.data)}}ed.create=e=>new ed({typeName:d.ZodNull,...R(e)});class eu extends P{constructor(){super(...arguments),this._any=!0}_parse(e){return I(e.data)}}eu.create=e=>new eu({typeName:d.ZodAny,...R(e)});class el extends P{constructor(){super(...arguments),this._unknown=!0}_parse(e){return I(e.data)}}el.create=e=>new el({typeName:d.ZodUnknown,...R(e)});class ec extends P{_parse(e){let t=this._getOrReturnCtx(e);return Z(t,{code:f.invalid_type,expected:p.never,received:t.parsedType}),T}}ec.create=e=>new ec({typeName:d.ZodNever,...R(e)});class eh extends P{_parse(e){if(this._getType(e)!==p.undefined){let t=this._getOrReturnCtx(e);return Z(t,{code:f.invalid_type,expected:p.void,received:t.parsedType}),T}return I(e.data)}}eh.create=e=>new eh({typeName:d.ZodVoid,...R(e)});class ep extends P{_parse(e){let{ctx:t,status:r}=this._processInputParams(e),i=this._def;if(t.parsedType!==p.array)return Z(t,{code:f.invalid_type,expected:p.array,received:t.parsedType}),T;if(null!==i.exactLength){let e=t.data.length>i.exactLength.value,a=t.data.length<i.exactLength.value;(e||a)&&(Z(t,{code:e?f.too_big:f.too_small,minimum:a?i.exactLength.value:void 0,maximum:e?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),r.dirty())}if(null!==i.minLength&&t.data.length<i.minLength.value&&(Z(t,{code:f.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),r.dirty()),null!==i.maxLength&&t.data.length>i.maxLength.value&&(Z(t,{code:f.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map((e,r)=>i.type._parseAsync(new j(t,e,t.path,r)))).then(e=>E.mergeArray(r,e));let a=[...t.data].map((e,r)=>i.type._parseSync(new j(t,e,t.path,r)));return E.mergeArray(r,a)}get element(){return this._def.type}min(e,t){return new ep({...this._def,minLength:{value:e,message:o.toString(t)}})}max(e,t){return new ep({...this._def,maxLength:{value:e,message:o.toString(t)}})}length(e,t){return new ep({...this._def,exactLength:{value:e,message:o.toString(t)}})}nonempty(e){return this.min(1,e)}}ep.create=(e,t)=>new ep({type:e,minLength:null,maxLength:null,exactLength:null,typeName:d.ZodArray,...R(t)});class em extends P{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=s.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==p.object){let t=this._getOrReturnCtx(e);return Z(t,{code:f.invalid_type,expected:p.object,received:t.parsedType}),T}let{status:t,ctx:r}=this._processInputParams(e),{shape:i,keys:a}=this._getCached(),s=[];if(!(this._def.catchall instanceof ec&&"strip"===this._def.unknownKeys))for(let e in r.data)a.includes(e)||s.push(e);let n=[];for(let e of a){let t=i[e],a=r.data[e];n.push({key:{status:"valid",value:e},value:t._parse(new j(r,a,r.path,e)),alwaysSet:e in r.data})}if(this._def.catchall instanceof ec){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of s)n.push({key:{status:"valid",value:e},value:{status:"valid",value:r.data[e]}});else if("strict"===e)s.length>0&&(Z(r,{code:f.unrecognized_keys,keys:s}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of s){let i=r.data[t];n.push({key:{status:"valid",value:t},value:e._parse(new j(r,i,r.path,t)),alwaysSet:t in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of n){let r=await t.key,i=await t.value;e.push({key:r,value:i,alwaysSet:t.alwaysSet})}return e}).then(e=>E.mergeObjectSync(t,e)):E.mergeObjectSync(t,n)}get shape(){return this._def.shape()}strict(e){return o.errToObj,new em({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,r)=>{let i=this._def.errorMap?.(t,r).message??r.defaultError;return"unrecognized_keys"===t.code?{message:o.errToObj(e).message??i}:{message:i}}}:{}})}strip(){return new em({...this._def,unknownKeys:"strip"})}passthrough(){return new em({...this._def,unknownKeys:"passthrough"})}extend(e){return new em({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new em({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:d.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new em({...this._def,catchall:e})}pick(e){let t={};for(let r of s.objectKeys(e))e[r]&&this.shape[r]&&(t[r]=this.shape[r]);return new em({...this._def,shape:()=>t})}omit(e){let t={};for(let r of s.objectKeys(this.shape))e[r]||(t[r]=this.shape[r]);return new em({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof em){let r={};for(let i in t.shape){let a=t.shape[i];r[i]=eC.create(e(a))}return new em({...t._def,shape:()=>r})}if(t instanceof ep)return new ep({...t._def,type:e(t.element)});if(t instanceof eC)return eC.create(e(t.unwrap()));if(t instanceof eN)return eN.create(e(t.unwrap()));if(t instanceof e_)return e_.create(t.items.map(t=>e(t)));else return t}(this)}partial(e){let t={};for(let r of s.objectKeys(this.shape)){let i=this.shape[r];e&&!e[r]?t[r]=i:t[r]=i.optional()}return new em({...this._def,shape:()=>t})}required(e){let t={};for(let r of s.objectKeys(this.shape))if(e&&!e[r])t[r]=this.shape[r];else{let e=this.shape[r];for(;e instanceof eC;)e=e._def.innerType;t[r]=e}return new em({...this._def,shape:()=>t})}keyof(){return eT(s.objectKeys(this.shape))}}em.create=(e,t)=>new em({shape:()=>e,unknownKeys:"strip",catchall:ec.create(),typeName:d.ZodObject,...R(t)}),em.strictCreate=(e,t)=>new em({shape:()=>e,unknownKeys:"strict",catchall:ec.create(),typeName:d.ZodObject,...R(t)}),em.lazycreate=(e,t)=>new em({shape:e,unknownKeys:"strip",catchall:ec.create(),typeName:d.ZodObject,...R(t)});class ef extends P{_parse(e){let{ctx:t}=this._processInputParams(e),r=this._def.options;if(t.common.async)return Promise.all(r.map(async e=>{let r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;let r=e.map(e=>new y(e.ctx.common.issues));return Z(t,{code:f.invalid_union,unionErrors:r}),T});{let e,i=[];for(let a of r){let r={...t,common:{...t.common,issues:[]},parent:null},s=a._parseSync({data:t.data,path:t.path,parent:r});if("valid"===s.status)return s;"dirty"!==s.status||e||(e={result:s,ctx:r}),r.common.issues.length&&i.push(r.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let a=i.map(e=>new y(e));return Z(t,{code:f.invalid_union,unionErrors:a}),T}}get options(){return this._def.options}}ef.create=(e,t)=>new ef({options:e,typeName:d.ZodUnion,...R(t)});let eg=e=>{if(e instanceof eZ)return eg(e.schema);if(e instanceof eA)return eg(e.innerType());if(e instanceof eE)return[e.value];if(e instanceof eS)return e.options;if(e instanceof eI)return s.objectValues(e.enum);else if(e instanceof ej)return eg(e._def.innerType);else if(e instanceof eo)return[void 0];else if(e instanceof ed)return[null];else if(e instanceof eC)return[void 0,...eg(e.unwrap())];else if(e instanceof eN)return[null,...eg(e.unwrap())];else if(e instanceof eq)return eg(e.unwrap());else if(e instanceof eM)return eg(e.unwrap());else if(e instanceof eD)return eg(e._def.innerType);else return[]};class ey extends P{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==p.object)return Z(t,{code:f.invalid_type,expected:p.object,received:t.parsedType}),T;let r=this.discriminator,i=t.data[r],a=this.optionsMap.get(i);return a?t.common.async?a._parseAsync({data:t.data,path:t.path,parent:t}):a._parseSync({data:t.data,path:t.path,parent:t}):(Z(t,{code:f.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),T)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){let i=new Map;for(let r of t){let t=eg(r.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let a of t){if(i.has(a))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(a)}`);i.set(a,r)}}return new ey({typeName:d.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:i,...R(r)})}}class ev extends P{_parse(e){let{status:t,ctx:r}=this._processInputParams(e),i=(e,i)=>{if(O(e)||O(i))return T;let a=function e(t,r){let i=m(t),a=m(r);if(t===r)return{valid:!0,data:t};if(i===p.object&&a===p.object){let i=s.objectKeys(r),a=s.objectKeys(t).filter(e=>-1!==i.indexOf(e)),n={...t,...r};for(let i of a){let a=e(t[i],r[i]);if(!a.valid)return{valid:!1};n[i]=a.data}return{valid:!0,data:n}}if(i===p.array&&a===p.array){if(t.length!==r.length)return{valid:!1};let i=[];for(let a=0;a<t.length;a++){let s=e(t[a],r[a]);if(!s.valid)return{valid:!1};i.push(s.data)}return{valid:!0,data:i}}if(i===p.date&&a===p.date&&+t==+r)return{valid:!0,data:t};return{valid:!1}}(e.value,i.value);return a.valid?((A(e)||A(i))&&t.dirty(),{status:t.value,value:a.data}):(Z(r,{code:f.invalid_intersection_types}),T)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([e,t])=>i(e,t)):i(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}ev.create=(e,t,r)=>new ev({left:e,right:t,typeName:d.ZodIntersection,...R(r)});class e_ extends P{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==p.array)return Z(r,{code:f.invalid_type,expected:p.array,received:r.parsedType}),T;if(r.data.length<this._def.items.length)return Z(r,{code:f.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),T;!this._def.rest&&r.data.length>this._def.items.length&&(Z(r,{code:f.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let i=[...r.data].map((e,t)=>{let i=this._def.items[t]||this._def.rest;return i?i._parse(new j(r,e,r.path,t)):null}).filter(e=>!!e);return r.common.async?Promise.all(i).then(e=>E.mergeArray(t,e)):E.mergeArray(t,i)}get items(){return this._def.items}rest(e){return new e_({...this._def,rest:e})}}e_.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new e_({items:e,typeName:d.ZodTuple,rest:null,...R(t)})};class ew extends P{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==p.object)return Z(r,{code:f.invalid_type,expected:p.object,received:r.parsedType}),T;let i=[],a=this._def.keyType,s=this._def.valueType;for(let e in r.data)i.push({key:a._parse(new j(r,e,r.path,e)),value:s._parse(new j(r,r.data[e],r.path,e)),alwaysSet:e in r.data});return r.common.async?E.mergeObjectAsync(t,i):E.mergeObjectSync(t,i)}get element(){return this._def.valueType}static create(e,t,r){return new ew(t instanceof P?{keyType:e,valueType:t,typeName:d.ZodRecord,...R(r)}:{keyType:et.create(),valueType:e,typeName:d.ZodRecord,...R(t)})}}class eb extends P{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==p.map)return Z(r,{code:f.invalid_type,expected:p.map,received:r.parsedType}),T;let i=this._def.keyType,a=this._def.valueType,s=[...r.data.entries()].map(([e,t],s)=>({key:i._parse(new j(r,e,r.path,[s,"key"])),value:a._parse(new j(r,t,r.path,[s,"value"]))}));if(r.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let r of s){let i=await r.key,a=await r.value;if("aborted"===i.status||"aborted"===a.status)return T;("dirty"===i.status||"dirty"===a.status)&&t.dirty(),e.set(i.value,a.value)}return{status:t.value,value:e}})}{let e=new Map;for(let r of s){let i=r.key,a=r.value;if("aborted"===i.status||"aborted"===a.status)return T;("dirty"===i.status||"dirty"===a.status)&&t.dirty(),e.set(i.value,a.value)}return{status:t.value,value:e}}}}eb.create=(e,t,r)=>new eb({valueType:t,keyType:e,typeName:d.ZodMap,...R(r)});class ex extends P{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==p.set)return Z(r,{code:f.invalid_type,expected:p.set,received:r.parsedType}),T;let i=this._def;null!==i.minSize&&r.data.size<i.minSize.value&&(Z(r,{code:f.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),t.dirty()),null!==i.maxSize&&r.data.size>i.maxSize.value&&(Z(r,{code:f.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),t.dirty());let a=this._def.valueType;function s(e){let r=new Set;for(let i of e){if("aborted"===i.status)return T;"dirty"===i.status&&t.dirty(),r.add(i.value)}return{status:t.value,value:r}}let n=[...r.data.values()].map((e,t)=>a._parse(new j(r,e,r.path,t)));return r.common.async?Promise.all(n).then(e=>s(e)):s(n)}min(e,t){return new ex({...this._def,minSize:{value:e,message:o.toString(t)}})}max(e,t){return new ex({...this._def,maxSize:{value:e,message:o.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}ex.create=(e,t)=>new ex({valueType:e,minSize:null,maxSize:null,typeName:d.ZodSet,...R(t)});class ek extends P{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==p.function)return Z(t,{code:f.invalid_type,expected:p.function,received:t.parsedType}),T;function r(e,r){return x({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,b(),v].filter(e=>!!e),issueData:{code:f.invalid_arguments,argumentsError:r}})}function i(e,r){return x({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,b(),v].filter(e=>!!e),issueData:{code:f.invalid_return_type,returnTypeError:r}})}let a={errorMap:t.common.contextualErrorMap},s=t.data;if(this._def.returns instanceof eO){let e=this;return I(async function(...t){let n=new y([]),o=await e._def.args.parseAsync(t,a).catch(e=>{throw n.addIssue(r(t,e)),n}),d=await Reflect.apply(s,this,o);return await e._def.returns._def.type.parseAsync(d,a).catch(e=>{throw n.addIssue(i(d,e)),n})})}{let e=this;return I(function(...t){let n=e._def.args.safeParse(t,a);if(!n.success)throw new y([r(t,n.error)]);let o=Reflect.apply(s,this,n.data),d=e._def.returns.safeParse(o,a);if(!d.success)throw new y([i(o,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ek({...this._def,args:e_.create(e).rest(el.create())})}returns(e){return new ek({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,r){return new ek({args:e||e_.create([]).rest(el.create()),returns:t||el.create(),typeName:d.ZodFunction,...R(r)})}}class eZ extends P{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}eZ.create=(e,t)=>new eZ({getter:e,typeName:d.ZodLazy,...R(t)});class eE extends P{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return Z(t,{received:t.data,code:f.invalid_literal,expected:this._def.value}),T}return{status:"valid",value:e.data}}get value(){return this._def.value}}function eT(e,t){return new eS({values:e,typeName:d.ZodEnum,...R(t)})}eE.create=(e,t)=>new eE({value:e,typeName:d.ZodLiteral,...R(t)});class eS extends P{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),r=this._def.values;return Z(t,{expected:s.joinValues(r),received:t.parsedType,code:f.invalid_type}),T}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),r=this._def.values;return Z(t,{received:t.data,code:f.invalid_enum_value,options:r}),T}return I(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return eS.create(e,{...this._def,...t})}exclude(e,t=this._def){return eS.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}eS.create=eT;class eI extends P{_parse(e){let t=s.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==p.string&&r.parsedType!==p.number){let e=s.objectValues(t);return Z(r,{expected:s.joinValues(e),received:r.parsedType,code:f.invalid_type}),T}if(this._cache||(this._cache=new Set(s.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let e=s.objectValues(t);return Z(r,{received:r.data,code:f.invalid_enum_value,options:e}),T}return I(e.data)}get enum(){return this._def.values}}eI.create=(e,t)=>new eI({values:e,typeName:d.ZodNativeEnum,...R(t)});class eO extends P{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==p.promise&&!1===t.common.async?(Z(t,{code:f.invalid_type,expected:p.promise,received:t.parsedType}),T):I((t.parsedType===p.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}eO.create=(e,t)=>new eO({type:e,typeName:d.ZodPromise,...R(t)});class eA extends P{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===d.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:r}=this._processInputParams(e),i=this._def.effect||null,a={addIssue:e=>{Z(r,e),e.fatal?t.abort():t.dirty()},get path(){return r.path}};if(a.addIssue=a.addIssue.bind(a),"preprocess"===i.type){let e=i.transform(r.data,a);if(r.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return T;let i=await this._def.schema._parseAsync({data:e,path:r.path,parent:r});return"aborted"===i.status?T:"dirty"===i.status||"dirty"===t.value?S(i.value):i});{if("aborted"===t.value)return T;let i=this._def.schema._parseSync({data:e,path:r.path,parent:r});return"aborted"===i.status?T:"dirty"===i.status||"dirty"===t.value?S(i.value):i}}if("refinement"===i.type){let e=e=>{let t=i.refinement(e,a);if(r.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(r=>"aborted"===r.status?T:("dirty"===r.status&&t.dirty(),e(r.value).then(()=>({status:t.value,value:r.value}))));{let i=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===i.status?T:("dirty"===i.status&&t.dirty(),e(i.value),{status:t.value,value:i.value})}}if("transform"===i.type)if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(e=>C(e)?Promise.resolve(i.transform(e.value,a)).then(e=>({status:t.value,value:e})):T);else{let e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!C(e))return T;let s=i.transform(e.value,a);if(s instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:s}}s.assertNever(i)}}eA.create=(e,t,r)=>new eA({schema:e,typeName:d.ZodEffects,effect:t,...R(r)}),eA.createWithPreprocess=(e,t,r)=>new eA({schema:t,effect:{type:"preprocess",transform:e},typeName:d.ZodEffects,...R(r)});class eC extends P{_parse(e){return this._getType(e)===p.undefined?I(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eC.create=(e,t)=>new eC({innerType:e,typeName:d.ZodOptional,...R(t)});class eN extends P{_parse(e){return this._getType(e)===p.null?I(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eN.create=(e,t)=>new eN({innerType:e,typeName:d.ZodNullable,...R(t)});class ej extends P{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return t.parsedType===p.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}ej.create=(e,t)=>new ej({innerType:e,typeName:d.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...R(t)});class eD extends P{_parse(e){let{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},i=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return N(i)?i.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new y(r.common.issues)},input:r.data})})):{status:"valid",value:"valid"===i.status?i.value:this._def.catchValue({get error(){return new y(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}eD.create=(e,t)=>new eD({innerType:e,typeName:d.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...R(t)});class eR extends P{_parse(e){if(this._getType(e)!==p.nan){let t=this._getOrReturnCtx(e);return Z(t,{code:f.invalid_type,expected:p.nan,received:t.parsedType}),T}return{status:"valid",value:e.data}}}eR.create=e=>new eR({typeName:d.ZodNaN,...R(e)});let eP=Symbol("zod_brand");class eq extends P{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class e$ extends P{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?T:"dirty"===e.status?(t.dirty(),S(e.value)):this._def.out._parseAsync({data:e.value,path:r.path,parent:r})})();{let e=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?T:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:r.path,parent:r})}}static create(e,t){return new e$({in:e,out:t,typeName:d.ZodPipeline})}}class eM extends P{_parse(e){let t=this._def.innerType._parse(e),r=e=>(C(e)&&(e.value=Object.freeze(e.value)),e);return N(t)?t.then(e=>r(e)):r(t)}unwrap(){return this._def.innerType}}function eL(e,t){let r="function"==typeof e?e(t):"string"==typeof e?{message:e}:e;return"string"==typeof r?{message:r}:r}function eF(e,t={},r){return e?eu.create().superRefine((i,a)=>{let s=e(i);if(s instanceof Promise)return s.then(e=>{if(!e){let e=eL(t,i),s=e.fatal??r??!0;a.addIssue({code:"custom",...e,fatal:s})}});if(!s){let e=eL(t,i),s=e.fatal??r??!0;a.addIssue({code:"custom",...e,fatal:s})}}):eu.create()}eM.create=(e,t)=>new eM({innerType:e,typeName:d.ZodReadonly,...R(t)});let eU={object:em.lazycreate};(a=d||(d={})).ZodString="ZodString",a.ZodNumber="ZodNumber",a.ZodNaN="ZodNaN",a.ZodBigInt="ZodBigInt",a.ZodBoolean="ZodBoolean",a.ZodDate="ZodDate",a.ZodSymbol="ZodSymbol",a.ZodUndefined="ZodUndefined",a.ZodNull="ZodNull",a.ZodAny="ZodAny",a.ZodUnknown="ZodUnknown",a.ZodNever="ZodNever",a.ZodVoid="ZodVoid",a.ZodArray="ZodArray",a.ZodObject="ZodObject",a.ZodUnion="ZodUnion",a.ZodDiscriminatedUnion="ZodDiscriminatedUnion",a.ZodIntersection="ZodIntersection",a.ZodTuple="ZodTuple",a.ZodRecord="ZodRecord",a.ZodMap="ZodMap",a.ZodSet="ZodSet",a.ZodFunction="ZodFunction",a.ZodLazy="ZodLazy",a.ZodLiteral="ZodLiteral",a.ZodEnum="ZodEnum",a.ZodEffects="ZodEffects",a.ZodNativeEnum="ZodNativeEnum",a.ZodOptional="ZodOptional",a.ZodNullable="ZodNullable",a.ZodDefault="ZodDefault",a.ZodCatch="ZodCatch",a.ZodPromise="ZodPromise",a.ZodBranded="ZodBranded",a.ZodPipeline="ZodPipeline",a.ZodReadonly="ZodReadonly";let ez=(e,t={message:`Input not instance of ${e.name}`})=>eF(t=>t instanceof e,t),eV=et.create,eB=er.create,eW=eR.create,eK=ei.create,eJ=ea.create,eH=es.create,eY=en.create,eG=eo.create,eX=ed.create,eQ=eu.create,e0=el.create,e1=ec.create,e9=eh.create,e4=ep.create,e2=em.create,e3=em.strictCreate,e5=ef.create,e6=ey.create,e7=ev.create,e8=e_.create,te=ew.create,tt=eb.create,tr=ex.create,ti=ek.create,ta=eZ.create,ts=eE.create,tn=eS.create,to=eI.create,td=eO.create,tu=eA.create,tl=eC.create,tc=eN.create,th=eA.createWithPreprocess,tp=e$.create,tm=()=>eV().optional(),tf=()=>eB().optional(),tg=()=>eJ().optional(),ty={string:e=>et.create({...e,coerce:!0}),number:e=>er.create({...e,coerce:!0}),boolean:e=>ea.create({...e,coerce:!0}),bigint:e=>ei.create({...e,coerce:!0}),date:e=>es.create({...e,coerce:!0})};e.s(["BRAND",0,eP,"NEVER",0,T,"Schema",0,P,"ZodAny",0,eu,"ZodArray",0,ep,"ZodBigInt",0,ei,"ZodBoolean",0,ea,"ZodBranded",0,eq,"ZodCatch",0,eD,"ZodDate",0,es,"ZodDefault",0,ej,"ZodDiscriminatedUnion",0,ey,"ZodEffects",0,eA,"ZodEnum",0,eS,"ZodFirstPartyTypeKind",0,d,"ZodFunction",0,ek,"ZodIntersection",0,ev,"ZodLazy",0,eZ,"ZodLiteral",0,eE,"ZodMap",0,eb,"ZodNaN",0,eR,"ZodNativeEnum",0,eI,"ZodNever",0,ec,"ZodNull",0,ed,"ZodNullable",0,eN,"ZodNumber",0,er,"ZodObject",0,em,"ZodOptional",0,eC,"ZodPipeline",0,e$,"ZodPromise",0,eO,"ZodReadonly",0,eM,"ZodRecord",0,ew,"ZodSchema",0,P,"ZodSet",0,ex,"ZodString",0,et,"ZodSymbol",0,en,"ZodTransformer",0,eA,"ZodTuple",0,e_,"ZodType",0,P,"ZodUndefined",0,eo,"ZodUnion",0,ef,"ZodUnknown",0,el,"ZodVoid",0,eh,"any",0,eQ,"array",0,e4,"bigint",0,eK,"boolean",0,eJ,"coerce",0,ty,"custom",0,eF,"date",0,eH,"datetimeRegex",0,ee,"discriminatedUnion",0,e6,"effect",0,tu,"enum",0,tn,"function",0,ti,"instanceof",0,ez,"intersection",0,e7,"late",0,eU,"lazy",0,ta,"literal",0,ts,"map",0,tt,"nan",0,eW,"nativeEnum",0,to,"never",0,e1,"null",0,eX,"nullable",0,tc,"number",0,eB,"object",0,e2,"oboolean",0,tg,"onumber",0,tf,"optional",0,tl,"ostring",0,tm,"pipeline",0,tp,"preprocess",0,th,"promise",0,td,"record",0,te,"set",0,tr,"strictObject",0,e3,"string",0,eV,"symbol",0,eY,"transformer",0,tu,"tuple",0,e8,"undefined",0,eG,"union",0,e5,"unknown",0,e0,"void",0,e9],17958),e.i(17958),e.i(15235),e.s(["BRAND",0,eP,"DIRTY",0,S,"EMPTY_PATH",0,k,"INVALID",0,T,"NEVER",0,T,"OK",0,I,"ParseStatus",0,E,"Schema",0,P,"ZodAny",0,eu,"ZodArray",0,ep,"ZodBigInt",0,ei,"ZodBoolean",0,ea,"ZodBranded",0,eq,"ZodCatch",0,eD,"ZodDate",0,es,"ZodDefault",0,ej,"ZodDiscriminatedUnion",0,ey,"ZodEffects",0,eA,"ZodEnum",0,eS,"ZodError",0,y,"ZodFirstPartyTypeKind",0,d,"ZodFunction",0,ek,"ZodIntersection",0,ev,"ZodIssueCode",0,f,"ZodLazy",0,eZ,"ZodLiteral",0,eE,"ZodMap",0,eb,"ZodNaN",0,eR,"ZodNativeEnum",0,eI,"ZodNever",0,ec,"ZodNull",0,ed,"ZodNullable",0,eN,"ZodNumber",0,er,"ZodObject",0,em,"ZodOptional",0,eC,"ZodParsedType",0,p,"ZodPipeline",0,e$,"ZodPromise",0,eO,"ZodReadonly",0,eM,"ZodRecord",0,ew,"ZodSchema",0,P,"ZodSet",0,ex,"ZodString",0,et,"ZodSymbol",0,en,"ZodTransformer",0,eA,"ZodTuple",0,e_,"ZodType",0,P,"ZodUndefined",0,eo,"ZodUnion",0,ef,"ZodUnknown",0,el,"ZodVoid",0,eh,"addIssueToContext",0,Z,"any",0,eQ,"array",0,e4,"bigint",0,eK,"boolean",0,eJ,"coerce",0,ty,"custom",0,eF,"date",0,eH,"datetimeRegex",0,ee,"defaultErrorMap",0,v,"discriminatedUnion",0,e6,"effect",0,tu,"enum",0,tn,"function",0,ti,"getErrorMap",0,b,"getParsedType",0,m,"instanceof",0,ez,"intersection",0,e7,"isAborted",0,O,"isAsync",0,N,"isDirty",0,A,"isValid",0,C,"late",0,eU,"lazy",0,ta,"literal",0,ts,"makeIssue",0,x,"map",0,tt,"nan",0,eW,"nativeEnum",0,to,"never",0,e1,"null",0,eX,"nullable",0,tc,"number",0,eB,"object",0,e2,"objectUtil",0,n,"oboolean",0,tg,"onumber",0,tf,"optional",0,tl,"ostring",0,tm,"pipeline",0,tp,"preprocess",0,th,"promise",0,td,"quotelessJson",0,g,"record",0,te,"set",0,tr,"setErrorMap",0,w,"strictObject",0,e3,"string",0,eV,"symbol",0,eY,"transformer",0,tu,"tuple",0,e8,"undefined",0,eG,"union",0,e5,"unknown",0,e0,"util",0,s,"void",0,e9],35907);var tv=e.i(35907),tv=tv,t_=e.i(21597),tw=e.i(39120);let tb=new Set(["a","an","the","of","for","to","and","or","in","on","with","from","by","is","are","be","can","it","its","that","this","as","at","into","via","when","user","users","system"]),tx=e=>(e??"").toLowerCase().replace(/[^a-z0-9]+/g," ").trim(),tk=e=>new Set(tx(e).split(" ").filter(e=>e&&!tb.has(e))),tZ=e=>e.replace(/\\/g,"/").toLowerCase().replace(/^\.\//,""),tE=(e,t)=>{let r=new Set(e.map(tZ));return t.some(e=>r.has(tZ(e)))},tT=(e,t)=>{let r,i;return t.recorded?"unchanged"===t.recorded:tx(e.description)===tx(t.description)&&(r=e.criteria,i=t.criteria,r.length===i.length&&JSON.stringify(r.map(tx).sort())===JSON.stringify(i.map(tx).sort()))},tS=tv.string().trim().min(1).max(2e4),tI=tv.array(tS.max(2e3)).min(1).max(30),tO=tv.object({title:tS.max(160),description:tS,criteria:tI}),tA=tv.string().trim().min(1).max(2e3).refine(e=>e.startsWith("https://")||!/^[a-zA-Z][a-zA-Z0-9+.-]*:/.test(e)&&!e.split(/[\/]/).includes(".."),"Cite an https link or a path inside the workspace."),tC=tv.object({category:tv.enum(["missing_scenario","assumption","alternative","acceptance","implementation","research"]),title:tS.max(160),detail:tS.max(5e3),why:tS.max(2e3),basis:tv.enum(["hypothesis","inference","source_supported"]),requirementIds:tv.array(tS.max(100)).max(20),sources:tv.array(tv.object({title:tS.max(300),url:tA})).max(5),suggestedCriteria:tv.array(tS.max(2e3)).max(30)}),tN=tv.object({overview:tv.string().trim().max(2e4).default(""),remaining:tv.array(tv.object({area:tS.max(300),reason:tS.max(1e3)})).max(20).default([]),insights:tv.array(tC).max(20).default([]),status:tv.enum(["needs_input","completed","blocked"]),summary:tS,questions:tv.array(tv.object({question:tS.max(2e3),options:tv.array(tS.max(500)).max(5)})).max(10),requirements:tv.array(tO.extend({sources:tv.array(tv.string().trim().max(400)).max(8).default([]),recorded:tv.enum(["unchanged","differs","new"]).optional(),tickets:tv.array(tO).max(10).default([])})).max(20),tests:tv.array(tS.max(3e3)).max(30),files:tv.array(tS.max(500)).max(100),acceptanceEvidence:tv.array(tv.object({criterionId:tS.max(200),status:tv.enum(["passed","failed","not_tested"]),evidence:tS.max(3e3)})).max(500).default([])}),tj=()=>new Date().toISOString(),tD=e=>{if("owner"!==e.role)throw new h.DomainError("Only the owner can launch, answer, or cancel agent runs.",403)},tR=e=>{if("agent"!==e.role)throw new h.DomainError("A connected runner is required.",403)},tP=e=>JSON.stringify([e.skills??[],(0,t_.projectAgent)(e),e.brief,e.repository,e.design,e.requirements,e.questions,e.changes,e.baselines.map(e=>e.id),(0,u.researchHistory)(e,!1),e.tickets.map(e=>[e.id,e.title,e.description,e.criteria,e.status,e.sourceVersion,e.implementationRevision??0,e.qa,e.evidence,e.qaHistory??[]])]),tq=(e,t)=>{e.updatedAt=tj(),e.events.push({at:e.updatedAt,text:t.slice(0,2e3)}),e.events=e.events.slice(-60)};async function t$(e){let t=e.headers.get("authorization")?.replace(/^Bearer /,"");if(!t)throw new h.DomainError("Provide a project token.",401);let r=await (0,c.db)().prepare("SELECT project_id FROM agent_tokens WHERE hash = ? AND expires_at > ?").bind(await (0,c.hashToken)(t),new Date().toISOString()).first();if(!r)throw new h.DomainError("Agent token expired or revoked.",401);let i=await (0,c.db)().prepare("SELECT * FROM projects WHERE id = ?").bind(r.project_id).first();if(!i)throw new h.DomainError("Project not found.",404);return i}async function tM(e){let t=JSON.parse(e.data);return t.runs=(await (0,c.db)().prepare("SELECT data FROM runs WHERE project_id = ? ORDER BY created_at, id").bind(e.id).all()).results.map(e=>JSON.parse(e.data)),t}async function tL(e,t,r,i){var a;let s,n,o=l(t);if(o.length>15e5)throw new h.DomainError("This project has reached its storage limit. Export it and start a new project.");let{upserts:d,deletes:u}=(a=t.runs??[],s=new Map(i.map(e=>[e.id,JSON.stringify(e)])),n=new Set(a.map(e=>e.id)),{upserts:a.filter(e=>s.get(e.id)!==JSON.stringify(e)),deletes:i.filter(e=>!n.has(e.id)).map(e=>e.id)});for(let e of d)if(JSON.stringify(e).length>4e5)throw new h.DomainError("This run reported more evidence than Accord can store. Start a fresh run.");if(o!==r&&!(await (0,c.db)().prepare("UPDATE projects SET data = ?, revision = revision + 1 WHERE id = ? AND revision = ?").bind(o,e.id,e.revision).run()).meta.changes)throw new h.DomainError("Project updated concurrently; retry the request.",409);let p=[...d.map(t=>(0,c.db)().prepare("INSERT INTO runs (id, project_id, created_at, data) VALUES (?, ?, ?, ?) ON CONFLICT(id) DO UPDATE SET data = excluded.data").bind(t.id,e.id,t.createdAt,JSON.stringify(t))),...u.map(t=>(0,c.db)().prepare("DELETE FROM runs WHERE id = ? AND project_id = ?").bind(t,e.id))];return p.length&&await (0,c.db)().batch(p),t}async function tF(e,t,r){let i=await tM(e),a=l(i),s=structuredClone(i.runs??[]);return tL(e,function(e,t,r){var i,a,s,n;let o=structuredClone(e);o.runs??=[];let d=JSON.stringify({...o,runs:void 0,updatedAt:""});if("launch"===t.type){if(tD(r),!["plan","implement","research","adopt"].includes(t.mode))throw new h.DomainError("Choose a run type.");let e=(0,t_.projectAgent)(o),d=t=>"full"!==e.access&&["research","adopt"].includes(t)?"research":"delivery";if(o.runs.some(e=>["queued","running","awaiting_input"].includes(e.status)&&d(e.mode)===d(t.mode)))throw new h.DomainError(["research","adopt"].includes(t.mode)&&"research"===d(t.mode)?"Finish or cancel the current research or survey run first.":"Finish or cancel the current project run first.");if(o.runs.length>=200)throw new h.DomainError("This project has reached the 200-run limit.");let l="implement"===t.mode?t.ticketId?o.tickets.filter(e=>e.id===t.ticketId):o.tickets.filter(e=>["Ready","In progress","In review"].includes(e.status)):[];if("implement"===t.mode){let e=(0,tw.implementBlockers)(o,l.map(e=>e.id));if(e.length)throw new h.DomainError("Before an implementation run: "+(0,tw.blockerText)(e))}if("implement"===t.mode){let e,t=(i=o,a=l.map(e=>e.id),e=new Set(i.tickets.filter(e=>a.includes(e.id)).map(e=>e.requirementId)),[...i.questions.filter(t=>!t.answer&&(!t.requirementId||e.has(t.requirementId))).map(e=>({kind:"question",text:e.text,tab:"questions"})),...i.changes.filter(t=>"pending"===t.status&&e.has(t.requirementId)).map(e=>({kind:"change",text:`${e.code}: ${e.title}`,tab:"changes"}))]);if(t.length)throw new h.DomainError("Resolve the delivery agreement before coding: "+t.slice(0,3).map(e=>e.text).join("; "))}let c="adopt"===t.mode?tS.max(200).optional().parse(t.area&&String(t.area).replace(/^[\/]+|[\/]+$/g,"").trim()||void 0):void 0;if(c&&(c.includes("..")||/^[a-zA-Z]:/.test(c)))throw new h.DomainError("Give a folder inside the workspace, such as services/billing.");let p={...o,tickets:"implement"===t.mode?l:o.tickets};o.runs.push({..."research"===t.mode?{researchScope:(0,u.researchScope)(o),insights:[]}:{},..."adopt"===t.mode&&c?{area:c}:{},provider:e.provider,model:e.model,access:e.access,skills:[...o.skills??[]],acceptance:"implement"===t.mode?(s=o,n=l.map(e=>e.id),s.tickets.filter(e=>n.includes(e.id)).flatMap(e=>e.criteria.map((t,r)=>({id:`${e.id}:${e.sourceVersion}:${r+1}`,ticketId:e.id,ticketCode:e.code,requirementCode:s.requirements.find(t=>t.id===e.requirementId)?.code??"Missing requirement",sourceVersion:e.sourceVersion,text:t,index:r+1})))):[],acceptanceEvidence:[],id:crypto.randomUUID(),mode:t.mode,ticketIds:l.map(e=>e.id),status:"queued",createdAt:tj(),updatedAt:tj(),by:r.name,scope:tP(o),context:(0,h.agentContext)(p)+("research"===t.mode?"\nRequirement ID mapping:\n"+o.requirements.map(e=>e.id+" = "+e.code+": "+e.title).join("\n")+"\nPrior research (avoid repeating reviewed findings):\n"+(0,u.researchHistory)(o):""),claim:"",runner:"",leaseUntil:"",sessionId:"",summary:"Waiting for a connected "+(0,t_.providerLabel)(e.provider)+" runner.",questions:[],events:[],tests:[],files:[]})}else{let e=o.runs.find(e=>e.id===t.id);if(!e)throw new h.DomainError("Run not found.",404);if("reviewInsight"===t.type){if(tD(r),!["research","adopt"].includes(e.mode)||"completed"!==e.status)throw new h.DomainError("Only a completed research or survey run has findings to review.");let i=e.insights?.find(e=>e.id===t.insightId);if(!i)throw new h.DomainError("Insight not found.",404);if("open"!==i.disposition)throw new h.DomainError("This insight was already reviewed.");if(!["clarification","requirement","change","guidance","dismissed"].includes(t.decision))throw new h.DomainError("Choose an insight action.");if("dismissed"!==t.decision&&"research"===e.mode&&e.researchScope!==(0,u.researchScope)(o)&&!0!==t.acknowledgeStale)throw new h.DomainError("Source context changed. Review this insight against the current project and acknowledge before using it.");let a=("adopt"===e.mode?"Raised from a survey of the existing system. ":"Raised from a research review. ")+i.why;"clarification"===t.decision&&(i.targetId=(o=(0,h.applyCommand)(o,{type:"question",text:t.description,requirementId:t.requirementId||""},r)).questions.at(-1).id),"requirement"===t.decision&&(i.targetId=(o=(0,h.applyCommand)(o,{type:"requirement",title:t.title,description:t.description,criteria:t.criteria,priority:"Could",confirmed:!1},r)).requirements.at(-1).id),"change"===t.decision&&(i.targetId=(o=(0,h.applyCommand)(o,{type:"change",title:t.title,description:t.description,criteria:t.criteria,requirementId:t.requirementId,reason:a,effort:""},r)).changes.at(-1).id),i.disposition=t.decision,i.reviewedBy=r.name,i.reviewedAt=tj(),o.runs[o.runs.findIndex(t=>t.id===e.id)]=e,o.activity.unshift({id:crypto.randomUUID(),at:tj(),by:r.name,text:"Reviewed research insight: "+i.title+" - "+t.decision+"."})}else if("reopenInsight"===t.type){if(tD(r),"research"!==e.mode)throw new h.DomainError("Only research insights can be reopened.");let i=e.insights?.find(e=>e.id===t.insightId);if(!i)throw new h.DomainError("Insight not found.",404);if("open"===i.disposition)throw new h.DomainError("This insight is already open for review.");if(i.targetId)throw new h.DomainError("This insight already created a clarification, requirement or change. Withdraw that record instead.");i.disposition="open",delete i.reviewedBy,delete i.reviewedAt,o.activity.unshift({id:crypto.randomUUID(),at:tj(),by:r.name,text:"Reopened research insight for review: "+i.title+"."})}else if("cancel"===t.type){if(tD(r),!["queued","running","awaiting_input"].includes(e.status))throw new h.DomainError("This run has already ended.");e.status="cancelled",e.claim="",e.summary="Cancelled. Any files already written remain in the runner workspace.",tq(e,"Owner cancelled the run.")}else if("answer"===t.type){if(tD(r),"awaiting_input"!==e.status)throw new h.DomainError("This run is not waiting for answers.");for(let r of e.questions.filter(e=>!e.answer)){let e=t.answers?.[r.id];if("string"!=typeof e||!e.trim()||e.length>5e3)throw new h.DomainError("Answer every pending question before continuing.");r.answer=e.trim()}if(e.scope!==tP(o)||"research"===e.mode&&e.researchScope!==(0,u.researchScope)(o))throw new h.DomainError("Project scope changed. Cancel this run and start a fresh one.");e.status="queued",e.summary="Answers saved. Waiting for the runner to resume.",tq(e,"Owner answered the questions.")}else if("claim"===t.type){if(tR(r),"research"===e.mode&&1!==t.researchProtocol)throw new h.DomainError("Update the local runner to support read-only research before claiming this run.",409);if(!(Array.isArray(t.providers)?t.providers:["codex"]).includes(e.provider??"codex"))throw new h.DomainError("This project runs on "+(0,t_.providerLabel)(e.provider??"codex")+". Start a runner with that CLI installed, or change the execution agent for this project.",409);if("queued"!==e.status)throw new h.DomainError("Run already claimed or no longer queued.",409);if(e.scope!==tP(o)||"research"===e.mode&&e.researchScope!==(0,u.researchScope)(o))throw new h.DomainError("Project scope changed. Cancel this run and start a fresh one.",409);e.claim=tS.max(100).parse(t.claim),e.runner=tS.max(100).parse(t.runner),e.status="running",e.leaseUntil=new Date(Date.now()+9e4).toISOString(),e.summary=e.sessionId?"Resuming "+(0,t_.providerLabel)(e.provider??"codex")+" with your answers.":(0,t_.providerLabel)(e.provider??"codex")+" is starting.",tq(e,e.summary)}else{if(tR(r),"running"!==e.status||!e.claim||e.claim!==t.claim||Date.parse(e.leaseUntil)<Date.now())throw new h.DomainError("This runner claim expired or was cancelled.",409);if(t.sessionId){if(e.sessionId&&e.sessionId!==t.sessionId)throw new h.DomainError("The agent session changed unexpectedly.");e.sessionId=tS.max(100).parse(t.sessionId)}if("heartbeat"===t.type)e.leaseUntil=new Date(Date.now()+9e4).toISOString(),t.message&&tq(e,tS.max(2e3).parse(t.message));else if("fail"===t.type)e.status="failed",e.summary=tS.parse(t.message),e.claim="",tq(e,e.summary);else if("result"===t.type){let r=tN.safeParse(t.result);if(!r.success)throw new h.DomainError((0,t_.providerLabel)(e.provider??"codex")+" returned a result that does not fit the agreed shape: "+r.error.issues.slice(0,3).map(e=>(e.path.join(".")||"(whole result)")+" — "+e.message).join("; ")+(r.error.issues.length>3?`; and ${r.error.issues.length-3} more.`:"."));let i=r.data;if(e.scope!==tP(o)||"research"===e.mode&&e.researchScope!==(0,u.researchScope)(o))return e.status="failed",e.summary="Scope changed during execution. Review local changes; this result was not applied.",e.claim="",o;if(e.summary=i.summary,e.tests=i.tests,e.files=i.files,"implement"===e.mode&&(e.acceptanceEvidence=function(e,t){let r=new Set(e.map(e=>e.id)),i=new Set;for(let e of t){if(!r.has(e.criterionId))throw new h.DomainError("Unknown acceptance criterion in Codex evidence.");if(i.has(e.criterionId))throw new h.DomainError("Duplicate acceptance criterion evidence.");if(i.add(e.criterionId),!["passed","failed","not_tested"].includes(e.status)||!e.evidence.trim())throw new h.DomainError("Each reported criterion needs a status and evidence or an explicit reason it was not tested.")}return e.map(e=>t.find(t=>t.criterionId===e.id)??{criterionId:e.id,status:"not_tested",evidence:"No criterion-specific evidence was supplied. A general test report does not establish this behaviour."})}(e.acceptance??[],i.acceptanceEvidence)),"needs_input"===i.status){if(!e.sessionId)throw new h.DomainError("A saved agent session is required before asking questions.");if(!i.questions.length||e.questions.length+i.questions.length>40)throw new h.DomainError((0,t_.providerLabel)(e.provider??"codex")+" must provide between 1 and 10 questions; at most 40 per run.");e.questions.push(...i.questions.map(e=>({...e,id:crypto.randomUUID(),answer:""}))),e.status="awaiting_input"}else if("blocked"===i.status)e.status="failed";else{if(i.questions.length)throw new h.DomainError("A completed run cannot have unanswered questions.");if("research"===e.mode){if(i.requirements.length||i.files.length)throw new h.DomainError("Research must return insights only, without generated requirements or files.");for(let e of i.insights){if(e.requirementIds.some(e=>!o.requirements.some(t=>t.id===e)))throw new h.DomainError("Research references an unknown requirement.");if("source_supported"===e.basis&&!e.sources.length)throw new h.DomainError("Source-supported insights need a source.")}e.insights=i.insights.map(e=>({...e,id:crypto.randomUUID(),disposition:"open"})),e.tests=[],e.files=[]}else if("adopt"===e.mode){let t;if(i.files.length)throw new h.DomainError("A survey reads the code; it must not change files.");if(!i.overview&&!i.requirements.length)throw new h.DomainError("A survey must return an overview of the system, requirements describing it, or both.");let r={id:"codex",name:(0,t_.providerLabel)(e.provider??"codex")+" survey",role:"owner"};i.overview&&(o=(0,h.applyCommand)(o,{type:"overview",text:i.overview},r));let a=function(e,t){let r={fresh:[],updates:[],proposals:[],unchanged:[]},i=new Set(e.baselines.flatMap(e=>e.requirements.map(e=>e.id))),a=new Set(e.tickets.map(e=>e.requirementId)),s=new Set;for(let n of t){let t=function(e,t){let r=tx(t.title),i=tk(t.title),a=t.sources??[],s=e.filter(e=>tx(e.title)===r);if(1===s.length)return s[0];if(s.length>1)return null;let n=null,o=0;for(let t of e){let e=function(e,t){if(!e.size||!t.size)return 0;let r=0;for(let i of e)t.has(i)&&r++;return r/new Set([...e,...t]).size}(i,tk(t.title));e>=.6&&a.length&&tE(t.sources??[],a)&&e>o&&(n=t,o=e)}return n}(e.requirements.filter(e=>!s.has(e.id)),n);if(!t){r.fresh.push(n);continue}s.add(t.id);let o={id:t.id,code:t.code,item:n};tT(t,n)?r.unchanged.push({id:t.id,code:t.code,sources:n.sources??[]}):t.confirmed||i.has(t.id)||a.has(t.id)?r.proposals.push(o):r.updates.push(o)}return r}(o,i.requirements);for(let e of a.fresh)o=(0,h.applyCommand)(o,{type:"requirement",title:e.title,description:e.description,criteria:e.criteria,sources:e.sources,priority:"Must",confirmed:!1},r);for(let e of a.updates)o=(0,h.applyCommand)(o,{type:"requirement",id:e.id,title:e.item.title,description:e.item.description,criteria:e.item.criteria,sources:e.item.sources,priority:"Must",confirmed:!1},r);for(let e of a.proposals)o=(0,h.applyCommand)(o,{type:"change",requirementId:e.id,title:"Survey found "+e.code+" differs from the code",description:e.item.description,criteria:e.item.criteria,reason:"A survey of the existing system read this behaviour differently from what is recorded. Accept it if the code is right; reject it if the requirement is."},r);for(let e of a.unchanged){let t=o.requirements.find(t=>t.id===e.id);t&&(0,h.learnSources)(t,e.sources)}t=[],a.fresh.length&&t.push(`${a.fresh.length} new`),a.updates.length&&t.push(`${a.updates.length} updated`),a.proposals.length&&t.push(`${a.proposals.length} proposed as ${1===a.proposals.length?"a change":"changes"}`),a.unchanged.length&&t.push(`${a.unchanged.length} already recorded`),e.reconciliation=t.length?t.join(", ")+".":"Nothing to record.",e.insights=i.insights.map(e=>({...e,id:crypto.randomUUID(),disposition:"open"})),e.remaining=i.remaining,e.tests=[],e.files=[]}else if("plan"===e.mode){if(!i.requirements.length)throw new h.DomainError("A plan must contain requirements and tickets.");if(i.requirements.some(e=>!e.tickets.length))throw new h.DomainError("A plan needs at least one implementation ticket per requirement.");let t={id:"codex",name:(0,t_.providerLabel)(e.provider??"codex")+" draft plan",role:"owner"};for(let r of i.requirements){let i=(o=(0,h.applyCommand)(o,{type:"requirement",title:r.title,description:r.description,criteria:r.criteria,priority:"Must",confirmed:!1},t)).requirements.at(-1).id;for(let t of r.tickets)o=(0,h.applyCommand)(o,{type:"proposeTicket",requirementId:i,...t},{id:"codex",name:(0,t_.providerLabel)(e.provider??"codex"),role:"agent"})}}else for(let t of e.ticketIds)(o=(0,h.applyCommand)(o,{type:"report",id:t,files:i.files,text:(i.summary+"\n\nTests reported by "+(0,t_.providerLabel)(e.provider??"codex")+":\n"+i.tests.join("\n")+"\n\nFiles:\n"+i.files.join("\n")).slice(0,14e3)+"\n\nFull evidence: AI connection → run "+e.id},{id:"codex",name:(0,t_.providerLabel)(e.provider??"codex")+" runner",role:"agent"})).tickets.find(e=>e.id===t).status="In review";"implement"===e.mode&&(e.evidenceScopes=Object.fromEntries(e.ticketIds.map(e=>{var t;let r;return[e,(r=(t=o).tickets.find(t=>t.id===e),JSON.stringify([t.skills??[],t.brief,t.repository,t.design,t.requirements.find(e=>e.id===r?.requirementId),t.questions.filter(e=>!e.requirementId||e.requirementId===r?.requirementId),r?.title,r?.description,r?.criteria,r?.implementationRevision??0]))]}))),e.status="completed"}e.claim="",tq(e,"awaiting_input"===e.status?"Waiting for your answer.":(0,t_.providerLabel)(e.provider??"codex")+" returned a result for review."),o.runs[o.runs.findIndex(t=>t.id===e.id)]=e}else throw new h.DomainError("Unknown runner action.")}}return JSON.stringify({...o,runs:void 0,updatedAt:""})!==d&&(o.updatedAt=tj()),o}(i,t,r),a,s)}async function tU(e){let t=await tM(e),r=l(t),i=structuredClone(t.runs??[]);return function(e){let t=!1;for(let r of e.runs??[])"running"===r.status&&Date.parse(r.leaseUntil)<Date.now()&&(r.status="failed",r.claim="",r.summary="Runner disconnected. Check its local files before starting another run.",tq(r,r.summary),t=!0);return t}(t)&&await tL(e,t,r,i),t}e.s(["freshRuns",0,tU,"publicRuns",0,e=>(e.runs??[]).map(({claim:t,scope:r,context:i,researchScope:a,...s})=>({...s,..."research"===s.mode?{researchStale:a!==(0,u.researchScope)(e)}:{}})),"runCommand",0,tF,"runnerAccess",0,t$,"withRuns",0,tM],19837)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=lib_accord_run-server_ts_1b1ff99._.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
module.exports=[15176,e=>{"use strict";var r=e.i(12714),t=e.i(50227),n=e.i(60526);let a=(e=process.env)=>e.ACCORD_HOME??t.default.join(n.default.homedir(),".accord"),i=(e=process.env)=>t.default.join(a(e),"runner.json");async function c(e=process.env){try{let t=JSON.parse(await (0,r.readFile)(i(e),"utf8"));return{projects:Array.isArray(t.projects)?t.projects:[]}}catch{return{projects:[]}}}async function s(e,t=process.env){return await (0,r.mkdir)(a(t),{recursive:!0}),await (0,r.writeFile)(i(t),JSON.stringify(e,null,1),{mode:384}),i(t)}let o=(e=process.env)=>t.default.join(a(e),"runner.pid"),l=e=>{try{return process.kill(e,0),!0}catch(e){return"EPERM"===e.code}};async function u(e=process.env){try{let t=Number((await (0,r.readFile)(o(e),"utf8")).trim());return t&&l(t)?t:0}catch{return 0}}async function d(e,t=process.env){await (0,r.mkdir)(a(t),{recursive:!0}),await (0,r.writeFile)(o(t),String(e))}e.s(["accordHome",0,a,"configPath",0,i,"daemonPath",0,o,"defaultWorkspace",0,(e,r=process.env)=>t.default.join(a(r),"workspaces",(e.name??e.projectId??"project").replace(/[^a-zA-Z0-9]+/g,"-").replace(/^-|-$/g,"").toLowerCase()||"project"),"describeConfig",0,function(e){return e.projects.length?e.projects.map(e=>`${e.name??e.projectId} → ${e.workspace}`).join("\n"):"No projects configured yet."},"isAlive",0,l,"mergeProject",0,function(e,r){let t=e.projects.filter(e=>e.projectId!==r.projectId);return t.push({...r}),{...e,projects:t}},"readConfig",0,c,"readDaemon",0,u,"runnerPath",0,(e=process.env)=>t.default.join(a(e),"accord-runner.mjs"),"writeConfig",0,s,"writeDaemon",0,d])},26130,e=>{"use strict";var r=e.i(12714),t=e.i(74533),n=e.i(12057),a=e.i(50227),i=e.i(15176);let c=(0,n.promisify)(t.execFile);function s(e,{node:r,script:t,home:n}){let i="win32"===e?a.default.win32.join:a.default.posix.join;return"win32"===e?{kind:"Startup folder",file:i(n.appData,"Microsoft","Windows","Start Menu","Programs","Startup","accord-runner.cmd"),contents:`@echo off\r
|
|
2
|
+
start "Accord runner" /min "${r}" "${t}" --serve\r
|
|
3
|
+
`}:"darwin"===e?{kind:"launchd agent",file:i(n.dir,"Library","LaunchAgents","dev.accord.runner.plist"),contents:`<?xml version="1.0" encoding="UTF-8"?>
|
|
4
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
5
|
+
<plist version="1.0"><dict>
|
|
6
|
+
<key>Label</key><string>dev.accord.runner</string>
|
|
7
|
+
<key>ProgramArguments</key><array><string>${r}</string><string>${t}</string><string>--serve</string></array>
|
|
8
|
+
<key>RunAtLoad</key><true/>
|
|
9
|
+
<key>KeepAlive</key><true/>
|
|
10
|
+
</dict></plist>
|
|
11
|
+
`,activate:["launchctl",["load","-w",i(n.dir,"Library","LaunchAgents","dev.accord.runner.plist")]],deactivate:["launchctl",["unload","-w",i(n.dir,"Library","LaunchAgents","dev.accord.runner.plist")]]}:{kind:"systemd user service",file:i(n.config,"systemd","user","accord-runner.service"),contents:`[Unit]
|
|
12
|
+
Description=Accord runner
|
|
13
|
+
|
|
14
|
+
[Service]
|
|
15
|
+
ExecStart=${r} ${t} --serve
|
|
16
|
+
Restart=always
|
|
17
|
+
RestartSec=10
|
|
18
|
+
|
|
19
|
+
[Install]
|
|
20
|
+
WantedBy=default.target
|
|
21
|
+
`,activate:["systemctl",["--user","enable","--now","accord-runner.service"]],deactivate:["systemctl",["--user","disable","--now","accord-runner.service"]]}}let o=(e=process.env,r=process.platform,t="")=>{let n="win32"===r?a.default.win32.join:a.default.posix.join;return{dir:t,appData:e.APPDATA??n(t,"AppData","Roaming"),config:e.XDG_CONFIG_HOME??n(t,".config")}};async function l({scriptPath:e,env:t=process.env,platform:n=process.platform,homedir:u,node:d=process.execPath,run:p=c}){let f=(0,i.runnerPath)(t);await (0,r.mkdir)((0,i.accordHome)(t),{recursive:!0}),a.default.resolve(e)!==a.default.resolve(f)&&await (0,r.copyFile)(e,f);let v=s(n,{node:d,script:f,home:o(t,n,u)});await (0,r.mkdir)(a.default.dirname(v.file),{recursive:!0}),await (0,r.writeFile)(v.file,v.contents);let m=!0,y="";if(v.activate)try{await p(v.activate[0],v.activate[1])}catch(e){m=!1,y=e.message}return{stable:f,plan:v,activated:m,problem:y}}async function u({env:e=process.env,platform:t=process.platform,homedir:n,node:a=process.execPath,run:l=c}){let d=s(t,{node:a,script:(0,i.runnerPath)(e),home:o(e,t,n)});if(d.deactivate)try{await l(d.deactivate[0],d.deactivate[1])}catch{}return await (0,r.rm)(d.file,{force:!0}),d}e.s(["installSelf",0,l,"uninstallSelf",0,u])}];
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=runner_1v-wy_w._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[33082,e=>{"use strict";var o=e.i(12714),t=e.i(50227),r=e.i(99467);let n=[22,13];async function a({url:e,workspace:n,env:s=process.env,version:i=process.versions.node,fetchImpl:c=fetch}){let[d,h]=i.split(".").map(Number),l={node:[d,h],providers:await (0,r.availableProviders)(s),tokenPresent:!!s.ACCORD_TOKEN};if(n){let e={exists:!1,boundTo:"",locked:!1};try{e.exists=(await (0,o.stat)(n)).isDirectory()}catch{}if(e.exists){try{e.boundTo=(await (0,o.readFile)(t.default.join(n,".accord-project"),"utf8")).trim()}catch{}try{e.locked=(await (0,o.stat)(t.default.join(n,".accord-runner.lock"))).isFile()}catch{}}l.workspace=e}if(e&&l.tokenPresent){let o={"Content-Type":"application/json",Authorization:"Bearer "+s.ACCORD_TOKEN};s.ACCORD_SITES_TOKEN&&(o["OAI-Sites-Authorization"]="Bearer "+s.ACCORD_SITES_TOKEN),s.ACCORD_SITE_COOKIE&&(o.Cookie=s.ACCORD_SITE_COOKIE);try{let t=await c(new URL("/api/runner",e),{method:"POST",headers:o,body:JSON.stringify({type:"poll"}),redirect:"error",signal:AbortSignal.timeout(15e3)}),r=t.headers.get("content-type")??"";if(l.server=t.ok?"ok":(t.status,r.includes("json")?"unauthorised":"gated"),t.ok&&!r.includes("json")&&(l.server="gated"),"ok"===l.server&&l.workspace)try{l.workspace.expectProject=(await t.json()).projectId??""}catch{}}catch{l.server="unreachable"}}return l}e.s(["checkReport",0,function(e){return e.map(e=>`${e.ok?"ok ":"FAIL"} ${e.name}: ${e.detail}${e.ok?"":"\n → "+e.fix}`).join("\n")+"\n\n"+(e.every(e=>e.ok)?e.some(e=>"Accord server"===e.name)?"Ready. Start the runner with the same --url and --workspace.":"This machine looks ready. Add --url to check the server, the token, and the project this folder belongs to.":"Fix the items marked FAIL, then run the check again.")},"gatherFacts",0,a,"runnerChecks",0,function(e){let o=[],[t,r]=e.node;return o.push(t>n[0]||t===n[0]&&r>=n[1]?{name:"Node version",ok:!0,detail:`Node ${t}.${r}`}:{name:"Node version",ok:!1,detail:`Node ${t}.${r}`,fix:`Accord needs Node ${n.join(".")} or newer. Node 24 is recommended.`}),o.push(e.providers.length?{name:"Coding agent",ok:!0,detail:"Found "+e.providers.join(" and ")}:{name:"Coding agent",ok:!1,detail:"No provider CLI found",fix:"Install and sign into the Codex CLI or Claude Code, and make sure it is on PATH. A project runs on whichever agent it selects, so install the one that project uses."}),o.push(e.tokenPresent?{name:"Project token",ok:!0,detail:"ACCORD_TOKEN is set"}:{name:"Project token",ok:!1,detail:"ACCORD_TOKEN is not set",fix:"Open the project in Accord, go to AI connection, and download the runner for this machine. The download carries the token, so there is nothing to set by hand."}),e.workspace&&o.push(e.workspace.exists?e.workspace.boundTo&&e.workspace.boundTo!==e.workspace.expectProject&&e.workspace.expectProject?{name:"Workspace",ok:!1,detail:`Bound to project ${e.workspace.boundTo}`,fix:"This folder already belongs to a different Accord project. Use that project, or choose another folder."}:{name:"Workspace",ok:!0,detail:e.workspace.boundTo?`Bound to project ${e.workspace.boundTo}`:"Not yet bound to a project"}:{name:"Workspace",ok:!1,detail:"Folder not found",fix:"Create the folder, or point --workspace at the repository the agent should work in."}),e.workspace?.locked&&o.push({name:"Another runner",ok:!1,detail:"A runner already holds this workspace",fix:"Stop the other runner, or use a different folder. One runner works one folder at a time."}),e.server&&o.push({ok:{name:"Accord server",ok:!0,detail:"Reachable, token accepted"},unauthorised:{name:"Accord server",ok:!1,detail:"The server rejected the token",fix:"The token is wrong, expired or revoked. Issue a fresh one on the AI connection screen."},gated:{name:"Accord server",ok:!1,detail:"The hosting gate answered instead of Accord",fix:"This deployment is private. Set ACCORD_SITE_COOKIE or ACCORD_SITES_TOKEN so the runner can pass the gate."},unreachable:{name:"Accord server",ok:!1,detail:"Could not reach the server",fix:"Check the --url value and your network. Remote servers must use HTTPS."}}[e.server]??{name:"Accord server",ok:!1,detail:"Unexpected response",fix:"Check the --url value."}),o}])}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=runner_check_mjs_0poxsgb._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[15176,e=>{"use strict";var r=e.i(12714),t=e.i(50227),n=e.i(60526);let o=(e=process.env)=>e.ACCORD_HOME??t.default.join(n.default.homedir(),".accord"),c=(e=process.env)=>t.default.join(o(e),"runner.json");async function a(e=process.env){try{let t=JSON.parse(await (0,r.readFile)(c(e),"utf8"));return{projects:Array.isArray(t.projects)?t.projects:[]}}catch{return{projects:[]}}}async function i(e,t=process.env){return await (0,r.mkdir)(o(t),{recursive:!0}),await (0,r.writeFile)(c(t),JSON.stringify(e,null,1),{mode:384}),c(t)}let s=(e=process.env)=>t.default.join(o(e),"runner.pid"),u=e=>{try{return process.kill(e,0),!0}catch(e){return"EPERM"===e.code}};async function p(e=process.env){try{let t=Number((await (0,r.readFile)(s(e),"utf8")).trim());return t&&u(t)?t:0}catch{return 0}}async function d(e,t=process.env){await (0,r.mkdir)(o(t),{recursive:!0}),await (0,r.writeFile)(s(t),String(e))}e.s(["accordHome",0,o,"configPath",0,c,"daemonPath",0,s,"defaultWorkspace",0,(e,r=process.env)=>t.default.join(o(r),"workspaces",(e.name??e.projectId??"project").replace(/[^a-zA-Z0-9]+/g,"-").replace(/^-|-$/g,"").toLowerCase()||"project"),"describeConfig",0,function(e){return e.projects.length?e.projects.map(e=>`${e.name??e.projectId} → ${e.workspace}`).join("\n"):"No projects configured yet."},"isAlive",0,u,"mergeProject",0,function(e,r){let t=e.projects.filter(e=>e.projectId!==r.projectId);return t.push({...r}),{...e,projects:t}},"readConfig",0,a,"readDaemon",0,p,"runnerPath",0,(e=process.env)=>t.default.join(o(e),"accord-runner.mjs"),"writeConfig",0,i,"writeDaemon",0,d])}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=runner_config_mjs_02q6n0r._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},29691,a=>{"use strict";var b=a.i(7997),c=a.i(44473),d=a.i(94474),e=a.i(95936);let f=(0,d.pageMetadata)(d.overview);a.s(["default",0,function(){return(0,b.jsxs)(c.PublicShell,{page:d.overview,children:[(0,b.jsxs)("section",{className:"public-hero",children:[(0,b.jsx)("p",{className:"public-kicker",children:"SOFTWARE REQUIREMENTS · AI DEVELOPMENT · QA"}),(0,b.jsxs)("h1",{children:["A shared agreement.",(0,b.jsx)("br",{}),(0,b.jsx)("em",{children:"A clearer way to build."})]}),(0,b.jsx)("p",{className:"public-lead",children:"Turn software requests into agreed requirements, linked tickets and acceptance tests. Give your team—and Codex—the context to build the right thing."}),(0,b.jsxs)("div",{className:"public-actions",children:[(0,b.jsx)(e.default,{className:"button primary",href:"/",children:"Open Accord"}),(0,b.jsx)(e.default,{href:"/guides/software-requirements-template",children:"Start with a requirements template →"})]}),(0,b.jsx)("p",{className:"public-caption",children:"For developers, product owners, agencies and QA teams. Accord is in its first edition; access currently depends on the site’s sharing settings."})]}),(0,b.jsxs)("section",{className:"public-section",children:[(0,b.jsx)("p",{className:"public-kicker",children:"FROM REQUEST TO ACCEPTANCE"}),(0,b.jsx)("h2",{children:"Keep the why connected to the work."}),(0,b.jsx)("div",{className:"public-grid",children:[["01","Clarify the request","Capture the original brief, refine requirements and resolve questions. Give each feature acceptance criteria that a developer and tester can use."],["02","Agree on scope","Record an approved baseline. Track proposed changes with their reasons and preserve the agreement that existed before them."],["03","Build with context","Create linked PBIs, assign developers and export implementation briefs. Connect a local Codex runner to plan or implement approved work and surface clarifying questions."],["04","Verify the result","Record QA per acceptance criterion, preserve test history and return failures to the next implementation run. Reports and completion approval stay separate."]].map(([a,c,d])=>(0,b.jsxs)("article",{children:[(0,b.jsx)("span",{className:"public-number",children:a}),(0,b.jsx)("h3",{children:c}),(0,b.jsx)("p",{children:d})]},a))})]}),(0,b.jsxs)("section",{className:"public-band",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"public-kicker",children:"A RECORD YOUR CODING AGENT CAN USE"}),(0,b.jsx)("h2",{children:"Bring the agreement into AI-assisted development."})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{children:"ChatGPT and Codex can already help you write specs and code. Accord keeps approved requirements, decisions, tickets, change history and QA feedback together so each implementation has a clear reference."}),(0,b.jsx)("p",{children:"Select common development skills such as TDD, review what the runner actually used, answer its questions and verify its output against the feature’s criteria."}),(0,b.jsx)(e.default,{href:"/guides/ai-development-change-requests",children:"Explore the change and rework process →"})]})]}),(0,b.jsxs)("section",{className:"public-section",children:[(0,b.jsx)("h2",{children:"Practical guidance for better specifications."}),(0,b.jsx)("div",{className:"public-guide-list",children:d.guides.map(a=>(0,b.jsxs)("article",{children:[(0,b.jsx)("h3",{children:(0,b.jsxs)("a",{href:`/guides/${a.slug}`,children:[a.title," →"]})}),(0,b.jsx)("p",{children:a.description})]},a.slug))})]}),(0,b.jsxs)("section",{className:"public-section public-faq",children:[(0,b.jsx)("h2",{children:"Questions before you start."}),[["Is Accord only for website projects?","No. Requirements, tickets, changes and acceptance criteria can describe web, mobile, backend or other software projects. The implementation environment still needs the tools required for the project."],["Does Accord replace ChatGPT or Codex?","Accord provides shared requirements and delivery records. A connected coding agent can use that context to help plan and implement work; your team remains responsible for decisions and verification."],["Does AI-generated code automatically complete a ticket?","No. Implementation reports and AI evidence are recorded separately from QA. Completion requires passing acceptance criteria and recorded test evidence."],["Do selected skills install automatically?","No. Skills must be available to the connected runner. Missing skills should be raised as questions before coding; selection alone is not proof of compliance."],["Are my project specifications published with these guides?","These pages contain general product information and examples. Workspace data is served through authenticated, project-authorised APIs. Product guides do not include customer projects."]].map(([a,c])=>(0,b.jsxs)("details",{children:[(0,b.jsx)("summary",{children:a}),(0,b.jsx)("p",{children:c})]},a))]})]})},"metadata",0,f])},36124,function(a){a.n(a.i(29691))},44473,a=>{"use strict";var b=a.i(7997),c=a.i(94474),d=a.i(95936);a.s(["PublicShell",0,function({page:a,children:e}){return(0,b.jsxs)("div",{className:"public-site",children:[(0,b.jsx)("a",{className:"public-skip",href:"#content",children:"Skip to content"}),(0,b.jsxs)("header",{className:"public-header",children:[(0,b.jsxs)("a",{className:"public-brand",href:"/about","aria-label":"Accord product overview",children:[(0,b.jsx)("span",{className:"brand-mini","aria-hidden":"true",children:"a"}),"accord"]}),(0,b.jsxs)("nav",{"aria-label":"Main navigation",children:[(0,b.jsx)("a",{href:"/about",children:"Product"}),(0,b.jsx)(d.default,{href:"/guides",children:"Guides"}),(0,b.jsx)(d.default,{className:"button primary",href:"/",children:"Open workspace"})]})]}),(0,b.jsx)("main",{id:"content",children:e}),(0,b.jsxs)("footer",{className:"public-footer",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("strong",{children:"Accord"}),(0,b.jsx)("p",{children:"Requirements, agreed. Delivery, verified."}),(0,b.jsx)(d.default,{href:"/",children:"Open your workspace →"})]}),(0,b.jsxs)("nav",{"aria-label":"Resource links",children:[(0,b.jsx)("a",{href:"/about",children:"Software requirements management"}),c.guides.map(a=>(0,b.jsx)("a",{href:`/guides/${a.slug}`,children:a.title},a.slug))]})]}),(0,b.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify((0,c.structuredData)(a)).replace(/</g,"\\u003c")}})]})}])},64240,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},84707,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/client/app-dir/link.js"))},97647,a=>{"use strict";var b=a.i(84707);a.n(b)},95936,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={default:function(){return i},useLinkStatus:function(){return h.useLinkStatus}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(64240),g=a.r(7997),h=f._(a.r(97647));function i(a){let b=a.legacyBehavior,c="string"==typeof a.children||"number"==typeof a.children||"string"==typeof a.children?.type,d=a.children?.type?.$$typeof===Symbol.for("react.client.reference");return!b||c||d||(a.children?.type?.$$typeof===Symbol.for("react.lazy")?console.error("Using a Lazy Component as a direct child of `<Link legacyBehavior>` from a Server Component is not supported. If you need legacyBehavior, wrap your Lazy Component in a Client Component that renders the Link's `<a>` tag."):console.error("Using a Server Component as a direct child of `<Link legacyBehavior>` is not supported. If you need legacyBehavior, wrap your Server Component in a Client Component that renders the Link's `<a>` tag.")),(0,g.jsx)(h.default,{...a})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},14094,a=>{"use strict";var b=a.i(12948),c=a.i(67436),d=a.i(94331);a.i(70408);let e=(0,b.instrumentModuleGetter)(()=>a.r(70864)),f=(0,b.instrumentModuleGetter)(()=>a.r(43619)),g=(0,b.instrumentModuleGetter)(()=>a.r(13718)),h=(0,b.instrumentModuleGetter)(()=>a.r(18198)),i=(0,b.instrumentModuleGetter)(()=>a.r(62212)),j=["",{children:["about",{children:["__PAGE__",{},{metadata:{},page:[(0,b.instrumentModuleGetter)(()=>a.r(36124)),"[project]/app/about/page.tsx"]},[]]},{metadata:{}},[]]},{layout:[e,"[project]/app/layout.tsx"],"not-found":[f,"[project]/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[g,"[project]/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[h,"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[i,"[project]/node_modules/next/dist/client/components/builtin/global-error.js"]},[]],k=a.r.bind(a),l=a.l.bind(a),m=(0,c.createAppPageEntrypoint)({tree:j,page:"/about/page",pathname:"/about",require:k,loadChunk:l,interopDefault:d.interopDefault}),n=m.__next_app__,o=m.routeModule,p=m.handler;a.s(["__next_app__",0,n,"handler",0,p,"routeModule",0,o],49157),a.i(49157);var q=a.i(22922);a.s(["ClientPageRoot",()=>q.ClientPageRoot,"ClientSegmentRoot",()=>q.ClientSegmentRoot,"Fragment",()=>q.Fragment,"HTTPAccessFallbackBoundary",()=>q.HTTPAccessFallbackBoundary,"InstantValidation",()=>q.InstantValidation,"LayoutRouter",()=>q.LayoutRouter,"LoadingBoundaryProvider",()=>q.LoadingBoundaryProvider,"Postpone",()=>q.Postpone,"RenderFromTemplateContext",()=>q.RenderFromTemplateContext,"RootLayoutBoundary",()=>q.RootLayoutBoundary,"SegmentViewNode",()=>q.SegmentViewNode,"SegmentViewStateNode",()=>q.SegmentViewStateNode,"__next_app__",0,n,"captureOwnerStack",()=>q.captureOwnerStack,"collectPrefetchHints",()=>q.collectPrefetchHints,"collectSegmentData",()=>q.collectSegmentData,"createElement",()=>q.createElement,"createMetadataComponents",()=>q.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>q.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>q.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>q.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>q.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>q.createTemporaryReferenceSet,"decodeAction",()=>q.decodeAction,"decodeFormState",()=>q.decodeFormState,"decodeReply",()=>q.decodeReply,"handler",0,p,"isEmptyHTMLPrelude",()=>q.isEmptyHTMLPrelude,"patchFetch",()=>q.patchFetch,"preconnect",()=>q.preconnect,"preloadFont",()=>q.preloadFont,"preloadStyle",()=>q.preloadStyle,"prerender",()=>q.prerender,"prerenderToNodeStream",()=>q.prerenderToNodeStream,"renderToPipeableStream",()=>q.renderToPipeableStream,"renderToReadableStream",()=>q.renderToReadableStream,"routeModule",0,o,"serverHooks",()=>q.serverHooks,"taintObjectReference",()=>q.taintObjectReference],14094)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0b06nll._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},58071,a=>{"use strict";var b=a.i(7997);a.i(70396);var c=a.i(73727),d=a.i(44473),e=a.i(94474),f=a.i(95936);async function g({params:a}){let{slug:b}=await a,c=e.publicPages.find(a=>a.path===`/guides/${b}`);return c?(0,e.pageMetadata)(c):{title:"Guide not found | Accord",robots:{index:!1,follow:!1}}}async function h({params:a}){let{slug:g}=await a,i=e.guides.find(a=>a.slug===g),j=e.publicPages.find(a=>a.path===`/guides/${g}`);return i&&j||(0,c.notFound)(),(0,b.jsx)(d.PublicShell,{page:j,children:(0,b.jsxs)("article",{className:"public-article",children:[(0,b.jsxs)("nav",{"aria-label":"Breadcrumb",children:[(0,b.jsx)("a",{href:"/about",children:"Accord"})," / ",(0,b.jsx)(f.default,{href:"/guides",children:"Guides"})]}),(0,b.jsxs)("header",{children:[(0,b.jsx)("p",{className:"public-kicker",children:"DEVELOPMENT PRACTICE"}),(0,b.jsx)("h1",{children:i.title}),(0,b.jsx)("p",{className:"public-lead",children:i.intro})]}),(0,b.jsxs)("nav",{className:"public-toc","aria-label":"On this page",children:[(0,b.jsx)("strong",{children:"On this page"}),(0,b.jsx)("ol",{children:i.sections.map((a,c)=>(0,b.jsx)("li",{children:(0,b.jsx)("a",{href:`#section-${c+1}`,children:a.title})},a.title))})]}),i.sections.map((a,c)=>(0,b.jsxs)("section",{id:`section-${c+1}`,children:[(0,b.jsx)("h2",{children:a.title}),(0,b.jsx)("p",{children:a.text}),a.items&&(0,b.jsx)("ul",{children:a.items.map(a=>(0,b.jsx)("li",{children:a},a))})]},a.title)),(0,b.jsxs)("aside",{className:"public-toc",children:[(0,b.jsx)("h2",{children:"Put the process into practice."}),(0,b.jsx)("p",{children:"Keep requirements, decisions, linked tickets and QA evidence together in Accord."}),(0,b.jsx)(f.default,{className:"button primary",href:"/",children:"Open workspace"})]}),(0,b.jsxs)("nav",{"aria-label":"Related guides",children:[(0,b.jsx)("h2",{children:"Keep reading"}),e.guides.filter(a=>a.slug!==g).map(a=>(0,b.jsx)("p",{children:(0,b.jsxs)("a",{href:`/guides/${a.slug}`,children:[a.title," →"]})},a.slug))]})]})})}a.s(["default",0,h,"generateMetadata",0,g,"generateStaticParams",0,function(){return e.guides.map(a=>({slug:a.slug}))}])},30653,function(a){a.n(a.i(58071))},44473,a=>{"use strict";var b=a.i(7997),c=a.i(94474),d=a.i(95936);a.s(["PublicShell",0,function({page:a,children:e}){return(0,b.jsxs)("div",{className:"public-site",children:[(0,b.jsx)("a",{className:"public-skip",href:"#content",children:"Skip to content"}),(0,b.jsxs)("header",{className:"public-header",children:[(0,b.jsxs)("a",{className:"public-brand",href:"/about","aria-label":"Accord product overview",children:[(0,b.jsx)("span",{className:"brand-mini","aria-hidden":"true",children:"a"}),"accord"]}),(0,b.jsxs)("nav",{"aria-label":"Main navigation",children:[(0,b.jsx)("a",{href:"/about",children:"Product"}),(0,b.jsx)(d.default,{href:"/guides",children:"Guides"}),(0,b.jsx)(d.default,{className:"button primary",href:"/",children:"Open workspace"})]})]}),(0,b.jsx)("main",{id:"content",children:e}),(0,b.jsxs)("footer",{className:"public-footer",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("strong",{children:"Accord"}),(0,b.jsx)("p",{children:"Requirements, agreed. Delivery, verified."}),(0,b.jsx)(d.default,{href:"/",children:"Open your workspace →"})]}),(0,b.jsxs)("nav",{"aria-label":"Resource links",children:[(0,b.jsx)("a",{href:"/about",children:"Software requirements management"}),c.guides.map(a=>(0,b.jsx)("a",{href:`/guides/${a.slug}`,children:a.title},a.slug))]})]}),(0,b.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify((0,c.structuredData)(a)).replace(/</g,"\\u003c")}})]})}])},64240,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},84707,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/client/app-dir/link.js"))},97647,a=>{"use strict";var b=a.i(84707);a.n(b)},95936,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={default:function(){return i},useLinkStatus:function(){return h.useLinkStatus}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(64240),g=a.r(7997),h=f._(a.r(97647));function i(a){let b=a.legacyBehavior,c="string"==typeof a.children||"number"==typeof a.children||"string"==typeof a.children?.type,d=a.children?.type?.$$typeof===Symbol.for("react.client.reference");return!b||c||d||(a.children?.type?.$$typeof===Symbol.for("react.lazy")?console.error("Using a Lazy Component as a direct child of `<Link legacyBehavior>` from a Server Component is not supported. If you need legacyBehavior, wrap your Lazy Component in a Client Component that renders the Link's `<a>` tag."):console.error("Using a Server Component as a direct child of `<Link legacyBehavior>` is not supported. If you need legacyBehavior, wrap your Server Component in a Client Component that renders the Link's `<a>` tag.")),(0,g.jsx)(h.default,{...a})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},57110,a=>{"use strict";var b=a.i(12948),c=a.i(67436),d=a.i(94331);a.i(70408);let e=(0,b.instrumentModuleGetter)(()=>a.r(70864)),f=(0,b.instrumentModuleGetter)(()=>a.r(43619)),g=(0,b.instrumentModuleGetter)(()=>a.r(13718)),h=(0,b.instrumentModuleGetter)(()=>a.r(18198)),i=(0,b.instrumentModuleGetter)(()=>a.r(62212)),j=["",{children:["guides",{children:["[slug]",{children:["__PAGE__",{},{metadata:{},page:[(0,b.instrumentModuleGetter)(()=>a.r(30653)),"[project]/app/guides/[slug]/page.tsx"]},[]]},{metadata:{}},[]]},{metadata:{}},[]]},{layout:[e,"[project]/app/layout.tsx"],"not-found":[f,"[project]/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[g,"[project]/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[h,"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[i,"[project]/node_modules/next/dist/client/components/builtin/global-error.js"]},[]],k=a.r.bind(a),l=a.l.bind(a),m=(0,c.createAppPageEntrypoint)({tree:j,page:"/guides/[slug]/page",pathname:"/guides/[slug]",require:k,loadChunk:l,interopDefault:d.interopDefault}),n=m.__next_app__,o=m.routeModule,p=m.handler;a.s(["__next_app__",0,n,"handler",0,p,"routeModule",0,o],67282),a.i(67282);var q=a.i(22922);a.s(["ClientPageRoot",()=>q.ClientPageRoot,"ClientSegmentRoot",()=>q.ClientSegmentRoot,"Fragment",()=>q.Fragment,"HTTPAccessFallbackBoundary",()=>q.HTTPAccessFallbackBoundary,"InstantValidation",()=>q.InstantValidation,"LayoutRouter",()=>q.LayoutRouter,"LoadingBoundaryProvider",()=>q.LoadingBoundaryProvider,"Postpone",()=>q.Postpone,"RenderFromTemplateContext",()=>q.RenderFromTemplateContext,"RootLayoutBoundary",()=>q.RootLayoutBoundary,"SegmentViewNode",()=>q.SegmentViewNode,"SegmentViewStateNode",()=>q.SegmentViewStateNode,"__next_app__",0,n,"captureOwnerStack",()=>q.captureOwnerStack,"collectPrefetchHints",()=>q.collectPrefetchHints,"collectSegmentData",()=>q.collectSegmentData,"createElement",()=>q.createElement,"createMetadataComponents",()=>q.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>q.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>q.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>q.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>q.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>q.createTemporaryReferenceSet,"decodeAction",()=>q.decodeAction,"decodeFormState",()=>q.decodeFormState,"decodeReply",()=>q.decodeReply,"handler",0,p,"isEmptyHTMLPrelude",()=>q.isEmptyHTMLPrelude,"patchFetch",()=>q.patchFetch,"preconnect",()=>q.preconnect,"preloadFont",()=>q.preloadFont,"preloadStyle",()=>q.preloadStyle,"prerender",()=>q.prerender,"prerenderToNodeStream",()=>q.prerenderToNodeStream,"renderToPipeableStream",()=>q.renderToPipeableStream,"renderToReadableStream",()=>q.renderToReadableStream,"routeModule",0,o,"serverHooks",()=>q.serverHooks,"taintObjectReference",()=>q.taintObjectReference],57110)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0fizn_-._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},43285,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/dynamic-access-async-storage.external.js",()=>require("next/dist/server/app-render/dynamic-access-async-storage.external.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},59043,(a,b,c)=>{b.exports=a.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},42602,(a,b,c)=>{"use strict";b.exports=a.r(18622)},9270,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.AppRouterContext},35112,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactDOM},87924,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactJsxRuntime},38783,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactServerDOMTurbopackClient},72131,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].React}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0melyg_._.js.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
module.exports=[18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},43285,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/dynamic-access-async-storage.external.js",()=>require("next/dist/server/app-render/dynamic-access-async-storage.external.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},59043,(a,b,c)=>{b.exports=a.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},33354,(a,b,c)=>{"use strict";c._=function(a){return a&&a.__esModule?a:{default:a}}},69789,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={actionAsyncStorage:function(){return f.actionAsyncStorage},workAsyncStorage:function(){return g.workAsyncStorage},workUnitAsyncStorage:function(){return h.workUnitAsyncStorage}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(20635),g=a.r(56704),h=a.r(32319);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},51234,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"handleISRError",{enumerable:!0,get:function(){return e}});let d=a.r(69789);function e({error:a}){if(d.workAsyncStorage){let b=d.workAsyncStorage.getStore();if(b?.isStaticGeneration)throw a&&console.error(a),a}}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},57068,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={WarningIcon:function(){return i},errorStyles:function(){return g},errorThemeCss:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});a.r(33354);let f=a.r(87924);a.r(72131);let g={container:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",display:"flex",alignItems:"center",justifyContent:"center"},card:{marginTop:"-32px",maxWidth:"325px",padding:"32px 28px",textAlign:"left"},icon:{marginBottom:"24px"},title:{fontSize:"24px",fontWeight:500,letterSpacing:"-0.02em",lineHeight:"32px",margin:"0 0 12px 0",color:"var(--next-error-title)"},message:{fontSize:"14px",fontWeight:400,lineHeight:"21px",margin:"0 0 20px 0",color:"var(--next-error-message)"},form:{margin:0},buttonGroup:{display:"flex",gap:"8px",alignItems:"center"},button:{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)"},buttonSecondary:{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-secondary-text)",background:"var(--next-error-btn-secondary-bg)",border:"var(--next-error-btn-secondary-border)"},digestFooter:{position:"fixed",bottom:"32px",left:"0",right:"0",textAlign:"center",fontFamily:'ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace',fontSize:"12px",lineHeight:"18px",fontWeight:400,margin:"0",color:"var(--next-error-digest)"}},h=`
|
|
2
|
+
:root {
|
|
3
|
+
--next-error-bg: #fff;
|
|
4
|
+
--next-error-text: #171717;
|
|
5
|
+
--next-error-title: #171717;
|
|
6
|
+
--next-error-message: #171717;
|
|
7
|
+
--next-error-digest: #666666;
|
|
8
|
+
--next-error-btn-text: #fff;
|
|
9
|
+
--next-error-btn-bg: #171717;
|
|
10
|
+
--next-error-btn-border: none;
|
|
11
|
+
--next-error-btn-secondary-text: #171717;
|
|
12
|
+
--next-error-btn-secondary-bg: transparent;
|
|
13
|
+
--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);
|
|
14
|
+
}
|
|
15
|
+
@media (prefers-color-scheme: dark) {
|
|
16
|
+
:root {
|
|
17
|
+
--next-error-bg: #0a0a0a;
|
|
18
|
+
--next-error-text: #ededed;
|
|
19
|
+
--next-error-title: #ededed;
|
|
20
|
+
--next-error-message: #ededed;
|
|
21
|
+
--next-error-digest: #a0a0a0;
|
|
22
|
+
--next-error-btn-text: #0a0a0a;
|
|
23
|
+
--next-error-btn-bg: #ededed;
|
|
24
|
+
--next-error-btn-border: none;
|
|
25
|
+
--next-error-btn-secondary-text: #ededed;
|
|
26
|
+
--next-error-btn-secondary-bg: transparent;
|
|
27
|
+
--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }
|
|
31
|
+
`.replace(/\n\s*/g,"");function i(){return(0,f.jsx)("svg",{width:"32",height:"32",viewBox:"-0.2 -1.5 32 32",fill:"none",style:g.icon,children:(0,f.jsx)("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)"})})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},40622,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return g}}),a.r(33354);let d=a.r(87924);a.r(72131);let e=a.r(51234),f=a.r(57068),g=function({error:a}){let b=a?.digest,c=!!b;return(0,e.handleISRError)({error:a}),(0,d.jsxs)("html",{id:"__next_error__",children:[(0,d.jsx)("head",{children:(0,d.jsx)("style",{dangerouslySetInnerHTML:{__html:f.errorThemeCss}})}),(0,d.jsxs)("body",{children:[(0,d.jsx)("div",{style:f.errorStyles.container,children:(0,d.jsxs)("div",{style:f.errorStyles.card,children:[(0,d.jsx)(f.WarningIcon,{}),(0,d.jsx)("h1",{style:f.errorStyles.title,children:"This page couldn’t load"}),(0,d.jsx)("p",{style:f.errorStyles.message,children:c?"A server error occurred. Reload to try again.":"Reload to try again, or go back."}),(0,d.jsxs)("div",{style:f.errorStyles.buttonGroup,children:[(0,d.jsx)("form",{style:f.errorStyles.form,children:(0,d.jsx)("button",{type:"submit",style:f.errorStyles.button,children:"Reload"})}),!c&&(0,d.jsx)("button",{type:"button",style:f.errorStyles.buttonSecondary,onClick:()=>{window.history.length>1?window.history.back():window.location.href="/"},children:"Back"})]})]})}),b&&(0,d.jsxs)("p",{style:f.errorStyles.digestFooter,children:["ERROR ",b]})]})]})};("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},42602,(a,b,c)=>{"use strict";b.exports=a.r(18622)},9270,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.AppRouterContext},35112,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactDOM},87924,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactJsxRuntime},38783,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactServerDOMTurbopackClient},72131,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].React}];
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0nyueky._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},74533,(a,b,c)=>{b.exports=a.x("node:child_process",()=>require("node:child_process"))},2157,(a,b,c)=>{b.exports=a.x("node:fs",()=>require("node:fs"))},60526,(a,b,c)=>{b.exports=a.x("node:os",()=>require("node:os"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},63273,a=>{"use strict";var b=a.i(7997);a.i(70396);var c=a.i(73727),d=a.i(5246),e=a.i(35741),f=a.i(53382),g=a.i(17584),h=a.i(25256);async function i({params:a}){let j=decodeURIComponent((await a).token??"");"string"==typeof j&&RegExp("^spec_[0-9a-f]{64}$").test(j)||(0,c.notFound)();let k=(await (0,d.headers)()).get("cf-connecting-ip")??"unknown";try{(0,e.throttle)("share.read:"+k,120)}catch{return(0,b.jsx)("main",{className:"spec-page",children:(0,b.jsx)("p",{className:"spec-hint",children:"Too many requests from your network. Wait a moment and reload this page."})})}let l=await (0,e.db)().prepare("SELECT project_id, expires_at FROM spec_shares WHERE hash = ?").bind(await (0,e.hashToken)(j)).first();(!l||((a,b=new Date)=>!(Date.parse(a)>b.getTime()))(l.expires_at))&&(0,c.notFound)();let m=await (0,e.db)().prepare("SELECT data, org_id, logo FROM projects WHERE id = ?").bind(l.project_id).first();m||(0,c.notFound)();let n=m.org_id?await (0,e.db)().prepare("SELECT id, name, logo, color FROM organizations WHERE id = ?").bind(m.org_id).first():null,o=(0,f.specDocument)({...JSON.parse(m.data),logo:m.logo},n??null);return(0,b.jsxs)("main",{className:"spec-page",style:o.color?{"--brand":o.color}:void 0,children:[(0,b.jsx)("div",{className:"spec-toolbar",children:(0,b.jsx)(g.default,{})}),(0,b.jsxs)("p",{className:"spec-hint",children:["Shared with you by ",o.preparedBy??"the development team",". Choose ",(0,b.jsx)("strong",{children:"Save as PDF"})," in your browser’s print dialog to keep a copy."]}),(0,b.jsx)(h.default,{doc:o}),(0,b.jsx)("p",{className:"spec-hint",children:"This is a read-only copy of the specification as it stands today. It may change as the project progresses."})]})}a.s(["default",0,i,"dynamic",0,"force-dynamic","metadata",0,{title:{absolute:"Specification"},robots:{index:!1,follow:!1,noarchive:!0,nosnippet:!0}}],63273)},48803,function(a){a.n(a.i(63273))},51413,a=>{"use strict";var b=a.i(12948),c=a.i(67436),d=a.i(94331);a.i(70408);let e=(0,b.instrumentModuleGetter)(()=>a.r(70864)),f=(0,b.instrumentModuleGetter)(()=>a.r(43619)),g=(0,b.instrumentModuleGetter)(()=>a.r(13718)),h=(0,b.instrumentModuleGetter)(()=>a.r(18198)),i=(0,b.instrumentModuleGetter)(()=>a.r(62212)),j=["",{children:["s",{children:["[token]",{children:["__PAGE__",{},{metadata:{},page:[(0,b.instrumentModuleGetter)(()=>a.r(48803)),"[project]/app/s/[token]/page.tsx"]},[]]},{metadata:{}},[]]},{metadata:{}},[]]},{layout:[e,"[project]/app/layout.tsx"],"not-found":[f,"[project]/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[g,"[project]/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[h,"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[i,"[project]/node_modules/next/dist/client/components/builtin/global-error.js"]},[]],k=a.r.bind(a),l=a.l.bind(a),m=(0,c.createAppPageEntrypoint)({tree:j,page:"/s/[token]/page",pathname:"/s/[token]",require:k,loadChunk:l,interopDefault:d.interopDefault}),n=m.__next_app__,o=m.routeModule,p=m.handler;a.s(["__next_app__",0,n,"handler",0,p,"routeModule",0,o],32832),a.i(32832);var q=a.i(22922);a.s(["ClientPageRoot",()=>q.ClientPageRoot,"ClientSegmentRoot",()=>q.ClientSegmentRoot,"Fragment",()=>q.Fragment,"HTTPAccessFallbackBoundary",()=>q.HTTPAccessFallbackBoundary,"InstantValidation",()=>q.InstantValidation,"LayoutRouter",()=>q.LayoutRouter,"LoadingBoundaryProvider",()=>q.LoadingBoundaryProvider,"Postpone",()=>q.Postpone,"RenderFromTemplateContext",()=>q.RenderFromTemplateContext,"RootLayoutBoundary",()=>q.RootLayoutBoundary,"SegmentViewNode",()=>q.SegmentViewNode,"SegmentViewStateNode",()=>q.SegmentViewStateNode,"__next_app__",0,n,"captureOwnerStack",()=>q.captureOwnerStack,"collectPrefetchHints",()=>q.collectPrefetchHints,"collectSegmentData",()=>q.collectSegmentData,"createElement",()=>q.createElement,"createMetadataComponents",()=>q.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>q.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>q.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>q.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>q.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>q.createTemporaryReferenceSet,"decodeAction",()=>q.decodeAction,"decodeFormState",()=>q.decodeFormState,"decodeReply",()=>q.decodeReply,"handler",0,p,"isEmptyHTMLPrelude",()=>q.isEmptyHTMLPrelude,"patchFetch",()=>q.patchFetch,"preconnect",()=>q.preconnect,"preloadFont",()=>q.preloadFont,"preloadStyle",()=>q.preloadStyle,"prerender",()=>q.prerender,"prerenderToNodeStream",()=>q.prerenderToNodeStream,"renderToPipeableStream",()=>q.renderToPipeableStream,"renderToReadableStream",()=>q.renderToReadableStream,"routeModule",0,o,"serverHooks",()=>q.serverHooks,"taintObjectReference",()=>q.taintObjectReference],51413)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0twe8p9._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},65733,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/app/workspace.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/workspace.tsx","default")},74321,a=>{"use strict";var b=a.i(65733);a.n(b)},50708,a=>{"use strict";var b=a.i(7997),c=a.i(74321);a.s(["default",0,function(){return(0,b.jsx)(c.default,{})},"metadata",0,{title:{absolute:"Workspace | Accord"},robots:{index:!1,follow:!1,noarchive:!0,nosnippet:!0}}])},26030,function(a){a.n(a.i(50708))},69776,a=>{"use strict";var b=a.i(12948),c=a.i(67436),d=a.i(94331);a.i(70408);let e=(0,b.instrumentModuleGetter)(()=>a.r(70864)),f=(0,b.instrumentModuleGetter)(()=>a.r(43619)),g=(0,b.instrumentModuleGetter)(()=>a.r(13718)),h=(0,b.instrumentModuleGetter)(()=>a.r(18198)),i=(0,b.instrumentModuleGetter)(()=>a.r(62212)),j=(0,b.instrumentModuleGetter)(()=>a.r(26030)),k=a.r.bind(a),l=a.l.bind(a),m=(0,c.createAppPageEntrypoint)({tree:["",{children:["__PAGE__",{},{metadata:{},page:[j,"[project]/app/page.tsx"]},[]]},{layout:[e,"[project]/app/layout.tsx"],"not-found":[f,"[project]/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[g,"[project]/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[h,"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[i,"[project]/node_modules/next/dist/client/components/builtin/global-error.js"]},[]],page:"/page",pathname:"/",require:k,loadChunk:l,interopDefault:d.interopDefault}),n=m.__next_app__,o=m.routeModule,p=m.handler;a.s(["__next_app__",0,n,"handler",0,p,"routeModule",0,o],5480),a.i(5480);var q=a.i(22922);a.s(["ClientPageRoot",()=>q.ClientPageRoot,"ClientSegmentRoot",()=>q.ClientSegmentRoot,"Fragment",()=>q.Fragment,"HTTPAccessFallbackBoundary",()=>q.HTTPAccessFallbackBoundary,"InstantValidation",()=>q.InstantValidation,"LayoutRouter",()=>q.LayoutRouter,"LoadingBoundaryProvider",()=>q.LoadingBoundaryProvider,"Postpone",()=>q.Postpone,"RenderFromTemplateContext",()=>q.RenderFromTemplateContext,"RootLayoutBoundary",()=>q.RootLayoutBoundary,"SegmentViewNode",()=>q.SegmentViewNode,"SegmentViewStateNode",()=>q.SegmentViewStateNode,"__next_app__",0,n,"captureOwnerStack",()=>q.captureOwnerStack,"collectPrefetchHints",()=>q.collectPrefetchHints,"collectSegmentData",()=>q.collectSegmentData,"createElement",()=>q.createElement,"createMetadataComponents",()=>q.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>q.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>q.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>q.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>q.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>q.createTemporaryReferenceSet,"decodeAction",()=>q.decodeAction,"decodeFormState",()=>q.decodeFormState,"decodeReply",()=>q.decodeReply,"handler",0,p,"isEmptyHTMLPrelude",()=>q.isEmptyHTMLPrelude,"patchFetch",()=>q.patchFetch,"preconnect",()=>q.preconnect,"preloadFont",()=>q.preloadFont,"preloadStyle",()=>q.preloadStyle,"prerender",()=>q.prerender,"prerenderToNodeStream",()=>q.prerenderToNodeStream,"renderToPipeableStream",()=>q.renderToPipeableStream,"renderToReadableStream",()=>q.renderToReadableStream,"routeModule",0,o,"serverHooks",()=>q.serverHooks,"taintObjectReference",()=>q.taintObjectReference],69776)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0ze2_dq._.js.map
|