@hanzo/dev 4.1.0 → 4.2.1

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 (122) hide show
  1. package/dist/{BinaryViewer-CmFUK4zZ.js → BinaryViewer-BCDMNW2g.js} +19 -19
  2. package/dist/{ChatMarkdown-nvEI7iCv.js → ChatMarkdown-BUidXqSs.js} +2460 -2460
  3. package/dist/{DevicePanel-v5e3sEIf.js → DevicePanel-D-pksK3r.js} +532 -532
  4. package/dist/{DeviceStreamView-CCIfmbxH.js → DeviceStreamView-DsCoOzDV.js} +377 -377
  5. package/dist/{DiffCommentAnnotation-BPTN_2a6.js → DiffCommentAnnotation-2HD5qiyt.js} +227 -227
  6. package/dist/{DiffFileTree-B_br90vY.js → DiffFileTree-CuWvI5hS.js} +13 -13
  7. package/dist/{DiffPanel-V5R5TPuK.js → DiffPanel-Z2QVmBzu.js} +328 -328
  8. package/dist/{DiffWorkerPoolProvider-BwFR-Fc9.js → DiffWorkerPoolProvider-CEfiCIGR.js} +3 -3
  9. package/dist/{DocumentPages-VSn83vty.js → DocumentPages-glImt2JO.js} +3 -3
  10. package/dist/{ExpandedImageDialog-CAorLacL.js → ExpandedImageDialog-iqO3LiIj.js} +404 -404
  11. package/dist/{FileExplorerPane-CeHulcPz.js → FileExplorerPane-GwnRmXEh.js} +4 -4
  12. package/dist/{FilePreviewPanel-BVNLvWOc.js → FilePreviewPanel-CXWpTlfI.js} +1089 -1089
  13. package/dist/{FontFilePreview-Dj8Blcay.js → FontFilePreview-CDydHOXg.js} +2 -2
  14. package/dist/{FontViewer-CLDdwhSr.js → FontViewer-DDt9C5Cb.js} +5 -5
  15. package/dist/{HanzoConnectAccountPages-BEzYfu2l.js → HanzoConnectAccountPages-_sfrtw9j.js} +357 -357
  16. package/dist/{HanzoConnectSidebarSignIn-BhD6-Up5.js → HanzoConnectSidebarSignIn-coFQvyRw.js} +3 -3
  17. package/dist/{Icons-CvSmt8vD.js → Icons-CdegMw5l.js} +1 -1
  18. package/dist/{LargeTextViewer-DfFnYGCw.js → LargeTextViewer-D3RklYQB.js} +8 -8
  19. package/dist/{MermaidDiagram-CTolIzQD.js → MermaidDiagram-sVLnox7j.js} +8 -8
  20. package/dist/{MermaidFilePreview-CP2zP4FU.js → MermaidFilePreview-BmPdNxW5.js} +2 -2
  21. package/dist/{MermaidViewer-BDfYkS9E.js → MermaidViewer-BlKTevTF.js} +3 -3
  22. package/dist/{NotebookPreview-Cybs5uM0.js → NotebookPreview-C0gSEyeO.js} +10 -10
  23. package/dist/{OfficeFilePreview-7JsmSoKU.js → OfficeFilePreview-Ago_DWEt.js} +2 -2
  24. package/dist/{OfficeViewer-CJoojlJK.js → OfficeViewer-DBRqtLet.js} +10 -10
  25. package/dist/{OpenInPicker-BIMWUxBP.js → OpenInPicker-DD_h7VLv.js} +287 -287
  26. package/dist/{OpenXmlOfficeViewer-C24Kj8DM.js → OpenXmlOfficeViewer-B4dxjpba.js} +4 -4
  27. package/dist/{PdfViewer-Cf1iD759.js → PdfViewer-BanXvPmz.js} +16 -16
  28. package/dist/{PreviewFaviconIcon-zFOuzIxe.js → PreviewFaviconIcon-BwYKB-3e.js} +892 -892
  29. package/dist/{PreviewImage-oY5YnuTr.js → PreviewImage-6UU-M6_B.js} +3 -3
  30. package/dist/{PreviewImageContent-n6eLzY99.js → PreviewImageContent-D-00K-A9.js} +3 -3
  31. package/dist/{PreviewPanel-Bo4Lt02m.js → PreviewPanel-CiuHdDv8.js} +489 -489
  32. package/dist/{PreviewPanelShell-DhXLeN5j.js → PreviewPanelShell-Dezxjg0T.js} +71 -71
  33. package/dist/{ProjectIconPickerDialog-D0kFzt8f.js → ProjectIconPickerDialog-LomrzROv.js} +29 -29
  34. package/dist/{ProjectMonogram-D35xrrXQ.js → ProjectMonogram-D21--FQY.js} +1 -1
  35. package/dist/{ProviderAuthTerminal-DfsXnu7A.js → ProviderAuthTerminal-pQXIfodT.js} +3 -3
  36. package/dist/{PullRequestCodeTab-Dv_0kVad.js → PullRequestCodeTab-Cqfh5eN2.js} +476 -476
  37. package/dist/{PullRequestReviewAnnotation-LeuwO-iH.js → PullRequestReviewAnnotation-B4Lp8Ktf.js} +334 -334
  38. package/dist/{ReadOnlySourcePreview-D__IA5g1.js → ReadOnlySourcePreview-7xXUUySV.js} +5 -5
  39. package/dist/{RelativeTime-BMRprQS8.js → RelativeTime-B_yprjav.js} +2 -2
  40. package/dist/{RightPanelResizeHandle-BLbSz-gk.js → RightPanelResizeHandle-PumvYb9P.js} +2 -2
  41. package/dist/{ThemeEditorPanel-CUDdsRsE.js → ThemeEditorPanel-BmXXpaCI.js} +196 -196
  42. package/dist/{ThreadTerminalDrawer-BF3Ix0q_.js → ThreadTerminalDrawer-DCgE3ojz.js} +461 -461
  43. package/dist/{VirtualTablePreview-dajviAfu.js → VirtualTablePreview-mA6DOFwb.js} +1 -1
  44. package/dist/{anchoredCopyToast-DnUtg1n_.js → anchoredCopyToast-BVa_dlBU.js} +2 -2
  45. package/dist/{assetUrls-DkY7vXfM.js → assetUrls-D8lRk7Xd.js} +45 -45
  46. package/dist/{browserLinkTarget-CA46wnQC.js → browserLinkTarget-BbVlDQYx.js} +18 -18
  47. package/dist/builder/api/git.d.ts +32 -4
  48. package/dist/builder/api/git.js +74 -4
  49. package/dist/builder/api/github.d.ts +54 -0
  50. package/dist/builder/api/github.js +103 -1
  51. package/dist/builder/api/models.d.ts +2 -0
  52. package/dist/builder/api/models.js +6 -1
  53. package/dist/builder/api/sandbox.d.ts +2 -0
  54. package/dist/builder/api/sandbox.js +3 -1
  55. package/dist/builder/desk.d.ts +6 -0
  56. package/dist/builder/desk.js +79 -14
  57. package/dist/builder/forge.js +79 -10
  58. package/dist/builder/github-sync.d.ts +70 -0
  59. package/dist/builder/github-sync.js +435 -0
  60. package/dist/builder/mind.d.ts +5 -5
  61. package/dist/builder/mind.js +35 -14
  62. package/dist/builder/pane.d.ts +1 -1
  63. package/dist/builder/pane.js +1 -1
  64. package/dist/builder/panel.js +5 -5
  65. package/dist/builder/preview-fallback.d.ts +47 -0
  66. package/dist/builder/preview-fallback.js +341 -0
  67. package/dist/builder/project.js +17 -4
  68. package/dist/builder/sync.js +27 -4
  69. package/dist/{changedFileKind-D6QYvIez.js → changedFileKind-DrjqPCpz.js} +5 -5
  70. package/dist/{collapsible-DFT41MdC.js → collapsible-CDT6JKbk.js} +1 -1
  71. package/dist/{color-picker-CshqBbpY.js → color-picker-kSVcH92L.js} +16 -16
  72. package/dist/core.js +1 -1
  73. package/dist/{decodeImagePreview-DnfFEjhw.js → decodeImagePreview-ZtWU3urU.js} +2 -2
  74. package/dist/{delimitedPreview-BiEpdYOj.js → delimitedPreview-DbbXcqOT.js} +1 -1
  75. package/dist/{dialog-DhQtWGRa.js → dialog-EmpqFZiK.js} +40 -40
  76. package/dist/{embed-c030vUqM.js → embed-CPWZKyIW.js} +36098 -35677
  77. package/dist/{empty-Bm5EzcG8.js → empty-ChM6gdzn.js} +1 -1
  78. package/dist/{errors-DrFQSJW3.js → errors-D8_Zn8KN.js} +2 -2
  79. package/dist/{fileContextMenu-BBo91omq.js → fileContextMenu-DW94DZj4.js} +54 -54
  80. package/dist/{fileExplorerLabel-AikEChiS.js → fileExplorerLabel-Cfz-3q1U.js} +507 -507
  81. package/dist/{fileSurfaceChrome-Cqkvn8RQ.js → fileSurfaceChrome-BDyKklTq.js} +26 -26
  82. package/dist/{hanzoWebAnalytics-CCxpTzcI.js → hanzoWebAnalytics-B1eETW-7.js} +1 -1
  83. package/dist/index.css +1 -1
  84. package/dist/{input-group-DEJEuwc9.js → input-group-BZ_QN-y7.js} +1 -1
  85. package/dist/{keybindings-C5tK_GAk.js → keybindings-D0pBlT1k.js} +7812 -7806
  86. package/dist/keymap.js +1 -1
  87. package/dist/{lucideIconByName-DUaXKH0V.js → lucideIconByName-CXY44V8P.js} +6835 -6848
  88. package/dist/{mediaReference-Bt_mh-ag.js → mediaReference-3wc4ZfY8.js} +95 -95
  89. package/dist/mediaSource-jW5c7b4r.js +70 -0
  90. package/dist/{modelPickerVisibility-Jue3CLfc.js → modelPickerVisibility-DBTc5r1G.js} +1 -1
  91. package/dist/{network-BbwqRm8c.js → network-wuXD7-is.js} +1 -1
  92. package/dist/{popover-anNQdce7.js → popover-BAyP2Tdr.js} +1 -1
  93. package/dist/{presentation-D9mVPBHm.js → presentation-68y8EAuH.js} +299 -299
  94. package/dist/{previewFailureMessages-BKpsSGX5.js → previewFailureMessages-CFguipaK.js} +3 -3
  95. package/dist/query-BPk2W3QN.js +63 -0
  96. package/dist/{readBinaryPreview-BAQ4fFjm.js → readBinaryPreview-CjZdBNVR.js} +2 -2
  97. package/dist/{refresh-icon-BYx64to1.js → refresh-icon-Vo5ImiQL.js} +1 -1
  98. package/dist/{scroll-area-ChvX8uOh.js → scroll-area-CEoyjC7h.js} +1 -1
  99. package/dist/{select-DumYjny_.js → select-DLFnkZsI.js} +2 -2
  100. package/dist/{session-_kmiSv2A.js → session-Decc4Fo5.js} +1063 -1063
  101. package/dist/{skeleton-CJqwfMSF.js → skeleton-BOKpAZv6.js} +1 -1
  102. package/dist/{switch-COwevwaq.js → switch-DjpPjtQN.js} +2 -2
  103. package/dist/{themePalette-Dl_7omVL.js → themePalette-C-GtwwqV.js} +977 -977
  104. package/dist/{threadSearch-BHyWwcV3.js → threadSearch-CrtCof6n.js} +162 -162
  105. package/dist/{toggle-CEO6qTxB.js → toggle-B4F0EEtI.js} +1 -1
  106. package/dist/{toggle-group-BHovdMDl.js → toggle-group-l8hRPswr.js} +2 -2
  107. package/dist/{use-atom-command-ByoYq_K6.js → use-atom-command-XemtT1Gv.js} +1 -1
  108. package/dist/{useAriaLabelledBy-DPSISlnL.js → useAriaLabelledBy-CibvSz-b.js} +1 -1
  109. package/dist/{useFileMetadata-e7zsixVX.js → useFileMetadata-PesehDX0.js} +33 -33
  110. package/dist/{useFloatingRootContext-CJ9stHca.js → useFloatingRootContext-ppoGvqar.js} +1 -1
  111. package/dist/{useLiveRefresh-BkKJKXhH.js → useLiveRefresh-aHkPuz6N.js} +172 -172
  112. package/dist/{useNextRenderData-CyUmSAgz.js → useNextRenderData-CNhjWfP0.js} +1 -1
  113. package/dist/{useSettings-DYG9Dmro.js → useSettings-B_MtcTyD.js} +139 -139
  114. package/dist/{useTextFieldSpeech-COa9XcRx.js → useTextFieldSpeech-B1wCgLPO.js} +1404 -1404
  115. package/dist/{useTheme-D2ZM1gvV.js → useTheme-WlXpQRKG.js} +4 -4
  116. package/dist/{utils-515nQ17G.js → utils-DtKQl-D3.js} +6184 -6172
  117. package/dist/{wizard-i86ViMRc.js → wizard-DjD4UNew.js} +3 -3
  118. package/dist/{workspaceFocus-BV1_9KiH.js → workspaceFocus-MR1plm6A.js} +144 -144
  119. package/dist/{zap-e0OsRjBR.js → zap-iwsUKtvA.js} +30 -17
  120. package/package.json +1 -1
  121. package/dist/mediaSource-zI7JWid4.js +0 -70
  122. package/dist/query-BxrrBAp6.js +0 -63
@@ -1967,7 +1967,20 @@ var t = e("activity", [["path", {
1967
1967
  }], ["path", {
1968
1968
  d: "m4 17 6-6-6-6",
1969
1969
  key: "1yngyt"
1970
- }]]), it = e("text-search", [
1970
+ }]]), it = e("text-align-justify", [
1971
+ ["path", {
1972
+ d: "M3 5h18",
1973
+ key: "1u36vt"
1974
+ }],
1975
+ ["path", {
1976
+ d: "M3 12h18",
1977
+ key: "1i2n21"
1978
+ }],
1979
+ ["path", {
1980
+ d: "M3 19h18",
1981
+ key: "awlh7x"
1982
+ }]
1983
+ ]), at = e("text-search", [
1971
1984
  ["path", {
1972
1985
  d: "M21 5H3",
1973
1986
  key: "1fi0y6"
@@ -1990,25 +2003,25 @@ var t = e("activity", [["path", {
1990
2003
  d: "m21 19-1.9-1.9",
1991
2004
  key: "dwi7p8"
1992
2005
  }]
1993
- ]), at = e("trending-down", [["path", {
2006
+ ]), ot = e("trending-down", [["path", {
1994
2007
  d: "M16 17h6v-6",
1995
2008
  key: "t6n2it"
1996
2009
  }], ["path", {
1997
2010
  d: "m22 17-8.5-8.5-5 5L2 7",
1998
2011
  key: "x473p"
1999
- }]]), ot = e("trending-up", [["path", {
2012
+ }]]), st = e("trending-up", [["path", {
2000
2013
  d: "M16 7h6v6",
2001
2014
  key: "box55l"
2002
2015
  }], ["path", {
2003
2016
  d: "m22 7-8.5 8.5-5-5L2 17",
2004
2017
  key: "1t1m79"
2005
- }]]), st = e("undo-2", [["path", {
2018
+ }]]), ct = e("undo-2", [["path", {
2006
2019
  d: "M9 14 4 9l5-5",
2007
2020
  key: "102s5s"
2008
2021
  }], ["path", {
2009
2022
  d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",
2010
2023
  key: "f3b9sd"
2011
- }]]), ct = e("unlink", [
2024
+ }]]), lt = e("unlink", [
2012
2025
  ["path", {
2013
2026
  d: "m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71",
2014
2027
  key: "yqzxt4"
@@ -2045,7 +2058,7 @@ var t = e("activity", [["path", {
2045
2058
  y2: "16",
2046
2059
  key: "ox905f"
2047
2060
  }]
2048
- ]), lt = e("unplug", [
2061
+ ]), ut = e("unplug", [
2049
2062
  ["path", {
2050
2063
  d: "m19 5 3-3",
2051
2064
  key: "yk6iyv"
@@ -2070,7 +2083,7 @@ var t = e("activity", [["path", {
2070
2083
  d: "m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z",
2071
2084
  key: "1snsnr"
2072
2085
  }]
2073
- ]), ut = e("upload", [
2086
+ ]), dt = e("upload", [
2074
2087
  ["path", {
2075
2088
  d: "M12 3v12",
2076
2089
  key: "1x0j5s"
@@ -2083,7 +2096,7 @@ var t = e("activity", [["path", {
2083
2096
  d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",
2084
2097
  key: "ih7n3h"
2085
2098
  }]
2086
- ]), dt = e("user-lock", [
2099
+ ]), ft = e("user-lock", [
2087
2100
  ["path", {
2088
2101
  d: "M19 16v-2a2 2 0 0 0-4 0v2",
2089
2102
  key: "17sujf"
@@ -2106,7 +2119,7 @@ var t = e("activity", [["path", {
2106
2119
  rx: ".899",
2107
2120
  key: "ur80nz"
2108
2121
  }]
2109
- ]), ft = e("user-plus", [
2122
+ ]), pt = e("user-plus", [
2110
2123
  ["path", {
2111
2124
  d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",
2112
2125
  key: "1yyitq"
@@ -2131,7 +2144,7 @@ var t = e("activity", [["path", {
2131
2144
  y2: "11",
2132
2145
  key: "1shjgl"
2133
2146
  }]
2134
- ]), pt = e("user", [["path", {
2147
+ ]), mt = e("user", [["path", {
2135
2148
  d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",
2136
2149
  key: "975kel"
2137
2150
  }], ["circle", {
@@ -2139,7 +2152,7 @@ var t = e("activity", [["path", {
2139
2152
  cy: "7",
2140
2153
  r: "4",
2141
2154
  key: "17ys0d"
2142
- }]]), mt = e("users", [
2155
+ }]]), ht = e("users", [
2143
2156
  ["path", {
2144
2157
  d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",
2145
2158
  key: "1yyitq"
@@ -2158,7 +2171,7 @@ var t = e("activity", [["path", {
2158
2171
  r: "4",
2159
2172
  key: "nufk8"
2160
2173
  }]
2161
- ]), ht = e("volume-2", [
2174
+ ]), gt = e("volume-2", [
2162
2175
  ["path", {
2163
2176
  d: "M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",
2164
2177
  key: "uqj9uw"
@@ -2171,7 +2184,7 @@ var t = e("activity", [["path", {
2171
2184
  d: "M19.364 18.364a9 9 0 0 0 0-12.728",
2172
2185
  key: "ijwkga"
2173
2186
  }]
2174
- ]), gt = e("volume-off", [
2187
+ ]), _t = e("volume-off", [
2175
2188
  ["path", {
2176
2189
  d: "M16 9a5 5 0 0 1 .95 2.293",
2177
2190
  key: "1fgyg8"
@@ -2192,7 +2205,7 @@ var t = e("activity", [["path", {
2192
2205
  d: "M9.828 4.172A.686.686 0 0 1 11 4.657v.686",
2193
2206
  key: "s2je0y"
2194
2207
  }]
2195
- ]), _t = e("wifi-off", [
2208
+ ]), vt = e("wifi-off", [
2196
2209
  ["path", {
2197
2210
  d: "M12 20h.01",
2198
2211
  key: "zekei9"
@@ -2221,11 +2234,11 @@ var t = e("activity", [["path", {
2221
2234
  d: "m2 2 20 20",
2222
2235
  key: "1ooewy"
2223
2236
  }]
2224
- ]), vt = e("wrench", [["path", {
2237
+ ]), yt = e("wrench", [["path", {
2225
2238
  d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",
2226
2239
  key: "1ngwbx"
2227
- }]]), yt = e("zap", [["path", {
2240
+ }]]), bt = e("zap", [["path", {
2228
2241
  d: "M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",
2229
2242
  key: "1xq2db"
2230
2243
  }]]);
2231
- export { xe as $, x as $t, We as A, W as At, Pe as B, P as Bt, Ze as C, Z as Ct, qe as D, q as Dt, Je as E, J as Et, ze as F, z as Ft, ke as G, k as Gt, Me as H, M as Ht, Re as I, R as It, Ee as J, E as Jt, Oe as K, O as Kt, Le as L, L as Lt, He as M, H as Mt, Ve as N, V as Nt, Ke as O, K as Ot, Be as P, B as Pt, Se as Q, S as Qt, Ie as R, I as Rt, Qe as S, Q as St, Ye as T, Y as Tt, je as U, j as Ut, Ne as V, N as Vt, Ae as W, A as Wt, we as X, w as Xt, Te as Y, T as Yt, Ce as Z, C as Zt, rt as _, r as _n, re as _t, ht as a, h as an, he as at, et as b, ee as bt, ft as c, f as cn, fe as ct, lt as d, l as dn, le as dt, b as en, be as et, ct as f, c as fn, ce as ft, it as g, i as gn, ie as gt, at as h, a as hn, ae as ht, gt as i, g as in, ge as it, Ue as j, U as jt, Ge as k, G as kt, dt as l, d as ln, de as lt, ot as m, o as mn, oe as mt, vt as n, v as nn, ve as nt, mt as o, m as on, me as ot, st as p, s as pn, se as pt, De as q, D as qt, _t as r, _ as rn, _e as rt, pt as s, p as sn, pe as st, yt as t, y as tn, ye as tt, ut as u, u as un, ue as ut, nt as v, n as vn, ne as vt, Xe as w, X as wt, $e as x, $ as xt, tt as y, t as yn, te as yt, Fe as z, F as zt };
2244
+ export { Se as $, S as $t, Ge as A, G as At, Fe as B, F as Bt, Qe as C, Q as Ct, Je as D, J as Dt, Ye as E, Y as Et, Be as F, B as Ft, Ae as G, A as Gt, Ne as H, N as Ht, ze as I, z as It, De as J, D as Jt, ke as K, k as Kt, Re as L, R as Lt, Ue as M, U as Mt, He as N, H as Nt, qe as O, q as Ot, Ve as P, V as Pt, Ce as Q, C as Qt, Le as R, L as Rt, $e as S, $ as St, Xe as T, X as Tt, Me as U, M as Ut, Pe as V, P as Vt, je as W, j as Wt, Te as X, T as Xt, Ee as Y, E as Yt, we as Z, w as Zt, it as _, i as _n, ie as _t, gt as a, g as an, ge as at, tt as b, t as bn, te as bt, pt as c, p as cn, pe as ct, ut as d, u as dn, ue as dt, x as en, xe as et, lt as f, l as fn, le as ft, at as g, a as gn, ae as gt, ot as h, o as hn, oe as ht, _t as i, _ as in, _e as it, We as j, W as jt, Ke as k, K as kt, ft as l, f as ln, fe as lt, st as m, s as mn, se as mt, yt as n, y as nn, ye as nt, ht as o, h as on, he as ot, ct as p, c as pn, ce as pt, Oe as q, O as qt, vt as r, v as rn, ve as rt, mt as s, m as sn, me as st, bt as t, b as tn, be as tt, dt as u, d as un, de as ut, rt as v, r as vn, re as vt, Ze as w, Z as wt, et as x, ee as xt, nt as y, n as yn, ne as yt, Ie as z, I as zt };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/dev",
3
- "version": "4.1.0",
3
+ "version": "4.2.1",
4
4
  "description": "The unified Hanzo Dev & Builder library (Dev core threads/composer/runtime + Builder workspace, sessions, routes, plans, and host providers).",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,70 +0,0 @@
1
- import { Ad as e, Id as t, Lc as n, Mc as r, Pd as i, Rc as a, Wd as o } from "./utils-515nQ17G.js";
2
- import { S as s, d as c, f as l, g as u, n as d, r as f, t as p } from "./mediaReference-Bt_mh-ag.js";
3
- // ../../packages/client-runtime/src/markdownImages.ts
4
- var m = /^(?:https?:|data:|blob:|\/\/)/i, h = /^[A-Za-z][A-Za-z0-9+.-]*:/;
5
- function g(e) {
6
- return u(l(e)).hash;
7
- }
8
- function _(e, n) {
9
- let r = t(e) ? "\\" : "/";
10
- return `${e.replace(/[\\/]+$/, "")}${r}${n.replace(/[\\/]/g, r).replace(/^[\\/]+/, "")}`;
11
- }
12
- function v(e, t) {
13
- return i(e) && o(e, t) === null ? { _tag: "Blocked" } : {
14
- _tag: "WorkspaceFile",
15
- path: e
16
- };
17
- }
18
- function y(e, n) {
19
- if (e == null) return { _tag: "Blocked" };
20
- let r = l(e);
21
- if (r.length === 0 || r.startsWith("#") || r.startsWith("?")) return { _tag: "Blocked" };
22
- if (m.test(r)) return {
23
- _tag: "Direct",
24
- uri: r
25
- };
26
- let i = c(r);
27
- return i === null ? { _tag: "Blocked" } : /^file:/i.test(r) ? v(i, n) : i.length === 0 ? { _tag: "Blocked" } : i.startsWith("/") || t(i) ? v(i, n) : h.test(i) || i.startsWith("~/") || i.startsWith("~\\") || !n ? { _tag: "Blocked" } : {
28
- _tag: "WorkspaceFile",
29
- path: _(n, i),
30
- relative: !0
31
- };
32
- }
33
- // ../../packages/client-runtime/src/mediaSource.ts
34
- function b(e, t) {
35
- return t.resolvedFilePath === void 0 ? y(e, t.workspaceRoot) : {
36
- _tag: "WorkspaceFile",
37
- path: t.resolvedFilePath
38
- };
39
- }
40
- function x(t, i) {
41
- let o = b(t, i);
42
- if (o._tag === "Blocked") return null;
43
- let c = o._tag === "Direct" ? u(o.uri).path : s(o.path).path, l = /^data:/i.test(c) ? "" : e(c), m = l.lastIndexOf("."), h = (o._tag === "Direct" ? n(o.uri) : m < 0 ? null : a(l.slice(m)) ?? r(l.slice(m))) ?? (i.imageEmbed ? "image/*" : null);
44
- if (h === null || h.startsWith("audio/")) return null;
45
- let _ = h.startsWith("video/") ? "video" : "image", v = o._tag === "Direct" ? f(o.uri) : p(c, i.workspaceRoot), y = {
46
- kind: _,
47
- mimeType: h,
48
- name: v && d(v) || l || _,
49
- ...v ? { reference: v } : {},
50
- srcFragment: g(t)
51
- };
52
- return o._tag === "Direct" ? {
53
- ...y,
54
- access: "direct",
55
- uri: o.uri
56
- } : i.threadId === void 0 ? {
57
- ...y,
58
- access: "unavailable"
59
- } : {
60
- ...y,
61
- access: "environment",
62
- resource: {
63
- _tag: "media-file",
64
- threadId: i.threadId,
65
- path: c,
66
- ...o.relative ? { hostOnly: !0 } : {}
67
- }
68
- };
69
- }
70
- export { y as n, g as r, x as t };
@@ -1,63 +0,0 @@
1
- import { c as e, n as t } from "./messages-yqmY7G5x.js";
2
- import { Gh as n, Hh as r, Kh as i, Zh as a, _g as o, gg as s, sg as c } from "./utils-515nQ17G.js";
3
- import { Rg as l, cy as u, xg as d } from "./keybindings-C5tK_GAk.js";
4
- import { a as f } from "./network-BbwqRm8c.js";
5
- import "./errors-DrFQSJW3.js";
6
- import { useContext as p } from "react";
7
- import { c as m } from "react/compiler-runtime";
8
- // src/state/query.ts
9
- var h = a(o(!1)).pipe(c("web-environment-query:empty"));
10
- function g(n, r = t) {
11
- let i = l(n);
12
- return (i instanceof Error ? f(i, r) : null) ?? r(e("The environment request failed."));
13
- }
14
- function _(e) {
15
- return e._tag === "Success" ? e.timestamp : e._tag === "Failure" ? u(e.previousSuccess)?.timestamp ?? 0 : 0;
16
- }
17
- function v(e, i) {
18
- let a = m(19), o = i === void 0 ? t : i, c = e ?? h, l = n(c), f = r(c), p;
19
- a[0] === l ? p = a[1] : (p = s(l, y), a[0] = l, a[1] = p);
20
- let v;
21
- a[2] === l ? v = a[3] : (v = _(l), a[2] = l, a[3] = v);
22
- let b;
23
- a[4] !== o || a[5] !== l._tag || a[6] !== l.cause ? (b = l._tag === "Failure" ? g(l.cause, o) : null, a[4] = o, a[5] = l._tag, a[6] = l.cause, a[7] = b) : b = a[7];
24
- let x;
25
- a[8] !== l._tag || a[9] !== l.cause ? (x = l._tag === "Failure" ? u(d(l.cause)) : null, a[8] = l._tag, a[9] = l.cause, a[10] = x) : x = a[10];
26
- let S = e !== null && l.waiting, C = l._tag === "Success", w;
27
- return a[11] !== f || a[12] !== p || a[13] !== v || a[14] !== b || a[15] !== x || a[16] !== S || a[17] !== C ? (w = {
28
- data: p,
29
- dataUpdatedAt: v,
30
- error: b,
31
- failure: x,
32
- isPending: S,
33
- isSuccess: C,
34
- refresh: f
35
- }, a[11] = f, a[12] = p, a[13] = v, a[14] = b, a[15] = x, a[16] = S, a[17] = C, a[18] = w) : w = a[18], w;
36
- }
37
- function y() {
38
- return null;
39
- }
40
- function b(e, t) {
41
- return n(e ?? h, t);
42
- }
43
- var x = /* @__PURE__ */ new WeakMap();
44
- function S(e, t) {
45
- let n = x.get(e);
46
- n === void 0 && (n = /* @__PURE__ */ new WeakMap(), x.set(e, n));
47
- let r = n.get(t);
48
- return r === void 0 && (r = a((n) => _(n(e)) >= _(n(t))), n.set(t, r)), r;
49
- }
50
- function C(e, t) {
51
- let r = m(3), i = e ?? h, a = t ?? h, o;
52
- return r[0] !== i || r[1] !== a ? (o = S(i, a), r[0] = i, r[1] = a, r[2] = o) : o = r[2], n(o);
53
- }
54
- function w(e) {
55
- let t = m(7), n = p(i), a = e ?? h, o = r(a), s;
56
- t[0] !== e || t[1] !== n || t[2] !== a ? (s = () => e !== null && n.get(a).waiting, t[0] = e, t[1] = n, t[2] = a, t[3] = s) : s = t[3];
57
- let c;
58
- return t[4] !== o || t[5] !== s ? (c = {
59
- refresh: o,
60
- isPending: s
61
- }, t[4] = o, t[5] = s, t[6] = c) : c = t[6], c;
62
- }
63
- export { b as a, w as i, v as n, C as r, g as t };