@lssm/example.locale-jurisdiction-gate 0.0.0-canary-20251217062139 → 0.0.0-canary-20251217062943
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.
- package/.turbo/turbo-build$colon$bundle.log +14 -14
- package/CHANGELOG.md +3 -3
- package/dist/entities/models.d.ts +48 -48
- package/dist/events.d.ts +18 -18
- package/package.json +5 -5
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
[0m[2m[35m$[0m [2m[1mtsdown[0m
|
|
3
3
|
[34mℹ[39m tsdown [2mv0.17.4[22m powered by rolldown [2mv1.0.0-beta.53[22m
|
|
4
4
|
[34mℹ[39m config file: [4m/Users/tboutron/Documents/clients/lssm/monorepo-lssm/packages/contractspec/packages/examples/locale-jurisdiction-gate/tsdown.config.js[24m (unrun)
|
|
5
|
-
[34mℹ[39m entry: [34msrc/events.ts, src/example.ts, src/index.ts, src/locale-jurisdiction-gate.feature.ts, src/contracts/assistant.ts, src/contracts/index.ts, src/docs/index.ts, src/docs/locale-jurisdiction-gate.docblock.ts, src/
|
|
5
|
+
[34mℹ[39m entry: [34msrc/events.ts, src/example.ts, src/index.ts, src/locale-jurisdiction-gate.feature.ts, src/contracts/assistant.ts, src/contracts/index.ts, src/docs/index.ts, src/docs/locale-jurisdiction-gate.docblock.ts, src/entities/index.ts, src/entities/models.ts, src/handlers/demo.handlers.ts, src/handlers/index.ts, src/policy/guard.ts, src/policy/index.ts, src/policy/types.ts[39m
|
|
6
6
|
[34mℹ[39m target: [34mesnext[39m
|
|
7
7
|
[34mℹ[39m tsconfig: [34mtsconfig.json[39m
|
|
8
8
|
[34mℹ[39m Build start
|
|
9
|
-
[34mℹ[39m Cleaning
|
|
9
|
+
[34mℹ[39m Cleaning 192 files
|
|
10
10
|
[34mℹ[39m [2mdist/[22m[1mentities/models.js[22m [2m 2.61 kB[22m [2m│ gzip: 0.75 kB[22m
|
|
11
11
|
[34mℹ[39m [2mdist/[22m[1mcontracts/assistant.js[22m [2m 2.45 kB[22m [2m│ gzip: 0.94 kB[22m
|
|
12
12
|
[34mℹ[39m [2mdist/[22m[1mevents.js[22m [2m 1.82 kB[22m [2m│ gzip: 0.50 kB[22m
|
|
@@ -144,8 +144,8 @@
|
|
|
144
144
|
[34mℹ[39m [2mdist/[22mlibs/schema/dist/entity/defineEntity.js [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
145
145
|
[34mℹ[39m [2mdist/[22mlibs/schema/dist/entity/types.js [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
146
146
|
[34mℹ[39m [2mdist/[22m[32m[1mcontracts/assistant.d.ts[22m[39m [2m 6.73 kB[22m [2m│ gzip: 0.60 kB[22m
|
|
147
|
-
[34mℹ[39m [2mdist/[22m[32m[1mentities/models.d.ts[22m[39m [2m 5.
|
|
148
|
-
[34mℹ[39m [2mdist/[22m[32m[1mevents.d.ts[22m[39m [2m 1.
|
|
147
|
+
[34mℹ[39m [2mdist/[22m[32m[1mentities/models.d.ts[22m[39m [2m 5.01 kB[22m [2m│ gzip: 0.65 kB[22m
|
|
148
|
+
[34mℹ[39m [2mdist/[22m[32m[1mevents.d.ts[22m[39m [2m 1.99 kB[22m [2m│ gzip: 0.36 kB[22m
|
|
149
149
|
[34mℹ[39m [2mdist/[22m[32m[1mhandlers/demo.handlers.d.ts[22m[39m [2m 1.43 kB[22m [2m│ gzip: 0.53 kB[22m
|
|
150
150
|
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m 1.31 kB[22m [2m│ gzip: 0.40 kB[22m
|
|
151
151
|
[34mℹ[39m [2mdist/[22m[32m[1mexample.d.ts[22m[39m [2m 1.16 kB[22m [2m│ gzip: 0.47 kB[22m
|
|
@@ -158,9 +158,9 @@
|
|
|
158
158
|
[34mℹ[39m [2mdist/[22m[32m[1mhandlers/index.d.ts[22m[39m [2m 0.15 kB[22m [2m│ gzip: 0.09 kB[22m
|
|
159
159
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
160
160
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/locale-jurisdiction-gate.docblock.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
161
|
-
[34mℹ[39m 151 files, total: 206.
|
|
162
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve '
|
|
163
|
-
- Module not found, treating it as an external dependency in ../../libs/contracts/dist/
|
|
161
|
+
[34mℹ[39m 151 files, total: 206.94 kB
|
|
162
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:crypto' in ../../libs/contracts/dist/experiments/evaluator.js
|
|
163
|
+
- Module not found, treating it as an external dependency in ../../libs/contracts/dist/experiments/evaluator.js at 27..40
|
|
164
164
|
[38;5;240m │[0m
|
|
165
165
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
166
166
|
|
|
@@ -169,8 +169,8 @@
|
|
|
169
169
|
[38;5;240m │[0m
|
|
170
170
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
171
171
|
|
|
172
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:
|
|
173
|
-
- Module not found, treating it as an external dependency in ../../libs/contracts/dist/
|
|
172
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:timers/promises' in ../../libs/contracts/dist/regenerator/service.js
|
|
173
|
+
- Module not found, treating it as an external dependency in ../../libs/contracts/dist/regenerator/service.js at 121..143
|
|
174
174
|
[38;5;240m │[0m
|
|
175
175
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
176
176
|
|
|
@@ -179,13 +179,13 @@
|
|
|
179
179
|
[38;5;240m │[0m
|
|
180
180
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
181
181
|
|
|
182
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:
|
|
183
|
-
- Module not found, treating it as an external dependency in ../../libs/contracts/dist/
|
|
182
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:crypto' in ../../libs/contracts/dist/workflow/runner.js
|
|
183
|
+
- Module not found, treating it as an external dependency in ../../libs/contracts/dist/workflow/runner.js at 80..93
|
|
184
184
|
[38;5;240m │[0m
|
|
185
185
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
186
186
|
|
|
187
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve '
|
|
188
|
-
- Module not found, treating it as an external dependency in ../../libs/contracts/dist/
|
|
187
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'turndown' in ../../libs/contracts/dist/presentations.v2.js
|
|
188
|
+
- Module not found, treating it as an external dependency in ../../libs/contracts/dist/presentations.v2.js at 93..103
|
|
189
189
|
[38;5;240m │[0m
|
|
190
190
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
191
191
|
|
|
@@ -194,4 +194,4 @@
|
|
|
194
194
|
[38;5;240m │[0m
|
|
195
195
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
196
196
|
|
|
197
|
-
[32m✔[39m Build complete in [
|
|
197
|
+
[32m✔[39m Build complete in [32m8087ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lssm/example.locale-jurisdiction-gate
|
|
2
2
|
|
|
3
|
-
## 0.0.0-canary-
|
|
3
|
+
## 0.0.0-canary-20251217062943
|
|
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-
|
|
13
|
-
- @lssm/lib.schema@0.0.0-canary-
|
|
12
|
+
- @lssm/lib.contracts@0.0.0-canary-20251217062943
|
|
13
|
+
- @lssm/lib.schema@0.0.0-canary-20251217062943
|
|
@@ -1,135 +1,135 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema0 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/models.d.ts
|
|
4
|
-
declare const AllowedScopeEnum:
|
|
5
|
-
declare const UserProfileModel:
|
|
4
|
+
declare const AllowedScopeEnum: _lssm_lib_schema0.EnumType<[string, string, string]>;
|
|
5
|
+
declare const UserProfileModel: _lssm_lib_schema0.SchemaModel<{
|
|
6
6
|
preferredLocale: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
8
8
|
isOptional: true;
|
|
9
9
|
};
|
|
10
10
|
residencyCountry: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
12
12
|
isOptional: true;
|
|
13
13
|
};
|
|
14
14
|
taxResidenceCountry: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
16
16
|
isOptional: true;
|
|
17
17
|
};
|
|
18
18
|
clientType: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
20
20
|
isOptional: true;
|
|
21
21
|
};
|
|
22
22
|
}>;
|
|
23
|
-
declare const RegulatoryContextModel:
|
|
23
|
+
declare const RegulatoryContextModel: _lssm_lib_schema0.SchemaModel<{
|
|
24
24
|
jurisdiction: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
region: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
clientType: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
};
|
|
36
36
|
allowedScope: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string]>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
}>;
|
|
41
|
-
declare const LLMCallEnvelopeModel:
|
|
41
|
+
declare const LLMCallEnvelopeModel: _lssm_lib_schema0.SchemaModel<{
|
|
42
42
|
traceId: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
locale: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
regulatoryContext: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema0.SchemaModel<{
|
|
52
52
|
jurisdiction: {
|
|
53
|
-
type:
|
|
53
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
region: {
|
|
57
|
-
type:
|
|
57
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
58
58
|
isOptional: true;
|
|
59
59
|
};
|
|
60
60
|
clientType: {
|
|
61
|
-
type:
|
|
61
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
62
62
|
isOptional: true;
|
|
63
63
|
};
|
|
64
64
|
allowedScope: {
|
|
65
|
-
type:
|
|
65
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string]>;
|
|
66
66
|
isOptional: false;
|
|
67
67
|
};
|
|
68
68
|
}>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
kbSnapshotId: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
allowedScope: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string]>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
}>;
|
|
80
|
-
declare const AssistantCitationModel:
|
|
80
|
+
declare const AssistantCitationModel: _lssm_lib_schema0.SchemaModel<{
|
|
81
81
|
kbSnapshotId: {
|
|
82
|
-
type:
|
|
82
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
83
83
|
isOptional: false;
|
|
84
84
|
};
|
|
85
85
|
sourceType: {
|
|
86
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
sourceId: {
|
|
90
|
-
type:
|
|
90
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
91
91
|
isOptional: false;
|
|
92
92
|
};
|
|
93
93
|
title: {
|
|
94
|
-
type:
|
|
94
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
95
95
|
isOptional: true;
|
|
96
96
|
};
|
|
97
97
|
excerpt: {
|
|
98
|
-
type:
|
|
98
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
99
99
|
isOptional: true;
|
|
100
100
|
};
|
|
101
101
|
}>;
|
|
102
|
-
declare const AssistantAnswerSectionModel:
|
|
102
|
+
declare const AssistantAnswerSectionModel: _lssm_lib_schema0.SchemaModel<{
|
|
103
103
|
heading: {
|
|
104
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
body: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
109
109
|
isOptional: false;
|
|
110
110
|
};
|
|
111
111
|
}>;
|
|
112
|
-
declare const AssistantAnswerIRModel:
|
|
112
|
+
declare const AssistantAnswerIRModel: _lssm_lib_schema0.SchemaModel<{
|
|
113
113
|
locale: {
|
|
114
|
-
type:
|
|
114
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
115
115
|
isOptional: false;
|
|
116
116
|
};
|
|
117
117
|
jurisdiction: {
|
|
118
|
-
type:
|
|
118
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
119
119
|
isOptional: false;
|
|
120
120
|
};
|
|
121
121
|
allowedScope: {
|
|
122
|
-
type:
|
|
122
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string]>;
|
|
123
123
|
isOptional: false;
|
|
124
124
|
};
|
|
125
125
|
sections: {
|
|
126
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema0.SchemaModel<{
|
|
127
127
|
heading: {
|
|
128
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
129
129
|
isOptional: false;
|
|
130
130
|
};
|
|
131
131
|
body: {
|
|
132
|
-
type:
|
|
132
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
133
133
|
isOptional: false;
|
|
134
134
|
};
|
|
135
135
|
}>;
|
|
@@ -137,25 +137,25 @@ declare const AssistantAnswerIRModel: _lssm_lib_schema16.SchemaModel<{
|
|
|
137
137
|
isOptional: false;
|
|
138
138
|
};
|
|
139
139
|
citations: {
|
|
140
|
-
type:
|
|
140
|
+
type: _lssm_lib_schema0.SchemaModel<{
|
|
141
141
|
kbSnapshotId: {
|
|
142
|
-
type:
|
|
142
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
143
143
|
isOptional: false;
|
|
144
144
|
};
|
|
145
145
|
sourceType: {
|
|
146
|
-
type:
|
|
146
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
147
147
|
isOptional: false;
|
|
148
148
|
};
|
|
149
149
|
sourceId: {
|
|
150
|
-
type:
|
|
150
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
151
151
|
isOptional: false;
|
|
152
152
|
};
|
|
153
153
|
title: {
|
|
154
|
-
type:
|
|
154
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
155
155
|
isOptional: true;
|
|
156
156
|
};
|
|
157
157
|
excerpt: {
|
|
158
|
-
type:
|
|
158
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
159
159
|
isOptional: true;
|
|
160
160
|
};
|
|
161
161
|
}>;
|
|
@@ -163,21 +163,21 @@ declare const AssistantAnswerIRModel: _lssm_lib_schema16.SchemaModel<{
|
|
|
163
163
|
isOptional: false;
|
|
164
164
|
};
|
|
165
165
|
disclaimers: {
|
|
166
|
-
type:
|
|
166
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
167
167
|
isArray: true;
|
|
168
168
|
isOptional: true;
|
|
169
169
|
};
|
|
170
170
|
riskFlags: {
|
|
171
|
-
type:
|
|
171
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
172
172
|
isArray: true;
|
|
173
173
|
isOptional: true;
|
|
174
174
|
};
|
|
175
175
|
refused: {
|
|
176
|
-
type:
|
|
176
|
+
type: _lssm_lib_schema0.FieldType<boolean, boolean>;
|
|
177
177
|
isOptional: true;
|
|
178
178
|
};
|
|
179
179
|
refusalReason: {
|
|
180
|
-
type:
|
|
180
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
181
181
|
isOptional: true;
|
|
182
182
|
};
|
|
183
183
|
}>;
|
package/dist/events.d.ts
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema46 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/events.d.ts
|
|
5
|
-
declare const AssistantAnswerRequestedEvent: _lssm_lib_contracts0.EventSpec<
|
|
5
|
+
declare const AssistantAnswerRequestedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema46.SchemaModel<{
|
|
6
6
|
traceId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema46.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
locale: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema46.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
jurisdiction: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema46.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
kbSnapshotId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema46.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
allowedScope: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema46.FieldType<string, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
}>>;
|
|
27
|
-
declare const AssistantAnswerBlockedEvent: _lssm_lib_contracts0.EventSpec<
|
|
27
|
+
declare const AssistantAnswerBlockedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema46.SchemaModel<{
|
|
28
28
|
traceId: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema46.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
reasonCode: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema46.FieldType<string, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
reason: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema46.FieldType<string, string>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
}>>;
|
|
41
|
-
declare const AssistantAnswerDeliveredEvent: _lssm_lib_contracts0.EventSpec<
|
|
41
|
+
declare const AssistantAnswerDeliveredEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema46.SchemaModel<{
|
|
42
42
|
traceId: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema46.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
locale: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema46.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
jurisdiction: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema46.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
kbSnapshotId: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema46.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
allowedScope: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema46.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
citationsCount: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema46.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-
|
|
3
|
+
"version": "0.0.0-canary-20251217062943",
|
|
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-
|
|
42
|
-
"@lssm/lib.schema": "0.0.0-canary-
|
|
41
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251217062943",
|
|
42
|
+
"@lssm/lib.schema": "0.0.0-canary-20251217062943",
|
|
43
43
|
"zod": "^4.1.13"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@lssm/tool.tsdown": "0.0.0-canary-
|
|
47
|
-
"@lssm/tool.typescript": "0.0.0-canary-
|
|
46
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251217062943",
|
|
47
|
+
"@lssm/tool.typescript": "0.0.0-canary-20251217062943",
|
|
48
48
|
"tsdown": "^0.17.4",
|
|
49
49
|
"typescript": "^5.9.3"
|
|
50
50
|
},
|