@suveren/gateway 0.16.1 → 0.18.0

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.
@@ -14,7 +14,7 @@
14
14
  <meta name="apple-mobile-web-app-title" content="Suveren" />
15
15
  <meta name="theme-color" content="#111111" />
16
16
  <title>Suveren</title>
17
- <script type="module" crossorigin src="/assets/index-tdGbzBko.js"></script>
17
+ <script type="module" crossorigin src="/assets/index-BKgX8_Zh.js"></script>
18
18
  <link rel="stylesheet" crossorigin href="/assets/index-y1OFeYnS.css">
19
19
  </head>
20
20
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suveren/gateway",
3
- "version": "0.16.1",
3
+ "version": "0.18.0",
4
4
  "description": "Suveren gateway — local agent gateway built in compliance with the Human Agency Protocol (HAP). Runs the UI, control plane, and MCP server in one Node process.",
5
5
  "type": "module",
6
6
  "main": "server.js",
package/server.js CHANGED
@@ -168,6 +168,8 @@ const UI_DIST = process.env.HAP_UI_DIST ?? join(__dirname, 'dist', 'ui');
168
168
  // win for advanced users / Docker.
169
169
  const MANIFESTS_DIR = process.env.SUVEREN_MANIFESTS_DIR ?? join(__dirname, 'content', 'integrations');
170
170
  const PROFILES_DIR = process.env.SUVEREN_PROFILES_DIR ?? join(__dirname, 'profiles');
171
+ // Default setup guides; SUVEREN_GUIDES_DIR (an override folder) is read on top.
172
+ const BUILTIN_GUIDES_DIR = process.env.SUVEREN_BUILTIN_GUIDES_DIR ?? join(__dirname, 'content', 'guides');
171
173
 
172
174
  const env = {
173
175
  ...process.env,
@@ -183,6 +185,7 @@ const env = {
183
185
  HAP_UI_DIST: UI_DIST,
184
186
  SUVEREN_MANIFESTS_DIR: MANIFESTS_DIR,
185
187
  SUVEREN_PROFILES_DIR: PROFILES_DIR,
188
+ SUVEREN_BUILTIN_GUIDES_DIR: BUILTIN_GUIDES_DIR,
186
189
  // Single shared internal secret so CP↔MCP authenticate the bridge.
187
190
  SUVEREN_INTERNAL_SECRET: process.env.SUVEREN_INTERNAL_SECRET ?? randomHex(32),
188
191
  // Simulation mode — IT policy (see lib/policy.mjs) wins UNCONDITIONALLY,