@lssm/example.locale-jurisdiction-gate 0.0.0-canary-20251217073102 → 0.0.0-canary-20251217083314

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.
@@ -143,9 +143,9 @@
143
143
  ℹ dist/libs/contracts/dist/schema/dist/entity/types.js  0.01 kB │ gzip: 0.03 kB
144
144
  ℹ dist/libs/schema/dist/entity/defineEntity.js  0.01 kB │ gzip: 0.03 kB
145
145
  ℹ dist/libs/schema/dist/entity/types.js  0.01 kB │ gzip: 0.03 kB
146
- ℹ dist/contracts/assistant.d.ts  6.73 kB │ gzip: 0.60 kB
146
+ ℹ dist/contracts/assistant.d.ts  6.67 kB │ gzip: 0.60 kB
147
147
  ℹ dist/entities/models.d.ts  5.05 kB │ gzip: 0.65 kB
148
- ℹ dist/events.d.ts  1.98 kB │ gzip: 0.35 kB
148
+ ℹ dist/events.d.ts  2.01 kB │ gzip: 0.36 kB
149
149
  ℹ dist/handlers/demo.handlers.d.ts  1.43 kB │ gzip: 0.53 kB
150
150
  ℹ dist/index.d.ts  1.31 kB │ gzip: 0.40 kB
151
151
  ℹ dist/example.d.ts  1.16 kB │ gzip: 0.47 kB
@@ -158,61 +158,61 @@
158
158
  ℹ dist/handlers/index.d.ts  0.15 kB │ gzip: 0.09 kB
159
159
  ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
160
160
  ℹ dist/docs/locale-jurisdiction-gate.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
161
- ℹ 151 files, total: 274.76 kB
162
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/dist/presentations.v2.js
163
- ╭─[ ../../libs/contracts/dist/presentations.v2.js:3:29 ]
161
+ ℹ 151 files, total: 274.74 kB
162
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/contracts/dist/telemetry/tracker.js
163
+ ╭─[ ../../libs/contracts/dist/telemetry/tracker.js:1:28 ]
164
164
  │
165
- 3 │ import TurndownService from "turndown";
166
-  │ ─────┬────
167
-  │ ╰────── Module not found, treating it as an external dependency
165
+ 1 │ import { randomUUID } from "crypto";
166
+  │ ────┬───
167
+  │ ╰───── Module not found, treating it as an external dependency
168
168
   │
169
169
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
170
170
  ───╯
171
171
 
172
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/dist/workflow/runner.js
173
- ╭─[ ../../libs/contracts/dist/workflow/runner.js:2:28 ]
172
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/dist/experiments/evaluator.js
173
+ ╭─[ ../../libs/contracts/dist/experiments/evaluator.js:1:28 ]
174
174
  │
175
- 2 │ import { randomUUID } from "node:crypto";
175
+ 1 │ import { createHash } from "node:crypto";
176
176
   │ ──────┬──────
177
177
   │ ╰──────── Module not found, treating it as an external dependency
178
178
   │
179
179
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
180
180
  ───╯
181
181
 
182
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:timers/promises' in ../../libs/contracts/dist/regenerator/service.js
183
- ╭─[ ../../libs/contracts/dist/regenerator/service.js:2:28 ]
182
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:assert' in ../../libs/contracts/dist/tests/runner.js
183
+ ╭─[ ../../libs/contracts/dist/tests/runner.js:2:33 ]
184
184
  │
185
- 2 │ import { setTimeout } from "node:timers/promises";
186
-  │ ───────────┬──────────
187
-  │ ╰──────────── Module not found, treating it as an external dependency
185
+ 2 │ import { deepStrictEqual } from "node:assert";
186
+  │ ──────┬──────
187
+  │ ╰──────── Module not found, treating it as an external dependency
188
188
   │
189
189
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
190
190
  ───╯
191
191
 
192
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/contracts/dist/telemetry/tracker.js
193
- ╭─[ ../../libs/contracts/dist/telemetry/tracker.js:1:28 ]
192
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/dist/presentations.v2.js
193
+ ╭─[ ../../libs/contracts/dist/presentations.v2.js:3:29 ]
194
194
  │
195
- 1 │ import { randomUUID } from "crypto";
196
-  │ ────┬───
197
-  │ ╰───── Module not found, treating it as an external dependency
195
+ 3 │ import TurndownService from "turndown";
196
+  │ ─────┬────
197
+  │ ╰────── Module not found, treating it as an external dependency
198
198
   │
199
199
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
200
200
  ───╯
201
201
 
202
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:assert' in ../../libs/contracts/dist/tests/runner.js
203
- ╭─[ ../../libs/contracts/dist/tests/runner.js:2:33 ]
202
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:timers/promises' in ../../libs/contracts/dist/regenerator/service.js
203
+ ╭─[ ../../libs/contracts/dist/regenerator/service.js:2:28 ]
204
204
  │
205
- 2 │ import { deepStrictEqual } from "node:assert";
206
-  │ ──────┬──────
207
-  │ ╰──────── Module not found, treating it as an external dependency
205
+ 2 │ import { setTimeout } from "node:timers/promises";
206
+  │ ───────────┬──────────
207
+  │ ╰──────────── Module not found, treating it as an external dependency
208
208
   │
209
209
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
210
210
  ───╯
211
211
 
212
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/dist/experiments/evaluator.js
213
- ╭─[ ../../libs/contracts/dist/experiments/evaluator.js:1:28 ]
212
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/dist/workflow/runner.js
213
+ ╭─[ ../../libs/contracts/dist/workflow/runner.js:2:28 ]
214
214
  │
215
- 1 │ import { createHash } from "node:crypto";
215
+ 2 │ import { randomUUID } from "node:crypto";
216
216
   │ ──────┬──────
217
217
   │ ╰──────── Module not found, treating it as an external dependency
218
218
   │
@@ -229,4 +229,4 @@
229
229
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
230
230
  ───╯
231
231
 
232
- ✔ Build complete in 2043ms
232
+ ✔ Build complete in 1938ms
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @lssm/example.locale-jurisdiction-gate
2
2
 
3
- ## 0.0.0-canary-20251217073102
3
+ ## 0.0.0-canary-20251217083314
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-20251217073102
13
- - @lssm/lib.schema@0.0.0-canary-20251217073102
12
+ - @lssm/lib.contracts@0.0.0-canary-20251217083314
13
+ - @lssm/lib.schema@0.0.0-canary-20251217083314
@@ -1,75 +1,75 @@
1
- import * as _lssm_lib_schema16 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts2 from "@lssm/lib.contracts";
1
+ import * as _lssm_lib_schema0 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
3
3
 
4
4
  //#region src/contracts/assistant.d.ts
5
- declare const AssistantAnswerContract: _lssm_lib_contracts2.ContractSpec<_lssm_lib_schema16.SchemaModel<{
5
+ declare const AssistantAnswerContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
6
6
  envelope: {
7
- type: _lssm_lib_schema16.SchemaModel<{
7
+ type: _lssm_lib_schema0.SchemaModel<{
8
8
  traceId: {
9
- type: _lssm_lib_schema16.FieldType<string, string>;
9
+ type: _lssm_lib_schema0.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  locale: {
13
- type: _lssm_lib_schema16.FieldType<string, string>;
13
+ type: _lssm_lib_schema0.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  regulatoryContext: {
17
- type: _lssm_lib_schema16.SchemaModel<{
17
+ type: _lssm_lib_schema0.SchemaModel<{
18
18
  jurisdiction: {
19
- type: _lssm_lib_schema16.FieldType<string, string>;
19
+ type: _lssm_lib_schema0.FieldType<string, string>;
20
20
  isOptional: false;
21
21
  };
22
22
  region: {
23
- type: _lssm_lib_schema16.FieldType<string, string>;
23
+ type: _lssm_lib_schema0.FieldType<string, string>;
24
24
  isOptional: true;
25
25
  };
26
26
  clientType: {
27
- type: _lssm_lib_schema16.FieldType<string, string>;
27
+ type: _lssm_lib_schema0.FieldType<string, string>;
28
28
  isOptional: true;
29
29
  };
30
30
  allowedScope: {
31
- type: _lssm_lib_schema16.EnumType<[string, string, string]>;
31
+ type: _lssm_lib_schema0.EnumType<[string, string, string]>;
32
32
  isOptional: false;
33
33
  };
34
34
  }>;
35
35
  isOptional: false;
36
36
  };
37
37
  kbSnapshotId: {
38
- type: _lssm_lib_schema16.FieldType<string, string>;
38
+ type: _lssm_lib_schema0.FieldType<string, string>;
39
39
  isOptional: false;
40
40
  };
41
41
  allowedScope: {
42
- type: _lssm_lib_schema16.EnumType<[string, string, string]>;
42
+ type: _lssm_lib_schema0.EnumType<[string, string, string]>;
43
43
  isOptional: false;
44
44
  };
45
45
  }>;
46
46
  isOptional: false;
47
47
  };
48
48
  question: {
49
- type: _lssm_lib_schema16.FieldType<string, string>;
49
+ type: _lssm_lib_schema0.FieldType<string, string>;
50
50
  isOptional: false;
51
51
  };
52
- }>, _lssm_lib_schema16.SchemaModel<{
52
+ }>, _lssm_lib_schema0.SchemaModel<{
53
53
  locale: {
54
- type: _lssm_lib_schema16.FieldType<string, string>;
54
+ type: _lssm_lib_schema0.FieldType<string, string>;
55
55
  isOptional: false;
56
56
  };
57
57
  jurisdiction: {
58
- type: _lssm_lib_schema16.FieldType<string, string>;
58
+ type: _lssm_lib_schema0.FieldType<string, string>;
59
59
  isOptional: false;
60
60
  };
61
61
  allowedScope: {
62
- type: _lssm_lib_schema16.EnumType<[string, string, string]>;
62
+ type: _lssm_lib_schema0.EnumType<[string, string, string]>;
63
63
  isOptional: false;
64
64
  };
65
65
  sections: {
66
- type: _lssm_lib_schema16.SchemaModel<{
66
+ type: _lssm_lib_schema0.SchemaModel<{
67
67
  heading: {
68
- type: _lssm_lib_schema16.FieldType<string, string>;
68
+ type: _lssm_lib_schema0.FieldType<string, string>;
69
69
  isOptional: false;
70
70
  };
71
71
  body: {
72
- type: _lssm_lib_schema16.FieldType<string, string>;
72
+ type: _lssm_lib_schema0.FieldType<string, string>;
73
73
  isOptional: false;
74
74
  };
75
75
  }>;
@@ -77,25 +77,25 @@ declare const AssistantAnswerContract: _lssm_lib_contracts2.ContractSpec<_lssm_l
77
77
  isOptional: false;
78
78
  };
79
79
  citations: {
80
- type: _lssm_lib_schema16.SchemaModel<{
80
+ type: _lssm_lib_schema0.SchemaModel<{
81
81
  kbSnapshotId: {
82
- type: _lssm_lib_schema16.FieldType<string, string>;
82
+ type: _lssm_lib_schema0.FieldType<string, string>;
83
83
  isOptional: false;
84
84
  };
85
85
  sourceType: {
86
- type: _lssm_lib_schema16.FieldType<string, string>;
86
+ type: _lssm_lib_schema0.FieldType<string, string>;
87
87
  isOptional: false;
88
88
  };
89
89
  sourceId: {
90
- type: _lssm_lib_schema16.FieldType<string, string>;
90
+ type: _lssm_lib_schema0.FieldType<string, string>;
91
91
  isOptional: false;
92
92
  };
93
93
  title: {
94
- type: _lssm_lib_schema16.FieldType<string, string>;
94
+ type: _lssm_lib_schema0.FieldType<string, string>;
95
95
  isOptional: true;
96
96
  };
97
97
  excerpt: {
98
- type: _lssm_lib_schema16.FieldType<string, string>;
98
+ type: _lssm_lib_schema0.FieldType<string, string>;
99
99
  isOptional: true;
100
100
  };
101
101
  }>;
@@ -103,92 +103,92 @@ declare const AssistantAnswerContract: _lssm_lib_contracts2.ContractSpec<_lssm_l
103
103
  isOptional: false;
104
104
  };
105
105
  disclaimers: {
106
- type: _lssm_lib_schema16.FieldType<string, string>;
106
+ type: _lssm_lib_schema0.FieldType<string, string>;
107
107
  isArray: true;
108
108
  isOptional: true;
109
109
  };
110
110
  riskFlags: {
111
- type: _lssm_lib_schema16.FieldType<string, string>;
111
+ type: _lssm_lib_schema0.FieldType<string, string>;
112
112
  isArray: true;
113
113
  isOptional: true;
114
114
  };
115
115
  refused: {
116
- type: _lssm_lib_schema16.FieldType<boolean, boolean>;
116
+ type: _lssm_lib_schema0.FieldType<boolean, boolean>;
117
117
  isOptional: true;
118
118
  };
119
119
  refusalReason: {
120
- type: _lssm_lib_schema16.FieldType<string, string>;
120
+ type: _lssm_lib_schema0.FieldType<string, string>;
121
121
  isOptional: true;
122
122
  };
123
123
  }>, undefined>;
124
- declare const AssistantExplainConceptContract: _lssm_lib_contracts2.ContractSpec<_lssm_lib_schema16.SchemaModel<{
124
+ declare const AssistantExplainConceptContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
125
125
  envelope: {
126
- type: _lssm_lib_schema16.SchemaModel<{
126
+ type: _lssm_lib_schema0.SchemaModel<{
127
127
  traceId: {
128
- type: _lssm_lib_schema16.FieldType<string, string>;
128
+ type: _lssm_lib_schema0.FieldType<string, string>;
129
129
  isOptional: false;
130
130
  };
131
131
  locale: {
132
- type: _lssm_lib_schema16.FieldType<string, string>;
132
+ type: _lssm_lib_schema0.FieldType<string, string>;
133
133
  isOptional: false;
134
134
  };
135
135
  regulatoryContext: {
136
- type: _lssm_lib_schema16.SchemaModel<{
136
+ type: _lssm_lib_schema0.SchemaModel<{
137
137
  jurisdiction: {
138
- type: _lssm_lib_schema16.FieldType<string, string>;
138
+ type: _lssm_lib_schema0.FieldType<string, string>;
139
139
  isOptional: false;
140
140
  };
141
141
  region: {
142
- type: _lssm_lib_schema16.FieldType<string, string>;
142
+ type: _lssm_lib_schema0.FieldType<string, string>;
143
143
  isOptional: true;
144
144
  };
145
145
  clientType: {
146
- type: _lssm_lib_schema16.FieldType<string, string>;
146
+ type: _lssm_lib_schema0.FieldType<string, string>;
147
147
  isOptional: true;
148
148
  };
149
149
  allowedScope: {
150
- type: _lssm_lib_schema16.EnumType<[string, string, string]>;
150
+ type: _lssm_lib_schema0.EnumType<[string, string, string]>;
151
151
  isOptional: false;
152
152
  };
153
153
  }>;
154
154
  isOptional: false;
155
155
  };
156
156
  kbSnapshotId: {
157
- type: _lssm_lib_schema16.FieldType<string, string>;
157
+ type: _lssm_lib_schema0.FieldType<string, string>;
158
158
  isOptional: false;
159
159
  };
160
160
  allowedScope: {
161
- type: _lssm_lib_schema16.EnumType<[string, string, string]>;
161
+ type: _lssm_lib_schema0.EnumType<[string, string, string]>;
162
162
  isOptional: false;
163
163
  };
164
164
  }>;
165
165
  isOptional: false;
166
166
  };
167
167
  conceptKey: {
168
- type: _lssm_lib_schema16.FieldType<string, string>;
168
+ type: _lssm_lib_schema0.FieldType<string, string>;
169
169
  isOptional: false;
170
170
  };
171
- }>, _lssm_lib_schema16.SchemaModel<{
171
+ }>, _lssm_lib_schema0.SchemaModel<{
172
172
  locale: {
173
- type: _lssm_lib_schema16.FieldType<string, string>;
173
+ type: _lssm_lib_schema0.FieldType<string, string>;
174
174
  isOptional: false;
175
175
  };
176
176
  jurisdiction: {
177
- type: _lssm_lib_schema16.FieldType<string, string>;
177
+ type: _lssm_lib_schema0.FieldType<string, string>;
178
178
  isOptional: false;
179
179
  };
180
180
  allowedScope: {
181
- type: _lssm_lib_schema16.EnumType<[string, string, string]>;
181
+ type: _lssm_lib_schema0.EnumType<[string, string, string]>;
182
182
  isOptional: false;
183
183
  };
184
184
  sections: {
185
- type: _lssm_lib_schema16.SchemaModel<{
185
+ type: _lssm_lib_schema0.SchemaModel<{
186
186
  heading: {
187
- type: _lssm_lib_schema16.FieldType<string, string>;
187
+ type: _lssm_lib_schema0.FieldType<string, string>;
188
188
  isOptional: false;
189
189
  };
190
190
  body: {
191
- type: _lssm_lib_schema16.FieldType<string, string>;
191
+ type: _lssm_lib_schema0.FieldType<string, string>;
192
192
  isOptional: false;
193
193
  };
194
194
  }>;
@@ -196,25 +196,25 @@ declare const AssistantExplainConceptContract: _lssm_lib_contracts2.ContractSpec
196
196
  isOptional: false;
197
197
  };
198
198
  citations: {
199
- type: _lssm_lib_schema16.SchemaModel<{
199
+ type: _lssm_lib_schema0.SchemaModel<{
200
200
  kbSnapshotId: {
201
- type: _lssm_lib_schema16.FieldType<string, string>;
201
+ type: _lssm_lib_schema0.FieldType<string, string>;
202
202
  isOptional: false;
203
203
  };
204
204
  sourceType: {
205
- type: _lssm_lib_schema16.FieldType<string, string>;
205
+ type: _lssm_lib_schema0.FieldType<string, string>;
206
206
  isOptional: false;
207
207
  };
208
208
  sourceId: {
209
- type: _lssm_lib_schema16.FieldType<string, string>;
209
+ type: _lssm_lib_schema0.FieldType<string, string>;
210
210
  isOptional: false;
211
211
  };
212
212
  title: {
213
- type: _lssm_lib_schema16.FieldType<string, string>;
213
+ type: _lssm_lib_schema0.FieldType<string, string>;
214
214
  isOptional: true;
215
215
  };
216
216
  excerpt: {
217
- type: _lssm_lib_schema16.FieldType<string, string>;
217
+ type: _lssm_lib_schema0.FieldType<string, string>;
218
218
  isOptional: true;
219
219
  };
220
220
  }>;
@@ -222,21 +222,21 @@ declare const AssistantExplainConceptContract: _lssm_lib_contracts2.ContractSpec
222
222
  isOptional: false;
223
223
  };
224
224
  disclaimers: {
225
- type: _lssm_lib_schema16.FieldType<string, string>;
225
+ type: _lssm_lib_schema0.FieldType<string, string>;
226
226
  isArray: true;
227
227
  isOptional: true;
228
228
  };
229
229
  riskFlags: {
230
- type: _lssm_lib_schema16.FieldType<string, string>;
230
+ type: _lssm_lib_schema0.FieldType<string, string>;
231
231
  isArray: true;
232
232
  isOptional: true;
233
233
  };
234
234
  refused: {
235
- type: _lssm_lib_schema16.FieldType<boolean, boolean>;
235
+ type: _lssm_lib_schema0.FieldType<boolean, boolean>;
236
236
  isOptional: true;
237
237
  };
238
238
  refusalReason: {
239
- type: _lssm_lib_schema16.FieldType<string, string>;
239
+ type: _lssm_lib_schema0.FieldType<string, string>;
240
240
  isOptional: true;
241
241
  };
242
242
  }>, undefined>;
@@ -1,135 +1,135 @@
1
- import * as _lssm_lib_schema74 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema57 from "@lssm/lib.schema";
2
2
 
3
3
  //#region src/entities/models.d.ts
4
- declare const AllowedScopeEnum: _lssm_lib_schema74.EnumType<[string, string, string]>;
5
- declare const UserProfileModel: _lssm_lib_schema74.SchemaModel<{
4
+ declare const AllowedScopeEnum: _lssm_lib_schema57.EnumType<[string, string, string]>;
5
+ declare const UserProfileModel: _lssm_lib_schema57.SchemaModel<{
6
6
  preferredLocale: {
7
- type: _lssm_lib_schema74.FieldType<string, string>;
7
+ type: _lssm_lib_schema57.FieldType<string, string>;
8
8
  isOptional: true;
9
9
  };
10
10
  residencyCountry: {
11
- type: _lssm_lib_schema74.FieldType<string, string>;
11
+ type: _lssm_lib_schema57.FieldType<string, string>;
12
12
  isOptional: true;
13
13
  };
14
14
  taxResidenceCountry: {
15
- type: _lssm_lib_schema74.FieldType<string, string>;
15
+ type: _lssm_lib_schema57.FieldType<string, string>;
16
16
  isOptional: true;
17
17
  };
18
18
  clientType: {
19
- type: _lssm_lib_schema74.FieldType<string, string>;
19
+ type: _lssm_lib_schema57.FieldType<string, string>;
20
20
  isOptional: true;
21
21
  };
22
22
  }>;
23
- declare const RegulatoryContextModel: _lssm_lib_schema74.SchemaModel<{
23
+ declare const RegulatoryContextModel: _lssm_lib_schema57.SchemaModel<{
24
24
  jurisdiction: {
25
- type: _lssm_lib_schema74.FieldType<string, string>;
25
+ type: _lssm_lib_schema57.FieldType<string, string>;
26
26
  isOptional: false;
27
27
  };
28
28
  region: {
29
- type: _lssm_lib_schema74.FieldType<string, string>;
29
+ type: _lssm_lib_schema57.FieldType<string, string>;
30
30
  isOptional: true;
31
31
  };
32
32
  clientType: {
33
- type: _lssm_lib_schema74.FieldType<string, string>;
33
+ type: _lssm_lib_schema57.FieldType<string, string>;
34
34
  isOptional: true;
35
35
  };
36
36
  allowedScope: {
37
- type: _lssm_lib_schema74.EnumType<[string, string, string]>;
37
+ type: _lssm_lib_schema57.EnumType<[string, string, string]>;
38
38
  isOptional: false;
39
39
  };
40
40
  }>;
41
- declare const LLMCallEnvelopeModel: _lssm_lib_schema74.SchemaModel<{
41
+ declare const LLMCallEnvelopeModel: _lssm_lib_schema57.SchemaModel<{
42
42
  traceId: {
43
- type: _lssm_lib_schema74.FieldType<string, string>;
43
+ type: _lssm_lib_schema57.FieldType<string, string>;
44
44
  isOptional: false;
45
45
  };
46
46
  locale: {
47
- type: _lssm_lib_schema74.FieldType<string, string>;
47
+ type: _lssm_lib_schema57.FieldType<string, string>;
48
48
  isOptional: false;
49
49
  };
50
50
  regulatoryContext: {
51
- type: _lssm_lib_schema74.SchemaModel<{
51
+ type: _lssm_lib_schema57.SchemaModel<{
52
52
  jurisdiction: {
53
- type: _lssm_lib_schema74.FieldType<string, string>;
53
+ type: _lssm_lib_schema57.FieldType<string, string>;
54
54
  isOptional: false;
55
55
  };
56
56
  region: {
57
- type: _lssm_lib_schema74.FieldType<string, string>;
57
+ type: _lssm_lib_schema57.FieldType<string, string>;
58
58
  isOptional: true;
59
59
  };
60
60
  clientType: {
61
- type: _lssm_lib_schema74.FieldType<string, string>;
61
+ type: _lssm_lib_schema57.FieldType<string, string>;
62
62
  isOptional: true;
63
63
  };
64
64
  allowedScope: {
65
- type: _lssm_lib_schema74.EnumType<[string, string, string]>;
65
+ type: _lssm_lib_schema57.EnumType<[string, string, string]>;
66
66
  isOptional: false;
67
67
  };
68
68
  }>;
69
69
  isOptional: false;
70
70
  };
71
71
  kbSnapshotId: {
72
- type: _lssm_lib_schema74.FieldType<string, string>;
72
+ type: _lssm_lib_schema57.FieldType<string, string>;
73
73
  isOptional: false;
74
74
  };
75
75
  allowedScope: {
76
- type: _lssm_lib_schema74.EnumType<[string, string, string]>;
76
+ type: _lssm_lib_schema57.EnumType<[string, string, string]>;
77
77
  isOptional: false;
78
78
  };
79
79
  }>;
80
- declare const AssistantCitationModel: _lssm_lib_schema74.SchemaModel<{
80
+ declare const AssistantCitationModel: _lssm_lib_schema57.SchemaModel<{
81
81
  kbSnapshotId: {
82
- type: _lssm_lib_schema74.FieldType<string, string>;
82
+ type: _lssm_lib_schema57.FieldType<string, string>;
83
83
  isOptional: false;
84
84
  };
85
85
  sourceType: {
86
- type: _lssm_lib_schema74.FieldType<string, string>;
86
+ type: _lssm_lib_schema57.FieldType<string, string>;
87
87
  isOptional: false;
88
88
  };
89
89
  sourceId: {
90
- type: _lssm_lib_schema74.FieldType<string, string>;
90
+ type: _lssm_lib_schema57.FieldType<string, string>;
91
91
  isOptional: false;
92
92
  };
93
93
  title: {
94
- type: _lssm_lib_schema74.FieldType<string, string>;
94
+ type: _lssm_lib_schema57.FieldType<string, string>;
95
95
  isOptional: true;
96
96
  };
97
97
  excerpt: {
98
- type: _lssm_lib_schema74.FieldType<string, string>;
98
+ type: _lssm_lib_schema57.FieldType<string, string>;
99
99
  isOptional: true;
100
100
  };
101
101
  }>;
102
- declare const AssistantAnswerSectionModel: _lssm_lib_schema74.SchemaModel<{
102
+ declare const AssistantAnswerSectionModel: _lssm_lib_schema57.SchemaModel<{
103
103
  heading: {
104
- type: _lssm_lib_schema74.FieldType<string, string>;
104
+ type: _lssm_lib_schema57.FieldType<string, string>;
105
105
  isOptional: false;
106
106
  };
107
107
  body: {
108
- type: _lssm_lib_schema74.FieldType<string, string>;
108
+ type: _lssm_lib_schema57.FieldType<string, string>;
109
109
  isOptional: false;
110
110
  };
111
111
  }>;
112
- declare const AssistantAnswerIRModel: _lssm_lib_schema74.SchemaModel<{
112
+ declare const AssistantAnswerIRModel: _lssm_lib_schema57.SchemaModel<{
113
113
  locale: {
114
- type: _lssm_lib_schema74.FieldType<string, string>;
114
+ type: _lssm_lib_schema57.FieldType<string, string>;
115
115
  isOptional: false;
116
116
  };
117
117
  jurisdiction: {
118
- type: _lssm_lib_schema74.FieldType<string, string>;
118
+ type: _lssm_lib_schema57.FieldType<string, string>;
119
119
  isOptional: false;
120
120
  };
121
121
  allowedScope: {
122
- type: _lssm_lib_schema74.EnumType<[string, string, string]>;
122
+ type: _lssm_lib_schema57.EnumType<[string, string, string]>;
123
123
  isOptional: false;
124
124
  };
125
125
  sections: {
126
- type: _lssm_lib_schema74.SchemaModel<{
126
+ type: _lssm_lib_schema57.SchemaModel<{
127
127
  heading: {
128
- type: _lssm_lib_schema74.FieldType<string, string>;
128
+ type: _lssm_lib_schema57.FieldType<string, string>;
129
129
  isOptional: false;
130
130
  };
131
131
  body: {
132
- type: _lssm_lib_schema74.FieldType<string, string>;
132
+ type: _lssm_lib_schema57.FieldType<string, string>;
133
133
  isOptional: false;
134
134
  };
135
135
  }>;
@@ -137,25 +137,25 @@ declare const AssistantAnswerIRModel: _lssm_lib_schema74.SchemaModel<{
137
137
  isOptional: false;
138
138
  };
139
139
  citations: {
140
- type: _lssm_lib_schema74.SchemaModel<{
140
+ type: _lssm_lib_schema57.SchemaModel<{
141
141
  kbSnapshotId: {
142
- type: _lssm_lib_schema74.FieldType<string, string>;
142
+ type: _lssm_lib_schema57.FieldType<string, string>;
143
143
  isOptional: false;
144
144
  };
145
145
  sourceType: {
146
- type: _lssm_lib_schema74.FieldType<string, string>;
146
+ type: _lssm_lib_schema57.FieldType<string, string>;
147
147
  isOptional: false;
148
148
  };
149
149
  sourceId: {
150
- type: _lssm_lib_schema74.FieldType<string, string>;
150
+ type: _lssm_lib_schema57.FieldType<string, string>;
151
151
  isOptional: false;
152
152
  };
153
153
  title: {
154
- type: _lssm_lib_schema74.FieldType<string, string>;
154
+ type: _lssm_lib_schema57.FieldType<string, string>;
155
155
  isOptional: true;
156
156
  };
157
157
  excerpt: {
158
- type: _lssm_lib_schema74.FieldType<string, string>;
158
+ type: _lssm_lib_schema57.FieldType<string, string>;
159
159
  isOptional: true;
160
160
  };
161
161
  }>;
@@ -163,21 +163,21 @@ declare const AssistantAnswerIRModel: _lssm_lib_schema74.SchemaModel<{
163
163
  isOptional: false;
164
164
  };
165
165
  disclaimers: {
166
- type: _lssm_lib_schema74.FieldType<string, string>;
166
+ type: _lssm_lib_schema57.FieldType<string, string>;
167
167
  isArray: true;
168
168
  isOptional: true;
169
169
  };
170
170
  riskFlags: {
171
- type: _lssm_lib_schema74.FieldType<string, string>;
171
+ type: _lssm_lib_schema57.FieldType<string, string>;
172
172
  isArray: true;
173
173
  isOptional: true;
174
174
  };
175
175
  refused: {
176
- type: _lssm_lib_schema74.FieldType<boolean, boolean>;
176
+ type: _lssm_lib_schema57.FieldType<boolean, boolean>;
177
177
  isOptional: true;
178
178
  };
179
179
  refusalReason: {
180
- type: _lssm_lib_schema74.FieldType<string, string>;
180
+ type: _lssm_lib_schema57.FieldType<string, string>;
181
181
  isOptional: true;
182
182
  };
183
183
  }>;
package/dist/events.d.ts CHANGED
@@ -1,66 +1,66 @@
1
- import * as _lssm_lib_schema0 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
1
+ import * as _lssm_lib_schema104 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts1 from "@lssm/lib.contracts";
3
3
 
4
4
  //#region src/events.d.ts
5
- declare const AssistantAnswerRequestedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
5
+ declare const AssistantAnswerRequestedEvent: _lssm_lib_contracts1.EventSpec<_lssm_lib_schema104.SchemaModel<{
6
6
  traceId: {
7
- type: _lssm_lib_schema0.FieldType<string, string>;
7
+ type: _lssm_lib_schema104.FieldType<string, string>;
8
8
  isOptional: false;
9
9
  };
10
10
  locale: {
11
- type: _lssm_lib_schema0.FieldType<string, string>;
11
+ type: _lssm_lib_schema104.FieldType<string, string>;
12
12
  isOptional: false;
13
13
  };
14
14
  jurisdiction: {
15
- type: _lssm_lib_schema0.FieldType<string, string>;
15
+ type: _lssm_lib_schema104.FieldType<string, string>;
16
16
  isOptional: false;
17
17
  };
18
18
  kbSnapshotId: {
19
- type: _lssm_lib_schema0.FieldType<string, string>;
19
+ type: _lssm_lib_schema104.FieldType<string, string>;
20
20
  isOptional: false;
21
21
  };
22
22
  allowedScope: {
23
- type: _lssm_lib_schema0.FieldType<string, string>;
23
+ type: _lssm_lib_schema104.FieldType<string, string>;
24
24
  isOptional: false;
25
25
  };
26
26
  }>>;
27
- declare const AssistantAnswerBlockedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
27
+ declare const AssistantAnswerBlockedEvent: _lssm_lib_contracts1.EventSpec<_lssm_lib_schema104.SchemaModel<{
28
28
  traceId: {
29
- type: _lssm_lib_schema0.FieldType<string, string>;
29
+ type: _lssm_lib_schema104.FieldType<string, string>;
30
30
  isOptional: false;
31
31
  };
32
32
  reasonCode: {
33
- type: _lssm_lib_schema0.FieldType<string, string>;
33
+ type: _lssm_lib_schema104.FieldType<string, string>;
34
34
  isOptional: false;
35
35
  };
36
36
  reason: {
37
- type: _lssm_lib_schema0.FieldType<string, string>;
37
+ type: _lssm_lib_schema104.FieldType<string, string>;
38
38
  isOptional: false;
39
39
  };
40
40
  }>>;
41
- declare const AssistantAnswerDeliveredEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
41
+ declare const AssistantAnswerDeliveredEvent: _lssm_lib_contracts1.EventSpec<_lssm_lib_schema104.SchemaModel<{
42
42
  traceId: {
43
- type: _lssm_lib_schema0.FieldType<string, string>;
43
+ type: _lssm_lib_schema104.FieldType<string, string>;
44
44
  isOptional: false;
45
45
  };
46
46
  locale: {
47
- type: _lssm_lib_schema0.FieldType<string, string>;
47
+ type: _lssm_lib_schema104.FieldType<string, string>;
48
48
  isOptional: false;
49
49
  };
50
50
  jurisdiction: {
51
- type: _lssm_lib_schema0.FieldType<string, string>;
51
+ type: _lssm_lib_schema104.FieldType<string, string>;
52
52
  isOptional: false;
53
53
  };
54
54
  kbSnapshotId: {
55
- type: _lssm_lib_schema0.FieldType<string, string>;
55
+ type: _lssm_lib_schema104.FieldType<string, string>;
56
56
  isOptional: false;
57
57
  };
58
58
  allowedScope: {
59
- type: _lssm_lib_schema0.FieldType<string, string>;
59
+ type: _lssm_lib_schema104.FieldType<string, string>;
60
60
  isOptional: false;
61
61
  };
62
62
  citationsCount: {
63
- type: _lssm_lib_schema0.FieldType<number, number>;
63
+ type: _lssm_lib_schema104.FieldType<number, number>;
64
64
  isOptional: false;
65
65
  };
66
66
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/example.locale-jurisdiction-gate",
3
- "version": "0.0.0-canary-20251217073102",
3
+ "version": "0.0.0-canary-20251217083314",
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-20251217073102",
42
- "@lssm/lib.schema": "0.0.0-canary-20251217073102",
41
+ "@lssm/lib.contracts": "0.0.0-canary-20251217083314",
42
+ "@lssm/lib.schema": "0.0.0-canary-20251217083314",
43
43
  "zod": "^4.1.13"
44
44
  },
45
45
  "devDependencies": {
46
- "@lssm/tool.tsdown": "0.0.0-canary-20251217073102",
47
- "@lssm/tool.typescript": "0.0.0-canary-20251217073102",
46
+ "@lssm/tool.tsdown": "0.0.0-canary-20251217083314",
47
+ "@lssm/tool.typescript": "0.0.0-canary-20251217083314",
48
48
  "tsdown": "^0.17.4",
49
49
  "typescript": "^5.9.3"
50
50
  },