@tangle-network/sandbox-cli 0.21.22 → 0.21.24

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 (534) hide show
  1. package/dist/graph-viewer/Analytics-DocMpB6T.js +953 -0
  2. package/dist/graph-viewer/AnswerStrip-DhwqOyxI.js +112 -0
  3. package/dist/graph-viewer/Checks-CbnY4tuh.js +113 -0
  4. package/dist/graph-viewer/Conversations-CISiWrR9.js +513 -0
  5. package/dist/graph-viewer/Files-Dh8p_Fpw.js +435 -0
  6. package/dist/graph-viewer/LiveRun-C-yKwkKs.js +190 -0
  7. package/dist/graph-viewer/Outputs-QET3nPPp.js +803 -0
  8. package/dist/graph-viewer/Overview-BaXPdCFC.js +477 -0
  9. package/dist/graph-viewer/RunOverview-DJQDAMIx.js +1720 -0
  10. package/dist/graph-viewer/RunPage-nJwCsArn.js +258 -0
  11. package/dist/graph-viewer/Timeline-bPjhV3il.js +293 -0
  12. package/dist/graph-viewer/Today-pebCsPJ1.js +653 -0
  13. package/dist/graph-viewer/Topology-CyhuK6XW.js +550 -0
  14. package/dist/graph-viewer/Traces-C5x2UvJh.js +232 -0
  15. package/dist/graph-viewer/WallPages-DSmRm2v3.js +658 -0
  16. package/dist/graph-viewer/agent-runtime.js +2293 -0
  17. package/dist/graph-viewer/anchor-C4i5SrB9.js +23 -0
  18. package/dist/graph-viewer/assessment.js +117 -0
  19. package/dist/graph-viewer/data-BJmP7F1M.js +247 -0
  20. package/dist/graph-viewer/harness-sessions.js +165 -0
  21. package/dist/graph-viewer/index.js +14991 -0
  22. package/dist/graph-viewer/lazy-pages-CpmkG5o2.js +19 -0
  23. package/dist/graph-viewer/outputs-model-CGdvjkQh.js +553 -0
  24. package/dist/graph-viewer/part-events-BrLrg_EV.js +276 -0
  25. package/dist/graph-viewer/plain-words-CgvxtEOa.js +17 -0
  26. package/dist/graph-viewer/publication.js +111 -0
  27. package/dist/graph-viewer/receipt.js +25 -0
  28. package/dist/graph-viewer/record-part-Cx9GDQeo.js +1378 -0
  29. package/dist/graph-viewer/record.js +336 -0
  30. package/dist/graph-viewer/report-viewer.js +557 -0
  31. package/dist/graph-viewer/report.js +392 -0
  32. package/dist/graph-viewer/research-publication.js +35 -0
  33. package/dist/graph-viewer/run-files-C1NgzM0l.js +82 -0
  34. package/dist/graph-viewer/run-receipt-Bvi4-KVM.js +1112 -0
  35. package/dist/graph-viewer/schemas/agent-record.bundle.v1.json +157 -0
  36. package/dist/graph-viewer/schemas/agent-record.v1.json +1025 -0
  37. package/dist/graph-viewer/schemas/agent-trace-assessment.v1.json +302 -0
  38. package/dist/graph-viewer/schemas/agent-trace-assessments.v1.json +335 -0
  39. package/dist/graph-viewer/schemas/agent-trace-dimensions.v1.json +131 -0
  40. package/dist/graph-viewer/schemas/agent-workspace.play.v1.json +8149 -0
  41. package/dist/graph-viewer/schemas/agent-workspace.plays.v1.json +1295 -0
  42. package/dist/graph-viewer/schemas/agent-workspace.run.v1.json +10907 -0
  43. package/dist/graph-viewer/schemas/agent-workspace.version-graph.json +1131 -0
  44. package/dist/graph-viewer/schemas/discovery-lab.profile-graph.json +2628 -0
  45. package/dist/graph-viewer/schemas/evidence.snapshot.v1.json +71 -0
  46. package/dist/graph-viewer/styles.css +13976 -0
  47. package/dist/graph-viewer/trace-spans.js +157 -0
  48. package/dist/graph-viewer/ui-CEhDqce8.js +906 -0
  49. package/dist/graph-viewer/use-file-text-BaE98QxE.js +47 -0
  50. package/dist/graph-viewer/viewer/AgentGraphCanvas-D7jjAE6i-DecKyUGA.js +8808 -0
  51. package/dist/graph-viewer/viewer/Analytics-CtKucZjs.js +954 -0
  52. package/dist/graph-viewer/viewer/AnswerStrip-DsI9aF-i.js +45 -0
  53. package/dist/graph-viewer/viewer/Checks-DZTgeYlV.js +114 -0
  54. package/dist/graph-viewer/viewer/Conversations-DQBCyko6.js +787 -0
  55. package/dist/graph-viewer/viewer/Files-B-g25gSO.js +433 -0
  56. package/dist/graph-viewer/viewer/LiveRun-BMQnTpTZ.js +6713 -0
  57. package/dist/graph-viewer/viewer/Outputs-DXnN1wEQ.js +929 -0
  58. package/dist/graph-viewer/viewer/Overview-u7-8-rGx.js +478 -0
  59. package/dist/graph-viewer/viewer/RunPage-ChipoSdO.js +257 -0
  60. package/dist/graph-viewer/viewer/Scores-CjriXjf_.js +414 -0
  61. package/dist/graph-viewer/viewer/Timeline-DzEzobA0.js +294 -0
  62. package/dist/graph-viewer/viewer/Today-DLHe_wTA.js +653 -0
  63. package/dist/graph-viewer/viewer/Topology-Dsmuu27J.js +551 -0
  64. package/dist/graph-viewer/viewer/Traces-BWBulSPE.js +232 -0
  65. package/dist/graph-viewer/viewer/WallPages-Crj-qPoK.js +657 -0
  66. package/dist/graph-viewer/viewer/WorkflowGraph-DYsP_Kcg-C0O7M5iH.js +1559 -0
  67. package/dist/graph-viewer/viewer/abap-DF4NaQCD.js +3 -0
  68. package/dist/graph-viewer/viewer/actionscript-3-O89o1DyQ.js +3 -0
  69. package/dist/graph-viewer/viewer/ada-UiOHRbSd.js +3 -0
  70. package/dist/graph-viewer/viewer/agent-record-Dw772ROs.css +2 -0
  71. package/dist/graph-viewer/viewer/agent-timeline-C-UIhXgu.js +1786 -0
  72. package/dist/graph-viewer/viewer/ahk-7eXkLipS.js +3 -0
  73. package/dist/graph-viewer/viewer/ahk2-BRygvKjG.js +3 -0
  74. package/dist/graph-viewer/viewer/andromeeda-CXE6Hd_y.js +4 -0
  75. package/dist/graph-viewer/viewer/andromeeda-D4hkA5d4.js +135 -0
  76. package/dist/graph-viewer/viewer/angular-html-CH3lfmUV.js +16 -0
  77. package/dist/graph-viewer/viewer/angular-ts-B687Yw-e.js +18 -0
  78. package/dist/graph-viewer/viewer/apache-zsgjHeYU.js +3 -0
  79. package/dist/graph-viewer/viewer/apex-DvIWVZE0.js +3 -0
  80. package/dist/graph-viewer/viewer/apl-MlL-eOOA.js +16 -0
  81. package/dist/graph-viewer/viewer/applescript-D_ETOzPj.js +3 -0
  82. package/dist/graph-viewer/viewer/ara-CXdsJbD3.js +3 -0
  83. package/dist/graph-viewer/viewer/asciidoc-CpqrUCBV.js +3 -0
  84. package/dist/graph-viewer/viewer/asm-DLrPCi7c.js +3 -0
  85. package/dist/graph-viewer/viewer/astro-CEu262ke.js +18 -0
  86. package/dist/graph-viewer/viewer/aurora-x-ByDc5ddl.js +4 -0
  87. package/dist/graph-viewer/viewer/aurora-x-DR-LXA3G.js +149 -0
  88. package/dist/graph-viewer/viewer/awk-452npsTH.js +3 -0
  89. package/dist/graph-viewer/viewer/ayu-dark-AY3FJIQr.js +125 -0
  90. package/dist/graph-viewer/viewer/ayu-dark-Bwg9SdAf.js +4 -0
  91. package/dist/graph-viewer/viewer/ayu-light-CDT1HkHg.js +125 -0
  92. package/dist/graph-viewer/viewer/ayu-light-DPCSrH1e.js +4 -0
  93. package/dist/graph-viewer/viewer/ayu-mirage-BrWHc4Mk.js +125 -0
  94. package/dist/graph-viewer/viewer/ayu-mirage-CArVigxm.js +4 -0
  95. package/dist/graph-viewer/viewer/ballerina-8wA0eHgr.js +3 -0
  96. package/dist/graph-viewer/viewer/bash-B3Pt0-io.js +2 -0
  97. package/dist/graph-viewer/viewer/bat-D5zNUOf1.js +3 -0
  98. package/dist/graph-viewer/viewer/beancount-BXtNUIgX.js +3 -0
  99. package/dist/graph-viewer/viewer/berry-oDXeVIfk.js +3 -0
  100. package/dist/graph-viewer/viewer/bibtex-CAeObnSR.js +3 -0
  101. package/dist/graph-viewer/viewer/bicep-udSZHxea.js +3 -0
  102. package/dist/graph-viewer/viewer/bird2-CeHO9zcD.js +3 -0
  103. package/dist/graph-viewer/viewer/blade-6Y8QadpX.js +20 -0
  104. package/dist/graph-viewer/viewer/bot-Bivadvxn.js +40 -0
  105. package/dist/graph-viewer/viewer/bsl-BYwMGpx9.js +5 -0
  106. package/dist/graph-viewer/viewer/c-CSBSx-ud.js +2 -0
  107. package/dist/graph-viewer/viewer/c-DAvbji88.js +5 -0
  108. package/dist/graph-viewer/viewer/c3-CWnhEhIf.js +3 -0
  109. package/dist/graph-viewer/viewer/cadence-C2DNIpxD.js +3 -0
  110. package/dist/graph-viewer/viewer/cairo-Be_WUhk8.js +5 -0
  111. package/dist/graph-viewer/viewer/catppuccin-frappe-BOyy9syt.js +254 -0
  112. package/dist/graph-viewer/viewer/catppuccin-frappe-XWBMtHoj.js +4 -0
  113. package/dist/graph-viewer/viewer/catppuccin-latte-BTeMSDF4.js +254 -0
  114. package/dist/graph-viewer/viewer/catppuccin-latte-CYOvCvxh.js +4 -0
  115. package/dist/graph-viewer/viewer/catppuccin-macchiato-BdFrVtzY.js +254 -0
  116. package/dist/graph-viewer/viewer/catppuccin-macchiato-Bl-TAIIg.js +4 -0
  117. package/dist/graph-viewer/viewer/catppuccin-mocha-BkEo6vVC.js +4 -0
  118. package/dist/graph-viewer/viewer/catppuccin-mocha-nwxgrdZf.js +254 -0
  119. package/dist/graph-viewer/viewer/ccount-8lyDUwnq.js +1116 -0
  120. package/dist/graph-viewer/viewer/chapel-BipHs2dR.js +5 -0
  121. package/dist/graph-viewer/viewer/chevron-right-WW7tFY6B.js +14 -0
  122. package/dist/graph-viewer/viewer/clarity-CYwjxkRS.js +3 -0
  123. package/dist/graph-viewer/viewer/clojure-g5hblQ59.js +3 -0
  124. package/dist/graph-viewer/viewer/cmake-D30WusUY.js +3 -0
  125. package/dist/graph-viewer/viewer/cobol-BSufitvZ.js +10 -0
  126. package/dist/graph-viewer/viewer/codeowners-a_Z0p9_y.js +3 -0
  127. package/dist/graph-viewer/viewer/codeql-BkSUw1F6.js +3 -0
  128. package/dist/graph-viewer/viewer/coffee-Cq8545xS.js +5 -0
  129. package/dist/graph-viewer/viewer/common-lisp-D2PkvS4V.js +3 -0
  130. package/dist/graph-viewer/viewer/coq-BLTGLocz.js +3 -0
  131. package/dist/graph-viewer/viewer/core-I74i0Bj-.js +3283 -0
  132. package/dist/graph-viewer/viewer/cpp--S2jMQNE.js +16 -0
  133. package/dist/graph-viewer/viewer/cpp-D1SvvKgJ.js +2 -0
  134. package/dist/graph-viewer/viewer/createLucideIcon-Z6KTw8ff.js +132 -0
  135. package/dist/graph-viewer/viewer/crystal-CwAQylTf.js +18 -0
  136. package/dist/graph-viewer/viewer/csharp--dn-Xz3x.js +3 -0
  137. package/dist/graph-viewer/viewer/csharp-CFNIW_9w.js +2 -0
  138. package/dist/graph-viewer/viewer/css-DDvgy_Pj.js +2 -0
  139. package/dist/graph-viewer/viewer/css-OZkJJXvy.js +5 -0
  140. package/dist/graph-viewer/viewer/csv-DFU5sVkH.js +3 -0
  141. package/dist/graph-viewer/viewer/cue-cdFZcSz0.js +3 -0
  142. package/dist/graph-viewer/viewer/cypher-DRjO_s97.js +3 -0
  143. package/dist/graph-viewer/viewer/d-BTgKsJ9x.js +3 -0
  144. package/dist/graph-viewer/viewer/dark-plus-C3f5UfGH.js +4 -0
  145. package/dist/graph-viewer/viewer/dark-plus-DpxqFdZb.js +133 -0
  146. package/dist/graph-viewer/viewer/dart-D4omMRdb.js +3 -0
  147. package/dist/graph-viewer/viewer/data-azhapQrS.js +5459 -0
  148. package/dist/graph-viewer/viewer/dax-DMzovUnU.js +3 -0
  149. package/dist/graph-viewer/viewer/desktop-0YG2NeB2.js +3 -0
  150. package/dist/graph-viewer/viewer/diff-Bqcnq92f.js +2 -0
  151. package/dist/graph-viewer/viewer/diff-D0WgTNQn.js +3 -0
  152. package/dist/graph-viewer/viewer/dist-CyOc-K4O.js +488 -0
  153. package/dist/graph-viewer/viewer/docker-DzSfvS0u.js +5 -0
  154. package/dist/graph-viewer/viewer/dockerfile-CM1sLMN0.js +2 -0
  155. package/dist/graph-viewer/viewer/dotenv-BSNpOEA3.js +3 -0
  156. package/dist/graph-viewer/viewer/dracula-BfBOnDty.js +4 -0
  157. package/dist/graph-viewer/viewer/dracula-DhjcxBGE.js +153 -0
  158. package/dist/graph-viewer/viewer/dracula-soft-C8OuVugS.js +103 -0
  159. package/dist/graph-viewer/viewer/dracula-soft-D6ffXinY.js +4 -0
  160. package/dist/graph-viewer/viewer/dream-maker-Br_aTy0D.js +3 -0
  161. package/dist/graph-viewer/viewer/edge-BXg6ZoA5.js +12 -0
  162. package/dist/graph-viewer/viewer/elixir-BP4dycnf.js +5 -0
  163. package/dist/graph-viewer/viewer/elk.bundled-ZJBRnwyo.js +46151 -0
  164. package/dist/graph-viewer/viewer/elm-XJ6BGRhm.js +5 -0
  165. package/dist/graph-viewer/viewer/emacs-lisp-CaNYORYC.js +3 -0
  166. package/dist/graph-viewer/viewer/engine-javascript-CuJOa50W.js +2400 -0
  167. package/dist/graph-viewer/viewer/engine-oniguruma-CUxoKLbG.js +238 -0
  168. package/dist/graph-viewer/viewer/erb-Cny7ijxm.js +10 -0
  169. package/dist/graph-viewer/viewer/erlang-CcYvFpBd.js +5 -0
  170. package/dist/graph-viewer/viewer/everforest-dark-1Qcrb-nR.js +4 -0
  171. package/dist/graph-viewer/viewer/everforest-dark-B8sohDPe.js +87 -0
  172. package/dist/graph-viewer/viewer/everforest-light-CwMdzDa5.js +87 -0
  173. package/dist/graph-viewer/viewer/everforest-light-pWd_20u5.js +4 -0
  174. package/dist/graph-viewer/viewer/fennel-XqmdNU54.js +3 -0
  175. package/dist/graph-viewer/viewer/file-text-B34N7Soo.js +47 -0
  176. package/dist/graph-viewer/viewer/final-output-Db2D9cMT.js +112 -0
  177. package/dist/graph-viewer/viewer/fish-DnIfDEl-.js +3 -0
  178. package/dist/graph-viewer/viewer/fluent-Dv7iXi9Q.js +3 -0
  179. package/dist/graph-viewer/viewer/fortran-fixed-form-CclFI1c1.js +5 -0
  180. package/dist/graph-viewer/viewer/fortran-free-form-B6CnEX04.js +3 -0
  181. package/dist/graph-viewer/viewer/fsharp-KngoBKg1.js +5 -0
  182. package/dist/graph-viewer/viewer/gdresource-DmwEW6Q8.js +10 -0
  183. package/dist/graph-viewer/viewer/gdscript-DZvGV2HF.js +3 -0
  184. package/dist/graph-viewer/viewer/gdshader-C-YpNGc4.js +3 -0
  185. package/dist/graph-viewer/viewer/genie-eGJU5Fha.js +3 -0
  186. package/dist/graph-viewer/viewer/gherkin-DPafK1RH.js +3 -0
  187. package/dist/graph-viewer/viewer/git-commit-ic1koML8.js +5 -0
  188. package/dist/graph-viewer/viewer/git-rebase-Cv1EDRHu.js +5 -0
  189. package/dist/graph-viewer/viewer/github-dark-DDdIZDt9.js +4 -0
  190. package/dist/graph-viewer/viewer/github-dark-JXVciwdu.js +130 -0
  191. package/dist/graph-viewer/viewer/github-dark-default-BdQpbWGL.js +76 -0
  192. package/dist/graph-viewer/viewer/github-dark-default-Dqlx6Tfn.js +4 -0
  193. package/dist/graph-viewer/viewer/github-dark-dimmed-Cf-YKaPv.js +4 -0
  194. package/dist/graph-viewer/viewer/github-dark-dimmed-W_ejuONg.js +125 -0
  195. package/dist/graph-viewer/viewer/github-dark-high-contrast-BfhJh7Fv.js +4 -0
  196. package/dist/graph-viewer/viewer/github-dark-high-contrast-Dta6H4l1.js +125 -0
  197. package/dist/graph-viewer/viewer/github-light-D4EN-pJE.js +130 -0
  198. package/dist/graph-viewer/viewer/github-light-D7vUnDjY.js +4 -0
  199. package/dist/graph-viewer/viewer/github-light-default-CA96ogap.js +125 -0
  200. package/dist/graph-viewer/viewer/github-light-default-CbQ7dbx-.js +4 -0
  201. package/dist/graph-viewer/viewer/github-light-high-contrast-CWkjO7j1.js +125 -0
  202. package/dist/graph-viewer/viewer/github-light-high-contrast-Oc7ptxOl.js +4 -0
  203. package/dist/graph-viewer/viewer/gleam-DDi89CaZ.js +3 -0
  204. package/dist/graph-viewer/viewer/glimmer-js-B4XGl72Q.js +14 -0
  205. package/dist/graph-viewer/viewer/glimmer-ts-Cd-JLCfl.js +14 -0
  206. package/dist/graph-viewer/viewer/glsl-gcTBSfUq.js +6 -0
  207. package/dist/graph-viewer/viewer/gn-DMs_IqO4.js +3 -0
  208. package/dist/graph-viewer/viewer/gnuplot-Dwu09Wsa.js +3 -0
  209. package/dist/graph-viewer/viewer/go-BEdBk4fh.js +3 -0
  210. package/dist/graph-viewer/viewer/go-DHVK1MDf.js +2 -0
  211. package/dist/graph-viewer/viewer/graphql-CLsas7pB.js +15 -0
  212. package/dist/graph-viewer/viewer/graphql-hf2jeRF3.js +2 -0
  213. package/dist/graph-viewer/viewer/groovy-CmZ205Qh.js +3 -0
  214. package/dist/graph-viewer/viewer/gruvbox-dark-hard-C03xMCtB.js +4 -0
  215. package/dist/graph-viewer/viewer/gruvbox-dark-hard-D6fxqIcJ.js +128 -0
  216. package/dist/graph-viewer/viewer/gruvbox-dark-medium-CC6ndC01.js +128 -0
  217. package/dist/graph-viewer/viewer/gruvbox-dark-medium-ZTNTOYs1.js +4 -0
  218. package/dist/graph-viewer/viewer/gruvbox-dark-soft-1zGnpoEy.js +4 -0
  219. package/dist/graph-viewer/viewer/gruvbox-dark-soft-DBjjA89e.js +128 -0
  220. package/dist/graph-viewer/viewer/gruvbox-light-hard-CNtKpSCc.js +128 -0
  221. package/dist/graph-viewer/viewer/gruvbox-light-hard-Rq8jWy-t.js +4 -0
  222. package/dist/graph-viewer/viewer/gruvbox-light-medium-DT10IcB_.js +128 -0
  223. package/dist/graph-viewer/viewer/gruvbox-light-medium-qoNn8l_N.js +4 -0
  224. package/dist/graph-viewer/viewer/gruvbox-light-soft-BugAsRiM.js +128 -0
  225. package/dist/graph-viewer/viewer/gruvbox-light-soft-Dnxtmee2.js +4 -0
  226. package/dist/graph-viewer/viewer/hack-CDch_7MP.js +10 -0
  227. package/dist/graph-viewer/viewer/haml-BqkvTyZm.js +11 -0
  228. package/dist/graph-viewer/viewer/handlebars-RDj3fZHz.js +14 -0
  229. package/dist/graph-viewer/viewer/haskell-DSSJ-2AO.js +3 -0
  230. package/dist/graph-viewer/viewer/haxe-DrA0Xrjd.js +3 -0
  231. package/dist/graph-viewer/viewer/hcl-BxX70ue-.js +3 -0
  232. package/dist/graph-viewer/viewer/highlights-Bgg6O5ub.js +1351 -0
  233. package/dist/graph-viewer/viewer/hjson-Znrrrv1t.js +3 -0
  234. package/dist/graph-viewer/viewer/hlsl-D-dP8z1U.js +3 -0
  235. package/dist/graph-viewer/viewer/horizon-CE4Yvsia.js +4 -0
  236. package/dist/graph-viewer/viewer/horizon-EI29cEvA.js +85 -0
  237. package/dist/graph-viewer/viewer/horizon-bright-BOLA2YFR.js +4 -0
  238. package/dist/graph-viewer/viewer/horizon-bright-hHpSmrYh.js +85 -0
  239. package/dist/graph-viewer/viewer/houston-CiDLA2oo.js +4 -0
  240. package/dist/graph-viewer/viewer/houston-CiUxf-HU.js +195 -0
  241. package/dist/graph-viewer/viewer/html-9DDE6S-h.js +2 -0
  242. package/dist/graph-viewer/viewer/html-D0TTaG52.js +11 -0
  243. package/dist/graph-viewer/viewer/html-derivative-Gg3E-n-U.js +5 -0
  244. package/dist/graph-viewer/viewer/http-BPgEi3D2.js +14 -0
  245. package/dist/graph-viewer/viewer/hurl-Sfhn3XgM.js +12 -0
  246. package/dist/graph-viewer/viewer/hxml-Dv3Zqri9.js +5 -0
  247. package/dist/graph-viewer/viewer/hy-Cd4h6N3W.js +3 -0
  248. package/dist/graph-viewer/viewer/imba-DdhTsO9l.js +3 -0
  249. package/dist/graph-viewer/viewer/ini-CmgEGOBJ.js +3 -0
  250. package/dist/graph-viewer/viewer/java-CgzoQF6Y.js +5 -0
  251. package/dist/graph-viewer/viewer/java-DnKlCRJQ.js +2 -0
  252. package/dist/graph-viewer/viewer/javascript-CHiBfg7Q.js +2 -0
  253. package/dist/graph-viewer/viewer/javascript-Du25Lw0B.js +5 -0
  254. package/dist/graph-viewer/viewer/jinja-CmKrofRU.js +5 -0
  255. package/dist/graph-viewer/viewer/jison-Bh7j04oA.js +5 -0
  256. package/dist/graph-viewer/viewer/json-Cd131axV.js +2 -0
  257. package/dist/graph-viewer/viewer/json-Cd3mvCHu.js +5 -0
  258. package/dist/graph-viewer/viewer/json5-D2Eltym1.js +3 -0
  259. package/dist/graph-viewer/viewer/jsonc-BPIJyZ7u.js +3 -0
  260. package/dist/graph-viewer/viewer/jsonc-DyuEwhdL.js +2 -0
  261. package/dist/graph-viewer/viewer/jsonl-BGkjXns2.js +3 -0
  262. package/dist/graph-viewer/viewer/jsonnet-DsRfEVPr.js +3 -0
  263. package/dist/graph-viewer/viewer/jssm-DP2pbfxn.js +3 -0
  264. package/dist/graph-viewer/viewer/jsx-BC18Lfga.js +5 -0
  265. package/dist/graph-viewer/viewer/jsx-CDweqMY2.js +2 -0
  266. package/dist/graph-viewer/viewer/jsx-runtime-BSzbUOFc.js +2136 -0
  267. package/dist/graph-viewer/viewer/julia-DWXGq3n5.js +16 -0
  268. package/dist/graph-viewer/viewer/just-CPEDqFxc.js +18 -0
  269. package/dist/graph-viewer/viewer/kanagawa-dragon-D5ZXvoAT.js +147 -0
  270. package/dist/graph-viewer/viewer/kanagawa-dragon-m178euzh.js +4 -0
  271. package/dist/graph-viewer/viewer/kanagawa-lotus-BUmV0rdY.js +147 -0
  272. package/dist/graph-viewer/viewer/kanagawa-lotus-C4yCdgdL.js +4 -0
  273. package/dist/graph-viewer/viewer/kanagawa-wave-B6YTgVPM.js +4 -0
  274. package/dist/graph-viewer/viewer/kanagawa-wave-C4G5CGrn.js +147 -0
  275. package/dist/graph-viewer/viewer/kdl-BdIUXyK8.js +3 -0
  276. package/dist/graph-viewer/viewer/kotlin-BYbH5_qW.js +2 -0
  277. package/dist/graph-viewer/viewer/kotlin-CQsNEM2o.js +3 -0
  278. package/dist/graph-viewer/viewer/kusto-UWPUoeE5.js +3 -0
  279. package/dist/graph-viewer/viewer/langs-DKPMizJR.js +1323 -0
  280. package/dist/graph-viewer/viewer/laserwave-BHOyZkaw.js +72 -0
  281. package/dist/graph-viewer/viewer/laserwave-CWOG7haO.js +4 -0
  282. package/dist/graph-viewer/viewer/latex-H1oLZZMa.js +5 -0
  283. package/dist/graph-viewer/viewer/lazy-pages-fgtpXQ00.js +20 -0
  284. package/dist/graph-viewer/viewer/lean-D3P_r_z_.js +3 -0
  285. package/dist/graph-viewer/viewer/less-9LYkHheD.js +3 -0
  286. package/dist/graph-viewer/viewer/lib-YfRUb5Qz.js +633 -0
  287. package/dist/graph-viewer/viewer/light-plus-BqoAVMwn.js +4 -0
  288. package/dist/graph-viewer/viewer/light-plus-mr4QmlNu.js +134 -0
  289. package/dist/graph-viewer/viewer/liquid-BIl6scjw.js +14 -0
  290. package/dist/graph-viewer/viewer/llvm-eWADufTp.js +3 -0
  291. package/dist/graph-viewer/viewer/loader-CJrlDBKq.js +80 -0
  292. package/dist/graph-viewer/viewer/log-DvQMOE69.js +3 -0
  293. package/dist/graph-viewer/viewer/logo-Cl5E_QyH.js +3 -0
  294. package/dist/graph-viewer/viewer/lua-2MenSe50.js +6 -0
  295. package/dist/graph-viewer/viewer/luau-7dQCidxK.js +3 -0
  296. package/dist/graph-viewer/viewer/make-CE9Hryyp.js +3 -0
  297. package/dist/graph-viewer/viewer/markdown-BpJEJUTW.js +8504 -0
  298. package/dist/graph-viewer/viewer/markdown-CSNMIXpG.js +2 -0
  299. package/dist/graph-viewer/viewer/markdown-nUtTZkU8.js +3 -0
  300. package/dist/graph-viewer/viewer/marko-C5vBSh9z.js +14 -0
  301. package/dist/graph-viewer/viewer/material-theme-B36kIseS.js +93 -0
  302. package/dist/graph-viewer/viewer/material-theme-D46aZ2Q0.js +4 -0
  303. package/dist/graph-viewer/viewer/material-theme-darker-DPrN5MJM.js +4 -0
  304. package/dist/graph-viewer/viewer/material-theme-darker-iFXeHXKD.js +93 -0
  305. package/dist/graph-viewer/viewer/material-theme-lighter-2HJjoQcP.js +4 -0
  306. package/dist/graph-viewer/viewer/material-theme-lighter-BBaTLa5v.js +93 -0
  307. package/dist/graph-viewer/viewer/material-theme-ocean-D1aXUM1Z.js +4 -0
  308. package/dist/graph-viewer/viewer/material-theme-ocean-Dj5vMPI8.js +93 -0
  309. package/dist/graph-viewer/viewer/material-theme-palenight-B6DS-lbj.js +4 -0
  310. package/dist/graph-viewer/viewer/material-theme-palenight-EjN7Wy3X.js +93 -0
  311. package/dist/graph-viewer/viewer/matlab-fM7rwTZt.js +3 -0
  312. package/dist/graph-viewer/viewer/mdc-IFxaehab.js +12 -0
  313. package/dist/graph-viewer/viewer/mdx-DswfiFg4.js +3 -0
  314. package/dist/graph-viewer/viewer/mdx-e70j-_I5.js +2 -0
  315. package/dist/graph-viewer/viewer/mermaid-CAl3BhSL.js +3 -0
  316. package/dist/graph-viewer/viewer/min-dark-BAW8Cmrn.js +4 -0
  317. package/dist/graph-viewer/viewer/min-dark-BMrfDL-S.js +110 -0
  318. package/dist/graph-viewer/viewer/min-light-DMqORsIf.js +110 -0
  319. package/dist/graph-viewer/viewer/min-light-PpFL3JTA.js +4 -0
  320. package/dist/graph-viewer/viewer/mipsasm-DbPELTlh.js +3 -0
  321. package/dist/graph-viewer/viewer/model-brand-bTcMjQtB-C9bHPsPk.js +723 -0
  322. package/dist/graph-viewer/viewer/mojo-B8iEg1Sv.js +3 -0
  323. package/dist/graph-viewer/viewer/monokai-2mdc1PFC.js +4 -0
  324. package/dist/graph-viewer/viewer/monokai-b6RWCwKp.js +150 -0
  325. package/dist/graph-viewer/viewer/moonbit-BR88EIMx.js +3 -0
  326. package/dist/graph-viewer/viewer/move-CpCLo8d1.js +3 -0
  327. package/dist/graph-viewer/viewer/narrat-9pGDjQTI.js +3 -0
  328. package/dist/graph-viewer/viewer/nextflow-BEOXmhnx.js +5 -0
  329. package/dist/graph-viewer/viewer/nextflow-groovy-Cvo9WVFK.js +3 -0
  330. package/dist/graph-viewer/viewer/nginx-Dx1JJUel.js +5 -0
  331. package/dist/graph-viewer/viewer/night-owl-B66IhhIZ.js +4 -0
  332. package/dist/graph-viewer/viewer/night-owl-Dgg_EwNf.js +176 -0
  333. package/dist/graph-viewer/viewer/night-owl-light-C6oRQ1ih.js +177 -0
  334. package/dist/graph-viewer/viewer/night-owl-light-D2RFQCtQ.js +4 -0
  335. package/dist/graph-viewer/viewer/nim-CpR9PfF3.js +20 -0
  336. package/dist/graph-viewer/viewer/nix-CwcLdFnB.js +3 -0
  337. package/dist/graph-viewer/viewer/nord-BD48P4mW.js +116 -0
  338. package/dist/graph-viewer/viewer/nord-Sih_lPjv.js +4 -0
  339. package/dist/graph-viewer/viewer/nsis-Dn88_Onr.js +3 -0
  340. package/dist/graph-viewer/viewer/nushell-DDaptVCJ.js +3 -0
  341. package/dist/graph-viewer/viewer/objective-c-DK-EKgyd.js +3 -0
  342. package/dist/graph-viewer/viewer/objective-cpp-CXtEgxjw.js +3 -0
  343. package/dist/graph-viewer/viewer/ocaml-BO-0Wjtk.js +3 -0
  344. package/dist/graph-viewer/viewer/odin-BDNmOx6H.js +3 -0
  345. package/dist/graph-viewer/viewer/one-dark-pro-DFN4GD0H.js +4 -0
  346. package/dist/graph-viewer/viewer/one-dark-pro-MBgmHRam.js +112 -0
  347. package/dist/graph-viewer/viewer/one-light-Bi4vf2dv.js +138 -0
  348. package/dist/graph-viewer/viewer/one-light-zI0r8mzs.js +4 -0
  349. package/dist/graph-viewer/viewer/openscad-B8gTrm-E.js +3 -0
  350. package/dist/graph-viewer/viewer/org-SBzxSGZD.js +100 -0
  351. package/dist/graph-viewer/viewer/page-header-C6YCPkzJ.js +72 -0
  352. package/dist/graph-viewer/viewer/pascal-CRtegPzh.js +3 -0
  353. package/dist/graph-viewer/viewer/perl-Cotj8Fvk.js +16 -0
  354. package/dist/graph-viewer/viewer/php-BCjZGKW5.js +2 -0
  355. package/dist/graph-viewer/viewer/php-DuQlfgak.js +18 -0
  356. package/dist/graph-viewer/viewer/pierre-dark-Dc3Ll6Hl.js +154 -0
  357. package/dist/graph-viewer/viewer/pierre-dark-eM2ca6q-.js +4 -0
  358. package/dist/graph-viewer/viewer/pierre-dark-protanopia-deuteranopia-FuOdjT6t.js +4 -0
  359. package/dist/graph-viewer/viewer/pierre-dark-protanopia-deuteranopia-h_4QkzS0.js +154 -0
  360. package/dist/graph-viewer/viewer/pierre-dark-soft-BFXGcQOC.js +4 -0
  361. package/dist/graph-viewer/viewer/pierre-dark-soft-DlFiKlWf.js +154 -0
  362. package/dist/graph-viewer/viewer/pierre-dark-tritanopia-D8Wgm6MB.js +154 -0
  363. package/dist/graph-viewer/viewer/pierre-dark-tritanopia-HphJrMfv.js +4 -0
  364. package/dist/graph-viewer/viewer/pierre-dark-vibrant-BxJmNTpB.js +154 -0
  365. package/dist/graph-viewer/viewer/pierre-dark-vibrant-CJwaYoBu.js +4 -0
  366. package/dist/graph-viewer/viewer/pierre-light-Bd7oPgtx.js +4 -0
  367. package/dist/graph-viewer/viewer/pierre-light-CFLGbwCM.js +154 -0
  368. package/dist/graph-viewer/viewer/pierre-light-protanopia-deuteranopia-BlBh_kV-.js +154 -0
  369. package/dist/graph-viewer/viewer/pierre-light-protanopia-deuteranopia-fUFGoRe8.js +4 -0
  370. package/dist/graph-viewer/viewer/pierre-light-soft-Ah2itsu1.js +154 -0
  371. package/dist/graph-viewer/viewer/pierre-light-soft-DobqmynA.js +4 -0
  372. package/dist/graph-viewer/viewer/pierre-light-tritanopia-Bpej1qhn.js +154 -0
  373. package/dist/graph-viewer/viewer/pierre-light-tritanopia-BrKH6xXA.js +4 -0
  374. package/dist/graph-viewer/viewer/pierre-light-vibrant-BjCO0blv.js +154 -0
  375. package/dist/graph-viewer/viewer/pierre-light-vibrant-COFDSNWf.js +4 -0
  376. package/dist/graph-viewer/viewer/pkl-C53Sb050.js +3 -0
  377. package/dist/graph-viewer/viewer/plain-words-CgvxtEOa.js +17 -0
  378. package/dist/graph-viewer/viewer/plastic-BKBSI3T4.js +4 -0
  379. package/dist/graph-viewer/viewer/plastic-BtQ0IfLu.js +125 -0
  380. package/dist/graph-viewer/viewer/plsql-Bx7tup_v.js +3 -0
  381. package/dist/graph-viewer/viewer/po-DSTB2Mz9.js +3 -0
  382. package/dist/graph-viewer/viewer/poimandres-DaSN2vl7.js +112 -0
  383. package/dist/graph-viewer/viewer/poimandres-Dbcm0FXZ.js +4 -0
  384. package/dist/graph-viewer/viewer/polar-E3hAEXm5.js +3 -0
  385. package/dist/graph-viewer/viewer/popover-DrLB9iar.js +5329 -0
  386. package/dist/graph-viewer/viewer/postcss-BZib8l4b.js +3 -0
  387. package/dist/graph-viewer/viewer/powerquery-CJblX2B2.js +3 -0
  388. package/dist/graph-viewer/viewer/powershell-jc6OXU_u.js +3 -0
  389. package/dist/graph-viewer/viewer/prisma-CBAWJppo.js +3 -0
  390. package/dist/graph-viewer/viewer/prolog-Ce1YjgEP.js +3 -0
  391. package/dist/graph-viewer/viewer/proto-DGLklcji.js +3 -0
  392. package/dist/graph-viewer/viewer/pug-CPAFvvT7.js +12 -0
  393. package/dist/graph-viewer/viewer/puppet-B2qoEJs2.js +3 -0
  394. package/dist/graph-viewer/viewer/purescript-Cq_6EhvO.js +3 -0
  395. package/dist/graph-viewer/viewer/python-BgSzeAZt.js +2 -0
  396. package/dist/graph-viewer/viewer/python-D0AaDoWC.js +3 -0
  397. package/dist/graph-viewer/viewer/qml-CAJAZclz.js +5 -0
  398. package/dist/graph-viewer/viewer/qmldir-BSWsNKCW.js +3 -0
  399. package/dist/graph-viewer/viewer/qss-CT2jsqXX.js +3 -0
  400. package/dist/graph-viewer/viewer/r-gNt6i8Zf.js +5 -0
  401. package/dist/graph-viewer/viewer/racket-B0_wXtli.js +3 -0
  402. package/dist/graph-viewer/viewer/raku-DKDZy5Ck.js +3 -0
  403. package/dist/graph-viewer/viewer/razor-CmVjd-Dh.js +10 -0
  404. package/dist/graph-viewer/viewer/rbs-DvNU-OQ_.js +3 -0
  405. package/dist/graph-viewer/viewer/react-CisnW4fB.js +4262 -0
  406. package/dist/graph-viewer/viewer/react-dom-C5NDYQCD.js +143 -0
  407. package/dist/graph-viewer/viewer/record-part-d0gKKrMI.js +1299 -0
  408. package/dist/graph-viewer/viewer/red-D-VJz2zz.js +154 -0
  409. package/dist/graph-viewer/viewer/red-DidxQpA-.js +4 -0
  410. package/dist/graph-viewer/viewer/reg-D6txjqBF.js +3 -0
  411. package/dist/graph-viewer/viewer/regexp-CJmLSLYE.js +5 -0
  412. package/dist/graph-viewer/viewer/rel-CY3GbSca.js +3 -0
  413. package/dist/graph-viewer/viewer/riscv-BKjM5F1V.js +3 -0
  414. package/dist/graph-viewer/viewer/rolldown-runtime-DArdT4gl.js +23 -0
  415. package/dist/graph-viewer/viewer/ron-DJgcWJZU.js +3 -0
  416. package/dist/graph-viewer/viewer/rose-pine-DN0mhTLO.js +4 -0
  417. package/dist/graph-viewer/viewer/rose-pine-dawn-C7BTe7Qj.js +124 -0
  418. package/dist/graph-viewer/viewer/rose-pine-dawn-wShSQEG_.js +4 -0
  419. package/dist/graph-viewer/viewer/rose-pine-moon-CXZ0x-tN.js +4 -0
  420. package/dist/graph-viewer/viewer/rose-pine-moon-DpdAjsWi.js +124 -0
  421. package/dist/graph-viewer/viewer/rose-pine-ndHcBYxH.js +124 -0
  422. package/dist/graph-viewer/viewer/rosmsg-BTByjkSH.js +3 -0
  423. package/dist/graph-viewer/viewer/rst-BNLuumiw.js +22 -0
  424. package/dist/graph-viewer/viewer/ruby-BPTDv07s.js +30 -0
  425. package/dist/graph-viewer/viewer/ruby-Dgthgv0F.js +2 -0
  426. package/dist/graph-viewer/viewer/rust-DCdaqFaU.js +2 -0
  427. package/dist/graph-viewer/viewer/rust-Dj2n2rl0.js +3 -0
  428. package/dist/graph-viewer/viewer/sas-DViflgLe.js +5 -0
  429. package/dist/graph-viewer/viewer/sass-CL6GLiPQ.js +3 -0
  430. package/dist/graph-viewer/viewer/scala-D9AnhX7I.js +3 -0
  431. package/dist/graph-viewer/viewer/scheme-BksZ4zIw.js +3 -0
  432. package/dist/graph-viewer/viewer/scss-7wpnG0B9.js +2 -0
  433. package/dist/graph-viewer/viewer/scss-DR3BWwkk.js +6 -0
  434. package/dist/graph-viewer/viewer/sdbl-CLOIgNSF.js +3 -0
  435. package/dist/graph-viewer/viewer/segmented-control-ChhLMa6h.js +142 -0
  436. package/dist/graph-viewer/viewer/shaderlab-BNI6l0C5.js +5 -0
  437. package/dist/graph-viewer/viewer/shellscript-JaF_7KS2.js +5 -0
  438. package/dist/graph-viewer/viewer/shellsession-BpXPWCuv.js +5 -0
  439. package/dist/graph-viewer/viewer/shiki-BwlTRTY6.js +488 -0
  440. package/dist/graph-viewer/viewer/slack-dark-BxRxM-DA.js +72 -0
  441. package/dist/graph-viewer/viewer/slack-dark-eYrSWFNQ.js +4 -0
  442. package/dist/graph-viewer/viewer/slack-ochin-BkYWF81M.js +95 -0
  443. package/dist/graph-viewer/viewer/slack-ochin-DnDV13wS.js +4 -0
  444. package/dist/graph-viewer/viewer/smalltalk-OVt5uEUD.js +3 -0
  445. package/dist/graph-viewer/viewer/smithy-CseSvY8s.js +3 -0
  446. package/dist/graph-viewer/viewer/snazzy-light-CY4buyRs.js +4 -0
  447. package/dist/graph-viewer/viewer/snazzy-light-nzcYE5KK.js +81 -0
  448. package/dist/graph-viewer/viewer/solarized-dark-CJ28ehED.js +4 -0
  449. package/dist/graph-viewer/viewer/solarized-dark-CNL-YE5C.js +148 -0
  450. package/dist/graph-viewer/viewer/solarized-light-CPffzncm.js +4 -0
  451. package/dist/graph-viewer/viewer/solarized-light-CkLaeXvs.js +148 -0
  452. package/dist/graph-viewer/viewer/solidity-CGi7NMBq.js +2 -0
  453. package/dist/graph-viewer/viewer/solidity-CXjfwKeT.js +3 -0
  454. package/dist/graph-viewer/viewer/soy-BgMg3QC4.js +5 -0
  455. package/dist/graph-viewer/viewer/sparql-RY7y0-Jf.js +5 -0
  456. package/dist/graph-viewer/viewer/splunk-MGILMmew.js +3 -0
  457. package/dist/graph-viewer/viewer/sql-BIIYxsxo.js +5 -0
  458. package/dist/graph-viewer/viewer/sql-bbpzmmG9.js +2 -0
  459. package/dist/graph-viewer/viewer/ssh-config-CFmUyPR7.js +3 -0
  460. package/dist/graph-viewer/viewer/stata-W40nJXFi.js +5 -0
  461. package/dist/graph-viewer/viewer/stream-tokenizer-CaVb21TO.js +99 -0
  462. package/dist/graph-viewer/viewer/stylus-Kh83dApl.js +3 -0
  463. package/dist/graph-viewer/viewer/surrealql-BvdRuViV.js +5 -0
  464. package/dist/graph-viewer/viewer/svelte-BIpAIvXq.js +14 -0
  465. package/dist/graph-viewer/viewer/swift-B7Z-rXzN.js +3 -0
  466. package/dist/graph-viewer/viewer/swift-CITNSfj8.js +2 -0
  467. package/dist/graph-viewer/viewer/synthwave-84-k9mB1wtO.js +4 -0
  468. package/dist/graph-viewer/viewer/synthwave-84-kUO_gAph.js +398 -0
  469. package/dist/graph-viewer/viewer/system-verilog-CQoMYllC.js +3 -0
  470. package/dist/graph-viewer/viewer/systemd-ArfzIYBi.js +3 -0
  471. package/dist/graph-viewer/viewer/talonscript-SIE54PtE.js +3 -0
  472. package/dist/graph-viewer/viewer/tasl-Ck4PO08m.js +3 -0
  473. package/dist/graph-viewer/viewer/tcl-DfkVwqLO.js +3 -0
  474. package/dist/graph-viewer/viewer/templ-CcrsYqs3.js +12 -0
  475. package/dist/graph-viewer/viewer/terminal-BxRacTx0.js +52 -0
  476. package/dist/graph-viewer/viewer/terraform-DccThf6s.js +3 -0
  477. package/dist/graph-viewer/viewer/tex-OxWF-6wM.js +6 -0
  478. package/dist/graph-viewer/viewer/themes-BxrCCwH5.js +238 -0
  479. package/dist/graph-viewer/viewer/tokyo-night-pVep8RHB.js +141 -0
  480. package/dist/graph-viewer/viewer/tokyo-night-wSZ66vL4.js +4 -0
  481. package/dist/graph-viewer/viewer/toml-CIQJnU5u.js +3 -0
  482. package/dist/graph-viewer/viewer/toml-D2vAS7BS.js +2 -0
  483. package/dist/graph-viewer/viewer/ts-tags-CBuzNYes.js +38 -0
  484. package/dist/graph-viewer/viewer/tsv-AfvsdcL-.js +3 -0
  485. package/dist/graph-viewer/viewer/tsx-BjEV2c_V.js +2 -0
  486. package/dist/graph-viewer/viewer/tsx-utlJ2eBd.js +5 -0
  487. package/dist/graph-viewer/viewer/turtle-D1NNZBgy.js +3 -0
  488. package/dist/graph-viewer/viewer/twig-BojFE3iW.js +18 -0
  489. package/dist/graph-viewer/viewer/typescript-S9qHhxTN.js +5 -0
  490. package/dist/graph-viewer/viewer/typescript-ekZNylIf.js +2 -0
  491. package/dist/graph-viewer/viewer/typespec-M_tZhO7D.js +3 -0
  492. package/dist/graph-viewer/viewer/typst-D2koCOEy.js +120 -0
  493. package/dist/graph-viewer/viewer/ui-ByOBsvk7.js +5 -0
  494. package/dist/graph-viewer/viewer/ui-CxK41KO5.js +5 -0
  495. package/dist/graph-viewer/viewer/ui-DZiGjPwl.js +906 -0
  496. package/dist/graph-viewer/viewer/v-DbYZLS97.js +3 -0
  497. package/dist/graph-viewer/viewer/vala-i5OYwFuH.js +3 -0
  498. package/dist/graph-viewer/viewer/vb-DRaXf86R.js +3 -0
  499. package/dist/graph-viewer/viewer/verilog-Dl3uFuBh.js +3 -0
  500. package/dist/graph-viewer/viewer/vesper-B2HI-Qu1.js +84 -0
  501. package/dist/graph-viewer/viewer/vesper-DgN5ShJZ.js +4 -0
  502. package/dist/graph-viewer/viewer/vhdl-UepOATuw.js +3 -0
  503. package/dist/graph-viewer/viewer/viml-DgaHry3T.js +3 -0
  504. package/dist/graph-viewer/viewer/vitesse-black-B09teiUx.js +4 -0
  505. package/dist/graph-viewer/viewer/vitesse-black-BLUtFdIS.js +184 -0
  506. package/dist/graph-viewer/viewer/vitesse-dark-CSebpMf5.js +184 -0
  507. package/dist/graph-viewer/viewer/vitesse-dark-CkA3-NtU.js +4 -0
  508. package/dist/graph-viewer/viewer/vitesse-light-DECVT8fj.js +4 -0
  509. package/dist/graph-viewer/viewer/vitesse-light-DJPcjfyV.js +184 -0
  510. package/dist/graph-viewer/viewer/vue-CiFPO7R5.js +21 -0
  511. package/dist/graph-viewer/viewer/vue-html-BZL30ZyU.js +5 -0
  512. package/dist/graph-viewer/viewer/vue-vine-CVQkz-vV.js +18 -0
  513. package/dist/graph-viewer/viewer/vyper-BiyGiCmH.js +3 -0
  514. package/dist/graph-viewer/viewer/wasm-BXdtUMGf.js +4 -0
  515. package/dist/graph-viewer/viewer/wasm-DXa1gtBd.js +3 -0
  516. package/dist/graph-viewer/viewer/wenyan-Ke6AN0BI.js +3 -0
  517. package/dist/graph-viewer/viewer/wgsl-Vcm3Lg52.js +3 -0
  518. package/dist/graph-viewer/viewer/wikitext-C4uDiSA9.js +3 -0
  519. package/dist/graph-viewer/viewer/wit-hbIPZwZR.js +3 -0
  520. package/dist/graph-viewer/viewer/wolfram-DGFnG0I5.js +3 -0
  521. package/dist/graph-viewer/viewer/workspace-DalRxssx.js +25100 -0
  522. package/dist/graph-viewer/viewer/x-B_F8B4lq.js +56 -0
  523. package/dist/graph-viewer/viewer/xml-C4j_mOgu.js +6 -0
  524. package/dist/graph-viewer/viewer/xml-SfvhYhbQ.js +2 -0
  525. package/dist/graph-viewer/viewer/xsl-CNv6nqtA.js +5 -0
  526. package/dist/graph-viewer/viewer/yaml-CS1e8wnG.js +5 -0
  527. package/dist/graph-viewer/viewer/yaml-CudzZ2m4.js +2 -0
  528. package/dist/graph-viewer/viewer/zenscript-BtXHY1aa.js +3 -0
  529. package/dist/graph-viewer/viewer/zig-BaU1vZRj.js +3 -0
  530. package/dist/graph-viewer/workspace-model-Ewf17pTW.js +1541 -0
  531. package/dist/graph-viewer/workspace-viewer.js +24443 -0
  532. package/dist/graph-viewer/workspace.js +2 -0
  533. package/dist/index.mjs +11 -11
  534. package/package.json +5 -5
@@ -0,0 +1,1786 @@
1
+ import { i as e } from "./rolldown-runtime-DArdT4gl.js";
2
+ import { i as t, n, t as r } from "./jsx-runtime-BSzbUOFc.js";
3
+ import { $ as i, A as a, C as o, E as s, M as c, O as l, S as u, a as d, b as f, c as p, h as m, j as h, l as g, p as _, t as v, u as y, v as b, w as ee, x, y as S } from "./markdown-BpJEJUTW.js";
4
+ import { t as C } from "./createLucideIcon-Z6KTw8ff.js";
5
+ import { t as te } from "./bot-Bivadvxn.js";
6
+ import { n as w, r as T } from "./x-B_F8B4lq.js";
7
+ import { t as ne } from "./chevron-right-WW7tFY6B.js";
8
+ import { n as re, t as E } from "./file-text-B34N7Soo.js";
9
+ import { n as D, r as O, t as ie } from "./terminal-BxRacTx0.js";
10
+ //#region node_modules/.pnpm/lucide-react@1.61.0_@types+react@19.3.0_react@19.3.0/node_modules/lucide-react/dist/esm/icons/arrow-right.mjs
11
+ var k = {
12
+ name: "arrow-right",
13
+ size: 24,
14
+ node: [["path", {
15
+ d: "M5 12h14",
16
+ key: "1ays0h"
17
+ }], ["path", {
18
+ d: "m12 5 7 7-7 7",
19
+ key: "xquz4c"
20
+ }]]
21
+ };
22
+ k.node;
23
+ var ae = C(k), A = {
24
+ name: "brain",
25
+ size: 24,
26
+ node: [
27
+ ["path", {
28
+ d: "M12 18V5",
29
+ key: "adv99a"
30
+ }],
31
+ ["path", {
32
+ d: "M15 13a4.17 4.17 0 01-3-4 4.17 4.17 0 01-3 4",
33
+ key: "5nuw1p"
34
+ }],
35
+ ["path", {
36
+ d: "M17.707 6.294A3 3 0 1012 5a3 3 0 10-5.707 1.294",
37
+ key: "18ldcf"
38
+ }],
39
+ ["path", {
40
+ d: "M17.996 5.125a4 4 0 012.526 5.77",
41
+ key: "1sdu8q"
42
+ }],
43
+ ["path", {
44
+ d: "M18 18a4 4 0 002-7.465",
45
+ key: "7xqqvr"
46
+ }],
47
+ ["path", {
48
+ d: "M19.967 17.482a4 4 0 11-7.967.517 4 4 0 11-7.967-.517",
49
+ key: "t46ysz"
50
+ }],
51
+ ["path", {
52
+ d: "M6 18a4 4 0 01-2-7.465",
53
+ key: "1y2m15"
54
+ }],
55
+ ["path", {
56
+ d: "M6.004 5.125a4 4 0 00-2.526 5.77",
57
+ key: "3cw1ss"
58
+ }]
59
+ ]
60
+ };
61
+ A.node;
62
+ var oe = C(A), j = {
63
+ name: "circle-dot",
64
+ size: 24,
65
+ node: [["circle", {
66
+ cx: "12",
67
+ cy: "12",
68
+ r: "1",
69
+ key: "41hilf"
70
+ }], ["circle", {
71
+ cx: "12",
72
+ cy: "12",
73
+ r: "10",
74
+ key: "1mglay"
75
+ }]]
76
+ };
77
+ j.node;
78
+ var se = C(j), M = {
79
+ name: "clipboard-list",
80
+ size: 24,
81
+ node: [
82
+ ["rect", {
83
+ width: "8",
84
+ height: "4",
85
+ x: "8",
86
+ y: "2",
87
+ rx: "1",
88
+ ry: "1",
89
+ key: "tgr4d6"
90
+ }],
91
+ ["path", {
92
+ d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",
93
+ key: "116196"
94
+ }],
95
+ ["path", {
96
+ d: "M12 11h4",
97
+ key: "1jrz19"
98
+ }],
99
+ ["path", {
100
+ d: "M12 16h4",
101
+ key: "n85exb"
102
+ }],
103
+ ["path", {
104
+ d: "M8 11h.01",
105
+ key: "1dfujw"
106
+ }],
107
+ ["path", {
108
+ d: "M8 16h.01",
109
+ key: "18s6g9"
110
+ }]
111
+ ]
112
+ };
113
+ M.node;
114
+ var ce = C(M), le = {
115
+ name: "file-pen",
116
+ size: 24,
117
+ node: [
118
+ ["path", {
119
+ d: "M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34",
120
+ key: "o6klzx"
121
+ }],
122
+ ["path", {
123
+ d: "M14 2v5a1 1 0 0 0 1 1h5",
124
+ key: "wfsgrz"
125
+ }],
126
+ ["path", {
127
+ d: "M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z",
128
+ key: "zhnas1"
129
+ }]
130
+ ],
131
+ aliases: ["file-edit"]
132
+ };
133
+ le.node;
134
+ var ue = C(le), de = {
135
+ name: "file-search",
136
+ size: 24,
137
+ node: [
138
+ ["path", {
139
+ d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
140
+ key: "1oefj6"
141
+ }],
142
+ ["path", {
143
+ d: "M14 2v5a1 1 0 0 0 1 1h5",
144
+ key: "wfsgrz"
145
+ }],
146
+ ["circle", {
147
+ cx: "11.5",
148
+ cy: "14.5",
149
+ r: "2.5",
150
+ key: "1bq0ko"
151
+ }],
152
+ ["path", {
153
+ d: "M13.3 16.3 15 18",
154
+ key: "2quom7"
155
+ }]
156
+ ]
157
+ };
158
+ de.node;
159
+ var fe = C(de), pe = {
160
+ name: "git-compare-arrows",
161
+ size: 24,
162
+ node: [
163
+ ["circle", {
164
+ cx: "5",
165
+ cy: "6",
166
+ r: "3",
167
+ key: "1qnov2"
168
+ }],
169
+ ["path", {
170
+ d: "M12 6h5a2 2 0 0 1 2 2v7",
171
+ key: "1yj91y"
172
+ }],
173
+ ["path", {
174
+ d: "m15 9-3-3 3-3",
175
+ key: "1lwv8l"
176
+ }],
177
+ ["circle", {
178
+ cx: "19",
179
+ cy: "18",
180
+ r: "3",
181
+ key: "1qljk2"
182
+ }],
183
+ ["path", {
184
+ d: "M12 18H7a2 2 0 0 1-2-2V9",
185
+ key: "16sdep"
186
+ }],
187
+ ["path", {
188
+ d: "m9 15 3 3-3 3",
189
+ key: "1m3kbl"
190
+ }]
191
+ ]
192
+ };
193
+ pe.node;
194
+ var me = C(pe), he = {
195
+ name: "message-square-quote",
196
+ size: 24,
197
+ node: [
198
+ ["path", {
199
+ d: "M14 14a2 2 0 0 0 2-2V8h-2",
200
+ key: "1r06pg"
201
+ }],
202
+ ["path", {
203
+ d: "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",
204
+ key: "18887p"
205
+ }],
206
+ ["path", {
207
+ d: "M8 14a2 2 0 0 0 2-2V8H8",
208
+ key: "1jzu5j"
209
+ }]
210
+ ]
211
+ };
212
+ he.node;
213
+ var ge = C(he), _e = {
214
+ name: "pencil-line",
215
+ size: 24,
216
+ node: [
217
+ ["path", {
218
+ d: "M13 21h8",
219
+ key: "1jsn5i"
220
+ }],
221
+ ["path", {
222
+ d: "m15 5 4 4",
223
+ key: "1mk7zo"
224
+ }],
225
+ ["path", {
226
+ d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",
227
+ key: "1a8usu"
228
+ }]
229
+ ]
230
+ };
231
+ _e.node;
232
+ var ve = C(_e), ye = {
233
+ name: "settings",
234
+ size: 24,
235
+ node: [["path", {
236
+ d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",
237
+ key: "1i5ecw"
238
+ }], ["circle", {
239
+ cx: "12",
240
+ cy: "12",
241
+ r: "3",
242
+ key: "1v7zrd"
243
+ }]]
244
+ };
245
+ ye.node;
246
+ var be = C(ye), N = /* @__PURE__ */ e(t(), 1), P = r(), xe = "tangle-transcript-text text-[length:var(--transcript-font-size)] leading-[var(--transcript-line-height)]";
247
+ //#endregion
248
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/chat/message-author.js
249
+ function Se(e, t) {
250
+ return e === void 0 || e.id === t;
251
+ }
252
+ function Ce({ author: e, className: t, ...r }) {
253
+ return /* @__PURE__ */ (0, P.jsxs)("div", {
254
+ "data-message-author": "",
255
+ className: n("flex min-w-0 max-w-full items-center gap-2", t),
256
+ ...r,
257
+ children: [
258
+ /* @__PURE__ */ (0, P.jsx)(_, {
259
+ size: "xs",
260
+ src: e.avatarUrl,
261
+ name: e.name,
262
+ tone: b(e.id),
263
+ className: "rounded-full"
264
+ }),
265
+ /* @__PURE__ */ (0, P.jsx)("span", {
266
+ className: "min-w-0 truncate font-medium text-foreground text-sm",
267
+ title: e.name,
268
+ children: e.name
269
+ }),
270
+ e.role ? /* @__PURE__ */ (0, P.jsx)(m, {
271
+ size: "sm",
272
+ emphasis: "outline",
273
+ className: "max-w-[50%]",
274
+ children: e.role
275
+ }) : null
276
+ ]
277
+ });
278
+ }
279
+ //#endregion
280
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/chat/synthetic-text.js
281
+ function we({ text: e }) {
282
+ return e.trim() ? /* @__PURE__ */ (0, P.jsxs)("div", {
283
+ role: "note",
284
+ "aria-label": "Application note",
285
+ "data-synthetic-text": "",
286
+ className: "min-w-0 rounded-md border border-dashed border-border bg-muted/30 px-3 py-2 text-sm text-muted-foreground",
287
+ children: [/* @__PURE__ */ (0, P.jsx)("div", {
288
+ className: "mb-1 font-medium",
289
+ children: "Application note"
290
+ }), /* @__PURE__ */ (0, P.jsx)("div", {
291
+ className: "break-words whitespace-pre-wrap",
292
+ children: e
293
+ })]
294
+ }) : null;
295
+ }
296
+ function Te(e) {
297
+ let t = [], n = [], r = 0, i = () => {
298
+ let e = n.join("\n");
299
+ e.trim() && t.push({
300
+ index: r,
301
+ synthetic: !1,
302
+ text: e
303
+ }), n = [];
304
+ };
305
+ return e.forEach((e, a) => {
306
+ e.type === "text" && (e.synthetic ? (i(), e.text.trim() && t.push({
307
+ index: a,
308
+ synthetic: !0,
309
+ text: e.text
310
+ })) : (n.length === 0 && (r = a), n.push(e.text)));
311
+ }), i(), t;
312
+ }
313
+ //#endregion
314
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/chat/user-message.js
315
+ function Ee(e) {
316
+ return e.toLocaleTimeString(void 0, {
317
+ hour: "numeric",
318
+ minute: "2-digit"
319
+ });
320
+ }
321
+ function F({ children: e, align: t = "end" }) {
322
+ return /* @__PURE__ */ (0, P.jsx)("div", {
323
+ className: `flex flex-wrap items-center ${t === "end" ? "justify-end" : "justify-start"} gap-1.5 text-xs text-muted-foreground`,
324
+ children: e
325
+ });
326
+ }
327
+ function De({ text: e, timestamp: t, actions: n }) {
328
+ return /* @__PURE__ */ (0, P.jsx)("div", {
329
+ className: "flex justify-end",
330
+ children: /* @__PURE__ */ (0, P.jsxs)("div", {
331
+ className: "group flex min-w-0 max-w-[78%] flex-col items-end gap-2",
332
+ children: [/* @__PURE__ */ (0, P.jsxs)("div", {
333
+ className: "relative w-full min-w-0 rounded-2xl bg-foreground px-4 py-3 text-background",
334
+ children: [t ? /* @__PURE__ */ (0, P.jsx)("span", {
335
+ "data-user-message-time": "",
336
+ className: "pointer-events-none absolute right-full top-1/2 mr-3 -translate-y-1/2 whitespace-nowrap text-[length:var(--font-size-xs)] text-muted-foreground opacity-0 transition-opacity group-hover:opacity-100",
337
+ children: Ee(t)
338
+ }) : null, /* @__PURE__ */ (0, P.jsx)("div", {
339
+ className: `break-words whitespace-pre-wrap ${xe}`,
340
+ children: e
341
+ })]
342
+ }), n ? /* @__PURE__ */ (0, P.jsx)(F, { children: n }) : null]
343
+ })
344
+ });
345
+ }
346
+ function Oe({ text: e, timestamp: t, actions: n, author: r }) {
347
+ return /* @__PURE__ */ (0, P.jsx)("div", {
348
+ className: "flex justify-start",
349
+ children: /* @__PURE__ */ (0, P.jsxs)("div", {
350
+ className: "group flex min-w-0 max-w-[78%] flex-col items-start gap-1.5",
351
+ children: [
352
+ r ? /* @__PURE__ */ (0, P.jsx)(Ce, { author: r }) : null,
353
+ /* @__PURE__ */ (0, P.jsxs)("div", {
354
+ className: "relative min-w-0 max-w-full rounded-2xl border border-border bg-card px-4 py-3 text-foreground",
355
+ children: [t ? /* @__PURE__ */ (0, P.jsx)("span", {
356
+ "data-user-message-time": "",
357
+ className: "pointer-events-none absolute left-full top-1/2 ml-3 -translate-y-1/2 whitespace-nowrap text-[length:var(--font-size-xs)] text-muted-foreground opacity-0 transition-opacity group-hover:opacity-100",
358
+ children: Ee(t)
359
+ }) : null, /* @__PURE__ */ (0, P.jsx)("div", {
360
+ className: `break-words whitespace-pre-wrap ${xe}`,
361
+ children: e
362
+ })]
363
+ }),
364
+ n ? /* @__PURE__ */ (0, P.jsx)(F, {
365
+ align: "start",
366
+ children: n
367
+ }) : null
368
+ ]
369
+ })
370
+ });
371
+ }
372
+ var I = (0, N.memo)(({ message: e, parts: t, content: n, timestamp: r, actions: i, author: a, viewerId: o }) => {
373
+ let s = Se(a, o) ? void 0 : a, c = (e, t, n = !0, i) => s ? /* @__PURE__ */ (0, P.jsx)(Oe, {
374
+ text: e,
375
+ timestamp: r,
376
+ actions: t,
377
+ author: n ? s : void 0
378
+ }, i) : /* @__PURE__ */ (0, P.jsx)(De, {
379
+ text: e,
380
+ timestamp: r,
381
+ actions: t
382
+ }, i);
383
+ if (n != null) return n.trim() ? c(n, i) : null;
384
+ let l = Te(t ?? []);
385
+ if (l.length === 0) return null;
386
+ if (l.length === 1 && !l[0].synthetic) return c(l[0].text, i);
387
+ let u = l.find((e) => !e.synthetic);
388
+ return /* @__PURE__ */ (0, P.jsxs)("div", {
389
+ className: "space-y-2",
390
+ children: [l.map((e) => e.synthetic ? /* @__PURE__ */ (0, P.jsx)(we, { text: e.text }, e.index) : c(e.text, void 0, e === u, e.index)), i ? /* @__PURE__ */ (0, P.jsx)(F, {
391
+ align: s ? "start" : "end",
392
+ children: i
393
+ }) : null]
394
+ });
395
+ });
396
+ I.displayName = "UserMessage";
397
+ //#endregion
398
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/utils/tool-display.js
399
+ var ke = "tool:";
400
+ function L(e) {
401
+ let t = e?.toLowerCase() ?? "";
402
+ return t.startsWith(ke) ? t.slice(5) : t;
403
+ }
404
+ function R(e, t) {
405
+ if (typeof e == "object" && e && t in e) {
406
+ let n = e[t];
407
+ if (typeof n == "string") return n;
408
+ }
409
+ }
410
+ function Ae(e) {
411
+ return typeof e == "string" ? e : R(e, "command") ?? R(e, "cmd");
412
+ }
413
+ function je(e) {
414
+ return R(e, "file_path") ?? R(e, "path") ?? R(e, "filePath") ?? R(e, "file");
415
+ }
416
+ function Me(e) {
417
+ switch (L(e)) {
418
+ case "bash":
419
+ case "shell":
420
+ case "command":
421
+ case "execute": return "command";
422
+ case "write":
423
+ case "write_file":
424
+ case "create_file": return "write";
425
+ case "read":
426
+ case "read_file":
427
+ case "cat": return "read";
428
+ case "grep":
429
+ case "search":
430
+ case "rg": return "search";
431
+ case "edit":
432
+ case "patch":
433
+ case "sed": return "edit";
434
+ case "glob":
435
+ case "find":
436
+ case "ls": return "search";
437
+ case "web_search":
438
+ case "web_fetch":
439
+ case "fetch": return "web";
440
+ case "task":
441
+ case "agent":
442
+ case "spawn": return "task";
443
+ case "todo":
444
+ case "todo_write": return "todo";
445
+ default: return "other";
446
+ }
447
+ }
448
+ function z(e) {
449
+ let t = L(e.tool), n = e.state.status === "pending" ? void 0 : e.state.input, r = je(n), i = Ae(n);
450
+ switch (t) {
451
+ case "bash":
452
+ case "shell":
453
+ case "command":
454
+ case "execute": return {
455
+ title: "Shell",
456
+ description: i ? B(i) : void 0,
457
+ displayVariant: "command",
458
+ commandSnippet: i
459
+ };
460
+ case "write":
461
+ case "write_file":
462
+ case "create_file": return {
463
+ title: "Write",
464
+ description: r,
465
+ displayVariant: "write-file",
466
+ targetPath: r
467
+ };
468
+ case "edit":
469
+ case "patch": return {
470
+ title: "Edit",
471
+ description: r,
472
+ hasDiffOutput: !0,
473
+ diffFilePath: r,
474
+ displayVariant: "diff",
475
+ targetPath: r
476
+ };
477
+ case "read":
478
+ case "read_file":
479
+ case "cat": return {
480
+ title: "Read",
481
+ description: r,
482
+ displayVariant: "read-file",
483
+ targetPath: r
484
+ };
485
+ case "grep":
486
+ case "search":
487
+ case "rg": return {
488
+ title: "Search",
489
+ description: R(n, "pattern"),
490
+ displayVariant: "grep"
491
+ };
492
+ case "glob":
493
+ case "find":
494
+ case "ls": return {
495
+ title: "Find",
496
+ description: R(n, "pattern"),
497
+ displayVariant: "glob"
498
+ };
499
+ case "web_search":
500
+ case "web_fetch":
501
+ case "fetch": {
502
+ let e = R(n, "query") ?? R(n, "url");
503
+ return {
504
+ title: t === "web_search" ? "Web search" : "Fetch",
505
+ description: e ? B(e) : void 0,
506
+ displayVariant: "web-search"
507
+ };
508
+ }
509
+ case "task":
510
+ case "agent":
511
+ case "spawn": {
512
+ let e = R(n, "description") ?? R(n, "prompt");
513
+ return {
514
+ title: "Task",
515
+ description: e ? B(e) : void 0
516
+ };
517
+ }
518
+ default: return {
519
+ title: e.tool || "Tool",
520
+ description: i ?? r ?? R(n, "pattern") ?? R(n, "query")
521
+ };
522
+ }
523
+ }
524
+ function B(e) {
525
+ let t = e.split("\n")[0];
526
+ return t.length > 60 ? t.slice(0, 57) + "..." : t;
527
+ }
528
+ function Ne(e, t) {
529
+ if (e.state.status === "error") return e.state.error || t;
530
+ }
531
+ //#endregion
532
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/tool-previews/command-preview.js
533
+ var Pe = [
534
+ "command",
535
+ "cmd",
536
+ "script",
537
+ "commandLine"
538
+ ];
539
+ function Fe(e) {
540
+ if (typeof e == "string") return e;
541
+ if (e && typeof e == "object") {
542
+ let t = e;
543
+ for (let e of Pe) {
544
+ let n = t[e];
545
+ if (typeof n == "string" && n.length > 0) return n;
546
+ }
547
+ }
548
+ return "";
549
+ }
550
+ function Ie(e) {
551
+ if (typeof e == "number" && Number.isFinite(e)) return e;
552
+ if (typeof e == "string" && e.trim() !== "") {
553
+ let t = Number(e);
554
+ return Number.isFinite(t) ? t : void 0;
555
+ }
556
+ }
557
+ function Le(e) {
558
+ return e == null ? {
559
+ stdout: "",
560
+ stderr: "",
561
+ exitCode: void 0
562
+ } : typeof e == "string" ? ze(e) || {
563
+ stdout: e,
564
+ stderr: "",
565
+ exitCode: void 0
566
+ } : typeof e == "object" ? V(e) : {
567
+ stdout: String(e),
568
+ stderr: "",
569
+ exitCode: void 0
570
+ };
571
+ }
572
+ function V(e) {
573
+ let t = (e) => e == null ? "" : String(e), n = e.timedOut ?? e.timed_out, r = e.signal;
574
+ return {
575
+ stdout: t(e.stdout ?? e.output),
576
+ stderr: t(e.stderr),
577
+ exitCode: Ie(e.exitCode ?? e.exit_code ?? e.code),
578
+ ...n === !0 ? { timedOut: !0 } : {},
579
+ ...typeof r == "string" && r.length > 0 ? { signal: r } : {}
580
+ };
581
+ }
582
+ var Re = /* @__PURE__ */ new Set([
583
+ "stdout",
584
+ "stderr",
585
+ "output",
586
+ "exitCode",
587
+ "exit_code",
588
+ "code",
589
+ "signal",
590
+ "durationMs",
591
+ "duration_ms",
592
+ "timedOut",
593
+ "timed_out"
594
+ ]);
595
+ function ze(e) {
596
+ let t = e.trimStart();
597
+ if (t.startsWith("{")) try {
598
+ let e = JSON.parse(t);
599
+ if (!e || typeof e != "object" || Array.isArray(e)) return;
600
+ let n = e;
601
+ return !("stdout" in n) && !("stderr" in n) || !Object.keys(n).every((e) => Re.has(e)) ? void 0 : V(n);
602
+ } catch {
603
+ return;
604
+ }
605
+ }
606
+ function Be({ output: e, status: t }) {
607
+ if (t === "running" || t === "pending") return /* @__PURE__ */ (0, P.jsxs)("span", {
608
+ className: "inline-flex shrink-0 items-center gap-1 text-[11px] text-muted-foreground",
609
+ children: [/* @__PURE__ */ (0, P.jsx)(T, {
610
+ className: "h-3 w-3 animate-spin",
611
+ "aria-hidden": "true"
612
+ }), "running"]
613
+ });
614
+ let { exitCode: r, timedOut: i, signal: a } = e, o, s;
615
+ return i ? (o = "timed out", s = "danger") : a ? (o = a, s = "danger") : r !== void 0 && r !== 0 ? (o = `exit ${r}`, s = "danger") : t === "error" ? (o = r === 0 ? "exit 0 · tool reported error" : "tool reported error", s = "warning") : (o = r === 0 ? "exit 0" : null, s = "success"), o === null ? null : /* @__PURE__ */ (0, P.jsx)("span", {
616
+ className: n("inline-flex shrink-0 items-center rounded-full border px-1.5 py-px font-sans text-[11px] font-medium tabular-nums", s === "danger" && "border-transparent bg-[var(--surface-danger-bg)] text-[var(--surface-danger-text)]", s === "success" && "border-transparent bg-[var(--surface-success-bg)] text-[var(--surface-success-text)]", s === "warning" && "border-[var(--surface-warning-border)] bg-[var(--surface-warning-bg)] text-[var(--surface-warning-text)]"),
617
+ children: o
618
+ });
619
+ }
620
+ function Ve({ command: e }) {
621
+ let t = e.split(/(\s+)/);
622
+ return /* @__PURE__ */ (0, P.jsx)(P.Fragment, { children: t.map((e, t) => e.length > 0 && !/\s/.test(e) ? /* @__PURE__ */ (0, P.jsx)("span", {
623
+ className: "inline-block max-w-full [overflow-wrap:anywhere]",
624
+ children: e
625
+ }, t) : e) });
626
+ }
627
+ function H({ label: e, text: t, className: r }) {
628
+ let a = (0, N.useRef)(null), [o, s] = (0, N.useState)(!1), [c, l] = (0, N.useState)(!1);
629
+ (0, N.useLayoutEffect)(() => {
630
+ let e = a.current;
631
+ if (!e || c) return;
632
+ let t = () => s(e.scrollHeight > e.clientHeight + 1);
633
+ if (t(), typeof ResizeObserver > "u") return;
634
+ let n = new ResizeObserver(t);
635
+ return n.observe(e), () => n.disconnect();
636
+ }, [c]);
637
+ let u = t.replace(/\n$/, "").split("\n").length;
638
+ return /* @__PURE__ */ (0, P.jsxs)("div", {
639
+ className: r,
640
+ children: [/* @__PURE__ */ (0, P.jsx)("pre", {
641
+ ref: a,
642
+ tabIndex: 0,
643
+ role: "region",
644
+ "aria-label": e,
645
+ className: n("overflow-auto whitespace-pre-wrap [overflow-wrap:anywhere] px-3 py-2 leading-relaxed", c ? "" : "max-h-80", i),
646
+ children: t
647
+ }), o && !c ? /* @__PURE__ */ (0, P.jsxs)("button", {
648
+ type: "button",
649
+ onClick: () => l(!0),
650
+ className: n("w-full border-t border-white/10 px-3 py-1.5 text-left font-sans text-[11px] font-medium text-muted-foreground transition-colors hover:text-foreground", i),
651
+ children: [
652
+ "Show all ",
653
+ e,
654
+ " (",
655
+ u,
656
+ " lines)"
657
+ ]
658
+ }) : null]
659
+ });
660
+ }
661
+ var He = (0, N.memo)(({ part: e, defaultExpanded: t = !1, className: r }) => {
662
+ let [a, o] = (0, N.useState)(t), s = (0, N.useId)(), c = Fe(e.state.input), { status: l } = e.state, u = Le(e.state.output), d = (e) => e.replace(/\s+/g, " ").trim(), f = e.state.error !== void 0 && u.stdout.length > 0 && d(e.state.error) === d(u.stdout) ? void 0 : e.state.error, p = u.stdout.length > 0 || u.stderr.length > 0 || f !== void 0 && f.length > 0, m = /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [
663
+ /* @__PURE__ */ (0, P.jsx)("span", {
664
+ "aria-hidden": "true",
665
+ className: "shrink-0 select-none text-muted-foreground",
666
+ children: "$"
667
+ }),
668
+ /* @__PURE__ */ (0, P.jsx)("code", {
669
+ title: a ? void 0 : c,
670
+ className: n("min-w-0 flex-1 whitespace-pre-wrap [overflow-wrap:anywhere]", a ? "" : "line-clamp-2"),
671
+ children: a ? /* @__PURE__ */ (0, P.jsx)(Ve, { command: c }) : c
672
+ }),
673
+ /* @__PURE__ */ (0, P.jsx)("span", {
674
+ className: "flex shrink-0 max-sm:order-last max-sm:basis-full max-sm:pl-4",
675
+ children: /* @__PURE__ */ (0, P.jsx)(Be, {
676
+ output: u,
677
+ status: l
678
+ })
679
+ })
680
+ ] });
681
+ return /* @__PURE__ */ (0, P.jsxs)("div", {
682
+ "data-theme": a ? "dark" : void 0,
683
+ "data-testid": "command-preview",
684
+ "data-expanded": a,
685
+ className: n("overflow-hidden rounded-[var(--radius-md)] border font-mono text-xs text-foreground", a ? "border-[var(--md3-surface-container-lowest)] bg-[var(--md3-surface-container-lowest)]" : "border-transparent bg-transparent", r),
686
+ children: [p ? /* @__PURE__ */ (0, P.jsxs)("button", {
687
+ type: "button",
688
+ onClick: () => o((e) => !e),
689
+ "aria-expanded": a,
690
+ "aria-controls": s,
691
+ className: n("flex w-full flex-wrap items-start gap-x-2 gap-y-1 px-3 py-2 text-left transition-colors sm:flex-nowrap", a ? "hover:bg-white/5" : "hover:bg-muted", i),
692
+ children: [m, a ? /* @__PURE__ */ (0, P.jsx)(h, {
693
+ className: "mt-px h-3.5 w-3.5 shrink-0 text-muted-foreground",
694
+ "aria-hidden": "true"
695
+ }) : /* @__PURE__ */ (0, P.jsx)(ne, {
696
+ className: "mt-px h-3.5 w-3.5 shrink-0 text-muted-foreground",
697
+ "aria-hidden": "true"
698
+ })]
699
+ }) : /* @__PURE__ */ (0, P.jsx)("div", {
700
+ className: "flex w-full flex-wrap items-start gap-x-2 gap-y-1 px-3 py-2 sm:flex-nowrap",
701
+ children: m
702
+ }), a && p ? /* @__PURE__ */ (0, P.jsxs)("div", {
703
+ id: s,
704
+ className: "border-t border-white/10",
705
+ children: [
706
+ u.stdout ? /* @__PURE__ */ (0, P.jsx)(H, {
707
+ label: "stdout",
708
+ text: u.stdout,
709
+ className: ""
710
+ }) : null,
711
+ u.stderr ? /* @__PURE__ */ (0, P.jsx)(H, {
712
+ label: "stderr",
713
+ text: u.stderr,
714
+ className: "border-t border-white/10 text-[var(--surface-danger-text)]"
715
+ }) : null,
716
+ f ? /* @__PURE__ */ (0, P.jsx)(H, {
717
+ label: "error",
718
+ text: f,
719
+ className: "border-t border-white/10 text-[var(--surface-danger-text)]"
720
+ }) : null
721
+ ]
722
+ }) : null]
723
+ });
724
+ });
725
+ He.displayName = "CommandPreview";
726
+ //#endregion
727
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/tool-previews/preview-primitives.js
728
+ function U({ icon: e, title: t, description: r, meta: i, children: a, className: o }) {
729
+ return /* @__PURE__ */ (0, P.jsxs)("div", {
730
+ className: n("overflow-hidden rounded-[var(--radius-lg)] border border-border bg-card shadow-[var(--shadow-card)]", o),
731
+ children: [/* @__PURE__ */ (0, P.jsxs)("div", {
732
+ className: "flex items-center gap-2.5 border-b border-border bg-card px-[var(--tool-card-px)] py-[var(--tool-card-py)]",
733
+ children: [
734
+ /* @__PURE__ */ (0, P.jsx)("div", {
735
+ className: "flex h-[var(--tool-icon-size)] w-[var(--tool-icon-size)] shrink-0 items-center justify-center rounded-[var(--radius-sm)] border border-[var(--border-accent)] bg-muted text-primary",
736
+ children: e
737
+ }),
738
+ /* @__PURE__ */ (0, P.jsx)("div", {
739
+ className: "min-w-0 flex-1",
740
+ children: /* @__PURE__ */ (0, P.jsxs)("div", {
741
+ className: "flex items-center gap-2",
742
+ children: [/* @__PURE__ */ (0, P.jsx)("span", {
743
+ className: "text-xs font-semibold text-foreground",
744
+ children: t
745
+ }), r ? /* @__PURE__ */ (0, P.jsx)("span", {
746
+ className: "truncate text-xs font-mono text-muted-foreground",
747
+ children: r
748
+ }) : null]
749
+ })
750
+ }),
751
+ i ? /* @__PURE__ */ (0, P.jsx)("div", {
752
+ className: "shrink-0 text-xs text-muted-foreground",
753
+ children: i
754
+ }) : null
755
+ ]
756
+ }), a ? /* @__PURE__ */ (0, P.jsx)("div", {
757
+ className: "space-y-2 px-[var(--tool-card-px)] py-[var(--tool-card-py)]",
758
+ children: a
759
+ }) : null]
760
+ });
761
+ }
762
+ function W({ label: e, className: t }) {
763
+ return /* @__PURE__ */ (0, P.jsx)("div", {
764
+ className: n("rounded-[var(--radius-md)] border border-dashed border-border bg-muted px-3 py-2.5 text-xs text-muted-foreground", t),
765
+ children: e
766
+ });
767
+ }
768
+ function G({ error: e }) {
769
+ return /* @__PURE__ */ (0, P.jsx)("div", {
770
+ className: "rounded-[var(--radius-md)] border border-[var(--surface-danger-border)] bg-[var(--surface-danger-bg)] px-3 py-3 text-sm text-[var(--surface-danger-text)]",
771
+ children: e
772
+ });
773
+ }
774
+ function K({ label: e = "Running…" }) {
775
+ return /* @__PURE__ */ (0, P.jsxs)("div", {
776
+ className: "flex items-center gap-2 rounded-[var(--radius-md)] border border-border bg-muted px-3 py-2 text-xs text-muted-foreground",
777
+ children: [/* @__PURE__ */ (0, P.jsx)(T, { className: "h-4 w-4 animate-spin text-primary" }), /* @__PURE__ */ (0, P.jsx)("span", { children: e })]
778
+ });
779
+ }
780
+ //#endregion
781
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/tool-previews/write-file-preview.js
782
+ function Ue(e) {
783
+ if (!e || typeof e != "object") return null;
784
+ let t = e;
785
+ return {
786
+ path: String(t.file_path ?? t.path ?? t.filePath ?? "unknown"),
787
+ content: String(t.content ?? t.contents ?? t.data ?? "")
788
+ };
789
+ }
790
+ var We = (0, N.memo)(({ part: e }) => {
791
+ let t = Ue(e.state.input);
792
+ if (!t) return null;
793
+ let n = t.content.split("\n").length, r = d(t.path);
794
+ return /* @__PURE__ */ (0, P.jsxs)(U, {
795
+ icon: /* @__PURE__ */ (0, P.jsx)(ue, { className: "h-4 w-4" }),
796
+ title: "Write file",
797
+ description: t.path,
798
+ meta: /* @__PURE__ */ (0, P.jsxs)("span", {
799
+ className: "text-xs text-muted-foreground",
800
+ children: [
801
+ "+",
802
+ n,
803
+ " line",
804
+ n === 1 ? "" : "s"
805
+ ]
806
+ }),
807
+ children: [
808
+ e.state.status === "running" ? /* @__PURE__ */ (0, P.jsx)(K, { label: "Writing file…" }) : null,
809
+ e.state.error ? /* @__PURE__ */ (0, P.jsx)(G, { error: e.state.error }) : null,
810
+ /* @__PURE__ */ (0, P.jsx)(S, {
811
+ code: t.content,
812
+ language: r,
813
+ className: "rounded-[var(--radius-md)]",
814
+ children: /* @__PURE__ */ (0, P.jsx)(f, { text: t.content })
815
+ })
816
+ ]
817
+ });
818
+ });
819
+ We.displayName = "WriteFilePreview";
820
+ //#endregion
821
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/tool-previews/grep-results-preview.js
822
+ function q(e) {
823
+ return typeof e == "string" && e.trim() ? e : void 0;
824
+ }
825
+ function J(e) {
826
+ if (typeof e == "string") {
827
+ let [t, n, ...r] = e.split(":"), i = Number(n);
828
+ return r.length > 0 && Number.isFinite(i) ? {
829
+ path: t,
830
+ line: i,
831
+ text: r.join(":").trim()
832
+ } : {
833
+ path: "match",
834
+ text: e
835
+ };
836
+ }
837
+ if (!e || typeof e != "object") return null;
838
+ let t = e, n = q(t.path) ?? q(t.file) ?? q(t.filePath) ?? "match", r = t.line ?? t.lineNumber ?? t.line_number, i = typeof r == "number" ? r : Number(r), a = q(t.text) ?? q(t.content) ?? q(t.lineText) ?? q(t.preview);
839
+ return a ? {
840
+ path: n,
841
+ line: Number.isFinite(i) ? i : void 0,
842
+ text: a
843
+ } : null;
844
+ }
845
+ function Ge(e) {
846
+ if (!e || typeof e != "object") return;
847
+ let t = e;
848
+ return q(t.pattern) ?? q(t.query);
849
+ }
850
+ function Ke(e) {
851
+ if (Array.isArray(e)) return e.map(J).filter((e) => e !== null);
852
+ if (e && typeof e == "object") {
853
+ let t = e, n = [
854
+ t.matches,
855
+ t.results,
856
+ t.output
857
+ ];
858
+ for (let e of n) if (Array.isArray(e)) return e.map(J).filter((e) => e !== null);
859
+ }
860
+ return typeof e == "string" ? e.split("\n").map((e) => e.trim()).filter(Boolean).map(J).filter((e) => e !== null) : [];
861
+ }
862
+ var qe = (0, N.memo)(({ part: e }) => {
863
+ let t = Ge(e.state.input), n = (0, N.useMemo)(() => Ke(e.state.output), [e.state.output]), r = (0, N.useMemo)(() => {
864
+ let e = /* @__PURE__ */ new Map();
865
+ for (let t of n) {
866
+ let n = e.get(t.path) ?? [];
867
+ n.push(t), e.set(t.path, n);
868
+ }
869
+ return [...e.entries()];
870
+ }, [n]);
871
+ return /* @__PURE__ */ (0, P.jsxs)(U, {
872
+ icon: /* @__PURE__ */ (0, P.jsx)(D, { className: "h-4 w-4" }),
873
+ title: t ? `Search results for "${t}"` : "Search results",
874
+ description: n.length > 0 ? `${n.length} match${n.length === 1 ? "" : "es"}` : void 0,
875
+ children: [
876
+ e.state.status === "running" ? /* @__PURE__ */ (0, P.jsx)(K, { label: "Searching files…" }) : null,
877
+ e.state.error ? /* @__PURE__ */ (0, P.jsx)(G, { error: e.state.error }) : null,
878
+ e.state.status === "completed" && n.length === 0 ? /* @__PURE__ */ (0, P.jsx)(W, { label: "No matching files or lines were returned." }) : null,
879
+ r.map(([e, t]) => /* @__PURE__ */ (0, P.jsxs)("div", {
880
+ className: "rounded-[var(--radius-md)] border border-border bg-muted/55",
881
+ children: [/* @__PURE__ */ (0, P.jsx)("div", {
882
+ className: "border-b border-border px-3 py-2 text-xs font-medium text-foreground",
883
+ children: e
884
+ }), /* @__PURE__ */ (0, P.jsx)("div", {
885
+ className: "divide-y divide-border",
886
+ children: t.map((t, n) => /* @__PURE__ */ (0, P.jsxs)("div", {
887
+ className: "grid grid-cols-[auto_minmax(0,1fr)] gap-3 px-3 py-2",
888
+ children: [/* @__PURE__ */ (0, P.jsx)("div", {
889
+ className: "pt-0.5 text-xs font-mono text-muted-foreground",
890
+ children: t.line ?? "·"
891
+ }), /* @__PURE__ */ (0, P.jsx)("pre", {
892
+ className: "overflow-x-auto whitespace-pre-wrap break-words text-xs font-mono text-foreground",
893
+ children: t.text
894
+ })]
895
+ }, `${e}-${t.line ?? n}-${n}`))
896
+ })]
897
+ }, e))
898
+ ]
899
+ });
900
+ });
901
+ qe.displayName = "GrepResultsPreview";
902
+ //#endregion
903
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/tool-previews/glob-results-preview.js
904
+ function Je(e) {
905
+ return typeof e == "string" && e.trim() ? e : void 0;
906
+ }
907
+ function Ye(e) {
908
+ if (!e || typeof e != "object") return;
909
+ let t = e;
910
+ return Je(t.pattern) ?? Je(t.path);
911
+ }
912
+ function Xe(e) {
913
+ if (Array.isArray(e)) return e.map((e) => String(e)).filter(Boolean);
914
+ if (e && typeof e == "object") {
915
+ let t = e, n = t.files ?? t.matches ?? t.paths ?? t.results;
916
+ if (Array.isArray(n)) return n.map((e) => typeof e == "string" ? e : e && typeof e == "object" ? String(e.path ?? e.file ?? "") : "").filter(Boolean);
917
+ }
918
+ return typeof e == "string" ? e.split("\n").map((e) => e.trim()).filter(Boolean) : [];
919
+ }
920
+ var Ze = (0, N.memo)(({ part: e }) => {
921
+ let t = Ye(e.state.input), n = (0, N.useMemo)(() => Xe(e.state.output), [e.state.output]);
922
+ return /* @__PURE__ */ (0, P.jsxs)(U, {
923
+ icon: /* @__PURE__ */ (0, P.jsx)(l, { className: "h-4 w-4" }),
924
+ title: t ? `Files for ${t}` : "File results",
925
+ description: n.length > 0 ? `${n.length} path${n.length === 1 ? "" : "s"}` : void 0,
926
+ children: [
927
+ e.state.status === "running" ? /* @__PURE__ */ (0, P.jsx)(K, { label: "Collecting files…" }) : null,
928
+ e.state.error ? /* @__PURE__ */ (0, P.jsx)(G, { error: e.state.error }) : null,
929
+ e.state.status === "completed" && n.length === 0 ? /* @__PURE__ */ (0, P.jsx)(W, { label: "No matching files were returned." }) : null,
930
+ n.length > 0 ? /* @__PURE__ */ (0, P.jsx)("div", {
931
+ className: "grid gap-2 sm:grid-cols-2",
932
+ children: n.map((e) => {
933
+ let t = e.endsWith("/") ? l : E;
934
+ return /* @__PURE__ */ (0, P.jsxs)("div", {
935
+ className: "flex items-center gap-2 rounded-[var(--radius-md)] border border-border bg-muted/55 px-3 py-2",
936
+ children: [/* @__PURE__ */ (0, P.jsx)(t, { className: "h-4 w-4 shrink-0 text-primary" }), /* @__PURE__ */ (0, P.jsx)("span", {
937
+ className: "min-w-0 truncate text-xs font-mono text-foreground",
938
+ children: e
939
+ })]
940
+ }, e);
941
+ })
942
+ }) : null
943
+ ]
944
+ });
945
+ });
946
+ Ze.displayName = "GlobResultsPreview";
947
+ //#endregion
948
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/tool-previews/web-search-preview.js
949
+ function Y(e) {
950
+ return typeof e == "string" && e.trim() ? e : void 0;
951
+ }
952
+ function Qe(e, t) {
953
+ if (e && typeof e == "object") {
954
+ let t = e, n = Y(t.query) ?? Y(t.url);
955
+ if (n) return n;
956
+ }
957
+ if (t && typeof t == "object") return Y(t.query);
958
+ }
959
+ function $e(e) {
960
+ if (!e || typeof e != "object") return null;
961
+ let t = e, n = Y(t.title) ?? Y(t.name) ?? "Untitled result", r = Y(t.url) ?? Y(t.link);
962
+ return r ? {
963
+ title: n,
964
+ url: r,
965
+ snippet: Y(t.snippet) ?? Y(t.description) ?? Y(t.text)
966
+ } : null;
967
+ }
968
+ function et(e) {
969
+ if (e && typeof e == "object") {
970
+ let t = e, n = t.results ?? t.items ?? t.output;
971
+ if (Array.isArray(n)) return n.map($e).filter((e) => e !== null);
972
+ }
973
+ return Array.isArray(e) ? e.map($e).filter((e) => e !== null) : [];
974
+ }
975
+ var tt = (0, N.memo)(({ part: e }) => {
976
+ let t = Qe(e.state.input, e.state.output), n = (0, N.useMemo)(() => et(e.state.output), [e.state.output]);
977
+ return /* @__PURE__ */ (0, P.jsxs)(U, {
978
+ icon: /* @__PURE__ */ (0, P.jsx)(O, { className: "h-4 w-4" }),
979
+ title: t ? `Web results for ${t}` : "Web results",
980
+ description: n.length > 0 ? `${n.length} result${n.length === 1 ? "" : "s"}` : void 0,
981
+ children: [
982
+ e.state.status === "running" ? /* @__PURE__ */ (0, P.jsx)(K, { label: "Searching the web…" }) : null,
983
+ e.state.error ? /* @__PURE__ */ (0, P.jsx)(G, { error: e.state.error }) : null,
984
+ e.state.status === "completed" && n.length === 0 ? /* @__PURE__ */ (0, P.jsx)(W, { label: "No web results were returned." }) : null,
985
+ /* @__PURE__ */ (0, P.jsx)("div", {
986
+ className: "space-y-2",
987
+ children: n.map((e) => /* @__PURE__ */ (0, P.jsxs)("a", {
988
+ href: e.url,
989
+ target: "_blank",
990
+ rel: "noreferrer",
991
+ className: `block rounded-[var(--radius-md)] border border-border bg-muted/55 px-3 py-3 transition-colors hover:border-[var(--border-strong)] hover:bg-accent/50 ${i}`,
992
+ children: [
993
+ /* @__PURE__ */ (0, P.jsx)("div", {
994
+ className: "text-sm font-medium text-foreground",
995
+ children: e.title
996
+ }),
997
+ /* @__PURE__ */ (0, P.jsx)("div", {
998
+ className: "mt-1 truncate text-xs text-primary",
999
+ children: e.url
1000
+ }),
1001
+ e.snippet ? /* @__PURE__ */ (0, P.jsx)("p", {
1002
+ className: "mt-2 text-sm leading-relaxed text-muted-foreground",
1003
+ children: e.snippet
1004
+ }) : null
1005
+ ]
1006
+ }, e.url))
1007
+ })
1008
+ ]
1009
+ });
1010
+ });
1011
+ tt.displayName = "WebSearchPreview";
1012
+ //#endregion
1013
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/tool-previews/question-preview.js
1014
+ function nt(e) {
1015
+ if (!e) return [];
1016
+ if (typeof e == "string") return [e];
1017
+ if (Array.isArray(e)) return e.map((e) => String(e)).filter(Boolean);
1018
+ if (typeof e == "object") {
1019
+ let t = e, n = t.questions ?? t.question ?? t.prompt;
1020
+ if (Array.isArray(n)) return n.map((e) => String(e)).filter(Boolean);
1021
+ if (typeof n == "string") return [n];
1022
+ }
1023
+ return [];
1024
+ }
1025
+ function rt(e) {
1026
+ if (!e) return [];
1027
+ if (typeof e == "string") return [e];
1028
+ if (Array.isArray(e)) return e.map((e) => String(e)).filter(Boolean);
1029
+ if (typeof e == "object") {
1030
+ let t = e, n = t.answers ?? t.answer ?? t.response;
1031
+ if (Array.isArray(n)) return n.map((e) => String(e)).filter(Boolean);
1032
+ if (typeof n == "string") return [n];
1033
+ }
1034
+ return [];
1035
+ }
1036
+ var it = (0, N.memo)(({ part: e }) => {
1037
+ let t = (0, N.useMemo)(() => nt(e.state.input), [e.state.input]), n = (0, N.useMemo)(() => rt(e.state.output), [e.state.output]);
1038
+ return /* @__PURE__ */ (0, P.jsxs)(U, {
1039
+ icon: /* @__PURE__ */ (0, P.jsx)(ge, { className: "h-4 w-4" }),
1040
+ title: "Agent question",
1041
+ description: t.length > 1 ? `${t.length} questions require attention` : void 0,
1042
+ children: [
1043
+ e.state.status === "running" ? /* @__PURE__ */ (0, P.jsx)(K, { label: "Waiting for an answer…" }) : null,
1044
+ e.state.error ? /* @__PURE__ */ (0, P.jsx)(G, { error: e.state.error }) : null,
1045
+ t.length === 0 ? /* @__PURE__ */ (0, P.jsx)(W, { label: "No question text was provided." }) : null,
1046
+ t.map((t, r) => /* @__PURE__ */ (0, P.jsxs)("div", {
1047
+ className: "rounded-[var(--radius-md)] border border-border bg-muted px-3 py-3",
1048
+ children: [
1049
+ /* @__PURE__ */ (0, P.jsxs)("div", {
1050
+ className: "text-xs font-semibold uppercase tracking-[0.08em] text-muted-foreground",
1051
+ children: ["Question ", r + 1]
1052
+ }),
1053
+ /* @__PURE__ */ (0, P.jsx)("div", {
1054
+ className: "mt-2 text-sm leading-relaxed text-foreground",
1055
+ children: t
1056
+ }),
1057
+ /* @__PURE__ */ (0, P.jsx)("div", {
1058
+ className: "mt-3 rounded-[var(--radius-sm)] border border-border bg-card px-3 py-2 text-sm text-foreground",
1059
+ children: n[r] ?? (e.state.status === "completed" ? "No answer recorded." : "Awaiting answer")
1060
+ })
1061
+ ]
1062
+ }, `${t}-${r}`))
1063
+ ]
1064
+ });
1065
+ });
1066
+ it.displayName = "QuestionPreview";
1067
+ //#endregion
1068
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/tool-previews/diff-preview.js
1069
+ function X(e, ...t) {
1070
+ for (let n of t) {
1071
+ let t = e[n];
1072
+ if (typeof t == "string" && t.length > 0) return t;
1073
+ }
1074
+ }
1075
+ function at(e) {
1076
+ let t = [
1077
+ e.state.input,
1078
+ e.state.output,
1079
+ e.state.metadata
1080
+ ];
1081
+ for (let e of t) {
1082
+ if (!e || typeof e != "object") continue;
1083
+ let t = e, n = X(t, "diff", "patch", "unifiedDiff", "unified_diff"), r = X(t, "oldString", "old_string", "before", "previous"), i = X(t, "newString", "new_string", "after", "updated"), a = X(t, "file_path", "filePath", "path");
1084
+ if (n || r || i) return {
1085
+ path: a,
1086
+ diff: n,
1087
+ before: r,
1088
+ after: i
1089
+ };
1090
+ }
1091
+ return {};
1092
+ }
1093
+ var ot = (0, N.memo)(({ part: e }) => {
1094
+ let t = at(e);
1095
+ return /* @__PURE__ */ (0, P.jsxs)(U, {
1096
+ icon: /* @__PURE__ */ (0, P.jsx)(me, { className: "h-4 w-4" }),
1097
+ title: t.path ? `Changes for ${t.path}` : "File changes",
1098
+ children: [
1099
+ e.state.status === "running" ? /* @__PURE__ */ (0, P.jsx)(K, { label: "Computing changes…" }) : null,
1100
+ e.state.error ? /* @__PURE__ */ (0, P.jsx)(G, { error: e.state.error }) : null,
1101
+ !t.diff && !t.before && !t.after ? /* @__PURE__ */ (0, P.jsx)(W, { label: "No structured diff payload was provided." }) : null,
1102
+ t.diff ? /* @__PURE__ */ (0, P.jsx)(S, {
1103
+ code: t.diff,
1104
+ language: "diff",
1105
+ className: "rounded-[var(--radius-md)]"
1106
+ }) : null,
1107
+ !t.diff && t.before ? /* @__PURE__ */ (0, P.jsxs)("div", {
1108
+ className: "space-y-2",
1109
+ children: [/* @__PURE__ */ (0, P.jsx)("div", {
1110
+ className: "text-xs font-semibold uppercase tracking-[0.08em] text-muted-foreground",
1111
+ children: "Before"
1112
+ }), /* @__PURE__ */ (0, P.jsx)(S, {
1113
+ code: t.before,
1114
+ language: "text",
1115
+ className: "rounded-[var(--radius-md)]"
1116
+ })]
1117
+ }) : null,
1118
+ !t.diff && t.after ? /* @__PURE__ */ (0, P.jsxs)("div", {
1119
+ className: "space-y-2",
1120
+ children: [/* @__PURE__ */ (0, P.jsx)("div", {
1121
+ className: "text-xs font-semibold uppercase tracking-[0.08em] text-muted-foreground",
1122
+ children: "After"
1123
+ }), /* @__PURE__ */ (0, P.jsx)(S, {
1124
+ code: t.after,
1125
+ language: "text",
1126
+ className: "rounded-[var(--radius-md)]"
1127
+ })]
1128
+ }) : null
1129
+ ]
1130
+ });
1131
+ });
1132
+ ot.displayName = "DiffPreview";
1133
+ //#endregion
1134
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/run/expandable-content.js
1135
+ function Z({ children: e, collapsedMaxPx: t = 180, fadeClassName: r = "from-muted", className: i, toggleClassName: a }) {
1136
+ let [o, s] = (0, N.useState)(!1), [c, l] = (0, N.useState)(!1), u = (0, N.useRef)(null);
1137
+ (0, N.useEffect)(() => {
1138
+ let e = u.current;
1139
+ if (!e) return;
1140
+ let n = () => l(e.scrollHeight > t + 4);
1141
+ if (n(), typeof ResizeObserver > "u") return;
1142
+ let r = new ResizeObserver(n);
1143
+ return r.observe(e), () => r.disconnect();
1144
+ }, [t]);
1145
+ let d = c && !o;
1146
+ return /* @__PURE__ */ (0, P.jsxs)("div", {
1147
+ className: i,
1148
+ children: [/* @__PURE__ */ (0, P.jsxs)("div", {
1149
+ ref: u,
1150
+ className: "relative overflow-hidden",
1151
+ style: d ? { maxHeight: t } : void 0,
1152
+ children: [e, d ? /* @__PURE__ */ (0, P.jsx)("div", { className: n("pointer-events-none absolute inset-x-0 bottom-0 h-10 bg-gradient-to-t to-transparent", r) }) : null]
1153
+ }), c ? /* @__PURE__ */ (0, P.jsx)("button", {
1154
+ type: "button",
1155
+ onClick: () => s((e) => !e),
1156
+ className: n("mt-1 text-[11px] font-medium text-muted-foreground transition-colors hover:text-foreground", a),
1157
+ children: o ? "Show less" : "Show more"
1158
+ }) : null]
1159
+ });
1160
+ }
1161
+ //#endregion
1162
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/run/expanded-tool-detail.js
1163
+ var st = "mx-3 mb-2", ct = {
1164
+ ts: "typescript",
1165
+ tsx: "tsx",
1166
+ js: "javascript",
1167
+ jsx: "jsx",
1168
+ rs: "rust",
1169
+ py: "python",
1170
+ go: "go",
1171
+ rb: "ruby",
1172
+ json: "json",
1173
+ yaml: "yaml",
1174
+ yml: "yaml",
1175
+ toml: "toml",
1176
+ md: "markdown",
1177
+ css: "css",
1178
+ scss: "scss",
1179
+ html: "html",
1180
+ sh: "bash",
1181
+ bash: "bash",
1182
+ zsh: "bash",
1183
+ sql: "sql",
1184
+ sol: "solidity",
1185
+ proto: "protobuf"
1186
+ };
1187
+ function lt(e) {
1188
+ if (!e) return;
1189
+ let t = e.split(".").pop()?.toLowerCase();
1190
+ return t ? ct[t] : void 0;
1191
+ }
1192
+ function ut(e) {
1193
+ if (e == null) return "";
1194
+ if (typeof e == "string") return e;
1195
+ try {
1196
+ return JSON.stringify(e, null, 2);
1197
+ } catch {
1198
+ return String(e);
1199
+ }
1200
+ }
1201
+ var dt = (0, N.memo)(({ part: e }) => {
1202
+ let t = z(e), { status: r, input: i, output: o, error: s } = e.state;
1203
+ if (t.displayVariant === "command") return /* @__PURE__ */ (0, P.jsx)(He, {
1204
+ part: e,
1205
+ defaultExpanded: !0
1206
+ });
1207
+ if (t.displayVariant === "write-file") return /* @__PURE__ */ (0, P.jsx)(We, { part: e });
1208
+ if (t.displayVariant === "grep") return /* @__PURE__ */ (0, P.jsx)(qe, { part: e });
1209
+ if (t.displayVariant === "glob") return /* @__PURE__ */ (0, P.jsx)(Ze, { part: e });
1210
+ if (t.displayVariant === "web-search") return /* @__PURE__ */ (0, P.jsx)(tt, { part: e });
1211
+ if (t.displayVariant === "question") return /* @__PURE__ */ (0, P.jsx)(it, { part: e });
1212
+ if (t.displayVariant === "diff") return /* @__PURE__ */ (0, P.jsx)(ot, { part: e });
1213
+ if (t.displayVariant === "read-file") return /* @__PURE__ */ (0, P.jsxs)("div", {
1214
+ className: "overflow-hidden rounded-[var(--radius-lg)] border border-border bg-card shadow-[var(--shadow-card)]",
1215
+ children: [/* @__PURE__ */ (0, P.jsxs)("div", {
1216
+ className: "flex items-center gap-2.5 border-b border-border bg-card px-3 py-2",
1217
+ children: [/* @__PURE__ */ (0, P.jsx)("div", {
1218
+ className: "flex h-7 w-7 shrink-0 items-center justify-center rounded-[var(--radius-sm)] border border-[var(--border-accent)] bg-muted text-primary",
1219
+ children: /* @__PURE__ */ (0, P.jsx)(E, { className: "h-3.5 w-3.5" })
1220
+ }), /* @__PURE__ */ (0, P.jsxs)("div", {
1221
+ className: "min-w-0 flex items-center gap-2",
1222
+ children: [/* @__PURE__ */ (0, P.jsx)("span", {
1223
+ className: "text-xs font-semibold text-foreground",
1224
+ children: "Read file"
1225
+ }), t.targetPath ? /* @__PURE__ */ (0, P.jsx)("span", {
1226
+ className: "truncate text-xs font-mono text-muted-foreground",
1227
+ children: t.targetPath
1228
+ }) : null]
1229
+ })]
1230
+ }), /* @__PURE__ */ (0, P.jsxs)("div", {
1231
+ className: "space-y-2 px-3 py-2.5",
1232
+ children: [typeof o == "string" ? /* @__PURE__ */ (0, P.jsx)(S, {
1233
+ code: o,
1234
+ language: lt(t.targetPath) ?? "text",
1235
+ className: "rounded-[var(--radius-md)]"
1236
+ }) : /* @__PURE__ */ (0, P.jsx)("div", {
1237
+ className: "rounded-[var(--radius-md)] border border-dashed border-border bg-muted px-3 py-4 text-sm text-muted-foreground",
1238
+ children: "No readable file content was returned."
1239
+ }), s ? /* @__PURE__ */ (0, P.jsx)("div", {
1240
+ className: "rounded-[var(--radius-md)] border border-[var(--surface-danger-border)] bg-[var(--surface-danger-bg)] px-3 py-3 text-sm text-[var(--surface-danger-text)]",
1241
+ children: s
1242
+ }) : null]
1243
+ })]
1244
+ });
1245
+ let l = ut(i), u = ut(o);
1246
+ return /* @__PURE__ */ (0, P.jsxs)("div", {
1247
+ className: "space-y-3",
1248
+ children: [
1249
+ l && /* @__PURE__ */ (0, P.jsxs)("div", {
1250
+ className: "overflow-hidden rounded-[var(--radius-lg)] border border-border bg-card",
1251
+ children: [/* @__PURE__ */ (0, P.jsxs)("div", {
1252
+ className: "flex items-center gap-2 border-b border-border bg-background px-3 py-2",
1253
+ children: [/* @__PURE__ */ (0, P.jsx)(ae, { className: "h-3 w-3 text-primary" }), /* @__PURE__ */ (0, P.jsx)("span", {
1254
+ className: "text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground",
1255
+ children: "Input"
1256
+ })]
1257
+ }), /* @__PURE__ */ (0, P.jsx)(S, {
1258
+ code: l,
1259
+ language: "json",
1260
+ className: "rounded-none border-0"
1261
+ })]
1262
+ }),
1263
+ r === "completed" && u && /* @__PURE__ */ (0, P.jsxs)("div", {
1264
+ className: "overflow-hidden rounded-[var(--radius-lg)] border border-border bg-card",
1265
+ children: [/* @__PURE__ */ (0, P.jsxs)("div", {
1266
+ className: "flex items-center gap-2 border-b border-border bg-background px-3 py-2",
1267
+ children: [/* @__PURE__ */ (0, P.jsx)(c, { className: "h-3 w-3 text-primary" }), /* @__PURE__ */ (0, P.jsx)("span", {
1268
+ className: "text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground",
1269
+ children: "Output"
1270
+ })]
1271
+ }), /* @__PURE__ */ (0, P.jsx)(Z, {
1272
+ fadeClassName: "from-card",
1273
+ toggleClassName: st,
1274
+ children: /* @__PURE__ */ (0, P.jsx)(S, {
1275
+ code: u.length > 2e3 ? u.slice(0, 2e3) + "\n...(truncated)" : u,
1276
+ language: "json",
1277
+ className: "rounded-none border-0"
1278
+ })
1279
+ })]
1280
+ }),
1281
+ s && /* @__PURE__ */ (0, P.jsxs)("div", {
1282
+ className: "overflow-hidden rounded-[var(--radius-lg)] border border-[var(--surface-danger-border)]",
1283
+ children: [/* @__PURE__ */ (0, P.jsxs)("div", {
1284
+ className: "flex items-center gap-2 border-b border-[var(--surface-danger-border)] bg-[var(--surface-danger-bg)] px-3 py-2",
1285
+ children: [/* @__PURE__ */ (0, P.jsx)(a, { className: "h-3 w-3 text-[var(--surface-danger-text)]" }), /* @__PURE__ */ (0, P.jsx)("span", {
1286
+ className: "text-xs font-medium uppercase tracking-[0.08em] text-[var(--surface-danger-text)]",
1287
+ children: "Error"
1288
+ })]
1289
+ }), /* @__PURE__ */ (0, P.jsx)(Z, {
1290
+ fadeClassName: "from-[var(--surface-danger-bg)]",
1291
+ toggleClassName: st,
1292
+ children: /* @__PURE__ */ (0, P.jsx)("pre", {
1293
+ className: "bg-[var(--surface-danger-bg)] p-3 text-xs font-mono whitespace-pre-wrap break-all text-[var(--surface-danger-text)]",
1294
+ children: s
1295
+ })
1296
+ })]
1297
+ }),
1298
+ (r === "pending" || r === "running") && /* @__PURE__ */ (0, P.jsxs)("div", {
1299
+ className: "flex items-center gap-2 rounded-[var(--radius-md)] border border-border bg-muted px-3 py-3 text-xs text-muted-foreground",
1300
+ children: [/* @__PURE__ */ (0, P.jsx)(T, { className: n("h-3 w-3 animate-spin text-primary") }), "Running…"]
1301
+ })
1302
+ ]
1303
+ });
1304
+ });
1305
+ dt.displayName = "ExpandedToolDetail";
1306
+ //#endregion
1307
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/run/run-row-shell.js
1308
+ function ft({ status: e }) {
1309
+ return e === "error" ? /* @__PURE__ */ (0, P.jsx)("span", {
1310
+ "data-run-row-status": "error",
1311
+ className: "h-1.5 w-1.5 shrink-0 rounded-full bg-[var(--surface-danger-text)]"
1312
+ }) : null;
1313
+ }
1314
+ var pt = {
1315
+ single: "rounded-[var(--radius-lg)]",
1316
+ first: "rounded-t-[var(--radius-lg)] rounded-b-[var(--radius-sm)]",
1317
+ middle: "rounded-[var(--radius-sm)]",
1318
+ last: "rounded-t-[var(--radius-sm)] rounded-b-[var(--radius-lg)]"
1319
+ }, mt = "px-2 py-1", ht = "pl-[2.375rem]";
1320
+ function Q({ icon: e, title: t, description: r, descriptionMono: i = !1, status: a = "idle", durationMs: s, groupPosition: c = "single", collapsedError: l, actions: d, open: f, onOpenChange: m, defaultOpen: h = !1, className: g, contentClassName: _, children: v }) {
1321
+ let [y, b] = (0, N.useState)(h), x = f !== void 0, S = x ? f : y, C = (e) => {
1322
+ x || b(e), m?.(e);
1323
+ }, te = a === "running", w = v != null;
1324
+ return /* @__PURE__ */ (0, P.jsx)(u, {
1325
+ open: S,
1326
+ onOpenChange: C,
1327
+ children: /* @__PURE__ */ (0, P.jsxs)("div", {
1328
+ className: "flex items-start gap-2",
1329
+ children: [/* @__PURE__ */ (0, P.jsxs)("div", {
1330
+ "data-run-row": "",
1331
+ "data-state": S ? "open" : "closed",
1332
+ className: n("group min-w-0 flex-1 overflow-hidden border transition-colors", S ? "border-border bg-[var(--md3-surface-container)]" : "border-transparent bg-transparent", w && !S && "hover:bg-[var(--md3-surface-container)]", pt[c], g),
1333
+ children: [
1334
+ /* @__PURE__ */ (0, P.jsx)(ee, {
1335
+ asChild: !0,
1336
+ disabled: !w,
1337
+ children: /* @__PURE__ */ (0, P.jsxs)("button", {
1338
+ type: "button",
1339
+ className: n("flex w-full items-center gap-2 text-left", mt, w ? "cursor-pointer" : "cursor-default"),
1340
+ children: [
1341
+ /* @__PURE__ */ (0, P.jsxs)("span", {
1342
+ "aria-hidden": !0,
1343
+ className: "flex h-[1.375rem] w-[1.375rem] shrink-0 items-center justify-center text-muted-foreground",
1344
+ children: [/* @__PURE__ */ (0, P.jsx)("span", {
1345
+ "data-run-row-glyph": "",
1346
+ className: n("flex items-center justify-center", w && "group-hover:hidden", S && "hidden"),
1347
+ children: e
1348
+ }), w ? /* @__PURE__ */ (0, P.jsx)(ne, {
1349
+ "data-run-row-chevron": "",
1350
+ className: n("hidden h-3.5 w-3.5 transition-transform group-hover:block", S && "block rotate-90")
1351
+ }) : null]
1352
+ }),
1353
+ /* @__PURE__ */ (0, P.jsx)("span", {
1354
+ className: n("shrink-0 whitespace-nowrap text-sm font-normal text-muted-foreground transition-colors group-hover:text-foreground", S && "text-foreground"),
1355
+ children: t
1356
+ }),
1357
+ r ? /* @__PURE__ */ (0, P.jsx)("span", {
1358
+ className: n("hidden min-w-0 flex-1 truncate text-sm text-muted-foreground transition-colors group-hover:text-foreground sm:inline", i && "font-mono"),
1359
+ children: r
1360
+ }) : null,
1361
+ /* @__PURE__ */ (0, P.jsxs)("span", {
1362
+ className: "ml-auto flex shrink-0 items-center gap-1.5",
1363
+ children: [!te && s != null ? /* @__PURE__ */ (0, P.jsx)("span", {
1364
+ "data-run-row-duration": "",
1365
+ className: "font-mono text-[10px] tabular-nums text-muted-foreground opacity-0 transition-opacity group-hover:opacity-100",
1366
+ children: p(s)
1367
+ }) : null, /* @__PURE__ */ (0, P.jsx)(ft, { status: a })]
1368
+ })
1369
+ ]
1370
+ })
1371
+ }),
1372
+ l && !S ? /* @__PURE__ */ (0, P.jsx)("div", {
1373
+ className: n("pb-1.5 pr-2 text-xs leading-snug text-[var(--surface-danger-text)]", ht),
1374
+ children: l
1375
+ }) : null,
1376
+ w ? /* @__PURE__ */ (0, P.jsx)(o, {
1377
+ className: "overflow-hidden data-[state=open]:animate-slideDown data-[state=closed]:animate-slideUp",
1378
+ children: /* @__PURE__ */ (0, P.jsx)("div", {
1379
+ className: n("border-t border-border", _),
1380
+ children: v
1381
+ })
1382
+ }) : null
1383
+ ]
1384
+ }), d ? /* @__PURE__ */ (0, P.jsx)("div", {
1385
+ className: "flex shrink-0 flex-wrap items-center justify-end gap-1.5 pt-1",
1386
+ onClick: (e) => e.stopPropagation(),
1387
+ children: d
1388
+ }) : null]
1389
+ })
1390
+ });
1391
+ }
1392
+ //#endregion
1393
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/run/inline-tool-item.js
1394
+ var gt = {
1395
+ command: ie,
1396
+ write: ue,
1397
+ read: fe,
1398
+ search: D,
1399
+ edit: ve,
1400
+ task: te,
1401
+ web: O,
1402
+ todo: ce,
1403
+ other: be
1404
+ };
1405
+ function _t(e) {
1406
+ return e === "pending" || e === "running" ? "running" : e === "error" ? "error" : "success";
1407
+ }
1408
+ var $ = (0, N.memo)(({ part: e, renderToolDetail: t, groupPosition: r = "single", className: i, contentClassName: a, actions: o, title: s, description: c }) => {
1409
+ let l = z(e), u = s ?? l.title, d = c ?? l.description, f = Ne(e), p = e.state.time?.start, m = e.state.time?.end, h = p != null && m != null ? m - p : void 0, g = gt[Me(e.tool)] ?? be, _ = _t(e.state.status);
1410
+ return /* @__PURE__ */ (0, P.jsx)(Q, {
1411
+ icon: /* @__PURE__ */ (0, P.jsx)(g, { className: "h-3.5 w-3.5" }),
1412
+ title: _ === "running" ? /* @__PURE__ */ (0, P.jsx)(x, { children: u }) : u,
1413
+ description: d,
1414
+ descriptionMono: !0,
1415
+ status: _,
1416
+ durationMs: h,
1417
+ groupPosition: r,
1418
+ collapsedError: f ?? void 0,
1419
+ actions: o,
1420
+ className: i,
1421
+ contentClassName: n("p-2", a),
1422
+ children: t?.(e) ?? /* @__PURE__ */ (0, P.jsx)(dt, { part: e })
1423
+ });
1424
+ });
1425
+ $.displayName = "InlineToolItem";
1426
+ //#endregion
1427
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/run/inline-thinking-item.js
1428
+ var vt = (0, N.memo)(({ part: e, defaultOpen: t = !1, autoCollapse: n = !0, openWhileActive: r = !0, className: i, contentClassName: a }) => {
1429
+ let [o, s] = (0, N.useState)(t), c = (0, N.useRef)(!1), l = e.time?.start, u = e.time?.end, d = l != null && u != null ? u - l : void 0, f = l != null && u == null, p = e.text ? y(g(e.text), 120) : void 0;
1430
+ return (0, N.useEffect)(() => {
1431
+ if (f) {
1432
+ c.current = !1, r && s(!0);
1433
+ return;
1434
+ }
1435
+ if (n && !c.current && d != null) {
1436
+ let e = window.setTimeout(() => {
1437
+ s(!1), c.current = !0;
1438
+ }, 900);
1439
+ return () => window.clearTimeout(e);
1440
+ }
1441
+ }, [
1442
+ n,
1443
+ d,
1444
+ f,
1445
+ r
1446
+ ]), /* @__PURE__ */ (0, P.jsx)(Q, {
1447
+ icon: /* @__PURE__ */ (0, P.jsx)(oe, { className: "h-3.5 w-3.5" }),
1448
+ title: f ? /* @__PURE__ */ (0, P.jsx)(x, { children: "Thinking…" }) : "Reasoning",
1449
+ description: p,
1450
+ status: f ? "running" : "idle",
1451
+ durationMs: d,
1452
+ open: o,
1453
+ onOpenChange: s,
1454
+ className: i,
1455
+ children: e.text ? /* @__PURE__ */ (0, P.jsx)(Z, {
1456
+ fadeClassName: "from-[var(--md3-surface-container)]",
1457
+ className: a ? `px-3 py-3 ${a}` : "px-3 py-3",
1458
+ children: /* @__PURE__ */ (0, P.jsx)("div", {
1459
+ className: "text-sm leading-relaxed text-foreground",
1460
+ children: /* @__PURE__ */ (0, P.jsx)(v, { children: e.text })
1461
+ })
1462
+ }) : /* @__PURE__ */ (0, P.jsx)("div", {
1463
+ className: "px-3 py-2.5 text-xs text-muted-foreground",
1464
+ children: "No reasoning text provided."
1465
+ })
1466
+ });
1467
+ });
1468
+ vt.displayName = "InlineThinkingItem";
1469
+ //#endregion
1470
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/chat/thinking-indicator.js
1471
+ function yt({ className: e }) {
1472
+ let [t, r] = (0, N.useState)(0);
1473
+ return (0, N.useEffect)(() => {
1474
+ let e = window.setInterval(() => r((e) => e + 1), 1e3);
1475
+ return () => window.clearInterval(e);
1476
+ }, []), /* @__PURE__ */ (0, P.jsxs)("div", {
1477
+ role: "status",
1478
+ "aria-label": "Agent is thinking",
1479
+ className: n("flex items-center gap-2 px-3 py-1.5", e),
1480
+ children: [/* @__PURE__ */ (0, P.jsxs)("div", {
1481
+ className: "flex gap-[3px]",
1482
+ children: [
1483
+ /* @__PURE__ */ (0, P.jsx)("span", {
1484
+ className: "h-[var(--indicator-dot-size)] w-[var(--indicator-dot-size)] animate-bounce rounded-full bg-[var(--brand-glow)]",
1485
+ style: { animationDelay: "0ms" }
1486
+ }),
1487
+ /* @__PURE__ */ (0, P.jsx)("span", {
1488
+ className: "h-[var(--indicator-dot-size)] w-[var(--indicator-dot-size)] animate-bounce rounded-full bg-[var(--brand-glow)]",
1489
+ style: { animationDelay: "150ms" }
1490
+ }),
1491
+ /* @__PURE__ */ (0, P.jsx)("span", {
1492
+ className: "h-[var(--indicator-dot-size)] w-[var(--indicator-dot-size)] animate-bounce rounded-full bg-[var(--brand-glow)]",
1493
+ style: { animationDelay: "300ms" }
1494
+ })
1495
+ ]
1496
+ }), t > 3 && /* @__PURE__ */ (0, P.jsxs)("span", {
1497
+ className: "text-[length:var(--font-size-xs)] tabular-nums text-muted-foreground",
1498
+ children: [t, "s"]
1499
+ })]
1500
+ });
1501
+ }
1502
+ //#endregion
1503
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/run/tool-call-step.js
1504
+ var bt = {
1505
+ ts: "typescript",
1506
+ tsx: "typescript",
1507
+ js: "javascript",
1508
+ jsx: "javascript",
1509
+ mjs: "javascript",
1510
+ cjs: "javascript",
1511
+ css: "css",
1512
+ scss: "scss",
1513
+ json: "json",
1514
+ jsonc: "json",
1515
+ md: "markdown",
1516
+ mdx: "markdown",
1517
+ py: "python",
1518
+ sh: "bash",
1519
+ bash: "bash",
1520
+ zsh: "bash",
1521
+ html: "html",
1522
+ htm: "html",
1523
+ yaml: "yaml",
1524
+ yml: "yaml",
1525
+ toml: "toml",
1526
+ rs: "rust",
1527
+ go: "go",
1528
+ sql: "sql",
1529
+ xml: "xml"
1530
+ };
1531
+ function xt(e, t) {
1532
+ if (t) return t;
1533
+ if (!e) return;
1534
+ let n = e.split(".").pop()?.toLowerCase();
1535
+ return n ? bt[n] : void 0;
1536
+ }
1537
+ var St = {
1538
+ running: "running",
1539
+ success: "completed",
1540
+ error: "error"
1541
+ };
1542
+ function Ct({ type: e, label: t, status: n, detail: r, output: i, language: a, duration: o, className: s, actions: c, part: l }) {
1543
+ let u = l ?? {
1544
+ type: "tool",
1545
+ id: `${e}:${t}`,
1546
+ tool: e,
1547
+ state: {
1548
+ status: St[n],
1549
+ input: r ? { detail: r } : void 0,
1550
+ output: i,
1551
+ time: o == null ? void 0 : {
1552
+ start: 0,
1553
+ end: o
1554
+ }
1555
+ }
1556
+ }, d = xt(r, a);
1557
+ return /* @__PURE__ */ (0, P.jsx)($, {
1558
+ part: u,
1559
+ title: t,
1560
+ description: r,
1561
+ className: s,
1562
+ actions: c,
1563
+ renderToolDetail: l ? void 0 : i ? () => /* @__PURE__ */ (0, P.jsx)(S, {
1564
+ code: i,
1565
+ language: d,
1566
+ className: "max-h-72 overflow-auto text-xs"
1567
+ }) : () => null
1568
+ });
1569
+ }
1570
+ function wt({ title: e, children: t, className: r }) {
1571
+ return /* @__PURE__ */ (0, P.jsx)("div", {
1572
+ role: "group",
1573
+ "aria-label": e,
1574
+ className: n("flex flex-col gap-1", r),
1575
+ children: t
1576
+ });
1577
+ }
1578
+ //#endregion
1579
+ //#region node_modules/.pnpm/@tangle-network+ui@11.45.0_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__@shik_0322641ea7259db144aea455fa18d1ea/node_modules/@tangle-network/ui/dist/chat/agent-timeline.js
1580
+ var Tt = {
1581
+ default: {
1582
+ card: "border-border bg-card",
1583
+ text: "text-foreground",
1584
+ supportingText: "text-muted-foreground",
1585
+ icon: se
1586
+ },
1587
+ info: {
1588
+ card: "border-[var(--surface-info-border)] bg-[var(--surface-info-bg)]",
1589
+ text: "text-[var(--surface-info-text)]",
1590
+ supportingText: "text-[var(--surface-info-text)]",
1591
+ icon: s
1592
+ },
1593
+ success: {
1594
+ card: "border-[var(--surface-success-border)] bg-[var(--surface-success-bg)]",
1595
+ text: "text-[var(--surface-success-text)]",
1596
+ supportingText: "text-[var(--surface-success-text)]",
1597
+ icon: re
1598
+ },
1599
+ warning: {
1600
+ card: "border-[var(--surface-warning-border)] bg-[var(--surface-warning-bg)]",
1601
+ text: "text-[var(--surface-warning-text)]",
1602
+ supportingText: "text-[var(--surface-warning-text)]",
1603
+ icon: w
1604
+ },
1605
+ error: {
1606
+ card: "border-[var(--surface-danger-border)] bg-[var(--surface-danger-bg)]",
1607
+ text: "text-[var(--surface-danger-text)]",
1608
+ supportingText: "text-[var(--surface-danger-text)]",
1609
+ icon: w
1610
+ }
1611
+ };
1612
+ function Et(e) {
1613
+ return e.kind === "message" ? e.role === "user" ? "user" : "prose" : e.kind === "status" || e.kind === "artifact" ? "card" : "tool";
1614
+ }
1615
+ function Dt(e, t) {
1616
+ return e === void 0 ? "" : e === "user" || t === "user" ? "mt-4" : e === "card" || t === "card" ? "mt-2" : e === "tool" || t === "tool" ? "mt-1" : "mt-3";
1617
+ }
1618
+ var Ot = "-mx-3", kt = "[&>:last-child:not(ul,ol)]:after:ml-0.5 [&>:last-child:not(ul,ol)]:after:inline-block [&>:last-child:not(ul,ol)]:after:h-[1em] [&>:last-child:not(ul,ol)]:after:w-0.5 [&>:last-child:not(ul,ol)]:after:animate-pulse [&>:last-child:not(ul,ol)]:after:rounded-full [&>:last-child:not(ul,ol)]:after:bg-muted-foreground [&>:last-child:not(ul,ol)]:after:align-text-bottom [&>:last-child:not(ul,ol)]:after:content-[''] [&>:is(ul,ol):last-child>li:last-child]:after:ml-0.5 [&>:is(ul,ol):last-child>li:last-child]:after:inline-block [&>:is(ul,ol):last-child>li:last-child]:after:h-[1em] [&>:is(ul,ol):last-child>li:last-child]:after:w-0.5 [&>:is(ul,ol):last-child>li:last-child]:after:animate-pulse [&>:is(ul,ol):last-child>li:last-child]:after:rounded-full [&>:is(ul,ol):last-child>li:last-child]:after:bg-muted-foreground [&>:is(ul,ol):last-child>li:last-child]:after:align-text-bottom [&>:is(ul,ol):last-child>li:last-child]:after:content-['']";
1619
+ function At({ item: e, author: t }) {
1620
+ return /* @__PURE__ */ (0, P.jsxs)("div", { children: [
1621
+ t && /* @__PURE__ */ (0, P.jsx)(Ce, {
1622
+ author: t,
1623
+ className: "mb-1.5"
1624
+ }),
1625
+ e.content && /* @__PURE__ */ (0, P.jsx)(v, {
1626
+ className: n("tangle-prose", "tangle-transcript-text text-[length:var(--transcript-font-size)] leading-[var(--transcript-line-height)]", e.isStreaming && kt),
1627
+ children: e.content
1628
+ }),
1629
+ e.isStreaming && !e.content && /* @__PURE__ */ (0, P.jsx)("span", {
1630
+ "aria-hidden": !0,
1631
+ "data-streaming-caret": "",
1632
+ className: "ml-0.5 inline-block h-[1em] w-0.5 animate-pulse rounded-full bg-muted-foreground align-text-bottom"
1633
+ }),
1634
+ e.toolCalls && /* @__PURE__ */ (0, P.jsx)("div", {
1635
+ className: "mt-1",
1636
+ children: e.toolCalls
1637
+ }),
1638
+ e.after && /* @__PURE__ */ (0, P.jsx)("div", {
1639
+ className: "mt-3 border-t border-border pt-3",
1640
+ children: e.after
1641
+ })
1642
+ ] });
1643
+ }
1644
+ function jt({ item: e }) {
1645
+ let t = Tt[e.tone ?? "default"], r = t.icon;
1646
+ return /* @__PURE__ */ (0, P.jsx)("div", {
1647
+ className: n("rounded-[var(--radius-lg)] border px-4 py-3", t.card),
1648
+ children: /* @__PURE__ */ (0, P.jsxs)("div", {
1649
+ className: "flex items-start gap-3",
1650
+ children: [/* @__PURE__ */ (0, P.jsx)(r, { className: n("mt-0.5 h-4 w-4 shrink-0", t.text) }), /* @__PURE__ */ (0, P.jsxs)("div", {
1651
+ className: "min-w-0",
1652
+ children: [/* @__PURE__ */ (0, P.jsx)("div", {
1653
+ className: n("text-sm font-medium", t.text),
1654
+ children: e.label
1655
+ }), e.detail && /* @__PURE__ */ (0, P.jsx)("div", {
1656
+ className: n("mt-0.5 text-sm", t.supportingText),
1657
+ children: e.detail
1658
+ })]
1659
+ })]
1660
+ })
1661
+ });
1662
+ }
1663
+ function Mt({ item: e }) {
1664
+ let t = Tt[e.tone ?? "default"], r = /* @__PURE__ */ (0, P.jsx)("div", {
1665
+ className: n("rounded-[var(--radius-lg)] border px-4 py-3", t.card),
1666
+ children: /* @__PURE__ */ (0, P.jsxs)("div", {
1667
+ className: "flex items-start gap-3",
1668
+ children: [
1669
+ /* @__PURE__ */ (0, P.jsx)("div", {
1670
+ className: "mt-0.5 flex h-[var(--avatar-size)] w-[var(--avatar-size)] shrink-0 items-center justify-center rounded-[var(--radius-md)] bg-muted/50 text-foreground",
1671
+ children: e.icon ?? /* @__PURE__ */ (0, P.jsx)(E, { className: "h-4 w-4" })
1672
+ }),
1673
+ /* @__PURE__ */ (0, P.jsxs)("div", {
1674
+ className: "min-w-0 flex-1",
1675
+ children: [
1676
+ /* @__PURE__ */ (0, P.jsx)("div", {
1677
+ className: n("text-sm font-medium", t.text),
1678
+ children: e.title
1679
+ }),
1680
+ e.description && /* @__PURE__ */ (0, P.jsx)("div", {
1681
+ className: n("mt-1 text-sm", t.supportingText),
1682
+ children: e.description
1683
+ }),
1684
+ e.meta && /* @__PURE__ */ (0, P.jsx)("div", {
1685
+ className: n("mt-2 flex flex-wrap items-center gap-2 text-xs", t.supportingText),
1686
+ children: e.meta
1687
+ })
1688
+ ]
1689
+ }),
1690
+ e.action && /* @__PURE__ */ (0, P.jsx)("div", {
1691
+ className: "shrink-0",
1692
+ children: e.action
1693
+ })
1694
+ ]
1695
+ })
1696
+ });
1697
+ return e.onClick ? /* @__PURE__ */ (0, P.jsx)("div", {
1698
+ role: "button",
1699
+ tabIndex: 0,
1700
+ onClick: e.onClick,
1701
+ onKeyDown: (t) => {
1702
+ (t.key === "Enter" || t.key === " ") && (t.preventDefault(), e.onClick?.());
1703
+ },
1704
+ className: n("block w-full rounded-[var(--radius-lg)] text-left transition-transform hover:-translate-y-0.5", i),
1705
+ children: r
1706
+ }) : r;
1707
+ }
1708
+ function Nt({ items: e, isThinking: t, emptyState: r, className: i, renderToolActions: a, collapseAfter: o, viewerId: s }) {
1709
+ let [c, l] = (0, N.useState)(!1);
1710
+ if (e.length === 0 && !t) return r ? /* @__PURE__ */ (0, P.jsx)("div", {
1711
+ className: n("flex h-full items-center justify-center p-4", i),
1712
+ children: r
1713
+ }) : null;
1714
+ let u = t ? [...e, {
1715
+ id: "__thinking__",
1716
+ kind: "custom",
1717
+ content: /* @__PURE__ */ (0, P.jsx)(yt, {})
1718
+ }] : e, d = (e) => e.kind === "message" && e.role === "user", f = u.filter((e) => !d(e)), p = o ?? Infinity, m = f.length > p, h = m && !c, g = u, _ = 0;
1719
+ if (h) {
1720
+ let e = [], t = 0;
1721
+ for (let n of u) {
1722
+ if (t >= p) break;
1723
+ e.push(n), d(n) || (t += 1);
1724
+ }
1725
+ g = e, _ = f.length - p;
1726
+ }
1727
+ let v = /* @__PURE__ */ new Set(), y;
1728
+ for (let e of g) if (e.kind === "message") {
1729
+ if (e.role === "user") {
1730
+ y = void 0;
1731
+ continue;
1732
+ }
1733
+ e.author && e.author.id !== y && v.add(e.id), y = e.author?.id;
1734
+ }
1735
+ let b = (e) => e.kind === "message" ? e.role === "user" ? /* @__PURE__ */ (0, P.jsx)(I, {
1736
+ content: e.content,
1737
+ timestamp: e.timestamp,
1738
+ author: e.author,
1739
+ viewerId: s
1740
+ }) : /* @__PURE__ */ (0, P.jsx)(At, {
1741
+ item: e,
1742
+ author: v.has(e.id) ? e.author : void 0
1743
+ }) : e.kind === "tool" ? /* @__PURE__ */ (0, P.jsx)(Ct, {
1744
+ type: e.call.type,
1745
+ label: e.call.label,
1746
+ status: e.call.status,
1747
+ detail: e.call.detail,
1748
+ output: e.call.output,
1749
+ duration: e.call.duration,
1750
+ part: e.part,
1751
+ actions: e.part ? a?.(e.part) : void 0
1752
+ }) : e.kind === "tool_group" ? /* @__PURE__ */ (0, P.jsx)(wt, {
1753
+ title: e.title,
1754
+ children: e.calls.map((t, n) => {
1755
+ let r = e.parts?.[n];
1756
+ return /* @__PURE__ */ (0, P.jsx)(Ct, {
1757
+ type: t.type,
1758
+ label: t.label,
1759
+ status: t.status,
1760
+ detail: t.detail,
1761
+ output: t.output,
1762
+ duration: t.duration,
1763
+ part: r,
1764
+ actions: r ? a?.(r) : void 0
1765
+ }, t.id);
1766
+ })
1767
+ }) : e.kind === "status" ? /* @__PURE__ */ (0, P.jsx)(jt, { item: e }) : e.kind === "artifact" ? /* @__PURE__ */ (0, P.jsx)(Mt, { item: e }) : e.content;
1768
+ return /* @__PURE__ */ (0, P.jsxs)("div", {
1769
+ className: n("mx-auto flex w-full max-w-5xl flex-col px-4 py-4", i),
1770
+ children: [g.map((e, t) => {
1771
+ let r = Et(e), i = t > 0 ? Et(g[t - 1]) : void 0;
1772
+ return /* @__PURE__ */ (0, P.jsx)("div", {
1773
+ "data-timeline-step": r,
1774
+ className: n(Dt(i, r), r === "tool" && Ot),
1775
+ children: b(e)
1776
+ }, e.id);
1777
+ }), m ? /* @__PURE__ */ (0, P.jsx)("button", {
1778
+ type: "button",
1779
+ onClick: () => l((e) => !e),
1780
+ className: "mt-2 self-start text-xs font-medium text-muted-foreground transition-colors hover:text-foreground",
1781
+ children: h ? `Show ${_} more step${_ === 1 ? "" : "s"}` : "Show less"
1782
+ }) : null]
1783
+ });
1784
+ }
1785
+ //#endregion
1786
+ export { I as a, z as i, vt as n, Q as r, Nt as t };