@av-pi-studio/workbench 0.0.117 → 0.0.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{BinaryFallbackViewer-BN-9Yvel.js → BinaryFallbackViewer-EznEIpRC.js} +1 -1
- package/dist/chunks/{ChatPanel-CjPUJMEs.js → ChatPanel-DgJlK-yP.js} +3 -3
- package/dist/chunks/{CodeView-6kJms_MF.js → CodeView-klpk8qD0.js} +2 -2
- package/dist/chunks/{FilePanel-B8IXG2bj.js → FilePanel-Beg5Fs8X.js} +2 -2
- package/dist/chunks/{HtmlViewer-DpuVFaDo.js → HtmlViewer-KGQcSEm3.js} +4 -4
- package/dist/chunks/{ImageViewer-BBfyA5QN.js → ImageViewer-BLrsKWwI.js} +1 -1
- package/dist/chunks/{MarkdownFileViewer-DPFPDS7G.js → MarkdownFileViewer-DxJJlrsv.js} +4 -4
- package/dist/chunks/{ModelProvidersPanel-Dsezq7Ss.js → ModelProvidersPanel-C3TXoq1L.js} +2 -2
- package/dist/chunks/{MoleculeViewerPanel-DEEU6Zkx.js → MoleculeViewerPanel-BAWs5F2j.js} +3 -3
- package/dist/chunks/{PdfViewer-BdacmAu_.js → PdfViewer-B_kiY-Tw.js} +2 -2
- package/dist/chunks/{SaveFileButton-2rOu02Xx.js → SaveFileButton-Bsz3wG4a.js} +1 -1
- package/dist/chunks/{SettingsDialog-DO1tDhMW.js → SettingsDialog-AHnoT7nN.js} +1 -1
- package/dist/chunks/{SkillsPanel-DZDia4Pw.js → SkillsPanel-BB5_yrcx.js} +1 -1
- package/dist/chunks/{TerminalPanel-bphwCSyW.js → TerminalPanel-DgH4re05.js} +1 -1
- package/dist/chunks/{TextViewer-CVGqN6yy.js → TextViewer-BiwFYLLc.js} +2 -2
- package/dist/chunks/{VideoViewer-BkB9BoOr.js → VideoViewer-BSGjTTQR.js} +1 -1
- package/dist/chunks/{ViewersPanel-C2E9FLf7.js → ViewersPanel-BYHmKfOh.js} +1 -1
- package/dist/chunks/{href-resolution-jv3tpRcp.js → href-resolution-AtzN0oCd.js} +1 -1
- package/dist/chunks/{index-Dlz8mEKZ.js → index-QzeFcHmH.js} +22 -19
- package/dist/chunks/{markdown-B2OXhZ-_.js → markdown-CypQ7TkY.js} +2 -2
- package/dist/chunks/{use-file-download-CogCqTvU.js → use-file-download-zheHRdGQ.js} +1 -1
- package/dist/chunks/{use-file-watch-Bb_Xzbr-.js → use-file-watch-CyVeSj2A.js} +1 -1
- package/dist/chunks/{use-provider-auth-list-DTjIZycd.js → use-provider-auth-list-jNjjSAD_.js} +1 -1
- package/dist/hooks/use-file-text.d.ts +1 -1
- package/dist/host/browser-files.d.ts +3 -2
- package/dist/index.js +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { FileQuestion as s } from "lucide-react";
|
|
3
|
-
import { S as l } from "./SaveFileButton-
|
|
3
|
+
import { S as l } from "./SaveFileButton-Bsz3wG4a.js";
|
|
4
4
|
const o = "piwb-BinaryFallbackViewer_wrap_FwVTc", c = "piwb-BinaryFallbackViewer_name_6bPhR", a = {
|
|
5
5
|
wrap: o,
|
|
6
6
|
name: c
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as l, jsx as n, Fragment as $ } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect as I, useState as D, useRef as O, Fragment as dn, useCallback as Ae, useMemo as un, useId as mn } from "react";
|
|
3
3
|
import { useQueryClient as pn, useQuery as Fe } from "@tanstack/react-query";
|
|
4
|
-
import { t as Oe, c as K, d as hn, u as ee, o as fn, e as gn, f as wn, h as _t, i as vt, n as kt, j as bn, k as _n, l as vn, m as Ct, p as kn, q as ye, r as $e, s as we, v as Cn, w as yn, x as Ce, y as Nn, z as Tn, A as Sn, B as lt, C as Dn, D as xn, E as Bn, F as An, G as dt } from "./index-
|
|
4
|
+
import { t as Oe, c as K, d as hn, u as ee, o as fn, e as gn, f as wn, h as _t, i as vt, n as kt, j as bn, k as _n, l as vn, m as Ct, p as kn, q as ye, r as $e, s as we, v as Cn, w as yn, x as Ce, y as Nn, z as Tn, A as Sn, B as lt, C as Dn, D as xn, E as Bn, F as An, G as dt } from "./index-QzeFcHmH.js";
|
|
5
5
|
import { ListTree as En, Globe as Mn, Search as Rn, FilePlus as Pn, Pencil as On, Eye as Ln, Terminal as yt, HelpCircle as Te, Check as be, Bot as In, Brain as Nt, ChevronRight as _e, ArrowUpRight as Fn, Clock as $n, GitFork as zn, User as Hn, CircleAlert as Tt, ArrowDown as Kn, Plus as Wn, Slash as qn, Cpu as Un, ChevronDown as ut, Square as Gn, Navigation as Yn, ArrowUp as Vn, Circle as jn } from "lucide-react";
|
|
6
6
|
import { Icon as R, Button as F, TextInput as Qn, TextArea as St, Spinner as re, Dialog as Xn, IconButton as Jn, EmptyState as Zn, MenuContent as ze, groupOptions as eo, filterOptions as Dt, MenuGroup as to, Panel as mt } from "@av-pi-studio/ui-library";
|
|
7
7
|
import { useVirtualizer as no, measureElement as oo } from "@tanstack/react-virtual";
|
|
8
|
-
import { u as so } from "./use-provider-auth-list-
|
|
8
|
+
import { u as so } from "./use-provider-auth-list-jNjjSAD_.js";
|
|
9
9
|
import { clsx as B } from "clsx";
|
|
10
10
|
import { remainingMs as ro } from "@av-pi-studio/client";
|
|
11
|
-
import { S as xt, M as He, r as io } from "./markdown-
|
|
11
|
+
import { S as xt, M as He, r as io } from "./markdown-CypQ7TkY.js";
|
|
12
12
|
import { D as ao, p as co } from "./DiffView-BqDuT3CF.js";
|
|
13
13
|
import * as Z from "@radix-ui/react-dropdown-menu";
|
|
14
14
|
import { AGENT_TODOS_MAX_TASKS as lo } from "@av-pi-studio/protocol";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useQuery as u } from "@tanstack/react-query";
|
|
2
|
-
import { u as g, r as d } from "./index-
|
|
3
|
-
import { u as m } from "./use-file-download-
|
|
2
|
+
import { u as g, r as d } from "./index-QzeFcHmH.js";
|
|
3
|
+
import { u as m } from "./use-file-download-zheHRdGQ.js";
|
|
4
4
|
import { jsx as a } from "react/jsx-runtime";
|
|
5
5
|
import { useState as E, useEffect as p } from "react";
|
|
6
6
|
import w from "@uiw/react-codemirror";
|
|
@@ -3,8 +3,8 @@ import { useEffect as _, useState as m, Suspense as F } from "react";
|
|
|
3
3
|
import { clsx as b } from "clsx";
|
|
4
4
|
import { Panel as D, Button as g, EmptyState as d, Spinner as w } from "@av-pi-studio/ui-library";
|
|
5
5
|
import { useQuery as E, useQueryClient as k } from "@tanstack/react-query";
|
|
6
|
-
import { u as P, r as f, L as K, H as q, I as z, V as C, J as N } from "./index-
|
|
7
|
-
import { u as S } from "./use-file-watch-
|
|
6
|
+
import { u as P, r as f, L as K, H as q, I as z, V as C, J as N } from "./index-QzeFcHmH.js";
|
|
7
|
+
import { u as S } from "./use-file-watch-CyVeSj2A.js";
|
|
8
8
|
import { D as V } from "./DiffView-BqDuT3CF.js";
|
|
9
9
|
function x(e, o, r, i = !0) {
|
|
10
10
|
const a = P((n) => n.client);
|
|
@@ -2,10 +2,10 @@ import { jsx as w, jsxs as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as P, useMemo as S } from "react";
|
|
3
3
|
import { useQueryClient as ie, useQuery as ae } from "@tanstack/react-query";
|
|
4
4
|
import { EmptyState as N, Spinner as j, Button as I, Switch as ce } from "@av-pi-studio/ui-library";
|
|
5
|
-
import { u as le, C as ue } from "./CodeView-
|
|
6
|
-
import { n as de, H as G, _ as fe, Q as X, u as D, i as me, r as R, $ as pe } from "./index-
|
|
7
|
-
import { p as he, S as ge } from "./href-resolution-
|
|
8
|
-
import { S as we } from "./SaveFileButton-
|
|
5
|
+
import { u as le, C as ue } from "./CodeView-klpk8qD0.js";
|
|
6
|
+
import { n as de, H as G, _ as fe, Q as X, u as D, i as me, r as R, $ as pe } from "./index-QzeFcHmH.js";
|
|
7
|
+
import { p as he, S as ge } from "./href-resolution-AtzN0oCd.js";
|
|
8
|
+
import { S as we } from "./SaveFileButton-Bsz3wG4a.js";
|
|
9
9
|
const O = {
|
|
10
10
|
maxCount: 64,
|
|
11
11
|
maxBytesPerAsset: 2 * 1024 * 1024,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { EmptyState as a, Spinner as n } from "@av-pi-studio/ui-library";
|
|
3
|
-
import { u as t } from "./use-file-download-
|
|
3
|
+
import { u as t } from "./use-file-download-zheHRdGQ.js";
|
|
4
4
|
const m = "piwb-ImageViewer_wrap_ANXrA", c = "piwb-ImageViewer_image_fw4so", s = {
|
|
5
5
|
wrap: m,
|
|
6
6
|
image: c
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as f, useMemo as g } from "react";
|
|
3
3
|
import { Button as m, EmptyState as a, Spinner as w } from "@av-pi-studio/ui-library";
|
|
4
|
-
import { u as v, C as h } from "./CodeView-
|
|
5
|
-
import { H as b, Q as M } from "./index-
|
|
6
|
-
import { M as k } from "./markdown-
|
|
7
|
-
import { S as N } from "./SaveFileButton-
|
|
4
|
+
import { u as v, C as h } from "./CodeView-klpk8qD0.js";
|
|
5
|
+
import { H as b, Q as M } from "./index-QzeFcHmH.js";
|
|
6
|
+
import { M as k } from "./markdown-CypQ7TkY.js";
|
|
7
|
+
import { S as N } from "./SaveFileButton-Bsz3wG4a.js";
|
|
8
8
|
const _ = "piwb-MarkdownFileViewer_wrap_b6KEN", F = "piwb-MarkdownFileViewer_toolbar_ALfg9", S = "piwb-MarkdownFileViewer_rendered_8pDh3", x = "piwb-MarkdownFileViewer_streamedNote_wlOSB", y = "piwb-MarkdownFileViewer_tooLarge_1oWTj", t = {
|
|
9
9
|
wrap: _,
|
|
10
10
|
toolbar: F,
|
|
@@ -2,8 +2,8 @@ import { jsxs as l, jsx as t, Fragment as R } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as v } from "react";
|
|
3
3
|
import { useQueryClient as q } from "@tanstack/react-query";
|
|
4
4
|
import { EmptyState as g, Spinner as E, StatusBadge as p, Button as y } from "@av-pi-studio/ui-library";
|
|
5
|
-
import { u as I, g as T, r as L } from "./index-
|
|
6
|
-
import { u as x } from "./use-provider-auth-list-
|
|
5
|
+
import { u as I, g as T, r as L } from "./index-QzeFcHmH.js";
|
|
6
|
+
import { u as x } from "./use-provider-auth-list-jNjjSAD_.js";
|
|
7
7
|
import { u as _ } from "./provider-auth-store-C1GaLTlw.js";
|
|
8
8
|
const N = "env:";
|
|
9
9
|
function O(n) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as s, jsxs as v } from "react/jsx-runtime";
|
|
2
|
-
import { u as U, O as W, m as j, P as k, Q as X, R as q, T as Y, U as z, v as D } from "./index-
|
|
2
|
+
import { u as U, O as W, m as j, P as k, Q as X, R as q, T as Y, U as z, v as D } from "./index-QzeFcHmH.js";
|
|
3
3
|
import { Panel as h, EmptyState as N, Spinner as G, StatusBadge as w } from "@av-pi-studio/ui-library";
|
|
4
4
|
import { useRef as M, useState as m, useMemo as H, useEffect as Q } from "react";
|
|
5
5
|
import { MolViewer as J } from "@molviewer/core";
|
|
6
6
|
import "@molviewer/core/style.css";
|
|
7
|
-
import { u as K } from "./use-file-download-
|
|
8
|
-
import { u as Z } from "./use-file-watch-
|
|
7
|
+
import { u as K } from "./use-file-download-zheHRdGQ.js";
|
|
8
|
+
import { u as Z } from "./use-file-watch-CyVeSj2A.js";
|
|
9
9
|
function ee(e, r) {
|
|
10
10
|
return !e || !r ? null : { url: r, name: e.split("/").pop() || e };
|
|
11
11
|
}
|
|
@@ -2,8 +2,8 @@ import { jsxs as h, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as w, useEffect as x, useMemo as V, useRef as W, useLayoutEffect as te } from "react";
|
|
3
3
|
import { ZoomOut as re, ZoomIn as ne, MoveHorizontal as oe, Download as ae } from "lucide-react";
|
|
4
4
|
import { EmptyState as O, Button as y, Spinner as se } from "@av-pi-studio/ui-library";
|
|
5
|
-
import { g as Z, O as ie } from "./index-
|
|
6
|
-
import { u as ce } from "./use-file-download-
|
|
5
|
+
import { g as Z, O as ie } from "./index-QzeFcHmH.js";
|
|
6
|
+
import { u as ce } from "./use-file-download-zheHRdGQ.js";
|
|
7
7
|
import * as j from "pdfjs-dist";
|
|
8
8
|
class H extends Error {
|
|
9
9
|
name = "PdfUnavailableError";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as o, Fragment as m, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { useState as a, useRef as d, useEffect as v } from "react";
|
|
3
3
|
import { Spinner as p, Button as S } from "@av-pi-studio/ui-library";
|
|
4
|
-
import { O as g } from "./index-
|
|
4
|
+
import { O as g } from "./index-QzeFcHmH.js";
|
|
5
5
|
function y({ path: f }) {
|
|
6
6
|
const { saveToDisk: c } = g(), [l, e] = a(!1), [n, t] = a(null), r = d(!0);
|
|
7
7
|
v(
|
|
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as a, Fragment as x } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as f, useEffect as w, useCallback as X, useReducer as J, useRef as y, Suspense as W } from "react";
|
|
3
3
|
import { clsx as ee } from "clsx";
|
|
4
4
|
import { Dialog as K, Button as k, Spinner as E, TextInput as ne, IconButton as te, Icon as oe, EmptyState as T } from "@av-pi-studio/ui-library";
|
|
5
|
-
import { g as q, u as B, r as Q, b as ie, S as re } from "./index-
|
|
5
|
+
import { g as q, u as B, r as Q, b as ie, S as re } from "./index-QzeFcHmH.js";
|
|
6
6
|
import { useQueryClient as se } from "@tanstack/react-query";
|
|
7
7
|
import { ExternalLink as O, Check as ae, Copy as ce } from "lucide-react";
|
|
8
8
|
import le from "qrcode";
|
|
@@ -2,7 +2,7 @@ import { jsxs as h, jsx as s, Fragment as le } from "react/jsx-runtime";
|
|
|
2
2
|
import { useEffect as K, useState as w, useRef as te } from "react";
|
|
3
3
|
import { AlertTriangle as U, ChevronRight as ne, Trash2 as se } from "lucide-react";
|
|
4
4
|
import { TextInput as Y, Icon as z, Dialog as re, Checkbox as j, StatusBadge as T, Button as D, Spinner as $, EmptyState as H, Switch as ae, IconButton as ie } from "@av-pi-studio/ui-library";
|
|
5
|
-
import { u as I, r as N, g as O } from "./index-
|
|
5
|
+
import { u as I, r as N, g as O } from "./index-QzeFcHmH.js";
|
|
6
6
|
import { detectSkillSource as oe } from "@av-pi-studio/client";
|
|
7
7
|
import { useQueryClient as F, useQuery as ce } from "@tanstack/react-query";
|
|
8
8
|
const G = {
|
|
@@ -4,7 +4,7 @@ import { Terminal as ie } from "@xterm/xterm";
|
|
|
4
4
|
import { FitAddon as ue } from "@xterm/addon-fit";
|
|
5
5
|
import "@xterm/xterm/css/xterm.css";
|
|
6
6
|
import { TerminalStreamRouter as le } from "@av-pi-studio/client";
|
|
7
|
-
import { u as ae, v as fe, K as de, M as Z, N as me, m as pe } from "./index-
|
|
7
|
+
import { u as ae, v as fe, K as de, M as Z, N as me, m as pe } from "./index-QzeFcHmH.js";
|
|
8
8
|
import { baseFontSize as we, TERMINAL_FONT_STACK as J, useAppearance as Se, Spinner as he } from "@av-pi-studio/ui-library";
|
|
9
9
|
const Re = 3e3, ee = `${we.sm}px ${J}`, te = "M";
|
|
10
10
|
function ne() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { EmptyState as o, Panel as d, Spinner as a } from "@av-pi-studio/ui-library";
|
|
3
|
-
import { u as l, C as c } from "./CodeView-
|
|
4
|
-
import { S as m } from "./SaveFileButton-
|
|
3
|
+
import { u as l, C as c } from "./CodeView-klpk8qD0.js";
|
|
4
|
+
import { S as m } from "./SaveFileButton-Bsz3wG4a.js";
|
|
5
5
|
const g = "piwb-TextViewer_note_8NLWz", u = "piwb-TextViewer_body_674Gk", y = "piwb-TextViewer_tooLarge_AE_S5", s = {
|
|
6
6
|
note: g,
|
|
7
7
|
body: u,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { EmptyState as i, Spinner as t } from "@av-pi-studio/ui-library";
|
|
3
|
-
import { u as a } from "./use-file-download-
|
|
3
|
+
import { u as a } from "./use-file-download-zheHRdGQ.js";
|
|
4
4
|
const d = "piwb-VideoViewer_wrap_uRDRg", c = "piwb-VideoViewer_video_e-yEz", n = {
|
|
5
5
|
wrap: d,
|
|
6
6
|
video: c
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { Switch as w } from "@av-pi-studio/ui-library";
|
|
3
|
-
import { a as r } from "./index-
|
|
3
|
+
import { a as r } from "./index-QzeFcHmH.js";
|
|
4
4
|
const p = "piwb-ViewersPanel_list_-coFH", m = "piwb-ViewersPanel_row_HkMPx", b = "piwb-ViewersPanel_rowMain_WGJdx", f = "piwb-ViewersPanel_name_RIRP4", V = "piwb-ViewersPanel_description_SHFiN", _ = "piwb-ViewersPanel_note_CvJyn", n = {
|
|
5
5
|
list: p,
|
|
6
6
|
row: m,
|
|
@@ -125,8 +125,11 @@ function fs() {
|
|
|
125
125
|
onResume: us
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
|
-
function In(e, t) {
|
|
129
|
-
|
|
128
|
+
async function In(e, t) {
|
|
129
|
+
const n = [], i = await e.downloadTo(t, (o) => void n.push(o));
|
|
130
|
+
return { blob: new Blob(n, {
|
|
131
|
+
type: i.mimeType || "application/octet-stream"
|
|
132
|
+
}), fileName: i.fileName, mimeType: i.mimeType };
|
|
130
133
|
}
|
|
131
134
|
function ps(e) {
|
|
132
135
|
return {
|
|
@@ -137,11 +140,11 @@ function ps(e) {
|
|
|
137
140
|
await e().upload(r, n, { onProgress: i?.onProgress });
|
|
138
141
|
},
|
|
139
142
|
async saveToDisk(t) {
|
|
140
|
-
const n = await e()
|
|
143
|
+
const n = await In(e(), t), i = URL.createObjectURL(n.blob), r = document.createElement("a");
|
|
141
144
|
r.href = i, r.download = n.fileName || t.split("/").pop() || "download", r.rel = "noopener", document.body.appendChild(r), r.click(), r.remove(), setTimeout(() => URL.revokeObjectURL(i), 0);
|
|
142
145
|
},
|
|
143
146
|
async openForView(t) {
|
|
144
|
-
const n = await e()
|
|
147
|
+
const n = await In(e(), t), i = URL.createObjectURL(n.blob);
|
|
145
148
|
let r = !1;
|
|
146
149
|
return {
|
|
147
150
|
url: i,
|
|
@@ -2249,13 +2252,13 @@ function dc({ host: e, children: t }) {
|
|
|
2249
2252
|
return e && e !== n && Mn(e), /* @__PURE__ */ l(Ai.Provider, { value: n, children: /* @__PURE__ */ l(eo, { store: n.storage, children: /* @__PURE__ */ l(_o, { client: lc, children: t }) }) });
|
|
2250
2253
|
}
|
|
2251
2254
|
const uc = te(
|
|
2252
|
-
() => import("./ModelProvidersPanel-
|
|
2255
|
+
() => import("./ModelProvidersPanel-C3TXoq1L.js").then((e) => ({
|
|
2253
2256
|
default: e.ModelProvidersPanel
|
|
2254
2257
|
}))
|
|
2255
2258
|
), fc = te(
|
|
2256
|
-
() => import("./SkillsPanel-
|
|
2259
|
+
() => import("./SkillsPanel-BB5_yrcx.js").then((e) => ({ default: e.SkillsPanel }))
|
|
2257
2260
|
), pc = te(
|
|
2258
|
-
() => import("./ViewersPanel-
|
|
2261
|
+
() => import("./ViewersPanel-BYHmKfOh.js").then((e) => ({ default: e.ViewersPanel }))
|
|
2259
2262
|
), gc = [
|
|
2260
2263
|
{
|
|
2261
2264
|
id: "providers",
|
|
@@ -2415,7 +2418,7 @@ const vc = "piwb-ConnectionBar_bar_4rI65", kc = "piwb-ConnectionBar_title_RWzEN"
|
|
|
2415
2418
|
panelToggles: Bc,
|
|
2416
2419
|
panelToggle: $c
|
|
2417
2420
|
}, Oc = te(
|
|
2418
|
-
() => import("./SettingsDialog-
|
|
2421
|
+
() => import("./SettingsDialog-AHnoT7nN.js").then((e) => ({ default: e.SettingsDialog }))
|
|
2419
2422
|
), Pe = 26, Wc = "var(--pi-font-size-2xs)", zc = 9, Zn = "host:port, ws://…/http://…, or a pasted pairing link";
|
|
2420
2423
|
function cr() {
|
|
2421
2424
|
const e = x((k) => k.status), t = x((k) => k.error), n = x((k) => k.connect), i = x((k) => k.disconnect), r = x((k) => k.serverInfo), o = E((k) => k.host), s = E((k) => k.setHost), a = E((k) => k.password), c = E((k) => k.setPassword), d = E((k) => k.leftSidebarCollapsed), u = E((k) => k.toggleLeftSidebar), p = E((k) => k.rightSidebarCollapsed), b = E((k) => k.toggleRightSidebar), f = E((k) => k.settingsOpen), v = E((k) => k.openSettings), h = E((k) => k.closeSettings), y = hc(r?.features), w = gc.some((k) => k.available(y)), [S, I] = q(f);
|
|
@@ -3531,13 +3534,13 @@ function rd(e) {
|
|
|
3531
3534
|
};
|
|
3532
3535
|
}
|
|
3533
3536
|
const od = te(
|
|
3534
|
-
() => import("./ChatPanel-
|
|
3537
|
+
() => import("./ChatPanel-DgJlK-yP.js").then((e) => ({ default: e.ChatPanel }))
|
|
3535
3538
|
), li = te(
|
|
3536
|
-
() => import("./FilePanel-
|
|
3539
|
+
() => import("./FilePanel-Beg5Fs8X.js").then((e) => ({ default: e.FilePanel }))
|
|
3537
3540
|
), sd = te(
|
|
3538
|
-
() => import("./TerminalPanel-
|
|
3541
|
+
() => import("./TerminalPanel-DgH4re05.js").then((e) => ({ default: e.TerminalPanel }))
|
|
3539
3542
|
), ad = te(
|
|
3540
|
-
() => import("./MoleculeViewerPanel-
|
|
3543
|
+
() => import("./MoleculeViewerPanel-BAWs5F2j.js").then((e) => ({ default: e.MoleculeViewerPanel }))
|
|
3541
3544
|
), cd = {
|
|
3542
3545
|
chat: od,
|
|
3543
3546
|
file: li,
|
|
@@ -3680,15 +3683,15 @@ function wd({ cwd: e, dividers: t, hostRef: n }) {
|
|
|
3680
3683
|
);
|
|
3681
3684
|
});
|
|
3682
3685
|
}
|
|
3683
|
-
const bd = te(() => import("./TextViewer-
|
|
3684
|
-
() => import("./MarkdownFileViewer-
|
|
3686
|
+
const bd = te(() => import("./TextViewer-BiwFYLLc.js").then((e) => ({ default: e.TextViewer }))), vd = te(
|
|
3687
|
+
() => import("./MarkdownFileViewer-DxJJlrsv.js").then((e) => ({ default: e.MarkdownFileViewer }))
|
|
3685
3688
|
), kd = te(
|
|
3686
|
-
() => import("./ImageViewer-
|
|
3689
|
+
() => import("./ImageViewer-BLrsKWwI.js").then((e) => ({ default: e.ImageViewer }))
|
|
3687
3690
|
), Sd = te(
|
|
3688
|
-
() => import("./VideoViewer-
|
|
3691
|
+
() => import("./VideoViewer-BSGjTTQR.js").then((e) => ({ default: e.VideoViewer }))
|
|
3689
3692
|
), yd = te(
|
|
3690
|
-
() => import("./BinaryFallbackViewer-
|
|
3691
|
-
), _d = te(() => import("./HtmlViewer-
|
|
3693
|
+
() => import("./BinaryFallbackViewer-EznEIpRC.js").then((e) => ({ default: e.BinaryFallbackViewer }))
|
|
3694
|
+
), _d = te(() => import("./HtmlViewer-KGQcSEm3.js").then((e) => ({ default: e.HtmlViewer }))), Cd = te(() => import("./PdfViewer-B_kiY-Tw.js").then((e) => ({ default: e.PdfViewer }))), lt = [
|
|
3692
3695
|
{
|
|
3693
3696
|
kind: "text",
|
|
3694
3697
|
component: bd,
|
|
@@ -6131,7 +6134,7 @@ function Xg() {
|
|
|
6131
6134
|
return ge("OpenWorkspaceDialog"), /* @__PURE__ */ l(Ur, {});
|
|
6132
6135
|
}
|
|
6133
6136
|
const pg = te(
|
|
6134
|
-
() => import("./SettingsDialog-
|
|
6137
|
+
() => import("./SettingsDialog-AHnoT7nN.js").then((e) => ({ default: e.SettingsDialog }))
|
|
6135
6138
|
);
|
|
6136
6139
|
function Qg(e) {
|
|
6137
6140
|
return ge("SettingsDialog"), /* @__PURE__ */ l(pg, { ...e });
|
|
@@ -5,9 +5,9 @@ import V from "rehype-katex";
|
|
|
5
5
|
import $ from "remark-gfm";
|
|
6
6
|
import j from "remark-math";
|
|
7
7
|
import "katex/dist/katex.min.css";
|
|
8
|
-
import { W as D, u as y, X as A, Y as B, g as U, i as v, Z as M, f as x, D as O } from "./index-
|
|
8
|
+
import { W as D, u as y, X as A, Y as B, g as U, i as v, Z as M, f as x, D as O } from "./index-QzeFcHmH.js";
|
|
9
9
|
import { createHighlighter as z } from "shiki";
|
|
10
|
-
import { r as S } from "./href-resolution-
|
|
10
|
+
import { r as S } from "./href-resolution-AtzN0oCd.js";
|
|
11
11
|
import { Spinner as G } from "@av-pi-studio/ui-library";
|
|
12
12
|
const T = "github-dark";
|
|
13
13
|
let h = null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRef as i, useEffect as l } from "react";
|
|
2
2
|
import { useQuery as c } from "@tanstack/react-query";
|
|
3
|
-
import { u as a, g as f, r as m } from "./index-
|
|
3
|
+
import { u as a, g as f, r as m } from "./index-QzeFcHmH.js";
|
|
4
4
|
function y(r, n) {
|
|
5
5
|
return n && r && r !== n && r.release(), n;
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState as h, useEffect as p } from "react";
|
|
2
|
-
import { u as w } from "./index-
|
|
2
|
+
import { u as w } from "./index-QzeFcHmH.js";
|
|
3
3
|
function b(e) {
|
|
4
4
|
return typeof e == "object" && e !== null && "type" in e && e.type === "file_changed" && "path" in e && typeof e.path == "string";
|
|
5
5
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* `use-file-text` — tier-2 fallback for `TextViewer` (task-009): decodes a file's bytes to UTF-8
|
|
3
3
|
* text via the already-uncapped chunked binary download path (`useFileDownload` →
|
|
4
|
-
* `
|
|
4
|
+
* `file_download_request`), for files over `file_read_request`'s
|
|
5
5
|
* inline cap (`MAX_INLINE_FILE_READ_BYTES`, `packages/server/src/files/limits.ts`). Same
|
|
6
6
|
* transport the molecule viewer uses for its own (binary-safe) source — no new RPC, no new
|
|
7
7
|
* transport, just a text decode over the resulting blob.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The browser host's `files`: uploads hand the `File` itself to the SDK (sliced and paced there, so a
|
|
3
|
-
* large upload never sits in memory),
|
|
4
|
-
* anchor, and viewers get a `Blob`
|
|
3
|
+
* large upload never sits in memory), downloads collect the SDK's chunks straight into a `Blob`
|
|
4
|
+
* (never one concatenated array), save-to-disk clicks a download anchor, and viewers get a `Blob`
|
|
5
|
+
* object URL.
|
|
5
6
|
*/
|
|
6
7
|
import { type FileTransferClient } from "@av-pi-studio/client";
|
|
7
8
|
import { type HostFiles } from "./types.js";
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a0 as e, a1 as o, a2 as r, a3 as t, a4 as n, a5 as i, a6 as c, a7 as l, a8 as S, a9 as g, aa as h, ab as b, ac as k, ad as u, ae as W } from "./chunks/index-
|
|
1
|
+
import { a0 as e, a1 as o, a2 as r, a3 as t, a4 as n, a5 as i, a6 as c, a7 as l, a8 as S, a9 as g, aa as h, ab as b, ac as k, ad as u, ae as W } from "./chunks/index-QzeFcHmH.js";
|
|
2
2
|
export {
|
|
3
3
|
e as ConnectionBar,
|
|
4
4
|
o as OpenWorkspaceDialog,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@av-pi-studio/workbench",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.119",
|
|
4
4
|
"description": "The Pi-Studio client application as a library: every feature, its stores and its shell regions, for web and desktop shells",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"repository": {
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"clean": "rm -rf dist *.tsbuildinfo"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@av-pi-studio/client": "^0.0.
|
|
42
|
-
"@av-pi-studio/protocol": "^0.0.
|
|
43
|
-
"@av-pi-studio/ui-library": "^0.0.
|
|
41
|
+
"@av-pi-studio/client": "^0.0.119",
|
|
42
|
+
"@av-pi-studio/protocol": "^0.0.119",
|
|
43
|
+
"@av-pi-studio/ui-library": "^0.0.119",
|
|
44
44
|
"@codemirror/language": "^6.12.4",
|
|
45
45
|
"@codemirror/language-data": "^6.5.2",
|
|
46
46
|
"@codemirror/state": "^6.7.1",
|