@lssm/example.locale-jurisdiction-gate 0.0.0-canary-20251215234340 → 0.0.0-canary-20251216024228

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.
@@ -22,5 +22,5 @@ $ tsdown
22
22
  ℹ dist/docs/index.js 0.05 kB │ gzip: 0.07 kB
23
23
  ℹ dist/policy/types.js 0.00 kB │ gzip: 0.02 kB
24
24
  ℹ 15 files, total: 14.27 kB
25
- ✔ Build complete in 67ms
25
+ ✔ Build complete in 76ms
26
26
  $ tsc --noEmit
package/CHANGELOG.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # @lssm/example.locale-jurisdiction-gate
2
2
 
3
- ## 0.0.0-canary-20251215234340
3
+ ## 0.0.0-canary-20251216024228
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies [3086383]
8
- - @lssm/lib.contracts@0.0.0-canary-20251215234340
9
- - @lssm/lib.schema@0.0.0-canary-20251215234340
8
+ - @lssm/lib.contracts@0.0.0-canary-20251216024228
9
+ - @lssm/lib.schema@0.0.0-canary-20251216024228
package/README.md CHANGED
@@ -30,3 +30,6 @@ bun test
30
30
 
31
31
 
32
32
 
33
+
34
+
35
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/example.locale-jurisdiction-gate",
3
- "version": "0.0.0-canary-20251215234340",
3
+ "version": "0.0.0-canary-20251216024228",
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",
@@ -96,3 +96,6 @@ export const AssistantExplainConceptContract = defineCommand({
96
96
  },
97
97
  policy: { auth: 'user' },
98
98
  });
99
+
100
+
101
+
@@ -1 +1,4 @@
1
1
  export * from './assistant';
2
+
3
+
4
+
package/src/docs/index.ts CHANGED
@@ -1 +1,4 @@
1
1
  import './locale-jurisdiction-gate.docblock';
2
+
3
+
4
+
@@ -44,3 +44,6 @@ const docBlocks: DocBlock[] = [
44
44
  ];
45
45
 
46
46
  registerDocBlocks(docBlocks);
47
+
48
+
49
+
@@ -1 +1,4 @@
1
1
  export * from './models';
2
+
3
+
4
+
package/src/events.ts CHANGED
@@ -57,3 +57,6 @@ export const AssistantAnswerDeliveredEvent = defineEvent({
57
57
  'Assistant answer delivered (must include KB snapshot citations).',
58
58
  payload: AssistantAnswerDeliveredPayload,
59
59
  });
60
+
61
+
62
+
package/src/feature.ts CHANGED
@@ -27,3 +27,6 @@ export const LocaleJurisdictionGateFeature: FeatureModuleSpec = {
27
27
  requires: [{ key: 'knowledge', version: 1 }],
28
28
  },
29
29
  };
30
+
31
+
32
+
@@ -1 +1,4 @@
1
1
  export * from './demo.handlers';
2
+
3
+
4
+
@@ -23,3 +23,6 @@ describe('locale/jurisdiction gate policy', () => {
23
23
  if (!result.ok) expect(result.error.code).toBe('CITATIONS_REQUIRED');
24
24
  });
25
25
  });
26
+
27
+
28
+
@@ -100,3 +100,6 @@ export function enforceAllowedScope(
100
100
  }
101
101
  return { ok: true, value: answer };
102
102
  }
103
+
104
+
105
+
@@ -1,2 +1,5 @@
1
1
  export * from './types';
2
2
  export * from './guard';
3
+
4
+
5
+
@@ -16,3 +16,6 @@ export interface GateError {
16
16
  export type GateResult<T> =
17
17
  | { ok: true; value: T }
18
18
  | { ok: false; error: GateError };
19
+
20
+
21
+
package/tsconfig.json CHANGED
@@ -8,3 +8,6 @@
8
8
  "exclude": ["node_modules", "dist"]
9
9
  }
10
10
 
11
+
12
+
13
+