@hanzo/dev 4.0.1 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (369) hide show
  1. package/LICENSE +21 -0
  2. package/dist/{BinaryViewer-qn8xfPZp.js → BinaryViewer-CmFUK4zZ.js} +2 -2
  3. package/dist/{ChatMarkdown-Cyujn3JJ.js → ChatMarkdown-nvEI7iCv.js} +4 -4
  4. package/dist/{DiffCommentAnnotation-BZu1TP6E.js → DiffCommentAnnotation-BPTN_2a6.js} +1 -1
  5. package/dist/{DiffFileTree-CcJ91zOM.js → DiffFileTree-B_br90vY.js} +2 -2
  6. package/dist/{DiffPanel-BXC88NMs.js → DiffPanel-V5R5TPuK.js} +5 -5
  7. package/dist/{ExpandedImageDialog-BZnGRBJR.js → ExpandedImageDialog-CAorLacL.js} +1 -1
  8. package/dist/{FileExplorerPane-vBJS6V75.js → FileExplorerPane-CeHulcPz.js} +1 -1
  9. package/dist/{FilePreviewPanel-jJHWsMzm.js → FilePreviewPanel-BVNLvWOc.js} +8 -8
  10. package/dist/{MermaidDiagram-paNwQY33.js → MermaidDiagram-CTolIzQD.js} +1 -1
  11. package/dist/{MermaidFilePreview-B9KxfnIN.js → MermaidFilePreview-CP2zP4FU.js} +1 -1
  12. package/dist/{MermaidViewer-CAEGpLyD.js → MermaidViewer-BDfYkS9E.js} +2 -2
  13. package/dist/{NotebookPreview-D01mMCpR.js → NotebookPreview-Cybs5uM0.js} +1 -1
  14. package/dist/{OfficeFilePreview-DWaRgfQU.js → OfficeFilePreview-7JsmSoKU.js} +1 -1
  15. package/dist/{OfficeViewer-BudrZbBA.js → OfficeViewer-CJoojlJK.js} +1 -1
  16. package/dist/{OpenInPicker-Dd3ifHa1.js → OpenInPicker-BIMWUxBP.js} +7 -7
  17. package/dist/{OpenXmlOfficeViewer-CXcKdq7k.js → OpenXmlOfficeViewer-C24Kj8DM.js} +1 -1
  18. package/dist/{PreviewImage-C4Ku4z7v.js → PreviewImage-oY5YnuTr.js} +1 -1
  19. package/dist/{PreviewImageContent-BwOB9Lyd.js → PreviewImageContent-n6eLzY99.js} +1 -1
  20. package/dist/{PullRequestCodeTab-BcwyMk7d.js → PullRequestCodeTab-Dv_0kVad.js} +7 -7
  21. package/dist/{PullRequestReviewAnnotation-BU5t_1fC.js → PullRequestReviewAnnotation-LeuwO-iH.js} +4 -4
  22. package/dist/builder/activity.d.ts +16 -0
  23. package/dist/builder/activity.js +51 -0
  24. package/dist/builder/address.d.ts +11 -0
  25. package/dist/builder/address.js +50 -0
  26. package/dist/builder/ago.d.ts +2 -0
  27. package/dist/builder/ago.js +18 -0
  28. package/dist/builder/api/agents.d.ts +139 -0
  29. package/dist/builder/api/agents.js +253 -0
  30. package/dist/builder/api/auto.d.ts +166 -0
  31. package/dist/builder/api/auto.js +300 -0
  32. package/dist/builder/api/billing.d.ts +263 -0
  33. package/dist/builder/api/billing.js +401 -0
  34. package/dist/builder/api/call.d.ts +53 -0
  35. package/dist/builder/api/call.js +123 -0
  36. package/dist/builder/api/capabilities.d.ts +14 -0
  37. package/dist/builder/api/capabilities.js +41 -0
  38. package/dist/builder/api/changes.d.ts +74 -0
  39. package/dist/builder/api/changes.js +75 -0
  40. package/dist/builder/api/chat.d.ts +12 -0
  41. package/dist/builder/api/chat.js +28 -0
  42. package/dist/builder/api/cli.d.ts +59 -0
  43. package/dist/builder/api/cli.js +133 -0
  44. package/dist/builder/api/codebases.d.ts +46 -0
  45. package/dist/builder/api/codebases.js +100 -0
  46. package/dist/builder/api/coding.d.ts +117 -0
  47. package/dist/builder/api/coding.js +222 -0
  48. package/dist/builder/api/connectors.d.ts +76 -0
  49. package/dist/builder/api/connectors.js +111 -0
  50. package/dist/builder/api/consent.d.ts +22 -0
  51. package/dist/builder/api/consent.js +28 -0
  52. package/dist/builder/api/conversations.d.ts +20 -0
  53. package/dist/builder/api/conversations.js +23 -0
  54. package/dist/builder/api/draft.d.ts +38 -0
  55. package/dist/builder/api/draft.js +87 -0
  56. package/dist/builder/api/environment.d.ts +55 -0
  57. package/dist/builder/api/environment.js +126 -0
  58. package/dist/builder/api/gallery.d.ts +32 -0
  59. package/dist/builder/api/gallery.js +85 -0
  60. package/dist/builder/api/git.d.ts +31 -0
  61. package/dist/builder/api/git.js +47 -0
  62. package/dist/builder/api/github.d.ts +176 -0
  63. package/dist/builder/api/github.js +271 -0
  64. package/dist/builder/api/keys.d.ts +35 -0
  65. package/dist/builder/api/keys.js +72 -0
  66. package/dist/builder/api/library.d.ts +116 -0
  67. package/dist/builder/api/library.js +214 -0
  68. package/dist/builder/api/limits.d.ts +69 -0
  69. package/dist/builder/api/limits.js +86 -0
  70. package/dist/builder/api/links.d.ts +51 -0
  71. package/dist/builder/api/links.js +75 -0
  72. package/dist/builder/api/machines.d.ts +122 -0
  73. package/dist/builder/api/machines.js +238 -0
  74. package/dist/builder/api/mcp.d.ts +10 -0
  75. package/dist/builder/api/mcp.js +47 -0
  76. package/dist/builder/api/members.d.ts +35 -0
  77. package/dist/builder/api/members.js +95 -0
  78. package/dist/builder/api/memory.d.ts +14 -0
  79. package/dist/builder/api/memory.js +35 -0
  80. package/dist/builder/api/models.d.ts +17 -0
  81. package/dist/builder/api/models.js +20 -0
  82. package/dist/builder/api/places.d.ts +32 -0
  83. package/dist/builder/api/places.js +29 -0
  84. package/dist/builder/api/platform.d.ts +68 -0
  85. package/dist/builder/api/platform.js +87 -0
  86. package/dist/builder/api/plugins.d.ts +42 -0
  87. package/dist/builder/api/plugins.js +175 -0
  88. package/dist/builder/api/pref.d.ts +77 -0
  89. package/dist/builder/api/pref.js +93 -0
  90. package/dist/builder/api/profile.d.ts +11 -0
  91. package/dist/builder/api/profile.js +41 -0
  92. package/dist/builder/api/projects.d.ts +99 -0
  93. package/dist/builder/api/projects.js +166 -0
  94. package/dist/builder/api/provider.d.ts +49 -0
  95. package/dist/builder/api/provider.js +96 -0
  96. package/dist/builder/api/sandbox.d.ts +90 -0
  97. package/dist/builder/api/sandbox.js +223 -0
  98. package/dist/builder/api/sessions.d.ts +123 -0
  99. package/dist/builder/api/sessions.js +255 -0
  100. package/dist/builder/api/skills.d.ts +82 -0
  101. package/dist/builder/api/skills.js +117 -0
  102. package/dist/builder/api/sse.d.ts +24 -0
  103. package/dist/builder/api/sse.js +68 -0
  104. package/dist/builder/api/studio.d.ts +59 -0
  105. package/dist/builder/api/studio.js +91 -0
  106. package/dist/builder/api/talk.d.ts +48 -0
  107. package/dist/builder/api/talk.js +81 -0
  108. package/dist/builder/api/tools.d.ts +34 -0
  109. package/dist/builder/api/tools.js +37 -0
  110. package/dist/builder/api/turn.d.ts +202 -0
  111. package/dist/builder/api/turn.js +772 -0
  112. package/dist/builder/api/verdict.d.ts +3 -0
  113. package/dist/builder/api/verdict.js +21 -0
  114. package/dist/builder/api/webhooks.d.ts +47 -0
  115. package/dist/builder/api/webhooks.js +82 -0
  116. package/dist/builder/api/work.d.ts +110 -0
  117. package/dist/builder/api/work.js +218 -0
  118. package/dist/builder/ask.d.ts +51 -0
  119. package/dist/builder/ask.js +147 -0
  120. package/dist/builder/automations.d.ts +33 -0
  121. package/dist/builder/automations.js +453 -0
  122. package/dist/builder/awake.d.ts +24 -0
  123. package/dist/builder/awake.js +68 -0
  124. package/dist/builder/back.d.ts +30 -0
  125. package/dist/builder/back.js +105 -0
  126. package/dist/builder/builder.d.ts +12 -0
  127. package/dist/builder/builder.js +162 -0
  128. package/dist/builder/carry.d.ts +48 -0
  129. package/dist/builder/carry.js +278 -0
  130. package/dist/builder/choice.d.ts +134 -0
  131. package/dist/builder/choice.js +152 -0
  132. package/dist/builder/claims.d.ts +13 -0
  133. package/dist/builder/claims.js +35 -0
  134. package/dist/builder/clipboard.d.ts +2 -0
  135. package/dist/builder/clipboard.js +10 -0
  136. package/dist/builder/customize/agents.d.ts +11 -0
  137. package/dist/builder/customize/agents.js +513 -0
  138. package/dist/builder/customize/connectors.d.ts +2 -0
  139. package/dist/builder/customize/connectors.js +319 -0
  140. package/dist/builder/customize/drafted.d.ts +4 -0
  141. package/dist/builder/customize/drafted.js +92 -0
  142. package/dist/builder/customize/index.d.ts +8 -0
  143. package/dist/builder/customize/index.js +127 -0
  144. package/dist/builder/customize/inventory.d.ts +14 -0
  145. package/dist/builder/customize/inventory.js +127 -0
  146. package/dist/builder/customize/load.d.ts +9 -0
  147. package/dist/builder/customize/load.js +22 -0
  148. package/dist/builder/customize/ocean.d.ts +41 -0
  149. package/dist/builder/customize/ocean.js +332 -0
  150. package/dist/builder/customize/plugins.d.ts +2 -0
  151. package/dist/builder/customize/plugins.js +136 -0
  152. package/dist/builder/customize/roles.d.ts +4 -0
  153. package/dist/builder/customize/roles.js +105 -0
  154. package/dist/builder/customize/say.d.ts +13 -0
  155. package/dist/builder/customize/say.js +32 -0
  156. package/dist/builder/customize/skills.d.ts +2 -0
  157. package/dist/builder/customize/skills.js +208 -0
  158. package/dist/builder/customize/ui.d.ts +152 -0
  159. package/dist/builder/customize/ui.js +208 -0
  160. package/dist/builder/data.d.ts +57 -0
  161. package/dist/builder/data.js +322 -0
  162. package/dist/builder/design.d.ts +140 -0
  163. package/dist/builder/design.js +175 -0
  164. package/dist/builder/desk.d.ts +48 -0
  165. package/dist/builder/desk.js +449 -0
  166. package/dist/builder/dev-mode.d.ts +43 -0
  167. package/dist/builder/dev-mode.js +120 -0
  168. package/dist/builder/door.d.ts +11 -0
  169. package/dist/builder/door.js +126 -0
  170. package/dist/builder/environment.d.ts +23 -0
  171. package/dist/builder/environment.js +193 -0
  172. package/dist/builder/files.d.ts +23 -0
  173. package/dist/builder/files.js +175 -0
  174. package/dist/builder/find.d.ts +7 -0
  175. package/dist/builder/find.js +80 -0
  176. package/dist/builder/foot.d.ts +30 -0
  177. package/dist/builder/foot.js +79 -0
  178. package/dist/builder/forge.d.ts +4 -0
  179. package/dist/builder/forge.js +570 -0
  180. package/dist/builder/gear.d.ts +60 -0
  181. package/dist/builder/gear.js +180 -0
  182. package/dist/builder/git.d.ts +21 -0
  183. package/dist/builder/git.js +118 -0
  184. package/dist/builder/gutter.d.ts +17 -0
  185. package/dist/builder/gutter.js +25 -0
  186. package/dist/builder/handoff.d.ts +8 -0
  187. package/dist/builder/handoff.js +22 -0
  188. package/dist/builder/host.d.ts +189 -0
  189. package/dist/builder/host.js +46 -0
  190. package/dist/builder/index.d.ts +108 -0
  191. package/dist/builder/index.js +99 -0
  192. package/dist/builder/landing.d.ts +34 -0
  193. package/dist/builder/landing.js +725 -0
  194. package/dist/builder/library.d.ts +21 -0
  195. package/dist/builder/library.js +526 -0
  196. package/dist/builder/local.d.ts +80 -0
  197. package/dist/builder/local.js +124 -0
  198. package/dist/builder/make.d.ts +10 -0
  199. package/dist/builder/make.js +120 -0
  200. package/dist/builder/markdown.d.ts +49 -0
  201. package/dist/builder/markdown.js +125 -0
  202. package/dist/builder/marks.d.ts +15 -0
  203. package/dist/builder/marks.js +18 -0
  204. package/dist/builder/merge.d.ts +223 -0
  205. package/dist/builder/merge.js +380 -0
  206. package/dist/builder/meter.d.ts +31 -0
  207. package/dist/builder/meter.js +54 -0
  208. package/dist/builder/mind.d.ts +107 -0
  209. package/dist/builder/mind.js +335 -0
  210. package/dist/builder/names.d.ts +40 -0
  211. package/dist/builder/names.js +189 -0
  212. package/dist/builder/nav.d.ts +28 -0
  213. package/dist/builder/nav.js +218 -0
  214. package/dist/builder/out.d.ts +16 -0
  215. package/dist/builder/out.js +24 -0
  216. package/dist/builder/page.d.ts +55 -0
  217. package/dist/builder/page.js +217 -0
  218. package/dist/builder/pane.d.ts +30 -0
  219. package/dist/builder/pane.js +21 -0
  220. package/dist/builder/panel.d.ts +101 -0
  221. package/dist/builder/panel.js +408 -0
  222. package/dist/builder/pdf.d.ts +139 -0
  223. package/dist/builder/pdf.js +847 -0
  224. package/dist/builder/pick.d.ts +10 -0
  225. package/dist/builder/pick.js +38 -0
  226. package/dist/builder/plain.d.ts +59 -0
  227. package/dist/builder/plain.js +209 -0
  228. package/dist/builder/plan.d.ts +63 -0
  229. package/dist/builder/plan.js +155 -0
  230. package/dist/builder/plans.d.ts +1 -0
  231. package/dist/builder/plans.js +157 -0
  232. package/dist/builder/plugin.d.ts +60 -0
  233. package/dist/builder/plugin.js +1 -0
  234. package/dist/builder/plugins/design.d.ts +8 -0
  235. package/dist/builder/plugins/design.js +71 -0
  236. package/dist/builder/plugins/index.d.ts +46 -0
  237. package/dist/builder/plugins/index.js +117 -0
  238. package/dist/builder/plugins/pdf.d.ts +18 -0
  239. package/dist/builder/plugins/pdf.js +83 -0
  240. package/dist/builder/plugins/project.d.ts +5 -0
  241. package/dist/builder/plugins/project.js +68 -0
  242. package/dist/builder/plugins/research.d.ts +24 -0
  243. package/dist/builder/plugins/research.js +147 -0
  244. package/dist/builder/plugins/sketch.d.ts +9 -0
  245. package/dist/builder/plugins/sketch.js +101 -0
  246. package/dist/builder/plugins/slides.d.ts +14 -0
  247. package/dist/builder/plugins/slides.js +55 -0
  248. package/dist/builder/plugins/template.d.ts +13 -0
  249. package/dist/builder/plugins/template.js +95 -0
  250. package/dist/builder/prefs.d.ts +29 -0
  251. package/dist/builder/prefs.js +91 -0
  252. package/dist/builder/preview-url.d.ts +47 -0
  253. package/dist/builder/preview-url.js +107 -0
  254. package/dist/builder/project.d.ts +18 -0
  255. package/dist/builder/project.js +591 -0
  256. package/dist/builder/prose.d.ts +4 -0
  257. package/dist/builder/prose.js +57 -0
  258. package/dist/builder/publish.d.ts +18 -0
  259. package/dist/builder/publish.js +141 -0
  260. package/dist/builder/question.d.ts +33 -0
  261. package/dist/builder/question.js +64 -0
  262. package/dist/builder/redesign.d.ts +32 -0
  263. package/dist/builder/redesign.js +117 -0
  264. package/dist/builder/removal.d.ts +71 -0
  265. package/dist/builder/removal.js +73 -0
  266. package/dist/builder/reply.d.ts +50 -0
  267. package/dist/builder/reply.js +196 -0
  268. package/dist/builder/roles.d.ts +10 -0
  269. package/dist/builder/roles.js +28 -0
  270. package/dist/builder/route.d.ts +85 -0
  271. package/dist/builder/route.js +126 -0
  272. package/dist/builder/run.d.ts +4 -0
  273. package/dist/builder/run.js +804 -0
  274. package/dist/builder/runmeta.d.ts +16 -0
  275. package/dist/builder/runmeta.js +69 -0
  276. package/dist/builder/say.d.ts +2 -0
  277. package/dist/builder/say.js +7 -0
  278. package/dist/builder/scheduled.d.ts +3 -0
  279. package/dist/builder/scheduled.js +328 -0
  280. package/dist/builder/section.d.ts +27 -0
  281. package/dist/builder/section.js +60 -0
  282. package/dist/builder/settings/account.d.ts +1 -0
  283. package/dist/builder/settings/account.js +111 -0
  284. package/dist/builder/settings/billing.d.ts +1 -0
  285. package/dist/builder/settings/billing.js +210 -0
  286. package/dist/builder/settings/capabilities.d.ts +1 -0
  287. package/dist/builder/settings/capabilities.js +66 -0
  288. package/dist/builder/settings/card.d.ts +31 -0
  289. package/dist/builder/settings/card.js +140 -0
  290. package/dist/builder/settings/code.d.ts +1 -0
  291. package/dist/builder/settings/code.js +70 -0
  292. package/dist/builder/settings/credits.d.ts +10 -0
  293. package/dist/builder/settings/credits.js +123 -0
  294. package/dist/builder/settings/environments.d.ts +1 -0
  295. package/dist/builder/settings/environments.js +60 -0
  296. package/dist/builder/settings/general.d.ts +1 -0
  297. package/dist/builder/settings/general.js +58 -0
  298. package/dist/builder/settings/index.d.ts +4 -0
  299. package/dist/builder/settings/index.js +25 -0
  300. package/dist/builder/settings/integrations.d.ts +8 -0
  301. package/dist/builder/settings/integrations.js +138 -0
  302. package/dist/builder/settings/keys.d.ts +1 -0
  303. package/dist/builder/settings/keys.js +114 -0
  304. package/dist/builder/settings/list.d.ts +10 -0
  305. package/dist/builder/settings/list.js +28 -0
  306. package/dist/builder/settings/machines.d.ts +4 -0
  307. package/dist/builder/settings/machines.js +243 -0
  308. package/dist/builder/settings/members.d.ts +1 -0
  309. package/dist/builder/settings/members.js +77 -0
  310. package/dist/builder/settings/memory.d.ts +1 -0
  311. package/dist/builder/settings/memory.js +62 -0
  312. package/dist/builder/settings/notifications.d.ts +1 -0
  313. package/dist/builder/settings/notifications.js +111 -0
  314. package/dist/builder/settings/plan.d.ts +17 -0
  315. package/dist/builder/settings/plan.js +131 -0
  316. package/dist/builder/settings/privacy.d.ts +1 -0
  317. package/dist/builder/settings/privacy.js +76 -0
  318. package/dist/builder/settings/sections.d.ts +16 -0
  319. package/dist/builder/settings/sections.js +34 -0
  320. package/dist/builder/settings/shared.d.ts +6 -0
  321. package/dist/builder/settings/shared.js +58 -0
  322. package/dist/builder/settings/ui.d.ts +50 -0
  323. package/dist/builder/settings/ui.js +53 -0
  324. package/dist/builder/settings/usage.d.ts +1 -0
  325. package/dist/builder/settings/usage.js +24 -0
  326. package/dist/builder/shared.d.ts +26 -0
  327. package/dist/builder/shared.js +15 -0
  328. package/dist/builder/shelf.d.ts +16 -0
  329. package/dist/builder/shelf.js +219 -0
  330. package/dist/builder/side.d.ts +40 -0
  331. package/dist/builder/side.js +208 -0
  332. package/dist/builder/site.d.ts +75 -0
  333. package/dist/builder/site.js +138 -0
  334. package/dist/builder/spend.d.ts +21 -0
  335. package/dist/builder/spend.js +80 -0
  336. package/dist/builder/standing.d.ts +36 -0
  337. package/dist/builder/standing.js +66 -0
  338. package/dist/builder/suggest.d.ts +238 -0
  339. package/dist/builder/suggest.js +463 -0
  340. package/dist/builder/suggestions.d.ts +49 -0
  341. package/dist/builder/suggestions.js +260 -0
  342. package/dist/builder/summary.d.ts +60 -0
  343. package/dist/builder/summary.js +81 -0
  344. package/dist/builder/sync.d.ts +1 -0
  345. package/dist/builder/sync.js +164 -0
  346. package/dist/builder/tabs.d.ts +85 -0
  347. package/dist/builder/tabs.js +288 -0
  348. package/dist/builder/talk.d.ts +5 -0
  349. package/dist/builder/talk.js +108 -0
  350. package/dist/builder/thread.d.ts +60 -0
  351. package/dist/builder/thread.js +302 -0
  352. package/dist/builder/tools.d.ts +22 -0
  353. package/dist/builder/tools.js +52 -0
  354. package/dist/builder/transcript.d.ts +47 -0
  355. package/dist/builder/transcript.js +108 -0
  356. package/dist/builder/voice.d.ts +8 -0
  357. package/dist/builder/voice.js +24 -0
  358. package/dist/{changedFileKind-DqgCCDUs.js → changedFileKind-D6QYvIez.js} +1 -1
  359. package/dist/core.js +1 -0
  360. package/dist/{decodeImagePreview-CesVZYP4.js → decodeImagePreview-DnfFEjhw.js} +1 -1
  361. package/dist/{embed-DYP-OUlb.js → embed-c030vUqM.js} +11 -11
  362. package/dist/index.d.ts +2 -0
  363. package/dist/index.js +2 -1
  364. package/dist/{micromark-util-decode-string-NQjVkmZH.js → micromark-util-decode-string-C-5AXkOV.js} +5 -3
  365. package/dist/{readBinaryPreview-D2X4Uahu.js → readBinaryPreview-BAQ4fFjm.js} +1 -1
  366. package/dist/{useTextFieldSpeech-CyOZZPrV.js → useTextFieldSpeech-COa9XcRx.js} +1 -1
  367. package/package.json +101 -11
  368. /package/{index.d.ts → dist/core.d.ts} +0 -0
  369. /package/{keymap.d.ts → dist/keymap.d.ts} +0 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Hanzo AI Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -4,10 +4,10 @@ import { i as o } from "./search-3oqTSaO6.js";
4
4
  import { t as s } from "./chevron-left-CVxU9FkT.js";
5
5
  import { n as c, t as l } from "./folder-B5cotRW5.js";
6
6
  import { a as u, c as d, o as f, s as p, t as m } from "./select-DumYjny_.js";
7
- import { a as h, i as g, o as _, t as v } from "./PreviewImage-C4Ku4z7v.js";
7
+ import { a as h, i as g, o as _, t as v } from "./PreviewImage-oY5YnuTr.js";
8
8
  import { a as ee, i as y, o as b, s as x } from "./fileSurfaceChrome-Cqkvn8RQ.js";
9
9
  import { n as S, t as te } from "./previewFailureMessages-BKpsSGX5.js";
10
- import { t as ne } from "./readBinaryPreview-D2X4Uahu.js";
10
+ import { t as ne } from "./readBinaryPreview-BAQ4fFjm.js";
11
11
  import { Suspense as C, lazy as re, useEffect as ie, useRef as ae, useState as w } from "react";
12
12
  import { c as T } from "react/compiler-runtime";
13
13
  import { Fragment as oe, jsx as E, jsxs as D } from "react/jsx-runtime";
@@ -29,12 +29,12 @@ import { a as ui, i as di, m as fi, n as pi, p as mi, t as hi } from "./assetUrl
29
29
  import { n as gi, t as _i } from "./query-BxrrBAp6.js";
30
30
  import { F as vi, T as yi, w as bi } from "./workspaceFocus-BV1_9KiH.js";
31
31
  import { Fn as xi, In as Si, Ln as Ci, Nn as wi, Rn as Ti, n as Ei, r as Di } from "./fileExplorerLabel-AikEChiS.js";
32
- import { D as Oi, E as ki, M as Ai, k as ji, l as Mi, s as Ni, t as Pi, u as Fi, w as Ii } from "./ExpandedImageDialog-BZnGRBJR.js";
32
+ import { D as Oi, E as ki, M as Ai, k as ji, l as Mi, s as Ni, t as Pi, u as Fi, w as Ii } from "./ExpandedImageDialog-CAorLacL.js";
33
33
  import { a as Li, i as Ri, o as zi, r as Bi, t as Vi } from "./browserLinkTarget-CA46wnQC.js";
34
34
  import { n as Hi, r as Ui } from "./mediaSource-zI7JWid4.js";
35
35
  import { t as Wi } from "./scroll-area-ChvX8uOh.js";
36
- import { A as Gi, B as Ki, Bn as qi, C as Ji, D as Yi, Dt as Xi, E as Zi, Fn as Qi, Gn as $i, Hn as ea, In as ta, Jn as na, Kn as ra, Ln as ia, Mn as aa, Nn as oa, Ot as sa, Pn as ca, Rn as la, Tt as ua, Un as da, Vn as fa, Wn as pa, Xn as ma, Yn as ha, Z as ga, Zn as _a, _ as va, _n as ya, c as ba, er as xa, g as Sa, ht as Ca, k as wa, l as Ta, n as Ea, o as Da, ot as Oa, qn as ka, r as Aa, s as ja, u as Ma, v as Na, w as Pa, yn as Fa, zn as Ia } from "./useTextFieldSpeech-CyOZZPrV.js";
37
- import { r as La } from "./micromark-util-decode-string-NQjVkmZH.js";
36
+ import { A as Gi, B as Ki, Bn as qi, C as Ji, D as Yi, Dt as Xi, E as Zi, Fn as Qi, Gn as $i, Hn as ea, In as ta, Jn as na, Kn as ra, Ln as ia, Mn as aa, Nn as oa, Ot as sa, Pn as ca, Rn as la, Tt as ua, Un as da, Vn as fa, Wn as pa, Xn as ma, Yn as ha, Z as ga, Zn as _a, _ as va, _n as ya, c as ba, er as xa, g as Sa, ht as Ca, k as wa, l as Ta, n as Ea, o as Da, ot as Oa, qn as ka, r as Aa, s as ja, u as Ma, v as Na, w as Pa, yn as Fa, zn as Ia } from "./useTextFieldSpeech-COa9XcRx.js";
37
+ import { r as La } from "./micromark-util-decode-string-C-5AXkOV.js";
38
38
  import { b as Ra, i as za, m as Ba, o as Va, r as Ha, t as Ua, v as Wa, x as Ga } from "./Icons-CvSmt8vD.js";
39
39
  import { i as Ka, n as qa, t as Ja } from "./ProjectMonogram-D35xrrXQ.js";
40
40
  import { t as Ya } from "./observeResize-DRQ9DVLE.js";
@@ -45,7 +45,7 @@ import { n as to } from "./syntaxHighlighting-CqVs1cUM.js";
45
45
  import { a as no, c as ro, d as io, f as ao, i as oo, l as so, m as co, n as lo, o as uo, p as fo, r as po, s as mo, t as ho, u as go } from "./lib-DxvcHFMx.js";
46
46
  import { n as _o } from "./appendItems-BI9GqZ3O.js";
47
47
  import { n as vo, s as yo } from "./useFileMetadata-e7zsixVX.js";
48
- import { a as bo, i as xo, n as So, o as Co, r as wo, t as To } from "./MermaidDiagram-paNwQY33.js";
48
+ import { a as bo, i as xo, n as So, o as Co, r as wo, t as To } from "./MermaidDiagram-CTolIzQD.js";
49
49
  import { r as Eo } from "./anchoredCopyToast-DnUtg1n_.js";
50
50
  import { t as Do } from "./lruCache-BOO4s9Z0.js";
51
51
  import * as Oo from "react";
@@ -14,7 +14,7 @@ import "./errors-DrFQSJW3.js";
14
14
  import { o as kt } from "./assetUrls-DkY7vXfM.js";
15
15
  import { n as At } from "./query-BxrrBAp6.js";
16
16
  import { z as jt } from "./fileExplorerLabel-AikEChiS.js";
17
- import { A as Mt, Dt as Nt, G as Pt, Tt as Ft, g as It, n as Lt, ot as Rt, t as zt } from "./useTextFieldSpeech-CyOZZPrV.js";
17
+ import { A as Mt, Dt as Nt, G as Pt, Tt as Ft, g as It, n as Lt, ot as Rt, t as zt } from "./useTextFieldSpeech-COa9XcRx.js";
18
18
  import { Z as Bt, cn as Vt, en as Ht, ln as Ut, nn as K, sn as Wt, un as Gt } from "./DiffWorkerPoolProvider-BwFR-Fc9.js";
19
19
  import { H as Kt } from "./diffRendering-tvIuzFsP.js";
20
20
  import { a as qt, l as q, r as Jt, s as Yt } from "./utils-7X1WogxY.js";
@@ -3,8 +3,8 @@ import { ad as c } from "./keybindings-C5tK_GAk.js";
3
3
  import { i as ee, r as te } from "./message-circle-D3IVrLlW.js";
4
4
  import { t as ne } from "./useStableCallback-kf0xbSaG.js";
5
5
  import { p as re } from "./useTheme-D2ZM1gvV.js";
6
- import { a as l, i as u, l as d } from "./useTextFieldSpeech-CyOZZPrV.js";
7
- import { a as ie, c as ae, d as oe, l as se, n as ce, o as le, u as ue } from "./FileExplorerPane-vBJS6V75.js";
6
+ import { a as l, i as u, l as d } from "./useTextFieldSpeech-COa9XcRx.js";
7
+ import { a as ie, c as ae, d as oe, l as se, n as ce, o as le, u as ue } from "./FileExplorerPane-CeHulcPz.js";
8
8
  import { l as f } from "./diffRendering-tvIuzFsP.js";
9
9
  import { useEffect as de, useRef as fe, useState as pe, useSyncExternalStore as me } from "react";
10
10
  import { c as he } from "react/compiler-runtime";
@@ -23,18 +23,18 @@ import { n as He } from "./query-BxrrBAp6.js";
23
23
  import { Jt as Ue, qt as We } from "./fileExplorerLabel-AikEChiS.js";
24
24
  import { a as Ge } from "./browserLinkTarget-CA46wnQC.js";
25
25
  import { t as Ke } from "./observeIntersection-C0N8P8-O.js";
26
- import { D as qe, E as Je, O as Ye, S as Xe, T as Ze, _ as Qe, k as $e, v as et } from "./useTextFieldSpeech-CyOZZPrV.js";
26
+ import { D as qe, E as Je, O as Ye, S as Xe, T as Ze, _ as Qe, k as $e, v as et } from "./useTextFieldSpeech-COa9XcRx.js";
27
27
  import { n as tt, t as nt } from "./toggle-group-BHovdMDl.js";
28
- import { et as rt, ft as it, st as at, t as ot } from "./DiffCommentAnnotation-BZu1TP6E.js";
28
+ import { et as rt, ft as it, st as at, t as ot } from "./DiffCommentAnnotation-BPTN_2a6.js";
29
29
  import { i as st, n as ct, r as lt } from "./fileContextMenu-BBo91omq.js";
30
30
  import { t as ut } from "./refresh-icon-BYx64to1.js";
31
- import { t as dt } from "./FileExplorerPane-vBJS6V75.js";
31
+ import { t as dt } from "./FileExplorerPane-CeHulcPz.js";
32
32
  import { a as j, c as ft, l as M, o as pt, r as mt, s as ht, u as gt } from "./diffRendering-tvIuzFsP.js";
33
33
  import { t as _t } from "./syntaxHighlighting-CqVs1cUM.js";
34
- import { a as vt, c as yt, i as bt, l as xt, s as St, t as Ct } from "./changedFileKind-DqgCCDUs.js";
34
+ import { a as vt, c as yt, i as bt, l as xt, s as St, t as Ct } from "./changedFileKind-D6QYvIez.js";
35
35
  import { t as wt } from "./switch-COwevwaq.js";
36
36
  import { n as N, r as Tt, t as P } from "./anchoredCopyToast-DnUtg1n_.js";
37
- import { a as Et, i as Dt, n as Ot, o as kt, s as At, t as jt } from "./DiffFileTree-CcJ91zOM.js";
37
+ import { a as Et, i as Dt, n as Ot, o as kt, s as At, t as jt } from "./DiffFileTree-B_br90vY.js";
38
38
  import { n as Mt } from "./fileCommentAnnotations-BTbvReHc.js";
39
39
  import { useContext as F, useEffect as Nt, useRef as Pt, useState as Ft } from "react";
40
40
  import { c as It } from "react/compiler-runtime";
@@ -309,7 +309,7 @@ function rt(e, t, n) {
309
309
  };
310
310
  }
311
311
  // src/components/media/AttachmentImage.tsx
312
- var it = () => import("./decodeImagePreview-CesVZYP4.js");
312
+ var it = () => import("./decodeImagePreview-DnfFEjhw.js");
313
313
  function at(e) {
314
314
  let t = Z(12), n, r, i;
315
315
  t[0] === e ? (n = t[1], r = t[2], i = t[3]) : ({name: r, mimeType: n, ...i} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i);
@@ -1,6 +1,6 @@
1
1
  import { S_ as e, ac as t, cc as n, t as r } from "./utils-515nQ17G.js";
2
2
  import { Ed as i, id as a, wd as o } from "./keybindings-C5tK_GAk.js";
3
- import { d as s, f as c, m as l, p as u } from "./useTextFieldSpeech-CyOZZPrV.js";
3
+ import { d as s, f as c, m as l, p as u } from "./useTextFieldSpeech-COa9XcRx.js";
4
4
  import { t as d } from "./observeResize-DRQ9DVLE.js";
5
5
  import { n as f, r as p, t as m } from "./RightPanelResizeHandle-BLbSz-gk.js";
6
6
  import { useCallback as h, useEffect as g, useLayoutEffect as _, useMemo as v, useRef as y, useState as b } from "react";
@@ -14,7 +14,7 @@ import { r as De } from "./triangle-alert-CpJvcOXh.js";
14
14
  import { i as Oe } from "./user-round-DXjpOTSK.js";
15
15
  import { a as ke, i as Ae, o as je, t as Me } from "./table-2-CTB_FJbA.js";
16
16
  import { r as B } from "./text-align-start-DgfaKVRZ.js";
17
- import { St as Ne, gt as Pe, q as V, t as Fe, v as Ie } from "./ChatMarkdown-Cyujn3JJ.js";
17
+ import { St as Ne, gt as Pe, q as V, t as Fe, v as Ie } from "./ChatMarkdown-nvEI7iCv.js";
18
18
  import "./errors-DrFQSJW3.js";
19
19
  import { M as Le, p as Re, z as ze } from "./useSettings-DYG9Dmro.js";
20
20
  import { C as Be, S as Ve, T as He, b as Ue, s as We } from "./presentation-D9mVPBHm.js";
@@ -25,22 +25,22 @@ import { p as Je } from "./useTheme-D2ZM1gvV.js";
25
25
  import { i as Ye, n as Xe, o as Ze, t as Qe } from "./assetUrls-DkY7vXfM.js";
26
26
  import { o as $e } from "./workspaceFocus-BV1_9KiH.js";
27
27
  import { B as et, Fn as tt, Ln as nt } from "./fileExplorerLabel-AikEChiS.js";
28
- import { j as rt, l as it, s as H } from "./ExpandedImageDialog-BZnGRBJR.js";
29
- import { F as at, G as ot, H as st, I as ct, L as U, R as lt, U as ut, _ as dt, c as ft, g as pt, m as mt, s as ht, t as gt, u as _t, x as vt, y as yt, z as bt } from "./OpenInPicker-Dd3ifHa1.js";
28
+ import { j as rt, l as it, s as H } from "./ExpandedImageDialog-CAorLacL.js";
29
+ import { F as at, G as ot, H as st, I as ct, L as U, R as lt, U as ut, _ as dt, c as ft, g as pt, m as mt, s as ht, t as gt, u as _t, x as vt, y as yt, z as bt } from "./OpenInPicker-BIMWUxBP.js";
30
30
  import { t as xt } from "./scroll-area-ChvX8uOh.js";
31
- import { i as St } from "./useTextFieldSpeech-CyOZZPrV.js";
32
- import { $ as Ct, A as W, B as wt, C as Tt, D as Et, E as G, F as Dt, G as Ot, H as kt, I as At, J as jt, K as Mt, L as Nt, M as Pt, N as Ft, O as It, P as K, R as Lt, S as Rt, T as zt, U as Bt, V as Vt, W as Ht, X as Ut, Z as Wt, _ as Gt, at as Kt, b as qt, c as Jt, d as Yt, f as Xt, g as Zt, h as Qt, j as $t, k as en, l as tn, m as nn, o as rn, p as an, q as on, s as sn, t as cn, u as ln, v as un, w as dn, x as fn, y as pn, z as q } from "./DiffCommentAnnotation-BZu1TP6E.js";
31
+ import { i as St } from "./useTextFieldSpeech-COa9XcRx.js";
32
+ import { $ as Ct, A as W, B as wt, C as Tt, D as Et, E as G, F as Dt, G as Ot, H as kt, I as At, J as jt, K as Mt, L as Nt, M as Pt, N as Ft, O as It, P as K, R as Lt, S as Rt, T as zt, U as Bt, V as Vt, W as Ht, X as Ut, Z as Wt, _ as Gt, at as Kt, b as qt, c as Jt, d as Yt, f as Xt, g as Zt, h as Qt, j as $t, k as en, l as tn, m as nn, o as rn, p as an, q as on, s as sn, t as cn, u as ln, v as un, w as dn, x as fn, y as pn, z as q } from "./DiffCommentAnnotation-BPTN_2a6.js";
33
33
  import { i as mn, t as hn } from "./fileContextMenu-BBo91omq.js";
34
34
  import { t as gn } from "./refresh-icon-BYx64to1.js";
35
35
  import { a as _n, r as vn, t as yn } from "./input-group-DEJEuwc9.js";
36
- import { a as bn, c as xn, d as Sn, i as Cn, l as wn, n as Tn, r as En, s as Dn, t as On, u as kn } from "./FileExplorerPane-vBJS6V75.js";
36
+ import { a as bn, c as xn, d as Sn, i as Cn, l as wn, n as Tn, r as En, s as Dn, t as On, u as kn } from "./FileExplorerPane-CeHulcPz.js";
37
37
  import { A as An, Gt as jn, N as Mn, P as Nn, Pt as Pn, Q as Fn, St as In, _n as Ln, a as Rn, an as zn, cn as Bn, dn as Vn, fn as Hn, gn as Un, hn as Wn, i as Gn, j as Kn, mn as qn, pn as Jn, sn as Yn, t as Xn, u as Zn, vn as Qn, yn as $n, zt as er } from "./DiffWorkerPoolProvider-BwFR-Fc9.js";
38
38
  import { A as tr, c as nr, j as rr } from "./diffRendering-tvIuzFsP.js";
39
39
  import { t as ir } from "./syntaxHighlighting-CqVs1cUM.js";
40
40
  import { r as ar } from "./getFiletypeFromFileName-DLahV2Rk.js";
41
41
  import { c as or, d as sr, l as cr, n as lr, o as ur, s as dr, t as J, u as fr } from "./utils-7X1WogxY.js";
42
42
  import { i as pr } from "./useNextRenderData-CyUmSAgz.js";
43
- import { c as mr, l as hr, r as gr, s as _r, t as vr } from "./PreviewImage-C4Ku4z7v.js";
43
+ import { c as mr, l as hr, r as gr, s as _r, t as vr } from "./PreviewImage-oY5YnuTr.js";
44
44
  import { t as yr } from "./delimitedPreview-BiEpdYOj.js";
45
45
  import { a as br, i as xr, n as Sr, o as Cr, r as wr, t as Tr } from "./fileSurfaceChrome-Cqkvn8RQ.js";
46
46
  import { r as Er, t as Dr } from "./ReadOnlySourcePreview-D__IA5g1.js";
@@ -5272,7 +5272,7 @@ function Fo(e, t) {
5272
5272
  No.change(e, t);
5273
5273
  }
5274
5274
  // src/components/files/FilePreviewPanel.tsx
5275
- var Io = O(null), Lo = Pr(() => import("./MermaidFilePreview-B9KxfnIN.js").then((e) => ({ default: e.MermaidFilePreview }))), Ro = "hanzodev.fileExplorerOpen", zo = "hanzodev.renderMarkdown", Bo = "hanzodev.renderBrowserFile", Vo = "hanzodev.renderTable";
5275
+ var Io = O(null), Lo = Pr(() => import("./MermaidFilePreview-CP2zP4FU.js").then((e) => ({ default: e.MermaidFilePreview }))), Ro = "hanzodev.fileExplorerOpen", zo = "hanzodev.renderMarkdown", Bo = "hanzodev.renderBrowserFile", Vo = "hanzodev.renderTable";
5276
5276
  function Ho(e) {
5277
5277
  let t = Z(29), n = he(e.absolutePath, e.workspaceRoot).relativePath === void 0 ? "media-file" : "workspace-file", r;
5278
5278
  t[0] !== e.absolutePath || t[1] !== e.draft || t[2] !== e.threadRef || t[3] !== e.workspaceRoot || t[4] !== n ? (r = ko({
@@ -1,5 +1,5 @@
1
1
  import { Id as e, S_ as t, b_ as n, ci as r, y_ as i } from "./utils-515nQ17G.js";
2
- import { t as a } from "./micromark-util-decode-string-NQjVkmZH.js";
2
+ import { t as a } from "./micromark-util-decode-string-C-5AXkOV.js";
3
3
  import { t as o } from "./purify.es-VTOE_vnF.js";
4
4
  import { use as s, useState as c } from "react";
5
5
  import { c as l } from "react/compiler-runtime";
@@ -3,7 +3,7 @@ import { Suspense as t, lazy as n } from "react";
3
3
  import { c as r } from "react/compiler-runtime";
4
4
  import { jsx as i } from "react/jsx-runtime";
5
5
  // src/components/files/MermaidFilePreview.tsx
6
- var a = n(() => import("./MermaidViewer-CAEGpLyD.js"));
6
+ var a = n(() => import("./MermaidViewer-BDfYkS9E.js"));
7
7
  function o(n) {
8
8
  let o = r(3), s;
9
9
  o[0] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ i(e, {}), o[0] = s) : s = o[0];
@@ -1,6 +1,6 @@
1
1
  import { S_ as e, y_ as t } from "./utils-515nQ17G.js";
2
- import { t as n } from "./ExpandedImageDialog-BZnGRBJR.js";
3
- import { t as r } from "./MermaidDiagram-paNwQY33.js";
2
+ import { t as n } from "./ExpandedImageDialog-CAorLacL.js";
3
+ import { t as r } from "./MermaidDiagram-CTolIzQD.js";
4
4
  import { useState as i } from "react";
5
5
  import { c as a } from "react/compiler-runtime";
6
6
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { Qc as e, S_ as t, ci as n, x_ as r, y_ as i } from "./utils-515nQ17G.js";
2
- import { t as a } from "./ChatMarkdown-Cyujn3JJ.js";
2
+ import { t as a } from "./ChatMarkdown-nvEI7iCv.js";
3
3
  import { s as o } from "./fileSurfaceChrome-Cqkvn8RQ.js";
4
4
  import { t as s } from "./ReadOnlySourcePreview-D__IA5g1.js";
5
5
  import c from "./DocumentPages-VSn83vty.js";
@@ -3,7 +3,7 @@ import { Suspense as t, lazy as n } from "react";
3
3
  import { c as r } from "react/compiler-runtime";
4
4
  import { jsx as i } from "react/jsx-runtime";
5
5
  // src/components/files/OfficeFilePreview.tsx
6
- var a = n(() => import("./OfficeViewer-BudrZbBA.js").then((e) => e.t));
6
+ var a = n(() => import("./OfficeViewer-CJoojlJK.js").then((e) => e.t));
7
7
  function o(n) {
8
8
  let o = r(8), s;
9
9
  o[0] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ i(e, {}), o[0] = s) : s = o[0];
@@ -13,7 +13,7 @@ import { Suspense as fe, lazy as c, useEffect as pe, useRef as l, useState as u
13
13
  import { c as me } from "react/compiler-runtime";
14
14
  import { Fragment as he, jsx as d, jsxs as f } from "react/jsx-runtime";
15
15
  // src/components/files/officePreviewProtocol.ts
16
- var p = 52428800, m = /* @__PURE__ */ e({ default: () => g }), ge = c(() => import("./DocumentPages-VSn83vty.js")), _e = c(() => import("./NotebookPreview-D01mMCpR.js")), h = c(() => import("./OpenXmlOfficeViewer-CXcKdq7k.js"));
16
+ var p = 52428800, m = /* @__PURE__ */ e({ default: () => g }), ge = c(() => import("./DocumentPages-VSn83vty.js")), _e = c(() => import("./NotebookPreview-Cybs5uM0.js")), h = c(() => import("./OpenXmlOfficeViewer-C24Kj8DM.js"));
17
17
  async function ve(e, r) {
18
18
  let i = await fetch(e, { signal: r });
19
19
  if (!i.ok) throw Error(n(t("The file could not be loaded. Close it and try again.")));
@@ -14,7 +14,7 @@ import { i as Ne, n as Pe, o as Fe, r as J, t as Ie } from "./table-2-CTB_FJbA.j
14
14
  import { r as Le } from "./text-align-start-DgfaKVRZ.js";
15
15
  import { t as Re } from "./trash-2-BSTDk3P8.js";
16
16
  import { t as ze } from "./x-Bjr9Dwvl.js";
17
- import { Bt as Y, _ as Be, g as Ve, gt as He, h as Ue, t as We, v as Ge, y as Ke } from "./ChatMarkdown-Cyujn3JJ.js";
17
+ import { Bt as Y, _ as Be, g as Ve, gt as He, h as Ue, t as We, v as Ge, y as Ke } from "./ChatMarkdown-nvEI7iCv.js";
18
18
  import "./errors-DrFQSJW3.js";
19
19
  import { j as qe, p as Je } from "./useSettings-DYG9Dmro.js";
20
20
  import { S as Ye, T as Xe, b as Ze, s as Qe } from "./presentation-D9mVPBHm.js";
@@ -23,14 +23,14 @@ import { p as et } from "./useTheme-D2ZM1gvV.js";
23
23
  import { o as tt, t as nt } from "./assetUrls-DkY7vXfM.js";
24
24
  import { v as rt } from "./workspaceFocus-BV1_9KiH.js";
25
25
  import { B as it } from "./fileExplorerLabel-AikEChiS.js";
26
- import { t as at } from "./ExpandedImageDialog-BZnGRBJR.js";
26
+ import { t as at } from "./ExpandedImageDialog-CAorLacL.js";
27
27
  import { A as ot, D as st, E as ct, F as lt, M as ut, N as dt, O as ft, P as pt, T as mt, b as ht, j as gt, k as _t, o as vt, x as yt, y as bt } from "./browserLinkTarget-CA46wnQC.js";
28
28
  import { t as xt } from "./scroll-area-ChvX8uOh.js";
29
- import { v as St } from "./useTextFieldSpeech-CyOZZPrV.js";
29
+ import { v as St } from "./useTextFieldSpeech-COa9XcRx.js";
30
30
  import { D as Ct, E as wt, S as Tt, T as Et, c as Dt, d as Ot, i as kt, l as At, p as jt, s as Mt, w as Nt } from "./Icons-CvSmt8vD.js";
31
- import { at as Pt } from "./DiffCommentAnnotation-BZu1TP6E.js";
31
+ import { at as Pt } from "./DiffCommentAnnotation-BPTN_2a6.js";
32
32
  import { i as Ft } from "./fileContextMenu-BBo91omq.js";
33
- import { a as It, i as Lt, l as Rt, n as zt, t as Bt } from "./PreviewImage-C4Ku4z7v.js";
33
+ import { a as It, i as Lt, l as Rt, n as zt, t as Bt } from "./PreviewImage-oY5YnuTr.js";
34
34
  import { t as Vt } from "./delimitedPreview-BiEpdYOj.js";
35
35
  import { a as Ht, i as Ut, o as Wt, r as Gt, s as Kt } from "./fileSurfaceChrome-Cqkvn8RQ.js";
36
36
  import { Suspense as qt, createContext as Jt, lazy as Yt, memo as Xt, use as Zt, useEffect as Qt, useEffectEvent as $t, useId as en, useLayoutEffect as tn, useRef as nn, useState as X, useSyncExternalStore as rn } from "react";
@@ -381,7 +381,7 @@ function Fr(e) {
381
381
  return e.replace(Pr, (e) => e.replace(/[^\r\n]/g, " "));
382
382
  }
383
383
  // src/components/files/BinaryFilePreview.tsx
384
- var Ir = Yt(() => import("./BinaryViewer-qn8xfPZp.js"));
384
+ var Ir = Yt(() => import("./BinaryViewer-CmFUK4zZ.js"));
385
385
  function Lr(e) {
386
386
  let t = Z(3), n;
387
387
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ Q(Wt, {}), t[0] = n) : n = t[0];
@@ -692,7 +692,7 @@ function ai(e) {
692
692
  }), t[1] = e, t[2] = r), r;
693
693
  }
694
694
  // src/components/files/AttachmentFilePreview.tsx
695
- var oi = Yt(() => import("./LargeTextViewer-DfFnYGCw.js")), si = Yt(() => import("./OfficeFilePreview-DWaRgfQU.js").then((e) => ({ default: e.OfficeFilePreview }))), ci = Yt(() => import("./FontFilePreview-Dj8Blcay.js").then((e) => ({ default: e.FontFilePreview }))), li = Yt(() => import("./MermaidFilePreview-B9KxfnIN.js").then((e) => ({ default: e.MermaidFilePreview }))), ui = Yt(() => import("./ReadOnlySourcePreview-D__IA5g1.js").then((e) => e.n)), di = 3e5, fi = /* @__PURE__ */ new WeakMap(), pi = 0;
695
+ var oi = Yt(() => import("./LargeTextViewer-DfFnYGCw.js")), si = Yt(() => import("./OfficeFilePreview-7JsmSoKU.js").then((e) => ({ default: e.OfficeFilePreview }))), ci = Yt(() => import("./FontFilePreview-Dj8Blcay.js").then((e) => ({ default: e.FontFilePreview }))), li = Yt(() => import("./MermaidFilePreview-CP2zP4FU.js").then((e) => ({ default: e.MermaidFilePreview }))), ui = Yt(() => import("./ReadOnlySourcePreview-D__IA5g1.js").then((e) => e.n)), di = 3e5, fi = /* @__PURE__ */ new WeakMap(), pi = 0;
696
696
  function mi(e) {
697
697
  let t = fi.get(e) ?? `blob:${pi++}`;
698
698
  return fi.set(e, t), t;
@@ -3,7 +3,7 @@ import { S_ as n, y_ as r } from "./utils-515nQ17G.js";
3
3
  import { t as i } from "./useStableCallback-kf0xbSaG.js";
4
4
  import { o as a, r as o, s } from "./fileSurfaceChrome-Cqkvn8RQ.js";
5
5
  import { n as c, t as l } from "./previewFailureMessages-BKpsSGX5.js";
6
- import "./OfficeViewer-BudrZbBA.js";
6
+ import "./OfficeViewer-CJoojlJK.js";
7
7
  import { Suspense as u, lazy as d, useEffect as f, useState as p } from "react";
8
8
  import { c as m } from "react/compiler-runtime";
9
9
  import { jsx as h, jsxs as g } from "react/jsx-runtime";
@@ -116,7 +116,7 @@ function b(t) {
116
116
  }) !== null;
117
117
  }
118
118
  // src/components/files/PreviewImage.tsx
119
- var x = o(() => import("./PreviewImageContent-BwOB9Lyd.js"));
119
+ var x = o(() => import("./PreviewImageContent-n6eLzY99.js"));
120
120
  function S(e) {
121
121
  let t = s(3), n;
122
122
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ c(i, {}), t[0] = n) : n = t[0];
@@ -3,7 +3,7 @@ import { t } from "./maximize-DGlidf2X.js";
3
3
  import { t as ee } from "./minus-ChSvNKyM.js";
4
4
  import { t as te } from "./plus-CewHlT33.js";
5
5
  import { t as ne } from "./scan-BD5ovWXl.js";
6
- import { t as re, y as ie } from "./ExpandedImageDialog-BZnGRBJR.js";
6
+ import { t as re, y as ie } from "./ExpandedImageDialog-CAorLacL.js";
7
7
  import { t as ae } from "./observeResize-DRQ9DVLE.js";
8
8
  import { a as oe, i as n } from "./fileSurfaceChrome-Cqkvn8RQ.js";
9
9
  import { useLayoutEffect as se, useRef as ce, useState as r } from "react";
@@ -11,26 +11,26 @@ import { i as Se } from "./user-round-DXjpOTSK.js";
11
11
  import { n as Ce } from "./smile-plus-DQGGycyd.js";
12
12
  import { i as we, n as Te, r as Ee, t as De } from "./rows-3-htYGoJUI.js";
13
13
  import { t as Oe } from "./message-square-off-DzWBGuDr.js";
14
- import { Jt as ke, o as Ae } from "./ChatMarkdown-Cyujn3JJ.js";
15
- import { M as je, S as Me, a as Ne, c as Pe, i as Fe, n as Ie, r as Le, t as Re, w as ze } from "./PullRequestReviewAnnotation-BU5t_1fC.js";
14
+ import { Jt as ke, o as Ae } from "./ChatMarkdown-nvEI7iCv.js";
15
+ import { M as je, S as Me, a as Ne, c as Pe, i as Fe, n as Ie, r as Le, t as Re, w as ze } from "./PullRequestReviewAnnotation-LeuwO-iH.js";
16
16
  import { f as Be, p as Ve } from "./useSettings-DYG9Dmro.js";
17
17
  import { s as He } from "./presentation-D9mVPBHm.js";
18
18
  import { t as Ue } from "./use-atom-command-ByoYq_K6.js";
19
19
  import { f as We } from "./useTheme-D2ZM1gvV.js";
20
20
  import { n as Ge } from "./query-BxrrBAp6.js";
21
21
  import { t as Ke } from "./observeIntersection-C0N8P8-O.js";
22
- import { $n as qe, B as D, W as Je, Zn as Ye, at as Xe, er as Ze, ft as Qe, hn as $e, it as et, nt as tt, rt as nt, tr as rt, ut as it } from "./useTextFieldSpeech-CyOZZPrV.js";
22
+ import { $n as qe, B as D, W as Je, Zn as Ye, at as Xe, er as Ze, ft as Qe, hn as $e, it as et, nt as tt, rt as nt, tr as rt, ut as it } from "./useTextFieldSpeech-COa9XcRx.js";
23
23
  import { n as at, t as ot } from "./toggle-group-BHovdMDl.js";
24
- import { i as st, t as ct } from "./DiffCommentAnnotation-BZu1TP6E.js";
24
+ import { i as st, t as ct } from "./DiffCommentAnnotation-BPTN_2a6.js";
25
25
  import { t as lt } from "./refresh-icon-BYx64to1.js";
26
26
  import { n as ut, r as dt, t as ft } from "./collapsible-DFT41MdC.js";
27
- import { t as pt } from "./FileExplorerPane-vBJS6V75.js";
27
+ import { t as pt } from "./FileExplorerPane-CeHulcPz.js";
28
28
  import { n as mt } from "./DiffWorkerPoolProvider-BwFR-Fc9.js";
29
29
  import { a as ht, c as gt, i as _t, l as O, o as vt, s as yt, u as bt } from "./diffRendering-tvIuzFsP.js";
30
30
  import { t as xt } from "./syntaxHighlighting-CqVs1cUM.js";
31
- import { c as St, i as Ct, o as wt, t as Tt } from "./changedFileKind-DqgCCDUs.js";
31
+ import { c as St, i as Ct, o as wt, t as Tt } from "./changedFileKind-D6QYvIez.js";
32
32
  import { i as Et, o as Dt, r as Ot, t as kt } from "./empty-Bm5EzcG8.js";
33
- import { i as At, n as jt, o as Mt, r as k, s as Nt, t as Pt } from "./DiffFileTree-CcJ91zOM.js";
33
+ import { i as At, n as jt, o as Mt, r as k, s as Nt, t as Pt } from "./DiffFileTree-B_br90vY.js";
34
34
  import { createContext as Ft, use as It, useContext as Lt, useEffect as Rt, useEffectEvent as zt, useRef as Bt, useState as A, useSyncExternalStore as j } from "react";
35
35
  import { c as Vt } from "react/compiler-runtime";
36
36
  import { Fragment as Ht, jsx as M, jsxs as N } from "react/jsx-runtime";
@@ -8,18 +8,18 @@ import { a as le, i as ue, o as de, r as z, t as B } from "./smile-plus-DQGGycyd
8
8
  import { o as fe } from "./workflow-CZPqzM2D.js";
9
9
  import { t as pe } from "./message-square-BdfBgRUA.js";
10
10
  import { t as me } from "./trash-2-BSTDk3P8.js";
11
- import { J as he, Y as V, dt as H, lt as U, t as W, tt as G, ut as K } from "./ChatMarkdown-Cyujn3JJ.js";
11
+ import { J as he, Y as V, dt as H, lt as U, t as W, tt as G, ut as K } from "./ChatMarkdown-nvEI7iCv.js";
12
12
  import { i as ge, o as _e, t as q } from "./popover-anNQdce7.js";
13
13
  import { t as ve } from "./useAriaLabelledBy-DPSISlnL.js";
14
14
  import { s as ye } from "./presentation-D9mVPBHm.js";
15
15
  import { t as be } from "./use-atom-command-ByoYq_K6.js";
16
16
  import { n as xe, t as Se } from "./assetUrls-DkY7vXfM.js";
17
17
  import { T as Ce } from "./workspaceFocus-BV1_9KiH.js";
18
- import { s as we } from "./ExpandedImageDialog-BZnGRBJR.js";
18
+ import { s as we } from "./ExpandedImageDialog-CAorLacL.js";
19
19
  import { r as Te } from "./mediaSource-zI7JWid4.js";
20
- import { B as Ee, Yt as De, jn as Oe, n as ke, on as Ae, ot as J, st as je, t as Me } from "./useTextFieldSpeech-CyOZZPrV.js";
20
+ import { B as Ee, Yt as De, jn as Oe, n as ke, on as Ae, ot as J, st as je, t as Me } from "./useTextFieldSpeech-COa9XcRx.js";
21
21
  import { n as Ne, t as Pe } from "./toggle-group-BHovdMDl.js";
22
- import { n as Fe, r as Ie } from "./DiffCommentAnnotation-BZu1TP6E.js";
22
+ import { n as Fe, r as Ie } from "./DiffCommentAnnotation-BPTN_2a6.js";
23
23
  import { t as Le } from "./RelativeTime-BMRprQS8.js";
24
24
  import * as Y from "react";
25
25
  import { createContext as Re, useContext as ze, useRef as Be, useState as X } from "react";
@@ -0,0 +1,16 @@
1
+ import type { Say } from '@hanzo/i18n/react';
2
+ import type { SessionStatus } from '@hanzo/ui/chat';
3
+ import type { Job, State } from './api/auto.ts';
4
+ /** A job's state as the rail's dot draws it, and in words. */
5
+ export declare const DOTS: Record<State, SessionStatus>;
6
+ export declare const SAID: Record<State, string>;
7
+ /** How long a run took, or has taken so far. */
8
+ export declare function lasted(started: string, finished: string | null, now?: number): string;
9
+ /** Cents as dollars. */
10
+ export declare const dollars: (cents: number) => string;
11
+ /** One line about a job: when it started, how long, what it cost, what it made. Its words in the language of `t`. */
12
+ export declare function about(j: Job, now?: number, t?: Say): string;
13
+ /** The jobs, newest first, with `j` in its place. */
14
+ export declare function merged(list: Job[], j: Job): Job[];
15
+ /** A task's name from what it does: its first line, short. */
16
+ export declare function titled(prompt: string): string;
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Activity's words: what a run's state is called and drawn as, how long it
3
+ * took, what it cost, and the one line under its title. Pure, so the screen and
4
+ * its tests read the same sentences.
5
+ */
6
+ import { phrase } from '@hanzo/i18n';
7
+ import { ago } from './ago.js';
8
+ import { SOURCE } from './api/library.js';
9
+ import { english } from './say.js';
10
+ /** A job's state as the rail's dot draws it, and in words. */
11
+ export const DOTS = { scheduled: 'idle', running: 'running', succeeded: 'done', failed: 'error', cancelled: 'stopped' };
12
+ export const SAID = {
13
+ scheduled: phrase('Scheduled'),
14
+ running: phrase('Running'),
15
+ succeeded: phrase('Succeeded'),
16
+ failed: phrase('Failed'),
17
+ cancelled: phrase('Cancelled'),
18
+ };
19
+ /** How long a run took, or has taken so far. */
20
+ export function lasted(started, finished, now = Date.now()) {
21
+ const a = Date.parse(started);
22
+ const b = finished ? Date.parse(finished) : now;
23
+ if (Number.isNaN(a) || Number.isNaN(b) || b < a)
24
+ return '';
25
+ const s = Math.round((b - a) / 1000);
26
+ if (s < 60)
27
+ return `${s}s`;
28
+ const m = Math.floor(s / 60);
29
+ if (m < 60)
30
+ return `${m}m ${s % 60}s`;
31
+ const h = Math.floor(m / 60);
32
+ return `${h}h ${m % 60}m`;
33
+ }
34
+ /** Cents as dollars. */
35
+ export const dollars = (cents) => `$${(cents / 100).toFixed(2)}`;
36
+ /** One line about a job: when it started, how long, what it cost, what it made. Its words in the language of `t`. */
37
+ export function about(j, now = Date.now(), t = english) {
38
+ const made = j.outputs.length ? (j.outputs.length === 1 ? t('{n} output', { n: 1 }) : t('{n} outputs', { n: j.outputs.length })) : '';
39
+ return [SOURCE[j.product] ? t(SOURCE[j.product]) : '', j.started ? ago(j.started) : '', lasted(j.started, j.finished, now), j.cost !== null ? dollars(j.cost) : '', made].filter(Boolean).join(' · ');
40
+ }
41
+ /** The jobs, newest first, with `j` in its place. */
42
+ export function merged(list, j) {
43
+ const out = list.filter((x) => x.id !== j.id);
44
+ out.push(j);
45
+ return out.sort((a, b) => (b.started || b.updated).localeCompare(a.started || a.updated));
46
+ }
47
+ /** A task's name from what it does: its first line, short. */
48
+ export function titled(prompt) {
49
+ const first = prompt.trim().split('\n')[0].trim();
50
+ return first.length > 60 ? `${first.slice(0, 57).trimEnd()}…` : first;
51
+ }
@@ -0,0 +1,11 @@
1
+ /** A repository on GitHub, by its account and its name. */
2
+ export interface At {
3
+ owner: string;
4
+ name: string;
5
+ }
6
+ /** What a pasted address may be, said when it is something else. */
7
+ export declare const ADDRESS: string;
8
+ /** The GitHub repository a pasted address names, or null when it names none. */
9
+ export declare function onGitHub(text: string): At | null;
10
+ /** The https address a project's repository is cloned from: what the sync app writes for a GitHub repository too. */
11
+ export declare const clone: (at: At) => string;
@@ -0,0 +1,50 @@
1
+ /**
2
+ * A repository's address, as a person pastes it: what GitHub's page, its Code
3
+ * button or a terminal hands them.
4
+ *
5
+ * https://github.com/owner/name the page; with .git, the clone address
6
+ * git@github.com:owner/name.git the SSH clone address
7
+ * ssh://git@github.com/owner/name.git the same, as a URL
8
+ * github.com/owner/name the address without its scheme
9
+ *
10
+ * It is read to the repository it names, and the platform is handed that in
11
+ * the form each place takes: a coding run `github.com/owner/name` (choice.ts
12
+ * `asHub`; apps/coding start.go reads it with forge.GitHub), a project its https
13
+ * clone address (`clone`; PATCH /v1/project/{slug} takes `repo.url` as one).
14
+ *
15
+ * GitHub only. A run on a repository on GitHub alone is admitted by GitHub
16
+ * itself, while another host's `owner/name` is read by the platform as the org's
17
+ * own namespace on the forge and refused — so taking it here would only move the
18
+ * refusal to after the ask was typed. Anything else is refused here, in a
19
+ * sentence that says what is taken.
20
+ */
21
+ import { phrase } from '@hanzo/i18n';
22
+ /** What a pasted address may be, said when it is something else. */
23
+ export const ADDRESS = phrase('Paste a GitHub repository’s address, like https://github.com/owner/name, github.com/owner/name or git@github.com:owner/name.git.');
24
+ /** GitHub's shape for an account or a repository name, as the platform checks it (forge/github.go `ghName`). */
25
+ const NAME = /^[A-Za-z0-9][A-Za-z0-9._-]{0,99}$/;
26
+ /**
27
+ * The address as a URL, or without its scheme: any scheme git speaks, a user in
28
+ * front of the host (`git@`, or a token a clone address was copied with, which
29
+ * goes no further than this), and a page's query or fragment (`?tab=readme`)
30
+ * after the path. The host is github.com itself, so `github.com.example` or a
31
+ * `github.com@` user in front of another host is no address of GitHub's.
32
+ */
33
+ const URL_FORM = /^(?:(?:https?|ssh|git|git\+ssh):\/\/)?(?:[^\s/@]+@)?(?:www\.)?github\.com\/([^\s?#]*)(?:[?#]\S*)?$/i;
34
+ /** The SSH clone address, as GitHub's Code button gives it: `git@github.com:owner/name.git`. */
35
+ const SCP_FORM = /^(?:[^\s/@:]+@)?github\.com:([^\s?#]*)$/i;
36
+ /** The GitHub repository a pasted address names, or null when it names none. */
37
+ export function onGitHub(text) {
38
+ const s = text.trim();
39
+ const m = URL_FORM.exec(s) ?? SCP_FORM.exec(s);
40
+ if (!m)
41
+ return null;
42
+ // A trailing slash, then `.git`, are the clone address's and not the name's.
43
+ const parts = m[1].replace(/\/+$/, '').replace(/\.git$/i, '').split('/');
44
+ if (parts.length !== 2)
45
+ return null;
46
+ const [owner, name] = parts;
47
+ return NAME.test(owner) && NAME.test(name) ? { owner, name } : null;
48
+ }
49
+ /** The https address a project's repository is cloned from: what the sync app writes for a GitHub repository too. */
50
+ export const clone = (at) => `https://github.com/${at.owner}/${at.name}.git`;
@@ -0,0 +1,2 @@
1
+ /** `just now`, `5m ago`, `3h ago`, `4d ago`, else the date, for an RFC 3339 instant; `—` for none. */
2
+ export declare function ago(iso: string): string;
@@ -0,0 +1,18 @@
1
+ /** `just now`, `5m ago`, `3h ago`, `4d ago`, else the date, for an RFC 3339 instant; `—` for none. */
2
+ export function ago(iso) {
3
+ const t = Date.parse(iso);
4
+ if (!Number.isFinite(t))
5
+ return '—';
6
+ const minutes = Math.round((Date.now() - t) / 60000);
7
+ if (minutes < 1)
8
+ return 'just now';
9
+ if (minutes < 60)
10
+ return `${minutes}m ago`;
11
+ const hours = Math.round(minutes / 60);
12
+ if (hours < 24)
13
+ return `${hours}h ago`;
14
+ const days = Math.round(hours / 24);
15
+ if (days < 30)
16
+ return `${days}d ago`;
17
+ return new Date(t).toLocaleDateString();
18
+ }