@lssm/example.locale-jurisdiction-gate 0.0.0-canary-20251221144710 → 0.0.0-canary-20251221164004

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.
@@ -240,16 +240,6 @@ $ tsdown
240
240
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
241
241
  ───╯
242
242
 
243
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/dist/experiments/evaluator.js
244
- ╭─[ ../../libs/contracts/dist/experiments/evaluator.js:1:28 ]
245
- │
246
- 1 │ import { createHash } from "node:crypto";
247
-  │ ──────┬──────
248
-  │ ╰──────── Module not found, treating it as an external dependency
249
-  │
250
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
251
- ───╯
252
-
253
243
  [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:assert' in ../../libs/contracts/dist/tests/runner.js
254
244
  â•­─[ ../../libs/contracts/dist/tests/runner.js:2:33 ]
255
245
  │
@@ -270,12 +260,12 @@ $ tsdown
270
260
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
271
261
  ───╯
272
262
 
273
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:timers/promises' in ../../libs/contracts/dist/regenerator/service.js
274
- ╭─[ ../../libs/contracts/dist/regenerator/service.js:2:28 ]
263
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/dist/experiments/evaluator.js
264
+ ╭─[ ../../libs/contracts/dist/experiments/evaluator.js:1:28 ]
275
265
  │
276
- 2 │ import { setTimeout } from "node:timers/promises";
277
-  │ ───────────┬──────────
278
-  │ ╰──────────── Module not found, treating it as an external dependency
266
+ 1 │ import { createHash } from "node:crypto";
267
+  │ ──────┬──────
268
+  │ ╰──────── Module not found, treating it as an external dependency
279
269
   │
280
270
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
281
271
  ───╯
@@ -290,6 +280,16 @@ $ tsdown
290
280
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
291
281
  ───╯
292
282
 
283
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:timers/promises' in ../../libs/contracts/dist/regenerator/service.js
284
+ ╭─[ ../../libs/contracts/dist/regenerator/service.js:2:28 ]
285
+ │
286
+ 2 │ import { setTimeout } from "node:timers/promises";
287
+  │ ───────────┬──────────
288
+  │ ╰──────────── Module not found, treating it as an external dependency
289
+  │
290
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
291
+ ───╯
292
+
293
293
  [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:buffer' in ../../libs/contracts/dist/server/mcp/registerResources.js
294
294
  â•­─[ ../../libs/contracts/dist/server/mcp/registerResources.js:2:24 ]
295
295
  │
@@ -300,4 +300,4 @@ $ tsdown
300
300
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
301
301
  ───╯
302
302
 
303
- ✔ Build complete in 48642ms
303
+ ✔ Build complete in 20515ms
@@ -229,33 +229,33 @@ $ tsdown
229
229
  ℹ dist/handlers/index.d.ts  0.15 kB │ gzip: 0.09 kB
230
230
  ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
231
231
  ℹ dist/docs/locale-jurisdiction-gate.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
232
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:assert' in ../../libs/contracts/dist/tests/runner.js
233
232
  ℹ 223 files, total: 1298.85 kB
234
- ╭─[ ../../libs/contracts/dist/tests/runner.js:2:33 ]
233
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:timers/promises' in ../../libs/contracts/dist/regenerator/service.js
234
+ ╭─[ ../../libs/contracts/dist/regenerator/service.js:2:28 ]
235
235
  │
236
- 2 │ import { deepStrictEqual } from "node:assert";
237
-  │ ──────┬──────
238
-  │ ╰──────── Module not found, treating it as an external dependency
236
+ 2 │ import { setTimeout } from "node:timers/promises";
237
+  │ ───────────┬──────────
238
+  │ ╰──────────── Module not found, treating it as an external dependency
239
239
   │
240
240
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
241
241
  ───╯
242
242
 
243
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/dist/presentations/transform-engine.js
244
- ╭─[ ../../libs/contracts/dist/presentations/transform-engine.js:3:29 ]
243
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/dist/workflow/runner.js
244
+ ╭─[ ../../libs/contracts/dist/workflow/runner.js:2:28 ]
245
245
  │
246
- 3 │ import TurndownService from "turndown";
247
-  │ ─────┬────
248
-  │ ╰────── Module not found, treating it as an external dependency
246
+ 2 │ import { randomUUID } from "node:crypto";
247
+  │ ──────┬──────
248
+  │ ╰──────── Module not found, treating it as an external dependency
249
249
   │
250
250
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
251
251
  ───╯
252
252
 
253
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/dist/experiments/evaluator.js
254
- ╭─[ ../../libs/contracts/dist/experiments/evaluator.js:1:28 ]
253
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/dist/presentations/transform-engine.js
254
+ ╭─[ ../../libs/contracts/dist/presentations/transform-engine.js:3:29 ]
255
255
  │
256
- 1 │ import { createHash } from "node:crypto";
257
-  │ ──────┬──────
258
-  │ ╰──────── Module not found, treating it as an external dependency
256
+ 3 │ import TurndownService from "turndown";
257
+  │ ─────┬────
258
+  │ ╰────── Module not found, treating it as an external dependency
259
259
   │
260
260
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
261
261
  ───╯
@@ -270,22 +270,22 @@ $ tsdown
270
270
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
271
271
  ───╯
272
272
 
273
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/dist/workflow/runner.js
274
- ╭─[ ../../libs/contracts/dist/workflow/runner.js:2:28 ]
273
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:assert' in ../../libs/contracts/dist/tests/runner.js
274
+ ╭─[ ../../libs/contracts/dist/tests/runner.js:2:33 ]
275
275
  │
276
- 2 │ import { randomUUID } from "node:crypto";
277
-  │ ──────┬──────
278
-  │ ╰──────── Module not found, treating it as an external dependency
276
+ 2 │ import { deepStrictEqual } from "node:assert";
277
+  │ ──────┬──────
278
+  │ ╰──────── Module not found, treating it as an external dependency
279
279
   │
280
280
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
281
281
  ───╯
282
282
 
283
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:timers/promises' in ../../libs/contracts/dist/regenerator/service.js
284
- ╭─[ ../../libs/contracts/dist/regenerator/service.js:2:28 ]
283
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/dist/experiments/evaluator.js
284
+ ╭─[ ../../libs/contracts/dist/experiments/evaluator.js:1:28 ]
285
285
  │
286
- 2 │ import { setTimeout } from "node:timers/promises";
287
-  │ ───────────┬──────────
288
-  │ ╰──────────── Module not found, treating it as an external dependency
286
+ 1 │ import { createHash } from "node:crypto";
287
+  │ ──────┬──────
288
+  │ ╰──────── Module not found, treating it as an external dependency
289
289
   │
290
290
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
291
291
  ───╯
@@ -300,5 +300,5 @@ $ tsdown
300
300
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
301
301
  ───╯
302
302
 
303
- ✔ Build complete in 49665ms
303
+ ✔ Build complete in 23357ms
304
304
  $ tsc --noEmit
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @lssm/example.locale-jurisdiction-gate
2
2
 
3
- ## 0.0.0-canary-20251221144710
3
+ ## 0.0.0-canary-20251221164004
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -9,5 +9,5 @@
9
9
  ### Patch Changes
10
10
 
11
11
  - Updated dependencies [66a5dfd]
12
- - @lssm/lib.contracts@0.0.0-canary-20251221144710
13
- - @lssm/lib.schema@0.0.0-canary-20251221144710
12
+ - @lssm/lib.contracts@0.0.0-canary-20251221164004
13
+ - @lssm/lib.schema@0.0.0-canary-20251221164004
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/example.locale-jurisdiction-gate",
3
- "version": "0.0.0-canary-20251221144710",
3
+ "version": "0.0.0-canary-20251221164004",
4
4
  "description": "Example: enforce locale + jurisdiction + kbSnapshotId + allowed scope for assistant calls (fail-closed).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -38,13 +38,13 @@
38
38
  "test": "bun test"
39
39
  },
40
40
  "dependencies": {
41
- "@lssm/lib.contracts": "0.0.0-canary-20251221144710",
42
- "@lssm/lib.schema": "0.0.0-canary-20251221144710",
41
+ "@lssm/lib.contracts": "0.0.0-canary-20251221164004",
42
+ "@lssm/lib.schema": "0.0.0-canary-20251221164004",
43
43
  "zod": "^4.1.13"
44
44
  },
45
45
  "devDependencies": {
46
- "@lssm/tool.tsdown": "0.0.0-canary-20251221144710",
47
- "@lssm/tool.typescript": "0.0.0-canary-20251221144710",
46
+ "@lssm/tool.tsdown": "0.0.0-canary-20251221164004",
47
+ "@lssm/tool.typescript": "0.0.0-canary-20251221164004",
48
48
  "tsdown": "^0.18.1",
49
49
  "typescript": "^5.9.3"
50
50
  },