@axiom-lattice/protocols 7.8.0 → 7.8.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @axiom-lattice/protocols@7.8.0 build /home/runner/work/agentic/agentic/packages/protocols
2
+ > @axiom-lattice/protocols@7.8.1 build /home/runner/work/agentic/agentic/packages/protocols
3
3
  > tsup src/index.ts --format cjs,esm --dts --sourcemap
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -10,11 +10,11 @@
10
10
  ESM Build start
11
11
  CJS dist/index.js 116.68 KB
12
12
  CJS dist/index.js.map 366.97 KB
13
- CJS ⚡️ Build success in 635ms
13
+ CJS ⚡️ Build success in 658ms
14
14
  ESM dist/index.mjs 106.58 KB
15
15
  ESM dist/index.mjs.map 361.65 KB
16
- ESM ⚡️ Build success in 666ms
16
+ ESM ⚡️ Build success in 665ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 16771ms
19
- DTS dist/index.d.ts 392.22 KB
20
- DTS dist/index.d.mts 392.22 KB
18
+ DTS ⚡️ Build success in 17492ms
19
+ DTS dist/index.d.ts 392.34 KB
20
+ DTS dist/index.d.mts 392.34 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @axiom-lattice/protocols
2
2
 
3
+ ## 7.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - b777e0e: ## Security hardening: sandbox image, TLS verification, preview HTML, auth exchange
8
+
9
+ - The default sandbox image is now `kioko12520/sandbox:0.2.1` (Debian 13, no Chromium). Agents that need a browser must set `MICROSANDBOX_IMAGE=kioko12520/sandbox-browser:0.2.1`; `sandbox-full:0.2.1` is a compatibility alias.
10
+ - SQL TLS connections verify the server certificate by default. `DatabaseConfig.sslRejectUnauthorized: false` is the explicit opt-out for a known self-signed server.
11
+ - The `viewFile` HTML preview escapes embedded AI2APP context JSON (both sandbox and filesystem branches), closing a reflected-XSS path.
12
+ - The OIDC handoff exchange no longer references an out-of-scope `runtime`; it records the handoff provider id in the refresh session and falls back to `local` for legacy handoffs.
13
+ - AES-GCM cipher/decipher calls bind an explicit 16-byte auth tag length.
14
+
3
15
  ## 7.8.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -2349,6 +2349,8 @@ interface DatabaseConfig {
2349
2349
  password?: string;
2350
2350
  connectionString?: string;
2351
2351
  ssl?: boolean;
2352
+ /** Verify the database server certificate when SSL is enabled (default: true). */
2353
+ sslRejectUnauthorized?: boolean;
2352
2354
  }
2353
2355
  /**
2354
2356
  * Database configuration entry stored in the store
package/dist/index.d.ts CHANGED
@@ -2349,6 +2349,8 @@ interface DatabaseConfig {
2349
2349
  password?: string;
2350
2350
  connectionString?: string;
2351
2351
  ssl?: boolean;
2352
+ /** Verify the database server certificate when SSL is enabled (default: true). */
2353
+ sslRejectUnauthorized?: boolean;
2352
2354
  }
2353
2355
  /**
2354
2356
  * Database configuration entry stored in the store
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axiom-lattice/protocols",
3
- "version": "7.8.0",
3
+ "version": "7.8.1",
4
4
  "description": "Unified protocol type definitions for Axiom Lattice framework",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -22,6 +22,8 @@ export interface DatabaseConfig {
22
22
  password?: string;
23
23
  connectionString?: string;
24
24
  ssl?: boolean;
25
+ /** Verify the database server certificate when SSL is enabled (default: true). */
26
+ sslRejectUnauthorized?: boolean;
25
27
  }
26
28
 
27
29
  /**