@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.
- package/dist/{BinaryViewer-CmFUK4zZ.js → BinaryViewer-BCDMNW2g.js} +19 -19
- package/dist/{ChatMarkdown-nvEI7iCv.js → ChatMarkdown-BUidXqSs.js} +2460 -2460
- package/dist/{DevicePanel-v5e3sEIf.js → DevicePanel-D-pksK3r.js} +532 -532
- package/dist/{DeviceStreamView-CCIfmbxH.js → DeviceStreamView-DsCoOzDV.js} +377 -377
- package/dist/{DiffCommentAnnotation-BPTN_2a6.js → DiffCommentAnnotation-2HD5qiyt.js} +227 -227
- package/dist/{DiffFileTree-B_br90vY.js → DiffFileTree-CuWvI5hS.js} +13 -13
- package/dist/{DiffPanel-V5R5TPuK.js → DiffPanel-Z2QVmBzu.js} +328 -328
- package/dist/{DiffWorkerPoolProvider-BwFR-Fc9.js → DiffWorkerPoolProvider-CEfiCIGR.js} +3 -3
- package/dist/{DocumentPages-VSn83vty.js → DocumentPages-glImt2JO.js} +3 -3
- package/dist/{ExpandedImageDialog-CAorLacL.js → ExpandedImageDialog-iqO3LiIj.js} +404 -404
- package/dist/{FileExplorerPane-CeHulcPz.js → FileExplorerPane-GwnRmXEh.js} +4 -4
- package/dist/{FilePreviewPanel-BVNLvWOc.js → FilePreviewPanel-CXWpTlfI.js} +1089 -1089
- package/dist/{FontFilePreview-Dj8Blcay.js → FontFilePreview-CDydHOXg.js} +2 -2
- package/dist/{FontViewer-CLDdwhSr.js → FontViewer-DDt9C5Cb.js} +5 -5
- package/dist/{HanzoConnectAccountPages-BEzYfu2l.js → HanzoConnectAccountPages-_sfrtw9j.js} +357 -357
- package/dist/{HanzoConnectSidebarSignIn-BhD6-Up5.js → HanzoConnectSidebarSignIn-coFQvyRw.js} +3 -3
- package/dist/{Icons-CvSmt8vD.js → Icons-CdegMw5l.js} +1 -1
- package/dist/{LargeTextViewer-DfFnYGCw.js → LargeTextViewer-D3RklYQB.js} +8 -8
- package/dist/{MermaidDiagram-CTolIzQD.js → MermaidDiagram-sVLnox7j.js} +8 -8
- package/dist/{MermaidFilePreview-CP2zP4FU.js → MermaidFilePreview-BmPdNxW5.js} +2 -2
- package/dist/{MermaidViewer-BDfYkS9E.js → MermaidViewer-BlKTevTF.js} +3 -3
- package/dist/{NotebookPreview-Cybs5uM0.js → NotebookPreview-C0gSEyeO.js} +10 -10
- package/dist/{OfficeFilePreview-7JsmSoKU.js → OfficeFilePreview-Ago_DWEt.js} +2 -2
- package/dist/{OfficeViewer-CJoojlJK.js → OfficeViewer-DBRqtLet.js} +10 -10
- package/dist/{OpenInPicker-BIMWUxBP.js → OpenInPicker-DD_h7VLv.js} +287 -287
- package/dist/{OpenXmlOfficeViewer-C24Kj8DM.js → OpenXmlOfficeViewer-B4dxjpba.js} +4 -4
- package/dist/{PdfViewer-Cf1iD759.js → PdfViewer-BanXvPmz.js} +16 -16
- package/dist/{PreviewFaviconIcon-zFOuzIxe.js → PreviewFaviconIcon-BwYKB-3e.js} +892 -892
- package/dist/{PreviewImage-oY5YnuTr.js → PreviewImage-6UU-M6_B.js} +3 -3
- package/dist/{PreviewImageContent-n6eLzY99.js → PreviewImageContent-D-00K-A9.js} +3 -3
- package/dist/{PreviewPanel-Bo4Lt02m.js → PreviewPanel-CiuHdDv8.js} +489 -489
- package/dist/{PreviewPanelShell-DhXLeN5j.js → PreviewPanelShell-Dezxjg0T.js} +71 -71
- package/dist/{ProjectIconPickerDialog-D0kFzt8f.js → ProjectIconPickerDialog-LomrzROv.js} +29 -29
- package/dist/{ProjectMonogram-D35xrrXQ.js → ProjectMonogram-D21--FQY.js} +1 -1
- package/dist/{ProviderAuthTerminal-DfsXnu7A.js → ProviderAuthTerminal-pQXIfodT.js} +3 -3
- package/dist/{PullRequestCodeTab-Dv_0kVad.js → PullRequestCodeTab-Cqfh5eN2.js} +476 -476
- package/dist/{PullRequestReviewAnnotation-LeuwO-iH.js → PullRequestReviewAnnotation-B4Lp8Ktf.js} +334 -334
- package/dist/{ReadOnlySourcePreview-D__IA5g1.js → ReadOnlySourcePreview-7xXUUySV.js} +5 -5
- package/dist/{RelativeTime-BMRprQS8.js → RelativeTime-B_yprjav.js} +2 -2
- package/dist/{RightPanelResizeHandle-BLbSz-gk.js → RightPanelResizeHandle-PumvYb9P.js} +2 -2
- package/dist/{ThemeEditorPanel-CUDdsRsE.js → ThemeEditorPanel-BmXXpaCI.js} +196 -196
- package/dist/{ThreadTerminalDrawer-BF3Ix0q_.js → ThreadTerminalDrawer-DCgE3ojz.js} +461 -461
- package/dist/{VirtualTablePreview-dajviAfu.js → VirtualTablePreview-mA6DOFwb.js} +1 -1
- package/dist/{anchoredCopyToast-DnUtg1n_.js → anchoredCopyToast-BVa_dlBU.js} +2 -2
- package/dist/{assetUrls-DkY7vXfM.js → assetUrls-D8lRk7Xd.js} +45 -45
- package/dist/{browserLinkTarget-CA46wnQC.js → browserLinkTarget-BbVlDQYx.js} +18 -18
- package/dist/builder/api/git.d.ts +32 -4
- package/dist/builder/api/git.js +74 -4
- package/dist/builder/api/github.d.ts +54 -0
- package/dist/builder/api/github.js +103 -1
- package/dist/builder/api/models.d.ts +2 -0
- package/dist/builder/api/models.js +6 -1
- package/dist/builder/api/sandbox.d.ts +2 -0
- package/dist/builder/api/sandbox.js +3 -1
- package/dist/builder/desk.d.ts +6 -0
- package/dist/builder/desk.js +79 -14
- package/dist/builder/forge.js +79 -10
- package/dist/builder/github-sync.d.ts +70 -0
- package/dist/builder/github-sync.js +435 -0
- package/dist/builder/mind.d.ts +5 -5
- package/dist/builder/mind.js +35 -14
- package/dist/builder/pane.d.ts +1 -1
- package/dist/builder/pane.js +1 -1
- package/dist/builder/panel.js +5 -5
- package/dist/builder/preview-fallback.d.ts +47 -0
- package/dist/builder/preview-fallback.js +341 -0
- package/dist/builder/project.js +17 -4
- package/dist/builder/sync.js +27 -4
- package/dist/{changedFileKind-D6QYvIez.js → changedFileKind-DrjqPCpz.js} +5 -5
- package/dist/{collapsible-DFT41MdC.js → collapsible-CDT6JKbk.js} +1 -1
- package/dist/{color-picker-CshqBbpY.js → color-picker-kSVcH92L.js} +16 -16
- package/dist/core.js +1 -1
- package/dist/{decodeImagePreview-DnfFEjhw.js → decodeImagePreview-ZtWU3urU.js} +2 -2
- package/dist/{delimitedPreview-BiEpdYOj.js → delimitedPreview-DbbXcqOT.js} +1 -1
- package/dist/{dialog-DhQtWGRa.js → dialog-EmpqFZiK.js} +40 -40
- package/dist/{embed-c030vUqM.js → embed-CPWZKyIW.js} +36098 -35677
- package/dist/{empty-Bm5EzcG8.js → empty-ChM6gdzn.js} +1 -1
- package/dist/{errors-DrFQSJW3.js → errors-D8_Zn8KN.js} +2 -2
- package/dist/{fileContextMenu-BBo91omq.js → fileContextMenu-DW94DZj4.js} +54 -54
- package/dist/{fileExplorerLabel-AikEChiS.js → fileExplorerLabel-Cfz-3q1U.js} +507 -507
- package/dist/{fileSurfaceChrome-Cqkvn8RQ.js → fileSurfaceChrome-BDyKklTq.js} +26 -26
- package/dist/{hanzoWebAnalytics-CCxpTzcI.js → hanzoWebAnalytics-B1eETW-7.js} +1 -1
- package/dist/index.css +1 -1
- package/dist/{input-group-DEJEuwc9.js → input-group-BZ_QN-y7.js} +1 -1
- package/dist/{keybindings-C5tK_GAk.js → keybindings-D0pBlT1k.js} +7812 -7806
- package/dist/keymap.js +1 -1
- package/dist/{lucideIconByName-DUaXKH0V.js → lucideIconByName-CXY44V8P.js} +6835 -6848
- package/dist/{mediaReference-Bt_mh-ag.js → mediaReference-3wc4ZfY8.js} +95 -95
- package/dist/mediaSource-jW5c7b4r.js +70 -0
- package/dist/{modelPickerVisibility-Jue3CLfc.js → modelPickerVisibility-DBTc5r1G.js} +1 -1
- package/dist/{network-BbwqRm8c.js → network-wuXD7-is.js} +1 -1
- package/dist/{popover-anNQdce7.js → popover-BAyP2Tdr.js} +1 -1
- package/dist/{presentation-D9mVPBHm.js → presentation-68y8EAuH.js} +299 -299
- package/dist/{previewFailureMessages-BKpsSGX5.js → previewFailureMessages-CFguipaK.js} +3 -3
- package/dist/query-BPk2W3QN.js +63 -0
- package/dist/{readBinaryPreview-BAQ4fFjm.js → readBinaryPreview-CjZdBNVR.js} +2 -2
- package/dist/{refresh-icon-BYx64to1.js → refresh-icon-Vo5ImiQL.js} +1 -1
- package/dist/{scroll-area-ChvX8uOh.js → scroll-area-CEoyjC7h.js} +1 -1
- package/dist/{select-DumYjny_.js → select-DLFnkZsI.js} +2 -2
- package/dist/{session-_kmiSv2A.js → session-Decc4Fo5.js} +1063 -1063
- package/dist/{skeleton-CJqwfMSF.js → skeleton-BOKpAZv6.js} +1 -1
- package/dist/{switch-COwevwaq.js → switch-DjpPjtQN.js} +2 -2
- package/dist/{themePalette-Dl_7omVL.js → themePalette-C-GtwwqV.js} +977 -977
- package/dist/{threadSearch-BHyWwcV3.js → threadSearch-CrtCof6n.js} +162 -162
- package/dist/{toggle-CEO6qTxB.js → toggle-B4F0EEtI.js} +1 -1
- package/dist/{toggle-group-BHovdMDl.js → toggle-group-l8hRPswr.js} +2 -2
- package/dist/{use-atom-command-ByoYq_K6.js → use-atom-command-XemtT1Gv.js} +1 -1
- package/dist/{useAriaLabelledBy-DPSISlnL.js → useAriaLabelledBy-CibvSz-b.js} +1 -1
- package/dist/{useFileMetadata-e7zsixVX.js → useFileMetadata-PesehDX0.js} +33 -33
- package/dist/{useFloatingRootContext-CJ9stHca.js → useFloatingRootContext-ppoGvqar.js} +1 -1
- package/dist/{useLiveRefresh-BkKJKXhH.js → useLiveRefresh-aHkPuz6N.js} +172 -172
- package/dist/{useNextRenderData-CyUmSAgz.js → useNextRenderData-CNhjWfP0.js} +1 -1
- package/dist/{useSettings-DYG9Dmro.js → useSettings-B_MtcTyD.js} +139 -139
- package/dist/{useTextFieldSpeech-COa9XcRx.js → useTextFieldSpeech-B1wCgLPO.js} +1404 -1404
- package/dist/{useTheme-D2ZM1gvV.js → useTheme-WlXpQRKG.js} +4 -4
- package/dist/{utils-515nQ17G.js → utils-DtKQl-D3.js} +6184 -6172
- package/dist/{wizard-i86ViMRc.js → wizard-DjD4UNew.js} +3 -3
- package/dist/{workspaceFocus-BV1_9KiH.js → workspaceFocus-MR1plm6A.js} +144 -144
- package/dist/{zap-e0OsRjBR.js → zap-iwsUKtvA.js} +30 -17
- package/package.json +1 -1
- package/dist/mediaSource-zI7JWid4.js +0 -70
- package/dist/query-BxrrBAp6.js +0 -63
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Io as e, Lo as t, bs as n, es as r, go as i, hi as a, mo as o, t as s, tl as c, wo as l } from "./utils-
|
|
1
|
+
import { Io as e, Lo as t, bs as n, es as r, go as i, hi as a, mo as o, t as s, tl as c, wo as l } from "./utils-DtKQl-D3.js";
|
|
2
2
|
import * as u from "react";
|
|
3
3
|
import { c as d } from "react/compiler-runtime";
|
|
4
4
|
import { jsx as f } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ba as e, Bi as t, Cs as n, Do as r, Ds as i, Fi as a, Ha as o, Hi as s, Io as c, Ki as l, La as u, Oi as d, Oo as f, Ri as p, Va as m, Vi as h, Wi as g, Yi as _, bs as v, fi as y, ko as b, no as x, qi as S, t as C, ws as w, za as T, zi as E } from "./utils-
|
|
2
|
-
import { n as D, t as O } from "./toggle-
|
|
1
|
+
import { Ba as e, Bi as t, Cs as n, Do as r, Ds as i, Fi as a, Ha as o, Hi as s, Io as c, Ki as l, La as u, Oi as d, Oo as f, Ri as p, Va as m, Vi as h, Wi as g, Yi as _, bs as v, fi as y, ko as b, no as x, qi as S, t as C, ws as w, za as T, zi as E } from "./utils-DtKQl-D3.js";
|
|
2
|
+
import { n as D, t as O } from "./toggle-B4F0EEtI.js";
|
|
3
3
|
import * as k from "react";
|
|
4
4
|
import { c as A } from "react/compiler-runtime";
|
|
5
5
|
import { jsx as j } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Oo as e, go as t } from "./utils-
|
|
1
|
+
import { Oo as e, go as t } from "./utils-DtKQl-D3.js";
|
|
2
2
|
import * as n from "react";
|
|
3
3
|
// ../../node_modules/.pnpm/@base-ui+react@1.9.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/internals/labelable-provider/useAriaLabelledBy.mjs
|
|
4
4
|
function r(r, a, o, s = !0, c, l) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as e } from "./session-
|
|
2
|
-
import {
|
|
3
|
-
import { G as s, go as c } from "./keybindings-
|
|
4
|
-
import { S as l, b as u, h as d, x as f } from "./mediaReference-
|
|
5
|
-
import { an as p } from "./threadSearch-
|
|
6
|
-
import { t as m } from "./use-atom-command-
|
|
7
|
-
import { n as h } from "./query-
|
|
1
|
+
import { c as e } from "./session-Decc4Fo5.js";
|
|
2
|
+
import { Bd as t, Fd as n, Kh as r, Md as i, Qh as a, Ud as o } from "./utils-DtKQl-D3.js";
|
|
3
|
+
import { G as s, go as c } from "./keybindings-D0pBlT1k.js";
|
|
4
|
+
import { S as l, b as u, h as d, x as f } from "./mediaReference-3wc4ZfY8.js";
|
|
5
|
+
import { an as p } from "./threadSearch-CrtCof6n.js";
|
|
6
|
+
import { t as m } from "./use-atom-command-XemtT1Gv.js";
|
|
7
|
+
import { n as h } from "./query-BPk2W3QN.js";
|
|
8
8
|
import { createContext as g, useContext as _, useEffect as v, useRef as y } from "react";
|
|
9
9
|
import { c as b } from "react/compiler-runtime";
|
|
10
10
|
import { jsx as x } from "react/jsx-runtime";
|
|
@@ -105,60 +105,60 @@ function R(e, t = typeof navigator > "u" ? "" : navigator.platform) {
|
|
|
105
105
|
return t.length === 0 ? !1 : s(t) ? e.metaKey && !e.ctrlKey : e.ctrlKey && !e.metaKey;
|
|
106
106
|
}
|
|
107
107
|
// src/hooks/FileMetadataThreadProvider.tsx
|
|
108
|
-
var z = g(null), B =
|
|
108
|
+
var z = g(null), B = a(void 0);
|
|
109
109
|
function V(e) {
|
|
110
|
-
let
|
|
111
|
-
|
|
110
|
+
let t = b(12), { threadRef: n, cwd: i, checkpoints: a, children: s } = e, c;
|
|
111
|
+
t[0] === n ? c = t[1] : (c = n ? p.fileMetadataThread(n) : B, t[0] = n, t[1] = c), r(c);
|
|
112
112
|
let l;
|
|
113
|
-
|
|
113
|
+
t[2] === Symbol.for("react.memo_cache_sentinel") ? (l = { reportFailure: !1 }, t[2] = l) : l = t[2];
|
|
114
114
|
let u = m(p.invalidateFileMetadata, l), d = y(null), f, h;
|
|
115
|
-
|
|
116
|
-
if (!
|
|
115
|
+
t[3] !== a || t[4] !== i || t[5] !== u || t[6] !== n ? (f = () => {
|
|
116
|
+
if (!n || !i || !a) {
|
|
117
117
|
d.current = null;
|
|
118
118
|
return;
|
|
119
119
|
}
|
|
120
120
|
let e = d.current;
|
|
121
121
|
if (d.current = {
|
|
122
|
-
...
|
|
123
|
-
cwd:
|
|
124
|
-
checkpoints:
|
|
125
|
-
}, !e || e.environmentId !==
|
|
122
|
+
...n,
|
|
123
|
+
cwd: i,
|
|
124
|
+
checkpoints: a
|
|
125
|
+
}, !e || e.environmentId !== n.environmentId || e.threadId !== n.threadId || e.cwd !== i) return;
|
|
126
126
|
let t = new Map(e.checkpoints.map(H)), r = /* @__PURE__ */ new Set();
|
|
127
|
-
for (let e of
|
|
128
|
-
let
|
|
129
|
-
if (t.delete(e.id),
|
|
130
|
-
for (let t of e.files) r.add(
|
|
131
|
-
for (let e of
|
|
127
|
+
for (let e of a) {
|
|
128
|
+
let n = t.get(e.id);
|
|
129
|
+
if (t.delete(e.id), n?.files !== e.files || n?.status !== e.status) {
|
|
130
|
+
for (let t of e.files) r.add(o(t.path, i));
|
|
131
|
+
for (let e of n?.files ?? []) r.add(o(e.path, i));
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
for (let e of t.values()) for (let t of e.files) r.add(
|
|
134
|
+
for (let e of t.values()) for (let t of e.files) r.add(o(t.path, i));
|
|
135
135
|
r.size > 0 && u({
|
|
136
|
-
environmentId:
|
|
136
|
+
environmentId: n.environmentId,
|
|
137
137
|
input: { paths: [...r] }
|
|
138
138
|
});
|
|
139
139
|
}, h = [
|
|
140
|
+
n,
|
|
140
141
|
i,
|
|
141
142
|
a,
|
|
142
|
-
o,
|
|
143
143
|
u
|
|
144
|
-
],
|
|
144
|
+
], t[3] = a, t[4] = i, t[5] = u, t[6] = n, t[7] = f, t[8] = h) : (f = t[7], h = t[8]), v(f, h);
|
|
145
145
|
let g;
|
|
146
|
-
return
|
|
147
|
-
value:
|
|
146
|
+
return t[9] !== s || t[10] !== n ? (g = /* @__PURE__ */ x(z, {
|
|
147
|
+
value: n,
|
|
148
148
|
children: s
|
|
149
|
-
}),
|
|
149
|
+
}), t[9] = s, t[10] = n, t[11] = g) : g = t[11], g;
|
|
150
150
|
}
|
|
151
151
|
function H(e) {
|
|
152
152
|
return [e.id, e];
|
|
153
153
|
}
|
|
154
154
|
// src/hooks/useFileMetadata.ts
|
|
155
|
-
function U(e,
|
|
156
|
-
let s = /^file:\/\//iu.test(
|
|
157
|
-
return (
|
|
155
|
+
function U(e, r, a, o) {
|
|
156
|
+
let s = /^file:\/\//iu.test(r) ? u(r) : null, c = l(r).path, m = t(s ? d(s.path) : c.startsWith("~/") || !a ? c : f(c, a));
|
|
157
|
+
return (i(m) || m.startsWith("~/")) && !n(m) && m.length <= 512 ? p.fileMetadata({
|
|
158
158
|
environmentId: e,
|
|
159
159
|
input: {
|
|
160
160
|
path: m,
|
|
161
|
-
...
|
|
161
|
+
...o?.environmentId === e ? { threadId: o.threadId } : {}
|
|
162
162
|
}
|
|
163
163
|
}) : null;
|
|
164
164
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Aa as e, Oo as t, Os as n, Po as r, _o as i, oa as a, ua as o } from "./utils-
|
|
1
|
+
import { Aa as e, Oo as t, Os as n, Po as r, _o as i, oa as a, ua as o } from "./utils-DtKQl-D3.js";
|
|
2
2
|
// ../../node_modules/.pnpm/@base-ui+react@1.9.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/hooks/useFloatingRootContext.mjs
|
|
3
3
|
function s(s) {
|
|
4
4
|
let { open: c = !1, onOpenChange: l, elements: u = {} } = s, d = i(), f = e() != null;
|