@contractspec/example.locale-jurisdiction-gate 1.56.1 → 1.57.0

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
  $ tsdown
2
- ℹ tsdown v0.19.0 powered by rolldown v1.0.0-beta.59
2
+ ℹ tsdown v0.20.3 powered by rolldown v1.0.0-rc.3
3
3
  ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/locale-jurisdiction-gate/tsdown.config.js
4
4
  ℹ entry: src/events.ts, src/example.ts, src/index.ts, src/locale-jurisdiction-gate.feature.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/operations/assistant.ts, src/operations/index.ts, src/policy/guard.ts, src/policy/index.ts, src/policy/types.ts
5
5
  ℹ target: esnext
@@ -12,9 +12,9 @@ $ tsdown
12
12
  ℹ dist/handlers/demo.handlers.js 2.46 kB │ gzip: 0.90 kB
13
13
  ℹ dist/policy/guard.js 1.90 kB │ gzip: 0.76 kB
14
14
  ℹ dist/docs/locale-jurisdiction-gate.docblock.js 1.64 kB │ gzip: 0.74 kB
15
- ℹ dist/index.js 1.27 kB │ gzip: 0.40 kB
15
+ ℹ dist/index.js 1.25 kB │ gzip: 0.39 kB
16
16
  ℹ dist/locale-jurisdiction-gate.feature.js 1.16 kB │ gzip: 0.50 kB
17
- ℹ dist/example.js 1.13 kB │ gzip: 0.58 kB
17
+ ℹ dist/example.js 1.09 kB │ gzip: 0.57 kB
18
18
  ℹ dist/entities/index.js 0.36 kB │ gzip: 0.16 kB
19
19
  ℹ dist/operations/index.js 0.16 kB │ gzip: 0.10 kB
20
20
  ℹ dist/policy/index.js 0.15 kB │ gzip: 0.11 kB
@@ -28,17 +28,17 @@ $ tsdown
28
28
  ℹ dist/policy/guard.js.map 4.08 kB │ gzip: 1.44 kB
29
29
  ℹ dist/docs/locale-jurisdiction-gate.docblock.js.map 2.16 kB │ gzip: 0.93 kB
30
30
  ℹ dist/locale-jurisdiction-gate.feature.js.map 1.67 kB │ gzip: 0.72 kB
31
- ℹ dist/example.js.map 1.60 kB │ gzip: 0.79 kB
32
- ℹ dist/entities/models.d.ts.map 0.91 kB │ gzip: 0.39 kB
33
- ℹ dist/policy/guard.d.ts.map 0.76 kB │ gzip: 0.39 kB
34
- ℹ dist/operations/assistant.d.ts.map 0.65 kB │ gzip: 0.28 kB
35
- ℹ dist/events.d.ts.map 0.57 kB │ gzip: 0.26 kB
36
- ℹ dist/handlers/demo.handlers.d.ts.map 0.45 kB │ gzip: 0.26 kB
37
- ℹ dist/policy/types.d.ts.map 0.25 kB │ gzip: 0.19 kB
38
- ℹ dist/locale-jurisdiction-gate.feature.d.ts.map 0.19 kB │ gzip: 0.15 kB
39
- ℹ dist/example.d.ts.map 0.14 kB │ gzip: 0.13 kB
40
- ℹ dist/operations/assistant.d.ts 7.28 kB │ gzip: 0.64 kB
41
- ℹ dist/entities/models.d.ts 5.48 kB │ gzip: 0.68 kB
31
+ ℹ dist/example.js.map 1.59 kB │ gzip: 0.78 kB
32
+ ℹ dist/handlers/demo.handlers.d.ts.map 0.68 kB │ gzip: 0.29 kB
33
+ ℹ dist/entities/models.d.ts.map 0.51 kB │ gzip: 0.22 kB
34
+ ℹ dist/policy/guard.d.ts.map 0.47 kB │ gzip: 0.26 kB
35
+ ℹ dist/operations/assistant.d.ts.map 0.44 kB │ gzip: 0.19 kB
36
+ ℹ dist/events.d.ts.map 0.32 kB │ gzip: 0.17 kB
37
+ ℹ dist/policy/types.d.ts.map 0.23 kB │ gzip: 0.17 kB
38
+ ℹ dist/locale-jurisdiction-gate.feature.d.ts.map 0.18 kB │ gzip: 0.15 kB
39
+ ℹ dist/example.d.ts.map 0.13 kB │ gzip: 0.13 kB
40
+ ℹ dist/operations/assistant.d.ts 7.22 kB │ gzip: 0.63 kB
41
+ ℹ dist/entities/models.d.ts 5.43 kB │ gzip: 0.67 kB
42
42
  ℹ dist/events.d.ts 2.20 kB │ gzip: 0.38 kB
43
43
  ℹ dist/handlers/demo.handlers.d.ts 1.48 kB │ gzip: 0.55 kB
44
44
  ℹ dist/index.d.ts 1.37 kB │ gzip: 0.42 kB
@@ -52,5 +52,10 @@ $ tsdown
52
52
  ℹ dist/handlers/index.d.ts 0.15 kB │ gzip: 0.09 kB
53
53
  ℹ dist/docs/index.d.ts 0.01 kB │ gzip: 0.03 kB
54
54
  ℹ dist/docs/locale-jurisdiction-gate.docblock.d.ts 0.01 kB │ gzip: 0.03 kB
55
- ℹ 46 files, total: 75.65 kB
56
- ✔ Build complete in 27329ms
55
+ ℹ 46 files, total: 74.51 kB
56
+ [PLUGIN_TIMINGS] Warning: Your build spent significant time in plugins. Here is a breakdown:
57
+ - tsdown:external (64%)
58
+ - rolldown-plugin-dts:generate (27%)
59
+ See https://rolldown.rs/options/checks#plugintimings for more details.
60
+
61
+ ✔ Build complete in 21655ms
@@ -1,7 +1,7 @@
1
1
  $ bun build:types && bun build:bundle
2
2
  $ tsc --noEmit
3
3
  $ tsdown
4
- ℹ tsdown v0.19.0 powered by rolldown v1.0.0-beta.59
4
+ ℹ tsdown v0.20.3 powered by rolldown v1.0.0-rc.3
5
5
  ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/locale-jurisdiction-gate/tsdown.config.js
6
6
  ℹ entry: src/events.ts, src/example.ts, src/index.ts, src/locale-jurisdiction-gate.feature.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/operations/assistant.ts, src/operations/index.ts, src/policy/guard.ts, src/policy/index.ts, src/policy/types.ts
7
7
  ℹ target: esnext
@@ -13,9 +13,9 @@ $ tsdown
13
13
  ℹ dist/handlers/demo.handlers.js 2.46 kB │ gzip: 0.90 kB
14
14
  ℹ dist/policy/guard.js 1.90 kB │ gzip: 0.76 kB
15
15
  ℹ dist/docs/locale-jurisdiction-gate.docblock.js 1.64 kB │ gzip: 0.74 kB
16
- ℹ dist/index.js 1.27 kB │ gzip: 0.40 kB
16
+ ℹ dist/index.js 1.25 kB │ gzip: 0.39 kB
17
17
  ℹ dist/locale-jurisdiction-gate.feature.js 1.16 kB │ gzip: 0.50 kB
18
- ℹ dist/example.js 1.13 kB │ gzip: 0.58 kB
18
+ ℹ dist/example.js 1.09 kB │ gzip: 0.57 kB
19
19
  ℹ dist/entities/index.js 0.36 kB │ gzip: 0.16 kB
20
20
  ℹ dist/operations/index.js 0.16 kB │ gzip: 0.10 kB
21
21
  ℹ dist/policy/index.js 0.15 kB │ gzip: 0.11 kB
@@ -29,18 +29,18 @@ $ tsdown
29
29
  ℹ dist/policy/guard.js.map 4.08 kB │ gzip: 1.44 kB
30
30
  ℹ dist/docs/locale-jurisdiction-gate.docblock.js.map 2.16 kB │ gzip: 0.93 kB
31
31
  ℹ dist/locale-jurisdiction-gate.feature.js.map 1.67 kB │ gzip: 0.72 kB
32
- ℹ dist/example.js.map 1.60 kB │ gzip: 0.79 kB
33
- ℹ dist/entities/models.d.ts.map 0.91 kB │ gzip: 0.39 kB
34
- ℹ dist/policy/guard.d.ts.map 0.76 kB │ gzip: 0.39 kB
35
- ℹ dist/operations/assistant.d.ts.map 0.65 kB │ gzip: 0.28 kB
36
- ℹ dist/events.d.ts.map 0.57 kB │ gzip: 0.26 kB
37
- ℹ dist/handlers/demo.handlers.d.ts.map 0.45 kB │ gzip: 0.26 kB
38
- ℹ dist/policy/types.d.ts.map 0.25 kB │ gzip: 0.19 kB
39
- ℹ dist/locale-jurisdiction-gate.feature.d.ts.map 0.19 kB │ gzip: 0.15 kB
40
- ℹ dist/example.d.ts.map 0.14 kB │ gzip: 0.13 kB
41
- ℹ dist/operations/assistant.d.ts 7.28 kB │ gzip: 0.64 kB
32
+ ℹ dist/example.js.map 1.59 kB │ gzip: 0.78 kB
33
+ ℹ dist/handlers/demo.handlers.d.ts.map 0.68 kB │ gzip: 0.29 kB
34
+ ℹ dist/entities/models.d.ts.map 0.51 kB │ gzip: 0.22 kB
35
+ ℹ dist/policy/guard.d.ts.map 0.47 kB │ gzip: 0.26 kB
36
+ ℹ dist/operations/assistant.d.ts.map 0.44 kB │ gzip: 0.19 kB
37
+ ℹ dist/events.d.ts.map 0.32 kB │ gzip: 0.17 kB
38
+ ℹ dist/policy/types.d.ts.map 0.23 kB │ gzip: 0.17 kB
39
+ ℹ dist/locale-jurisdiction-gate.feature.d.ts.map 0.18 kB │ gzip: 0.15 kB
40
+ ℹ dist/example.d.ts.map 0.13 kB │ gzip: 0.13 kB
41
+ ℹ dist/operations/assistant.d.ts 7.22 kB │ gzip: 0.63 kB
42
42
  ℹ dist/entities/models.d.ts 5.43 kB │ gzip: 0.67 kB
43
- ℹ dist/events.d.ts 2.24 kB │ gzip: 0.38 kB
43
+ ℹ dist/events.d.ts 2.20 kB │ gzip: 0.38 kB
44
44
  ℹ dist/handlers/demo.handlers.d.ts 1.48 kB │ gzip: 0.55 kB
45
45
  ℹ dist/index.d.ts 1.37 kB │ gzip: 0.42 kB
46
46
  ℹ dist/policy/guard.d.ts 0.93 kB │ gzip: 0.42 kB
@@ -53,5 +53,10 @@ $ tsdown
53
53
  ℹ dist/handlers/index.d.ts 0.15 kB │ gzip: 0.09 kB
54
54
  ℹ dist/docs/index.d.ts 0.01 kB │ gzip: 0.03 kB
55
55
  ℹ dist/docs/locale-jurisdiction-gate.docblock.d.ts 0.01 kB │ gzip: 0.03 kB
56
- ℹ 46 files, total: 75.64 kB
57
- ✔ Build complete in 25695ms
56
+ ℹ 46 files, total: 74.51 kB
57
+ [PLUGIN_TIMINGS] Warning: Your build spent significant time in plugins. Here is a breakdown:
58
+ - tsdown:external (70%)
59
+ - rolldown-plugin-dts:generate (25%)
60
+ See https://rolldown.rs/options/checks#plugintimings for more details.
61
+
62
+ ✔ Build complete in 26343ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @contractspec/example.locale-jurisdiction-gate
2
2
 
3
+ ## 1.57.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 11a5a05: feat: improve product intent
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [8ecf3c1]
12
+ - Updated dependencies [47c48c2]
13
+ - Updated dependencies [a119963]
14
+ - Updated dependencies [4651e06]
15
+ - Updated dependencies [ad9d10a]
16
+ - Updated dependencies [11a5a05]
17
+ - @contractspec/lib.contracts@1.57.0
18
+ - @contractspec/lib.schema@1.57.0
19
+
3
20
  ## 1.56.1
4
21
 
5
22
  ### Patch Changes
@@ -1,135 +1,135 @@
1
- import * as _contractspec_lib_schema16 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/entities/models.d.ts
4
- declare const AllowedScopeEnum: _contractspec_lib_schema16.EnumType<[string, string, string]>;
5
- declare const UserProfileModel: _contractspec_lib_schema16.SchemaModel<{
4
+ declare const AllowedScopeEnum: _contractspec_lib_schema0.EnumType<[string, string, string]>;
5
+ declare const UserProfileModel: _contractspec_lib_schema0.SchemaModel<{
6
6
  preferredLocale: {
7
- type: _contractspec_lib_schema16.FieldType<string, string>;
7
+ type: _contractspec_lib_schema0.FieldType<string, string>;
8
8
  isOptional: true;
9
9
  };
10
10
  residencyCountry: {
11
- type: _contractspec_lib_schema16.FieldType<string, string>;
11
+ type: _contractspec_lib_schema0.FieldType<string, string>;
12
12
  isOptional: true;
13
13
  };
14
14
  taxResidenceCountry: {
15
- type: _contractspec_lib_schema16.FieldType<string, string>;
15
+ type: _contractspec_lib_schema0.FieldType<string, string>;
16
16
  isOptional: true;
17
17
  };
18
18
  clientType: {
19
- type: _contractspec_lib_schema16.FieldType<string, string>;
19
+ type: _contractspec_lib_schema0.FieldType<string, string>;
20
20
  isOptional: true;
21
21
  };
22
22
  }>;
23
- declare const RegulatoryContextModel: _contractspec_lib_schema16.SchemaModel<{
23
+ declare const RegulatoryContextModel: _contractspec_lib_schema0.SchemaModel<{
24
24
  jurisdiction: {
25
- type: _contractspec_lib_schema16.FieldType<string, string>;
25
+ type: _contractspec_lib_schema0.FieldType<string, string>;
26
26
  isOptional: false;
27
27
  };
28
28
  region: {
29
- type: _contractspec_lib_schema16.FieldType<string, string>;
29
+ type: _contractspec_lib_schema0.FieldType<string, string>;
30
30
  isOptional: true;
31
31
  };
32
32
  clientType: {
33
- type: _contractspec_lib_schema16.FieldType<string, string>;
33
+ type: _contractspec_lib_schema0.FieldType<string, string>;
34
34
  isOptional: true;
35
35
  };
36
36
  allowedScope: {
37
- type: _contractspec_lib_schema16.EnumType<[string, string, string]>;
37
+ type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
38
38
  isOptional: false;
39
39
  };
40
40
  }>;
41
- declare const LLMCallEnvelopeModel: _contractspec_lib_schema16.SchemaModel<{
41
+ declare const LLMCallEnvelopeModel: _contractspec_lib_schema0.SchemaModel<{
42
42
  traceId: {
43
- type: _contractspec_lib_schema16.FieldType<string, string>;
43
+ type: _contractspec_lib_schema0.FieldType<string, string>;
44
44
  isOptional: false;
45
45
  };
46
46
  locale: {
47
- type: _contractspec_lib_schema16.FieldType<string, string>;
47
+ type: _contractspec_lib_schema0.FieldType<string, string>;
48
48
  isOptional: false;
49
49
  };
50
50
  regulatoryContext: {
51
- type: _contractspec_lib_schema16.SchemaModel<{
51
+ type: _contractspec_lib_schema0.SchemaModel<{
52
52
  jurisdiction: {
53
- type: _contractspec_lib_schema16.FieldType<string, string>;
53
+ type: _contractspec_lib_schema0.FieldType<string, string>;
54
54
  isOptional: false;
55
55
  };
56
56
  region: {
57
- type: _contractspec_lib_schema16.FieldType<string, string>;
57
+ type: _contractspec_lib_schema0.FieldType<string, string>;
58
58
  isOptional: true;
59
59
  };
60
60
  clientType: {
61
- type: _contractspec_lib_schema16.FieldType<string, string>;
61
+ type: _contractspec_lib_schema0.FieldType<string, string>;
62
62
  isOptional: true;
63
63
  };
64
64
  allowedScope: {
65
- type: _contractspec_lib_schema16.EnumType<[string, string, string]>;
65
+ type: _contractspec_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: _contractspec_lib_schema16.FieldType<string, string>;
72
+ type: _contractspec_lib_schema0.FieldType<string, string>;
73
73
  isOptional: false;
74
74
  };
75
75
  allowedScope: {
76
- type: _contractspec_lib_schema16.EnumType<[string, string, string]>;
76
+ type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
77
77
  isOptional: false;
78
78
  };
79
79
  }>;
80
- declare const AssistantCitationModel: _contractspec_lib_schema16.SchemaModel<{
80
+ declare const AssistantCitationModel: _contractspec_lib_schema0.SchemaModel<{
81
81
  kbSnapshotId: {
82
- type: _contractspec_lib_schema16.FieldType<string, string>;
82
+ type: _contractspec_lib_schema0.FieldType<string, string>;
83
83
  isOptional: false;
84
84
  };
85
85
  sourceType: {
86
- type: _contractspec_lib_schema16.FieldType<string, string>;
86
+ type: _contractspec_lib_schema0.FieldType<string, string>;
87
87
  isOptional: false;
88
88
  };
89
89
  sourceId: {
90
- type: _contractspec_lib_schema16.FieldType<string, string>;
90
+ type: _contractspec_lib_schema0.FieldType<string, string>;
91
91
  isOptional: false;
92
92
  };
93
93
  title: {
94
- type: _contractspec_lib_schema16.FieldType<string, string>;
94
+ type: _contractspec_lib_schema0.FieldType<string, string>;
95
95
  isOptional: true;
96
96
  };
97
97
  excerpt: {
98
- type: _contractspec_lib_schema16.FieldType<string, string>;
98
+ type: _contractspec_lib_schema0.FieldType<string, string>;
99
99
  isOptional: true;
100
100
  };
101
101
  }>;
102
- declare const AssistantAnswerSectionModel: _contractspec_lib_schema16.SchemaModel<{
102
+ declare const AssistantAnswerSectionModel: _contractspec_lib_schema0.SchemaModel<{
103
103
  heading: {
104
- type: _contractspec_lib_schema16.FieldType<string, string>;
104
+ type: _contractspec_lib_schema0.FieldType<string, string>;
105
105
  isOptional: false;
106
106
  };
107
107
  body: {
108
- type: _contractspec_lib_schema16.FieldType<string, string>;
108
+ type: _contractspec_lib_schema0.FieldType<string, string>;
109
109
  isOptional: false;
110
110
  };
111
111
  }>;
112
- declare const AssistantAnswerIRModel: _contractspec_lib_schema16.SchemaModel<{
112
+ declare const AssistantAnswerIRModel: _contractspec_lib_schema0.SchemaModel<{
113
113
  locale: {
114
- type: _contractspec_lib_schema16.FieldType<string, string>;
114
+ type: _contractspec_lib_schema0.FieldType<string, string>;
115
115
  isOptional: false;
116
116
  };
117
117
  jurisdiction: {
118
- type: _contractspec_lib_schema16.FieldType<string, string>;
118
+ type: _contractspec_lib_schema0.FieldType<string, string>;
119
119
  isOptional: false;
120
120
  };
121
121
  allowedScope: {
122
- type: _contractspec_lib_schema16.EnumType<[string, string, string]>;
122
+ type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
123
123
  isOptional: false;
124
124
  };
125
125
  sections: {
126
- type: _contractspec_lib_schema16.SchemaModel<{
126
+ type: _contractspec_lib_schema0.SchemaModel<{
127
127
  heading: {
128
- type: _contractspec_lib_schema16.FieldType<string, string>;
128
+ type: _contractspec_lib_schema0.FieldType<string, string>;
129
129
  isOptional: false;
130
130
  };
131
131
  body: {
132
- type: _contractspec_lib_schema16.FieldType<string, string>;
132
+ type: _contractspec_lib_schema0.FieldType<string, string>;
133
133
  isOptional: false;
134
134
  };
135
135
  }>;
@@ -137,25 +137,25 @@ declare const AssistantAnswerIRModel: _contractspec_lib_schema16.SchemaModel<{
137
137
  isOptional: false;
138
138
  };
139
139
  citations: {
140
- type: _contractspec_lib_schema16.SchemaModel<{
140
+ type: _contractspec_lib_schema0.SchemaModel<{
141
141
  kbSnapshotId: {
142
- type: _contractspec_lib_schema16.FieldType<string, string>;
142
+ type: _contractspec_lib_schema0.FieldType<string, string>;
143
143
  isOptional: false;
144
144
  };
145
145
  sourceType: {
146
- type: _contractspec_lib_schema16.FieldType<string, string>;
146
+ type: _contractspec_lib_schema0.FieldType<string, string>;
147
147
  isOptional: false;
148
148
  };
149
149
  sourceId: {
150
- type: _contractspec_lib_schema16.FieldType<string, string>;
150
+ type: _contractspec_lib_schema0.FieldType<string, string>;
151
151
  isOptional: false;
152
152
  };
153
153
  title: {
154
- type: _contractspec_lib_schema16.FieldType<string, string>;
154
+ type: _contractspec_lib_schema0.FieldType<string, string>;
155
155
  isOptional: true;
156
156
  };
157
157
  excerpt: {
158
- type: _contractspec_lib_schema16.FieldType<string, string>;
158
+ type: _contractspec_lib_schema0.FieldType<string, string>;
159
159
  isOptional: true;
160
160
  };
161
161
  }>;
@@ -163,21 +163,21 @@ declare const AssistantAnswerIRModel: _contractspec_lib_schema16.SchemaModel<{
163
163
  isOptional: false;
164
164
  };
165
165
  disclaimers: {
166
- type: _contractspec_lib_schema16.FieldType<string, string>;
166
+ type: _contractspec_lib_schema0.FieldType<string, string>;
167
167
  isArray: true;
168
168
  isOptional: true;
169
169
  };
170
170
  riskFlags: {
171
- type: _contractspec_lib_schema16.FieldType<string, string>;
171
+ type: _contractspec_lib_schema0.FieldType<string, string>;
172
172
  isArray: true;
173
173
  isOptional: true;
174
174
  };
175
175
  refused: {
176
- type: _contractspec_lib_schema16.FieldType<boolean, boolean>;
176
+ type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
177
177
  isOptional: true;
178
178
  };
179
179
  refusalReason: {
180
- type: _contractspec_lib_schema16.FieldType<string, string>;
180
+ type: _contractspec_lib_schema0.FieldType<string, string>;
181
181
  isOptional: true;
182
182
  };
183
183
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"models.d.ts","names":[],"sources":["../../src/entities/models.ts"],"sourcesContent":[],"mappings":";;;cAMa,kBAIX,0BAAA,CAJ2B;cAMhB,6CAAgB;;IANhB,IAAA,EAwBX,0BAAA,CAAA,SApBA,CAAA,MAJ2B,EAAA,MAAA,CAAA;IAMhB,UAAA,EAAA,IAkBX;EAAA,CAAA;;;;;EAlB2B,mBAAA,EAAA;IAoBhB,IAAA,sCASX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;EATiC,CAAA;AAWnC,CAAA,CAAA;AAWE,cAtBW,sBAsBX,6BAtBiC,WAsBjC,CAAA;;UAbA,0BAAA,CAAA;;;;;;;;IAE+B,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAapB,UAAA,EAAA,IAAA;EAWX,CAAA;;;;;;AAXiC,cAbtB,oBAasB,6BAbF,WAaE,CAAA;EAatB,OAAA,EAAA;IAOX,IAAA,EAtBA,0BAAA,CAAA,SAsBA,CAAA,MAAA,EAAA,MAAA,CAAA;;;EAPsC,MAAA,EAAA;IAS3B,IAAA,sCA+BX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;;;;;;QA/BiC,IAAA,qCAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;;;;;;;;;;;;;;;cAtBtB,mDAAsB;;UAWjC,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;cAEW,wDAA2B;;UAOtC,0BAAA,CAAA;;;;;;;;cAEW,mDAAsB;;UA+BjC,0BAAA,CAAA"}
1
+ {"version":3,"file":"models.d.ts","names":[],"sources":["../../src/entities/models.ts"],"mappings":";;;cAMa,gBAAA,EAIX,yBAAA,CAJ2B,QAAA;AAAA,cAMhB,gBAAA,4BAAgB,WAAA;;UAkB3B,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAEW,sBAAA,4BAAsB,WAAA;;UASjC,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAEW,oBAAA,4BAAoB,WAAA;;UAW/B,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,sBAAA,4BAAsB,WAAA;;UAWjC,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAEW,2BAAA,4BAA2B,WAAA;;UAOtC,yBAAA,CAAA,SAAA;;;;;;;;cAEW,sBAAA,4BAAsB,WAAA;;UA+BjC,yBAAA,CAAA,SAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"sourcesContent":[],"mappings":";;;;cAea,+BAA6B,4BAAA,CAAA,oCAAA;;UAUxC,yBAAA,CAAA;;EAVW,CAAA;EAUX,MAAA,EAAA;;;;;6CAVwC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;EAsB7B,YAAA,EAAA;IAUX,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;IAVsC,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAyB3B,CAAA;CAWX,CAAA,CAAA;cApCW,6BAA2B,4BAAA,CAAA,oCAAA;;UAUtC,yBAAA,CAAA;;;;IAewC,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;cAA7B,+BAA6B,4BAAA,CAAA,oCAAA;;UAWxC,yBAAA,CAAA"}
1
+ {"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"mappings":";;;;cAea,6BAAA,EAA6B,4BAAA,CAAA,SAAA,2BAAA,WAAA;;UAUxC,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAYW,2BAAA,EAA2B,4BAAA,CAAA,SAAA,2BAAA,WAAA;;UAUtC,yBAAA,CAAA,SAAA;;;;;;;;;;;;cAeW,6BAAA,EAA6B,4BAAA,CAAA,SAAA,2BAAA,WAAA;;UAWxC,yBAAA,CAAA,SAAA"}
package/dist/example.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import * as _contractspec_lib_contracts2 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/example.d.ts
4
- declare const example: _contractspec_lib_contracts2.ExampleSpec;
4
+ declare const example: _contractspec_lib_contracts0.ExampleSpec;
5
5
  //#endregion
6
6
  export { example as default };
7
7
  //# sourceMappingURL=example.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":";;;cAEM,SA6BJ,4BAAA,CA7BW"}
1
+ {"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"mappings":";;;cAEM,OAAA,EA6BJ,4BAAA,CA7BW,WAAA"}
package/dist/example.js CHANGED
@@ -40,8 +40,7 @@ const example = defineExample({
40
40
  mcp: { enabled: true }
41
41
  }
42
42
  });
43
- var example_default = example;
44
43
 
45
44
  //#endregion
46
- export { example_default as default };
45
+ export { example as default };
47
46
  //# sourceMappingURL=example.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"example.js","names":[],"sources":["../src/example.ts"],"sourcesContent":["import { defineExample } from '@contractspec/lib.contracts';\n\nconst example = defineExample({\n meta: {\n key: 'locale-jurisdiction-gate',\n version: '1.0.0',\n title: 'Locale / Jurisdiction Gate',\n description:\n 'Fail-closed gating for assistant calls: locale + jurisdiction + kbSnapshotId + allowedScope must be explicit, answers must cite a snapshot.',\n kind: 'knowledge',\n visibility: 'public',\n stability: 'experimental',\n owners: ['@platform.core'],\n tags: ['policy', 'locale', 'jurisdiction', 'assistant', 'gating'],\n },\n docs: {\n rootDocId: 'docs.examples.locale-jurisdiction-gate',\n },\n entrypoints: {\n packageName: '@contractspec/example.locale-jurisdiction-gate',\n feature: './feature',\n contracts: './contracts',\n handlers: './handlers',\n docs: './docs',\n },\n surfaces: {\n templates: true,\n sandbox: { enabled: true, modes: ['markdown', 'specs'] },\n studio: { enabled: true, installable: true },\n mcp: { enabled: true },\n },\n});\n\nexport default example;\n"],"mappings":";;;AAEA,MAAM,UAAU,cAAc;CAC5B,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aACE;EACF,MAAM;EACN,YAAY;EACZ,WAAW;EACX,QAAQ,CAAC,iBAAiB;EAC1B,MAAM;GAAC;GAAU;GAAU;GAAgB;GAAa;GAAS;EAClE;CACD,MAAM,EACJ,WAAW,0CACZ;CACD,aAAa;EACX,aAAa;EACb,SAAS;EACT,WAAW;EACX,UAAU;EACV,MAAM;EACP;CACD,UAAU;EACR,WAAW;EACX,SAAS;GAAE,SAAS;GAAM,OAAO,CAAC,YAAY,QAAQ;GAAE;EACxD,QAAQ;GAAE,SAAS;GAAM,aAAa;GAAM;EAC5C,KAAK,EAAE,SAAS,MAAM;EACvB;CACF,CAAC;AAEF,sBAAe"}
1
+ {"version":3,"file":"example.js","names":[],"sources":["../src/example.ts"],"sourcesContent":["import { defineExample } from '@contractspec/lib.contracts';\n\nconst example = defineExample({\n meta: {\n key: 'locale-jurisdiction-gate',\n version: '1.0.0',\n title: 'Locale / Jurisdiction Gate',\n description:\n 'Fail-closed gating for assistant calls: locale + jurisdiction + kbSnapshotId + allowedScope must be explicit, answers must cite a snapshot.',\n kind: 'knowledge',\n visibility: 'public',\n stability: 'experimental',\n owners: ['@platform.core'],\n tags: ['policy', 'locale', 'jurisdiction', 'assistant', 'gating'],\n },\n docs: {\n rootDocId: 'docs.examples.locale-jurisdiction-gate',\n },\n entrypoints: {\n packageName: '@contractspec/example.locale-jurisdiction-gate',\n feature: './feature',\n contracts: './contracts',\n handlers: './handlers',\n docs: './docs',\n },\n surfaces: {\n templates: true,\n sandbox: { enabled: true, modes: ['markdown', 'specs'] },\n studio: { enabled: true, installable: true },\n mcp: { enabled: true },\n },\n});\n\nexport default example;\n"],"mappings":";;;AAEA,MAAM,UAAU,cAAc;CAC5B,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aACE;EACF,MAAM;EACN,YAAY;EACZ,WAAW;EACX,QAAQ,CAAC,iBAAiB;EAC1B,MAAM;GAAC;GAAU;GAAU;GAAgB;GAAa;GAAS;EAClE;CACD,MAAM,EACJ,WAAW,0CACZ;CACD,aAAa;EACX,aAAa;EACb,SAAS;EACT,WAAW;EACX,UAAU;EACV,MAAM;EACP;CACD,UAAU;EACR,WAAW;EACX,SAAS;GAAE,SAAS;GAAM,OAAO,CAAC,YAAY,QAAQ;GAAE;EACxD,QAAQ;GAAE,SAAS;GAAM,aAAa;GAAM;EAC5C,KAAK,EAAE,SAAS,MAAM;EACvB;CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"demo.handlers.d.ts","names":[],"sources":["../../src/handlers/demo.handlers.ts"],"sourcesContent":[],"mappings":";KAMK,YAAA;UAEK,iBAAA,CAFO;EAEP,MAAA,EAAA,MAAA;EAkBO,YAAA,EAAA,MAAA;EAMG,YAAA,EArBJ,YAqBI;EAIN,QAAA,EAAA;IAAR,OAAA,EAAA,MAAA;IAOc,IAAA,EAAA,MAAA;EAIN,CAAA,EAAA;EAAR,SAAA,EAAA;IAAO,YAAA,EAAA,MAAA;IAUG,UAAA,EAAA,MAAA;;;;;;;;;;UA/BC,qBAAA;;;;;;oBAMG;;;;;;MAId,QAAQ;;;;;;oBAOM;;;;;;MAId,QAAQ;;;;;;;;;iBAUE,2BAAA,CAAA,GAA+B"}
1
+ {"version":3,"file":"demo.handlers.d.ts","names":[],"sources":["../../src/handlers/demo.handlers.ts"],"mappings":";KAMK,YAAA;AAAA,UAEK,iBAAA;EACR,MAAA;EACA,YAAA;EACA,YAAA,EAAc,YAAA;EACd,QAAA;IAAY,OAAA;IAAiB,IAAA;EAAA;EAC7B,SAAA;IACE,YAAA;IACA,UAAA;IACA,QAAA;IACA,KAAA;IACA,OAAA;EAAA;EAEF,WAAA;EACA,SAAA;EACA,OAAA;EACA,aAAA;AAAA;AAAA,UAGe,qBAAA;EACf,MAAA,CAAO,KAAA;IACL,QAAA;MACE,OAAA;MACA,MAAA;MACA,YAAA;MACA,YAAA,EAAc,YAAA;MACd,iBAAA;QAAqB,YAAA;MAAA;IAAA;IAEvB,QAAA;EAAA,IACE,OAAA,CAAQ,iBAAA;EAEZ,cAAA,CAAe,KAAA;IACb,QAAA;MACE,OAAA;MACA,MAAA;MACA,YAAA;MACA,YAAA,EAAc,YAAA;MACd,iBAAA;QAAqB,YAAA;MAAA;IAAA;IAEvB,UAAA;EAAA,IACE,OAAA,CAAQ,iBAAA;AAAA;;;;;;;;iBAUE,2BAAA,CAAA,GAA+B,qBAAA"}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { AssistantAnswerBlockedEvent, AssistantAnswerDeliveredEvent, AssistantAnswerRequestedEvent } from "./events.js";
2
- import example_default from "./example.js";
2
+ import example from "./example.js";
3
3
  import { AllowedScopeEnum, AssistantAnswerIRModel, AssistantAnswerSectionModel, AssistantCitationModel, LLMCallEnvelopeModel, RegulatoryContextModel, UserProfileModel } from "./entities/models.js";
4
4
  import "./entities/index.js";
5
5
  import { AssistantAnswerContract, AssistantExplainConceptContract } from "./operations/assistant.js";
@@ -9,4 +9,4 @@ import { createDemoAssistantHandlers } from "./handlers/demo.handlers.js";
9
9
  import { LocaleJurisdictionGateFeature } from "./locale-jurisdiction-gate.feature.js";
10
10
  import "./docs/index.js";
11
11
 
12
- export { AllowedScopeEnum, AssistantAnswerBlockedEvent, AssistantAnswerContract, AssistantAnswerDeliveredEvent, AssistantAnswerIRModel, AssistantAnswerRequestedEvent, AssistantAnswerSectionModel, AssistantCitationModel, AssistantExplainConceptContract, LLMCallEnvelopeModel, LocaleJurisdictionGateFeature, RegulatoryContextModel, UserProfileModel, createDemoAssistantHandlers, enforceAllowedScope, enforceCitations, example_default as example, validateEnvelope };
12
+ export { AllowedScopeEnum, AssistantAnswerBlockedEvent, AssistantAnswerContract, AssistantAnswerDeliveredEvent, AssistantAnswerIRModel, AssistantAnswerRequestedEvent, AssistantAnswerSectionModel, AssistantCitationModel, AssistantExplainConceptContract, LLMCallEnvelopeModel, LocaleJurisdictionGateFeature, RegulatoryContextModel, UserProfileModel, createDemoAssistantHandlers, enforceAllowedScope, enforceCitations, example, validateEnvelope };
@@ -1,7 +1,7 @@
1
- import * as _contractspec_lib_contracts3 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/locale-jurisdiction-gate.feature.d.ts
4
- declare const LocaleJurisdictionGateFeature: _contractspec_lib_contracts3.FeatureModuleSpec;
4
+ declare const LocaleJurisdictionGateFeature: _contractspec_lib_contracts0.FeatureModuleSpec;
5
5
  //#endregion
6
6
  export { LocaleJurisdictionGateFeature };
7
7
  //# sourceMappingURL=locale-jurisdiction-gate.feature.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"locale-jurisdiction-gate.feature.d.ts","names":[],"sources":["../src/locale-jurisdiction-gate.feature.ts"],"sourcesContent":[],"mappings":";;;cAEa,+BA2BX,4BAAA,CA3BwC"}
1
+ {"version":3,"file":"locale-jurisdiction-gate.feature.d.ts","names":[],"sources":["../src/locale-jurisdiction-gate.feature.ts"],"mappings":";;;cAEa,6BAAA,EA2BX,4BAAA,CA3BwC,iBAAA"}