@hanzo/dev 4.2.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 (113) 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/models.d.ts +2 -0
  48. package/dist/builder/api/models.js +6 -1
  49. package/dist/builder/api/sandbox.d.ts +2 -0
  50. package/dist/builder/api/sandbox.js +3 -1
  51. package/dist/builder/desk.d.ts +6 -0
  52. package/dist/builder/desk.js +79 -14
  53. package/dist/builder/mind.d.ts +5 -5
  54. package/dist/builder/mind.js +35 -14
  55. package/dist/builder/pane.d.ts +1 -1
  56. package/dist/builder/pane.js +1 -1
  57. package/dist/builder/panel.js +5 -5
  58. package/dist/builder/preview-fallback.d.ts +47 -0
  59. package/dist/builder/preview-fallback.js +341 -0
  60. package/dist/{changedFileKind-D6QYvIez.js → changedFileKind-DrjqPCpz.js} +5 -5
  61. package/dist/{collapsible-DFT41MdC.js → collapsible-CDT6JKbk.js} +1 -1
  62. package/dist/{color-picker-CshqBbpY.js → color-picker-kSVcH92L.js} +16 -16
  63. package/dist/core.js +1 -1
  64. package/dist/{decodeImagePreview-DnfFEjhw.js → decodeImagePreview-ZtWU3urU.js} +2 -2
  65. package/dist/{delimitedPreview-BiEpdYOj.js → delimitedPreview-DbbXcqOT.js} +1 -1
  66. package/dist/{dialog-DhQtWGRa.js → dialog-EmpqFZiK.js} +40 -40
  67. package/dist/{embed-c030vUqM.js → embed-CPWZKyIW.js} +36098 -35677
  68. package/dist/{empty-Bm5EzcG8.js → empty-ChM6gdzn.js} +1 -1
  69. package/dist/{errors-DrFQSJW3.js → errors-D8_Zn8KN.js} +2 -2
  70. package/dist/{fileContextMenu-BBo91omq.js → fileContextMenu-DW94DZj4.js} +54 -54
  71. package/dist/{fileExplorerLabel-AikEChiS.js → fileExplorerLabel-Cfz-3q1U.js} +507 -507
  72. package/dist/{fileSurfaceChrome-Cqkvn8RQ.js → fileSurfaceChrome-BDyKklTq.js} +26 -26
  73. package/dist/{hanzoWebAnalytics-CCxpTzcI.js → hanzoWebAnalytics-B1eETW-7.js} +1 -1
  74. package/dist/index.css +1 -1
  75. package/dist/{input-group-DEJEuwc9.js → input-group-BZ_QN-y7.js} +1 -1
  76. package/dist/{keybindings-C5tK_GAk.js → keybindings-D0pBlT1k.js} +7812 -7806
  77. package/dist/keymap.js +1 -1
  78. package/dist/{lucideIconByName-DUaXKH0V.js → lucideIconByName-CXY44V8P.js} +6835 -6848
  79. package/dist/{mediaReference-Bt_mh-ag.js → mediaReference-3wc4ZfY8.js} +95 -95
  80. package/dist/mediaSource-jW5c7b4r.js +70 -0
  81. package/dist/{modelPickerVisibility-Jue3CLfc.js → modelPickerVisibility-DBTc5r1G.js} +1 -1
  82. package/dist/{network-BbwqRm8c.js → network-wuXD7-is.js} +1 -1
  83. package/dist/{popover-anNQdce7.js → popover-BAyP2Tdr.js} +1 -1
  84. package/dist/{presentation-D9mVPBHm.js → presentation-68y8EAuH.js} +299 -299
  85. package/dist/{previewFailureMessages-BKpsSGX5.js → previewFailureMessages-CFguipaK.js} +3 -3
  86. package/dist/query-BPk2W3QN.js +63 -0
  87. package/dist/{readBinaryPreview-BAQ4fFjm.js → readBinaryPreview-CjZdBNVR.js} +2 -2
  88. package/dist/{refresh-icon-BYx64to1.js → refresh-icon-Vo5ImiQL.js} +1 -1
  89. package/dist/{scroll-area-ChvX8uOh.js → scroll-area-CEoyjC7h.js} +1 -1
  90. package/dist/{select-DumYjny_.js → select-DLFnkZsI.js} +2 -2
  91. package/dist/{session-_kmiSv2A.js → session-Decc4Fo5.js} +1063 -1063
  92. package/dist/{skeleton-CJqwfMSF.js → skeleton-BOKpAZv6.js} +1 -1
  93. package/dist/{switch-COwevwaq.js → switch-DjpPjtQN.js} +2 -2
  94. package/dist/{themePalette-Dl_7omVL.js → themePalette-C-GtwwqV.js} +977 -977
  95. package/dist/{threadSearch-BHyWwcV3.js → threadSearch-CrtCof6n.js} +162 -162
  96. package/dist/{toggle-CEO6qTxB.js → toggle-B4F0EEtI.js} +1 -1
  97. package/dist/{toggle-group-BHovdMDl.js → toggle-group-l8hRPswr.js} +2 -2
  98. package/dist/{use-atom-command-ByoYq_K6.js → use-atom-command-XemtT1Gv.js} +1 -1
  99. package/dist/{useAriaLabelledBy-DPSISlnL.js → useAriaLabelledBy-CibvSz-b.js} +1 -1
  100. package/dist/{useFileMetadata-e7zsixVX.js → useFileMetadata-PesehDX0.js} +33 -33
  101. package/dist/{useFloatingRootContext-CJ9stHca.js → useFloatingRootContext-ppoGvqar.js} +1 -1
  102. package/dist/{useLiveRefresh-BkKJKXhH.js → useLiveRefresh-aHkPuz6N.js} +172 -172
  103. package/dist/{useNextRenderData-CyUmSAgz.js → useNextRenderData-CNhjWfP0.js} +1 -1
  104. package/dist/{useSettings-DYG9Dmro.js → useSettings-B_MtcTyD.js} +139 -139
  105. package/dist/{useTextFieldSpeech-COa9XcRx.js → useTextFieldSpeech-B1wCgLPO.js} +1404 -1404
  106. package/dist/{useTheme-D2ZM1gvV.js → useTheme-WlXpQRKG.js} +4 -4
  107. package/dist/{utils-515nQ17G.js → utils-DtKQl-D3.js} +6184 -6172
  108. package/dist/{wizard-i86ViMRc.js → wizard-DjD4UNew.js} +3 -3
  109. package/dist/{workspaceFocus-BV1_9KiH.js → workspaceFocus-MR1plm6A.js} +144 -144
  110. package/dist/{zap-e0OsRjBR.js → zap-iwsUKtvA.js} +30 -17
  111. package/package.json +1 -1
  112. package/dist/mediaSource-zI7JWid4.js +0 -70
  113. package/dist/query-BxrrBAp6.js +0 -63
@@ -1,8 +1,8 @@
1
- import { $t as e, Cn as t, En as n, Qt as r, Sn as i, Tn as a, Zn as o, Zt as s } from "./session-_kmiSv2A.js";
1
+ import { $t as e, Cn as t, En as n, Qt as r, Sn as i, Tn as a, Zn as o, Zt as s } from "./session-Decc4Fo5.js";
2
2
  import { c, s as l } from "./messages-yqmY7G5x.js";
3
- import { Ad as u, Bd as d, Cg as f, Fd as p, Hd as m, Hg as h, Id as g, Jh as _, Ld as v, Md as ee, Pd as te, Su as ne, Ud as y, Wd as re, Xf as b, Zf as ie, Zh as x, af as S, ag as ae, cf as C, cg as oe, fg as se, if as ce, jd as le, of as ue, rg as w, sf as T, sg as E, sp as D, zd as O } from "./utils-515nQ17G.js";
4
- import { $p as de, Ch as fe, Dh as pe, Hh as me, Ih as he, Km as ge, O_ as _e, Qu as ve, Rc as ye, Sh as k, Uh as be, Wi as xe, Wy as Se, Z as A, Zm as Ce, Zp as we, _m as Te, cm as j, dg as M, ey as Ee, gy as De, ib as Oe, im as ke, iy as Ae, kd as je, km as Me, lm as Ne, tb as Pe, uc as Fe, yh as Ie } from "./keybindings-C5tK_GAk.js";
5
- import { s as Le } from "./network-BbwqRm8c.js";
3
+ import { Bd as u, Fd as d, Gd as f, Id as p, Ld as m, Md as h, Nd as ee, Qf as te, Qh as g, Rd as ne, Su as re, Ud as _, Ug as v, Vd as y, Wd as b, Yh as x, Zf as S, af as ie, cf as C, cg as w, cp as T, ig as E, jd as ae, lf as D, lg as oe, of as O, og as se, pg as ce, sf as le, wg as ue } from "./utils-DtKQl-D3.js";
4
+ import { $p as de, Ch as fe, Dh as pe, Hh as me, Ih as he, Km as ge, O_ as _e, Qu as ve, Rc as ye, Sh as k, Uh as be, Wi as xe, Wy as Se, Z as A, Zm as Ce, Zp as we, _m as Te, cm as j, dg as M, ey as Ee, gy as De, ib as Oe, im as ke, iy as Ae, kd as je, km as Me, lm as Ne, tb as Pe, uc as Fe, yh as Ie } from "./keybindings-D0pBlT1k.js";
5
+ import { s as Le } from "./network-wuXD7-is.js";
6
6
  var Re = {
7
7
  "~effect/RequestResolver": {
8
8
  _A: Pe,
@@ -16,7 +16,7 @@ var Re = {
16
16
  return t.batchKey = e.batchKey, t.preCheck = e.preCheck, t.delay = e.delay, t.collectWhile = e.collectWhile, t.runAll = e.runAll, t;
17
17
  }, N = 6e4, Be = 1024, Ve = class extends be {};
18
18
  function He(e) {
19
- let t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), i = /* @__PURE__ */ new Map(), a = (e) => JSON.stringify([e.environmentId, e.threadId]), o = _((e) => x((t) => {
19
+ let t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), i = /* @__PURE__ */ new Map(), a = (e) => JSON.stringify([e.environmentId, e.threadId]), o = x((e) => g((t) => {
20
20
  let n = i.get(e);
21
21
  n || (n = {
22
22
  readers: 0,
@@ -24,13 +24,13 @@ function He(e) {
24
24
  }, i.set(e, n)), n.readers++, t.addFinalizer(() => {
25
25
  --n.readers === 0 && i.delete(e);
26
26
  });
27
- }).pipe(w(0), E(`file-metadata-thread:${e}`))), s = _((e) => x(0).pipe(E(`file-metadata-revision:${e}`))), c = (e, t) => s(JSON.stringify([e, O(t)])), l = (e, n, r) => {
28
- let i = O(n), a = t.get(e)?.get(i);
27
+ }).pipe(E(0), w(`file-metadata-thread:${e}`))), s = x((e) => g(0).pipe(w(`file-metadata-revision:${e}`))), c = (e, t) => s(JSON.stringify([e, u(t)])), l = (e, n, r) => {
28
+ let i = u(n), a = t.get(e)?.get(i);
29
29
  return a && a.expires > r ? a : void 0;
30
- }, u = (e, n, r, a, o = !1) => {
30
+ }, d = (e, n, r, a, o = !1) => {
31
31
  let s = t.get(e);
32
32
  s || (s = /* @__PURE__ */ new Map(), t.set(e, s));
33
- let c = O(n);
33
+ let c = u(n);
34
34
  s.delete(c);
35
35
  let l = {
36
36
  value: r,
@@ -51,7 +51,7 @@ function He(e) {
51
51
  let e = s.keys().next().value;
52
52
  e !== void 0 && s.delete(e);
53
53
  }
54
- }, d = ze({
54
+ }, f = ze({
55
55
  batchKey: (e) => e.request.session,
56
56
  delay: me,
57
57
  collectWhile: (e) => e.size < 64,
@@ -67,14 +67,14 @@ function He(e) {
67
67
  }
68
68
  let s = a;
69
69
  n = yield* Te(function* () {
70
- let r = yield* b(A.filesystemGetMetadata, { paths: i }).pipe(ge(D, e[0].request.supervisor)), a = yield* M, s = new Map(i.map((e, t) => [e, r.entries[t] ?? null])), c = [];
70
+ let r = yield* S(A.filesystemGetMetadata, { paths: i }).pipe(ge(T, e[0].request.supervisor)), a = yield* M, s = new Map(i.map((e, t) => [e, r.entries[t] ?? null])), c = [];
71
71
  for (let e of n) {
72
72
  if (!o.get(e.request.path).valid) {
73
73
  c.push(e);
74
74
  continue;
75
75
  }
76
76
  let n = s.get(e.request.path) ?? null;
77
- u(t, e.request.path, n, a), e.request.retained?.set(e.request.path, {
77
+ d(t, e.request.path, n, a), e.request.retained?.set(e.request.path, {
78
78
  value: n,
79
79
  expires: a + N
80
80
  }), e.completeUnsafe(_e(n));
@@ -88,12 +88,12 @@ function He(e) {
88
88
  })));
89
89
  }
90
90
  })
91
- }), p = ue(e, {
91
+ }), p = le(e, {
92
92
  label: "environment-data:filesystem:metadata",
93
93
  staleTimeMs: N,
94
94
  idleTtlMs: N,
95
95
  execute: j(function* (e) {
96
- let t = yield* D, n = yield* h(t.session);
96
+ let t = yield* T, n = yield* v(t.session);
97
97
  if (n._tag === "None") return null;
98
98
  let r = e.threadId ? i.get(a({
99
99
  environmentId: t.target.environmentId,
@@ -108,32 +108,32 @@ function He(e) {
108
108
  session: n.value,
109
109
  supervisor: t,
110
110
  ...o ? { retained: o } : {}
111
- }), d);
111
+ }), f);
112
112
  }),
113
113
  refreshTrigger: ({ environmentId: e, input: t }) => c(e, t.path)
114
- }), g = _((e) => {
115
- let t = e.pipe(oe(N), w(0));
116
- return ae(e, (n) => {
114
+ }), m = x((e) => {
115
+ let t = e.pipe(oe(N), E(0));
116
+ return se(e, (n) => {
117
117
  let r = n(e);
118
- return Ee(f(r), (e) => e === null) ? n(t) : r;
119
- }, { initialValueTarget: e }).pipe(w(0));
120
- }), v = (e) => g(p({
118
+ return Ee(ue(r), (e) => e === null) ? n(t) : r;
119
+ }, { initialValueTarget: e }).pipe(E(0));
120
+ }), h = (e) => m(p({
121
121
  ...e,
122
122
  input: {
123
123
  ...e.input,
124
- path: O(e.input.path)
124
+ path: u(e.input.path)
125
125
  }
126
126
  })), ee = j(function* (e, n, r) {
127
- let a = yield* D, o = yield* h(a.session);
127
+ let a = yield* T, o = yield* v(a.session);
128
128
  if (o._tag === "None") return;
129
129
  let s = yield* M;
130
130
  if (!r || r(o.value)) for (let r of n) {
131
- let n = m(r.path, e);
131
+ let n = _(r.path, e);
132
132
  if (r.kind === "directory") {
133
- l(o.value, n, s)?.value?.kind !== "directory" && u(o.value, n, { kind: "directory" }, s, !0);
133
+ l(o.value, n, s)?.value?.kind !== "directory" && d(o.value, n, { kind: "directory" }, s, !0);
134
134
  continue;
135
135
  }
136
- let a = O(n), c = t.get(o.value);
136
+ let a = u(n), c = t.get(o.value);
137
137
  if (c?.get(a)?.value?.kind !== "file") {
138
138
  c?.delete(a);
139
139
  for (let e of i.values()) {
@@ -143,33 +143,33 @@ function He(e) {
143
143
  }
144
144
  }
145
145
  }), te = j(function* (e) {
146
- let a = yield* D, o = yield* h(a.session);
146
+ let a = yield* T, o = yield* v(a.session);
147
147
  if (o._tag === "Some") {
148
148
  n.set(o.value, (n.get(o.value) ?? 0) + 1);
149
- let a = O(e);
149
+ let a = u(e);
150
150
  for (let e of r.get(o.value)?.get(a) ?? []) e.valid = !1;
151
151
  t.get(o.value)?.delete(a);
152
- for (let t of i.values()) t.sessions.get(o.value)?.delete(O(e));
152
+ for (let t of i.values()) t.sessions.get(o.value)?.delete(u(e));
153
153
  }
154
154
  });
155
155
  return {
156
- metadata: v,
156
+ metadata: h,
157
157
  retainThread: (e) => o(a(e)),
158
158
  rememberEntries: ee,
159
159
  rememberFile: j(function* (e, t, n) {
160
- let r = yield* D, i = yield* h(r.session);
160
+ let r = yield* T, i = yield* v(r.session);
161
161
  if (i._tag === "None") return;
162
- let a = m(t.relativePath, e), o = yield* M;
162
+ let a = _(t.relativePath, e), o = yield* M;
163
163
  if (n && !n(i.value)) return;
164
164
  let s = l(i.value, a, o)?.value;
165
- u(i.value, a, {
165
+ d(i.value, a, {
166
166
  ...s,
167
167
  kind: "file",
168
168
  byteLength: t.byteLength
169
169
  }, o, !0);
170
170
  }),
171
171
  seedAfterRead: j(function* (e, t) {
172
- let r = yield* D, i = yield* h(r.session), a = i._tag === "Some" ? n.get(i.value) ?? 0 : 0, o = yield* e;
172
+ let r = yield* T, i = yield* v(r.session), a = i._tag === "Some" ? n.get(i.value) ?? 0 : 0, o = yield* e;
173
173
  return yield* t(o, (e) => i._tag === "Some" && e === i.value && (n.get(e) ?? 0) === a), o;
174
174
  }),
175
175
  invalidate: te,
@@ -188,7 +188,7 @@ function Ue(e) {
188
188
  ]);
189
189
  }
190
190
  function We(e, t) {
191
- return new Set([t.relativePath, e.relativePath].map((t) => m(t, e.cwd)));
191
+ return new Set([t.relativePath, e.relativePath].map((t) => _(t, e.cwd)));
192
192
  }
193
193
  var Ge = class extends je()("ScratchProjectNotLoadedError", { projectId: ve }) {
194
194
  get message() {
@@ -199,7 +199,7 @@ var Ge = class extends je()("ScratchProjectNotLoadedError", { projectId: ve }) {
199
199
  }
200
200
  };
201
201
  function Ke(t, n) {
202
- let i = He(t), a = ce(), o = ce(), c = _((e) => x(null).pipe(E(`environment-data:projects:optimistic-file:${e}`))), l = C(t, {
202
+ let i = He(t), a = ie(), o = ie(), c = x((e) => g(null).pipe(w(`environment-data:projects:optimistic-file:${e}`))), l = D(t, {
203
203
  label: "environment-data:projects:read-file",
204
204
  tag: A.projectsReadFile,
205
205
  staleTimeMs: 3e4,
@@ -211,7 +211,7 @@ function Ke(t, n) {
211
211
  })), r = n.get(t);
212
212
  r?.saved && r.confirmingQuery === l(e) && n.set(t, null);
213
213
  }),
214
- execute: (e) => i.seedAfterRead(b(A.projectsReadFile, e), (t, n) => t.exists === !1 ? he : i.rememberFile(e.cwd, t, n))
214
+ execute: (e) => i.seedAfterRead(S(A.projectsReadFile, e), (t, n) => t.exists === !1 ? he : i.rememberFile(e.cwd, t, n))
215
215
  }), u = {
216
216
  mode: "serial",
217
217
  key: ({ environmentId: e, input: t }) => JSON.stringify([e, t.projectId])
@@ -219,51 +219,51 @@ function Ke(t, n) {
219
219
  return {
220
220
  fileMetadata: i.metadata,
221
221
  fileMetadataThread: i.retainThread,
222
- invalidateFileMetadata: S(t, {
222
+ invalidateFileMetadata: O(t, {
223
223
  label: "environment-data:filesystem:invalidate-metadata",
224
224
  execute: (e, t, n) => Ne([...new Set(e.paths)], (e) => i.invalidate(e).pipe(fe(() => k(() => i.refreshPath(n, e, t)))))
225
225
  }),
226
- searchEntries: C(t, {
226
+ searchEntries: D(t, {
227
227
  label: "environment-data:projects:search-entries",
228
228
  tag: A.projectsSearchEntries,
229
229
  staleTimeMs: 15e3,
230
- execute: (e) => i.seedAfterRead(b(A.projectsSearchEntries, e), (t, n) => i.rememberEntries(e.cwd, t.entries, n))
230
+ execute: (e) => i.seedAfterRead(S(A.projectsSearchEntries, e), (t, n) => i.rememberEntries(e.cwd, t.entries, n))
231
231
  }),
232
- listEntries: C(t, {
232
+ listEntries: D(t, {
233
233
  label: "environment-data:projects:list-entries",
234
234
  tag: A.projectsListEntries,
235
235
  staleTimeMs: 3e4,
236
236
  idleTtlMs: 3e5,
237
- execute: (e) => i.seedAfterRead(b(A.projectsListEntries, e), (t, n) => i.rememberEntries(e.cwd, t.entries, n))
237
+ execute: (e) => i.seedAfterRead(S(A.projectsListEntries, e), (t, n) => i.rememberEntries(e.cwd, t.entries, n))
238
238
  }),
239
- listIgnoredFiles: C(t, {
239
+ listIgnoredFiles: D(t, {
240
240
  label: "environment-data:projects:list-ignored-files",
241
241
  tag: A.projectsListIgnoredFiles,
242
242
  staleTimeMs: 15e3
243
243
  }),
244
244
  readFile: l,
245
245
  optimisticFile: (e) => c(Ue(e)),
246
- create: S(t, {
246
+ create: O(t, {
247
247
  label: "environment-data:commands:project:create",
248
248
  execute: s,
249
249
  scheduler: a,
250
250
  concurrency: u
251
251
  }),
252
- update: S(t, {
252
+ update: O(t, {
253
253
  label: "environment-data:commands:project:update",
254
254
  execute: e,
255
255
  scheduler: a,
256
256
  concurrency: u
257
257
  }),
258
- delete: S(t, {
258
+ delete: O(t, {
259
259
  label: "environment-data:commands:project:delete",
260
260
  execute: r,
261
261
  scheduler: a,
262
262
  concurrency: u
263
263
  }),
264
- openScratch: S(t, {
264
+ openScratch: O(t, {
265
265
  label: "environment-data:projects:open-scratch",
266
- execute: (e, t, r) => b(A.projectsEnsureScratch, e).pipe(ke(({ projectId: e }) => se(t, n.projectAtom({
266
+ execute: (e, t, r) => S(A.projectsEnsureScratch, e).pipe(ke(({ projectId: e }) => ce(t, n.projectAtom({
267
267
  environmentId: r,
268
268
  projectId: e
269
269
  })).pipe(Fe(Se), ye, pe("10 seconds"), Me(Ae), ke(De({
@@ -276,7 +276,7 @@ function Ke(t, n) {
276
276
  key: ({ environmentId: e }) => e
277
277
  }
278
278
  }),
279
- createNew: T(t, {
279
+ createNew: C(t, {
280
280
  label: "environment-data:projects:create-new",
281
281
  tag: A.projectsCreateNew,
282
282
  scheduler: a,
@@ -285,7 +285,7 @@ function Ke(t, n) {
285
285
  key: ({ environmentId: e }) => e
286
286
  }
287
287
  }),
288
- createFromThread: T(t, {
288
+ createFromThread: C(t, {
289
289
  label: "environment-data:projects:create-from-thread",
290
290
  tag: A.projectsCreateFromThread,
291
291
  scheduler: a,
@@ -294,7 +294,7 @@ function Ke(t, n) {
294
294
  key: ({ environmentId: e }) => e
295
295
  }
296
296
  }),
297
- writeFile: T(t, {
297
+ writeFile: C(t, {
298
298
  label: "environment-data:projects:write-file",
299
299
  tag: A.projectsWriteFile,
300
300
  scheduler: o,
@@ -306,7 +306,7 @@ function Ke(t, n) {
306
306
  t.relativePath
307
307
  ])
308
308
  },
309
- execute: (e) => ie(A.projectsWriteFile, e).pipe(fe((t) => Ne(We(e, t), i.invalidate))),
309
+ execute: (e) => te(A.projectsWriteFile, e).pipe(fe((t) => Ne(We(e, t), i.invalidate))),
310
310
  onSuccess: ({ environmentId: e, input: t }, n, r) => k(() => {
311
311
  for (let a of We(t, r)) i.refreshPath(e, a, n);
312
312
  })
@@ -316,50 +316,50 @@ function Ke(t, n) {
316
316
  // ../../packages/client-runtime/src/state/projectEntities.ts
317
317
  var qe = Object.freeze([]), Je = /* @__PURE__ */ new Map();
318
318
  function Ye(e) {
319
- let r = _((t) => x((n) => n(e.snapshotAtom(t))?.projects ?? qe).pipe(E(`environment-projects:${t}`))), s = _((e) => x((t) => {
319
+ let r = x((t) => g((n) => n(e.snapshotAtom(t))?.projects ?? qe).pipe(w(`environment-projects:${t}`))), s = x((e) => g((t) => {
320
320
  let n = t(r(e));
321
321
  return n.length === 0 ? Je : new Map(n.map((e) => [e.id, e]));
322
- }).pipe(E(`environment-project-index:${e}`))), c = _((e) => {
322
+ }).pipe(w(`environment-project-index:${e}`))), c = x((e) => {
323
323
  let t = [];
324
- return x((i) => {
324
+ return g((i) => {
325
325
  let a = i(r(e)).map((t) => ({
326
326
  environmentId: e,
327
327
  projectId: t.id
328
328
  }));
329
329
  return n(t, a) ? t : (t = a, a);
330
- }).pipe(E(`environment-project-refs:${e}`));
331
- }), l = _((n) => {
330
+ }).pipe(w(`environment-project-refs:${e}`));
331
+ }), l = x((n) => {
332
332
  let r = t(n), i = null, a = !1, o = null;
333
- return x((t) => {
333
+ return g((t) => {
334
334
  let n = t(s(r.environmentId)).get(r.projectId) ?? null, c = n !== null && nt(n, e.serverConfigValueAtom ? t(e.serverConfigValueAtom(r.environmentId))?.scratchWorkspaceRoot : null);
335
335
  return n === i && c === a || (i = n, a = c, o = n === null ? null : {
336
- ...ne(r.environmentId, n),
336
+ ...re(r.environmentId, n),
337
337
  ...c ? { isScratch: !0 } : {}
338
338
  }), o;
339
- }).pipe(E(`environment-project:${n}`));
340
- }), u = [], d = x((t) => {
339
+ }).pipe(w(`environment-project:${n}`));
340
+ }), u = [], d = g((t) => {
341
341
  let r = [];
342
342
  for (let n of o(t(e.catalogValueAtom))) r.push(...t(c(n)));
343
343
  return n(u, r) ? u : (u = r, r);
344
- }).pipe(E("environment-project-refs")), f = [];
344
+ }).pipe(w("environment-project-refs")), f = [];
345
345
  return {
346
346
  environmentProjectsAtom: r,
347
347
  environmentProjectIndexAtom: s,
348
348
  environmentProjectRefsAtom: c,
349
349
  projectRefsAtom: d,
350
- projectsAtom: x((e) => {
350
+ projectsAtom: g((e) => {
351
351
  let t = e(d).flatMap((t) => {
352
352
  let n = e(l(a(t)));
353
353
  return n === null ? [] : [n];
354
354
  });
355
355
  return i(f, t) || (f = t), f;
356
- }).pipe(E("environment-project-list")),
357
- projectConfigsReadyAtom: x((t) => {
356
+ }).pipe(w("environment-project-list")),
357
+ projectConfigsReadyAtom: g((t) => {
358
358
  let n = t(e.catalogValueAtom);
359
359
  if (!n.isReady) return !1;
360
360
  for (let r of o(n)) if (e.serverConfigValueAtom && t(e.serverConfigValueAtom(r)) === null) return !1;
361
361
  return !0;
362
- }).pipe(E("environment-project-configs-ready")),
362
+ }).pipe(w("environment-project-configs-ready")),
363
363
  projectAtom: (e) => l(a(e))
364
364
  };
365
365
  }
@@ -385,7 +385,7 @@ function Xe(e, t = l) {
385
385
  // ../../packages/client-runtime/src/state/projects.ts
386
386
  var Ze = (e) => /^win(dows)?/i.test(e);
387
387
  function P(e) {
388
- return v(e) || p(e) ? "windows" : e.startsWith("/") ? "unix" : null;
388
+ return ne(e) || p(e) ? "windows" : e.startsWith("/") ? "unix" : null;
389
389
  }
390
390
  function F(e) {
391
391
  let t = P(e);
@@ -401,7 +401,7 @@ function R(e) {
401
401
  return P(e) === "unix" ? e.lastIndexOf("/") : Math.max(e.lastIndexOf("/"), e.lastIndexOf("\\"));
402
402
  }
403
403
  function z(e) {
404
- if (v(e)) {
404
+ if (ne(e)) {
405
405
  let t = `${e.slice(0, 2)}\\`;
406
406
  return {
407
407
  root: t,
@@ -425,33 +425,33 @@ function z(e) {
425
425
  }
426
426
  function Qe(e, t = "") {
427
427
  let n = Ze(t);
428
- return e.startsWith("./") || e.startsWith("../") || e.startsWith(".\\") || e.startsWith("..\\") || e.startsWith("/") || e.startsWith("~/") || n && g(e);
428
+ return e.startsWith("./") || e.startsWith("../") || e.startsWith(".\\") || e.startsWith("..\\") || e.startsWith("/") || e.startsWith("~/") || n && m(e);
429
429
  }
430
430
  function $e(e, t) {
431
- return g(e) && !Ze(t);
431
+ return m(e) && !Ze(t);
432
432
  }
433
433
  function et(e, t) {
434
434
  let n = e.trim();
435
- if (!ee(n) || !t) return d(n);
436
- let r = z(d(t));
437
- if (!r) return d(n);
435
+ if (!ee(n) || !t) return y(n);
436
+ let r = z(y(t));
437
+ if (!r) return y(n);
438
438
  let i = [...r.segments];
439
439
  for (let e of n.split(/[\\/]+/)) e.length !== 0 && e !== "." && (e === ".." ? i.pop() : i.push(e));
440
440
  let a = i.join(r.separator);
441
- return d(a.length === 0 ? r.root : `${r.root}${a}`);
441
+ return y(a.length === 0 ? r.root : `${r.root}${a}`);
442
442
  }
443
443
  function tt(e, t) {
444
- let n = O(t);
444
+ let n = u(t);
445
445
  if (n.length !== 0) return e.find((e) => {
446
446
  let t = e.workspaceRoot ?? e.cwd;
447
- return t ? O(t) === n : !1;
447
+ return t ? u(t) === n : !1;
448
448
  });
449
449
  }
450
450
  function nt(e, t) {
451
451
  return e.isScratch === !0 || t != null && tt([e], t) !== void 0;
452
452
  }
453
453
  function rt(e) {
454
- let t = d(e), n = z(t);
454
+ let t = y(e), n = z(t);
455
455
  return n ? n.segments.findLast(Boolean) ?? t : t.split(/[/\\]/).findLast(Boolean) ?? t;
456
456
  }
457
457
  function it(e, t) {
@@ -472,7 +472,7 @@ function st(e) {
472
472
  return t.length === 0 || I(t) ? t : `${t}${F(t)}`;
473
473
  }
474
474
  function ct(e) {
475
- let t = d(e), n = z(t);
475
+ let t = y(e), n = z(t);
476
476
  if (n) {
477
477
  if (n.segments.length === 0) return null;
478
478
  if (n.segments.length === 1) return n.root;
@@ -498,7 +498,7 @@ function B(e, t) {
498
498
  } catch {}
499
499
  let a = r === "localhost" || r === i ? "" : n.hostname, o = a ? `\\\\${a}${n.pathname.replaceAll("/", "\\")}` : n.pathname;
500
500
  return o.length === 0 ? null : {
501
- path: y(o),
501
+ path: b(o),
502
502
  hash: n.hash
503
503
  };
504
504
  } catch {
@@ -520,7 +520,7 @@ function H(e) {
520
520
  return e.line ? `${e.path}:${e.line}${e.column ? `:${e.column}` : ""}` : e.path;
521
521
  }
522
522
  function U(e) {
523
- return g(e) || /[A-Za-z]:\\/.test(e);
523
+ return m(e) || /[A-Za-z]:\\/.test(e);
524
524
  }
525
525
  function ft(e, t, n) {
526
526
  let r = e.replace(/[\\/]+$/, "");
@@ -542,7 +542,7 @@ function mt(e, t) {
542
542
  let t = U(e) ? "\\" : "/";
543
543
  i = ft(e, r.slice(2), t);
544
544
  }
545
- } else if (!le(r)) {
545
+ } else if (!h(r)) {
546
546
  let e = U(t) ? "\\" : "/";
547
547
  i = ft(t, r.replace(/^(?:\.\/)+/, ""), e);
548
548
  }
@@ -590,7 +590,7 @@ function gt(e) {
590
590
  function _t(e, t) {
591
591
  let n = t.get(e.path.replaceAll("\\", "/"));
592
592
  return [
593
- u(e.path),
593
+ ae(e.path),
594
594
  n,
595
595
  e.line ? `L${e.line}${e.endLine ? `–${e.endLine}` : e.column ? `:C${e.column}` : ""}` : void 0
596
596
  ].filter(Boolean).join(" · ");
@@ -669,9 +669,9 @@ function Pt(e, t) {
669
669
  function Ft(e) {
670
670
  let t = e.trim();
671
671
  if (t.length === 0 || t.includes("`") || St.test(t) && !Tt(t)) return null;
672
- let n = g(t) ? t : t.replaceAll("\\", "/"), r = G.test(n);
672
+ let n = m(t) ? t : t.replaceAll("\\", "/"), r = G.test(n);
673
673
  if (!r && !K.test(n) || Et.test(n.replace(G, ""))) return null;
674
- if (!(W.test(n) || n.startsWith("/") || g(n))) {
674
+ if (!(W.test(n) || n.startsWith("/") || m(n))) {
675
675
  let e = n.replace(G, "");
676
676
  if (e.endsWith("/") || Pt(e.split("/")[0] ?? e, r)) return null;
677
677
  let t = e.replace(/[/\\]+$/, "").split(/[\\/]/).at(-1) ?? "";
@@ -704,9 +704,9 @@ function X(e) {
704
704
  function Lt(e) {
705
705
  if (/^file:/i.test(e)) {
706
706
  let t = B(e);
707
- return t === null ? null : y(Y(t.path));
707
+ return t === null ? null : b(Y(t.path));
708
708
  }
709
- return y(Y(X(e).path));
709
+ return b(Y(X(e).path));
710
710
  }
711
711
  function Rt(e, t) {
712
712
  let n = Z(t);
@@ -714,10 +714,10 @@ function Rt(e, t) {
714
714
  let r = (e) => e.replaceAll("\\", "/").replace(/^\.\//, "").replace(/\/+$/, ""), i = V(e.trim());
715
715
  if (i.line !== void 0 && i.line !== n.line || i.column !== void 0 && i.column !== n.column || i.endLine !== void 0 && i.endLine !== n.endLine) return !1;
716
716
  let a = r(i.path), o = r(n.path);
717
- return a.length === 0 || (g(n.path) && (a = a.toLowerCase(), o = o.toLowerCase()), o === a || o.endsWith(`/${a}`));
717
+ return a.length === 0 || (m(n.path) && (a = a.toLowerCase(), o = o.toLowerCase()), o === a || o.endsWith(`/${a}`));
718
718
  }
719
719
  function zt(e) {
720
- return W.test(e) || !e.startsWith("/") && !g(e);
720
+ return W.test(e) || !e.startsWith("/") && !m(e);
721
721
  }
722
722
  function Bt(e) {
723
723
  if (!e.startsWith("/")) return !1;
@@ -726,10 +726,10 @@ function Bt(e) {
726
726
  return J.has(t) || q.test(t);
727
727
  }
728
728
  function Vt(e, t) {
729
- return g(e) || W.test(e) ? !0 : e.startsWith("/") ? Bt(t) : J.has(e) ? !0 : vt.test(t) || yt.test(e);
729
+ return m(e) || W.test(e) ? !0 : e.startsWith("/") ? Bt(t) : J.has(e) ? !0 : vt.test(t) || yt.test(e);
730
730
  }
731
731
  function Ht(e) {
732
- if (g(e)) return !1;
732
+ if (m(e)) return !1;
733
733
  let t = e.match(bt);
734
734
  if (!t) return !1;
735
735
  let n = t[2] ?? "";
@@ -738,10 +738,10 @@ function Ht(e) {
738
738
  function Z(e) {
739
739
  let t = It(e);
740
740
  if (t.length === 0 || t.startsWith("#") || t.startsWith("//")) return null;
741
- let n = (t.toLowerCase().startsWith("file:") ? B(t) : null) ?? X(t), r = y(Y(n.path.trim())), i = Y(n.hash.trim());
741
+ let n = (t.toLowerCase().startsWith("file:") ? B(t) : null) ?? X(t), r = b(Y(n.path.trim())), i = Y(n.hash.trim());
742
742
  if (r.length === 0 || Ht(r)) return null;
743
743
  let a = Ut(r, i);
744
- return a || /^[\\/]/.test(r) || g(r) ? a : r.includes("\\") ? Ut(r.replaceAll("\\", "/"), i) : null;
744
+ return a || /^[\\/]/.test(r) || m(r) ? a : r.includes("\\") ? Ut(r.replaceAll("\\", "/"), i) : null;
745
745
  }
746
746
  function Ut(e, t) {
747
747
  let n = V(e, t);
@@ -844,7 +844,7 @@ function Qt(e, t, n = t) {
844
844
  let r = Z(e);
845
845
  if (!r) return null;
846
846
  let i = H(r);
847
- return zt(i) ? n ? mt(i, n) : null : te(r.path) && re(r.path, t) === null ? null : i;
847
+ return zt(i) ? n ? mt(i, n) : null : d(r.path) && f(r.path, t) === null ? null : i;
848
848
  }
849
849
  function $t(e) {
850
850
  return /^[A-Za-z]:[\\/]/.test(Y(e));
@@ -874,7 +874,7 @@ function en(e) {
874
874
  }
875
875
  // ../../packages/client-runtime/src/mediaReference.ts
876
876
  function tn(e) {
877
- let t = g(e) || e.startsWith("//"), n = t ? e.replaceAll("\\", "/") : e, r = t ? /^(?:[a-z]:\/|\/\/[^/]+\/[^/]+(?:\/|$))/i.exec(n)?.[0] : n.startsWith("/") ? "/" : void 0;
877
+ let t = m(e) || e.startsWith("//"), n = t ? e.replaceAll("\\", "/") : e, r = t ? /^(?:[a-z]:\/|\/\/[^/]+\/[^/]+(?:\/|$))/i.exec(n)?.[0] : n.startsWith("/") ? "/" : void 0;
878
878
  if (!r) return;
879
879
  let i = [];
880
880
  for (let e of n.slice(r.length).split("/")) e && e !== "." && (e === ".." ? i.pop() : i.push(e));
@@ -909,7 +909,7 @@ function rn(e) {
909
909
  }
910
910
  function an(e) {
911
911
  if (e.kind === "file") {
912
- let t = g(e.path) || e.path.startsWith("//");
912
+ let t = m(e.path) || e.path.startsWith("//");
913
913
  return e.path.split(t ? /[\\/]/ : "/").at(-1) || void 0;
914
914
  }
915
915
  let t;
@@ -0,0 +1,70 @@
1
+ import { Fd as e, Gd as t, Lc as n, Ld as r, Mc as i, Rc as a, jd as o } from "./utils-DtKQl-D3.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-3wc4ZfY8.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, t) {
9
+ let n = r(e) ? "\\" : "/";
10
+ return `${e.replace(/[\\/]+$/, "")}${n}${t.replace(/[\\/]/g, n).replace(/^[\\/]+/, "")}`;
11
+ }
12
+ function v(n, r) {
13
+ return e(n) && t(n, r) === null ? { _tag: "Blocked" } : {
14
+ _tag: "WorkspaceFile",
15
+ path: n
16
+ };
17
+ }
18
+ function y(e, t) {
19
+ if (e == null) return { _tag: "Blocked" };
20
+ let n = l(e);
21
+ if (n.length === 0 || n.startsWith("#") || n.startsWith("?")) return { _tag: "Blocked" };
22
+ if (m.test(n)) return {
23
+ _tag: "Direct",
24
+ uri: n
25
+ };
26
+ let i = c(n);
27
+ return i === null ? { _tag: "Blocked" } : /^file:/i.test(n) ? v(i, t) : i.length === 0 ? { _tag: "Blocked" } : i.startsWith("/") || r(i) ? v(i, t) : h.test(i) || i.startsWith("~/") || i.startsWith("~\\") || !t ? { _tag: "Blocked" } : {
28
+ _tag: "WorkspaceFile",
29
+ path: _(t, 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(e, t) {
41
+ let r = b(e, t);
42
+ if (r._tag === "Blocked") return null;
43
+ let c = r._tag === "Direct" ? u(r.uri).path : s(r.path).path, l = /^data:/i.test(c) ? "" : o(c), m = l.lastIndexOf("."), h = (r._tag === "Direct" ? n(r.uri) : m < 0 ? null : a(l.slice(m)) ?? i(l.slice(m))) ?? (t.imageEmbed ? "image/*" : null);
44
+ if (h === null || h.startsWith("audio/")) return null;
45
+ let _ = h.startsWith("video/") ? "video" : "image", v = r._tag === "Direct" ? f(r.uri) : p(c, t.workspaceRoot), y = {
46
+ kind: _,
47
+ mimeType: h,
48
+ name: v && d(v) || l || _,
49
+ ...v ? { reference: v } : {},
50
+ srcFragment: g(e)
51
+ };
52
+ return r._tag === "Direct" ? {
53
+ ...y,
54
+ access: "direct",
55
+ uri: r.uri
56
+ } : t.threadId === void 0 ? {
57
+ ...y,
58
+ access: "unavailable"
59
+ } : {
60
+ ...y,
61
+ access: "environment",
62
+ resource: {
63
+ _tag: "media-file",
64
+ threadId: t.threadId,
65
+ path: c,
66
+ ...r.relative ? { hostOnly: !0 } : {}
67
+ }
68
+ };
69
+ }
70
+ export { y as n, g as r, x as t };
@@ -1,4 +1,4 @@
1
- import "./keybindings-C5tK_GAk.js";
1
+ import "./keybindings-D0pBlT1k.js";
2
2
  // src/appearanceFonts.ts
3
3
  var e = "\"Zen\", system-ui, sans-serif", t = "\"Zen Mono\", monospace", n = "hanzodev:typography-advanced";
4
4
  function r(e) {
@@ -1,5 +1,5 @@
1
1
  import { c as e, d as t, o as n, s as r } from "./messages-yqmY7G5x.js";
2
- import { id as i, wd as a } from "./keybindings-C5tK_GAk.js";
2
+ import { id as i, wd as a } from "./keybindings-D0pBlT1k.js";
3
3
  // ../../packages/client-runtime/src/errors/translatable.ts
4
4
  var o = i(a);
5
5
  function s(e) {
@@ -1,4 +1,4 @@
1
- import { Ai as e, Bo as t, Ci as n, Da as r, Di as i, Ea as a, Ei as o, Eo as s, Fi as c, Fo as l, Ga as u, Hi as d, Ia as f, Ii as p, Ka as m, Li as h, Mi as g, Na as _, Ni as v, No as y, Oa as b, Oo as x, Pi as S, Sa as C, Ta as w, Ti as T, Ts as E, Ua as D, Wo as O, Yi as k, Zi as A, _a as j, aa as M, ao as N, ba as P, bs as F, ca as I, co as L, cs as R, da as z, do as B, ea as V, fa as H, fo as U, ga as W, go as ee, ha as te, ia as ne, ja as re, ji as ie, jo as ae, ka as oe, ki as se, ko as G, ks as K, la as ce, ls as le, ma as ue, mi as de, mo as fe, ra as pe, rs as me, sa as he, si as ge, so as _e, t as q, ta as ve, ua as ye, us as be, va as xe, wa as Se, wo as Ce, ws as we, xa as Te, ya as Ee, yi as De } from "./utils-515nQ17G.js";
1
+ import { Ai as e, Bo as t, Ci as n, Da as r, Di as i, Ea as a, Ei as o, Eo as s, Fi as c, Fo as l, Ga as u, Hi as d, Ia as f, Ii as p, Ka as m, Li as h, Mi as g, Na as _, Ni as v, No as y, Oa as b, Oo as x, Pi as S, Sa as C, Ta as w, Ti as T, Ts as E, Ua as D, Wo as O, Yi as k, Zi as A, _a as j, aa as M, ao as N, ba as P, bs as F, ca as I, co as L, cs as R, da as z, do as B, ea as V, fa as H, fo as U, ga as W, go as ee, ha as te, ia as ne, ja as re, ji as ie, jo as ae, ka as oe, ki as se, ko as G, ks as K, la as ce, ls as le, ma as ue, mi as de, mo as fe, ra as pe, rs as me, sa as he, si as ge, so as _e, t as q, ta as ve, ua as ye, us as be, va as xe, wa as Se, wo as Ce, ws as we, xa as Te, ya as Ee, yi as De } from "./utils-DtKQl-D3.js";
2
2
  import { t as Oe } from "./usePreviousValue-BosPUl8x.js";
3
3
  import * as J from "react";
4
4
  import { c as Y } from "react/compiler-runtime";