hex-audit 0.7.0 → 0.8.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 (584) hide show
  1. package/CLAUDE.md +137 -77
  2. package/DEMO.md +40 -117
  3. package/README.md +200 -402
  4. package/dashboard/.next/BUILD_ID +1 -1
  5. package/dashboard/.next/app-build-manifest.json +56 -101
  6. package/dashboard/.next/app-path-routes-manifest.json +1 -1
  7. package/dashboard/.next/build-manifest.json +9 -9
  8. package/dashboard/.next/next-server.js.nft.json +1 -1
  9. package/dashboard/.next/prerender-manifest.json +1 -1
  10. package/dashboard/.next/react-loadable-manifest.json +436 -15
  11. package/dashboard/.next/routes-manifest.json +1 -1
  12. package/dashboard/.next/server/app/_not-found/page.js +1 -1
  13. package/dashboard/.next/server/app/_not-found/page.js.nft.json +1 -1
  14. package/dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  15. package/dashboard/.next/server/app/api/code/route.js +1 -1
  16. package/dashboard/.next/server/app/api/code/route.js.nft.json +1 -1
  17. package/dashboard/.next/server/app/api/comments/route.js +1 -0
  18. package/dashboard/.next/server/app/api/comments/route.js.nft.json +1 -0
  19. package/dashboard/.next/server/app/api/diagrams/[name]/export/route.js +1 -0
  20. package/dashboard/.next/server/app/api/diagrams/[name]/export/route.js.nft.json +1 -0
  21. package/dashboard/.next/server/app/api/diagrams/[name]/resolve/route.js +1 -0
  22. package/dashboard/.next/server/app/api/diagrams/[name]/resolve/route.js.nft.json +1 -0
  23. package/dashboard/.next/server/app/api/diagrams/[name]/route.js +1 -0
  24. package/dashboard/.next/server/app/api/diagrams/[name]/route.js.nft.json +1 -0
  25. package/dashboard/.next/server/app/api/figures/[name]/route.js +1 -0
  26. package/dashboard/.next/server/app/api/figures/[name]/route.js.nft.json +1 -0
  27. package/dashboard/.next/server/app/api/focus/route.js +1 -0
  28. package/dashboard/.next/server/app/api/focus/route.js.nft.json +1 -0
  29. package/dashboard/.next/server/app/api/github-status/route.js +1 -1
  30. package/dashboard/.next/server/app/api/invariants/[id]/route.js +1 -0
  31. package/dashboard/.next/server/app/api/invariants/[id]/route.js.nft.json +1 -0
  32. package/dashboard/.next/server/app/api/issues/[id]/revert-auto/route.js +1 -0
  33. package/dashboard/.next/server/app/api/issues/[id]/revert-auto/route.js.nft.json +1 -0
  34. package/dashboard/.next/server/app/api/nav/route.js +1 -0
  35. package/dashboard/.next/server/app/api/nav/route.js.nft.json +1 -0
  36. package/dashboard/.next/server/app/api/notes/done/route.js +1 -1
  37. package/dashboard/.next/server/app/api/notes/done/route.js.nft.json +1 -1
  38. package/dashboard/.next/server/app/api/notes/lead/route.js +1 -1
  39. package/dashboard/.next/server/app/api/notes/lead/route.js.nft.json +1 -1
  40. package/dashboard/.next/server/app/api/notes/question/route.js +1 -1
  41. package/dashboard/.next/server/app/api/notes/question/route.js.nft.json +1 -1
  42. package/dashboard/.next/server/app/api/notes/record/route.js +3 -3
  43. package/dashboard/.next/server/app/api/notes/route.js +2 -2
  44. package/dashboard/.next/server/app/api/palette/route.js +1 -0
  45. package/dashboard/.next/server/app/api/palette/route.js.nft.json +1 -0
  46. package/dashboard/.next/server/app/api/progress/route.js +1 -1
  47. package/dashboard/.next/server/app/api/progress/route.js.nft.json +1 -1
  48. package/dashboard/.next/server/app/api/watch/route.js +2 -2
  49. package/dashboard/.next/server/app/api/watch/route.js.nft.json +1 -1
  50. package/dashboard/.next/server/app/api/xref/route.js +1 -0
  51. package/dashboard/.next/server/app/changes/page.js +1 -20
  52. package/dashboard/.next/server/app/changes/page.js.nft.json +1 -1
  53. package/dashboard/.next/server/app/changes/page_client-reference-manifest.js +1 -1
  54. package/dashboard/.next/server/app/excalidraw-assets/[...path]/route.js +1 -0
  55. package/dashboard/.next/server/app/issues/page.js +5 -28
  56. package/dashboard/.next/server/app/issues/page.js.nft.json +1 -1
  57. package/dashboard/.next/server/app/issues/page_client-reference-manifest.js +1 -1
  58. package/dashboard/.next/server/app/model/page.js +1 -0
  59. package/dashboard/.next/server/app/{calls → model}/page.js.nft.json +1 -1
  60. package/dashboard/.next/server/app/model/page_client-reference-manifest.js +1 -0
  61. package/dashboard/.next/server/app/page.js +1 -20
  62. package/dashboard/.next/server/app/page.js.nft.json +1 -1
  63. package/dashboard/.next/server/app/page_client-reference-manifest.js +1 -1
  64. package/dashboard/.next/server/app/report/page.js +1 -1
  65. package/dashboard/.next/server/app/report/page.js.nft.json +1 -1
  66. package/dashboard/.next/server/app/report/page_client-reference-manifest.js +1 -1
  67. package/dashboard/.next/server/app/review/page.js +1 -0
  68. package/dashboard/.next/server/app/{access → review}/page.js.nft.json +1 -1
  69. package/dashboard/.next/server/app/review/page_client-reference-manifest.js +1 -0
  70. package/dashboard/.next/server/app-paths-manifest.json +19 -16
  71. package/dashboard/.next/server/chunks/310.js +4 -0
  72. package/dashboard/.next/server/chunks/370.js +1 -0
  73. package/dashboard/.next/server/chunks/42.js +1 -1
  74. package/dashboard/.next/server/chunks/624.js +14 -0
  75. package/dashboard/.next/server/chunks/645.js +1 -1
  76. package/dashboard/.next/server/chunks/649.js +1 -1
  77. package/dashboard/.next/server/chunks/653.js +1 -0
  78. package/dashboard/.next/server/functions-config-manifest.json +1 -1
  79. package/dashboard/.next/server/middleware-build-manifest.js +1 -1
  80. package/dashboard/.next/server/middleware-react-loadable-manifest.js +1 -1
  81. package/dashboard/.next/server/pages/500.html +1 -1
  82. package/dashboard/.next/server/pages/_error.js +1 -1
  83. package/dashboard/.next/server/server-reference-manifest.js +1 -1
  84. package/dashboard/.next/server/server-reference-manifest.json +1 -1
  85. package/dashboard/.next/static/chunks/0bbe10ee.8e7ffa06d2170dfe.js +84 -0
  86. package/dashboard/.next/static/chunks/1026.0ef689a305302427.js +1 -0
  87. package/dashboard/.next/static/chunks/1164.34eb76767ebea46f.js +8 -0
  88. package/dashboard/.next/static/chunks/119.a9a79633900a235f.js +5 -0
  89. package/dashboard/.next/static/chunks/1291.6c486c9b1d4b1b3a.js +1 -0
  90. package/dashboard/.next/static/chunks/139.4691848fc5a46253.js +10 -0
  91. package/dashboard/.next/static/chunks/145.1bf74fecdb4022e3.js +11 -0
  92. package/dashboard/.next/static/chunks/1517.8e7075f78e22b3a0.js +8 -0
  93. package/dashboard/.next/static/chunks/165.6f174060a0ce2db4.js +6 -0
  94. package/dashboard/.next/static/chunks/1741.5c370b7702d2eb40.js +8 -0
  95. package/dashboard/.next/static/chunks/1e36816c.5748c83adc8a6bd6.js +108 -0
  96. package/dashboard/.next/static/chunks/2061.eab75b3c1dfa068a.js +1 -0
  97. package/dashboard/.next/static/chunks/2148.3ce718f62d1b2f7c.js +10 -0
  98. package/dashboard/.next/static/chunks/217-1d5b680ffd10e3f9.js +1 -0
  99. package/dashboard/.next/static/chunks/2208.fb884379aa3ae968.js +1 -0
  100. package/dashboard/.next/static/chunks/2276.112c7855333fca5f.js +6 -0
  101. package/dashboard/.next/static/chunks/2374-8c6f137938f8518a.js +1 -0
  102. package/dashboard/.next/static/chunks/2445.18a86507d2996b95.js +1 -0
  103. package/dashboard/.next/static/chunks/2712.15dd8577973baf22.js +10 -0
  104. package/dashboard/.next/static/chunks/2759.533dec5317e0a1d1.js +1 -0
  105. package/dashboard/.next/static/chunks/2812.62b213bef580b69a.js +1 -0
  106. package/dashboard/.next/static/chunks/2895.bb57cacb7aaf42a1.js +9 -0
  107. package/dashboard/.next/static/chunks/2972.e5a9251b538dcf19.js +9 -0
  108. package/dashboard/.next/static/chunks/3206.8d9a10db2b04b93f.js +1 -0
  109. package/dashboard/.next/static/chunks/3485.36766504793b7237.js +9 -0
  110. package/dashboard/.next/static/chunks/3725.de9376dc994735d4.js +9 -0
  111. package/dashboard/.next/static/chunks/3774.1df377928e8387f7.js +9 -0
  112. package/dashboard/.next/static/chunks/3963.39d72b3875dfe2e9.js +13 -0
  113. package/dashboard/.next/static/chunks/4013.73884b23bfaebdde.js +11 -0
  114. package/dashboard/.next/static/chunks/4117.278aff1fa23fd36e.js +6 -0
  115. package/dashboard/.next/static/chunks/4210.cc8594110017c579.js +11 -0
  116. package/dashboard/.next/static/chunks/4282.28485875540886cc.js +7 -0
  117. package/dashboard/.next/static/chunks/4318.a2f469a88d88f6d0.js +8 -0
  118. package/dashboard/.next/static/chunks/4363.8999a6e727c48003.js +1 -0
  119. package/dashboard/.next/static/chunks/4641.e03d118fffebd580.js +5 -0
  120. package/dashboard/.next/static/chunks/483.a910dab7734a1074.js +8 -0
  121. package/dashboard/.next/static/chunks/4926.76693f542e9cc062.js +6 -0
  122. package/dashboard/.next/static/chunks/4938.03f6d04dabf38745.js +10 -0
  123. package/dashboard/.next/static/chunks/5112.0757c2b0c285e62e.js +1 -0
  124. package/dashboard/.next/static/chunks/5199.c83ea7efb0eec705.js +11 -0
  125. package/dashboard/.next/static/chunks/530.849957a8907eb288.js +1 -0
  126. package/dashboard/.next/static/chunks/5424.4e8ca0711a32bccf.js +7 -0
  127. package/dashboard/.next/static/chunks/55.a593a78be9714679.js +1 -0
  128. package/dashboard/.next/static/chunks/5535.6cd0bd8d368d8902.js +4 -0
  129. package/dashboard/.next/static/chunks/5626.7d4e93d7acbeffc9.js +10 -0
  130. package/dashboard/.next/static/chunks/5775.a0d7c1b1e89b9a93.js +9 -0
  131. package/dashboard/.next/static/chunks/6118.266956b3333b1d7a.js +9 -0
  132. package/dashboard/.next/static/chunks/6121.a2e6d93720b1205e.js +77 -0
  133. package/dashboard/.next/static/chunks/6853.d3ad43614e8ca0ab.js +1 -0
  134. package/dashboard/.next/static/chunks/6951.02a3a158d02158c9.js +5 -0
  135. package/dashboard/.next/static/chunks/6970.013f24568c87d918.js +11 -0
  136. package/dashboard/.next/static/chunks/7013.39d41e82b37be63b.js +9 -0
  137. package/dashboard/.next/static/chunks/7107.1c5412197912b8ed.js +8 -0
  138. package/dashboard/.next/static/chunks/7508.dd60e2d06d149f5f.js +9 -0
  139. package/dashboard/.next/static/chunks/7524.0fde4c61553d1491.js +3 -0
  140. package/dashboard/.next/static/chunks/7834-47f318a04a05688f.js +1 -0
  141. package/dashboard/.next/static/chunks/8317.d0b3eddef4cae0d5.js +1 -0
  142. package/dashboard/.next/static/chunks/838.2b2aa006519ba44c.js +10 -0
  143. package/dashboard/.next/static/chunks/8398.924fd8f4c83417c0.js +7 -0
  144. package/dashboard/.next/static/chunks/8428b36f.8ac4e67061c01307.js +34 -0
  145. package/dashboard/.next/static/chunks/8514.85ccbbea8ab21d04.js +5 -0
  146. package/dashboard/.next/static/chunks/8538.5f7ebe76c4b63162.js +1 -0
  147. package/dashboard/.next/static/chunks/8687.9406baa8b5601fd0.js +1 -0
  148. package/dashboard/.next/static/chunks/8721.47346e2cb6412376.js +10 -0
  149. package/dashboard/.next/static/chunks/8770.4f544bd1a6f03a62.js +8 -0
  150. package/dashboard/.next/static/chunks/8812.3d96fd54dba566f8.js +9 -0
  151. package/dashboard/.next/static/chunks/8962.d22aa67a97970dd8.js +1 -0
  152. package/dashboard/.next/static/chunks/8986.b327224b83f4399a.js +5 -0
  153. package/dashboard/.next/static/chunks/9271.5f66c19a8ee1ff36.js +10 -0
  154. package/dashboard/.next/static/chunks/9282.f8d01442bab4c0da.js +2 -0
  155. package/dashboard/.next/static/chunks/9366.0ec24a0791b9b00f.js +1 -0
  156. package/dashboard/.next/static/chunks/9707.5cd7d2ee933a4af5.js +6 -0
  157. package/dashboard/.next/static/chunks/9716.15fffc0b0038601d.js +4 -0
  158. package/dashboard/.next/static/chunks/9791.e3b3f5a367f63c8a.js +1 -0
  159. package/dashboard/.next/static/chunks/9820.8c1efad5260e8137.js +1 -0
  160. package/dashboard/.next/static/chunks/985.50150e9eaa4bde33.js +39 -0
  161. package/dashboard/.next/static/chunks/997.56901b86e1b8a87b.js +8 -0
  162. package/dashboard/.next/static/chunks/app/changes/page-f8a860034221cad4.js +1 -0
  163. package/dashboard/.next/static/chunks/app/issues/page-da4da93188c414a6.js +1 -0
  164. package/dashboard/.next/static/chunks/app/layout-27a9da4610423c1e.js +1 -0
  165. package/dashboard/.next/static/chunks/app/model/page-9680e22fdd6ddb81.js +1 -0
  166. package/dashboard/.next/static/chunks/app/page-0e67750d99fb2836.js +1 -0
  167. package/dashboard/.next/static/chunks/app/report/page-b56b1db9b9dcf2b6.js +1 -0
  168. package/dashboard/.next/static/chunks/app/review/page-3ef69f0e0badd333.js +1 -0
  169. package/dashboard/.next/static/chunks/c75e29e3.d91220f782934d80.js +1 -0
  170. package/dashboard/.next/static/chunks/{main-cc3a889b25e9aa68.js → main-9c95a7ffedc7afb4.js} +1 -1
  171. package/dashboard/.next/static/chunks/webpack-6da70e4f9fcf1799.js +1 -0
  172. package/dashboard/.next/static/css/ceafd91ca8dd753d.css +3 -0
  173. package/dashboard/.next/static/css/e4aad1f9c715b79a.css +1 -0
  174. package/dashboard/.next/static/media/Assistant-Bold.c8f39f24.woff2 +0 -0
  175. package/dashboard/.next/static/media/Assistant-Medium.1e75d8e6.woff2 +0 -0
  176. package/dashboard/.next/static/media/Assistant-Regular.7acbabb8.woff2 +0 -0
  177. package/dashboard/.next/static/media/Assistant-SemiBold.167acbf8.woff2 +0 -0
  178. package/dashboard/app/api/code/route.ts +26 -20
  179. package/dashboard/app/api/comments/route.ts +158 -0
  180. package/dashboard/app/api/diagrams/[name]/export/route.ts +26 -0
  181. package/dashboard/app/api/diagrams/[name]/resolve/route.ts +25 -0
  182. package/dashboard/app/api/diagrams/[name]/route.ts +37 -0
  183. package/dashboard/app/api/figures/[name]/route.ts +15 -0
  184. package/dashboard/app/api/focus/route.ts +35 -0
  185. package/dashboard/app/api/invariants/[id]/route.ts +35 -0
  186. package/dashboard/app/api/issues/[id]/revert-auto/route.ts +18 -0
  187. package/dashboard/app/api/nav/route.ts +120 -0
  188. package/dashboard/app/api/palette/route.ts +68 -0
  189. package/dashboard/app/api/progress/route.ts +54 -23
  190. package/dashboard/app/api/xref/route.ts +30 -0
  191. package/dashboard/app/changes/ChangesClient.tsx +730 -356
  192. package/dashboard/app/changes/page.tsx +27 -19
  193. package/dashboard/app/excalidraw-assets/[...path]/route.ts +56 -0
  194. package/dashboard/app/globals.css +231 -77
  195. package/dashboard/app/issues/BoardClient.tsx +817 -0
  196. package/dashboard/app/issues/page.tsx +27 -272
  197. package/dashboard/app/layout.tsx +32 -17
  198. package/dashboard/app/model/ModelClient.tsx +1303 -0
  199. package/dashboard/app/model/page.tsx +98 -0
  200. package/dashboard/app/page.tsx +191 -277
  201. package/dashboard/app/report/ReportClient.tsx +147 -74
  202. package/dashboard/app/report/page.tsx +25 -14
  203. package/dashboard/app/review/ReviewClient.tsx +1180 -0
  204. package/dashboard/app/review/page.tsx +93 -0
  205. package/dashboard/components/AutoRefresh.tsx +22 -19
  206. package/dashboard/components/CodeComments.tsx +303 -0
  207. package/dashboard/components/CodeNav.tsx +523 -0
  208. package/dashboard/components/CodeReference.tsx +92 -99
  209. package/dashboard/components/CodeViewer.tsx +526 -0
  210. package/dashboard/components/CommandPalette.tsx +141 -66
  211. package/dashboard/components/DiagramCanvas.tsx +275 -0
  212. package/dashboard/components/DianeNote.tsx +244 -0
  213. package/dashboard/components/LiveStatus.tsx +30 -68
  214. package/dashboard/components/MarkdownRenderer.tsx +34 -32
  215. package/dashboard/components/RecordButton.tsx +132 -0
  216. package/dashboard/components/ui/Button.tsx +39 -0
  217. package/dashboard/components/ui/Chip.tsx +37 -0
  218. package/dashboard/components/ui/EmptyState.tsx +31 -0
  219. package/dashboard/components/ui/Icons.tsx +126 -0
  220. package/dashboard/components/ui/Inspector.tsx +122 -0
  221. package/dashboard/components/ui/Kbd.tsx +15 -0
  222. package/dashboard/components/ui/ListRow.tsx +92 -0
  223. package/dashboard/components/ui/LocalTime.tsx +14 -0
  224. package/dashboard/components/ui/ProgressRing.tsx +54 -0
  225. package/dashboard/components/ui/ResizeHandle.tsx +93 -0
  226. package/dashboard/components/ui/RiskMeter.tsx +27 -0
  227. package/dashboard/components/ui/SearchField.tsx +55 -0
  228. package/dashboard/components/ui/SegmentedControl.tsx +71 -0
  229. package/dashboard/components/ui/SeverityDot.tsx +57 -0
  230. package/dashboard/components/ui/Sidebar.tsx +236 -0
  231. package/dashboard/components/ui/SplitView.tsx +122 -0
  232. package/dashboard/components/ui/StateGlyph.tsx +66 -0
  233. package/dashboard/components/ui/Toast.tsx +91 -0
  234. package/dashboard/lib/api.ts +17 -0
  235. package/dashboard/lib/cn.ts +4 -0
  236. package/dashboard/lib/data.ts +2 -21
  237. package/dashboard/lib/finding-markdown.ts +1 -1
  238. package/dashboard/lib/focus.ts +42 -0
  239. package/dashboard/lib/hotkeys.ts +41 -0
  240. package/dashboard/lib/inline-markdown.test.ts +11 -0
  241. package/dashboard/lib/live.ts +32 -0
  242. package/dashboard/lib/pane-width.ts +36 -0
  243. package/dashboard/lib/server/board.ts +229 -0
  244. package/dashboard/lib/server/diagrams.ts +191 -0
  245. package/dashboard/lib/server/safe-path.ts +28 -0
  246. package/dashboard/lib/server/workspace.ts +113 -0
  247. package/dashboard/lib/server/xref.ts +42 -0
  248. package/dashboard/lib/solidity.test.ts +37 -0
  249. package/dashboard/lib/solidity.ts +191 -0
  250. package/dashboard/lib/source.ts +28 -0
  251. package/dashboard/lib/types.ts +164 -0
  252. package/dashboard/lib/url.ts +18 -0
  253. package/dashboard/lib/watcher.ts +31 -22
  254. package/dashboard/tailwind.config.ts +6 -3
  255. package/dist/analysis/code-model.d.ts.map +1 -1
  256. package/dist/analysis/code-model.js +4 -1
  257. package/dist/analysis/code-model.js.map +1 -1
  258. package/dist/analysis/diff.d.ts +12 -1
  259. package/dist/analysis/diff.d.ts.map +1 -1
  260. package/dist/analysis/diff.js +143 -0
  261. package/dist/analysis/diff.js.map +1 -1
  262. package/dist/commands/analyze.d.ts.map +1 -1
  263. package/dist/commands/analyze.js +17 -48
  264. package/dist/commands/analyze.js.map +1 -1
  265. package/dist/commands/claude.d.ts.map +1 -1
  266. package/dist/commands/claude.js +5 -0
  267. package/dist/commands/claude.js.map +1 -1
  268. package/dist/commands/dashboard.d.ts.map +1 -1
  269. package/dist/commands/dashboard.js +10 -2
  270. package/dist/commands/dashboard.js.map +1 -1
  271. package/dist/commands/diagram.d.ts +3 -0
  272. package/dist/commands/diagram.d.ts.map +1 -0
  273. package/dist/commands/diagram.js +71 -0
  274. package/dist/commands/diagram.js.map +1 -0
  275. package/dist/commands/diff.d.ts +4 -5
  276. package/dist/commands/diff.d.ts.map +1 -1
  277. package/dist/commands/diff.js +56 -17
  278. package/dist/commands/diff.js.map +1 -1
  279. package/dist/commands/doctor.d.ts.map +1 -1
  280. package/dist/commands/doctor.js +5 -18
  281. package/dist/commands/doctor.js.map +1 -1
  282. package/dist/commands/facts.d.ts +23 -0
  283. package/dist/commands/facts.d.ts.map +1 -0
  284. package/dist/commands/facts.js +121 -0
  285. package/dist/commands/facts.js.map +1 -0
  286. package/dist/commands/fix-review.d.ts +9 -0
  287. package/dist/commands/fix-review.d.ts.map +1 -0
  288. package/dist/commands/fix-review.js +367 -0
  289. package/dist/commands/fix-review.js.map +1 -0
  290. package/dist/commands/init.d.ts.map +1 -1
  291. package/dist/commands/init.js +51 -47
  292. package/dist/commands/init.js.map +1 -1
  293. package/dist/commands/issue.d.ts.map +1 -1
  294. package/dist/commands/issue.js +151 -2
  295. package/dist/commands/issue.js.map +1 -1
  296. package/dist/commands/mcp.d.ts +3 -0
  297. package/dist/commands/mcp.d.ts.map +1 -0
  298. package/dist/commands/mcp.js +11 -0
  299. package/dist/commands/mcp.js.map +1 -0
  300. package/dist/commands/model.d.ts +4 -0
  301. package/dist/commands/model.d.ts.map +1 -0
  302. package/dist/commands/model.js +275 -0
  303. package/dist/commands/model.js.map +1 -0
  304. package/dist/commands/note.d.ts.map +1 -1
  305. package/dist/commands/note.js +31 -1
  306. package/dist/commands/note.js.map +1 -1
  307. package/dist/commands/review.d.ts +4 -0
  308. package/dist/commands/review.d.ts.map +1 -0
  309. package/dist/commands/review.js +164 -0
  310. package/dist/commands/review.js.map +1 -0
  311. package/dist/core/comments.d.ts +59 -0
  312. package/dist/core/comments.d.ts.map +1 -0
  313. package/dist/core/comments.js +263 -0
  314. package/dist/core/comments.js.map +1 -0
  315. package/dist/core/config.d.ts.map +1 -1
  316. package/dist/core/config.js +0 -1
  317. package/dist/core/config.js.map +1 -1
  318. package/dist/core/dedup.d.ts +56 -0
  319. package/dist/core/dedup.d.ts.map +1 -0
  320. package/dist/core/dedup.js +208 -0
  321. package/dist/core/dedup.js.map +1 -0
  322. package/dist/core/errors.d.ts +1 -1
  323. package/dist/core/errors.d.ts.map +1 -1
  324. package/dist/core/errors.js +0 -15
  325. package/dist/core/errors.js.map +1 -1
  326. package/dist/core/external-tools.d.ts +0 -14
  327. package/dist/core/external-tools.d.ts.map +1 -1
  328. package/dist/core/external-tools.js +2 -52
  329. package/dist/core/external-tools.js.map +1 -1
  330. package/dist/core/fix-review.d.ts +54 -0
  331. package/dist/core/fix-review.d.ts.map +1 -0
  332. package/dist/core/fix-review.js +98 -0
  333. package/dist/core/fix-review.js.map +1 -0
  334. package/dist/core/fuzz-sync.d.ts +93 -0
  335. package/dist/core/fuzz-sync.d.ts.map +1 -0
  336. package/dist/core/fuzz-sync.js +516 -0
  337. package/dist/core/fuzz-sync.js.map +1 -0
  338. package/dist/core/git.d.ts +7 -0
  339. package/dist/core/git.d.ts.map +1 -1
  340. package/dist/core/git.js +42 -0
  341. package/dist/core/git.js.map +1 -1
  342. package/dist/core/issues.d.ts +32 -1
  343. package/dist/core/issues.d.ts.map +1 -1
  344. package/dist/core/issues.js +135 -3
  345. package/dist/core/issues.js.map +1 -1
  346. package/dist/core/mcp-config.d.ts +12 -0
  347. package/dist/core/mcp-config.d.ts.map +1 -0
  348. package/dist/core/mcp-config.js +29 -0
  349. package/dist/core/mcp-config.js.map +1 -0
  350. package/dist/core/model.d.ts +38 -0
  351. package/dist/core/model.d.ts.map +1 -0
  352. package/dist/core/model.js +160 -0
  353. package/dist/core/model.js.map +1 -0
  354. package/dist/core/notes.d.ts +2 -0
  355. package/dist/core/notes.d.ts.map +1 -1
  356. package/dist/core/notes.js +13 -3
  357. package/dist/core/notes.js.map +1 -1
  358. package/dist/core/review.d.ts +47 -0
  359. package/dist/core/review.d.ts.map +1 -1
  360. package/dist/core/review.js +177 -1
  361. package/dist/core/review.js.map +1 -1
  362. package/dist/core/rules.d.ts +12 -0
  363. package/dist/core/rules.d.ts.map +1 -0
  364. package/dist/core/rules.js +66 -0
  365. package/dist/core/rules.js.map +1 -0
  366. package/dist/core/schema.d.ts +4817 -2245
  367. package/dist/core/schema.d.ts.map +1 -1
  368. package/dist/core/schema.js +452 -113
  369. package/dist/core/schema.js.map +1 -1
  370. package/dist/core/scope.d.ts +8 -0
  371. package/dist/core/scope.d.ts.map +1 -0
  372. package/dist/core/scope.js +18 -0
  373. package/dist/core/scope.js.map +1 -0
  374. package/dist/diagrams/build.d.ts +18 -0
  375. package/dist/diagrams/build.d.ts.map +1 -0
  376. package/dist/diagrams/build.js +135 -0
  377. package/dist/diagrams/build.js.map +1 -0
  378. package/dist/diagrams/excalidraw.d.ts +27 -0
  379. package/dist/diagrams/excalidraw.d.ts.map +1 -0
  380. package/dist/diagrams/excalidraw.js +219 -0
  381. package/dist/diagrams/excalidraw.js.map +1 -0
  382. package/dist/diagrams/layout.d.ts +48 -0
  383. package/dist/diagrams/layout.d.ts.map +1 -0
  384. package/dist/diagrams/layout.js +686 -0
  385. package/dist/diagrams/layout.js.map +1 -0
  386. package/dist/facts/build.d.ts +23 -0
  387. package/dist/facts/build.d.ts.map +1 -0
  388. package/dist/facts/build.js +112 -0
  389. package/dist/facts/build.js.map +1 -0
  390. package/dist/facts/extract.d.ts +53 -0
  391. package/dist/facts/extract.d.ts.map +1 -0
  392. package/dist/facts/extract.js +635 -0
  393. package/dist/facts/extract.js.map +1 -0
  394. package/dist/facts/fallback.d.ts +7 -0
  395. package/dist/facts/fallback.d.ts.map +1 -0
  396. package/dist/facts/fallback.js +156 -0
  397. package/dist/facts/fallback.js.map +1 -0
  398. package/dist/facts/implementations.d.ts +29 -0
  399. package/dist/facts/implementations.d.ts.map +1 -0
  400. package/dist/facts/implementations.js +43 -0
  401. package/dist/facts/implementations.js.map +1 -0
  402. package/dist/facts/query.d.ts +35 -0
  403. package/dist/facts/query.d.ts.map +1 -0
  404. package/dist/facts/query.js +157 -0
  405. package/dist/facts/query.js.map +1 -0
  406. package/dist/facts/xref.d.ts +53 -0
  407. package/dist/facts/xref.d.ts.map +1 -0
  408. package/dist/facts/xref.js +282 -0
  409. package/dist/facts/xref.js.map +1 -0
  410. package/dist/index.js +14 -16
  411. package/dist/index.js.map +1 -1
  412. package/dist/mcp/server.d.ts +3 -0
  413. package/dist/mcp/server.d.ts.map +1 -0
  414. package/dist/mcp/server.js +400 -0
  415. package/dist/mcp/server.js.map +1 -0
  416. package/dist/skills/ai-audit/SKILL.md +16 -6
  417. package/dist/skills/ai-audit/UPSTREAM.md +9 -4
  418. package/dist/skills/ai-audit/references/hex-board.md +34 -46
  419. package/dist/skills/diane.md +26 -12
  420. package/dist/skills/fix-review.md +58 -0
  421. package/dist/skills/fuzz/LICENSE +21 -0
  422. package/dist/skills/fuzz/SKILL.md +655 -0
  423. package/dist/skills/fuzz/UPSTREAM.md +119 -0
  424. package/dist/skills/fuzz/agents/implementers/global-property-implementer.md +81 -0
  425. package/dist/skills/fuzz/agents/implementers/specific-property-implementer.md +121 -0
  426. package/dist/skills/fuzz/agents/invariant-discovery/adversarial-profit-maximizer.md +123 -0
  427. package/dist/skills/fuzz/agents/invariant-discovery/conservation-auditor.md +92 -0
  428. package/dist/skills/fuzz/agents/invariant-discovery/protocol-type-specialist.md +173 -0
  429. package/dist/skills/fuzz/agents/invariant-discovery/roundtrip-rounding-analyst.md +164 -0
  430. package/dist/skills/fuzz/agents/invariant-discovery/state-transition-mapper.md +92 -0
  431. package/dist/skills/fuzz/agents/invariant-discovery/synthesizer.md +261 -0
  432. package/dist/skills/fuzz/agents/protocol-analyzer.md +80 -0
  433. package/dist/skills/fuzz/agents/report-writer.md +135 -0
  434. package/dist/skills/fuzz/references/handler-patterns.md +222 -0
  435. package/dist/skills/fuzz/references/hex-invariants.md +102 -0
  436. package/dist/skills/fuzz/references/property-generation.md +149 -0
  437. package/dist/skills/fuzz/references/selection-policy.md +49 -0
  438. package/dist/skills/fuzz/references/setup-playbook.md +92 -0
  439. package/dist/skills/fuzz/references/template-map.md +121 -0
  440. package/dist/skills/fuzz/scripts/ensure_foundry.sh +125 -0
  441. package/dist/skills/fuzz/scripts/estimate_cost.js +157 -0
  442. package/dist/skills/fuzz/scripts/extract_abis.js +303 -0
  443. package/dist/skills/fuzz/scripts/fizz_sync.js +692 -0
  444. package/dist/skills/fuzz/scripts/generate_handlers.js +370 -0
  445. package/dist/skills/fuzz/scripts/generate_suite.js +254 -0
  446. package/dist/skills/fuzz/scripts/lib/log-viewer.js +332 -0
  447. package/dist/skills/fuzz/scripts/run_echidna.js +192 -0
  448. package/dist/skills/fuzz/scripts/run_medusa.js +329 -0
  449. package/dist/skills/fuzz/scripts/select_functions.js +637 -0
  450. package/dist/skills/fuzz/scripts/setup_fuzz_profile.sh +142 -0
  451. package/dist/skills/fuzz/templates/Actor.sol +63 -0
  452. package/dist/skills/fuzz/templates/Base.sol +121 -0
  453. package/dist/skills/fuzz/templates/FoundryTester.sol +29 -0
  454. package/dist/skills/fuzz/templates/FuzzTester.sol +11 -0
  455. package/dist/skills/fuzz/templates/Properties.sol +17 -0
  456. package/dist/skills/fuzz/templates/README.md +56 -0
  457. package/dist/skills/fuzz/templates/Snapshots.sol +26 -0
  458. package/dist/skills/fuzz/templates/echidna.yaml +18 -0
  459. package/dist/skills/fuzz/templates/handlers/Handlers.sol +13 -0
  460. package/dist/skills/fuzz/templates/medusa.json +93 -0
  461. package/dist/skills/fuzz/templates/utils/Clamp.sol +223 -0
  462. package/dist/skills/fuzz/templates/utils/DecimalPrinter.sol +63 -0
  463. package/dist/skills/fuzz/templates/utils/Deployer.sol +17 -0
  464. package/dist/skills/fuzz/templates/utils/EnumerableSet.sol +206 -0
  465. package/dist/skills/fuzz/templates/utils/Hevm.sol +62 -0
  466. package/dist/skills/fuzz/templates/utils/Logger.sol +619 -0
  467. package/dist/skills/fuzz/templates/utils/Math.sol +52 -0
  468. package/dist/skills/fuzz/templates/utils/MockERC20.sol +279 -0
  469. package/dist/skills/fuzz/templates/utils/PropertiesAsserts.sol +238 -0
  470. package/dist/skills/fuzz/templates/utils/StringUtils.sol +85 -0
  471. package/dist/skills/fuzz-convert/SKILL.md +249 -0
  472. package/dist/skills/fuzz-sync/SKILL.md +342 -0
  473. package/dist/skills/generate-poc.md +8 -26
  474. package/dist/skills/generate-report.md +17 -5
  475. package/dist/skills/ingest-aa-report.md +11 -30
  476. package/dist/skills/init-audit/SKILL.md +155 -0
  477. package/dist/skills/init-audit/references/agents/conformance-checker.md +36 -0
  478. package/dist/skills/init-audit/references/agents/contract-reader.md +59 -0
  479. package/dist/skills/init-audit/references/agents/diagram-composer.md +48 -0
  480. package/dist/skills/init-audit/references/agents/docs-extractor.md +26 -0
  481. package/dist/skills/init-audit/references/agents/prior-audit.md +32 -0
  482. package/dist/skills/init-audit/references/agents/regression-checker.md +28 -0
  483. package/dist/skills/init-audit/references/agents/skeptic.md +31 -0
  484. package/dist/skills/init-audit/references/agents/standards-checker.md +39 -0
  485. package/dist/skills/init-audit/references/agents/synthesizer.md +50 -0
  486. package/dist/skills/prevalidate.md +62 -0
  487. package/dist/skills/sync-issues.md +11 -25
  488. package/dist/skills/validate-all-findings.md +2 -2
  489. package/dist/skills/validate-finding.md +25 -24
  490. package/dist/skills/write-finding.md +6 -5
  491. package/dist/types/index.d.ts +16 -12
  492. package/dist/types/index.d.ts.map +1 -1
  493. package/package.json +5 -4
  494. package/dashboard/.next/server/app/access/page.js +0 -1
  495. package/dashboard/.next/server/app/access/page_client-reference-manifest.js +0 -1
  496. package/dashboard/.next/server/app/api/flows/route.js +0 -1
  497. package/dashboard/.next/server/app/api/mermaid/route.js +0 -1
  498. package/dashboard/.next/server/app/calls/page.js +0 -1
  499. package/dashboard/.next/server/app/calls/page_client-reference-manifest.js +0 -1
  500. package/dashboard/.next/server/app/conformance/page.js +0 -1
  501. package/dashboard/.next/server/app/conformance/page.js.nft.json +0 -1
  502. package/dashboard/.next/server/app/conformance/page_client-reference-manifest.js +0 -1
  503. package/dashboard/.next/server/app/diagram/page.js +0 -1
  504. package/dashboard/.next/server/app/diagram/page.js.nft.json +0 -1
  505. package/dashboard/.next/server/app/diagram/page_client-reference-manifest.js +0 -1
  506. package/dashboard/.next/server/app/flows/page.js +0 -1
  507. package/dashboard/.next/server/app/flows/page.js.nft.json +0 -1
  508. package/dashboard/.next/server/app/flows/page_client-reference-manifest.js +0 -1
  509. package/dashboard/.next/server/app/functions/page.js +0 -1
  510. package/dashboard/.next/server/app/functions/page.js.nft.json +0 -1
  511. package/dashboard/.next/server/app/functions/page_client-reference-manifest.js +0 -1
  512. package/dashboard/.next/server/app/notes/page.js +0 -22
  513. package/dashboard/.next/server/app/notes/page.js.nft.json +0 -1
  514. package/dashboard/.next/server/app/notes/page_client-reference-manifest.js +0 -1
  515. package/dashboard/.next/server/app/progress/page.js +0 -1
  516. package/dashboard/.next/server/app/progress/page.js.nft.json +0 -1
  517. package/dashboard/.next/server/app/progress/page_client-reference-manifest.js +0 -1
  518. package/dashboard/.next/server/app/stats/page.js +0 -1
  519. package/dashboard/.next/server/app/stats/page.js.nft.json +0 -1
  520. package/dashboard/.next/server/app/stats/page_client-reference-manifest.js +0 -1
  521. package/dashboard/.next/server/chunks/530.js +0 -1
  522. package/dashboard/.next/server/chunks/622.js +0 -3
  523. package/dashboard/.next/server/chunks/665.js +0 -13
  524. package/dashboard/.next/server/chunks/939.js +0 -1
  525. package/dashboard/.next/static/chunks/3017.4a5312e3c20a173f.js +0 -1
  526. package/dashboard/.next/static/chunks/7397-37adf76cad543297.js +0 -1
  527. package/dashboard/.next/static/chunks/7973.e34032723285a616.js +0 -79
  528. package/dashboard/.next/static/chunks/8452-6d77fa353402422c.js +0 -13
  529. package/dashboard/.next/static/chunks/8928-fc049decdfbdaa6d.js +0 -1
  530. package/dashboard/.next/static/chunks/app/access/page-f8403cbdfc1c176b.js +0 -1
  531. package/dashboard/.next/static/chunks/app/calls/page-41f20d01e12382ef.js +0 -1
  532. package/dashboard/.next/static/chunks/app/changes/page-82bf8b6f48cdc506.js +0 -1
  533. package/dashboard/.next/static/chunks/app/conformance/page-6bb8e3b372e38098.js +0 -1
  534. package/dashboard/.next/static/chunks/app/diagram/page-469cd7a6f183efba.js +0 -1
  535. package/dashboard/.next/static/chunks/app/flows/page-7872dd9141ba0b07.js +0 -1
  536. package/dashboard/.next/static/chunks/app/functions/page-5847bcb77a8e7edf.js +0 -1
  537. package/dashboard/.next/static/chunks/app/issues/page-1ffc64fe40439002.js +0 -1
  538. package/dashboard/.next/static/chunks/app/layout-6c6d2a0fd7c989d3.js +0 -1
  539. package/dashboard/.next/static/chunks/app/notes/page-8bcaa52304500098.js +0 -1
  540. package/dashboard/.next/static/chunks/app/page-d63800ddb072b77b.js +0 -1
  541. package/dashboard/.next/static/chunks/app/progress/page-e26554f655a62eef.js +0 -1
  542. package/dashboard/.next/static/chunks/app/report/page-18c04fb2f193b020.js +0 -1
  543. package/dashboard/.next/static/chunks/app/stats/page-67ff59fd69bed651.js +0 -1
  544. package/dashboard/.next/static/chunks/webpack-4de0e79bdd6a0418.js +0 -1
  545. package/dashboard/.next/static/css/1112cea2260b3926.css +0 -3
  546. package/dashboard/app/access/AccessClient.tsx +0 -402
  547. package/dashboard/app/access/ReadOnlyFunctions.tsx +0 -114
  548. package/dashboard/app/access/page.tsx +0 -125
  549. package/dashboard/app/api/flows/route.ts +0 -32
  550. package/dashboard/app/api/mermaid/route.ts +0 -25
  551. package/dashboard/app/calls/CallsClient.tsx +0 -170
  552. package/dashboard/app/calls/page.tsx +0 -57
  553. package/dashboard/app/conformance/ConformanceTable.tsx +0 -214
  554. package/dashboard/app/conformance/page.tsx +0 -186
  555. package/dashboard/app/diagram/page.tsx +0 -65
  556. package/dashboard/app/flows/page.tsx +0 -102
  557. package/dashboard/app/functions/FunctionsClient.tsx +0 -167
  558. package/dashboard/app/functions/page.tsx +0 -178
  559. package/dashboard/app/issues/IssuesBoardClient.tsx +0 -813
  560. package/dashboard/app/notes/NotesClient.tsx +0 -706
  561. package/dashboard/app/notes/page.tsx +0 -47
  562. package/dashboard/app/progress/ProgressClient.tsx +0 -354
  563. package/dashboard/app/progress/page.tsx +0 -127
  564. package/dashboard/app/stats/StatsClient.tsx +0 -452
  565. package/dashboard/app/stats/page.tsx +0 -50
  566. package/dashboard/components/ConfidenceBadge.tsx +0 -53
  567. package/dashboard/components/DashboardLayout.tsx +0 -510
  568. package/dashboard/components/FilterableTable.tsx +0 -293
  569. package/dashboard/components/MermaidViewer.tsx +0 -267
  570. package/dashboard/components/NotYetGenerated.tsx +0 -32
  571. package/dashboard/components/SeverityBadge.tsx +0 -28
  572. package/dashboard/components/SignalBars.tsx +0 -27
  573. package/dashboard/components/SortableTable.tsx +0 -122
  574. package/dashboard/lib/conformance-tokens.ts +0 -49
  575. package/dist/skills/init-audit.md +0 -386
  576. /package/dashboard/.next/server/app/api/{flows → xref}/route.js.nft.json +0 -0
  577. /package/dashboard/.next/server/app/{api/mermaid → excalidraw-assets/[...path]}/route.js.nft.json +0 -0
  578. /package/dashboard/.next/static/{z5XBev05xDAkDrxWxAjNu → bGV1ry1vvIbM5b506eVBR}/_buildManifest.js +0 -0
  579. /package/dashboard/.next/static/{z5XBev05xDAkDrxWxAjNu → bGV1ry1vvIbM5b506eVBR}/_ssgManifest.js +0 -0
  580. /package/dashboard/.next/static/chunks/{3205-47d09be47325709f.js → 3205-fd963acf2fdfd080.js} +0 -0
  581. /package/dashboard/.next/static/chunks/{3924-88d849290406ee6f.js → 3924-f1f85ccc7d59d7ab.js} +0 -0
  582. /package/dashboard/.next/static/chunks/{618f8807-69fc7bb97c2b87c1.js → 618f8807-fbb1466bc29c17c6.js} +0 -0
  583. /package/dashboard/.next/static/chunks/{7498-d1814d68ba346d13.js → 7498-7cf464d8af69cd0a.js} +0 -0
  584. /package/dashboard/.next/static/chunks/app/_not-found/{page-c299b935209993df.js → page-5ff5d54b6fd6f17e.js} +0 -0
@@ -1 +0,0 @@
1
- (()=>{var e={};e.id=780,e.ids=[780],e.modules={7849:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external")},2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},5403:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},4749:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},7561:e=>{"use strict";e.exports=require("node:fs")},9411:e=>{"use strict";e.exports=require("node:path")},1017:e=>{"use strict";e.exports=require("path")},7310:e=>{"use strict";e.exports=require("url")},6872:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>n.a,__next_app__:()=>x,originalPathname:()=>u,pages:()=>d,routeModule:()=>m,tree:()=>c}),r(2261),r(819),r(2874);var s=r(7105),a=r(5265),l=r(157),n=r.n(l),i=r(4665),o={};for(let e in i)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(o[e]=()=>i[e]);r.d(t,o);let c=["",{children:["calls",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,2261)),"/home/dx/Work/hex/dashboard/app/calls/page.tsx"]}]},{metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,2950))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(r.bind(r,819)),"/home/dx/Work/hex/dashboard/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,2874,23)),"next/dist/client/components/not-found-error"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,2950))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],d=["/home/dx/Work/hex/dashboard/app/calls/page.tsx"],u="/calls/page",x={require:r,loadChunk:()=>Promise.resolve()},m=new s.AppPageRouteModule({definition:{kind:a.x.APP_PAGE,page:"/calls/page",pathname:"/calls",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:c}})},5485:(e,t,r)=>{Promise.resolve().then(r.bind(r,5289))},5289:(e,t,r)=>{"use strict";r.d(t,{CallsClient:()=>o});var s=r(9899),a=r(983);let l={external:"bg-[var(--critical)]/15 text-[var(--critical)]",untrusted:"bg-[var(--critical)]/15 text-[var(--critical)]","semi-trusted":"bg-[var(--medium)]/15 text-[var(--medium)]",semi_trusted:"bg-[var(--medium)]/15 text-[var(--medium)]",trusted:"bg-[var(--success)]/15 text-[var(--success)]"};function n({trust:e}){let t=l[e.toLowerCase()]??"bg-[var(--neutral)]/15 text-[var(--neutral)]";return s.jsx("span",{className:`inline-flex items-center rounded-sm px-2 py-0.5 text-caption font-medium ${t}`,children:e})}let i=[{id:"contract",header:"Contract",accessorKey:"contract",enableColumnFilter:!0,cell:e=>s.jsx("span",{className:"font-medium text-text-primary",children:e.contract})},{id:"function",header:"Function",accessorKey:"fn",cell:e=>s.jsx("span",{className:"font-mono text-body text-text-secondary",children:e.fn})},{id:"call",header:"Call",accessorKey:"call",cell:e=>s.jsx("span",{className:"font-mono text-body text-text-secondary",children:e.call})},{id:"return_checked",header:"Return Checked",accessorKey:"return_checked",cell:e=>s.jsx("span",{className:e.return_checked?"text-[var(--success)]":"text-[var(--critical)]",children:e.return_checked?"Yes":"No"})},{id:"call_type",header:"Call Type",accessorKey:"call_type",enableColumnFilter:!0,cell:e=>s.jsx("span",{className:"inline-flex items-center rounded-sm bg-surface-3 px-2 py-0.5 text-caption text-text-secondary",children:e.call_type})},{id:"trust",header:"Trust",accessorKey:"trust",enableColumnFilter:!0,cell:e=>s.jsx(n,{trust:e.trust})}];function o({calls:e}){let t=e.map(e=>{var t;return{contract:e.contract,fn:e.function,call:`${e.target}.${e.method}()`,return_checked:!0===(t=e.return_checked.value)||"true"===t||"yes"===t,call_type:e.call_type,trust:String(e.trust_level.value)}}),r={};for(let e of t)r[e.trust]=(r[e.trust]??0)+1;let l=t.filter(e=>!e.return_checked).length;return(0,s.jsxs)("div",{children:[s.jsx("h2",{className:"mb-sp-5 text-title font-semibold text-text-primary",children:"External Calls"}),(0,s.jsxs)("p",{className:"mb-sp-3 text-body text-text-secondary",children:[t.length," external call",1!==t.length?"s":""," found"]}),(0,s.jsxs)("div",{className:"mb-sp-5 grid grid-cols-2 gap-sp-3 sm:grid-cols-4",children:[Object.entries(r).map(([e,t])=>(0,s.jsxs)("div",{className:"rounded-md border border-border-default bg-surface-2 p-sp-4",children:[s.jsx("div",{className:"text-display text-text-primary",children:t}),s.jsx("div",{className:"mt-1",children:s.jsx(n,{trust:e})})]},e)),l>0&&(0,s.jsxs)("div",{className:"rounded-md border border-[var(--critical)]/30 bg-[var(--critical)]/5 p-sp-4",children:[s.jsx("div",{className:"text-display text-[var(--critical)]",children:l}),s.jsx("div",{className:"mt-1 text-caption text-[var(--critical)]/70",children:"Unchecked returns"})]})]}),s.jsx(a.v,{columns:i,data:t,defaultOpen:!0})]})}},983:(e,t,r)=>{"use strict";r.d(t,{v:()=>i});var s=r(9899),a=r(5507),l=r(665),n=r(1492);function i({columns:e,data:t,title:r,defaultOpen:i=!0,rowClassName:o,onRowClick:c,expandedRow:d}){let[u,x]=(0,a.useState)(i),[m,p]=(0,a.useState)([]),[h,f]=(0,a.useState)([]),[b,g]=(0,a.useState)(null),v=(0,a.useMemo)(()=>e.map(e=>({id:e.id,accessorKey:e.accessorKey,header:e.header,enableColumnFilter:e.enableColumnFilter??!1,filterFn:e.enableColumnFilter?"equalsString":void 0,...e.sortingFn?{sortingFn:e.sortingFn}:{},cell:e.cell?({row:t})=>e.cell(t.original):({getValue:e})=>s.jsx("span",{className:"text-text-primary",children:String(e()??"")})})),[e]),y=(0,l.b7)({data:t,columns:v,state:{sorting:m,columnFilters:h},onSortingChange:p,onColumnFiltersChange:f,getCoreRowModel:(0,n.sC)(),getFilteredRowModel:(0,n.vL)(),getSortedRowModel:(0,n.tj)()}),j=(0,a.useMemo)(()=>{let r={};for(let s of e){if(!s.enableColumnFilter)continue;let e=new Set;for(let r of t){let t=r[s.accessorKey];null!=t&&e.add(String(t))}let a=[...e];if(s.filterOrder){let e=s.filterOrder;a.sort((t,r)=>{let s=e.indexOf(t),a=e.indexOf(r);return(-1===s?999:s)-(-1===a?999:a)})}else a.sort();r[s.id]=a}return r},[e,t]),N=e.filter(e=>e.enableColumnFilter);return(0,s.jsxs)("div",{className:"overflow-hidden border border-border-default",style:{borderRadius:"var(--radius-sm)"},children:[r&&(0,s.jsxs)("button",{type:"button",onClick:()=>x(!u),"aria-expanded":u,className:"flex w-full items-center justify-between bg-surface-2 px-sp-4 py-sp-3 text-left hover:bg-surface-3",children:[(0,s.jsxs)("span",{className:"text-heading font-medium text-text-primary",children:[r," (",t.length,")"]}),s.jsx("svg",{className:`h-4 w-4 text-text-tertiary ${u?"rotate-180":""}`,"aria-hidden":"true",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19 9-7 7-7-7"})})]}),u&&(0,s.jsxs)(s.Fragment,{children:[N.length>0&&s.jsx("div",{className:"flex flex-wrap gap-2 border-b border-border-subtle bg-surface-1 px-sp-4 py-sp-2",children:N.map(e=>{let r=h.find(t=>t.id===e.id);return(0,s.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(0,s.jsxs)("button",{type:"button",onClick:()=>f(t=>t.filter(t=>t.id!==e.id)),"aria-pressed":!r?.value,className:`rounded-md px-3 py-1.5 text-caption font-medium focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent ${r?.value?"bg-surface-3 text-text-secondary hover:text-text-primary":"bg-accent text-surface-0"}`,children:["All ",e.header]}),(j[e.id]??[]).map(a=>{let l=t.filter(t=>String(t[e.accessorKey])===a).length,n=r?.value===a;return(0,s.jsxs)("button",{type:"button",onClick:()=>f(t=>{let r=t.filter(t=>t.id!==e.id);return n?r:[...r,{id:e.id,value:a}]}),"aria-pressed":n,className:`rounded-md px-3 py-1.5 text-caption font-medium focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent ${n?"bg-accent text-surface-0":"bg-surface-3 text-text-secondary hover:text-text-primary"}`,children:[a,s.jsx("span",{className:"ml-1 opacity-60",children:l})]},a)})]},e.id)})}),s.jsx("div",{className:"overflow-x-auto",children:(0,s.jsxs)("table",{className:"w-full text-left text-body",children:[s.jsx("thead",{className:"border-b border-border-default bg-surface-2 text-caption font-medium uppercase tracking-wider text-text-tertiary",children:s.jsx("tr",{children:y.getHeaderGroups().map(e=>e.headers.map(e=>s.jsx("th",{scope:"col","aria-sort":"asc"===e.column.getIsSorted()?"ascending":"desc"===e.column.getIsSorted()?"descending":void 0,className:"cursor-pointer select-none px-sp-4 py-sp-2 hover:text-text-secondary",onClick:e.column.getToggleSortingHandler(),children:(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,l.ie)(e.column.columnDef.header,e.getContext()),"asc"===e.column.getIsSorted()&&s.jsx("svg",{className:"h-3 w-3","aria-hidden":"true",viewBox:"0 0 12 12",fill:"currentColor",children:s.jsx("path",{d:"M6 2l4 5H2z"})}),"desc"===e.column.getIsSorted()&&s.jsx("svg",{className:"h-3 w-3","aria-hidden":"true",viewBox:"0 0 12 12",fill:"currentColor",children:s.jsx("path",{d:"M6 10l4-5H2z"})})]})},e.id)))})}),s.jsx("tbody",{className:"divide-y divide-border-subtle",children:y.getRowModel().rows.map(t=>{let r=t.original,n=r.id?String(r.id):t.id,i=b===n,u=!!c||!!d;return(0,s.jsxs)(a.Fragment,{children:[s.jsx("tr",{className:`${o?o(r):"bg-surface-1 hover:bg-surface-3"} ${u?"cursor-pointer":""}`,role:u?"button":void 0,tabIndex:u?0:void 0,"aria-expanded":d?i:void 0,onClick:()=>{d&&g(i?null:n),c?.(r)},onKeyDown:u?e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),d&&g(i?null:n),c?.(r))}:void 0,children:t.getVisibleCells().map(e=>s.jsx("td",{className:"h-9 px-sp-4 py-sp-2",children:(0,l.ie)(e.column.columnDef.cell,e.getContext())},e.id))}),d&&i&&s.jsx("tr",{children:s.jsx("td",{colSpan:e.length,className:"bg-surface-0 px-sp-5 py-sp-4",children:d(r)})})]},t.id)})})]})})]})]})}},2261:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>x,dynamic:()=>u});var s=r(5023),a=r(1720),l=r(446),n=r(2772);let i=(0,n.createProxy)(String.raw`/home/dx/Work/hex/dashboard/app/calls/CallsClient.tsx`),{__esModule:o,$$typeof:c}=i;i.default;let d=(0,n.createProxy)(String.raw`/home/dx/Work/hex/dashboard/app/calls/CallsClient.tsx#CallsClient`),u="force-dynamic";function x(){let e=(0,a.gn)("external-calls.json");return e?s.jsx(d,{calls:e.calls}):(0,s.jsxs)("div",{children:[s.jsx("h2",{className:"mb-sp-5 text-title font-semibold text-text-primary",children:"External Calls"}),s.jsx(l.v,{command:"hex calls"})]})}},446:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var s=r(5023);function a({command:e}){return(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center border border-dashed border-border-default bg-surface-1 px-sp-5 py-sp-8 text-center",style:{borderRadius:"var(--radius-sm)"},children:[s.jsx("svg",{className:"mb-4 h-12 w-12 text-text-tertiary",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m6.75 12H9.75m3 0H9.75m0 0v3m-3-6h1.5m-1.5 0v3m6-6h.008v.008H15V9.75Z"})}),s.jsx("h3",{className:"mb-2 text-heading font-medium text-text-primary",children:"Data not yet generated"}),s.jsx("p",{className:"mb-4 text-body text-text-secondary",children:"Run the following command to generate this data:"}),s.jsx("code",{className:"border border-border-default bg-surface-0 px-sp-4 py-sp-2 font-mono text-body text-accent",style:{borderRadius:"var(--radius-sm)"},children:e})]})}},2950:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var s=r(1645);let a=e=>[{type:"image/svg+xml",sizes:"any",url:(0,s.fillMetadataSegment)(".",e.params,"icon.svg")+"?83fa4bf1ef0d214d"}]}};var t=require("../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[916,649,645,665,530],()=>r(6872));module.exports=s})();
@@ -1 +0,0 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/calls/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"3443":{"*":{"id":"7406","name":"*","chunks":[],"async":false}},"4595":{"*":{"id":"1388","name":"*","chunks":[],"async":false}},"9922":{"*":{"id":"8033","name":"*","chunks":[],"async":false}},"11076":{"*":{"id":"9323","name":"*","chunks":[],"async":false}},"11447":{"*":{"id":"5915","name":"*","chunks":[],"async":false}},"13037":{"*":{"id":"226","name":"*","chunks":[],"async":false}},"15276":{"*":{"id":"820","name":"*","chunks":[],"async":false}},"25268":{"*":{"id":"3817","name":"*","chunks":[],"async":false}},"27542":{"*":{"id":"9555","name":"*","chunks":[],"async":false}},"29487":{"*":{"id":"6844","name":"*","chunks":[],"async":false}},"30274":{"*":{"id":"7918","name":"*","chunks":[],"async":false}},"37780":{"*":{"id":"8664","name":"*","chunks":[],"async":false}},"43297":{"*":{"id":"1611","name":"*","chunks":[],"async":false}},"56902":{"*":{"id":"2541","name":"*","chunks":[],"async":false}},"67498":{"*":{"id":"696","name":"*","chunks":[],"async":false}},"71520":{"*":{"id":"5707","name":"*","chunks":[],"async":false}},"72024":{"*":{"id":"2857","name":"*","chunks":[],"async":false}},"73719":{"*":{"id":"526","name":"*","chunks":[],"async":false}},"77701":{"*":{"id":"8530","name":"*","chunks":[],"async":false}},"89690":{"*":{"id":"2204","name":"*","chunks":[],"async":false}},"92198":{"*":{"id":"9915","name":"*","chunks":[],"async":false}},"93362":{"*":{"id":"5289","name":"*","chunks":[],"async":false}},"99754":{"*":{"id":"4790","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/dx/Work/hex/node_modules/next/dist/client/components/app-router.js":{"id":25268,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/app-router.js":{"id":25268,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/client-page.js":{"id":11076,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/client-page.js":{"id":11076,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/error-boundary.js":{"id":89690,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":89690,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/layout-router.js":{"id":15276,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/layout-router.js":{"id":15276,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/not-found-boundary.js":{"id":11447,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":11447,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/render-from-template-context.js":{"id":43297,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":43297,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/globals.css":{"id":13812,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/components/CommandPalette.tsx":{"id":92198,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/components/DashboardLayout.tsx":{"id":30274,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next-themes/dist/index.mjs":{"id":4595,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Manrope\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-sans\",\"display\":\"swap\"}],\"variableName\":\"manrope\"}":{"id":41600,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-mono\",\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":55256,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/app/diagram/page.tsx":{"id":73719,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/flows/page.tsx":{"id":3443,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/calls/CallsClient.tsx":{"id":93362,"name":"*","chunks":["8452","static/chunks/8452-6d77fa353402422c.js","1780","static/chunks/app/calls/page-41f20d01e12382ef.js"],"async":false},"/home/dx/Work/hex/dashboard/app/changes/ChangesClient.tsx":{"id":71520,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/access/AccessClient.tsx":{"id":13037,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/notes/NotesClient.tsx":{"id":72024,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/conformance/ConformanceTable.tsx":{"id":27542,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/functions/FunctionsClient.tsx":{"id":37780,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/report/ReportClient.tsx":{"id":56902,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/stats/StatsClient.tsx":{"id":9922,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/progress/ProgressClient.tsx":{"id":77701,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/issues/IssuesBoardClient.tsx":{"id":99754,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/components/MarkdownRenderer.tsx":{"id":29487,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/link.js":{"id":67498,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/link.js":{"id":67498,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false}},"entryCSSFiles":{"/home/dx/Work/hex/dashboard/":[],"/home/dx/Work/hex/dashboard/app/layout":["static/css/1112cea2260b3926.css"],"/home/dx/Work/hex/dashboard/app/page":[],"/home/dx/Work/hex/dashboard/app/calls/page":[]}}
@@ -1 +0,0 @@
1
- (()=>{var e={};e.id=464,e.ids=[464],e.modules={7849:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external")},2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},5403:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},4749:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},7561:e=>{"use strict";e.exports=require("node:fs")},9411:e=>{"use strict";e.exports=require("node:path")},1017:e=>{"use strict";e.exports=require("path")},7310:e=>{"use strict";e.exports=require("url")},6250:(e,t,s)=>{"use strict";s.r(t),s.d(t,{GlobalError:()=>c.a,__next_app__:()=>p,originalPathname:()=>x,pages:()=>d,routeModule:()=>u,tree:()=>l}),s(2397),s(819),s(2874);var r=s(7105),a=s(5265),n=s(157),c=s.n(n),i=s(4665),o={};for(let e in i)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(o[e]=()=>i[e]);s.d(t,o);let l=["",{children:["conformance",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(s.bind(s,2397)),"/home/dx/Work/hex/dashboard/app/conformance/page.tsx"]}]},{metadata:{icon:[async e=>(await Promise.resolve().then(s.bind(s,2950))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(s.bind(s,819)),"/home/dx/Work/hex/dashboard/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(s.t.bind(s,2874,23)),"next/dist/client/components/not-found-error"],metadata:{icon:[async e=>(await Promise.resolve().then(s.bind(s,2950))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],d=["/home/dx/Work/hex/dashboard/app/conformance/page.tsx"],x="/conformance/page",p={require:s,loadChunk:()=>Promise.resolve()},u=new r.AppPageRouteModule({definition:{kind:a.x.APP_PAGE,page:"/conformance/page",pathname:"/conformance",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:l}})},4244:(e,t,s)=>{Promise.resolve().then(s.bind(s,9555))},9555:(e,t,s)=>{"use strict";s.d(t,{ConformanceTable:()=>l});var r=s(9899),a=s(5507);let n={DEVIATES:"bg-[var(--critical)]/18 text-[var(--critical)]",PARTIAL:"bg-[var(--medium)]/18 text-[var(--medium)]",UNVERIFIABLE:"bg-accent/18 text-accent",UNDOCUMENTED:"bg-[var(--neutral)]/18 text-[var(--neutral)]",CONFORMS:"bg-[var(--success)]/18 text-[var(--success)]"},c={DEVIATES:"bg-[var(--critical)]/5",PARTIAL:"bg-[var(--medium)]/5",UNVERIFIABLE:"bg-accent/5",UNDOCUMENTED:"bg-surface-1",CONFORMS:"bg-[var(--success)]/5"},i={Critical:"bg-[var(--critical)]/18 text-[var(--critical)]",High:"bg-[var(--high)]/18 text-[var(--high)]",Medium:"bg-[var(--medium)]/18 text-[var(--medium)]",Low:"bg-[var(--low)]/18 text-[var(--low)]",Info:"bg-[var(--info)]/18 text-[var(--info)]"},o={external_docs:"Docs",natspec:"NatSpec",interface:"Interface",erc_eip:"ERC/EIP"};function l({checks:e}){let[t,s]=(0,a.useState)(new Set),[l,d]=(0,a.useState)(null);function x(e){s(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})}let p=l?e.filter(e=>e.status===l):e;return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"mb-sp-3 flex flex-wrap gap-1",children:[r.jsx("button",{type:"button",onClick:()=>d(null),"aria-pressed":!l,className:`rounded-md px-3 py-1.5 text-caption font-medium focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent ${l?"bg-surface-3 text-text-secondary hover:text-text-primary":"bg-accent text-surface-0"}`,children:"All"}),["DEVIATES","PARTIAL","UNVERIFIABLE","UNDOCUMENTED","CONFORMS"].map(t=>{let s=e.filter(e=>e.status===t).length;if(0===s)return null;let a=l===t;return(0,r.jsxs)("button",{type:"button",onClick:()=>d(a?null:t),"aria-pressed":a,className:`rounded-md px-3 py-1.5 text-caption font-medium focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent ${a?"bg-accent text-surface-0":"bg-surface-3 text-text-secondary hover:text-text-primary"}`,children:[t," ",r.jsx("span",{className:"opacity-60",children:s})]},t)})]}),r.jsx("div",{className:"overflow-x-auto rounded-md border border-border-default",children:(0,r.jsxs)("table",{className:"w-full text-left text-body",children:[r.jsx("thead",{className:"border-b border-border-default bg-surface-2 text-caption font-medium uppercase tracking-wider text-text-tertiary",children:(0,r.jsxs)("tr",{children:[r.jsx("th",{scope:"col",className:"w-8 px-2 py-sp-2"}),r.jsx("th",{scope:"col",className:"w-24 px-sp-4 py-sp-2",children:"ID"}),r.jsx("th",{scope:"col",className:"px-sp-4 py-sp-2",children:"Requirement"}),r.jsx("th",{scope:"col",className:"w-32 px-sp-4 py-sp-2",children:"Status"}),r.jsx("th",{scope:"col",className:"w-24 px-sp-4 py-sp-2",children:"Source"})]})}),r.jsx("tbody",{className:"divide-y divide-border-subtle",children:p.map(e=>{let s=t.has(e.id),l=n[e.status]??n.UNDOCUMENTED,d=c[e.status]??c.UNDOCUMENTED;return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)("tr",{role:"button",tabIndex:0,"aria-expanded":s,onClick:()=>x(e.id),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),x(e.id))},className:`${d} cursor-pointer hover:bg-surface-3`,children:[r.jsx("td",{className:"w-8 px-2 py-sp-2 text-text-tertiary",children:r.jsx("svg",{"aria-hidden":"true",className:`h-4 w-4 ${s?"rotate-90":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:r.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 5 7 7-7 7"})})}),r.jsx("td",{className:"whitespace-nowrap px-sp-4 py-sp-2 font-mono text-caption text-text-secondary",children:e.id}),r.jsx("td",{className:"px-sp-4 py-sp-2 text-text-primary",children:e.requirement}),r.jsx("td",{className:"px-sp-4 py-sp-2",children:r.jsx("span",{className:`inline-flex items-center rounded-sm px-2 py-0.5 text-caption font-medium ${l}`,children:e.status})}),r.jsx("td",{className:"px-sp-4 py-sp-2 text-caption text-text-tertiary",children:e.source?o[e.source]??e.source:e.spec_section??"-"})]}),s&&r.jsx("tr",{className:`${d}`,children:(0,r.jsxs)("td",{colSpan:5,className:"bg-surface-0 px-sp-6 py-sp-4",children:[(0,r.jsxs)("div",{className:"text-body text-text-secondary",children:[r.jsx("h4",{className:"mb-sp-2 text-caption font-medium uppercase text-text-tertiary",children:"Details"}),r.jsx("p",{className:"whitespace-pre-wrap",children:e.details})]}),(0,r.jsxs)("div",{className:"mt-sp-3 flex flex-wrap gap-sp-3",children:[e.confidence&&(0,r.jsxs)("div",{children:[r.jsx("span",{className:"text-caption text-text-tertiary",children:"Confidence: "}),r.jsx("span",{className:"text-caption text-text-secondary",children:e.confidence})]}),e.severity_hint&&(0,r.jsxs)("div",{children:[r.jsx("span",{className:"text-caption text-text-tertiary",children:"Severity: "}),r.jsx("span",{className:`inline-flex items-center rounded-sm px-2 py-0.5 text-caption font-medium ${i[e.severity_hint]??i.Info}`,children:e.severity_hint})]}),e.code_location&&(0,r.jsxs)("div",{children:[r.jsx("span",{className:"text-caption text-text-tertiary",children:"Location: "}),(0,r.jsxs)("code",{className:"rounded-sm bg-surface-3 px-1.5 py-0.5 text-caption text-text-secondary",children:[e.code_location.file,":",e.code_location.line_start,e.code_location.line_end!==e.code_location.line_start&&`-${e.code_location.line_end}`]})]}),e.spec_url&&(0,r.jsxs)("div",{children:[r.jsx("span",{className:"text-caption text-text-tertiary",children:"Spec: "}),r.jsx("a",{href:e.spec_url,target:"_blank",rel:"noopener noreferrer",className:"text-caption text-accent hover:underline focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent rounded-sm",children:e.spec_anchor??e.spec_url.replace(/^https?:\/\//,"")})]})]})]})})]},e.id)})})]})})]})}},2397:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>h,dynamic:()=>u});var r=s(5023),a=s(1720),n=s(446);let c={DEVIATES:"bg-[var(--critical)]",PARTIAL:"bg-[var(--medium)]",UNVERIFIABLE:"bg-accent",UNDOCUMENTED:"bg-[var(--neutral)]",CONFORMS:"bg-[var(--success)]"},i={DEVIATES:"text-[var(--critical)]",PARTIAL:"text-[var(--medium)]",UNVERIFIABLE:"text-accent",UNDOCUMENTED:"text-text-secondary",CONFORMS:"text-[var(--success)]"};var o=s(2772);let l=(0,o.createProxy)(String.raw`/home/dx/Work/hex/dashboard/app/conformance/ConformanceTable.tsx`),{__esModule:d,$$typeof:x}=l;l.default;let p=(0,o.createProxy)(String.raw`/home/dx/Work/hex/dashboard/app/conformance/ConformanceTable.tsx#ConformanceTable`),u="force-dynamic",m={DEVIATES:0,PARTIAL:1,UNVERIFIABLE:2,UNDOCUMENTED:3,CONFORMS:4};function h(){let e;let t=(0,a.gn)("spec-conformance.json");if(!t)return(0,r.jsxs)("div",{children:[r.jsx("h2",{className:"mb-sp-5 text-title font-semibold text-text-primary",children:"Spec Conformance"}),r.jsx(n.v,{command:"Use the check-spec-conformance skill"})]});(e=t.items?t.items.map(e=>{let t=e.spec_location??{},s="string"==typeof t.url?t.url:void 0,r="string"==typeof t.section?t.section:void 0;return{id:e.id,requirement:e.spec_text,status:e.status,details:e.finding,spec_section:e.source??"-",confidence:e.confidence,source:e.source,severity_hint:e.severity_hint,code_location:e.code_location,spec_url:s,spec_anchor:r}}):t.checks?t.checks.map(e=>({id:e.id,requirement:e.requirement,status:e.status,details:e.details,spec_section:e.spec_section??"-",confidence:e.confidence})):[]).sort((e,t)=>(m[e.status]??99)-(m[t.status]??99));let s=t.summary??{total_checks:e.length,conforms:e.filter(e=>"CONFORMS"===e.status).length,deviates:e.filter(e=>"DEVIATES"===e.status).length,partial:e.filter(e=>"PARTIAL"===e.status).length,unverifiable:e.filter(e=>"UNVERIFIABLE"===e.status).length,undocumented:e.filter(e=>"UNDOCUMENTED"===e.status).length},o=[{status:"DEVIATES",count:s.deviates},{status:"PARTIAL",count:s.partial},{status:"UNVERIFIABLE",count:s.unverifiable},{status:"UNDOCUMENTED",count:s.undocumented},{status:"CONFORMS",count:s.conforms}];return(0,r.jsxs)("div",{children:[r.jsx("h2",{className:"mb-sp-5 text-title font-semibold text-text-primary",children:"Spec Conformance"}),r.jsx("div",{className:"mb-sp-5 flex flex-wrap gap-sp-3",children:o.map(({status:e,count:t})=>(0,r.jsxs)("div",{className:"flex items-center gap-2 rounded-md border border-border-default bg-surface-2 px-sp-4 py-sp-2",children:[r.jsx("span",{className:`inline-block h-2.5 w-2.5 rounded-full ${c[e]}`}),r.jsx("span",{className:`text-caption font-medium ${i[e]}`,children:e}),r.jsx("span",{className:"text-heading font-semibold text-text-primary",children:t})]},e))}),(0,r.jsxs)("p",{className:"mb-sp-3 text-body text-text-secondary",children:[s.total_checks," conformance check",1!==s.total_checks?"s":"",t.sources_checked&&(0,r.jsxs)("span",{className:"ml-2 text-text-tertiary",children:["(sources: ",Object.entries(t.sources_checked).filter(([,e])=>!0===e||Array.isArray(e)&&e.length>0).map(([e])=>e.replace(/_/g," ")).join(", "),")"]})]}),r.jsx(p,{checks:e})]})}},446:(e,t,s)=>{"use strict";s.d(t,{v:()=>a});var r=s(5023);function a({command:e}){return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center border border-dashed border-border-default bg-surface-1 px-sp-5 py-sp-8 text-center",style:{borderRadius:"var(--radius-sm)"},children:[r.jsx("svg",{className:"mb-4 h-12 w-12 text-text-tertiary",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:r.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m6.75 12H9.75m3 0H9.75m0 0v3m-3-6h1.5m-1.5 0v3m6-6h.008v.008H15V9.75Z"})}),r.jsx("h3",{className:"mb-2 text-heading font-medium text-text-primary",children:"Data not yet generated"}),r.jsx("p",{className:"mb-4 text-body text-text-secondary",children:"Run the following command to generate this data:"}),r.jsx("code",{className:"border border-border-default bg-surface-0 px-sp-4 py-sp-2 font-mono text-body text-accent",style:{borderRadius:"var(--radius-sm)"},children:e})]})}},2950:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});var r=s(1645);let a=e=>[{type:"image/svg+xml",sizes:"any",url:(0,r.fillMetadataSegment)(".",e.params,"icon.svg")+"?83fa4bf1ef0d214d"}]}};var t=require("../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[916,649,645,530],()=>s(6250));module.exports=r})();
@@ -1 +0,0 @@
1
- {"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../package.json","../../chunks/530.js","../../chunks/645.js","../../chunks/649.js","../../chunks/916.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -1 +0,0 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/conformance/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"3443":{"*":{"id":"7406","name":"*","chunks":[],"async":false}},"4595":{"*":{"id":"1388","name":"*","chunks":[],"async":false}},"9922":{"*":{"id":"8033","name":"*","chunks":[],"async":false}},"11076":{"*":{"id":"9323","name":"*","chunks":[],"async":false}},"11447":{"*":{"id":"5915","name":"*","chunks":[],"async":false}},"13037":{"*":{"id":"226","name":"*","chunks":[],"async":false}},"15276":{"*":{"id":"820","name":"*","chunks":[],"async":false}},"25268":{"*":{"id":"3817","name":"*","chunks":[],"async":false}},"27542":{"*":{"id":"9555","name":"*","chunks":[],"async":false}},"29487":{"*":{"id":"6844","name":"*","chunks":[],"async":false}},"30274":{"*":{"id":"7918","name":"*","chunks":[],"async":false}},"37780":{"*":{"id":"8664","name":"*","chunks":[],"async":false}},"43297":{"*":{"id":"1611","name":"*","chunks":[],"async":false}},"56902":{"*":{"id":"2541","name":"*","chunks":[],"async":false}},"67498":{"*":{"id":"696","name":"*","chunks":[],"async":false}},"71520":{"*":{"id":"5707","name":"*","chunks":[],"async":false}},"72024":{"*":{"id":"2857","name":"*","chunks":[],"async":false}},"73719":{"*":{"id":"526","name":"*","chunks":[],"async":false}},"77701":{"*":{"id":"8530","name":"*","chunks":[],"async":false}},"89690":{"*":{"id":"2204","name":"*","chunks":[],"async":false}},"92198":{"*":{"id":"9915","name":"*","chunks":[],"async":false}},"93362":{"*":{"id":"5289","name":"*","chunks":[],"async":false}},"99754":{"*":{"id":"4790","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/dx/Work/hex/node_modules/next/dist/client/components/app-router.js":{"id":25268,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/app-router.js":{"id":25268,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/client-page.js":{"id":11076,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/client-page.js":{"id":11076,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/error-boundary.js":{"id":89690,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":89690,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/layout-router.js":{"id":15276,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/layout-router.js":{"id":15276,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/not-found-boundary.js":{"id":11447,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":11447,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/render-from-template-context.js":{"id":43297,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":43297,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/globals.css":{"id":13812,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/components/CommandPalette.tsx":{"id":92198,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/components/DashboardLayout.tsx":{"id":30274,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next-themes/dist/index.mjs":{"id":4595,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Manrope\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-sans\",\"display\":\"swap\"}],\"variableName\":\"manrope\"}":{"id":41600,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-mono\",\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":55256,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/app/diagram/page.tsx":{"id":73719,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/flows/page.tsx":{"id":3443,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/calls/CallsClient.tsx":{"id":93362,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/changes/ChangesClient.tsx":{"id":71520,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/access/AccessClient.tsx":{"id":13037,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/notes/NotesClient.tsx":{"id":72024,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/conformance/ConformanceTable.tsx":{"id":27542,"name":"*","chunks":["2464","static/chunks/app/conformance/page-6bb8e3b372e38098.js"],"async":false},"/home/dx/Work/hex/dashboard/app/functions/FunctionsClient.tsx":{"id":37780,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/report/ReportClient.tsx":{"id":56902,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/stats/StatsClient.tsx":{"id":9922,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/progress/ProgressClient.tsx":{"id":77701,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/issues/IssuesBoardClient.tsx":{"id":99754,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/components/MarkdownRenderer.tsx":{"id":29487,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/link.js":{"id":67498,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/link.js":{"id":67498,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false}},"entryCSSFiles":{"/home/dx/Work/hex/dashboard/":[],"/home/dx/Work/hex/dashboard/app/layout":["static/css/1112cea2260b3926.css"],"/home/dx/Work/hex/dashboard/app/page":[],"/home/dx/Work/hex/dashboard/app/conformance/page":[]}}
@@ -1 +0,0 @@
1
- (()=>{var e={};e.id=805,e.ids=[805],e.modules={7849:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external")},2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},5403:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},4749:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},7561:e=>{"use strict";e.exports=require("node:fs")},9411:e=>{"use strict";e.exports=require("node:path")},1017:e=>{"use strict";e.exports=require("path")},7310:e=>{"use strict";e.exports=require("url")},3082:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>n.a,__next_app__:()=>u,originalPathname:()=>x,pages:()=>c,routeModule:()=>p,tree:()=>d}),r(3594),r(819),r(2874);var a=r(7105),s=r(5265),i=r(157),n=r.n(i),o=r(4665),l={};for(let e in o)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>o[e]);r.d(t,l);let d=["",{children:["diagram",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,3594)),"/home/dx/Work/hex/dashboard/app/diagram/page.tsx"]}]},{metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,2950))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(r.bind(r,819)),"/home/dx/Work/hex/dashboard/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,2874,23)),"next/dist/client/components/not-found-error"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,2950))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],c=["/home/dx/Work/hex/dashboard/app/diagram/page.tsx"],x="/diagram/page",u={require:r,loadChunk:()=>Promise.resolve()},p=new a.AppPageRouteModule({definition:{kind:s.x.APP_PAGE,page:"/diagram/page",pathname:"/diagram",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:d}})},2894:(e,t,r)=>{Promise.resolve().then(r.bind(r,526))},526:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var a=r(9899),s=r(5507),i=r(1891);function n(){let[e,t]=(0,s.useState)(null),[r,n]=(0,s.useState)(!1),[o,l]=(0,s.useState)(!0);return o?(0,a.jsxs)("div",{children:[a.jsx("h2",{className:"mb-sp-5 text-title font-semibold text-text-primary",children:"Diagram"}),a.jsx("div",{className:"flex h-[600px] items-center justify-center rounded-md border border-border-default bg-surface-1",children:a.jsx(i.T,{label:"Loading diagram..."})})]}):r||!e?(0,a.jsxs)("div",{children:[a.jsx("h2",{className:"mb-sp-5 text-title font-semibold text-text-primary",children:"Diagram"}),(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center rounded-md border border-dashed border-border-emphasis bg-surface-1 py-sp-8",children:[a.jsx("p",{className:"mb-2 text-heading font-medium text-text-primary",children:"Not Yet Generated"}),a.jsx("p",{className:"text-body text-text-tertiary",children:"Use the diagram skill to generate diagram.mmd"})]})]}):(0,a.jsxs)("div",{children:[a.jsx("h2",{className:"mb-sp-5 text-title font-semibold text-text-primary",children:"Diagram"}),a.jsx(i.D,{syntax:e})]})}},1891:(e,t,r)=>{"use strict";r.d(t,{D:()=>n,T:()=>i});var a=r(9899),s=r(5507);function i({label:e="loading..."}){return(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center gap-3 py-sp-8",children:[(0,a.jsxs)("svg",{className:"h-5 w-5 animate-spin text-accent",viewBox:"0 0 24 24",fill:"none",children:[a.jsx("circle",{className:"opacity-20",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"3"}),a.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),a.jsx("span",{className:"text-body text-text-secondary",children:e})]})}function n({syntax:e}){let t=(0,s.useRef)(null),r=(0,s.useRef)(null),[n,o]=(0,s.useState)(null),[l,d]=(0,s.useState)(!0),[c,x]=(0,s.useState)(1),[u,p]=(0,s.useState)({x:0,y:0}),[m,h]=(0,s.useState)(!1),b=(0,s.useRef)({x:0,y:0}),f=(0,s.useRef)({x:0,y:0}),g=(0,s.useMemo)(()=>(function(e){let t=e.split("\n"),r=[],a=[],s=[],i=!1;for(let e of t){if(i){e.startsWith("%%")&&a.push(e.replace(/^%%\s*/,""));continue}if(e.trim().startsWith("%% --- Legend")){i=!0;continue}e.startsWith("%%")&&0===s.length?r.push(e.replace(/^%%\s*/,"")):s.push(e)}return{overview:r.join(" ").trim(),legend:a.filter(e=>e.trim()).map(e=>e.trim()),syntax:s.join("\n")}})(e),[e]),y=(0,s.useCallback)(e=>{x(t=>Math.min(Math.max(.25,t+e),4))},[]),v=(0,s.useCallback)(()=>{x(1),p({x:0,y:0})},[]),j=(0,s.useCallback)(e=>{e.preventDefault(),y(e.deltaY>0?-.1:.1)},[y]),N=(0,s.useCallback)(e=>{0===e.button&&(h(!0),b.current={x:e.clientX,y:e.clientY},f.current={...u})},[u]),w=(0,s.useCallback)(e=>{m&&p({x:f.current.x+(e.clientX-b.current.x),y:f.current.y+(e.clientY-b.current.y)})},[m]),k=(0,s.useCallback)(()=>{h(!1)},[]);return n?a.jsx("div",{className:"flex h-[600px] items-center justify-center rounded-md border border-severity-critical/30 bg-severity-critical/5",children:(0,a.jsxs)("div",{className:"max-w-lg text-center",children:[a.jsx("p",{className:"mb-2 text-severity-critical",children:"Failed to render diagram"}),a.jsx("pre",{className:"whitespace-pre-wrap text-caption text-severity-critical/60",children:n})]})}):(0,a.jsxs)("div",{children:[g.overview&&a.jsx("p",{className:"mb-2 text-body text-text-secondary",children:g.overview}),(0,a.jsxs)("div",{className:"relative rounded-md border border-border-default bg-surface-1",children:[l&&a.jsx("div",{className:"absolute inset-0 z-20 flex items-center justify-center bg-surface-1",children:a.jsx(i,{label:"rendering diagram"})}),a.jsx("div",{ref:t,className:"h-[700px] overflow-hidden cursor-grab active:cursor-grabbing",onWheel:j,onMouseDown:N,onMouseMove:w,onMouseUp:k,onMouseLeave:k,children:a.jsx("div",{ref:r,className:"flex h-full w-full items-center justify-center p-sp-6",style:{transform:`translate(${u.x}px, ${u.y}px) scale(${c})`,transformOrigin:"center center",transition:m?"none":"transform 0.1s ease-out"}})}),(0,a.jsxs)("div",{className:"absolute bottom-3 right-3 z-10 flex items-center gap-1 rounded-md bg-surface-2 p-1 shadow-lg border border-border-default",children:[a.jsx("button",{type:"button",onClick:()=>y(.2),"aria-label":"Zoom in",className:"rounded px-3 py-1.5 text-body text-text-secondary hover:bg-surface-3 hover:text-text-primary",children:"+"}),a.jsx("button",{type:"button",onClick:()=>y(-.2),"aria-label":"Zoom out",className:"rounded px-3 py-1.5 text-body text-text-secondary hover:bg-surface-3 hover:text-text-primary",children:"−"}),a.jsx("button",{type:"button",onClick:v,"aria-label":"Reset zoom",className:"rounded px-3 py-1.5 text-body text-text-secondary hover:bg-surface-3 hover:text-text-primary",children:"⟳"}),(0,a.jsxs)("span",{className:"px-2 text-caption text-text-tertiary",children:[Math.round(100*c),"%"]})]}),g.legend.length>0&&a.jsx("div",{className:"absolute bottom-3 left-3 z-10 flex flex-wrap gap-x-3 gap-y-1 rounded-md bg-surface-2 px-3 py-2 text-caption font-mono text-text-tertiary border border-border-default",children:g.legend.map((e,t)=>a.jsx("span",{children:e},t))})]})]})}},3594:(e,t,r)=>{"use strict";r.r(t),r.d(t,{$$typeof:()=>n,__esModule:()=>i,default:()=>o});var a=r(2772);let s=(0,a.createProxy)(String.raw`/home/dx/Work/hex/dashboard/app/diagram/page.tsx`),{__esModule:i,$$typeof:n}=s;s.default;let o=(0,a.createProxy)(String.raw`/home/dx/Work/hex/dashboard/app/diagram/page.tsx#default`)},2950:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var a=r(1645);let s=e=>[{type:"image/svg+xml",sizes:"any",url:(0,a.fillMetadataSegment)(".",e.params,"icon.svg")+"?83fa4bf1ef0d214d"}]}};var t=require("../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[916,649,645,530],()=>r(3082));module.exports=a})();
@@ -1 +0,0 @@
1
- {"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../package.json","../../chunks/530.js","../../chunks/645.js","../../chunks/649.js","../../chunks/916.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -1 +0,0 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/diagram/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"3443":{"*":{"id":"7406","name":"*","chunks":[],"async":false}},"4595":{"*":{"id":"1388","name":"*","chunks":[],"async":false}},"9922":{"*":{"id":"8033","name":"*","chunks":[],"async":false}},"11076":{"*":{"id":"9323","name":"*","chunks":[],"async":false}},"11447":{"*":{"id":"5915","name":"*","chunks":[],"async":false}},"13037":{"*":{"id":"226","name":"*","chunks":[],"async":false}},"15276":{"*":{"id":"820","name":"*","chunks":[],"async":false}},"25268":{"*":{"id":"3817","name":"*","chunks":[],"async":false}},"27542":{"*":{"id":"9555","name":"*","chunks":[],"async":false}},"29487":{"*":{"id":"6844","name":"*","chunks":[],"async":false}},"30274":{"*":{"id":"7918","name":"*","chunks":[],"async":false}},"37780":{"*":{"id":"8664","name":"*","chunks":[],"async":false}},"43297":{"*":{"id":"1611","name":"*","chunks":[],"async":false}},"56902":{"*":{"id":"2541","name":"*","chunks":[],"async":false}},"67498":{"*":{"id":"696","name":"*","chunks":[],"async":false}},"71520":{"*":{"id":"5707","name":"*","chunks":[],"async":false}},"72024":{"*":{"id":"2857","name":"*","chunks":[],"async":false}},"73719":{"*":{"id":"526","name":"*","chunks":[],"async":false}},"77701":{"*":{"id":"8530","name":"*","chunks":[],"async":false}},"89690":{"*":{"id":"2204","name":"*","chunks":[],"async":false}},"92198":{"*":{"id":"9915","name":"*","chunks":[],"async":false}},"93362":{"*":{"id":"5289","name":"*","chunks":[],"async":false}},"99754":{"*":{"id":"4790","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/dx/Work/hex/node_modules/next/dist/client/components/app-router.js":{"id":25268,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/app-router.js":{"id":25268,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/client-page.js":{"id":11076,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/client-page.js":{"id":11076,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/error-boundary.js":{"id":89690,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":89690,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/layout-router.js":{"id":15276,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/layout-router.js":{"id":15276,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/not-found-boundary.js":{"id":11447,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":11447,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/render-from-template-context.js":{"id":43297,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":43297,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/globals.css":{"id":13812,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/components/CommandPalette.tsx":{"id":92198,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/components/DashboardLayout.tsx":{"id":30274,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next-themes/dist/index.mjs":{"id":4595,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Manrope\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-sans\",\"display\":\"swap\"}],\"variableName\":\"manrope\"}":{"id":41600,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-mono\",\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":55256,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/app/diagram/page.tsx":{"id":73719,"name":"*","chunks":["7805","static/chunks/app/diagram/page-469cd7a6f183efba.js"],"async":false},"/home/dx/Work/hex/dashboard/app/flows/page.tsx":{"id":3443,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/calls/CallsClient.tsx":{"id":93362,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/changes/ChangesClient.tsx":{"id":71520,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/access/AccessClient.tsx":{"id":13037,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/notes/NotesClient.tsx":{"id":72024,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/conformance/ConformanceTable.tsx":{"id":27542,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/functions/FunctionsClient.tsx":{"id":37780,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/report/ReportClient.tsx":{"id":56902,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/stats/StatsClient.tsx":{"id":9922,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/progress/ProgressClient.tsx":{"id":77701,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/issues/IssuesBoardClient.tsx":{"id":99754,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/components/MarkdownRenderer.tsx":{"id":29487,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/link.js":{"id":67498,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/link.js":{"id":67498,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false}},"entryCSSFiles":{"/home/dx/Work/hex/dashboard/":[],"/home/dx/Work/hex/dashboard/app/layout":["static/css/1112cea2260b3926.css"],"/home/dx/Work/hex/dashboard/app/page":[],"/home/dx/Work/hex/dashboard/app/diagram/page":[]}}
@@ -1 +0,0 @@
1
- (()=>{var e={};e.id=256,e.ids=[256],e.modules={7849:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external")},2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},5403:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},4749:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},7561:e=>{"use strict";e.exports=require("node:fs")},9411:e=>{"use strict";e.exports=require("node:path")},1017:e=>{"use strict";e.exports=require("path")},7310:e=>{"use strict";e.exports=require("url")},9677:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>o.a,__next_app__:()=>u,originalPathname:()=>x,pages:()=>c,routeModule:()=>p,tree:()=>d}),r(7958),r(819),r(2874);var s=r(7105),a=r(5265),n=r(157),o=r.n(n),i=r(4665),l={};for(let e in i)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>i[e]);r.d(t,l);let d=["",{children:["flows",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,7958)),"/home/dx/Work/hex/dashboard/app/flows/page.tsx"]}]},{metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,2950))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(r.bind(r,819)),"/home/dx/Work/hex/dashboard/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,2874,23)),"next/dist/client/components/not-found-error"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,2950))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],c=["/home/dx/Work/hex/dashboard/app/flows/page.tsx"],x="/flows/page",u={require:r,loadChunk:()=>Promise.resolve()},p=new s.AppPageRouteModule({definition:{kind:a.x.APP_PAGE,page:"/flows/page",pathname:"/flows",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:d}})},6590:(e,t,r)=>{Promise.resolve().then(r.bind(r,7406))},7406:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var s=r(9899),a=r(5507),n=r(1891);function o(){let[e,t]=(0,a.useState)([]),[r,o]=(0,a.useState)(0),[i,l]=(0,a.useState)(null),[d,c]=(0,a.useState)(!0);return d?(0,s.jsxs)("div",{children:[s.jsx("h2",{className:"mb-sp-5 text-title font-semibold text-text-primary",children:"Flows"}),s.jsx("div",{className:"flex h-[600px] items-center justify-center rounded-md border border-border-default bg-surface-1",children:s.jsx(n.T,{label:"Loading flows..."})})]}):0===e.length?(0,s.jsxs)("div",{children:[s.jsx("h2",{className:"mb-sp-5 text-title font-semibold text-text-primary",children:"Flows"}),(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center rounded-md border border-dashed border-border-emphasis bg-surface-1 py-sp-8",children:[s.jsx("p",{className:"mb-2 text-heading font-medium text-text-primary",children:"Not Yet Generated"}),s.jsx("p",{className:"text-body text-text-tertiary",children:"Use the flows skill to generate flow diagrams"})]})]}):(0,s.jsxs)("div",{children:[s.jsx("h2",{className:"mb-sp-5 text-title font-semibold text-text-primary",children:"Flows"}),e.length>1&&s.jsx("div",{className:"mb-sp-4 inline-flex overflow-x-auto rounded-md bg-surface-3 p-1",children:e.map((e,t)=>s.jsx("button",{type:"button",onClick:()=>o(t),className:`whitespace-nowrap rounded-sm px-sp-3 py-1.5 text-body font-medium ${r===t?"bg-surface-2 text-text-primary shadow-sm":"text-text-secondary hover:text-text-primary"}`,children:e.name},e.filename))}),i?s.jsx(n.D,{syntax:i},e[r]?.filename):s.jsx("div",{className:"flex h-[600px] items-center justify-center rounded-md border border-border-default bg-surface-1",children:s.jsx(n.T,{label:"Loading flow diagram..."})})]})}},1891:(e,t,r)=>{"use strict";r.d(t,{D:()=>o,T:()=>n});var s=r(9899),a=r(5507);function n({label:e="loading..."}){return(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center gap-3 py-sp-8",children:[(0,s.jsxs)("svg",{className:"h-5 w-5 animate-spin text-accent",viewBox:"0 0 24 24",fill:"none",children:[s.jsx("circle",{className:"opacity-20",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"3"}),s.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),s.jsx("span",{className:"text-body text-text-secondary",children:e})]})}function o({syntax:e}){let t=(0,a.useRef)(null),r=(0,a.useRef)(null),[o,i]=(0,a.useState)(null),[l,d]=(0,a.useState)(!0),[c,x]=(0,a.useState)(1),[u,p]=(0,a.useState)({x:0,y:0}),[m,h]=(0,a.useState)(!1),f=(0,a.useRef)({x:0,y:0}),b=(0,a.useRef)({x:0,y:0}),y=(0,a.useMemo)(()=>(function(e){let t=e.split("\n"),r=[],s=[],a=[],n=!1;for(let e of t){if(n){e.startsWith("%%")&&s.push(e.replace(/^%%\s*/,""));continue}if(e.trim().startsWith("%% --- Legend")){n=!0;continue}e.startsWith("%%")&&0===a.length?r.push(e.replace(/^%%\s*/,"")):a.push(e)}return{overview:r.join(" ").trim(),legend:s.filter(e=>e.trim()).map(e=>e.trim()),syntax:a.join("\n")}})(e),[e]),g=(0,a.useCallback)(e=>{x(t=>Math.min(Math.max(.25,t+e),4))},[]),v=(0,a.useCallback)(()=>{x(1),p({x:0,y:0})},[]),j=(0,a.useCallback)(e=>{e.preventDefault(),g(e.deltaY>0?-.1:.1)},[g]),w=(0,a.useCallback)(e=>{0===e.button&&(h(!0),f.current={x:e.clientX,y:e.clientY},b.current={...u})},[u]),N=(0,a.useCallback)(e=>{m&&p({x:b.current.x+(e.clientX-f.current.x),y:b.current.y+(e.clientY-f.current.y)})},[m]),k=(0,a.useCallback)(()=>{h(!1)},[]);return o?s.jsx("div",{className:"flex h-[600px] items-center justify-center rounded-md border border-severity-critical/30 bg-severity-critical/5",children:(0,s.jsxs)("div",{className:"max-w-lg text-center",children:[s.jsx("p",{className:"mb-2 text-severity-critical",children:"Failed to render diagram"}),s.jsx("pre",{className:"whitespace-pre-wrap text-caption text-severity-critical/60",children:o})]})}):(0,s.jsxs)("div",{children:[y.overview&&s.jsx("p",{className:"mb-2 text-body text-text-secondary",children:y.overview}),(0,s.jsxs)("div",{className:"relative rounded-md border border-border-default bg-surface-1",children:[l&&s.jsx("div",{className:"absolute inset-0 z-20 flex items-center justify-center bg-surface-1",children:s.jsx(n,{label:"rendering diagram"})}),s.jsx("div",{ref:t,className:"h-[700px] overflow-hidden cursor-grab active:cursor-grabbing",onWheel:j,onMouseDown:w,onMouseMove:N,onMouseUp:k,onMouseLeave:k,children:s.jsx("div",{ref:r,className:"flex h-full w-full items-center justify-center p-sp-6",style:{transform:`translate(${u.x}px, ${u.y}px) scale(${c})`,transformOrigin:"center center",transition:m?"none":"transform 0.1s ease-out"}})}),(0,s.jsxs)("div",{className:"absolute bottom-3 right-3 z-10 flex items-center gap-1 rounded-md bg-surface-2 p-1 shadow-lg border border-border-default",children:[s.jsx("button",{type:"button",onClick:()=>g(.2),"aria-label":"Zoom in",className:"rounded px-3 py-1.5 text-body text-text-secondary hover:bg-surface-3 hover:text-text-primary",children:"+"}),s.jsx("button",{type:"button",onClick:()=>g(-.2),"aria-label":"Zoom out",className:"rounded px-3 py-1.5 text-body text-text-secondary hover:bg-surface-3 hover:text-text-primary",children:"−"}),s.jsx("button",{type:"button",onClick:v,"aria-label":"Reset zoom",className:"rounded px-3 py-1.5 text-body text-text-secondary hover:bg-surface-3 hover:text-text-primary",children:"⟳"}),(0,s.jsxs)("span",{className:"px-2 text-caption text-text-tertiary",children:[Math.round(100*c),"%"]})]}),y.legend.length>0&&s.jsx("div",{className:"absolute bottom-3 left-3 z-10 flex flex-wrap gap-x-3 gap-y-1 rounded-md bg-surface-2 px-3 py-2 text-caption font-mono text-text-tertiary border border-border-default",children:y.legend.map((e,t)=>s.jsx("span",{children:e},t))})]})]})}},7958:(e,t,r)=>{"use strict";r.r(t),r.d(t,{$$typeof:()=>o,__esModule:()=>n,default:()=>i});var s=r(2772);let a=(0,s.createProxy)(String.raw`/home/dx/Work/hex/dashboard/app/flows/page.tsx`),{__esModule:n,$$typeof:o}=a;a.default;let i=(0,s.createProxy)(String.raw`/home/dx/Work/hex/dashboard/app/flows/page.tsx#default`)},2950:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var s=r(1645);let a=e=>[{type:"image/svg+xml",sizes:"any",url:(0,s.fillMetadataSegment)(".",e.params,"icon.svg")+"?83fa4bf1ef0d214d"}]}};var t=require("../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[916,649,645,530],()=>r(9677));module.exports=s})();
@@ -1 +0,0 @@
1
- {"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../package.json","../../chunks/530.js","../../chunks/645.js","../../chunks/649.js","../../chunks/916.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -1 +0,0 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/flows/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"3443":{"*":{"id":"7406","name":"*","chunks":[],"async":false}},"4595":{"*":{"id":"1388","name":"*","chunks":[],"async":false}},"9922":{"*":{"id":"8033","name":"*","chunks":[],"async":false}},"11076":{"*":{"id":"9323","name":"*","chunks":[],"async":false}},"11447":{"*":{"id":"5915","name":"*","chunks":[],"async":false}},"13037":{"*":{"id":"226","name":"*","chunks":[],"async":false}},"15276":{"*":{"id":"820","name":"*","chunks":[],"async":false}},"25268":{"*":{"id":"3817","name":"*","chunks":[],"async":false}},"27542":{"*":{"id":"9555","name":"*","chunks":[],"async":false}},"29487":{"*":{"id":"6844","name":"*","chunks":[],"async":false}},"30274":{"*":{"id":"7918","name":"*","chunks":[],"async":false}},"37780":{"*":{"id":"8664","name":"*","chunks":[],"async":false}},"43297":{"*":{"id":"1611","name":"*","chunks":[],"async":false}},"56902":{"*":{"id":"2541","name":"*","chunks":[],"async":false}},"67498":{"*":{"id":"696","name":"*","chunks":[],"async":false}},"71520":{"*":{"id":"5707","name":"*","chunks":[],"async":false}},"72024":{"*":{"id":"2857","name":"*","chunks":[],"async":false}},"73719":{"*":{"id":"526","name":"*","chunks":[],"async":false}},"77701":{"*":{"id":"8530","name":"*","chunks":[],"async":false}},"89690":{"*":{"id":"2204","name":"*","chunks":[],"async":false}},"92198":{"*":{"id":"9915","name":"*","chunks":[],"async":false}},"93362":{"*":{"id":"5289","name":"*","chunks":[],"async":false}},"99754":{"*":{"id":"4790","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/dx/Work/hex/node_modules/next/dist/client/components/app-router.js":{"id":25268,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/app-router.js":{"id":25268,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/client-page.js":{"id":11076,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/client-page.js":{"id":11076,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/error-boundary.js":{"id":89690,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":89690,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/layout-router.js":{"id":15276,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/layout-router.js":{"id":15276,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/not-found-boundary.js":{"id":11447,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":11447,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/render-from-template-context.js":{"id":43297,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":43297,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/globals.css":{"id":13812,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/components/CommandPalette.tsx":{"id":92198,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/components/DashboardLayout.tsx":{"id":30274,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next-themes/dist/index.mjs":{"id":4595,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Manrope\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-sans\",\"display\":\"swap\"}],\"variableName\":\"manrope\"}":{"id":41600,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-mono\",\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":55256,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/app/diagram/page.tsx":{"id":73719,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/flows/page.tsx":{"id":3443,"name":"*","chunks":["6805","static/chunks/app/flows/page-7872dd9141ba0b07.js"],"async":false},"/home/dx/Work/hex/dashboard/app/calls/CallsClient.tsx":{"id":93362,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/changes/ChangesClient.tsx":{"id":71520,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/access/AccessClient.tsx":{"id":13037,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/notes/NotesClient.tsx":{"id":72024,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/conformance/ConformanceTable.tsx":{"id":27542,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/functions/FunctionsClient.tsx":{"id":37780,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/report/ReportClient.tsx":{"id":56902,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/stats/StatsClient.tsx":{"id":9922,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/progress/ProgressClient.tsx":{"id":77701,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/issues/IssuesBoardClient.tsx":{"id":99754,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/components/MarkdownRenderer.tsx":{"id":29487,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/link.js":{"id":67498,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/link.js":{"id":67498,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false}},"entryCSSFiles":{"/home/dx/Work/hex/dashboard/":[],"/home/dx/Work/hex/dashboard/app/layout":["static/css/1112cea2260b3926.css"],"/home/dx/Work/hex/dashboard/app/page":[],"/home/dx/Work/hex/dashboard/app/flows/page":[]}}
@@ -1 +0,0 @@
1
- (()=>{var e={};e.id=419,e.ids=[419],e.modules={7849:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external")},2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},5403:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},4749:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},7561:e=>{"use strict";e.exports=require("node:fs")},9411:e=>{"use strict";e.exports=require("node:path")},1017:e=>{"use strict";e.exports=require("path")},7310:e=>{"use strict";e.exports=require("url")},9880:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalError:()=>s.a,__next_app__:()=>x,originalPathname:()=>u,pages:()=>d,routeModule:()=>p,tree:()=>c}),n(3182),n(819),n(2874);var r=n(7105),a=n(5265),i=n(157),s=n.n(i),o=n(4665),l={};for(let e in o)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>o[e]);n.d(t,l);let c=["",{children:["functions",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(n.bind(n,3182)),"/home/dx/Work/hex/dashboard/app/functions/page.tsx"]}]},{metadata:{icon:[async e=>(await Promise.resolve().then(n.bind(n,2950))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(n.bind(n,819)),"/home/dx/Work/hex/dashboard/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(n.t.bind(n,2874,23)),"next/dist/client/components/not-found-error"],metadata:{icon:[async e=>(await Promise.resolve().then(n.bind(n,2950))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],d=["/home/dx/Work/hex/dashboard/app/functions/page.tsx"],u="/functions/page",x={require:n,loadChunk:()=>Promise.resolve()},p=new r.AppPageRouteModule({definition:{kind:a.x.APP_PAGE,page:"/functions/page",pathname:"/functions",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:c}})},1986:(e,t,n)=>{Promise.resolve().then(n.bind(n,8664))},8664:(e,t,n)=>{"use strict";n.d(t,{FunctionsClient:()=>d});var r=n(9899),a=n(983),i=n(366);let s={external:"bg-[var(--critical)]/15 text-[var(--critical)]",public:"bg-[var(--high)]/15 text-[var(--high)]",internal:"bg-[var(--low)]/15 text-[var(--low)]",private:"bg-[var(--neutral)]/15 text-[var(--neutral)]"};function o({visibility:e}){let t=s[e]??"bg-[var(--neutral)]/15 text-[var(--neutral)]";return r.jsx("span",{className:`inline-flex items-center rounded-sm px-2 py-0.5 text-caption font-medium ${t}`,children:e})}function l({items:e,color:t="default"}){if(0===e.length)return r.jsx("span",{className:"text-text-tertiary",children:"--"});let n="yellow"===t?"bg-[var(--medium)]/10 text-[var(--medium)]":"red"===t?"bg-[var(--critical)]/10 text-[var(--critical)]":"bg-surface-3 text-text-secondary";return r.jsx("div",{className:"flex flex-wrap gap-1",children:e.map(e=>r.jsx("span",{className:`inline-flex items-center rounded-sm px-1.5 py-0.5 font-mono text-caption ${n}`,children:e},e))})}let c=[{id:"contract",header:"Contract",accessorKey:"contract",enableColumnFilter:!0,cell:e=>(0,r.jsxs)("div",{children:[r.jsx("span",{className:"font-medium text-text-primary",children:e.contract}),e.inherited_from&&(0,r.jsxs)("span",{className:"ml-1.5 text-caption text-text-tertiary",children:["← ",e.inherited_from]})]})},{id:"name",header:"Function",accessorKey:"name",cell:e=>r.jsx("span",{className:"font-mono text-body text-text-secondary",children:e.name})},{id:"visibility",header:"Visibility",accessorKey:"visibility",enableColumnFilter:!0,cell:e=>r.jsx(o,{visibility:e.visibility})},{id:"state",header:"State",accessorKey:"state",enableColumnFilter:!0,cell:e=>{let t="writable"===e.state?"bg-[var(--high)]/15 text-[var(--high)]":"bg-[var(--low)]/15 text-[var(--low)]";return r.jsx("span",{className:`inline-flex items-center rounded-sm px-2 py-0.5 text-caption font-medium ${t}`,children:e.state})}},{id:"payable",header:"Payable",accessorKey:"payable",enableColumnFilter:!0,cell:e=>{let t="payable"===e.payable?"bg-[var(--success)]/15 text-[var(--success)]":"bg-[var(--neutral)]/15 text-[var(--neutral)]";return r.jsx("span",{className:`inline-flex items-center rounded-sm px-2 py-0.5 text-caption font-medium ${t}`,children:e.payable})}},{id:"modifiers",header:"Modifiers",accessorKey:"modifiers",cell:e=>r.jsx(l,{items:e.modifiers})},{id:"external_calls",header:"External Calls",accessorKey:"external_calls",cell:e=>r.jsx(l,{items:e.external_calls,color:"red"})},{id:"location",header:"Location",accessorKey:"evidence",cell:e=>r.jsx(i.i,{file:e.evidence.file,lineStart:e.evidence.line_start,lineEnd:e.evidence.line_end,snippet:e.evidence.snippet})}];function d({rows:e}){return r.jsx(a.v,{columns:c,data:e,defaultOpen:!0})}},3182:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x,dynamic:()=>u});var r=n(5023),a=n(1720),i=n(446),s=n(2772);let o=(0,s.createProxy)(String.raw`/home/dx/Work/hex/dashboard/app/functions/FunctionsClient.tsx`),{__esModule:l,$$typeof:c}=o;o.default;let d=(0,s.createProxy)(String.raw`/home/dx/Work/hex/dashboard/app/functions/FunctionsClient.tsx#FunctionsClient`),u="force-dynamic";function x(){let e=(0,a.gn)("access-control.json");if(!e)return(0,r.jsxs)("div",{children:[r.jsx("h2",{className:"mb-sp-5 text-title font-semibold text-text-primary",children:"Functions"}),r.jsx(i.v,{command:"hex access"})]});let t=function(e,t,n){let r=[];for(let a of e.functions){let e=[],i=[];if(n)for(let t of n.variables)t.contract===a.contract&&(t.readers?.some(e=>e.function===a.function)&&e.push(t.name),t.writers?.some(e=>e.function===a.function)&&i.push(t.name));let s=[];if(t)for(let e of t.calls)e.contract===a.contract&&e.function===a.function&&s.push(`${e.target}.${e.method}`);let o=a.state_mutability??"nonpayable",l="view"===o||"pure"===o,c="payable"===o;r.push({contract:a.contract,name:a.function,visibility:a.visibility,state_mutability:o,state:l?"read-only":"writable",payable:c?"payable":"non-payable",modifiers:a.modifiers,state_vars_read:e,state_vars_written:i,external_calls:s,evidence:a.evidence,inherited_from:a.inherited_from,inheritance_depth:a.inheritance_depth})}return r.sort((e,t)=>{let n=e.contract.localeCompare(t.contract);return 0!==n?n:(e.inheritance_depth??0)-(t.inheritance_depth??0)}),r}(e,(0,a.gn)("external-calls.json"),(0,a.gn)("state-vars.json"));return(0,r.jsxs)("div",{children:[r.jsx("h2",{className:"mb-sp-5 text-title font-semibold text-text-primary",children:"Functions"}),(0,r.jsxs)("p",{className:"mb-sp-4 text-body text-text-secondary",children:[t.length," function",1!==t.length?"s":""," across"," ",new Set(t.map(e=>e.contract)).size," contracts"]}),r.jsx(d,{rows:t})]})}}};var t=require("../../webpack-runtime.js");t.C(e);var n=e=>t(t.s=e),r=t.X(0,[916,649,645,665,530,939],()=>n(9880));module.exports=r})();
@@ -1 +0,0 @@
1
- {"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../package.json","../../chunks/530.js","../../chunks/645.js","../../chunks/649.js","../../chunks/665.js","../../chunks/916.js","../../chunks/939.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -1 +0,0 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/functions/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"3443":{"*":{"id":"7406","name":"*","chunks":[],"async":false}},"4595":{"*":{"id":"1388","name":"*","chunks":[],"async":false}},"9922":{"*":{"id":"8033","name":"*","chunks":[],"async":false}},"11076":{"*":{"id":"9323","name":"*","chunks":[],"async":false}},"11447":{"*":{"id":"5915","name":"*","chunks":[],"async":false}},"13037":{"*":{"id":"226","name":"*","chunks":[],"async":false}},"15276":{"*":{"id":"820","name":"*","chunks":[],"async":false}},"25268":{"*":{"id":"3817","name":"*","chunks":[],"async":false}},"27542":{"*":{"id":"9555","name":"*","chunks":[],"async":false}},"29487":{"*":{"id":"6844","name":"*","chunks":[],"async":false}},"30274":{"*":{"id":"7918","name":"*","chunks":[],"async":false}},"37780":{"*":{"id":"8664","name":"*","chunks":[],"async":false}},"43297":{"*":{"id":"1611","name":"*","chunks":[],"async":false}},"56902":{"*":{"id":"2541","name":"*","chunks":[],"async":false}},"67498":{"*":{"id":"696","name":"*","chunks":[],"async":false}},"71520":{"*":{"id":"5707","name":"*","chunks":[],"async":false}},"72024":{"*":{"id":"2857","name":"*","chunks":[],"async":false}},"73719":{"*":{"id":"526","name":"*","chunks":[],"async":false}},"77701":{"*":{"id":"8530","name":"*","chunks":[],"async":false}},"89690":{"*":{"id":"2204","name":"*","chunks":[],"async":false}},"92198":{"*":{"id":"9915","name":"*","chunks":[],"async":false}},"93362":{"*":{"id":"5289","name":"*","chunks":[],"async":false}},"99754":{"*":{"id":"4790","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/dx/Work/hex/node_modules/next/dist/client/components/app-router.js":{"id":25268,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/app-router.js":{"id":25268,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/client-page.js":{"id":11076,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/client-page.js":{"id":11076,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/error-boundary.js":{"id":89690,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":89690,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/layout-router.js":{"id":15276,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/layout-router.js":{"id":15276,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/not-found-boundary.js":{"id":11447,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":11447,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/render-from-template-context.js":{"id":43297,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":43297,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/globals.css":{"id":13812,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/components/CommandPalette.tsx":{"id":92198,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/components/DashboardLayout.tsx":{"id":30274,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next-themes/dist/index.mjs":{"id":4595,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Manrope\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-sans\",\"display\":\"swap\"}],\"variableName\":\"manrope\"}":{"id":41600,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-mono\",\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":55256,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/app/diagram/page.tsx":{"id":73719,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/flows/page.tsx":{"id":3443,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/calls/CallsClient.tsx":{"id":93362,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/changes/ChangesClient.tsx":{"id":71520,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/access/AccessClient.tsx":{"id":13037,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/notes/NotesClient.tsx":{"id":72024,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/conformance/ConformanceTable.tsx":{"id":27542,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/functions/FunctionsClient.tsx":{"id":37780,"name":"*","chunks":["8452","static/chunks/8452-6d77fa353402422c.js","8928","static/chunks/8928-fc049decdfbdaa6d.js","5419","static/chunks/app/functions/page-5847bcb77a8e7edf.js"],"async":false},"/home/dx/Work/hex/dashboard/app/report/ReportClient.tsx":{"id":56902,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/stats/StatsClient.tsx":{"id":9922,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/progress/ProgressClient.tsx":{"id":77701,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/issues/IssuesBoardClient.tsx":{"id":99754,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/components/MarkdownRenderer.tsx":{"id":29487,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/link.js":{"id":67498,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/link.js":{"id":67498,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false}},"entryCSSFiles":{"/home/dx/Work/hex/dashboard/":[],"/home/dx/Work/hex/dashboard/app/layout":["static/css/1112cea2260b3926.css"],"/home/dx/Work/hex/dashboard/app/page":[],"/home/dx/Work/hex/dashboard/app/functions/page":[]}}
@@ -1,22 +0,0 @@
1
- (()=>{var e={};e.id=151,e.ids=[151],e.modules={7849:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external")},2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},5403:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},4749:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},7561:e=>{"use strict";e.exports=require("node:fs")},9411:e=>{"use strict";e.exports=require("node:path")},7742:e=>{"use strict";e.exports=require("node:process")},1041:e=>{"use strict";e.exports=require("node:url")},1017:e=>{"use strict";e.exports=require("path")},7310:e=>{"use strict";e.exports=require("url")},482:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>o.a,__next_app__:()=>x,originalPathname:()=>u,pages:()=>l,routeModule:()=>p,tree:()=>d}),r(2124),r(819),r(2874);var s=r(7105),n=r(5265),a=r(157),o=r.n(a),i=r(4665),c={};for(let e in i)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(c[e]=()=>i[e]);r.d(t,c);let d=["",{children:["notes",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,2124)),"/home/dx/Work/hex/dashboard/app/notes/page.tsx"]}]},{metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,2950))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(r.bind(r,819)),"/home/dx/Work/hex/dashboard/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,2874,23)),"next/dist/client/components/not-found-error"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,2950))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],l=["/home/dx/Work/hex/dashboard/app/notes/page.tsx"],u="/notes/page",x={require:r,loadChunk:()=>Promise.resolve()},p=new s.AppPageRouteModule({definition:{kind:n.x.APP_PAGE,page:"/notes/page",pathname:"/notes",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:d}})},9520:(e,t,r)=>{Promise.resolve().then(r.bind(r,2857))},2857:(e,t,r)=>{"use strict";r.d(t,{NotesClient:()=>d});var s=r(9899),n=r(5507),a=r(6153),o=r(6844);let i="__other__",c="general";function d({general:e,contractNotes:t,contractOptions:r,activeContract:o,unprocessedCount:d}){let u=(0,a.useRouter)(),p=(0,n.useMemo)(()=>[{key:c,label:"General"},...t.map(e=>({key:e.contract,label:e.contract}))],[t]),m=o&&p.some(e=>e.key===o)?o:c,[h,f]=(0,n.useState)(m),b=t.find(e=>e.contract===h)??null,[y,g]=(0,n.useState)("idle"),[j,N]=(0,n.useState)(o??r[0]??i),[v,w]=(0,n.useState)(""),[k,C]=(0,n.useState)(0),[S,_]=(0,n.useState)(null),q=(0,n.useRef)(null),P=(0,n.useRef)([]),$=(0,n.useRef)(null),R=(0,n.useRef)(null),T=(j===i?v:j).trim(),A=(0,n.useCallback)(async()=>{g("transcribing"),_("Transcribing locally…");try{let e=new Blob(P.current,{type:"audio/webm"}),t=new FormData;t.append("audio",e,"narration.webm"),t.append("contract",T||"general");let r=await fetch("/api/notes/record",{method:"POST",body:t}),s=await r.json().catch(()=>({}));422===r.status&&s.whisperMissing?_(`Audio saved (${s.audioSaved}) but no local Whisper engine is installed. ${s.error}`):r.ok?(_(`Session saved for ${s.contract}. Run /diane in Claude Code to process it.`),u.refresh()):_(s.error??"Recording failed")}catch(e){_(e instanceof Error?e.message:"Recording failed")}finally{g("idle")}},[T,u]),O=(0,n.useCallback)(async()=>{_(null);try{let e=await navigator.mediaDevices.getUserMedia({audio:!0});$.current=e,P.current=[];let t=new MediaRecorder(e);t.ondataavailable=e=>{e.data.size>0&&P.current.push(e.data)},t.onstop=()=>{$.current?.getTracks().forEach(e=>e.stop()),R.current&&clearInterval(R.current),A()},q.current=t,t.start(),C(0),R.current=setInterval(()=>C(e=>e+1),1e3),g("recording")}catch{_("Could not access the microphone. Grant permission and try again.")}},[A]),E=(0,n.useCallback)(()=>{q.current?.stop()},[]),M="idle"===y&&T.length>0;return(0,s.jsxs)("div",{className:"space-y-sp-5",children:[(0,s.jsxs)("div",{className:"rounded-lg border border-border-subtle bg-surface-1 p-4",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[s.jsx("span",{className:"text-heading font-medium text-text-primary",children:"Record narration"}),(0,s.jsxs)("select",{value:j,onChange:e=>N(e.target.value),disabled:"idle"!==y,className:"rounded-md border border-border-default bg-surface-2 px-3 py-1.5 text-body text-text-primary focus:outline-none focus:ring-2 focus:ring-accent disabled:opacity-50",children:[r.map(e=>s.jsx("option",{value:e,children:e},e)),s.jsx("option",{value:i,children:"Other…"})]}),j===i&&s.jsx("input",{type:"text",placeholder:"Contract name",value:v,onChange:e=>w(e.target.value),disabled:"idle"!==y,className:"rounded-md border border-border-default bg-surface-2 px-3 py-1.5 text-body text-text-primary focus:outline-none focus:ring-2 focus:ring-accent disabled:opacity-50"}),"recording"===y?(0,s.jsxs)("button",{type:"button",onClick:E,className:"flex items-center gap-2 rounded-md bg-severity-critical px-3 py-1.5 text-body font-medium text-surface-0",children:[s.jsx("span",{className:"h-2.5 w-2.5 rounded-sm bg-surface-0"}),"Stop \xb7 ",`${Math.floor(k/60)}:${String(k%60).padStart(2,"0")}`]}):(0,s.jsxs)("button",{type:"button",onClick:O,disabled:!M,className:"flex items-center gap-2 rounded-md bg-accent px-3 py-1.5 text-body font-medium text-surface-0 transition-opacity duration-200 hover:opacity-90 disabled:opacity-40",children:[s.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-surface-0"}),"transcribing"===y?"Transcribing…":"Record"]})]}),S&&s.jsx("p",{className:"mt-3 text-caption text-text-secondary",children:S}),d>0&&(0,s.jsxs)("p",{className:"mt-2 text-caption text-accent",children:[d," narration session",d>1?"s":""," waiting — run"," ",s.jsx("code",{className:"font-mono",children:"/diane"})," in Claude Code to process."]})]}),(0,s.jsxs)("div",{className:"flex gap-sp-5",children:[s.jsx("nav",{className:"w-44 shrink-0 space-y-0.5",children:p.map(e=>s.jsx("button",{type:"button",onClick:()=>f(e.key),className:`block w-full truncate rounded-md px-3 py-1.5 text-left text-body transition-colors duration-200 ${e.key===h?"bg-accent-subtle font-medium text-accent":"text-text-secondary hover:bg-surface-2 hover:text-text-primary"}`,children:e.label},e.key))}),s.jsx("div",{className:"min-w-0 flex-1",children:h===c?s.jsx(l,{body:e}):s.jsx(x,{note:b,contract:h,onMutate:()=>u.refresh()})})]})]})}function l({body:e}){return(0,s.jsxs)("div",{className:"rounded-lg border border-border-subtle bg-surface-1 p-5",children:[s.jsx("div",{className:"mb-3 text-heading font-medium text-text-primary",children:"General"}),e.trim()?s.jsx(o.MarkdownRenderer,{content:e}):(0,s.jsxs)("p",{className:"text-body text-text-tertiary",children:["No protocol-wide notes yet. Record a narration above against"," ",s.jsx("span",{className:"font-medium",children:"Other…"})," as ",s.jsx("code",{className:"font-mono",children:"general"})," and run ",s.jsx("code",{className:"font-mono",children:"/diane"}),"."]})]})}let u=[{id:"leads",label:"Leads"},{id:"description",label:"Description"},{id:"questions",label:"Questions"}];function x({note:e,contract:t,onMutate:r}){let[a,o]=(0,n.useState)(!1),i=(0,n.useCallback)(async(e,t)=>{o(!0);try{let s=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok)throw Error((await s.json().catch(()=>({}))).error??"request failed");r()}catch{}finally{o(!1)}},[r]),c=!e||0===e.leads.length&&0===e.questions.length&&0===e.description.purpose.length&&0===e.description.inheritance.length&&0===e.description.storage.length&&0===e.description.roles.length&&0===e.description.functions.length;return(0,s.jsxs)("div",{className:"rounded-lg border border-border-subtle bg-surface-1 p-5",children:[(0,s.jsxs)("div",{className:"mb-4 flex flex-wrap items-center justify-between gap-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[s.jsx("span",{className:"text-heading font-medium text-text-primary",children:t}),e?.file&&s.jsx("span",{className:"font-mono text-caption text-text-tertiary",children:e.file})]}),(0,s.jsxs)("label",{className:"flex cursor-pointer items-center gap-2 text-caption text-text-secondary",children:[s.jsx("input",{type:"checkbox",checked:!!e?.marked_done,disabled:a||!e,onChange:e=>i("/api/notes/done",{contract:t,done:e.target.checked}),className:"h-4 w-4 rounded border-border-emphasis bg-surface-1 accent-[var(--accent)]"}),"Mark done reading"]})]}),c?(0,s.jsxs)("p",{className:"text-body text-text-tertiary",children:["No notes yet — record a narration above and run ",s.jsx("code",{className:"font-mono",children:"/diane"}),"."]}):(0,s.jsxs)(s.Fragment,{children:[s.jsx("nav",{className:"mb-5 flex flex-wrap items-center gap-1 border-b border-border-subtle pb-3 text-caption",children:u.map(e=>s.jsx("button",{type:"button",onClick:()=>{var t;return t=e.id,void document.getElementById(`note-${t}`)?.scrollIntoView({behavior:"smooth",block:"start"})},className:"rounded-md px-2 py-1 text-text-secondary transition-colors duration-200 hover:bg-surface-2 hover:text-text-primary",children:e.label},e.id))}),(0,s.jsxs)("div",{className:"space-y-6",children:[s.jsx(p,{leads:e.leads,contract:t,busy:a,post:i}),s.jsx(h,{note:e}),s.jsx(b,{questions:e.questions,contract:t,busy:a,post:i})]})]})]})}function p({leads:e,contract:t,busy:r,post:a}){let i=e.filter(e=>"open"===e.status),c=e.filter(e=>"open"!==e.status),[d,l]=(0,n.useState)(!1);return(0,s.jsxs)("section",{id:"note-leads",children:[s.jsx("h3",{className:"mb-2 text-heading font-medium text-text-primary",children:"Leads"}),0===i.length?s.jsx("p",{className:"text-body text-text-tertiary",children:"No open leads."}):s.jsx("ul",{className:"space-y-2",children:i.map(e=>(0,s.jsxs)("li",{className:"flex items-start justify-between gap-3 rounded-md border border-border-subtle bg-surface-2 px-3 py-2",children:[(0,s.jsxs)("span",{className:"min-w-0 flex-1 text-body text-text-primary",children:["ai-audit"===e.source&&s.jsx("span",{className:"mr-2 rounded-md bg-surface-3 px-1.5 py-0.5 text-caption text-text-tertiary",children:"AI audit"}),s.jsx(o.T,{children:e.text})]}),s.jsx("button",{type:"button",disabled:r,onClick:()=>a("/api/notes/lead",{contract:t,id:e.id,action:"close",status:"dismissed"}),className:"shrink-0 rounded-md border border-border-default px-2.5 py-1 text-caption text-text-secondary transition-colors duration-200 hover:bg-surface-3 hover:text-text-primary disabled:opacity-50",children:"Close"})]},e.id))}),c.length>0&&(0,s.jsxs)("div",{className:"mt-3",children:[(0,s.jsxs)("button",{type:"button",onClick:()=>l(e=>!e),className:"flex items-center gap-1.5 text-caption text-text-tertiary transition-colors duration-200 hover:text-text-secondary",children:[s.jsx("svg",{className:`h-3.5 w-3.5 transition-transform duration-200 ${d?"rotate-90":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 5 7 7-7 7"})}),"Closed (",c.length,")"]}),d&&s.jsx("ul",{className:"mt-2 space-y-1.5",children:c.map(e=>(0,s.jsxs)("li",{className:"flex items-start justify-between gap-3 rounded-md px-3 py-1.5",children:[(0,s.jsxs)("span",{className:"min-w-0 flex-1 text-caption text-text-tertiary",children:[s.jsx("span",{className:"line-through",children:s.jsx(o.T,{children:e.text})}),"logged"===e.status&&e.ref&&(0,s.jsxs)("span",{className:"ml-2 font-mono text-text-secondary",children:["→ ",e.ref]}),"dismissed"===e.status&&s.jsx("span",{className:"ml-2 text-text-tertiary",children:"dismissed"})]}),s.jsx("button",{type:"button",disabled:r,onClick:()=>a("/api/notes/lead",{contract:t,id:e.id,action:"reopen"}),className:"shrink-0 rounded-md px-2 py-0.5 text-caption text-text-secondary transition-colors duration-200 hover:text-accent disabled:opacity-50",children:"Reopen"})]},e.id))})]})]})}function m({label:e,items:t}){return 0===t.length?null:(0,s.jsxs)("div",{children:[s.jsx("h4",{className:"mb-1 text-body font-medium text-text-secondary",children:e}),s.jsx("ul",{className:"list-disc space-y-0.5 pl-5 text-body text-text-primary",children:t.map((e,t)=>s.jsx("li",{children:s.jsx(o.T,{children:e})},t))})]})}function h({note:e}){let{purpose:t,inheritance:r,storage:n,roles:a,functions:o}=e.description,i=t.length>0||r.length>0||n.length>0||a.length>0||o.length>0;return(0,s.jsxs)("section",{id:"note-description",children:[s.jsx("h3",{className:"mb-3 text-heading font-medium text-text-primary",children:"Description"}),i?(0,s.jsxs)("div",{className:"space-y-4",children:[s.jsx(m,{label:"Purpose",items:t}),s.jsx(m,{label:"Inheritance",items:r}),s.jsx(m,{label:"Storage",items:n}),s.jsx(m,{label:"Roles & modifiers",items:a}),o.length>0&&(0,s.jsxs)("div",{children:[s.jsx("h4",{className:"mb-1.5 text-body font-medium text-text-secondary",children:"Functions"}),s.jsx("div",{className:"space-y-1.5",children:o.map(e=>s.jsx(f,{fn:e},e.id))})]})]}):s.jsx("p",{className:"text-body text-text-tertiary",children:"No description recorded yet."})]})}function f({fn:e}){let[t,r]=(0,n.useState)(!1),a=[["Purpose",e.purpose],["Access",e.access],["Effects",e.effects]];return(0,s.jsxs)("div",{className:"rounded-md border border-border-subtle",children:[(0,s.jsxs)("button",{type:"button",onClick:()=>r(e=>!e),className:"flex w-full items-center gap-2 rounded-md bg-surface-2 px-3 py-2 text-left transition-colors duration-200 hover:bg-surface-3",children:[s.jsx("svg",{className:`h-4 w-4 shrink-0 text-text-tertiary transition-transform duration-200 ${t?"rotate-90":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 5 7 7-7 7"})}),s.jsx("span",{className:"min-w-0 truncate font-mono text-body text-text-primary",children:e.sig}),e.warnings.length>0&&(0,s.jsxs)("span",{className:"ml-auto shrink-0 text-caption text-[var(--high)]",children:["⚠ ",e.warnings.length]})]}),t&&(0,s.jsxs)("div",{className:"space-y-2 px-3 py-2.5",children:[a.filter(([,e])=>e&&e.trim()).map(([e,t])=>(0,s.jsxs)("p",{className:"text-body text-text-primary",children:[(0,s.jsxs)("span",{className:"text-text-secondary",children:[e,": "]}),s.jsx(o.T,{children:t})]},e)),e.notes.length>0&&s.jsx("ul",{className:"list-disc space-y-0.5 pl-5 text-body text-text-primary",children:e.notes.map((e,t)=>s.jsx("li",{children:s.jsx(o.T,{children:e})},t))}),e.warnings.length>0&&s.jsx("ul",{className:"space-y-1",children:e.warnings.map((e,t)=>(0,s.jsxs)("li",{className:"flex items-start gap-1.5 rounded-md bg-[var(--high)]/10 px-2 py-1 text-body text-[var(--high)]",children:[s.jsx("span",{"aria-hidden":!0,children:"⚠"}),s.jsx("span",{className:"min-w-0 flex-1",children:s.jsx(o.T,{children:e})})]},t))})]})]})}function b({questions:e,contract:t,busy:r,post:n}){return(0,s.jsxs)("section",{id:"note-questions",children:[s.jsx("h3",{className:"mb-2 text-heading font-medium text-text-primary",children:"Questions"}),0===e.length?s.jsx("p",{className:"text-body text-text-tertiary",children:"No questions recorded yet."}):s.jsx("div",{className:"space-y-1.5",children:e.map(e=>s.jsx(y,{question:e,contract:t,busy:r,post:n},e.id))})]})}function y({question:e,contract:t,busy:r,post:a}){let i=!!(e.answer&&e.answer.trim()),[c,d]=(0,n.useState)(!1),[l,u]=(0,n.useState)(!1),[x,p]=(0,n.useState)(e.answer??"");return(0,s.jsxs)("div",{className:"rounded-md border border-border-subtle",children:[(0,s.jsxs)("button",{type:"button",onClick:()=>d(e=>!e),className:"flex w-full items-center gap-2 rounded-md bg-surface-2 px-3 py-2 text-left transition-colors duration-200 hover:bg-surface-3",children:[s.jsx("svg",{className:`h-4 w-4 shrink-0 text-text-tertiary transition-transform duration-200 ${c?"rotate-90":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 5 7 7-7 7"})}),s.jsx("span",{className:`min-w-0 flex-1 text-body ${i?"text-text-primary":"text-text-tertiary"}`,children:s.jsx(o.T,{children:e.q})}),!i&&s.jsx("span",{className:"shrink-0 text-caption text-text-tertiary",children:"open"})]}),c&&s.jsx("div",{className:"space-y-2 px-3 py-2.5",children:l?(0,s.jsxs)("div",{className:"space-y-2",children:[s.jsx("textarea",{value:x,onChange:e=>p(e.target.value),rows:3,className:"w-full resize-y rounded-md border border-border-default bg-surface-0 p-2 text-body text-text-primary focus:outline-none focus:ring-2 focus:ring-accent"}),(0,s.jsxs)("div",{className:"flex gap-2",children:[s.jsx("button",{type:"button",onClick:()=>{u(!1),p(e.answer??"")},className:"rounded-md px-2.5 py-1 text-caption text-text-secondary transition-colors duration-200 hover:text-text-primary",children:"Cancel"}),s.jsx("button",{type:"button",disabled:r||!x.trim(),onClick:async()=>{await a("/api/notes/question",{contract:t,id:e.id,answer:x.trim()}),u(!1)},className:"rounded-md bg-accent px-2.5 py-1 text-caption font-medium text-surface-0 transition-opacity duration-200 hover:opacity-90 disabled:opacity-50",children:"Save answer"})]})]}):(0,s.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[s.jsx("p",{className:`min-w-0 flex-1 text-body ${i?"text-text-primary":"text-text-tertiary"}`,children:i?s.jsx(o.T,{children:e.answer}):"— open"}),s.jsx("button",{type:"button",onClick:()=>u(!0),className:"shrink-0 rounded-md border border-border-default px-2.5 py-1 text-caption text-text-secondary transition-colors duration-200 hover:bg-surface-3 hover:text-text-primary",children:i?"Edit":"Answer"})]})})]})}},6844:(e,t,r)=>{"use strict";r.d(t,{MarkdownRenderer:()=>o,T:()=>i});var s=r(9899),n=r(5684),a=r(3798);function o({content:e,className:t}){return s.jsx("div",{className:`prose max-w-none
2
- prose-headings:text-text-primary
3
- prose-p:text-text-secondary
4
- prose-strong:text-text-primary
5
- prose-code:text-accent
6
- prose-code:before:content-none
7
- prose-code:after:content-none
8
- prose-pre:bg-surface-0
9
- prose-pre:border
10
- prose-pre:border-border-default
11
- prose-a:text-accent
12
- prose-a:no-underline
13
- hover:prose-a:underline
14
- prose-th:text-text-primary
15
- prose-td:text-text-secondary
16
- prose-hr:border-border-default
17
- prose-blockquote:border-border-emphasis
18
- prose-blockquote:text-text-secondary
19
- prose-li:text-text-secondary
20
- ${t??""}`,children:s.jsx(n.UG,{remarkPlugins:[a.Z],children:e})})}function i({children:e}){return s.jsx(n.UG,{remarkPlugins:[a.Z],components:{p:({children:e})=>s.jsx(s.Fragment,{children:e}),code:({children:e})=>s.jsx("code",{className:"rounded bg-surface-0 px-1 py-0.5 font-mono text-[0.85em] text-accent",children:e}),strong:({children:e})=>s.jsx("strong",{className:"font-semibold text-text-primary",children:e}),a:({href:e,children:t})=>s.jsx("a",{href:e,target:"_blank",rel:"noreferrer",className:"text-accent hover:underline",children:t})},children:e})}},2124:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>x,dynamic:()=>u});var s=r(5023),n=r(1720),a=r(5568),o=r(2772);let i=(0,o.createProxy)(String.raw`/home/dx/Work/hex/dashboard/app/notes/NotesClient.tsx`),{__esModule:c,$$typeof:d}=i;i.default;let l=(0,o.createProxy)(String.raw`/home/dx/Work/hex/dashboard/app/notes/NotesClient.tsx#NotesClient`),u="force-dynamic";function x(){let e=(0,n.ZN)(),t=(0,a.sC)(e),r=(0,a.PB)(e,"general"),o=(0,n.gn)("stats.json"),i=Array.from(new Set([...(o?.per_contract??[]).filter(e=>"contract"===e.type).map(e=>e.contract),...t.contracts])).sort(),c=t.contracts.map(t=>(0,a.pV)(e,t)),d=t.sessions.filter(e=>!e.processed).length;return(0,s.jsxs)("div",{children:[s.jsx("h2",{className:"mb-sp-5 text-title font-semibold text-text-primary",children:"Notes"}),s.jsx(l,{general:r,contractNotes:c,contractOptions:i,activeContract:t.active_contract,unprocessedCount:d})]})}},5568:(e,t,r)=>{"use strict";r.d(t,{BW:()=>b,PB:()=>f,Tl:()=>_,U6:()=>C,ed:()=>y,mQ:()=>S,pV:()=>v,sC:()=>p,wL:()=>k,yQ:()=>q});var s=r(7561),n=r.n(s),a=r(9411),o=r.n(a);let i={active_contract:null,contracts:[],sessions:[]};function c(e){return o().join(e,"notes")}function d(e){return e.replace(/[/\\:*?"<>|]/g,"_").trim()}function l(e,t){return"general"===t?o().join(c(e),"general.md"):o().join(c(e),"contracts",d(t)+".md")}function u(e){try{return n().readFileSync(e,"utf-8")}catch{return null}}function x(e,t){let r=o().dirname(e);n().existsSync(r)||n().mkdirSync(r,{recursive:!0});let s=e+".tmp";n().writeFileSync(s,t,"utf-8"),n().renameSync(s,e)}function p(e){let t=u(o().join(c(e),"notes.json"));if(!t)return{...i};try{let e=JSON.parse(t);return{active_contract:e.active_contract??null,contracts:Array.isArray(e.contracts)?e.contracts:[],sessions:Array.isArray(e.sessions)?e.sessions:[]}}catch{return{...i}}}function m(e,t){x(o().join(c(e),"notes.json"),JSON.stringify(t,null,2)+"\n")}function h(e,t){"general"===t||e.contracts.includes(t)||e.contracts.push(t)}function f(e,t){return u(l(e,t))??""}function b(e,t,r){x(l(e,t),r.endsWith("\n")?r:r+"\n");let s=p(e);h(s,t),m(e,s)}function y(e,t){let r=o().join("sessions",`${t.ts}.md`),s=`# Narration — ${t.contract} — ${t.ts}
21
-
22
- `;return x(o().join(c(e),r),s+t.transcript.trim()+"\n"),function(e,t){let r=p(e),s={file:t.file,contract:t.contract,ts:t.ts,processed:!1,...t.audio?{audio:t.audio}:{}};return r.sessions.push(s),r.active_contract=t.contract,h(r,t.contract),m(e,r),s}(e,{file:r,contract:t.contract,ts:t.ts,audio:t.audio})}function g(e,t){return o().join(c(e),"contracts",d(t)+".json")}function j(e){return{contract:e,marked_done:!1,description:{purpose:[],inheritance:[],storage:[],roles:[],functions:[]},questions:[],leads:[],updated_at:new Date().toISOString()}}function N(e){return Array.isArray(e)?e:[]}function v(e,t){let r=u(g(e,t));if(!r)return j(t);try{let e=JSON.parse(r),s=e.description??{};return{contract:e.contract??t,file:e.file,marked_done:!!e.marked_done,description:{purpose:N(s.purpose),inheritance:N(s.inheritance),storage:N(s.storage),roles:N(s.roles),functions:N(s.functions).map(e=>{var t;return{id:e.id??((((t=e.sig??"").split("(")[0]??t).trim()||t).replace(/[^\w]+/g,"_")||"fn"),sig:e.sig??"",purpose:e.purpose,access:e.access,effects:e.effects,notes:N(e.notes),warnings:N(e.warnings)}})},questions:N(e.questions),leads:N(e.leads),updated_at:e.updated_at??new Date().toISOString()}}catch{return j(t)}}function w(e,t,r){let s={...r,contract:t,updated_at:new Date().toISOString()};x(g(e,t),JSON.stringify(s,null,2)+"\n");let n=p(e);h(n,t),m(e,n)}function k(e,t,r){let s=v(e,t);return s.marked_done=r,w(e,t,s),s}function C(e,t,r,s,n){let a=v(e,t),o=a.leads.find(e=>e.id===r);if(!o)throw Error(`No lead ${r} on ${t}`);return o.status=s,n&&(o.ref=n),w(e,t,a),a}function S(e,t,r){let s=v(e,t),n=s.leads.find(e=>e.id===r);if(!n)throw Error(`No lead ${r} on ${t}`);return n.status="open",delete n.ref,w(e,t,s),s}function _(e,t,r,s){let n=v(e,t),a=n.questions.find(e=>e.id===r);if(!a)throw Error(`No question ${r} on ${t}`);return a.answer=s,w(e,t,n),n}function q(e){let t=e.leads.filter(e=>"open"===e.status).length,r=e.questions.filter(e=>!e.answer||!e.answer.trim()).length;return{openLeads:t,unansweredQuestions:r,reviewed:e.marked_done&&0===t&&0===r}}},2950:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var s=r(1645);let n=e=>[{type:"image/svg+xml",sizes:"any",url:(0,s.fillMetadataSegment)(".",e.params,"icon.svg")+"?83fa4bf1ef0d214d"}]}};var t=require("../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[916,649,645,494,530],()=>r(482));module.exports=s})();
@@ -1 +0,0 @@
1
- {"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../package.json","../../chunks/494.js","../../chunks/530.js","../../chunks/645.js","../../chunks/649.js","../../chunks/916.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -1 +0,0 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/notes/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"3443":{"*":{"id":"7406","name":"*","chunks":[],"async":false}},"4595":{"*":{"id":"1388","name":"*","chunks":[],"async":false}},"9922":{"*":{"id":"8033","name":"*","chunks":[],"async":false}},"11076":{"*":{"id":"9323","name":"*","chunks":[],"async":false}},"11447":{"*":{"id":"5915","name":"*","chunks":[],"async":false}},"13037":{"*":{"id":"226","name":"*","chunks":[],"async":false}},"15276":{"*":{"id":"820","name":"*","chunks":[],"async":false}},"25268":{"*":{"id":"3817","name":"*","chunks":[],"async":false}},"27542":{"*":{"id":"9555","name":"*","chunks":[],"async":false}},"29487":{"*":{"id":"6844","name":"*","chunks":[],"async":false}},"30274":{"*":{"id":"7918","name":"*","chunks":[],"async":false}},"37780":{"*":{"id":"8664","name":"*","chunks":[],"async":false}},"43297":{"*":{"id":"1611","name":"*","chunks":[],"async":false}},"56902":{"*":{"id":"2541","name":"*","chunks":[],"async":false}},"67498":{"*":{"id":"696","name":"*","chunks":[],"async":false}},"71520":{"*":{"id":"5707","name":"*","chunks":[],"async":false}},"72024":{"*":{"id":"2857","name":"*","chunks":[],"async":false}},"73719":{"*":{"id":"526","name":"*","chunks":[],"async":false}},"77701":{"*":{"id":"8530","name":"*","chunks":[],"async":false}},"89690":{"*":{"id":"2204","name":"*","chunks":[],"async":false}},"92198":{"*":{"id":"9915","name":"*","chunks":[],"async":false}},"93362":{"*":{"id":"5289","name":"*","chunks":[],"async":false}},"99754":{"*":{"id":"4790","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/dx/Work/hex/node_modules/next/dist/client/components/app-router.js":{"id":25268,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/app-router.js":{"id":25268,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/client-page.js":{"id":11076,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/client-page.js":{"id":11076,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/error-boundary.js":{"id":89690,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":89690,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/layout-router.js":{"id":15276,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/layout-router.js":{"id":15276,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/not-found-boundary.js":{"id":11447,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":11447,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/render-from-template-context.js":{"id":43297,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":43297,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/globals.css":{"id":13812,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/components/CommandPalette.tsx":{"id":92198,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/components/DashboardLayout.tsx":{"id":30274,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next-themes/dist/index.mjs":{"id":4595,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Manrope\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-sans\",\"display\":\"swap\"}],\"variableName\":\"manrope\"}":{"id":41600,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-mono\",\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":55256,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/app/diagram/page.tsx":{"id":73719,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/flows/page.tsx":{"id":3443,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/calls/CallsClient.tsx":{"id":93362,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/changes/ChangesClient.tsx":{"id":71520,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/access/AccessClient.tsx":{"id":13037,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/notes/NotesClient.tsx":{"id":72024,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","9151","static/chunks/app/notes/page-8bcaa52304500098.js"],"async":false},"/home/dx/Work/hex/dashboard/app/conformance/ConformanceTable.tsx":{"id":27542,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/functions/FunctionsClient.tsx":{"id":37780,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/report/ReportClient.tsx":{"id":56902,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/stats/StatsClient.tsx":{"id":9922,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/progress/ProgressClient.tsx":{"id":77701,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/issues/IssuesBoardClient.tsx":{"id":99754,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/components/MarkdownRenderer.tsx":{"id":29487,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/link.js":{"id":67498,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/link.js":{"id":67498,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false}},"entryCSSFiles":{"/home/dx/Work/hex/dashboard/":[],"/home/dx/Work/hex/dashboard/app/layout":["static/css/1112cea2260b3926.css"],"/home/dx/Work/hex/dashboard/app/page":[],"/home/dx/Work/hex/dashboard/app/notes/page":[]}}
@@ -1 +0,0 @@
1
- (()=>{var e={};e.id=92,e.ids=[92],e.modules={7849:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external")},2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},5403:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},4749:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},7561:e=>{"use strict";e.exports=require("node:fs")},9411:e=>{"use strict";e.exports=require("node:path")},1017:e=>{"use strict";e.exports=require("path")},7310:e=>{"use strict";e.exports=require("url")},6580:(e,t,s)=>{"use strict";s.r(t),s.d(t,{GlobalError:()=>n.a,__next_app__:()=>p,originalPathname:()=>x,pages:()=>c,routeModule:()=>m,tree:()=>o}),s(1527),s(819),s(2874);var r=s(7105),a=s(5265),i=s(157),n=s.n(i),l=s(4665),d={};for(let e in l)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(d[e]=()=>l[e]);s.d(t,d);let o=["",{children:["progress",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(s.bind(s,1527)),"/home/dx/Work/hex/dashboard/app/progress/page.tsx"]}]},{metadata:{icon:[async e=>(await Promise.resolve().then(s.bind(s,2950))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(s.bind(s,819)),"/home/dx/Work/hex/dashboard/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(s.t.bind(s,2874,23)),"next/dist/client/components/not-found-error"],metadata:{icon:[async e=>(await Promise.resolve().then(s.bind(s,2950))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],c=["/home/dx/Work/hex/dashboard/app/progress/page.tsx"],x="/progress/page",p={require:s,loadChunk:()=>Promise.resolve()},m=new r.AppPageRouteModule({definition:{kind:a.x.APP_PAGE,page:"/progress/page",pathname:"/progress",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:o}})},9353:(e,t,s)=>{Promise.resolve().then(s.bind(s,8530))},8530:(e,t,s)=>{"use strict";s.d(t,{ProgressClient:()=>x});var r=s(9899),a=s(5507);function i(e){return`${e.file}::${e.contract}`}function n(e){return e>=67?"text-[var(--success)]":e>=34?"text-[var(--medium)]":"text-[var(--critical)]"}let l={contract:0,abstract:1,library:2,interface:3},d={contract:"bg-[var(--low)]/15 text-[var(--low)]",interface:"bg-[var(--info)]/15 text-[var(--info)]",library:"bg-[var(--info)]/15 text-[var(--info)]",abstract:"bg-[var(--high)]/15 text-[var(--high)]"},o=["Critical","High","Medium","Low","Info","Gas"],c={Critical:"bg-[var(--critical)]/15 text-[var(--critical)]",High:"bg-[var(--high)]/15 text-[var(--high)]",Medium:"bg-[var(--medium)]/15 text-[var(--medium)]",Low:"bg-[var(--low)]/15 text-[var(--low)]",Info:"bg-[var(--info)]/15 text-[var(--info)]",Gas:"bg-surface-3 text-text-secondary"};function x({contracts:e,totalsNsloc:t,reviewedContracts:s,dianeReviewed:x,auditSteps:p,findingsTotal:m,findingsBySeverity:u,findingsTracked:h}){let[f,g]=(0,a.useState)(s),[v,b]=(0,a.useState)("all"),y=e=>!!f[e]||!!x[e],j=(0,a.useMemo)(()=>e.filter(e=>y(i(e))).reduce((e,t)=>e+t.nsloc,0),[e,f,x]),w=(0,a.useMemo)(()=>e.filter(e=>y(i(e))).length,[e,f,x]),N=t>0?j/t*100:0,C=p.filter(e=>e.completed).length/p.length*100,k=m>0?h/m*100:100,P=.7*N+.2*C+.1*k,S=(0,a.useMemo)(()=>{let t=[...e].sort((e,t)=>{let s=l[e.type]??99,r=l[t.type]??99;return s!==r?s-r:t.nsloc-e.nsloc});return"all"===v?t:t.filter(e=>{let t=y(i(e));return"checked"===v?t:!t})},[e,v,f,x]),_=(0,a.useMemo)(()=>Math.max(...e.map(e=>e.nsloc),1),[e]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"mb-sp-5 rounded-md border border-border-default bg-surface-2 p-sp-4",children:[(0,r.jsxs)("div",{className:"mb-2 flex items-baseline justify-between gap-sp-2",children:[(0,r.jsxs)("span",{className:`text-display font-semibold ${n(P)}`,children:[P.toFixed(0),"%"]}),(0,r.jsxs)("span",{className:"text-caption text-text-tertiary inline-flex items-center gap-1.5",title:"Overall progress is a weighted average: 70% nSLOC reviewed (contract review), 20% audit-step completion, 10% findings triage.","aria-label":"Overall progress formula: 70% contract review by nSLOC, 20% step completion, 10% findings triage",children:["Contract Review ",N.toFixed(0),"% \xb7 Steps ",C.toFixed(0),"% \xb7 Triage ",k.toFixed(0),"%",r.jsx("svg",{className:"h-3.5 w-3.5 text-text-tertiary","aria-hidden":"true",viewBox:"0 0 16 16",fill:"currentColor",children:r.jsx("path",{d:"M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM7.25 7.25a.75.75 0 0 1 1.5 0v3.5a.75.75 0 0 1-1.5 0v-3.5zM8 4.5a.875.875 0 1 1 0 1.75A.875.875 0 0 1 8 4.5z"})})]})]}),r.jsx("div",{className:"h-3 w-full overflow-hidden rounded-full bg-surface-3",children:r.jsx("div",{className:`h-full rounded-full transition-all duration-300 ${P>=67?"bg-[var(--success)]":P>=34?"bg-[var(--medium)]":"bg-[var(--critical)]"}`,style:{width:`${Math.min(P,100)}%`},role:"progressbar","aria-valuenow":Math.round(P),"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Overall audit progress"})}),r.jsx("p",{className:"mt-2 text-caption text-text-tertiary",children:"Weighted: 70% nSLOC reviewed \xb7 20% audit steps \xb7 10% findings triage. Hover the breakdown for details."})]}),(0,r.jsxs)("div",{className:"mb-sp-5 grid grid-cols-2 gap-sp-3 lg:grid-cols-4",children:[(0,r.jsxs)("div",{className:"rounded-md border border-border-default bg-surface-2 p-sp-4",children:[(0,r.jsxs)("div",{className:`text-display ${n(P)}`,children:[P.toFixed(0),"%"]}),r.jsx("div",{className:"mt-1 text-caption text-text-secondary",children:"Overall Progress"})]}),(0,r.jsxs)("div",{className:"rounded-md border border-border-default bg-surface-2 p-sp-4",children:[(0,r.jsxs)("div",{className:"text-display text-text-primary",children:[w," / ",e.length]}),r.jsx("div",{className:"mt-1 text-caption text-text-secondary",children:"Contracts Reviewed"})]}),(0,r.jsxs)("div",{className:"rounded-md border border-border-default bg-surface-2 p-sp-4",children:[(0,r.jsxs)("div",{className:"text-display text-text-primary",children:[j.toLocaleString()," / ",t.toLocaleString()]}),r.jsx("div",{className:"mt-1 text-caption text-text-secondary",children:"nSLOC Reviewed"})]}),(0,r.jsxs)("div",{className:"rounded-md border border-border-default bg-surface-2 p-sp-4",children:[r.jsx("div",{className:"text-display text-text-primary",children:m}),r.jsx("div",{className:"mt-1 text-caption text-text-secondary",children:"Findings"}),Object.keys(u).length>0&&r.jsx("div",{className:"mt-2 flex flex-wrap gap-1.5",children:o.filter(e=>u[e]).map(e=>(0,r.jsxs)("span",{className:`inline-flex items-center rounded-md px-2 py-0.5 text-caption font-medium ${c[e]??"bg-surface-3 text-text-secondary"}`,children:[u[e]," ",e]},e))})]})]}),(0,r.jsxs)("div",{className:"mb-sp-5",children:[r.jsx("h3",{className:"mb-sp-2 text-heading font-medium text-text-primary",children:"Audit Steps"}),r.jsx("div",{className:"flex flex-wrap gap-2",children:p.map(e=>(0,r.jsxs)("span",{className:`inline-flex items-center gap-1.5 rounded-full px-3 py-1 text-caption font-medium ${e.completed?"bg-[var(--success)]/15 text-[var(--success)]":"bg-surface-3 text-text-tertiary"}`,children:[e.completed?r.jsx("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 20 20",fill:"currentColor",children:r.jsx("path",{fillRule:"evenodd",d:"M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z",clipRule:"evenodd"})}):r.jsx("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 20 20",fill:"currentColor",children:r.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm.75-11.25a.75.75 0 0 0-1.5 0v2.5h-2.5a.75.75 0 0 0 0 1.5h2.5v2.5a.75.75 0 0 0 1.5 0v-2.5h2.5a.75.75 0 0 0 0-1.5h-2.5v-2.5Z",clipRule:"evenodd"})}),e.label]},e.label))})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"mb-sp-2 flex items-center justify-between",children:[r.jsx("h3",{className:"text-heading font-medium text-text-primary",children:"Contract Checklist"}),r.jsx("div",{className:"inline-flex rounded-md bg-surface-3 p-0.5",children:["all","unchecked","checked"].map(t=>r.jsx("button",{type:"button",onClick:()=>b(t),className:`rounded-sm px-2.5 py-1 text-caption font-medium ${v===t?"bg-surface-2 text-text-primary shadow-sm":"text-text-secondary hover:text-text-primary"}`,children:"all"===t?`All (${e.length})`:"checked"===t?`Reviewed (${w})`:`Remaining (${e.length-w})`},t))})]}),r.jsx("div",{className:"overflow-x-auto rounded-md border border-border-default",children:(0,r.jsxs)("table",{className:"w-full text-left text-body",children:[r.jsx("thead",{className:"border-b border-border-default bg-surface-2 text-caption font-medium uppercase tracking-wider text-text-tertiary",children:(0,r.jsxs)("tr",{children:[r.jsx("th",{className:"w-10 px-sp-3 py-sp-2"}),r.jsx("th",{className:"px-sp-4 py-sp-2",children:"Contract"}),r.jsx("th",{className:"px-sp-4 py-sp-2",children:"File"}),r.jsx("th",{className:"px-sp-4 py-sp-2",children:"Type"}),r.jsx("th",{className:"px-sp-4 py-sp-2 text-right",children:"nSLOC"}),r.jsx("th",{className:"w-32 px-sp-4 py-sp-2",children:"Weight"})]})}),r.jsx("tbody",{className:"divide-y divide-border-subtle",children:S.map(e=>{let t=i(e),s=!!f[t],a=!!x[t],n=s||a,l=a&&!s,o=e.nsloc/_*100;return(0,r.jsxs)("tr",{className:`h-9 transition-colors ${n?"bg-[var(--success)]/5":"bg-surface-1"} hover:bg-surface-3`,children:[r.jsx("td",{className:"px-sp-3 py-sp-2",children:r.jsx("button",{type:"button",onClick:()=>(function(e){let t=i(e),s=!f[t];g(e=>({...e,[t]:s})),fetch("/api/progress",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({reviewed_contracts:{[t]:s}})}).catch(()=>{})})(e),className:`flex h-5 w-5 items-center justify-center rounded border transition-colors ${n?"border-[var(--accent)] bg-[var(--accent)] text-surface-0":"border-border-emphasis bg-surface-1 hover:border-[var(--accent)]"}`,children:n&&r.jsx("svg",{className:"h-3 w-3",viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2,children:r.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.5 6l2.5 2.5 4.5-5"})})})}),r.jsx("td",{className:"px-sp-4 py-sp-2 font-medium text-text-primary",children:(0,r.jsxs)("span",{className:"inline-flex items-center gap-2",children:[e.contract,l&&r.jsx("span",{className:"inline-flex items-center rounded-md bg-accent-subtle px-1.5 py-0.5 text-caption font-medium text-accent",title:"Auto-reviewed from Diane notes: done + no open leads + no unanswered questions",children:"auto"})]})}),r.jsx("td",{className:"max-w-[200px] truncate px-sp-4 py-sp-2 font-mono text-caption text-text-tertiary",children:e.file}),r.jsx("td",{className:"px-sp-4 py-sp-2",children:r.jsx("span",{className:`inline-flex items-center rounded-sm px-2 py-0.5 text-caption font-medium ${d[e.type]??"bg-surface-3 text-text-secondary"}`,children:e.type})}),r.jsx("td",{className:"px-sp-4 py-sp-2 text-right font-mono tabular-nums text-text-secondary",children:e.nsloc}),r.jsx("td",{className:"px-sp-4 py-sp-2",children:r.jsx("div",{className:"h-1.5 w-full overflow-hidden rounded-full bg-surface-3",children:r.jsx("div",{className:"h-full rounded-full bg-[var(--accent)]",style:{width:`${o}%`}})})})]},t)})})]})})]})]})}},1527:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>m,dynamic:()=>x});var r=s(5023),a=s(1720),i=s(446),n=s(2772);let l=(0,n.createProxy)(String.raw`/home/dx/Work/hex/dashboard/app/progress/ProgressClient.tsx`),{__esModule:d,$$typeof:o}=l;l.default;let c=(0,n.createProxy)(String.raw`/home/dx/Work/hex/dashboard/app/progress/ProgressClient.tsx#ProgressClient`),x="force-dynamic",p=[{label:"Stats",file:"stats.json"},{label:"Dependencies",file:"deps.json"},{label:"Access Control",file:"access-control.json"},{label:"State Analysis",file:"state-vars.json"},{label:"External Calls",file:"external-calls.json"},{label:"Overview",file:"overview.md"},{label:"Diagram",file:"diagrams/diagram.mmd"},{label:"Spec Conformance",file:"spec-conformance.json"},{label:"Findings",file:"findings.json"}];function m(){let e=(0,a.gn)("stats.json");if(!e)return(0,r.jsxs)("div",{children:[r.jsx("h2",{className:"mb-sp-5 text-title font-semibold text-text-primary",children:"Progress"}),r.jsx(i.v,{command:"hex stats"})]});let t=(0,a.gn)("progress.json"),s=(0,a.gn)("findings.json"),n=(0,a.gn)("tracking.json"),l=p.map(e=>({label:e.label,completed:(0,a.ki)(e.file)})),d=new Set,o=new Set,x={};for(let e of s?.findings??[])d.add(e.id),x[e.severity]=(x[e.severity]??0)+1;for(let e of n?.issues??n?.findings??[]){let t=e.finding_id??e.id;"rejected"===e.status||"duplicate"===e.status||d.has(t)||d.has(e.id)||(d.add(t),e.severity&&(x[e.severity]=(x[e.severity]??0)+1)),"verified"===e.status&&o.add(t)}return(0,r.jsxs)("div",{children:[r.jsx("h2",{className:"mb-sp-5 text-title font-semibold text-text-primary",children:"Progress"}),r.jsx(c,{contracts:e.per_contract,totalsNsloc:e.per_contract.reduce((e,t)=>e+t.nsloc,0),reviewedContracts:t?.reviewed_contracts??{},dianeReviewed:t?.diane_reviewed??{},auditSteps:l,findingsTotal:d.size,findingsBySeverity:x,findingsTracked:o.size})]})}},446:(e,t,s)=>{"use strict";s.d(t,{v:()=>a});var r=s(5023);function a({command:e}){return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center border border-dashed border-border-default bg-surface-1 px-sp-5 py-sp-8 text-center",style:{borderRadius:"var(--radius-sm)"},children:[r.jsx("svg",{className:"mb-4 h-12 w-12 text-text-tertiary",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:r.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m6.75 12H9.75m3 0H9.75m0 0v3m-3-6h1.5m-1.5 0v3m6-6h.008v.008H15V9.75Z"})}),r.jsx("h3",{className:"mb-2 text-heading font-medium text-text-primary",children:"Data not yet generated"}),r.jsx("p",{className:"mb-4 text-body text-text-secondary",children:"Run the following command to generate this data:"}),r.jsx("code",{className:"border border-border-default bg-surface-0 px-sp-4 py-sp-2 font-mono text-body text-accent",style:{borderRadius:"var(--radius-sm)"},children:e})]})}},2950:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});var r=s(1645);let a=e=>[{type:"image/svg+xml",sizes:"any",url:(0,r.fillMetadataSegment)(".",e.params,"icon.svg")+"?83fa4bf1ef0d214d"}]}};var t=require("../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[916,649,645,530],()=>s(6580));module.exports=r})();
@@ -1 +0,0 @@
1
- {"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../package.json","../../chunks/530.js","../../chunks/645.js","../../chunks/649.js","../../chunks/916.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -1 +0,0 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/progress/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"3443":{"*":{"id":"7406","name":"*","chunks":[],"async":false}},"4595":{"*":{"id":"1388","name":"*","chunks":[],"async":false}},"9922":{"*":{"id":"8033","name":"*","chunks":[],"async":false}},"11076":{"*":{"id":"9323","name":"*","chunks":[],"async":false}},"11447":{"*":{"id":"5915","name":"*","chunks":[],"async":false}},"13037":{"*":{"id":"226","name":"*","chunks":[],"async":false}},"15276":{"*":{"id":"820","name":"*","chunks":[],"async":false}},"25268":{"*":{"id":"3817","name":"*","chunks":[],"async":false}},"27542":{"*":{"id":"9555","name":"*","chunks":[],"async":false}},"29487":{"*":{"id":"6844","name":"*","chunks":[],"async":false}},"30274":{"*":{"id":"7918","name":"*","chunks":[],"async":false}},"37780":{"*":{"id":"8664","name":"*","chunks":[],"async":false}},"43297":{"*":{"id":"1611","name":"*","chunks":[],"async":false}},"56902":{"*":{"id":"2541","name":"*","chunks":[],"async":false}},"67498":{"*":{"id":"696","name":"*","chunks":[],"async":false}},"71520":{"*":{"id":"5707","name":"*","chunks":[],"async":false}},"72024":{"*":{"id":"2857","name":"*","chunks":[],"async":false}},"73719":{"*":{"id":"526","name":"*","chunks":[],"async":false}},"77701":{"*":{"id":"8530","name":"*","chunks":[],"async":false}},"89690":{"*":{"id":"2204","name":"*","chunks":[],"async":false}},"92198":{"*":{"id":"9915","name":"*","chunks":[],"async":false}},"93362":{"*":{"id":"5289","name":"*","chunks":[],"async":false}},"99754":{"*":{"id":"4790","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/dx/Work/hex/node_modules/next/dist/client/components/app-router.js":{"id":25268,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/app-router.js":{"id":25268,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/client-page.js":{"id":11076,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/client-page.js":{"id":11076,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/error-boundary.js":{"id":89690,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":89690,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/layout-router.js":{"id":15276,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/layout-router.js":{"id":15276,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/not-found-boundary.js":{"id":11447,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":11447,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/components/render-from-template-context.js":{"id":43297,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":43297,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/globals.css":{"id":13812,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/components/CommandPalette.tsx":{"id":92198,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/components/DashboardLayout.tsx":{"id":30274,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next-themes/dist/index.mjs":{"id":4595,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Manrope\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-sans\",\"display\":\"swap\"}],\"variableName\":\"manrope\"}":{"id":41600,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-mono\",\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":55256,"name":"*","chunks":["7498","static/chunks/7498-d1814d68ba346d13.js","3185","static/chunks/app/layout-6c6d2a0fd7c989d3.js"],"async":false},"/home/dx/Work/hex/dashboard/app/diagram/page.tsx":{"id":73719,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/flows/page.tsx":{"id":3443,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/calls/CallsClient.tsx":{"id":93362,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/changes/ChangesClient.tsx":{"id":71520,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/access/AccessClient.tsx":{"id":13037,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/notes/NotesClient.tsx":{"id":72024,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/conformance/ConformanceTable.tsx":{"id":27542,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/functions/FunctionsClient.tsx":{"id":37780,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/report/ReportClient.tsx":{"id":56902,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/stats/StatsClient.tsx":{"id":9922,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/app/progress/ProgressClient.tsx":{"id":77701,"name":"*","chunks":["7092","static/chunks/app/progress/page-e26554f655a62eef.js"],"async":false},"/home/dx/Work/hex/dashboard/app/issues/IssuesBoardClient.tsx":{"id":99754,"name":"*","chunks":[],"async":false},"/home/dx/Work/hex/dashboard/components/MarkdownRenderer.tsx":{"id":29487,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false},"/home/dx/Work/hex/node_modules/next/dist/client/link.js":{"id":67498,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false},"/home/dx/Work/hex/node_modules/next/dist/esm/client/link.js":{"id":67498,"name":"*","chunks":["7397","static/chunks/7397-37adf76cad543297.js","7498","static/chunks/7498-d1814d68ba346d13.js","1931","static/chunks/app/page-d63800ddb072b77b.js"],"async":false}},"entryCSSFiles":{"/home/dx/Work/hex/dashboard/":[],"/home/dx/Work/hex/dashboard/app/layout":["static/css/1112cea2260b3926.css"],"/home/dx/Work/hex/dashboard/app/page":[],"/home/dx/Work/hex/dashboard/app/progress/page":[]}}