@hachej/boring-workspace 0.1.37 → 0.1.39
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-D6oUyX8I.js → FileTree-DNIzusWa.js} +1 -1
- package/dist/{MarkdownEditor-DPFwqtbH.js → MarkdownEditor-DhVfKSAq.js} +1 -1
- package/dist/{WorkspaceLoadingState-C-whZTne.js → WorkspaceLoadingState-EratTJfG.js} +1 -1
- package/dist/{WorkspaceProvider-CX_4aV6Z.js → WorkspaceProvider-uuxyAx3i.js} +1148 -1113
- package/dist/app-front.js +2 -2
- package/dist/app-server.js +14 -2
- package/dist/server.js +2 -2
- package/dist/testing.js +1 -1
- package/dist/workspace.js +5 -5
- package/package.json +4 -4
package/dist/app-front.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as f, jsxs as ye, Fragment as ce } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect as A, useSyncExternalStore as vr, useMemo as C, useState as O, useCallback as w, useRef as j, useLayoutEffect as Sr } from "react";
|
|
3
3
|
import { PiChatPanel as br, usePiSessions as yr } from "@hachej/boring-agent/front";
|
|
4
|
-
import { aj as Pr, at as qe, au as bn, av as yn, aw as Pn, ax as An, ay as ze, az as pt, aA as ht, aB as En, aC as Ar, aD as He, aE as Er, U as un, aF as wr, q as Tr, aG as Nr, u as wn, aH as Dr, ag as Rr, aI as _r } from "./WorkspaceProvider-
|
|
5
|
-
import { T as Lr, C as Or, r as dn, w as xr, W as fn } from "./WorkspaceLoadingState-
|
|
4
|
+
import { aj as Pr, at as qe, au as bn, av as yn, aw as Pn, ax as An, ay as ze, az as pt, aA as ht, aB as En, aC as Ar, aD as He, aE as Er, U as un, aF as wr, q as Tr, aG as Nr, u as wn, aH as Dr, ag as Rr, aI as _r } from "./WorkspaceProvider-uuxyAx3i.js";
|
|
5
|
+
import { T as Lr, C as Or, r as dn, w as xr, W as fn } from "./WorkspaceLoadingState-EratTJfG.js";
|
|
6
6
|
import { Sun as Mr, Moon as Cr } from "lucide-react";
|
|
7
7
|
import { IconButton as Wr, ErrorState as Fr } from "@hachej/boring-ui-kit";
|
|
8
8
|
function Gr() {
|
package/dist/app-server.js
CHANGED
|
@@ -416,8 +416,8 @@ function packagePathContainmentIssues(rootDir, pkg) {
|
|
|
416
416
|
if (boring?.server !== false && boring?.server !== void 0) {
|
|
417
417
|
push(pathPreflightIssue(rootDir, boring.server, "boring.server"));
|
|
418
418
|
}
|
|
419
|
-
pi?.extensions?.forEach((value, index) => push(pathPreflightIssue(rootDir, value, `pi.extensions[${index}]
|
|
420
|
-
pi?.skills?.forEach((value, index) => push(pathPreflightIssue(rootDir, value, `pi.skills[${index}]
|
|
419
|
+
pi?.extensions?.forEach((value, index) => push(pathPreflightIssue(rootDir, value, `pi.extensions[${index}]`, { mustExist: true })));
|
|
420
|
+
pi?.skills?.forEach((value, index) => push(pathPreflightIssue(rootDir, value, `pi.skills[${index}]`, { mustExist: true })));
|
|
421
421
|
return issues;
|
|
422
422
|
}
|
|
423
423
|
function discoverBoringPluginDirs(pluginDirs) {
|
|
@@ -3052,6 +3052,18 @@ async function createWorkspaceAgentServer(opts = {}) {
|
|
|
3052
3052
|
...mergedDiagnostics.length > 0 ? { diagnostics: mergedDiagnostics } : {}
|
|
3053
3053
|
};
|
|
3054
3054
|
},
|
|
3055
|
+
getPluginDiagnostics: async () => [
|
|
3056
|
+
...boringAssetManager.getErrors().map((error) => ({
|
|
3057
|
+
source: "plugin-load",
|
|
3058
|
+
message: error.message,
|
|
3059
|
+
...error.id ? { pluginId: error.id } : {}
|
|
3060
|
+
})),
|
|
3061
|
+
...boringAssetManager.preflight().errors.map((error) => ({
|
|
3062
|
+
source: "plugin-preflight",
|
|
3063
|
+
message: `${error.code}: ${error.message} (${error.pluginDir})`,
|
|
3064
|
+
...error.pluginId ? { pluginId: error.pluginId } : {}
|
|
3065
|
+
}))
|
|
3066
|
+
],
|
|
3055
3067
|
runtimeProvisioning: currentRuntimeProvisioning,
|
|
3056
3068
|
getRuntimeProvisioning: () => currentRuntimeProvisioning,
|
|
3057
3069
|
pi: {
|
package/dist/server.js
CHANGED
|
@@ -1294,8 +1294,8 @@ function packagePathContainmentIssues(rootDir, pkg) {
|
|
|
1294
1294
|
if (boring?.server !== false && boring?.server !== void 0) {
|
|
1295
1295
|
push(pathPreflightIssue(rootDir, boring.server, "boring.server"));
|
|
1296
1296
|
}
|
|
1297
|
-
pi?.extensions?.forEach((value, index) => push(pathPreflightIssue(rootDir, value, `pi.extensions[${index}]
|
|
1298
|
-
pi?.skills?.forEach((value, index) => push(pathPreflightIssue(rootDir, value, `pi.skills[${index}]
|
|
1297
|
+
pi?.extensions?.forEach((value, index) => push(pathPreflightIssue(rootDir, value, `pi.extensions[${index}]`, { mustExist: true })));
|
|
1298
|
+
pi?.skills?.forEach((value, index) => push(pathPreflightIssue(rootDir, value, `pi.skills[${index}]`, { mustExist: true })));
|
|
1299
1299
|
return issues;
|
|
1300
1300
|
}
|
|
1301
1301
|
function discoverBoringPluginDirs(pluginDirs) {
|
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-uuxyAx3i.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.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var V = Object.defineProperty;
|
|
2
2
|
var X = (e, t, r) => t in e ? V(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var T = (e, t, r) => X(e, typeof t != "symbol" ? t + "" : t, r);
|
|
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 rt, h as at, 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 Et, H as Rt, 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 er, ad as tr, ae as rr, af as ar, ag as nr, ah as sr, ai as or, aj as ir, ak as lr, al as cr, am as dr, an as ur, ao as pr, ap as fr, aq as mr, ar as hr, as as gr } from "./WorkspaceProvider-
|
|
4
|
+
import { u as K, p as Q, a as Y, b as Z, D as ee } from "./WorkspaceProvider-uuxyAx3i.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 rt, h as at, 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 Et, H as Rt, 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 er, ad as tr, ae as rr, af as ar, ag as nr, ah as sr, ai as or, aj as ir, ak as lr, al as cr, am as dr, an as ur, ao as pr, ap as fr, aq as mr, ar as hr, as as gr } from "./WorkspaceProvider-uuxyAx3i.js";
|
|
6
6
|
import { c as C } from "./utils-B6yFEsav.js";
|
|
7
|
-
import { C as yr, T as vr, W as xr, b as kr } from "./WorkspaceLoadingState-
|
|
7
|
+
import { C as yr, T as vr, W as xr, b as kr } from "./WorkspaceLoadingState-EratTJfG.js";
|
|
8
8
|
import { jsx as a, jsxs as g, Fragment as te } from "react/jsx-runtime";
|
|
9
9
|
import { Button as P, Sheet as re, SheetContent as ae, 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 Pr, dismissToast as Sr, toast as Cr } 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 Er, c as Rr } from "./CodeEditor-DQqOn4xz.js";
|
|
13
|
-
import { FileTree as Ir } from "./FileTree-
|
|
14
|
-
import { MarkdownEditor as Fr } from "./MarkdownEditor-
|
|
13
|
+
import { FileTree as Ir } from "./FileTree-DNIzusWa.js";
|
|
14
|
+
import { MarkdownEditor as Fr } from "./MarkdownEditor-DhVfKSAq.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 Mr } 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.39",
|
|
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.",
|
|
@@ -135,9 +135,9 @@
|
|
|
135
135
|
"tailwind-merge": "^2.0.0",
|
|
136
136
|
"zod": "^3.23.0",
|
|
137
137
|
"zustand": "^5.0.0",
|
|
138
|
-
"@hachej/boring-agent": "0.1.
|
|
139
|
-
"@hachej/boring-ui-kit": "0.1.
|
|
140
|
-
"@hachej/boring-ui-plugin-cli": "0.1.
|
|
138
|
+
"@hachej/boring-agent": "0.1.39",
|
|
139
|
+
"@hachej/boring-ui-kit": "0.1.39",
|
|
140
|
+
"@hachej/boring-ui-plugin-cli": "0.1.39"
|
|
141
141
|
},
|
|
142
142
|
"devDependencies": {
|
|
143
143
|
"@tailwindcss/postcss": "^4.0.0",
|