@hachej/boring-ui-cli 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.
@@ -483,6 +483,22 @@ async function createWorkspacesModeApp(opts) {
483
483
  ]
484
484
  };
485
485
  },
486
+ getPluginDiagnostics: async ({ workspaceId }) => {
487
+ const workspace = await requireWorkspace(workspaceId);
488
+ const runtime = await getLoadedPluginRuntime(workspace);
489
+ return [
490
+ ...runtime.manager.getErrors().map((error) => ({
491
+ source: "plugin-load",
492
+ message: error.message,
493
+ ...error.id ? { pluginId: error.id } : {}
494
+ })),
495
+ ...runtime.manager.preflight().errors.map((error) => ({
496
+ source: "plugin-preflight",
497
+ message: `${error.code}: ${error.message} (${error.pluginDir})`,
498
+ ...error.pluginId ? { pluginId: error.pluginId } : {}
499
+ }))
500
+ ];
501
+ },
486
502
  getPi: async ({ workspaceId, workspaceRoot }) => {
487
503
  const workspace = await requireWorkspace(workspaceId);
488
504
  await getLoadedPluginRuntime(workspace);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hachej/boring-ui-cli",
3
- "version": "0.1.37",
3
+ "version": "0.1.38",
4
4
  "description": "Turn an agent into an app",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -19,11 +19,11 @@
19
19
  "lucide-react": "^1.8.0",
20
20
  "typescript": "^5.8.3",
21
21
  "vite": "^6.0.0",
22
- "@hachej/boring-agent": "0.1.37",
23
- "@hachej/boring-ui-plugin-cli": "0.1.37",
24
- "@hachej/boring-ui-kit": "0.1.37",
25
- "@hachej/boring-ask-user": "0.1.37",
26
- "@hachej/boring-workspace": "0.1.37"
22
+ "@hachej/boring-agent": "0.1.38",
23
+ "@hachej/boring-ask-user": "0.1.38",
24
+ "@hachej/boring-ui-kit": "0.1.38",
25
+ "@hachej/boring-ui-plugin-cli": "0.1.38",
26
+ "@hachej/boring-workspace": "0.1.38"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@tailwindcss/vite": "^4.0.0",