@hanzo/dev 4.0.1 → 4.2.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.
- package/LICENSE +21 -0
- package/dist/{BinaryViewer-qn8xfPZp.js → BinaryViewer-CmFUK4zZ.js} +2 -2
- package/dist/{ChatMarkdown-Cyujn3JJ.js → ChatMarkdown-nvEI7iCv.js} +4 -4
- package/dist/{DiffCommentAnnotation-BZu1TP6E.js → DiffCommentAnnotation-BPTN_2a6.js} +1 -1
- package/dist/{DiffFileTree-CcJ91zOM.js → DiffFileTree-B_br90vY.js} +2 -2
- package/dist/{DiffPanel-BXC88NMs.js → DiffPanel-V5R5TPuK.js} +5 -5
- package/dist/{ExpandedImageDialog-BZnGRBJR.js → ExpandedImageDialog-CAorLacL.js} +1 -1
- package/dist/{FileExplorerPane-vBJS6V75.js → FileExplorerPane-CeHulcPz.js} +1 -1
- package/dist/{FilePreviewPanel-jJHWsMzm.js → FilePreviewPanel-BVNLvWOc.js} +8 -8
- package/dist/{MermaidDiagram-paNwQY33.js → MermaidDiagram-CTolIzQD.js} +1 -1
- package/dist/{MermaidFilePreview-B9KxfnIN.js → MermaidFilePreview-CP2zP4FU.js} +1 -1
- package/dist/{MermaidViewer-CAEGpLyD.js → MermaidViewer-BDfYkS9E.js} +2 -2
- package/dist/{NotebookPreview-D01mMCpR.js → NotebookPreview-Cybs5uM0.js} +1 -1
- package/dist/{OfficeFilePreview-DWaRgfQU.js → OfficeFilePreview-7JsmSoKU.js} +1 -1
- package/dist/{OfficeViewer-BudrZbBA.js → OfficeViewer-CJoojlJK.js} +1 -1
- package/dist/{OpenInPicker-Dd3ifHa1.js → OpenInPicker-BIMWUxBP.js} +7 -7
- package/dist/{OpenXmlOfficeViewer-CXcKdq7k.js → OpenXmlOfficeViewer-C24Kj8DM.js} +1 -1
- package/dist/{PreviewImage-C4Ku4z7v.js → PreviewImage-oY5YnuTr.js} +1 -1
- package/dist/{PreviewImageContent-BwOB9Lyd.js → PreviewImageContent-n6eLzY99.js} +1 -1
- package/dist/{PullRequestCodeTab-BcwyMk7d.js → PullRequestCodeTab-Dv_0kVad.js} +7 -7
- package/dist/{PullRequestReviewAnnotation-BU5t_1fC.js → PullRequestReviewAnnotation-LeuwO-iH.js} +4 -4
- package/dist/builder/activity.d.ts +16 -0
- package/dist/builder/activity.js +51 -0
- package/dist/builder/address.d.ts +11 -0
- package/dist/builder/address.js +50 -0
- package/dist/builder/ago.d.ts +2 -0
- package/dist/builder/ago.js +18 -0
- package/dist/builder/api/agents.d.ts +139 -0
- package/dist/builder/api/agents.js +253 -0
- package/dist/builder/api/auto.d.ts +166 -0
- package/dist/builder/api/auto.js +300 -0
- package/dist/builder/api/billing.d.ts +263 -0
- package/dist/builder/api/billing.js +401 -0
- package/dist/builder/api/call.d.ts +53 -0
- package/dist/builder/api/call.js +123 -0
- package/dist/builder/api/capabilities.d.ts +14 -0
- package/dist/builder/api/capabilities.js +41 -0
- package/dist/builder/api/changes.d.ts +74 -0
- package/dist/builder/api/changes.js +75 -0
- package/dist/builder/api/chat.d.ts +12 -0
- package/dist/builder/api/chat.js +28 -0
- package/dist/builder/api/cli.d.ts +59 -0
- package/dist/builder/api/cli.js +133 -0
- package/dist/builder/api/codebases.d.ts +46 -0
- package/dist/builder/api/codebases.js +100 -0
- package/dist/builder/api/coding.d.ts +117 -0
- package/dist/builder/api/coding.js +222 -0
- package/dist/builder/api/connectors.d.ts +76 -0
- package/dist/builder/api/connectors.js +111 -0
- package/dist/builder/api/consent.d.ts +22 -0
- package/dist/builder/api/consent.js +28 -0
- package/dist/builder/api/conversations.d.ts +20 -0
- package/dist/builder/api/conversations.js +23 -0
- package/dist/builder/api/draft.d.ts +38 -0
- package/dist/builder/api/draft.js +87 -0
- package/dist/builder/api/environment.d.ts +55 -0
- package/dist/builder/api/environment.js +126 -0
- package/dist/builder/api/gallery.d.ts +32 -0
- package/dist/builder/api/gallery.js +85 -0
- package/dist/builder/api/git.d.ts +59 -0
- package/dist/builder/api/git.js +117 -0
- package/dist/builder/api/github.d.ts +230 -0
- package/dist/builder/api/github.js +373 -0
- package/dist/builder/api/keys.d.ts +35 -0
- package/dist/builder/api/keys.js +72 -0
- package/dist/builder/api/library.d.ts +116 -0
- package/dist/builder/api/library.js +214 -0
- package/dist/builder/api/limits.d.ts +69 -0
- package/dist/builder/api/limits.js +86 -0
- package/dist/builder/api/links.d.ts +51 -0
- package/dist/builder/api/links.js +75 -0
- package/dist/builder/api/machines.d.ts +122 -0
- package/dist/builder/api/machines.js +238 -0
- package/dist/builder/api/mcp.d.ts +10 -0
- package/dist/builder/api/mcp.js +47 -0
- package/dist/builder/api/members.d.ts +35 -0
- package/dist/builder/api/members.js +95 -0
- package/dist/builder/api/memory.d.ts +14 -0
- package/dist/builder/api/memory.js +35 -0
- package/dist/builder/api/models.d.ts +17 -0
- package/dist/builder/api/models.js +20 -0
- package/dist/builder/api/places.d.ts +32 -0
- package/dist/builder/api/places.js +29 -0
- package/dist/builder/api/platform.d.ts +68 -0
- package/dist/builder/api/platform.js +87 -0
- package/dist/builder/api/plugins.d.ts +42 -0
- package/dist/builder/api/plugins.js +175 -0
- package/dist/builder/api/pref.d.ts +77 -0
- package/dist/builder/api/pref.js +93 -0
- package/dist/builder/api/profile.d.ts +11 -0
- package/dist/builder/api/profile.js +41 -0
- package/dist/builder/api/projects.d.ts +99 -0
- package/dist/builder/api/projects.js +166 -0
- package/dist/builder/api/provider.d.ts +49 -0
- package/dist/builder/api/provider.js +96 -0
- package/dist/builder/api/sandbox.d.ts +90 -0
- package/dist/builder/api/sandbox.js +223 -0
- package/dist/builder/api/sessions.d.ts +123 -0
- package/dist/builder/api/sessions.js +255 -0
- package/dist/builder/api/skills.d.ts +82 -0
- package/dist/builder/api/skills.js +117 -0
- package/dist/builder/api/sse.d.ts +24 -0
- package/dist/builder/api/sse.js +68 -0
- package/dist/builder/api/studio.d.ts +59 -0
- package/dist/builder/api/studio.js +91 -0
- package/dist/builder/api/talk.d.ts +48 -0
- package/dist/builder/api/talk.js +81 -0
- package/dist/builder/api/tools.d.ts +34 -0
- package/dist/builder/api/tools.js +37 -0
- package/dist/builder/api/turn.d.ts +202 -0
- package/dist/builder/api/turn.js +772 -0
- package/dist/builder/api/verdict.d.ts +3 -0
- package/dist/builder/api/verdict.js +21 -0
- package/dist/builder/api/webhooks.d.ts +47 -0
- package/dist/builder/api/webhooks.js +82 -0
- package/dist/builder/api/work.d.ts +110 -0
- package/dist/builder/api/work.js +218 -0
- package/dist/builder/ask.d.ts +51 -0
- package/dist/builder/ask.js +147 -0
- package/dist/builder/automations.d.ts +33 -0
- package/dist/builder/automations.js +453 -0
- package/dist/builder/awake.d.ts +24 -0
- package/dist/builder/awake.js +68 -0
- package/dist/builder/back.d.ts +30 -0
- package/dist/builder/back.js +105 -0
- package/dist/builder/builder.d.ts +12 -0
- package/dist/builder/builder.js +162 -0
- package/dist/builder/carry.d.ts +48 -0
- package/dist/builder/carry.js +278 -0
- package/dist/builder/choice.d.ts +134 -0
- package/dist/builder/choice.js +152 -0
- package/dist/builder/claims.d.ts +13 -0
- package/dist/builder/claims.js +35 -0
- package/dist/builder/clipboard.d.ts +2 -0
- package/dist/builder/clipboard.js +10 -0
- package/dist/builder/customize/agents.d.ts +11 -0
- package/dist/builder/customize/agents.js +513 -0
- package/dist/builder/customize/connectors.d.ts +2 -0
- package/dist/builder/customize/connectors.js +319 -0
- package/dist/builder/customize/drafted.d.ts +4 -0
- package/dist/builder/customize/drafted.js +92 -0
- package/dist/builder/customize/index.d.ts +8 -0
- package/dist/builder/customize/index.js +127 -0
- package/dist/builder/customize/inventory.d.ts +14 -0
- package/dist/builder/customize/inventory.js +127 -0
- package/dist/builder/customize/load.d.ts +9 -0
- package/dist/builder/customize/load.js +22 -0
- package/dist/builder/customize/ocean.d.ts +41 -0
- package/dist/builder/customize/ocean.js +332 -0
- package/dist/builder/customize/plugins.d.ts +2 -0
- package/dist/builder/customize/plugins.js +136 -0
- package/dist/builder/customize/roles.d.ts +4 -0
- package/dist/builder/customize/roles.js +105 -0
- package/dist/builder/customize/say.d.ts +13 -0
- package/dist/builder/customize/say.js +32 -0
- package/dist/builder/customize/skills.d.ts +2 -0
- package/dist/builder/customize/skills.js +208 -0
- package/dist/builder/customize/ui.d.ts +152 -0
- package/dist/builder/customize/ui.js +208 -0
- package/dist/builder/data.d.ts +57 -0
- package/dist/builder/data.js +322 -0
- package/dist/builder/design.d.ts +140 -0
- package/dist/builder/design.js +175 -0
- package/dist/builder/desk.d.ts +48 -0
- package/dist/builder/desk.js +449 -0
- package/dist/builder/dev-mode.d.ts +43 -0
- package/dist/builder/dev-mode.js +120 -0
- package/dist/builder/door.d.ts +11 -0
- package/dist/builder/door.js +126 -0
- package/dist/builder/environment.d.ts +23 -0
- package/dist/builder/environment.js +193 -0
- package/dist/builder/files.d.ts +23 -0
- package/dist/builder/files.js +175 -0
- package/dist/builder/find.d.ts +7 -0
- package/dist/builder/find.js +80 -0
- package/dist/builder/foot.d.ts +30 -0
- package/dist/builder/foot.js +79 -0
- package/dist/builder/forge.d.ts +4 -0
- package/dist/builder/forge.js +639 -0
- package/dist/builder/gear.d.ts +60 -0
- package/dist/builder/gear.js +180 -0
- package/dist/builder/git.d.ts +21 -0
- package/dist/builder/git.js +118 -0
- package/dist/builder/github-sync.d.ts +70 -0
- package/dist/builder/github-sync.js +435 -0
- package/dist/builder/gutter.d.ts +17 -0
- package/dist/builder/gutter.js +25 -0
- package/dist/builder/handoff.d.ts +8 -0
- package/dist/builder/handoff.js +22 -0
- package/dist/builder/host.d.ts +189 -0
- package/dist/builder/host.js +46 -0
- package/dist/builder/index.d.ts +108 -0
- package/dist/builder/index.js +99 -0
- package/dist/builder/landing.d.ts +34 -0
- package/dist/builder/landing.js +725 -0
- package/dist/builder/library.d.ts +21 -0
- package/dist/builder/library.js +526 -0
- package/dist/builder/local.d.ts +80 -0
- package/dist/builder/local.js +124 -0
- package/dist/builder/make.d.ts +10 -0
- package/dist/builder/make.js +120 -0
- package/dist/builder/markdown.d.ts +49 -0
- package/dist/builder/markdown.js +125 -0
- package/dist/builder/marks.d.ts +15 -0
- package/dist/builder/marks.js +18 -0
- package/dist/builder/merge.d.ts +223 -0
- package/dist/builder/merge.js +380 -0
- package/dist/builder/meter.d.ts +31 -0
- package/dist/builder/meter.js +54 -0
- package/dist/builder/mind.d.ts +107 -0
- package/dist/builder/mind.js +335 -0
- package/dist/builder/names.d.ts +40 -0
- package/dist/builder/names.js +189 -0
- package/dist/builder/nav.d.ts +28 -0
- package/dist/builder/nav.js +218 -0
- package/dist/builder/out.d.ts +16 -0
- package/dist/builder/out.js +24 -0
- package/dist/builder/page.d.ts +55 -0
- package/dist/builder/page.js +217 -0
- package/dist/builder/pane.d.ts +30 -0
- package/dist/builder/pane.js +21 -0
- package/dist/builder/panel.d.ts +101 -0
- package/dist/builder/panel.js +408 -0
- package/dist/builder/pdf.d.ts +139 -0
- package/dist/builder/pdf.js +847 -0
- package/dist/builder/pick.d.ts +10 -0
- package/dist/builder/pick.js +38 -0
- package/dist/builder/plain.d.ts +59 -0
- package/dist/builder/plain.js +209 -0
- package/dist/builder/plan.d.ts +63 -0
- package/dist/builder/plan.js +155 -0
- package/dist/builder/plans.d.ts +1 -0
- package/dist/builder/plans.js +157 -0
- package/dist/builder/plugin.d.ts +60 -0
- package/dist/builder/plugin.js +1 -0
- package/dist/builder/plugins/design.d.ts +8 -0
- package/dist/builder/plugins/design.js +71 -0
- package/dist/builder/plugins/index.d.ts +46 -0
- package/dist/builder/plugins/index.js +117 -0
- package/dist/builder/plugins/pdf.d.ts +18 -0
- package/dist/builder/plugins/pdf.js +83 -0
- package/dist/builder/plugins/project.d.ts +5 -0
- package/dist/builder/plugins/project.js +68 -0
- package/dist/builder/plugins/research.d.ts +24 -0
- package/dist/builder/plugins/research.js +147 -0
- package/dist/builder/plugins/sketch.d.ts +9 -0
- package/dist/builder/plugins/sketch.js +101 -0
- package/dist/builder/plugins/slides.d.ts +14 -0
- package/dist/builder/plugins/slides.js +55 -0
- package/dist/builder/plugins/template.d.ts +13 -0
- package/dist/builder/plugins/template.js +95 -0
- package/dist/builder/prefs.d.ts +29 -0
- package/dist/builder/prefs.js +91 -0
- package/dist/builder/preview-url.d.ts +47 -0
- package/dist/builder/preview-url.js +107 -0
- package/dist/builder/project.d.ts +18 -0
- package/dist/builder/project.js +604 -0
- package/dist/builder/prose.d.ts +4 -0
- package/dist/builder/prose.js +57 -0
- package/dist/builder/publish.d.ts +18 -0
- package/dist/builder/publish.js +141 -0
- package/dist/builder/question.d.ts +33 -0
- package/dist/builder/question.js +64 -0
- package/dist/builder/redesign.d.ts +32 -0
- package/dist/builder/redesign.js +117 -0
- package/dist/builder/removal.d.ts +71 -0
- package/dist/builder/removal.js +73 -0
- package/dist/builder/reply.d.ts +50 -0
- package/dist/builder/reply.js +196 -0
- package/dist/builder/roles.d.ts +10 -0
- package/dist/builder/roles.js +28 -0
- package/dist/builder/route.d.ts +85 -0
- package/dist/builder/route.js +126 -0
- package/dist/builder/run.d.ts +4 -0
- package/dist/builder/run.js +804 -0
- package/dist/builder/runmeta.d.ts +16 -0
- package/dist/builder/runmeta.js +69 -0
- package/dist/builder/say.d.ts +2 -0
- package/dist/builder/say.js +7 -0
- package/dist/builder/scheduled.d.ts +3 -0
- package/dist/builder/scheduled.js +328 -0
- package/dist/builder/section.d.ts +27 -0
- package/dist/builder/section.js +60 -0
- package/dist/builder/settings/account.d.ts +1 -0
- package/dist/builder/settings/account.js +111 -0
- package/dist/builder/settings/billing.d.ts +1 -0
- package/dist/builder/settings/billing.js +210 -0
- package/dist/builder/settings/capabilities.d.ts +1 -0
- package/dist/builder/settings/capabilities.js +66 -0
- package/dist/builder/settings/card.d.ts +31 -0
- package/dist/builder/settings/card.js +140 -0
- package/dist/builder/settings/code.d.ts +1 -0
- package/dist/builder/settings/code.js +70 -0
- package/dist/builder/settings/credits.d.ts +10 -0
- package/dist/builder/settings/credits.js +123 -0
- package/dist/builder/settings/environments.d.ts +1 -0
- package/dist/builder/settings/environments.js +60 -0
- package/dist/builder/settings/general.d.ts +1 -0
- package/dist/builder/settings/general.js +58 -0
- package/dist/builder/settings/index.d.ts +4 -0
- package/dist/builder/settings/index.js +25 -0
- package/dist/builder/settings/integrations.d.ts +8 -0
- package/dist/builder/settings/integrations.js +138 -0
- package/dist/builder/settings/keys.d.ts +1 -0
- package/dist/builder/settings/keys.js +114 -0
- package/dist/builder/settings/list.d.ts +10 -0
- package/dist/builder/settings/list.js +28 -0
- package/dist/builder/settings/machines.d.ts +4 -0
- package/dist/builder/settings/machines.js +243 -0
- package/dist/builder/settings/members.d.ts +1 -0
- package/dist/builder/settings/members.js +77 -0
- package/dist/builder/settings/memory.d.ts +1 -0
- package/dist/builder/settings/memory.js +62 -0
- package/dist/builder/settings/notifications.d.ts +1 -0
- package/dist/builder/settings/notifications.js +111 -0
- package/dist/builder/settings/plan.d.ts +17 -0
- package/dist/builder/settings/plan.js +131 -0
- package/dist/builder/settings/privacy.d.ts +1 -0
- package/dist/builder/settings/privacy.js +76 -0
- package/dist/builder/settings/sections.d.ts +16 -0
- package/dist/builder/settings/sections.js +34 -0
- package/dist/builder/settings/shared.d.ts +6 -0
- package/dist/builder/settings/shared.js +58 -0
- package/dist/builder/settings/ui.d.ts +50 -0
- package/dist/builder/settings/ui.js +53 -0
- package/dist/builder/settings/usage.d.ts +1 -0
- package/dist/builder/settings/usage.js +24 -0
- package/dist/builder/shared.d.ts +26 -0
- package/dist/builder/shared.js +15 -0
- package/dist/builder/shelf.d.ts +16 -0
- package/dist/builder/shelf.js +219 -0
- package/dist/builder/side.d.ts +40 -0
- package/dist/builder/side.js +208 -0
- package/dist/builder/site.d.ts +75 -0
- package/dist/builder/site.js +138 -0
- package/dist/builder/spend.d.ts +21 -0
- package/dist/builder/spend.js +80 -0
- package/dist/builder/standing.d.ts +36 -0
- package/dist/builder/standing.js +66 -0
- package/dist/builder/suggest.d.ts +238 -0
- package/dist/builder/suggest.js +463 -0
- package/dist/builder/suggestions.d.ts +49 -0
- package/dist/builder/suggestions.js +260 -0
- package/dist/builder/summary.d.ts +60 -0
- package/dist/builder/summary.js +81 -0
- package/dist/builder/sync.d.ts +1 -0
- package/dist/builder/sync.js +187 -0
- package/dist/builder/tabs.d.ts +85 -0
- package/dist/builder/tabs.js +288 -0
- package/dist/builder/talk.d.ts +5 -0
- package/dist/builder/talk.js +108 -0
- package/dist/builder/thread.d.ts +60 -0
- package/dist/builder/thread.js +302 -0
- package/dist/builder/tools.d.ts +22 -0
- package/dist/builder/tools.js +52 -0
- package/dist/builder/transcript.d.ts +47 -0
- package/dist/builder/transcript.js +108 -0
- package/dist/builder/voice.d.ts +8 -0
- package/dist/builder/voice.js +24 -0
- package/dist/{changedFileKind-DqgCCDUs.js → changedFileKind-D6QYvIez.js} +1 -1
- package/dist/core.js +1 -0
- package/dist/{decodeImagePreview-CesVZYP4.js → decodeImagePreview-DnfFEjhw.js} +1 -1
- package/dist/{embed-DYP-OUlb.js → embed-c030vUqM.js} +11 -11
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -1
- package/dist/{micromark-util-decode-string-NQjVkmZH.js → micromark-util-decode-string-C-5AXkOV.js} +5 -3
- package/dist/{readBinaryPreview-D2X4Uahu.js → readBinaryPreview-BAQ4fFjm.js} +1 -1
- package/dist/{useTextFieldSpeech-CyOZZPrV.js → useTextFieldSpeech-COa9XcRx.js} +1 -1
- package/package.json +101 -11
- /package/{index.d.ts → dist/core.d.ts} +0 -0
- /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-
|
|
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-
|
|
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-
|
|
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-
|
|
37
|
-
import { r as La } from "./micromark-util-decode-string-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
3
|
-
import { t as r } from "./MermaidDiagram-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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";
|
package/dist/{PullRequestReviewAnnotation-BU5t_1fC.js → PullRequestReviewAnnotation-LeuwO-iH.js}
RENAMED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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,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
|
+
}
|