@hachej/boring-workspace 0.1.37 → 0.1.38
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/app-server.js +14 -2
- package/dist/server.js +2 -2
- package/package.json +4 -4
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hachej/boring-workspace",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.38",
|
|
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.38",
|
|
139
|
+
"@hachej/boring-ui-kit": "0.1.38",
|
|
140
|
+
"@hachej/boring-ui-plugin-cli": "0.1.38"
|
|
141
141
|
},
|
|
142
142
|
"devDependencies": {
|
|
143
143
|
"@tailwindcss/postcss": "^4.0.0",
|