@hachej/boring-core 0.1.9 → 0.1.12

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.
@@ -360,6 +360,7 @@ async function createCoreWorkspaceAgentServer(options = {}) {
360
360
  await ensureWorkspaceProvisioned(root);
361
361
  return root;
362
362
  };
363
+ const validateUiPaths = (options.mode ?? process.env.BORING_AGENT_MODE) !== "vercel-sandbox";
363
364
  await app.register(registerAgentRoutes, {
364
365
  workspaceRoot,
365
366
  sessionId: options.sessionId,
@@ -377,7 +378,9 @@ async function createCoreWorkspaceAgentServer(options = {}) {
377
378
  const callerTools = options.getExtraTools ? await options.getExtraTools(ctx) : [];
378
379
  return [
379
380
  ...callerTools,
380
- ...createWorkspaceUiTools(getUiBridge(ctx.workspaceId), { workspaceRoot: ctx.workspaceRoot })
381
+ ...createWorkspaceUiTools(getUiBridge(ctx.workspaceId), {
382
+ workspaceRoot: validateUiPaths ? ctx.workspaceRoot : void 0
383
+ })
381
384
  ];
382
385
  },
383
386
  sandboxHandleStore: options.sandboxHandleStore ?? new WorkspaceRuntimeSandboxHandleStore(workspaceStore),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hachej/boring-core",
3
- "version": "0.1.9",
3
+ "version": "0.1.12",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Foundation package for boring-ui-v2 apps: DB, auth, config, HTTP app factory, and frontend app shell.",
@@ -78,9 +78,9 @@
78
78
  "react-router-dom": "^7.14.2",
79
79
  "smol-toml": "^1.6.1",
80
80
  "zod": "^3.25.76",
81
- "@hachej/boring-agent": "0.1.9",
82
- "@hachej/boring-workspace": "0.1.9",
83
- "@hachej/boring-ui-kit": "0.1.9"
81
+ "@hachej/boring-agent": "0.1.12",
82
+ "@hachej/boring-ui-kit": "0.1.12",
83
+ "@hachej/boring-workspace": "0.1.12"
84
84
  },
85
85
  "devDependencies": {
86
86
  "@testing-library/jest-dom": "^6.9.1",