@hachej/boring-workspace 0.1.32 → 0.1.33
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/{FileTree-BltQETt9.js → FileTree-SmsE0Raq.js} +1 -1
- package/dist/{MarkdownEditor-heUJdK4j.js → MarkdownEditor-zbp8ezds.js} +1 -1
- package/dist/{WorkspaceLoadingState-InXsc_8G.js → WorkspaceLoadingState-BlvZXmFg.js} +1 -1
- package/dist/{WorkspaceProvider-Cg-J1wxr.js → WorkspaceProvider-CuIZx1ua.js} +342 -326
- package/dist/app-front.d.ts +3 -0
- package/dist/app-front.js +237 -234
- package/dist/testing.js +1 -1
- package/dist/workspace.css +5 -0
- package/dist/workspace.d.ts +4 -1
- package/dist/workspace.js +5 -5
- package/package.json +3 -3
package/dist/testing.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as Ba } from "react/jsx-runtime";
|
|
2
2
|
import * as Pa from "react";
|
|
3
3
|
import { createElement as is, useMemo as wn, useLayoutEffect as us, isValidElement as ss, cloneElement as ds, useSyncExternalStore as Gi } from "react";
|
|
4
|
-
import { h as cs, q as fs, o as ps } from "./WorkspaceProvider-
|
|
4
|
+
import { h as cs, q as fs, o as ps } from "./WorkspaceProvider-CuIZx1ua.js";
|
|
5
5
|
import { d as ms } from "./panel-DnvDNQac.js";
|
|
6
6
|
import * as bs from "react-dom/test-utils";
|
|
7
7
|
import ka from "react-dom";
|
package/dist/workspace.css
CHANGED
|
@@ -2917,6 +2917,11 @@
|
|
|
2917
2917
|
opacity: 50%;
|
|
2918
2918
|
}
|
|
2919
2919
|
}
|
|
2920
|
+
.disabled\:opacity-60 {
|
|
2921
|
+
&:disabled {
|
|
2922
|
+
opacity: 60%;
|
|
2923
|
+
}
|
|
2924
|
+
}
|
|
2920
2925
|
.aria-selected\:bg-\[color\:oklch\(from_var\(--accent\)_l_c_h\/0\.10\)\] {
|
|
2921
2926
|
&[aria-selected="true"] {
|
|
2922
2927
|
background-color: oklch(from var(--accent) l c h/0.10);
|
package/dist/workspace.d.ts
CHANGED
|
@@ -1337,7 +1337,7 @@ export declare interface ResponsiveDockviewShellProps {
|
|
|
1337
1337
|
|
|
1338
1338
|
export declare type SerializedLayout = Parameters<DockviewApi["fromJSON"]>[0];
|
|
1339
1339
|
|
|
1340
|
-
export declare function SessionBrowser({ sessions, activeId, onSwitch, onCreate, onDelete, onClose, className, }: SessionBrowserProps): JSX.Element;
|
|
1340
|
+
export declare function SessionBrowser({ sessions, activeId, onSwitch, onCreate, onDelete, onLoadMore, hasMore, loadingMore, onClose, className, }: SessionBrowserProps): JSX.Element;
|
|
1341
1341
|
|
|
1342
1342
|
export declare interface SessionBrowserProps {
|
|
1343
1343
|
sessions: SessionItem[];
|
|
@@ -1345,6 +1345,9 @@ export declare interface SessionBrowserProps {
|
|
|
1345
1345
|
onSwitch?: (id: string) => void;
|
|
1346
1346
|
onCreate?: () => void;
|
|
1347
1347
|
onDelete?: (id: string) => void;
|
|
1348
|
+
onLoadMore?: () => void;
|
|
1349
|
+
hasMore?: boolean;
|
|
1350
|
+
loadingMore?: boolean;
|
|
1348
1351
|
onClose?: () => void;
|
|
1349
1352
|
className?: string;
|
|
1350
1353
|
}
|
package/dist/workspace.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var V = Object.defineProperty;
|
|
2
2
|
var X = (e, t, a) => t in e ? V(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
3
3
|
var T = (e, t, a) => X(e, typeof t != "symbol" ? t + "" : t, a);
|
|
4
|
-
import { u as K, p as Q, a as Y, b as Z, D as ee } from "./WorkspaceProvider-
|
|
5
|
-
import { A as Je, C as Ge, c as Ve, d as Xe, e as Qe, F as Ye, f as Ze, M as et, g as tt, P as at, h as rt, i as nt, j as st, k as ot, R as it, S as lt, l as ct, m as dt, T as ut, U as pt, W as ft, n as mt, o as ht, q as gt, r as bt, s as yt, t as vt, v as xt, w as kt, x as wt, y as Pt, z as St, B as Ct, E as Nt, G as Rt, H as Et, I as Tt, J as It, K as Ot, L as Ft, N as Lt, O as Mt, Q as Bt, V as Wt, X as Dt, Y as Kt, Z as $t, _ as jt, $ as zt, a0 as Ht, a1 as Ut, a2 as _t, a3 as qt, a4 as At, a5 as Jt, a6 as Gt, a7 as Vt, a8 as Xt, a9 as Qt, aa as Yt, ab as Zt, ac as ea, ad as ta, ae as aa, af as ra, ag as na, ah as sa, ai as oa, aj as ia, ak as la, al as ca, am as da, an as ua, ao as pa, ap as fa, aq as ma, ar as ha } from "./WorkspaceProvider-
|
|
4
|
+
import { u as K, p as Q, a as Y, b as Z, D as ee } from "./WorkspaceProvider-CuIZx1ua.js";
|
|
5
|
+
import { A as Je, C as Ge, c as Ve, d as Xe, e as Qe, F as Ye, f as Ze, M as et, g as tt, P as at, h as rt, i as nt, j as st, k as ot, R as it, S as lt, l as ct, m as dt, T as ut, U as pt, W as ft, n as mt, o as ht, q as gt, r as bt, s as yt, t as vt, v as xt, w as kt, x as wt, y as Pt, z as St, B as Ct, E as Nt, G as Rt, H as Et, I as Tt, J as It, K as Ot, L as Ft, N as Lt, O as Mt, Q as Bt, V as Wt, X as Dt, Y as Kt, Z as $t, _ as jt, $ as zt, a0 as Ht, a1 as Ut, a2 as _t, a3 as qt, a4 as At, a5 as Jt, a6 as Gt, a7 as Vt, a8 as Xt, a9 as Qt, aa as Yt, ab as Zt, ac as ea, ad as ta, ae as aa, af as ra, ag as na, ah as sa, ai as oa, aj as ia, ak as la, al as ca, am as da, an as ua, ao as pa, ap as fa, aq as ma, ar as ha } from "./WorkspaceProvider-CuIZx1ua.js";
|
|
6
6
|
import { c as C } from "./utils-B6yFEsav.js";
|
|
7
|
-
import { C as ba, T as ya, W as va, b as xa } from "./WorkspaceLoadingState-
|
|
7
|
+
import { C as ba, T as ya, W as va, b as xa } from "./WorkspaceLoadingState-BlvZXmFg.js";
|
|
8
8
|
import { jsx as r, jsxs as g, Fragment as te } from "react/jsx-runtime";
|
|
9
9
|
import { Button as P, Sheet as ae, SheetContent as re, SheetHeader as ne, SheetTitle as se, SheetDescription as oe, EmptyState as ie, Kbd as I, ErrorState as le, IconButton as O } from "@hachej/boring-ui-kit";
|
|
10
10
|
import { Toaster as wa, dismissToast as Pa, toast as Sa } from "@hachej/boring-ui-kit";
|
|
11
11
|
import { useSyncExternalStore as $, useState as N, useEffect as k, useRef as S, useCallback as b, useMemo as w, Suspense as ce, Component as de } from "react";
|
|
12
12
|
import { C as Na, c as Ra } from "./CodeEditor-DQqOn4xz.js";
|
|
13
|
-
import { FileTree as Ta } from "./FileTree-
|
|
14
|
-
import { MarkdownEditor as Oa } from "./MarkdownEditor-
|
|
13
|
+
import { FileTree as Ta } from "./FileTree-SmsE0Raq.js";
|
|
14
|
+
import { MarkdownEditor as Oa } from "./MarkdownEditor-zbp8ezds.js";
|
|
15
15
|
import { MenuIcon as ue, PanelLeftOpenIcon as pe, PanelLeftCloseIcon as fe, PinIcon as me, CheckIcon as he, CopyIcon as ge } from "lucide-react";
|
|
16
16
|
import { d as La } from "./panel-DnvDNQac.js";
|
|
17
17
|
function We() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hachej/boring-workspace",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.33",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Workspace UI, plugin, and bridge package for composing chat, files, catalogs, editors, and app-specific panes.",
|
|
@@ -130,8 +130,8 @@
|
|
|
130
130
|
"tailwind-merge": "^2.0.0",
|
|
131
131
|
"zod": "^3.23.0",
|
|
132
132
|
"zustand": "^5.0.0",
|
|
133
|
-
"@hachej/boring-agent": "0.1.
|
|
134
|
-
"@hachej/boring-ui-kit": "0.1.
|
|
133
|
+
"@hachej/boring-agent": "0.1.33",
|
|
134
|
+
"@hachej/boring-ui-kit": "0.1.33"
|
|
135
135
|
},
|
|
136
136
|
"devDependencies": {
|
|
137
137
|
"@tailwindcss/postcss": "^4.0.0",
|