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.
Files changed (373) hide show
  1. package/.next-node/BUILD_ID +1 -0
  2. package/.next-node/app-path-routes-manifest.json +26 -0
  3. package/.next-node/build-manifest.json +24 -0
  4. package/.next-node/package.json +1 -0
  5. package/.next-node/prerender-manifest.json +333 -0
  6. package/.next-node/required-server-files.json +358 -0
  7. package/.next-node/routes-manifest.json +194 -0
  8. package/.next-node/server/app/_global-error/page/app-paths-manifest.json +3 -0
  9. package/.next-node/server/app/_global-error/page/build-manifest.json +20 -0
  10. package/.next-node/server/app/_global-error/page/next-font-manifest.json +6 -0
  11. package/.next-node/server/app/_global-error/page/react-loadable-manifest.json +1 -0
  12. package/.next-node/server/app/_global-error/page/server-reference-manifest.json +4 -0
  13. package/.next-node/server/app/_global-error/page.js +9 -0
  14. package/.next-node/server/app/_global-error/page.js.map +5 -0
  15. package/.next-node/server/app/_global-error/page.js.nft.json +1 -0
  16. package/.next-node/server/app/_global-error/page_client-reference-manifest.js +3 -0
  17. package/.next-node/server/app/_global-error.html +1 -0
  18. package/.next-node/server/app/_global-error.meta +22 -0
  19. package/.next-node/server/app/_global-error.rsc +14 -0
  20. package/.next-node/server/app/_global-error.segments/__PAGE__.segment.rsc +19 -0
  21. package/.next-node/server/app/_global-error.segments/_full.segment.rsc +14 -0
  22. package/.next-node/server/app/_global-error.segments/_tree.segment.rsc +1 -0
  23. package/.next-node/server/app/_not-found/page/app-paths-manifest.json +3 -0
  24. package/.next-node/server/app/_not-found/page/build-manifest.json +20 -0
  25. package/.next-node/server/app/_not-found/page/next-font-manifest.json +6 -0
  26. package/.next-node/server/app/_not-found/page/react-loadable-manifest.json +1 -0
  27. package/.next-node/server/app/_not-found/page/server-reference-manifest.json +4 -0
  28. package/.next-node/server/app/_not-found/page.js +12 -0
  29. package/.next-node/server/app/_not-found/page.js.map +5 -0
  30. package/.next-node/server/app/_not-found/page.js.nft.json +1 -0
  31. package/.next-node/server/app/_not-found/page_client-reference-manifest.js +3 -0
  32. package/.next-node/server/app/_not-found.html +1 -0
  33. package/.next-node/server/app/_not-found.meta +27 -0
  34. package/.next-node/server/app/_not-found.rsc +16 -0
  35. package/.next-node/server/app/_not-found.segments/_full.segment.rsc +16 -0
  36. package/.next-node/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +22 -0
  37. package/.next-node/server/app/_not-found.segments/_tree.segment.rsc +2 -0
  38. package/.next-node/server/app/about/page/app-paths-manifest.json +3 -0
  39. package/.next-node/server/app/about/page/build-manifest.json +20 -0
  40. package/.next-node/server/app/about/page/next-font-manifest.json +6 -0
  41. package/.next-node/server/app/about/page/react-loadable-manifest.json +1 -0
  42. package/.next-node/server/app/about/page/server-reference-manifest.json +4 -0
  43. package/.next-node/server/app/about/page.js +13 -0
  44. package/.next-node/server/app/about/page.js.map +5 -0
  45. package/.next-node/server/app/about/page.js.nft.json +1 -0
  46. package/.next-node/server/app/about/page_client-reference-manifest.js +3 -0
  47. package/.next-node/server/app/about.html +1 -0
  48. package/.next-node/server/app/about.meta +26 -0
  49. package/.next-node/server/app/about.rsc +28 -0
  50. package/.next-node/server/app/about.segments/_full.segment.rsc +28 -0
  51. package/.next-node/server/app/about.segments/_tree.segment.rsc +2 -0
  52. package/.next-node/server/app/about.segments/about/__PAGE__.segment.rsc +33 -0
  53. package/.next-node/server/app/api/account/route/app-paths-manifest.json +3 -0
  54. package/.next-node/server/app/api/account/route/build-manifest.json +12 -0
  55. package/.next-node/server/app/api/account/route/server-reference-manifest.json +4 -0
  56. package/.next-node/server/app/api/account/route.js +9 -0
  57. package/.next-node/server/app/api/account/route.js.map +5 -0
  58. package/.next-node/server/app/api/account/route.js.nft.json +1 -0
  59. package/.next-node/server/app/api/account/route_client-reference-manifest.js +3 -0
  60. package/.next-node/server/app/api/agent-token/route/app-paths-manifest.json +3 -0
  61. package/.next-node/server/app/api/agent-token/route/build-manifest.json +12 -0
  62. package/.next-node/server/app/api/agent-token/route/server-reference-manifest.json +4 -0
  63. package/.next-node/server/app/api/agent-token/route.js +7 -0
  64. package/.next-node/server/app/api/agent-token/route.js.map +5 -0
  65. package/.next-node/server/app/api/agent-token/route.js.nft.json +1 -0
  66. package/.next-node/server/app/api/agent-token/route_client-reference-manifest.js +3 -0
  67. package/.next-node/server/app/api/audit/route/app-paths-manifest.json +3 -0
  68. package/.next-node/server/app/api/audit/route/build-manifest.json +12 -0
  69. package/.next-node/server/app/api/audit/route/server-reference-manifest.json +4 -0
  70. package/.next-node/server/app/api/audit/route.js +7 -0
  71. package/.next-node/server/app/api/audit/route.js.map +5 -0
  72. package/.next-node/server/app/api/audit/route.js.nft.json +1 -0
  73. package/.next-node/server/app/api/audit/route_client-reference-manifest.js +3 -0
  74. package/.next-node/server/app/api/changes/route/app-paths-manifest.json +3 -0
  75. package/.next-node/server/app/api/changes/route/build-manifest.json +12 -0
  76. package/.next-node/server/app/api/changes/route/server-reference-manifest.json +4 -0
  77. package/.next-node/server/app/api/changes/route.js +7 -0
  78. package/.next-node/server/app/api/changes/route.js.map +5 -0
  79. package/.next-node/server/app/api/changes/route.js.nft.json +1 -0
  80. package/.next-node/server/app/api/changes/route_client-reference-manifest.js +3 -0
  81. package/.next-node/server/app/api/licence/route/app-paths-manifest.json +3 -0
  82. package/.next-node/server/app/api/licence/route/build-manifest.json +12 -0
  83. package/.next-node/server/app/api/licence/route/server-reference-manifest.json +4 -0
  84. package/.next-node/server/app/api/licence/route.js +7 -0
  85. package/.next-node/server/app/api/licence/route.js.map +5 -0
  86. package/.next-node/server/app/api/licence/route.js.nft.json +1 -0
  87. package/.next-node/server/app/api/licence/route_client-reference-manifest.js +3 -0
  88. package/.next-node/server/app/api/local/route/app-paths-manifest.json +3 -0
  89. package/.next-node/server/app/api/local/route/build-manifest.json +12 -0
  90. package/.next-node/server/app/api/local/route/server-reference-manifest.json +4 -0
  91. package/.next-node/server/app/api/local/route.js +9 -0
  92. package/.next-node/server/app/api/local/route.js.map +5 -0
  93. package/.next-node/server/app/api/local/route.js.nft.json +1 -0
  94. package/.next-node/server/app/api/local/route_client-reference-manifest.js +3 -0
  95. package/.next-node/server/app/api/mcp/route/app-paths-manifest.json +3 -0
  96. package/.next-node/server/app/api/mcp/route/build-manifest.json +12 -0
  97. package/.next-node/server/app/api/mcp/route/server-reference-manifest.json +4 -0
  98. package/.next-node/server/app/api/mcp/route.js +9 -0
  99. package/.next-node/server/app/api/mcp/route.js.map +5 -0
  100. package/.next-node/server/app/api/mcp/route.js.nft.json +1 -0
  101. package/.next-node/server/app/api/mcp/route_client-reference-manifest.js +3 -0
  102. package/.next-node/server/app/api/org/route/app-paths-manifest.json +3 -0
  103. package/.next-node/server/app/api/org/route/build-manifest.json +12 -0
  104. package/.next-node/server/app/api/org/route/server-reference-manifest.json +4 -0
  105. package/.next-node/server/app/api/org/route.js +8 -0
  106. package/.next-node/server/app/api/org/route.js.map +5 -0
  107. package/.next-node/server/app/api/org/route.js.nft.json +1 -0
  108. package/.next-node/server/app/api/org/route_client-reference-manifest.js +3 -0
  109. package/.next-node/server/app/api/project-logo/route/app-paths-manifest.json +3 -0
  110. package/.next-node/server/app/api/project-logo/route/build-manifest.json +12 -0
  111. package/.next-node/server/app/api/project-logo/route/server-reference-manifest.json +4 -0
  112. package/.next-node/server/app/api/project-logo/route.js +7 -0
  113. package/.next-node/server/app/api/project-logo/route.js.map +5 -0
  114. package/.next-node/server/app/api/project-logo/route.js.nft.json +1 -0
  115. package/.next-node/server/app/api/project-logo/route_client-reference-manifest.js +3 -0
  116. package/.next-node/server/app/api/runner/route/app-paths-manifest.json +3 -0
  117. package/.next-node/server/app/api/runner/route/build-manifest.json +12 -0
  118. package/.next-node/server/app/api/runner/route/server-reference-manifest.json +4 -0
  119. package/.next-node/server/app/api/runner/route.js +8 -0
  120. package/.next-node/server/app/api/runner/route.js.map +5 -0
  121. package/.next-node/server/app/api/runner/route.js.nft.json +1 -0
  122. package/.next-node/server/app/api/runner/route_client-reference-manifest.js +3 -0
  123. package/.next-node/server/app/api/runs/route/app-paths-manifest.json +3 -0
  124. package/.next-node/server/app/api/runs/route/build-manifest.json +12 -0
  125. package/.next-node/server/app/api/runs/route/server-reference-manifest.json +4 -0
  126. package/.next-node/server/app/api/runs/route.js +9 -0
  127. package/.next-node/server/app/api/runs/route.js.map +5 -0
  128. package/.next-node/server/app/api/runs/route.js.nft.json +1 -0
  129. package/.next-node/server/app/api/runs/route_client-reference-manifest.js +3 -0
  130. package/.next-node/server/app/api/share/route/app-paths-manifest.json +3 -0
  131. package/.next-node/server/app/api/share/route/build-manifest.json +12 -0
  132. package/.next-node/server/app/api/share/route/server-reference-manifest.json +4 -0
  133. package/.next-node/server/app/api/share/route.js +7 -0
  134. package/.next-node/server/app/api/share/route.js.map +5 -0
  135. package/.next-node/server/app/api/share/route.js.nft.json +1 -0
  136. package/.next-node/server/app/api/share/route_client-reference-manifest.js +3 -0
  137. package/.next-node/server/app/api/team/route/app-paths-manifest.json +3 -0
  138. package/.next-node/server/app/api/team/route/build-manifest.json +12 -0
  139. package/.next-node/server/app/api/team/route/server-reference-manifest.json +4 -0
  140. package/.next-node/server/app/api/team/route.js +7 -0
  141. package/.next-node/server/app/api/team/route.js.map +5 -0
  142. package/.next-node/server/app/api/team/route.js.nft.json +1 -0
  143. package/.next-node/server/app/api/team/route_client-reference-manifest.js +3 -0
  144. package/.next-node/server/app/api/workspace/route/app-paths-manifest.json +3 -0
  145. package/.next-node/server/app/api/workspace/route/build-manifest.json +12 -0
  146. package/.next-node/server/app/api/workspace/route/server-reference-manifest.json +4 -0
  147. package/.next-node/server/app/api/workspace/route.js +9 -0
  148. package/.next-node/server/app/api/workspace/route.js.map +5 -0
  149. package/.next-node/server/app/api/workspace/route.js.nft.json +1 -0
  150. package/.next-node/server/app/api/workspace/route_client-reference-manifest.js +3 -0
  151. package/.next-node/server/app/guides/[slug]/page/app-paths-manifest.json +3 -0
  152. package/.next-node/server/app/guides/[slug]/page/build-manifest.json +20 -0
  153. package/.next-node/server/app/guides/[slug]/page/next-font-manifest.json +6 -0
  154. package/.next-node/server/app/guides/[slug]/page/react-loadable-manifest.json +1 -0
  155. package/.next-node/server/app/guides/[slug]/page/server-reference-manifest.json +4 -0
  156. package/.next-node/server/app/guides/[slug]/page.js +14 -0
  157. package/.next-node/server/app/guides/[slug]/page.js.map +5 -0
  158. package/.next-node/server/app/guides/[slug]/page.js.nft.json +1 -0
  159. package/.next-node/server/app/guides/[slug]/page_client-reference-manifest.js +3 -0
  160. package/.next-node/server/app/guides/acceptance-criteria-and-qa.html +1 -0
  161. package/.next-node/server/app/guides/acceptance-criteria-and-qa.meta +31 -0
  162. package/.next-node/server/app/guides/acceptance-criteria-and-qa.rsc +27 -0
  163. package/.next-node/server/app/guides/acceptance-criteria-and-qa.segments/_full.segment.rsc +27 -0
  164. package/.next-node/server/app/guides/acceptance-criteria-and-qa.segments/_tree.segment.rsc +2 -0
  165. package/.next-node/server/app/guides/acceptance-criteria-and-qa.segments/guides/$d$slug/__PAGE__.segment.rsc +39 -0
  166. package/.next-node/server/app/guides/ai-development-change-requests.html +1 -0
  167. package/.next-node/server/app/guides/ai-development-change-requests.meta +31 -0
  168. package/.next-node/server/app/guides/ai-development-change-requests.rsc +25 -0
  169. package/.next-node/server/app/guides/ai-development-change-requests.segments/_full.segment.rsc +25 -0
  170. package/.next-node/server/app/guides/ai-development-change-requests.segments/_tree.segment.rsc +2 -0
  171. package/.next-node/server/app/guides/ai-development-change-requests.segments/guides/$d$slug/__PAGE__.segment.rsc +37 -0
  172. package/.next-node/server/app/guides/page/app-paths-manifest.json +3 -0
  173. package/.next-node/server/app/guides/page/build-manifest.json +20 -0
  174. package/.next-node/server/app/guides/page/next-font-manifest.json +6 -0
  175. package/.next-node/server/app/guides/page/react-loadable-manifest.json +1 -0
  176. package/.next-node/server/app/guides/page/server-reference-manifest.json +4 -0
  177. package/.next-node/server/app/guides/page.js +13 -0
  178. package/.next-node/server/app/guides/page.js.map +5 -0
  179. package/.next-node/server/app/guides/page.js.nft.json +1 -0
  180. package/.next-node/server/app/guides/page_client-reference-manifest.js +3 -0
  181. package/.next-node/server/app/guides/software-requirements-template.html +1 -0
  182. package/.next-node/server/app/guides/software-requirements-template.meta +31 -0
  183. package/.next-node/server/app/guides/software-requirements-template.rsc +26 -0
  184. package/.next-node/server/app/guides/software-requirements-template.segments/_full.segment.rsc +26 -0
  185. package/.next-node/server/app/guides/software-requirements-template.segments/_tree.segment.rsc +2 -0
  186. package/.next-node/server/app/guides/software-requirements-template.segments/guides/$d$slug/__PAGE__.segment.rsc +38 -0
  187. package/.next-node/server/app/guides.html +1 -0
  188. package/.next-node/server/app/guides.meta +26 -0
  189. package/.next-node/server/app/guides.rsc +23 -0
  190. package/.next-node/server/app/guides.segments/_full.segment.rsc +23 -0
  191. package/.next-node/server/app/guides.segments/_tree.segment.rsc +2 -0
  192. package/.next-node/server/app/guides.segments/guides/__PAGE__.segment.rsc +28 -0
  193. package/.next-node/server/app/index.html +1 -0
  194. package/.next-node/server/app/index.meta +21 -0
  195. package/.next-node/server/app/index.rsc +15 -0
  196. package/.next-node/server/app/index.segments/__PAGE__.segment.rsc +20 -0
  197. package/.next-node/server/app/index.segments/_full.segment.rsc +15 -0
  198. package/.next-node/server/app/index.segments/_tree.segment.rsc +2 -0
  199. package/.next-node/server/app/page/app-paths-manifest.json +3 -0
  200. package/.next-node/server/app/page/build-manifest.json +20 -0
  201. package/.next-node/server/app/page/next-font-manifest.json +6 -0
  202. package/.next-node/server/app/page/react-loadable-manifest.json +1 -0
  203. package/.next-node/server/app/page/server-reference-manifest.json +4 -0
  204. package/.next-node/server/app/page.js +13 -0
  205. package/.next-node/server/app/page.js.map +5 -0
  206. package/.next-node/server/app/page.js.nft.json +1 -0
  207. package/.next-node/server/app/page_client-reference-manifest.js +3 -0
  208. package/.next-node/server/app/robots.txt/route/app-paths-manifest.json +3 -0
  209. package/.next-node/server/app/robots.txt/route/build-manifest.json +12 -0
  210. package/.next-node/server/app/robots.txt/route/server-reference-manifest.json +4 -0
  211. package/.next-node/server/app/robots.txt/route.js +6 -0
  212. package/.next-node/server/app/robots.txt/route.js.map +5 -0
  213. package/.next-node/server/app/robots.txt/route.js.nft.json +1 -0
  214. package/.next-node/server/app/robots.txt/route_client-reference-manifest.js +3 -0
  215. package/.next-node/server/app/robots.txt.body +9 -0
  216. package/.next-node/server/app/robots.txt.meta +1 -0
  217. package/.next-node/server/app/s/[token]/page/app-paths-manifest.json +3 -0
  218. package/.next-node/server/app/s/[token]/page/build-manifest.json +20 -0
  219. package/.next-node/server/app/s/[token]/page/next-font-manifest.json +6 -0
  220. package/.next-node/server/app/s/[token]/page/react-loadable-manifest.json +1 -0
  221. package/.next-node/server/app/s/[token]/page/server-reference-manifest.json +4 -0
  222. package/.next-node/server/app/s/[token]/page.js +15 -0
  223. package/.next-node/server/app/s/[token]/page.js.map +5 -0
  224. package/.next-node/server/app/s/[token]/page.js.nft.json +1 -0
  225. package/.next-node/server/app/s/[token]/page_client-reference-manifest.js +3 -0
  226. package/.next-node/server/app/sitemap.xml/route/app-paths-manifest.json +3 -0
  227. package/.next-node/server/app/sitemap.xml/route/build-manifest.json +12 -0
  228. package/.next-node/server/app/sitemap.xml/route/server-reference-manifest.json +4 -0
  229. package/.next-node/server/app/sitemap.xml/route.js +6 -0
  230. package/.next-node/server/app/sitemap.xml/route.js.map +5 -0
  231. package/.next-node/server/app/sitemap.xml/route.js.nft.json +1 -0
  232. package/.next-node/server/app/sitemap.xml/route_client-reference-manifest.js +3 -0
  233. package/.next-node/server/app/sitemap.xml.body +8 -0
  234. package/.next-node/server/app/sitemap.xml.meta +1 -0
  235. package/.next-node/server/app/spec/page/app-paths-manifest.json +3 -0
  236. package/.next-node/server/app/spec/page/build-manifest.json +20 -0
  237. package/.next-node/server/app/spec/page/next-font-manifest.json +6 -0
  238. package/.next-node/server/app/spec/page/react-loadable-manifest.json +1 -0
  239. package/.next-node/server/app/spec/page/server-reference-manifest.json +4 -0
  240. package/.next-node/server/app/spec/page.js +15 -0
  241. package/.next-node/server/app/spec/page.js.map +5 -0
  242. package/.next-node/server/app/spec/page.js.nft.json +1 -0
  243. package/.next-node/server/app/spec/page_client-reference-manifest.js +3 -0
  244. package/.next-node/server/app-paths-manifest.json +26 -0
  245. package/.next-node/server/chunks/[externals]__1xp13sj._.js +3 -0
  246. package/.next-node/server/chunks/[root-of-the-server]__03c4113._.js +3 -0
  247. package/.next-node/server/chunks/[root-of-the-server]__0_98crs._.js +3 -0
  248. package/.next-node/server/chunks/[root-of-the-server]__0g957e5._.js +3 -0
  249. package/.next-node/server/chunks/[root-of-the-server]__0uymhsf._.js +70 -0
  250. package/.next-node/server/chunks/[root-of-the-server]__1-pt4sf._.js +3 -0
  251. package/.next-node/server/chunks/[root-of-the-server]__1161aa9._.js +3 -0
  252. package/.next-node/server/chunks/[root-of-the-server]__15bjnu5._.js +5 -0
  253. package/.next-node/server/chunks/[root-of-the-server]__194807o._.js +3 -0
  254. package/.next-node/server/chunks/[root-of-the-server]__1_g8brf._.js +15 -0
  255. package/.next-node/server/chunks/[root-of-the-server]__1cj35zq._.js +15 -0
  256. package/.next-node/server/chunks/[root-of-the-server]__1ecyjj1._.js +3 -0
  257. package/.next-node/server/chunks/[root-of-the-server]__1o6a8yh._.js +3 -0
  258. package/.next-node/server/chunks/[root-of-the-server]__1yk21j_._.js +3 -0
  259. package/.next-node/server/chunks/[turbopack]_runtime.js +939 -0
  260. package/.next-node/server/chunks/_09w0rob._.js +3 -0
  261. package/.next-node/server/chunks/_0c2ik63._.js +3 -0
  262. package/.next-node/server/chunks/_116ijjc._.js +3 -0
  263. package/.next-node/server/chunks/_1fp04yw._.js +3 -0
  264. package/.next-node/server/chunks/_1gn7eh7._.js +3 -0
  265. package/.next-node/server/chunks/_1yd-p3w._.js +3 -0
  266. package/.next-node/server/chunks/_1yf4csx._.js +219 -0
  267. package/.next-node/server/chunks/_next-internal_server_app_api_account_route_actions_194w89l.js +3 -0
  268. package/.next-node/server/chunks/_next-internal_server_app_api_agent-token_route_actions_08cna7_.js +3 -0
  269. package/.next-node/server/chunks/_next-internal_server_app_api_audit_route_actions_19mknew.js +3 -0
  270. package/.next-node/server/chunks/_next-internal_server_app_api_changes_route_actions_0csrjtr.js +3 -0
  271. package/.next-node/server/chunks/_next-internal_server_app_api_licence_route_actions_0vpn64k.js +3 -0
  272. package/.next-node/server/chunks/_next-internal_server_app_api_local_route_actions_14zijx1.js +3 -0
  273. package/.next-node/server/chunks/_next-internal_server_app_api_mcp_route_actions_1thtluk.js +3 -0
  274. package/.next-node/server/chunks/_next-internal_server_app_api_org_route_actions_1t3xlml.js +3 -0
  275. package/.next-node/server/chunks/_next-internal_server_app_api_project-logo_route_actions_100vr9l.js +3 -0
  276. package/.next-node/server/chunks/_next-internal_server_app_api_runner_route_actions_1wqlapv.js +3 -0
  277. package/.next-node/server/chunks/_next-internal_server_app_api_runs_route_actions_0kh91o2.js +3 -0
  278. package/.next-node/server/chunks/_next-internal_server_app_api_share_route_actions_0tpl991.js +3 -0
  279. package/.next-node/server/chunks/_next-internal_server_app_api_team_route_actions_0b1uoww.js +3 -0
  280. package/.next-node/server/chunks/_next-internal_server_app_api_workspace_route_actions_19-xkal.js +3 -0
  281. package/.next-node/server/chunks/_next-internal_server_app_robots_txt_route_actions_15vc_89.js +3 -0
  282. package/.next-node/server/chunks/_next-internal_server_app_sitemap_xml_route_actions_05l5km9.js +3 -0
  283. package/.next-node/server/chunks/lib_accord_run-server_ts_1b1ff99._.js +3 -0
  284. package/.next-node/server/chunks/runner_1v-wy_w._.js +23 -0
  285. package/.next-node/server/chunks/runner_check_mjs_0poxsgb._.js +3 -0
  286. package/.next-node/server/chunks/runner_config_mjs_02q6n0r._.js +3 -0
  287. package/.next-node/server/chunks/ssr/[root-of-the-server]__0b06nll._.js +3 -0
  288. package/.next-node/server/chunks/ssr/[root-of-the-server]__0fizn_-._.js +3 -0
  289. package/.next-node/server/chunks/ssr/[root-of-the-server]__0melyg_._.js +3 -0
  290. package/.next-node/server/chunks/ssr/[root-of-the-server]__0nyueky._.js +33 -0
  291. package/.next-node/server/chunks/ssr/[root-of-the-server]__0twe8p9._.js +3 -0
  292. package/.next-node/server/chunks/ssr/[root-of-the-server]__0ze2_dq._.js +3 -0
  293. package/.next-node/server/chunks/ssr/[root-of-the-server]__112mz-6._.js +14 -0
  294. package/.next-node/server/chunks/ssr/[root-of-the-server]__11zr9ex._.js +3 -0
  295. package/.next-node/server/chunks/ssr/[root-of-the-server]__1io3bae._.js +33 -0
  296. package/.next-node/server/chunks/ssr/[root-of-the-server]__1oe4hc5._.js +3 -0
  297. package/.next-node/server/chunks/ssr/[root-of-the-server]__1rasrr9._.js +3 -0
  298. package/.next-node/server/chunks/ssr/[root-of-the-server]__1ypl2q0._.js +3 -0
  299. package/.next-node/server/chunks/ssr/[turbopack]_runtime.js +939 -0
  300. package/.next-node/server/chunks/ssr/_043p6h1._.js +3 -0
  301. package/.next-node/server/chunks/ssr/_0_b-2rs._.js +3 -0
  302. package/.next-node/server/chunks/ssr/_1ofgw5a._.js +3 -0
  303. package/.next-node/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-.js +3 -0
  304. package/.next-node/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yr.js +3 -0
  305. package/.next-node/server/chunks/ssr/_next-internal_server_app_about_page_actions_0xvgj07.js +3 -0
  306. package/.next-node/server/chunks/ssr/_next-internal_server_app_guides_[slug]_page_actions_07fmjsl.js +3 -0
  307. package/.next-node/server/chunks/ssr/_next-internal_server_app_guides_page_actions_0vqxbaj.js +3 -0
  308. package/.next-node/server/chunks/ssr/_next-internal_server_app_page_actions_0hhsz1j.js +3 -0
  309. package/.next-node/server/chunks/ssr/_next-internal_server_app_s_[token]_page_actions_0kpicgu.js +3 -0
  310. package/.next-node/server/chunks/ssr/_next-internal_server_app_spec_page_actions_0d5m1h5.js +3 -0
  311. package/.next-node/server/chunks/ssr/app_workspace_tsx_16kkvlv._.js +102 -0
  312. package/.next-node/server/chunks/ssr/node_modules_01xbj_9._.js +33 -0
  313. package/.next-node/server/chunks/ssr/node_modules_1nkgb45._.js +23 -0
  314. package/.next-node/server/chunks/ssr/node_modules_lucide-react_dist_esm_createLucideIcon_mjs_046kvv3._.js +3 -0
  315. package/.next-node/server/chunks/ssr/node_modules_next_dist_0drixxt._.js +151 -0
  316. package/.next-node/server/chunks/ssr/node_modules_next_dist_1c5ky4f._.js +3 -0
  317. package/.next-node/server/chunks/ssr/node_modules_next_dist_1n3w9lb._.js +6 -0
  318. package/.next-node/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j3._.js +3 -0
  319. package/.next-node/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9.js +3 -0
  320. package/.next-node/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0q-w892.js +3 -0
  321. package/.next-node/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0x.js +3 -0
  322. package/.next-node/server/functions-config-manifest.json +4 -0
  323. package/.next-node/server/middleware-build-manifest.js +24 -0
  324. package/.next-node/server/middleware-manifest.json +6 -0
  325. package/.next-node/server/next-font-manifest.js +1 -0
  326. package/.next-node/server/next-font-manifest.json +6 -0
  327. package/.next-node/server/pages/404.html +1 -0
  328. package/.next-node/server/pages/500.html +1 -0
  329. package/.next-node/server/pages-manifest.json +4 -0
  330. package/.next-node/server/prefetch-hints.json +81 -0
  331. package/.next-node/server/server-reference-manifest.js +1 -0
  332. package/.next-node/server/server-reference-manifest.json +5 -0
  333. package/.next-node/static/O0yz_3m0RU49CRdgEzJko/_buildManifest.js +11 -0
  334. package/.next-node/static/O0yz_3m0RU49CRdgEzJko/_clientMiddlewareManifest.js +1 -0
  335. package/.next-node/static/O0yz_3m0RU49CRdgEzJko/_ssgManifest.js +1 -0
  336. package/.next-node/static/chunks/001803_ikgvy0.js +1 -0
  337. package/.next-node/static/chunks/0cz1d0mv5g_q7.js +1 -0
  338. package/.next-node/static/chunks/18jc9s790l5j4.js +1 -0
  339. package/.next-node/static/chunks/19mx3mg6lkumu.js +1 -0
  340. package/.next-node/static/chunks/1mh6a-0e61pyc.js +1 -0
  341. package/.next-node/static/chunks/2-rtuqsgzmno4.js +22 -0
  342. package/.next-node/static/chunks/21_wi9mjjb4hi.js +1 -0
  343. package/.next-node/static/chunks/22i43cg4l4-dq.js +1 -0
  344. package/.next-node/static/chunks/24eykxjjs1eyd.js +100 -0
  345. package/.next-node/static/chunks/2q_ofqpogy1t8.css +1 -0
  346. package/.next-node/static/chunks/310vm2bl3xxpt.js +31 -0
  347. package/.next-node/static/chunks/3fntmmi971322.js +1 -0
  348. package/.next-node/static/chunks/turbopack-08z-qkls8a53k.js +1 -0
  349. package/bin/accord.mjs +45 -0
  350. package/drizzle/0000_mean_nitro.sql +24 -0
  351. package/drizzle/0001_dry_warlock.sql +19 -0
  352. package/drizzle/0002_cynical_mikhail_rasputin.sql +9 -0
  353. package/drizzle/0003_black_thing.sql +1 -0
  354. package/drizzle/meta/0000_snapshot.json +165 -0
  355. package/drizzle/meta/0001_snapshot.json +279 -0
  356. package/drizzle/meta/0002_snapshot.json +332 -0
  357. package/drizzle/meta/0003_snapshot.json +339 -0
  358. package/drizzle/meta/_journal.json +34 -0
  359. package/package.json +30 -0
  360. package/public/favicon.svg +1 -0
  361. package/public/file.svg +1 -0
  362. package/public/globe.svg +1 -0
  363. package/public/runner/accord-runner.mjs +799 -0
  364. package/public/window.svg +1 -0
  365. package/runner/accord-runner.mjs +150 -0
  366. package/runner/check.mjs +65 -0
  367. package/runner/config.mjs +35 -0
  368. package/runner/install.mjs +52 -0
  369. package/runner/protocol.mjs +50 -0
  370. package/runner/providers/claude.mjs +47 -0
  371. package/runner/providers/codex.mjs +27 -0
  372. package/runner/providers/index.mjs +5 -0
  373. package/server.js +44 -0
@@ -0,0 +1,3 @@
1
+ module.exports=[70406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},18622,(e,t,r)=>{t.exports=e.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,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.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,(e,t,r)=>{t.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},74533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},2157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},60526,(e,t,r)=>{t.exports=e.x("node:os",()=>require("node:os"))},50227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},81111,(e,t,r)=>{t.exports=e.x("node:stream",()=>require("node:stream"))},5695,e=>{"use strict";var t=e.i(51759),r=e.i(55402),a=e.i(19837),n=e.i(21086);let s={id:"codex-runner",name:"Codex runner",role:"agent"};async function i(e){try{let i=await (0,t.hashToken)(e.headers.get("authorization")??""),o=(0,n.allow)("runner:"+i,60,6e4);if(!o.ok)return(0,t.json)({error:"Too many runner requests. Slow down and retry."},429,{"Retry-After":String(Math.ceil(o.retryMs/1e3))});let l=await (0,t.body)(e),d=await (0,a.runnerAccess)(e);if("poll"===l.type){let e=await (0,a.freshRuns)(d);return(0,t.json)({projectId:e.id,queued:(e.runs??[]).filter(e=>"queued"===e.status).map(e=>({id:e.id,mode:e.mode})),active:(e.runs??[]).filter(e=>"running"===e.status).map(e=>({id:e.id,status:e.status}))})}if(!["claim","heartbeat","result","fail"].includes(l.type))throw new r.DomainError("Invalid runner action.");let u="claim"===l.type?{...l,claim:crypto.randomUUID()}:l,p=await (0,a.runCommand)(d,u,s);return(0,t.json)({projectId:p.id,run:p.runs.find(e=>e.id===l.id)})}catch(e){return(0,t.failure)(e)}}e.s(["POST",0,i])},52445,e=>{"use strict";var t=e.i(47909),r=e.i(74017),a=e.i(96250),n=e.i(59756),s=e.i(61916),i=e.i(74677),o=e.i(69741),l=e.i(16795),d=e.i(87718),u=e.i(95169),p=e.i(47587),c=e.i(66012),x=e.i(70101),h=e.i(26937),v=e.i(10372),m=e.i(93695);e.i(52474);var R=e.i(220);let f=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/runner/route",pathname:"/api/runner",filename:"route",bundlePath:""},distDir:".next-node",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/runner/route.ts",nextConfigOutput:"standalone",userland:()=>e.r(5695),...{}}),{workAsyncStorage:g,workUnitAsyncStorage:w,serverHooks:y}=f;async function E(e,t,a){a.requestMeta&&(0,n.setRequestMeta)(e,a.requestMeta),f.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let g="/api/runner/route";g=g.replace(/\/index$/,"")||"/";let w=await f.prepare(e,t,{srcPage:g,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:y,deploymentId:E,params:C,nextConfig:q,parsedUrl:A,isDraftMode:T,prerenderManifest:b,routerServerContext:S,isOnDemandRevalidate:P,revalidateOnlyGenerated:j,resolvedPathname:N,clientReferenceManifest:_,serverActionsManifest:k}=w,O=(0,o.normalizeAppPath)(g),I=!!(b.dynamicRoutes[O]||b.routes[N]),H=async()=>((null==S?void 0:S.render404)?await S.render404(e,t,A,!1):t.end("This page could not be found"),null);if(I&&!T){let e=!!b.routes[N],t=b.dynamicRoutes[O];if(t&&!1===t.fallback&&!e){if(q.adapterPath)return await H();throw new m.NoFallbackError}}let M=null;!I||f.isDev||T||(M="/index"===(M=N)?"/":M);let U=!0===f.isDev||!I,D=I&&!U;k&&_&&(0,i.setManifestsSingleton)({page:g,clientReferenceManifest:_,serverActionsManifest:k});let F=e.method||"GET",K=(0,s.getTracer)(),L=K.getActiveScopeSpan(),$=!!(null==S?void 0:S.isWrappedByNextServer),B=!!(0,n.getRequestMeta)(e,"minimalMode"),G=(0,n.getRequestMeta)(e,"incrementalCache")||await f.getIncrementalCache(e,q,b,B);null==G||G.resetRequestCache(),globalThis.__incrementalCache=G;let V={params:C,previewProps:b.preview,renderOpts:{experimental:{authInterrupts:!!q.experimental.authInterrupts,useCacheTimeout:q.experimental.useCacheTimeout},cacheComponents:!!q.cacheComponents,validationLevel:q.experimental.instantInsights.validationLevel,supportsDynamicResponse:U,incrementalCache:G,hmrRefreshHash:(0,n.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:q.cacheLife,staticPageGenerationTimeout:q.staticPageGenerationTimeout,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>f.onRequestError(e,t,a,n,S)},sharedContext:{buildId:y,deploymentId:E}},X=new l.NodeNextRequest(e),z=new l.NodeNextResponse(t),W=d.NextRequestAdapter.fromNodeNextRequest(X,(0,d.signalFromNodeResponse)(t)),Z=async({previousCacheEntry:r})=>{try{if(!B&&P&&j&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=await f.handle(W,V);e.fetchMetrics=V.renderOpts.fetchMetrics;let s=V.renderOpts.pendingWaitUntil;s&&a.waitUntil&&(a.waitUntil(s),s=void 0);let i=V.renderOpts.collectedTags;if(!I)return await (0,c.sendResponse)(X,z,n,s),null;{let e=await n.blob(),t=(0,x.toNodeOutgoingHttpHeaders)(n.headers);i&&(t[v.NEXT_CACHE_TAGS_HEADER]=i),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=v.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,a=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=v.INFINITE_CACHE?!1!==r&&r>0?q.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:R.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await f.onRequestError(e,t,{routerKind:"App Router",routePath:g,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:P})},!1,S),t}},J=async(n,i)=>{try{var o,l;let n=await f.handleResponse({req:e,nextConfig:q,cacheKey:M,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:b,isRoutePPREnabled:!1,isOnDemandRevalidate:P,revalidateOnlyGenerated:j,responseGenerator:Z,waitUntil:a.waitUntil,isMinimalMode:B});if(!I)return;if((null==n||null==(o=n.value)?void 0:o.kind)!==R.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==n||null==(l=n.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});B||t.setHeader("x-nextjs-cache",P?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),T&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let s=(0,x.fromNodeOutgoingHttpHeaders)(n.value.headers);B&&I||s.delete(v.NEXT_CACHE_TAGS_HEADER),!n.cacheControl||t.getHeader("Cache-Control")||s.get("Cache-Control")||s.set("Cache-Control",(0,h.getCacheControlHeader)(n.cacheControl)),await (0,c.sendResponse)(X,z,new Response(n.value.body,{headers:s,status:n.value.status||200}));return}catch(t){if(t instanceof m.NoFallbackError||await f.onRequestError(e,t,{routerKind:"App Router",routePath:O,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:P})},!1,S),I)throw t;await (0,c.sendResponse)(X,z,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:s.SpanStatusCode.ERROR}),n.setAttribute("error.type",e.toString()));let r=K.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==u.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route")||O,o=`${F} ${a}`;n.setAttributes({"next.route":a,"http.route":a,"next.span_name":o}),n.updateName(o),i&&i!==n&&(i.setAttribute("http.route",a),i.updateName(o))})()}};if($&&L)await J(L,void 0);else{let t=K.getActiveScopeSpan();await K.withPropagatedContext(e.headers,()=>K.trace(u.BaseServerSpan.handleRequest,{spanName:`${F} ${g}`,kind:s.SpanKind.SERVER,attributes:{"http.method":F,"http.target":e.url}},e=>J(e,t)),void 0,!$)}}e.s(["handler",0,E,"patchFetch",0,function(){return(0,a.patchFetch)({workAsyncStorage:g,workUnitAsyncStorage:w})},"routeModule",0,f,"serverHooks",0,y,"workAsyncStorage",0,g,"workUnitAsyncStorage",0,w])}];
2
+
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__194807o._.js.map
@@ -0,0 +1,15 @@
1
+ module.exports=[70406,(e,t,a)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},18622,(e,t,a)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,a)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,a)=>{t.exports=e.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,(e,t,a)=>{t.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},93695,(e,t,a)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},81111,(e,t,a)=>{t.exports=e.x("node:stream",()=>require("node:stream"))},83656,e=>{"use strict";var t=e.i(12949);e.s(["GET",0,function(){return new Response((0,t.robotsText)(),{headers:{"Content-Type":"text/plain; charset=utf-8","Cache-Control":"public, max-age=3600"}})}])},66846,e=>{"use strict";var t=e.i(47909),a=e.i(74017),r=e.i(96250),n=e.i(59756),i=e.i(61916),s=e.i(74677),o=e.i(69741),l=e.i(16795),c=e.i(87718),d=e.i(95169),u=e.i(47587),p=e.i(66012),h=e.i(70101),m=e.i(26937),g=e.i(10372),v=e.i(93695);e.i(52474);var f=e.i(220);let w=new t.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/robots.txt/route",pathname:"/robots.txt",filename:"route",bundlePath:""},distDir:".next-node",relativeProjectDir:"",resolvedPagePath:"[project]/app/robots.txt/route.ts",nextConfigOutput:"standalone",userland:()=>e.r(83656),...{}}),{workAsyncStorage:x,workUnitAsyncStorage:b,serverHooks:y}=w;async function k(e,t,r){r.requestMeta&&(0,n.setRequestMeta)(e,r.requestMeta),w.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let x="/robots.txt/route";x=x.replace(/\/index$/,"")||"/";let b=await w.prepare(e,t,{srcPage:x,multiZoneDraftMode:!1});if(!b)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:y,deploymentId:k,params:R,nextConfig:A,parsedUrl:q,isDraftMode:C,prerenderManifest:E,routerServerContext:T,isOnDemandRevalidate:S,revalidateOnlyGenerated:I,resolvedPathname:P,clientReferenceManifest:N,serverActionsManifest:j}=b,O=(0,o.normalizeAppPath)(x),_=!!(E.dynamicRoutes[O]||E.routes[P]),H=async()=>((null==T?void 0:T.render404)?await T.render404(e,t,q,!1):t.end("This page could not be found"),null);if(_&&!C){let e=!!E.routes[P],t=E.dynamicRoutes[O];if(t&&!1===t.fallback&&!e){if(A.adapterPath)return await H();throw new v.NoFallbackError}}let U=null;!_||w.isDev||C||(U="/index"===(U=P)?"/":U);let D=!0===w.isDev||!_,M=_&&!D;j&&N&&(0,s.setManifestsSingleton)({page:x,clientReferenceManifest:N,serverActionsManifest:j});let F=e.method||"GET",$=(0,i.getTracer)(),G=$.getActiveScopeSpan(),K=!!(null==T?void 0:T.isWrappedByNextServer),Q=!!(0,n.getRequestMeta)(e,"minimalMode"),B=(0,n.getRequestMeta)(e,"incrementalCache")||await w.getIncrementalCache(e,A,E,Q);null==B||B.resetRequestCache(),globalThis.__incrementalCache=B;let L={params:R,previewProps:E.preview,renderOpts:{experimental:{authInterrupts:!!A.experimental.authInterrupts,useCacheTimeout:A.experimental.useCacheTimeout},cacheComponents:!!A.cacheComponents,validationLevel:A.experimental.instantInsights.validationLevel,supportsDynamicResponse:D,incrementalCache:B,hmrRefreshHash:(0,n.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:A.cacheLife,staticPageGenerationTimeout:A.staticPageGenerationTimeout,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,a,r,n)=>w.onRequestError(e,t,r,n,T)},sharedContext:{buildId:y,deploymentId:k}},W=new l.NodeNextRequest(e),V=new l.NodeNextResponse(t),X=c.NextRequestAdapter.fromNodeNextRequest(W,(0,c.signalFromNodeResponse)(t)),z=async({previousCacheEntry:a})=>{try{if(!Q&&S&&I&&!a)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=await w.handle(X,L);e.fetchMetrics=L.renderOpts.fetchMetrics;let i=L.renderOpts.pendingWaitUntil;i&&r.waitUntil&&(r.waitUntil(i),i=void 0);let s=L.renderOpts.collectedTags;if(!_)return await (0,p.sendResponse)(W,V,n,i),null;{let e=await n.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(n.headers);s&&(t[g.NEXT_CACHE_TAGS_HEADER]=s),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let a=void 0!==L.renderOpts.collectedRevalidate&&!(L.renderOpts.collectedRevalidate>=g.INFINITE_CACHE)&&L.renderOpts.collectedRevalidate,r=void 0===L.renderOpts.collectedExpire||L.renderOpts.collectedExpire>=g.INFINITE_CACHE?!1!==a&&a>0?A.expireTime:void 0:L.renderOpts.collectedExpire;return{value:{kind:f.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:a,expire:r}}}}catch(t){throw(null==a?void 0:a.isStale)&&await w.onRequestError(e,t,{routerKind:"App Router",routePath:x,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:M,isOnDemandRevalidate:S})},!1,T),t}},Z=async(n,s)=>{try{var o,l;let n=await w.handleResponse({req:e,nextConfig:A,cacheKey:U,routeKind:a.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:E,isRoutePPREnabled:!1,isOnDemandRevalidate:S,revalidateOnlyGenerated:I,responseGenerator:z,waitUntil:r.waitUntil,isMinimalMode:Q});if(!_)return;if((null==n||null==(o=n.value)?void 0:o.kind)!==f.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==n||null==(l=n.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});Q||t.setHeader("x-nextjs-cache",S?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),C&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let i=(0,h.fromNodeOutgoingHttpHeaders)(n.value.headers);Q&&_||i.delete(g.NEXT_CACHE_TAGS_HEADER),!n.cacheControl||t.getHeader("Cache-Control")||i.get("Cache-Control")||i.set("Cache-Control",(0,m.getCacheControlHeader)(n.cacheControl)),await (0,p.sendResponse)(W,V,new Response(n.value.body,{headers:i,status:n.value.status||200}));return}catch(t){if(t instanceof v.NoFallbackError||await w.onRequestError(e,t,{routerKind:"App Router",routePath:O,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:M,isOnDemandRevalidate:S})},!1,T),_)throw t;await (0,p.sendResponse)(W,V,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:i.SpanStatusCode.ERROR}),n.setAttribute("error.type",e.toString()));let a=$.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==d.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let r=a.get("next.route")||O,o=`${F} ${r}`;n.setAttributes({"next.route":r,"http.route":r,"next.span_name":o}),n.updateName(o),s&&s!==n&&(s.setAttribute("http.route",r),s.updateName(o))})()}};if(K&&G)await Z(G,void 0);else{let t=$.getActiveScopeSpan();await $.withPropagatedContext(e.headers,()=>$.trace(d.BaseServerSpan.handleRequest,{spanName:`${F} ${x}`,kind:i.SpanKind.SERVER,attributes:{"http.method":F,"http.target":e.url}},e=>Z(e,t)),void 0,!K)}}e.s(["handler",0,k,"patchFetch",0,function(){return(0,r.patchFetch)({workAsyncStorage:x,workUnitAsyncStorage:b})},"routeModule",0,w,"serverHooks",0,y,"workAsyncStorage",0,x,"workUnitAsyncStorage",0,b])},12949,e=>{"use strict";let t="https://accord-spec-workspace.mariusm.chatgpt.site",a=[{path:"/about",title:"Software requirements management and AI delivery | Accord",description:"Turn software requests into agreed requirements, linked tickets and testable acceptance criteria. Guide Codex implementation with scope, decisions and QA feedback."},{path:"/guides",title:"Software requirements and QA guides | Accord",description:"Practical guides for writing software requirements, defining acceptance criteria and managing change requests throughout AI-assisted development."},...[{slug:"software-requirements-template",title:"Software requirements template for development teams",description:"Use a practical software requirements template to capture goals, scope, decisions and testable acceptance criteria before implementation begins.",intro:"A good specification makes the next decision easier. It tells the team what outcome matters, what behaviour is required and how they will know it works.",sections:[{title:"Start with the problem and the person",text:"Name the user, the task they are trying to complete and the current obstacle. “Managers need to review employee expenses without approving their own claims” is more useful than “Build an expense portal.” Keep the original request alongside the refined specification so later decisions can be traced back to it."},{title:"A reusable requirement template",text:"Use these fields for each feature. If an answer is unknown, record a question with an owner instead of filling the gap with a guess.",items:["User and goal: who needs this, and what outcome matters?","Behaviour: what should the system do when the user acts?","Acceptance criteria: observable success, validation and failure cases.","Constraints: permissions, data retention, integration and performance needs.","Out of scope: adjacent behaviour that is deliberately excluded.","Open questions: decision needed, owner and implementation impact.","Evidence: source request, design reference and relevant decisions."]},{title:"Example: approving an expense",text:"Requirement: a manager can approve a pending expense submitted by a direct report. The manager cannot approve their own expense. A rejected expense must include a reason that the employee can read. Record separately who covers an absent manager; that unanswered decision may block the approval feature without blocking the whole application."},{title:"Agree before turning the specification into tickets",text:"Review the requirement with the decision maker, resolve material questions and record an approved baseline. Break the feature into implementable tickets, but keep each ticket linked to its requirement and criteria. A ticket title alone is not a specification."},{title:"Keep the agreement useful during development",text:"When new information changes behaviour, capture the proposed change and its reason. Compare it with the agreed version, identify affected tickets and decide whether implementation should wait. In Accord, baselines preserve previous agreements and accepted requirement changes make affected tickets visibly stale until refreshed."}]},{slug:"acceptance-criteria-and-qa",title:"How to write acceptance criteria that developers and QA can test",description:"Turn vague requirements into observable acceptance criteria, then record QA outcomes and evidence against the exact feature and implementation tested.",intro:"Acceptance criteria connect an intention to a test. They should let a developer, tester and product owner independently recognise whether a feature behaves as agreed.",sections:[{title:"Describe behaviour, not implementation guesses",text:"“The form works correctly” is ambiguous. “Submitting a positive whole number of minutes and a non-empty task name adds one session to the history” gives the team an observable result. Avoid specifying a library or internal function unless it is a real constraint."},{title:"Use Given, When, Then where it helps",text:"Given a manager viewing their own pending expense, when they attempt to approve it, then the system rejects the action and the expense stays pending. Include direct requests as well as button clicks when access control matters: hiding a button alone does not enforce a permission."},{title:"Cover the edges that change the outcome",text:"Choose boundaries from the requirement rather than inventing them during coding. For a session duration of 1–480 whole minutes, test 1 and 480 as valid boundaries, and 0, 481 and a fractional value as invalid.",items:["Happy path: the expected user action succeeds.","Validation: missing, malformed and boundary inputs behave predictably.","Permissions: unauthorised actions are rejected.","Persistence: refresh and repeated actions preserve the intended state.","Failure recovery: users receive useful feedback and can retry safely.","Accessibility: the workflow is usable with a keyboard and meaningful labels."]},{title:"Record evidence per criterion",text:"Record the build or commit, environment, steps, actual result and any supporting evidence. A green unit-test suite is useful, but it does not by itself prove every product criterion. Mark untested behaviour as Not tested and record a failure with reproduction steps."},{title:"Re-test after implementation changes",text:"Previous passes apply to the work that was tested. When a new implementation or a changed requirement affects a ticket, preserve the old QA as history and test the current criteria again. Accord separates AI-reported evidence from recorded QA so an implementation report does not silently complete a ticket."}]},{slug:"ai-development-change-requests",title:"Manage software change requests during AI-assisted development",description:"Keep AI coding work aligned with approved requirements using linked change requests, clarification decisions, scoped tickets and fresh QA evidence.",intro:"A coding agent can implement quickly while still implementing the wrong interpretation. A useful change process keeps the current agreement, pending decisions and verification evidence visible to everyone.",sections:[{title:"Write the change as a before-and-after decision",text:"Capture the current behaviour, proposed behaviour, reason and affected requirement. For example: “Expenses above R10,000 need finance approval after manager approval.” That is a scope change if the baseline required only one approval. Ask for an estimate and record the owner’s decision before treating it as agreed work."},{title:"Give the agent a bounded implementation brief",text:"Include the original request, current requirement revision, acceptance criteria, linked tickets, relevant decisions and QA failures. Identify the repository and design references the agent can actually access. Explicitly list excluded work. Accord exports this context and can send it to a connected local Codex runner."},{title:"Treat clarifying questions as project decisions",text:"If the agent asks about a business rule, present the question with its context and collect an answer from the decision maker. Save the answer in the project and resume the same work with that decision. Do not hide material ambiguity in a terminal log or let silence become approval."},{title:"Choose development skills and verify their use",text:"A team can request practices such as test-driven development or systematic debugging. In Accord, selected skills are instructions for the runner. The actual skill must be available, and missing skills should be raised before coding. Review the report for evidence of use; selecting a skill is not proof that it was followed."},{title:"Close the loop with QA and rework",text:"Ask the agent to report changes, commands, results and unverified criteria. QA should test the current implementation against the agreement. Feed reproduction steps and failures into the next run, while labelling older evidence as historical. Approve completion only after the current criteria pass with recorded evidence."},{title:"Where a requirements system adds value",text:"ChatGPT and Codex can help draft requirements and implement software directly. Accord adds a shared record of approved scope, linked work, clarification answers, change history and QA outcomes. Its value depends on keeping that record accurate and using it to guide implementation decisions."}]}].map(e=>({path:`/guides/${e.slug}`,title:`${e.title} | Accord`,description:e.description}))];e.s(["robotsText",0,function(){return`User-agent: *
2
+ Allow: /
3
+ Disallow: /api/
4
+ Disallow: /spec
5
+ Disallow: /s/
6
+ Disallow: /signin-with-chatgpt
7
+ Disallow: /signout-with-chatgpt
8
+
9
+ Sitemap: ${t}/sitemap.xml
10
+ `},"sitemapXml",0,function(){return`<?xml version="1.0" encoding="UTF-8"?>
11
+ <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">${a.map(e=>`
12
+ <url><loc>${t+e.path}</loc></url>`).join("")}
13
+ </urlset>`}])}];
14
+
15
+ //# sourceMappingURL=%5Broot-of-the-server%5D__1_g8brf._.js.map
@@ -0,0 +1,15 @@
1
+ module.exports=[70406,(e,t,a)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},18622,(e,t,a)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,a)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,a)=>{t.exports=e.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,(e,t,a)=>{t.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},93695,(e,t,a)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},81111,(e,t,a)=>{t.exports=e.x("node:stream",()=>require("node:stream"))},61493,e=>{"use strict";var t=e.i(12949);e.s(["GET",0,function(){return new Response((0,t.sitemapXml)(),{headers:{"Content-Type":"application/xml; charset=utf-8","Cache-Control":"public, max-age=3600"}})}])},85344,e=>{"use strict";var t=e.i(47909),a=e.i(74017),r=e.i(96250),n=e.i(59756),i=e.i(61916),s=e.i(74677),o=e.i(69741),l=e.i(16795),c=e.i(87718),d=e.i(95169),u=e.i(47587),p=e.i(66012),h=e.i(70101),m=e.i(26937),g=e.i(10372),v=e.i(93695);e.i(52474);var f=e.i(220);let w=new t.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/sitemap.xml/route",pathname:"/sitemap.xml",filename:"route",bundlePath:""},distDir:".next-node",relativeProjectDir:"",resolvedPagePath:"[project]/app/sitemap.xml/route.ts",nextConfigOutput:"standalone",userland:()=>e.r(61493),...{}}),{workAsyncStorage:x,workUnitAsyncStorage:b,serverHooks:y}=w;async function k(e,t,r){r.requestMeta&&(0,n.setRequestMeta)(e,r.requestMeta),w.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let x="/sitemap.xml/route";x=x.replace(/\/index$/,"")||"/";let b=await w.prepare(e,t,{srcPage:x,multiZoneDraftMode:!1});if(!b)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:y,deploymentId:k,params:R,nextConfig:A,parsedUrl:q,isDraftMode:C,prerenderManifest:E,routerServerContext:T,isOnDemandRevalidate:S,revalidateOnlyGenerated:I,resolvedPathname:P,clientReferenceManifest:N,serverActionsManifest:j}=b,O=(0,o.normalizeAppPath)(x),_=!!(E.dynamicRoutes[O]||E.routes[P]),H=async()=>((null==T?void 0:T.render404)?await T.render404(e,t,q,!1):t.end("This page could not be found"),null);if(_&&!C){let e=!!E.routes[P],t=E.dynamicRoutes[O];if(t&&!1===t.fallback&&!e){if(A.adapterPath)return await H();throw new v.NoFallbackError}}let U=null;!_||w.isDev||C||(U="/index"===(U=P)?"/":U);let D=!0===w.isDev||!_,M=_&&!D;j&&N&&(0,s.setManifestsSingleton)({page:x,clientReferenceManifest:N,serverActionsManifest:j});let F=e.method||"GET",$=(0,i.getTracer)(),G=$.getActiveScopeSpan(),K=!!(null==T?void 0:T.isWrappedByNextServer),Q=!!(0,n.getRequestMeta)(e,"minimalMode"),B=(0,n.getRequestMeta)(e,"incrementalCache")||await w.getIncrementalCache(e,A,E,Q);null==B||B.resetRequestCache(),globalThis.__incrementalCache=B;let L={params:R,previewProps:E.preview,renderOpts:{experimental:{authInterrupts:!!A.experimental.authInterrupts,useCacheTimeout:A.experimental.useCacheTimeout},cacheComponents:!!A.cacheComponents,validationLevel:A.experimental.instantInsights.validationLevel,supportsDynamicResponse:D,incrementalCache:B,hmrRefreshHash:(0,n.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:A.cacheLife,staticPageGenerationTimeout:A.staticPageGenerationTimeout,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,a,r,n)=>w.onRequestError(e,t,r,n,T)},sharedContext:{buildId:y,deploymentId:k}},W=new l.NodeNextRequest(e),X=new l.NodeNextResponse(t),V=c.NextRequestAdapter.fromNodeNextRequest(W,(0,c.signalFromNodeResponse)(t)),z=async({previousCacheEntry:a})=>{try{if(!Q&&S&&I&&!a)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=await w.handle(V,L);e.fetchMetrics=L.renderOpts.fetchMetrics;let i=L.renderOpts.pendingWaitUntil;i&&r.waitUntil&&(r.waitUntil(i),i=void 0);let s=L.renderOpts.collectedTags;if(!_)return await (0,p.sendResponse)(W,X,n,i),null;{let e=await n.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(n.headers);s&&(t[g.NEXT_CACHE_TAGS_HEADER]=s),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let a=void 0!==L.renderOpts.collectedRevalidate&&!(L.renderOpts.collectedRevalidate>=g.INFINITE_CACHE)&&L.renderOpts.collectedRevalidate,r=void 0===L.renderOpts.collectedExpire||L.renderOpts.collectedExpire>=g.INFINITE_CACHE?!1!==a&&a>0?A.expireTime:void 0:L.renderOpts.collectedExpire;return{value:{kind:f.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:a,expire:r}}}}catch(t){throw(null==a?void 0:a.isStale)&&await w.onRequestError(e,t,{routerKind:"App Router",routePath:x,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:M,isOnDemandRevalidate:S})},!1,T),t}},Z=async(n,s)=>{try{var o,l;let n=await w.handleResponse({req:e,nextConfig:A,cacheKey:U,routeKind:a.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:E,isRoutePPREnabled:!1,isOnDemandRevalidate:S,revalidateOnlyGenerated:I,responseGenerator:z,waitUntil:r.waitUntil,isMinimalMode:Q});if(!_)return;if((null==n||null==(o=n.value)?void 0:o.kind)!==f.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==n||null==(l=n.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});Q||t.setHeader("x-nextjs-cache",S?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),C&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let i=(0,h.fromNodeOutgoingHttpHeaders)(n.value.headers);Q&&_||i.delete(g.NEXT_CACHE_TAGS_HEADER),!n.cacheControl||t.getHeader("Cache-Control")||i.get("Cache-Control")||i.set("Cache-Control",(0,m.getCacheControlHeader)(n.cacheControl)),await (0,p.sendResponse)(W,X,new Response(n.value.body,{headers:i,status:n.value.status||200}));return}catch(t){if(t instanceof v.NoFallbackError||await w.onRequestError(e,t,{routerKind:"App Router",routePath:O,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:M,isOnDemandRevalidate:S})},!1,T),_)throw t;await (0,p.sendResponse)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:i.SpanStatusCode.ERROR}),n.setAttribute("error.type",e.toString()));let a=$.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==d.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let r=a.get("next.route")||O,o=`${F} ${r}`;n.setAttributes({"next.route":r,"http.route":r,"next.span_name":o}),n.updateName(o),s&&s!==n&&(s.setAttribute("http.route",r),s.updateName(o))})()}};if(K&&G)await Z(G,void 0);else{let t=$.getActiveScopeSpan();await $.withPropagatedContext(e.headers,()=>$.trace(d.BaseServerSpan.handleRequest,{spanName:`${F} ${x}`,kind:i.SpanKind.SERVER,attributes:{"http.method":F,"http.target":e.url}},e=>Z(e,t)),void 0,!K)}}e.s(["handler",0,k,"patchFetch",0,function(){return(0,r.patchFetch)({workAsyncStorage:x,workUnitAsyncStorage:b})},"routeModule",0,w,"serverHooks",0,y,"workAsyncStorage",0,x,"workUnitAsyncStorage",0,b])},12949,e=>{"use strict";let t="https://accord-spec-workspace.mariusm.chatgpt.site",a=[{path:"/about",title:"Software requirements management and AI delivery | Accord",description:"Turn software requests into agreed requirements, linked tickets and testable acceptance criteria. Guide Codex implementation with scope, decisions and QA feedback."},{path:"/guides",title:"Software requirements and QA guides | Accord",description:"Practical guides for writing software requirements, defining acceptance criteria and managing change requests throughout AI-assisted development."},...[{slug:"software-requirements-template",title:"Software requirements template for development teams",description:"Use a practical software requirements template to capture goals, scope, decisions and testable acceptance criteria before implementation begins.",intro:"A good specification makes the next decision easier. It tells the team what outcome matters, what behaviour is required and how they will know it works.",sections:[{title:"Start with the problem and the person",text:"Name the user, the task they are trying to complete and the current obstacle. “Managers need to review employee expenses without approving their own claims” is more useful than “Build an expense portal.” Keep the original request alongside the refined specification so later decisions can be traced back to it."},{title:"A reusable requirement template",text:"Use these fields for each feature. If an answer is unknown, record a question with an owner instead of filling the gap with a guess.",items:["User and goal: who needs this, and what outcome matters?","Behaviour: what should the system do when the user acts?","Acceptance criteria: observable success, validation and failure cases.","Constraints: permissions, data retention, integration and performance needs.","Out of scope: adjacent behaviour that is deliberately excluded.","Open questions: decision needed, owner and implementation impact.","Evidence: source request, design reference and relevant decisions."]},{title:"Example: approving an expense",text:"Requirement: a manager can approve a pending expense submitted by a direct report. The manager cannot approve their own expense. A rejected expense must include a reason that the employee can read. Record separately who covers an absent manager; that unanswered decision may block the approval feature without blocking the whole application."},{title:"Agree before turning the specification into tickets",text:"Review the requirement with the decision maker, resolve material questions and record an approved baseline. Break the feature into implementable tickets, but keep each ticket linked to its requirement and criteria. A ticket title alone is not a specification."},{title:"Keep the agreement useful during development",text:"When new information changes behaviour, capture the proposed change and its reason. Compare it with the agreed version, identify affected tickets and decide whether implementation should wait. In Accord, baselines preserve previous agreements and accepted requirement changes make affected tickets visibly stale until refreshed."}]},{slug:"acceptance-criteria-and-qa",title:"How to write acceptance criteria that developers and QA can test",description:"Turn vague requirements into observable acceptance criteria, then record QA outcomes and evidence against the exact feature and implementation tested.",intro:"Acceptance criteria connect an intention to a test. They should let a developer, tester and product owner independently recognise whether a feature behaves as agreed.",sections:[{title:"Describe behaviour, not implementation guesses",text:"“The form works correctly” is ambiguous. “Submitting a positive whole number of minutes and a non-empty task name adds one session to the history” gives the team an observable result. Avoid specifying a library or internal function unless it is a real constraint."},{title:"Use Given, When, Then where it helps",text:"Given a manager viewing their own pending expense, when they attempt to approve it, then the system rejects the action and the expense stays pending. Include direct requests as well as button clicks when access control matters: hiding a button alone does not enforce a permission."},{title:"Cover the edges that change the outcome",text:"Choose boundaries from the requirement rather than inventing them during coding. For a session duration of 1–480 whole minutes, test 1 and 480 as valid boundaries, and 0, 481 and a fractional value as invalid.",items:["Happy path: the expected user action succeeds.","Validation: missing, malformed and boundary inputs behave predictably.","Permissions: unauthorised actions are rejected.","Persistence: refresh and repeated actions preserve the intended state.","Failure recovery: users receive useful feedback and can retry safely.","Accessibility: the workflow is usable with a keyboard and meaningful labels."]},{title:"Record evidence per criterion",text:"Record the build or commit, environment, steps, actual result and any supporting evidence. A green unit-test suite is useful, but it does not by itself prove every product criterion. Mark untested behaviour as Not tested and record a failure with reproduction steps."},{title:"Re-test after implementation changes",text:"Previous passes apply to the work that was tested. When a new implementation or a changed requirement affects a ticket, preserve the old QA as history and test the current criteria again. Accord separates AI-reported evidence from recorded QA so an implementation report does not silently complete a ticket."}]},{slug:"ai-development-change-requests",title:"Manage software change requests during AI-assisted development",description:"Keep AI coding work aligned with approved requirements using linked change requests, clarification decisions, scoped tickets and fresh QA evidence.",intro:"A coding agent can implement quickly while still implementing the wrong interpretation. A useful change process keeps the current agreement, pending decisions and verification evidence visible to everyone.",sections:[{title:"Write the change as a before-and-after decision",text:"Capture the current behaviour, proposed behaviour, reason and affected requirement. For example: “Expenses above R10,000 need finance approval after manager approval.” That is a scope change if the baseline required only one approval. Ask for an estimate and record the owner’s decision before treating it as agreed work."},{title:"Give the agent a bounded implementation brief",text:"Include the original request, current requirement revision, acceptance criteria, linked tickets, relevant decisions and QA failures. Identify the repository and design references the agent can actually access. Explicitly list excluded work. Accord exports this context and can send it to a connected local Codex runner."},{title:"Treat clarifying questions as project decisions",text:"If the agent asks about a business rule, present the question with its context and collect an answer from the decision maker. Save the answer in the project and resume the same work with that decision. Do not hide material ambiguity in a terminal log or let silence become approval."},{title:"Choose development skills and verify their use",text:"A team can request practices such as test-driven development or systematic debugging. In Accord, selected skills are instructions for the runner. The actual skill must be available, and missing skills should be raised before coding. Review the report for evidence of use; selecting a skill is not proof that it was followed."},{title:"Close the loop with QA and rework",text:"Ask the agent to report changes, commands, results and unverified criteria. QA should test the current implementation against the agreement. Feed reproduction steps and failures into the next run, while labelling older evidence as historical. Approve completion only after the current criteria pass with recorded evidence."},{title:"Where a requirements system adds value",text:"ChatGPT and Codex can help draft requirements and implement software directly. Accord adds a shared record of approved scope, linked work, clarification answers, change history and QA outcomes. Its value depends on keeping that record accurate and using it to guide implementation decisions."}]}].map(e=>({path:`/guides/${e.slug}`,title:`${e.title} | Accord`,description:e.description}))];e.s(["robotsText",0,function(){return`User-agent: *
2
+ Allow: /
3
+ Disallow: /api/
4
+ Disallow: /spec
5
+ Disallow: /s/
6
+ Disallow: /signin-with-chatgpt
7
+ Disallow: /signout-with-chatgpt
8
+
9
+ Sitemap: ${t}/sitemap.xml
10
+ `},"sitemapXml",0,function(){return`<?xml version="1.0" encoding="UTF-8"?>
11
+ <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">${a.map(e=>`
12
+ <url><loc>${t+e.path}</loc></url>`).join("")}
13
+ </urlset>`}])}];
14
+
15
+ //# sourceMappingURL=%5Broot-of-the-server%5D__1cj35zq._.js.map
@@ -0,0 +1,3 @@
1
+ module.exports=[70406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},18622,(e,t,r)=>{t.exports=e.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,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.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,(e,t,r)=>{t.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},74533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},2157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},60526,(e,t,r)=>{t.exports=e.x("node:os",()=>require("node:os"))},50227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},81111,(e,t,r)=>{t.exports=e.x("node:stream",()=>require("node:stream"))},26590,e=>{"use strict";var t=e.i(51759);let r=e=>'"'+e.replace(/"/g,'""')+'"';async function a(e){try{let a=new URL(e.url),{row:n,user:s}=await (0,t.access)(a.searchParams.get("projectId")??"");(0,t.throttle)("audit:"+s.userId,20);let o=JSON.parse(n.data),i=[...o.activity].reverse().sort((e,t)=>e.at===t.at?0:e.at<t.at?-1:1).map(e=>{let t=/^Approved baseline v(\d+)\.$/.exec(e.text),r=t?o.baselines.find(e=>e.number===Number(t[1])):void 0;return{at:e.at,by:e.by,event:e.text,detail:r?r.note:""}});if("csv"===a.searchParams.get("format")){let e;return new Response("\uFEFF"+[["Recorded at","Recorded by","Event","Detail"],...i.map(e=>[e.at,e.by,e.event,e.detail])].map(e=>e.map(r).join(",")).join("\r\n")+"\r\n",{headers:{"Content-Type":"text/csv; charset=utf-8","Cache-Control":"no-store","X-Content-Type-Options":"nosniff","X-Robots-Tag":"noindex, nofollow, nosnippet","Content-Disposition":`attachment; filename="${((e=o.name.replace(/[^a-zA-Z0-9]+/g,"-").replace(/^-|-$/g,""))?e+"-":"")+"audit.csv"}"`}})}return(0,t.json)({project:{id:o.id,name:o.name},exportedAt:new Date().toISOString(),entries:i})}catch(e){return(0,t.failure)(e)}}e.s(["GET",0,a],26590)},2429,e=>{"use strict";var t=e.i(47909),r=e.i(74017),a=e.i(96250),n=e.i(59756),s=e.i(61916),o=e.i(74677),i=e.i(69741),l=e.i(16795),d=e.i(87718),u=e.i(95169),p=e.i(47587),c=e.i(66012),x=e.i(70101),h=e.i(26937),v=e.i(10372),R=e.i(93695);e.i(52474);var m=e.i(220);let g=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/audit/route",pathname:"/api/audit",filename:"route",bundlePath:""},distDir:".next-node",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/audit/route.ts",nextConfigOutput:"standalone",userland:()=>e.r(26590),...{}}),{workAsyncStorage:f,workUnitAsyncStorage:w,serverHooks:y}=g;async function C(e,t,a){a.requestMeta&&(0,n.setRequestMeta)(e,a.requestMeta),g.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let f="/api/audit/route";f=f.replace(/\/index$/,"")||"/";let w=await g.prepare(e,t,{srcPage:f,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:y,deploymentId:C,params:E,nextConfig:b,parsedUrl:A,isDraftMode:T,prerenderManifest:q,routerServerContext:S,isOnDemandRevalidate:P,revalidateOnlyGenerated:j,resolvedPathname:N,clientReferenceManifest:O,serverActionsManifest:_}=w,k=(0,i.normalizeAppPath)(f),I=!!(q.dynamicRoutes[k]||q.routes[N]),H=async()=>((null==S?void 0:S.render404)?await S.render404(e,t,A,!1):t.end("This page could not be found"),null);if(I&&!T){let e=!!q.routes[N],t=q.dynamicRoutes[k];if(t&&!1===t.fallback&&!e){if(b.adapterPath)return await H();throw new R.NoFallbackError}}let D=null;!I||g.isDev||T||(D="/index"===(D=N)?"/":D);let M=!0===g.isDev||!I,U=I&&!M;_&&O&&(0,o.setManifestsSingleton)({page:f,clientReferenceManifest:O,serverActionsManifest:_});let F=e.method||"GET",$=(0,s.getTracer)(),K=$.getActiveScopeSpan(),L=!!(null==S?void 0:S.isWrappedByNextServer),B=!!(0,n.getRequestMeta)(e,"minimalMode"),G=(0,n.getRequestMeta)(e,"incrementalCache")||await g.getIncrementalCache(e,b,q,B);null==G||G.resetRequestCache(),globalThis.__incrementalCache=G;let X={params:E,previewProps:q.preview,renderOpts:{experimental:{authInterrupts:!!b.experimental.authInterrupts,useCacheTimeout:b.experimental.useCacheTimeout},cacheComponents:!!b.cacheComponents,validationLevel:b.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:G,hmrRefreshHash:(0,n.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:b.cacheLife,staticPageGenerationTimeout:b.staticPageGenerationTimeout,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>g.onRequestError(e,t,a,n,S)},sharedContext:{buildId:y,deploymentId:C}},V=new l.NodeNextRequest(e),z=new l.NodeNextResponse(t),W=d.NextRequestAdapter.fromNodeNextRequest(V,(0,d.signalFromNodeResponse)(t)),Z=async({previousCacheEntry:r})=>{try{if(!B&&P&&j&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=await g.handle(W,X);e.fetchMetrics=X.renderOpts.fetchMetrics;let s=X.renderOpts.pendingWaitUntil;s&&a.waitUntil&&(a.waitUntil(s),s=void 0);let o=X.renderOpts.collectedTags;if(!I)return await (0,c.sendResponse)(V,z,n,s),null;{let e=await n.blob(),t=(0,x.toNodeOutgoingHttpHeaders)(n.headers);o&&(t[v.NEXT_CACHE_TAGS_HEADER]=o),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==X.renderOpts.collectedRevalidate&&!(X.renderOpts.collectedRevalidate>=v.INFINITE_CACHE)&&X.renderOpts.collectedRevalidate,a=void 0===X.renderOpts.collectedExpire||X.renderOpts.collectedExpire>=v.INFINITE_CACHE?!1!==r&&r>0?b.expireTime:void 0:X.renderOpts.collectedExpire;return{value:{kind:m.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await g.onRequestError(e,t,{routerKind:"App Router",routePath:f,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:U,isOnDemandRevalidate:P})},!1,S),t}},J=async(n,o)=>{try{var i,l;let n=await g.handleResponse({req:e,nextConfig:b,cacheKey:D,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:q,isRoutePPREnabled:!1,isOnDemandRevalidate:P,revalidateOnlyGenerated:j,responseGenerator:Z,waitUntil:a.waitUntil,isMinimalMode:B});if(!I)return;if((null==n||null==(i=n.value)?void 0:i.kind)!==m.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==n||null==(l=n.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});B||t.setHeader("x-nextjs-cache",P?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),T&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let s=(0,x.fromNodeOutgoingHttpHeaders)(n.value.headers);B&&I||s.delete(v.NEXT_CACHE_TAGS_HEADER),!n.cacheControl||t.getHeader("Cache-Control")||s.get("Cache-Control")||s.set("Cache-Control",(0,h.getCacheControlHeader)(n.cacheControl)),await (0,c.sendResponse)(V,z,new Response(n.value.body,{headers:s,status:n.value.status||200}));return}catch(t){if(t instanceof R.NoFallbackError||await g.onRequestError(e,t,{routerKind:"App Router",routePath:k,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:U,isOnDemandRevalidate:P})},!1,S),I)throw t;await (0,c.sendResponse)(V,z,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:s.SpanStatusCode.ERROR}),n.setAttribute("error.type",e.toString()));let r=$.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==u.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route")||k,i=`${F} ${a}`;n.setAttributes({"next.route":a,"http.route":a,"next.span_name":i}),n.updateName(i),o&&o!==n&&(o.setAttribute("http.route",a),o.updateName(i))})()}};if(L&&K)await J(K,void 0);else{let t=$.getActiveScopeSpan();await $.withPropagatedContext(e.headers,()=>$.trace(u.BaseServerSpan.handleRequest,{spanName:`${F} ${f}`,kind:s.SpanKind.SERVER,attributes:{"http.method":F,"http.target":e.url}},e=>J(e,t)),void 0,!L)}}e.s(["handler",0,C,"patchFetch",0,function(){return(0,a.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:w})},"routeModule",0,g,"serverHooks",0,y,"workAsyncStorage",0,f,"workUnitAsyncStorage",0,w])}];
2
+
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__1ecyjj1._.js.map
@@ -0,0 +1,3 @@
1
+ module.exports=[70406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},18622,(e,t,r)=>{t.exports=e.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,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.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,(e,t,r)=>{t.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},74533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},2157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},60526,(e,t,r)=>{t.exports=e.x("node:os",()=>require("node:os"))},50227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},81111,(e,t,r)=>{t.exports=e.x("node:stream",()=>require("node:stream"))},54316,e=>{"use strict";var t=e.i(51759),r=e.i(55402),a=e.i(16321);async function n(){try{if(await (0,t.identity)(),!a.licensingApplies)return(0,t.json)({applies:!1});let e=(0,a.licence)();if(!e.needsCheck)return(0,t.json)({applies:!0,checkout:(0,a.checkoutUrl)(),...e});let{licence:r}=await (0,a.revalidate)();return(0,t.json)({applies:!0,checkout:(0,a.checkoutUrl)(),...r})}catch(e){return(0,t.failure)(e)}}async function i(e){try{let n=await (0,t.body)(e),i=await (0,t.identity)();if((0,t.throttle)("licence.write:"+i.userId,20),!a.licensingApplies)throw new r.DomainError("Hosted Accord is paid for by the account that signed in, not by a licence key.");if(!0===n.release){let{licence:e}=await (0,a.release)();return(0,t.json)({applies:!0,...e})}let{licence:s}=await (0,a.activate)(String(n.key??""));return(0,t.json)({applies:!0,...s})}catch(e){return(0,t.failure)(e)}}e.s(["GET",0,n,"POST",0,i])},46303,e=>{"use strict";var t=e.i(47909),r=e.i(74017),a=e.i(96250),n=e.i(59756),i=e.i(61916),s=e.i(74677),o=e.i(69741),c=e.i(16795),l=e.i(87718),d=e.i(95169),u=e.i(47587),p=e.i(66012),h=e.i(70101),f=e.i(26937),y=e.i(10372),m=e.i(93695);e.i(52474);var x=e.i(220);let w=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/licence/route",pathname:"/api/licence",filename:"route",bundlePath:""},distDir:".next-node",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/licence/route.ts",nextConfigOutput:"standalone",userland:()=>e.r(54316),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:g,serverHooks:k}=w;async function R(e,t,a){a.requestMeta&&(0,n.setRequestMeta)(e,a.requestMeta),w.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let v="/api/licence/route";v=v.replace(/\/index$/,"")||"/";let g=await w.prepare(e,t,{srcPage:v,multiZoneDraftMode:!1});if(!g)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:k,deploymentId:R,params:b,nextConfig:C,parsedUrl:E,isDraftMode:A,prerenderManifest:S,routerServerContext:T,isOnDemandRevalidate:_,revalidateOnlyGenerated:q,resolvedPathname:j,clientReferenceManifest:D,serverActionsManifest:N}=g,O=(0,o.normalizeAppPath)(v),P=!!(S.dynamicRoutes[O]||S.routes[j]),I=async()=>((null==T?void 0:T.render404)?await T.render404(e,t,E,!1):t.end("This page could not be found"),null);if(P&&!A){let e=!!S.routes[j],t=S.dynamicRoutes[O];if(t&&!1===t.fallback&&!e){if(C.adapterPath)return await I();throw new m.NoFallbackError}}let L=null;!P||w.isDev||A||(L="/index"===(L=j)?"/":L);let H=!0===w.isDev||!P,U=P&&!H;N&&D&&(0,s.setManifestsSingleton)({page:v,clientReferenceManifest:D,serverActionsManifest:N});let M=e.method||"GET",F=(0,i.getTracer)(),K=F.getActiveScopeSpan(),z=!!(null==T?void 0:T.isWrappedByNextServer),$=!!(0,n.getRequestMeta)(e,"minimalMode"),B=(0,n.getRequestMeta)(e,"incrementalCache")||await w.getIncrementalCache(e,C,S,$);null==B||B.resetRequestCache(),globalThis.__incrementalCache=B;let G={params:b,previewProps:S.preview,renderOpts:{experimental:{authInterrupts:!!C.experimental.authInterrupts,useCacheTimeout:C.experimental.useCacheTimeout},cacheComponents:!!C.cacheComponents,validationLevel:C.experimental.instantInsights.validationLevel,supportsDynamicResponse:H,incrementalCache:B,hmrRefreshHash:(0,n.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:C.cacheLife,staticPageGenerationTimeout:C.staticPageGenerationTimeout,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>w.onRequestError(e,t,a,n,T)},sharedContext:{buildId:k,deploymentId:R}},Y=new c.NodeNextRequest(e),V=new c.NodeNextResponse(t),W=l.NextRequestAdapter.fromNodeNextRequest(Y,(0,l.signalFromNodeResponse)(t)),X=async({previousCacheEntry:r})=>{try{if(!$&&_&&q&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=await w.handle(W,G);e.fetchMetrics=G.renderOpts.fetchMetrics;let i=G.renderOpts.pendingWaitUntil;i&&a.waitUntil&&(a.waitUntil(i),i=void 0);let s=G.renderOpts.collectedTags;if(!P)return await (0,p.sendResponse)(Y,V,n,i),null;{let e=await n.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(n.headers);s&&(t[y.NEXT_CACHE_TAGS_HEADER]=s),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==G.renderOpts.collectedRevalidate&&!(G.renderOpts.collectedRevalidate>=y.INFINITE_CACHE)&&G.renderOpts.collectedRevalidate,a=void 0===G.renderOpts.collectedExpire||G.renderOpts.collectedExpire>=y.INFINITE_CACHE?!1!==r&&r>0?C.expireTime:void 0:G.renderOpts.collectedExpire;return{value:{kind:x.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await w.onRequestError(e,t,{routerKind:"App Router",routePath:v,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:U,isOnDemandRevalidate:_})},!1,T),t}},J=async(n,s)=>{try{var o,c;let n=await w.handleResponse({req:e,nextConfig:C,cacheKey:L,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:S,isRoutePPREnabled:!1,isOnDemandRevalidate:_,revalidateOnlyGenerated:q,responseGenerator:X,waitUntil:a.waitUntil,isMinimalMode:$});if(!P)return;if((null==n||null==(o=n.value)?void 0:o.kind)!==x.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==n||null==(c=n.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});$||t.setHeader("x-nextjs-cache",_?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),A&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let i=(0,h.fromNodeOutgoingHttpHeaders)(n.value.headers);$&&P||i.delete(y.NEXT_CACHE_TAGS_HEADER),!n.cacheControl||t.getHeader("Cache-Control")||i.get("Cache-Control")||i.set("Cache-Control",(0,f.getCacheControlHeader)(n.cacheControl)),await (0,p.sendResponse)(Y,V,new Response(n.value.body,{headers:i,status:n.value.status||200}));return}catch(t){if(t instanceof m.NoFallbackError||await w.onRequestError(e,t,{routerKind:"App Router",routePath:O,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:U,isOnDemandRevalidate:_})},!1,T),P)throw t;await (0,p.sendResponse)(Y,V,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:i.SpanStatusCode.ERROR}),n.setAttribute("error.type",e.toString()));let r=F.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==d.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route")||O,o=`${M} ${a}`;n.setAttributes({"next.route":a,"http.route":a,"next.span_name":o}),n.updateName(o),s&&s!==n&&(s.setAttribute("http.route",a),s.updateName(o))})()}};if(z&&K)await J(K,void 0);else{let t=F.getActiveScopeSpan();await F.withPropagatedContext(e.headers,()=>F.trace(d.BaseServerSpan.handleRequest,{spanName:`${M} ${v}`,kind:i.SpanKind.SERVER,attributes:{"http.method":M,"http.target":e.url}},e=>J(e,t)),void 0,!z)}}e.s(["handler",0,R,"patchFetch",0,function(){return(0,a.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:g})},"routeModule",0,w,"serverHooks",0,k,"workAsyncStorage",0,v,"workUnitAsyncStorage",0,g])},16321,e=>{"use strict";var t=e.i(2157),r=e.i(50227),a=e.i(60526),n=e.i(79071),i=e.i(55402);let s=(e,t)=>Math.max(0,Math.ceil((e-t)/864e5)),o=e=>{let t=Date.parse(e??"");return Number.isNaN(t)?null:t};function c(e,t=new Date){let r=e??{},a=t.getTime(),n=r.customer??"";if(r.key&&r.foreign)return{mode:"expired",writable:!1,daysLeft:0,needsCheck:!1,reason:"That licence key belongs to a different product. Check the receipt for your Accord licence — your work is safe and still readable.",customer:n};if(r.key&&("expired"===r.status||"disabled"===r.status||"inactive"===r.status))return{mode:"expired",writable:!1,daysLeft:0,needsCheck:!0,reason:("expired"===r.status?"This licence has expired.":"disabled"===r.status?"This licence was disabled.":"This licence is not active on this machine.")+" Your work is safe and still readable — renew or enter another key to make changes again.",customer:n};if(r.key&&"active"===r.status){let e=o(r.expiresAt);if(null!==e&&e<=a)return{mode:"expired",writable:!1,daysLeft:0,needsCheck:!0,reason:"This licence has expired. Your work is safe and still readable — renew to make changes again.",customer:n};let t=o(r.checkedAt);if(null===t)return{mode:"licensed",writable:!0,daysLeft:0,needsCheck:!0,reason:"",customer:n};let i=t+12096e5;if(a>=i)return{mode:"expired",writable:!1,daysLeft:0,needsCheck:!0,reason:"Accord has not been able to reach Lemon Squeezy for 14 days, so it cannot confirm this licence. Connect to the internet once to carry on.",customer:n};let c=a-t>864e5;return{mode:"licensed",writable:!0,daysLeft:c?s(i,a):0,needsCheck:c,reason:"",customer:n}}let i=o(r.trialStartedAt);if(null===i)return{mode:"unlicensed",writable:!1,daysLeft:0,needsCheck:!1,reason:"Enter a licence key to start using Accord.",customer:n};let l=i+6048e5;if(a>=l)return{mode:"unlicensed",writable:!1,daysLeft:0,needsCheck:!1,reason:"Your 7-day trial has ended. Everything you made is still here and still readable — enter a licence key to make changes again.",customer:n};let d=s(l,a);return{mode:"trial",writable:!0,daysLeft:d,needsCheck:!1,reason:1===d?"Last day of your trial.":d+" days left in your trial.",customer:n}}let l=["active","expired","disabled","inactive"];function d(e,t,r=new Date){let a=l.find(t=>t===e.license_key?.status),n=e.meta?.store_id,i=e.meta?.product_id;return{...t,status:a,expiresAt:e.license_key?.expires_at??null,instanceId:e.instance?.id??t.instanceId,customer:e.meta?.customer_email??e.meta?.customer_name??t.customer,foreign:void 0!==n&&465446!==n||void 0!==i&&1360259!==i,checkedAt:r.toISOString(),lastError:e.error??void 0}}let u=()=>r.default.join((0,n.accordHome)(),"licence.json");function p(){try{let e=JSON.parse((0,t.readFileSync)(u(),"utf8"));return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}catch{return{}}}function h(e){return(0,t.mkdirSync)((0,n.accordHome)(),{recursive:!0}),(0,t.writeFileSync)(u(),JSON.stringify(e,null,1)),e}async function f(e,t,r=fetch){let a,n=await r("https://api.lemonsqueezy.com/v1/licenses/"+e,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams(t).toString()});if(!((a=n.status)>=200&&a<500))throw new i.DomainError("Lemon Squeezy could not be reached just now. Your licence is unchanged; try again shortly.",503);return await n.json().catch(()=>({}))}async function y(e,t=(()=>{try{return"accord@"+(0,a.hostname)()}catch{return"accord"}})(),r=fetch,n=new Date){let s=e.trim();if(!s)throw new i.DomainError("Enter the licence key from your Lemon Squeezy receipt.");let o=await f("activate",{license_key:s,instance_name:t},r);if(!o.activated||o.error)throw new i.DomainError(o.error??"That licence key was not accepted.");let l=d(o,{...p(),key:s},n);if(l.foreign)throw new i.DomainError("That licence key is a valid Lemon Squeezy key, but it is for a different product. Check the receipt for your Accord licence.");let u=h(l);return{state:u,licence:c(u,n)}}async function m(e=fetch,t=new Date){let r=p();if(!r.key)return{state:r,licence:c(r,t)};try{let a=await f("validate",{license_key:r.key,...r.instanceId?{instance_id:r.instanceId}:{}},e),n=h(d(a,r,t));return{state:n,licence:c(n,t)}}catch(e){if(!(e instanceof i.DomainError&&503===e.status))throw e;return{state:r,licence:c(r,t)}}}async function x(e=fetch,t=new Date){let r=p();r.key&&r.instanceId&&await f("deactivate",{license_key:r.key,instance_id:r.instanceId},e).catch(()=>({}));let a=h({trialStartedAt:r.trialStartedAt});return{state:a,licence:c(a,t)}}function w(e=new Date){return c(function(e=new Date){let t=p();return t.trialStartedAt?t:h({...t,trialStartedAt:e.toISOString()})}(e),e)}e.s(["activate",0,y,"assertWritable",0,function(e=new Date){let t=w(e);if(!t.writable)throw new i.DomainError(t.reason,402)},"checkoutUrl",0,function(){let e=(process.env.ACCORD_CHECKOUT_URL??"https://rekall-software.lemonsqueezy.com/checkout/buy/832f979c-7107-4823-8035-8da64abdbf28").trim();try{return e&&"https:"===new URL(e).protocol?e:""}catch{return""}},"licence",0,w,"licensingApplies",0,!0,"release",0,x,"revalidate",0,m],16321)}];
2
+
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__1o6a8yh._.js.map
@@ -0,0 +1,3 @@
1
+ module.exports=[70406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},18622,(e,t,r)=>{t.exports=e.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,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.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,(e,t,r)=>{t.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},74533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},2157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},60526,(e,t,r)=>{t.exports=e.x("node:os",()=>require("node:os"))},50227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},81111,(e,t,r)=>{t.exports=e.x("node:stream",()=>require("node:stream"))},27172,e=>{"use strict";var t=e.i(51759),r=e.i(55402),a=e.i(26143),n=e.i(16321);async function i(e){try{(0,n.assertWritable)();let i=await (0,t.body)(e),{actor:o,user:s}=await (0,t.access)(String(i.projectId??""));if((0,t.throttle)("project-logo:"+s.userId,20),"owner"!==o.role)throw new r.DomainError("Only the owner can change this project’s logo.",403);let l=(0,a.brandLogo)(i.logo);return await (0,t.db)().prepare("UPDATE projects SET logo = ? WHERE id = ?").bind(l,i.projectId).run(),(0,t.json)({logo:l})}catch(e){return(0,t.failure)(e)}}e.s(["POST",0,i])},43686,e=>{"use strict";var t=e.i(47909),r=e.i(74017),a=e.i(96250),n=e.i(59756),i=e.i(61916),o=e.i(74677),s=e.i(69741),l=e.i(16795),c=e.i(87718),d=e.i(95169),u=e.i(47587),p=e.i(66012),h=e.i(70101),f=e.i(26937),m=e.i(10372),y=e.i(93695);e.i(52474);var w=e.i(220);let g=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/project-logo/route",pathname:"/api/project-logo",filename:"route",bundlePath:""},distDir:".next-node",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/project-logo/route.ts",nextConfigOutput:"standalone",userland:()=>e.r(27172),...{}}),{workAsyncStorage:x,workUnitAsyncStorage:v,serverHooks:R}=g;async function b(e,t,a){a.requestMeta&&(0,n.setRequestMeta)(e,a.requestMeta),g.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let x="/api/project-logo/route";x=x.replace(/\/index$/,"")||"/";let v=await g.prepare(e,t,{srcPage:x,multiZoneDraftMode:!1});if(!v)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:R,deploymentId:b,params:k,nextConfig:E,parsedUrl:C,isDraftMode:A,prerenderManifest:S,routerServerContext:T,isOnDemandRevalidate:_,revalidateOnlyGenerated:j,resolvedPathname:q,clientReferenceManifest:D,serverActionsManifest:P}=v,N=(0,s.normalizeAppPath)(x),O=!!(S.dynamicRoutes[N]||S.routes[q]),I=async()=>((null==T?void 0:T.render404)?await T.render404(e,t,C,!1):t.end("This page could not be found"),null);if(O&&!A){let e=!!S.routes[q],t=S.dynamicRoutes[N];if(t&&!1===t.fallback&&!e){if(E.adapterPath)return await I();throw new y.NoFallbackError}}let L=null;!O||g.isDev||A||(L="/index"===(L=q)?"/":L);let U=!0===g.isDev||!O,H=O&&!U;P&&D&&(0,o.setManifestsSingleton)({page:x,clientReferenceManifest:D,serverActionsManifest:P});let M=e.method||"GET",F=(0,i.getTracer)(),K=F.getActiveScopeSpan(),G=!!(null==T?void 0:T.isWrappedByNextServer),$=!!(0,n.getRequestMeta)(e,"minimalMode"),z=(0,n.getRequestMeta)(e,"incrementalCache")||await g.getIncrementalCache(e,E,S,$);null==z||z.resetRequestCache(),globalThis.__incrementalCache=z;let B={params:k,previewProps:S.preview,renderOpts:{experimental:{authInterrupts:!!E.experimental.authInterrupts,useCacheTimeout:E.experimental.useCacheTimeout},cacheComponents:!!E.cacheComponents,validationLevel:E.experimental.instantInsights.validationLevel,supportsDynamicResponse:U,incrementalCache:z,hmrRefreshHash:(0,n.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:E.cacheLife,staticPageGenerationTimeout:E.staticPageGenerationTimeout,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>g.onRequestError(e,t,a,n,T)},sharedContext:{buildId:R,deploymentId:b}},W=new l.NodeNextRequest(e),V=new l.NodeNextResponse(t),Y=c.NextRequestAdapter.fromNodeNextRequest(W,(0,c.signalFromNodeResponse)(t)),J=async({previousCacheEntry:r})=>{try{if(!$&&_&&j&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=await g.handle(Y,B);e.fetchMetrics=B.renderOpts.fetchMetrics;let i=B.renderOpts.pendingWaitUntil;i&&a.waitUntil&&(a.waitUntil(i),i=void 0);let o=B.renderOpts.collectedTags;if(!O)return await (0,p.sendResponse)(W,V,n,i),null;{let e=await n.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(n.headers);o&&(t[m.NEXT_CACHE_TAGS_HEADER]=o),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==B.renderOpts.collectedRevalidate&&!(B.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&B.renderOpts.collectedRevalidate,a=void 0===B.renderOpts.collectedExpire||B.renderOpts.collectedExpire>=m.INFINITE_CACHE?!1!==r&&r>0?E.expireTime:void 0:B.renderOpts.collectedExpire;return{value:{kind:w.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await g.onRequestError(e,t,{routerKind:"App Router",routePath:x,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:H,isOnDemandRevalidate:_})},!1,T),t}},X=async(n,o)=>{try{var s,l;let n=await g.handleResponse({req:e,nextConfig:E,cacheKey:L,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:S,isRoutePPREnabled:!1,isOnDemandRevalidate:_,revalidateOnlyGenerated:j,responseGenerator:J,waitUntil:a.waitUntil,isMinimalMode:$});if(!O)return;if((null==n||null==(s=n.value)?void 0:s.kind)!==w.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==n||null==(l=n.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});$||t.setHeader("x-nextjs-cache",_?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),A&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let i=(0,h.fromNodeOutgoingHttpHeaders)(n.value.headers);$&&O||i.delete(m.NEXT_CACHE_TAGS_HEADER),!n.cacheControl||t.getHeader("Cache-Control")||i.get("Cache-Control")||i.set("Cache-Control",(0,f.getCacheControlHeader)(n.cacheControl)),await (0,p.sendResponse)(W,V,new Response(n.value.body,{headers:i,status:n.value.status||200}));return}catch(t){if(t instanceof y.NoFallbackError||await g.onRequestError(e,t,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:H,isOnDemandRevalidate:_})},!1,T),O)throw t;await (0,p.sendResponse)(W,V,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:i.SpanStatusCode.ERROR}),n.setAttribute("error.type",e.toString()));let r=F.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==d.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route")||N,s=`${M} ${a}`;n.setAttributes({"next.route":a,"http.route":a,"next.span_name":s}),n.updateName(s),o&&o!==n&&(o.setAttribute("http.route",a),o.updateName(s))})()}};if(G&&K)await X(K,void 0);else{let t=F.getActiveScopeSpan();await F.withPropagatedContext(e.headers,()=>F.trace(d.BaseServerSpan.handleRequest,{spanName:`${M} ${x}`,kind:i.SpanKind.SERVER,attributes:{"http.method":M,"http.target":e.url}},e=>X(e,t)),void 0,!G)}}e.s(["handler",0,b,"patchFetch",0,function(){return(0,a.patchFetch)({workAsyncStorage:x,workUnitAsyncStorage:v})},"routeModule",0,g,"serverHooks",0,R,"workAsyncStorage",0,x,"workUnitAsyncStorage",0,v])},16321,e=>{"use strict";var t=e.i(2157),r=e.i(50227),a=e.i(60526),n=e.i(79071),i=e.i(55402);let o=(e,t)=>Math.max(0,Math.ceil((e-t)/864e5)),s=e=>{let t=Date.parse(e??"");return Number.isNaN(t)?null:t};function l(e,t=new Date){let r=e??{},a=t.getTime(),n=r.customer??"";if(r.key&&r.foreign)return{mode:"expired",writable:!1,daysLeft:0,needsCheck:!1,reason:"That licence key belongs to a different product. Check the receipt for your Accord licence — your work is safe and still readable.",customer:n};if(r.key&&("expired"===r.status||"disabled"===r.status||"inactive"===r.status))return{mode:"expired",writable:!1,daysLeft:0,needsCheck:!0,reason:("expired"===r.status?"This licence has expired.":"disabled"===r.status?"This licence was disabled.":"This licence is not active on this machine.")+" Your work is safe and still readable — renew or enter another key to make changes again.",customer:n};if(r.key&&"active"===r.status){let e=s(r.expiresAt);if(null!==e&&e<=a)return{mode:"expired",writable:!1,daysLeft:0,needsCheck:!0,reason:"This licence has expired. Your work is safe and still readable — renew to make changes again.",customer:n};let t=s(r.checkedAt);if(null===t)return{mode:"licensed",writable:!0,daysLeft:0,needsCheck:!0,reason:"",customer:n};let i=t+12096e5;if(a>=i)return{mode:"expired",writable:!1,daysLeft:0,needsCheck:!0,reason:"Accord has not been able to reach Lemon Squeezy for 14 days, so it cannot confirm this licence. Connect to the internet once to carry on.",customer:n};let l=a-t>864e5;return{mode:"licensed",writable:!0,daysLeft:l?o(i,a):0,needsCheck:l,reason:"",customer:n}}let i=s(r.trialStartedAt);if(null===i)return{mode:"unlicensed",writable:!1,daysLeft:0,needsCheck:!1,reason:"Enter a licence key to start using Accord.",customer:n};let c=i+6048e5;if(a>=c)return{mode:"unlicensed",writable:!1,daysLeft:0,needsCheck:!1,reason:"Your 7-day trial has ended. Everything you made is still here and still readable — enter a licence key to make changes again.",customer:n};let d=o(c,a);return{mode:"trial",writable:!0,daysLeft:d,needsCheck:!1,reason:1===d?"Last day of your trial.":d+" days left in your trial.",customer:n}}let c=["active","expired","disabled","inactive"];function d(e,t,r=new Date){let a=c.find(t=>t===e.license_key?.status),n=e.meta?.store_id,i=e.meta?.product_id;return{...t,status:a,expiresAt:e.license_key?.expires_at??null,instanceId:e.instance?.id??t.instanceId,customer:e.meta?.customer_email??e.meta?.customer_name??t.customer,foreign:void 0!==n&&465446!==n||void 0!==i&&1360259!==i,checkedAt:r.toISOString(),lastError:e.error??void 0}}let u=()=>r.default.join((0,n.accordHome)(),"licence.json");function p(){try{let e=JSON.parse((0,t.readFileSync)(u(),"utf8"));return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}catch{return{}}}function h(e){return(0,t.mkdirSync)((0,n.accordHome)(),{recursive:!0}),(0,t.writeFileSync)(u(),JSON.stringify(e,null,1)),e}async function f(e,t,r=fetch){let a,n=await r("https://api.lemonsqueezy.com/v1/licenses/"+e,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams(t).toString()});if(!((a=n.status)>=200&&a<500))throw new i.DomainError("Lemon Squeezy could not be reached just now. Your licence is unchanged; try again shortly.",503);return await n.json().catch(()=>({}))}async function m(e,t=(()=>{try{return"accord@"+(0,a.hostname)()}catch{return"accord"}})(),r=fetch,n=new Date){let o=e.trim();if(!o)throw new i.DomainError("Enter the licence key from your Lemon Squeezy receipt.");let s=await f("activate",{license_key:o,instance_name:t},r);if(!s.activated||s.error)throw new i.DomainError(s.error??"That licence key was not accepted.");let c=d(s,{...p(),key:o},n);if(c.foreign)throw new i.DomainError("That licence key is a valid Lemon Squeezy key, but it is for a different product. Check the receipt for your Accord licence.");let u=h(c);return{state:u,licence:l(u,n)}}async function y(e=fetch,t=new Date){let r=p();if(!r.key)return{state:r,licence:l(r,t)};try{let a=await f("validate",{license_key:r.key,...r.instanceId?{instance_id:r.instanceId}:{}},e),n=h(d(a,r,t));return{state:n,licence:l(n,t)}}catch(e){if(!(e instanceof i.DomainError&&503===e.status))throw e;return{state:r,licence:l(r,t)}}}async function w(e=fetch,t=new Date){let r=p();r.key&&r.instanceId&&await f("deactivate",{license_key:r.key,instance_id:r.instanceId},e).catch(()=>({}));let a=h({trialStartedAt:r.trialStartedAt});return{state:a,licence:l(a,t)}}function g(e=new Date){return l(function(e=new Date){let t=p();return t.trialStartedAt?t:h({...t,trialStartedAt:e.toISOString()})}(e),e)}e.s(["activate",0,m,"assertWritable",0,function(e=new Date){let t=g(e);if(!t.writable)throw new i.DomainError(t.reason,402)},"checkoutUrl",0,function(){let e=(process.env.ACCORD_CHECKOUT_URL??"https://rekall-software.lemonsqueezy.com/checkout/buy/832f979c-7107-4823-8035-8da64abdbf28").trim();try{return e&&"https:"===new URL(e).protocol?e:""}catch{return""}},"licence",0,g,"licensingApplies",0,!0,"release",0,w,"revalidate",0,y],16321)},26143,e=>{"use strict";var t=e.i(55402);let r=/^data:image\/(png|jpeg|webp|svg\+xml);base64,[A-Za-z0-9+/=]+$/,a=/^#[0-9a-fA-F]{6}$/;e.s(["brandLogo",0,function(e){if(null==e||""===e)return null;if("string"!=typeof e||!r.test(e))throw new t.DomainError("Upload a PNG, JPEG, WebP or SVG image.");if(e.length>96e3)throw new t.DomainError("Use a logo under 64KB. Large images slow every page that shows them.");return e},"defaultOrgName",0,e=>(e.split("@")[0]||"My").slice(0,60)+"'s organisation","orgColor",0,function(e){if(null==e||""===e)return null;if("string"!=typeof e||!a.test(e))throw new t.DomainError("Use a colour like #4B6043.");return e.toLowerCase()},"orgName",0,function(e){if("string"!=typeof e||!e.trim()||e.trim().length>80)throw new t.DomainError("Give the organisation a name of up to 80 characters.");return e.trim()}])}];
2
+
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__1yk21j_._.js.map