@agenshield/daemon 0.3.0 → 0.4.1

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/index.js CHANGED
@@ -7355,6 +7355,10 @@ import { fileURLToPath as fileURLToPath2 } from "node:url";
7355
7355
  var __filename = fileURLToPath2(import.meta.url);
7356
7356
  var __dirname = path16.dirname(__filename);
7357
7357
  function getUiAssetsPath() {
7358
+ const pkgRootPath = path16.join(__dirname, "..", "ui-assets");
7359
+ if (fs17.existsSync(pkgRootPath)) {
7360
+ return pkgRootPath;
7361
+ }
7358
7362
  const bundledPath = path16.join(__dirname, "ui-assets");
7359
7363
  if (fs17.existsSync(bundledPath)) {
7360
7364
  return bundledPath;
package/main.js CHANGED
@@ -7319,6 +7319,10 @@ import { fileURLToPath as fileURLToPath2 } from "node:url";
7319
7319
  var __filename = fileURLToPath2(import.meta.url);
7320
7320
  var __dirname = path16.dirname(__filename);
7321
7321
  function getUiAssetsPath() {
7322
+ const pkgRootPath = path16.join(__dirname, "..", "ui-assets");
7323
+ if (fs17.existsSync(pkgRootPath)) {
7324
+ return pkgRootPath;
7325
+ }
7322
7326
  const bundledPath = path16.join(__dirname, "ui-assets");
7323
7327
  if (fs17.existsSync(bundledPath)) {
7324
7328
  return bundledPath;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenshield/daemon",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "type": "module",
5
5
  "description": "AgenShield HTTP daemon server with embedded UI",
6
6
  "main": "./index.js",
@@ -24,9 +24,9 @@
24
24
  ],
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
- "@agenshield/ipc": "0.3.0",
28
- "@agenshield/broker": "0.3.0",
29
- "@agenshield/sandbox": "0.3.0",
27
+ "@agenshield/ipc": "0.4.1",
28
+ "@agenshield/broker": "0.4.1",
29
+ "@agenshield/sandbox": "0.4.1",
30
30
  "@modelcontextprotocol/sdk": "^1.26.0",
31
31
  "fastify": "^5.7.0",
32
32
  "zod": "^4.3.6",
package/static.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"static.d.ts","sourceRoot":"","sources":["../src/static.ts"],"names":[],"mappings":"AAAA;;GAEG;AASH;;;GAGG;AACH,wBAAgB,eAAe,IAAI,MAAM,GAAG,IAAI,CAc/C"}
1
+ {"version":3,"file":"static.d.ts","sourceRoot":"","sources":["../src/static.ts"],"names":[],"mappings":"AAAA;;GAEG;AASH;;;GAGG;AACH,wBAAgB,eAAe,IAAI,MAAM,GAAG,IAAI,CAoB/C"}