@contractspec/example.policy-safe-knowledge-assistant 1.59.0 → 1.61.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.
@@ -3,7 +3,7 @@ $ bun run prebuild && bun run build:bundle && bun run build:types
3
3
  $ contractspec-bun-build prebuild
4
4
  $ contractspec-bun-build transpile
5
5
  [contractspec-bun-build] transpile target=bun root=src entries=14
6
- Bundled 14 modules in 21ms
6
+ Bundled 14 modules in 28ms
7
7
 
8
8
  docs/index.js 1.86 KB (entry point)
9
9
  seeders/index.js 0.51 KB (entry point)
@@ -21,7 +21,7 @@ Bundled 14 modules in 21ms
21
21
  ./policy-safe-knowledge-assistant.feature.js 2.32 KB (entry point)
22
22
 
23
23
  [contractspec-bun-build] transpile target=node root=src entries=14
24
- Bundled 14 modules in 34ms
24
+ Bundled 14 modules in 40ms
25
25
 
26
26
  docs/index.js 1.84 KB (entry point)
27
27
  seeders/index.js 506 bytes (entry point)
@@ -39,7 +39,7 @@ Bundled 14 modules in 34ms
39
39
  ./policy-safe-knowledge-assistant.feature.js 2.32 KB (entry point)
40
40
 
41
41
  [contractspec-bun-build] transpile target=browser root=src entries=14
42
- Bundled 14 modules in 34ms
42
+ Bundled 14 modules in 42ms
43
43
 
44
44
  docs/index.js 1.84 KB (entry point)
45
45
  seeders/index.js 506 bytes (entry point)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,45 @@
1
1
  # @contractspec/example.policy-safe-knowledge-assistant
2
2
 
3
+ ## 1.61.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 374fd71: fix: publishing
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [374fd71]
12
+ - @contractspec/example.locale-jurisdiction-gate@1.61.0
13
+ - @contractspec/example.versioned-knowledge-base@1.61.0
14
+ - @contractspec/example.kb-update-pipeline@1.61.0
15
+ - @contractspec/example.learning-patterns@1.61.0
16
+ - @contractspec/module.learning-journey@1.61.0
17
+ - @contractspec/lib.example-shared-ui@1.15.0
18
+ - @contractspec/lib.runtime-sandbox@0.16.0
19
+ - @contractspec/lib.design-system@1.61.0
20
+ - @contractspec/lib.ui-kit-web@1.61.0
21
+ - @contractspec/lib.contracts@1.61.0
22
+
23
+ ## 1.60.0
24
+
25
+ ### Minor Changes
26
+
27
+ - fix: publish with bun
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies
32
+ - @contractspec/example.locale-jurisdiction-gate@1.60.0
33
+ - @contractspec/example.versioned-knowledge-base@1.60.0
34
+ - @contractspec/example.kb-update-pipeline@1.60.0
35
+ - @contractspec/example.learning-patterns@1.60.0
36
+ - @contractspec/module.learning-journey@1.60.0
37
+ - @contractspec/lib.example-shared-ui@1.14.0
38
+ - @contractspec/lib.runtime-sandbox@0.15.0
39
+ - @contractspec/lib.design-system@1.60.0
40
+ - @contractspec/lib.ui-kit-web@1.60.0
41
+ - @contractspec/lib.contracts@1.60.0
42
+
3
43
  ## 1.59.0
4
44
 
5
45
  ### Minor Changes
package/package.json CHANGED
@@ -1,29 +1,143 @@
1
1
  {
2
2
  "name": "@contractspec/example.policy-safe-knowledge-assistant",
3
- "version": "1.59.0",
3
+ "version": "1.61.0",
4
4
  "description": "All-in-one template example: policy-safe knowledge assistant with locale/jurisdiction gating, versioned KB snapshots, HITL update pipeline, and learning hub.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
7
7
  "exports": {
8
- ".": "./src/index.ts",
9
- "./docs": "./src/docs/index.ts",
10
- "./docs/index": "./src/docs/index.ts",
11
- "./docs/policy-safe-knowledge-assistant.docblock": "./src/docs/policy-safe-knowledge-assistant.docblock.ts",
12
- "./example": "./src/example.ts",
13
- "./handlers": "./src/handlers/index.ts",
14
- "./handlers/index": "./src/handlers/index.ts",
15
- "./handlers/policy-safe-knowledge-assistant.handlers": "./src/handlers/policy-safe-knowledge-assistant.handlers.ts",
16
- "./orchestrator/buildAnswer": "./src/orchestrator/buildAnswer.ts",
17
- "./policy-safe-knowledge-assistant.feature": "./src/policy-safe-knowledge-assistant.feature.ts",
18
- "./seed": "./src/seed/index.ts",
19
- "./seed/fixtures": "./src/seed/fixtures.ts",
20
- "./seed/index": "./src/seed/index.ts",
21
- "./seeders": "./src/seeders/index.ts",
22
- "./seeders/index": "./src/seeders/index.ts",
23
- "./ui": "./src/ui/index.ts",
24
- "./ui/hooks/usePolicySafeKnowledgeAssistant": "./src/ui/hooks/usePolicySafeKnowledgeAssistant.ts",
25
- "./ui/index": "./src/ui/index.ts",
26
- "./ui/PolicySafeKnowledgeAssistantDashboard": "./src/ui/PolicySafeKnowledgeAssistantDashboard.tsx"
8
+ ".": {
9
+ "types": "./dist/index.d.ts",
10
+ "bun": "./dist/index.js",
11
+ "node": "./dist/node/index.js",
12
+ "browser": "./dist/browser/index.js",
13
+ "default": "./dist/index.js"
14
+ },
15
+ "./docs": {
16
+ "types": "./dist/docs/index.d.ts",
17
+ "bun": "./dist/docs/index.js",
18
+ "node": "./dist/node/docs/index.js",
19
+ "browser": "./dist/browser/docs/index.js",
20
+ "default": "./dist/docs/index.js"
21
+ },
22
+ "./docs/index": {
23
+ "types": "./dist/docs/index.d.ts",
24
+ "bun": "./dist/docs/index.js",
25
+ "node": "./dist/node/docs/index.js",
26
+ "browser": "./dist/browser/docs/index.js",
27
+ "default": "./dist/docs/index.js"
28
+ },
29
+ "./docs/policy-safe-knowledge-assistant.docblock": {
30
+ "types": "./dist/docs/policy-safe-knowledge-assistant.docblock.d.ts",
31
+ "bun": "./dist/docs/policy-safe-knowledge-assistant.docblock.js",
32
+ "node": "./dist/node/docs/policy-safe-knowledge-assistant.docblock.js",
33
+ "browser": "./dist/browser/docs/policy-safe-knowledge-assistant.docblock.js",
34
+ "default": "./dist/docs/policy-safe-knowledge-assistant.docblock.js"
35
+ },
36
+ "./example": {
37
+ "types": "./dist/example.d.ts",
38
+ "bun": "./dist/example.js",
39
+ "node": "./dist/node/example.js",
40
+ "browser": "./dist/browser/example.js",
41
+ "default": "./dist/example.js"
42
+ },
43
+ "./handlers": {
44
+ "types": "./dist/handlers/index.d.ts",
45
+ "bun": "./dist/handlers/index.js",
46
+ "node": "./dist/node/handlers/index.js",
47
+ "browser": "./dist/browser/handlers/index.js",
48
+ "default": "./dist/handlers/index.js"
49
+ },
50
+ "./handlers/index": {
51
+ "types": "./dist/handlers/index.d.ts",
52
+ "bun": "./dist/handlers/index.js",
53
+ "node": "./dist/node/handlers/index.js",
54
+ "browser": "./dist/browser/handlers/index.js",
55
+ "default": "./dist/handlers/index.js"
56
+ },
57
+ "./handlers/policy-safe-knowledge-assistant.handlers": {
58
+ "types": "./dist/handlers/policy-safe-knowledge-assistant.handlers.d.ts",
59
+ "bun": "./dist/handlers/policy-safe-knowledge-assistant.handlers.js",
60
+ "node": "./dist/node/handlers/policy-safe-knowledge-assistant.handlers.js",
61
+ "browser": "./dist/browser/handlers/policy-safe-knowledge-assistant.handlers.js",
62
+ "default": "./dist/handlers/policy-safe-knowledge-assistant.handlers.js"
63
+ },
64
+ "./orchestrator/buildAnswer": {
65
+ "types": "./dist/orchestrator/buildAnswer.d.ts",
66
+ "bun": "./dist/orchestrator/buildAnswer.js",
67
+ "node": "./dist/node/orchestrator/buildAnswer.js",
68
+ "browser": "./dist/browser/orchestrator/buildAnswer.js",
69
+ "default": "./dist/orchestrator/buildAnswer.js"
70
+ },
71
+ "./policy-safe-knowledge-assistant.feature": {
72
+ "types": "./dist/policy-safe-knowledge-assistant.feature.d.ts",
73
+ "bun": "./dist/policy-safe-knowledge-assistant.feature.js",
74
+ "node": "./dist/node/policy-safe-knowledge-assistant.feature.js",
75
+ "browser": "./dist/browser/policy-safe-knowledge-assistant.feature.js",
76
+ "default": "./dist/policy-safe-knowledge-assistant.feature.js"
77
+ },
78
+ "./seed": {
79
+ "types": "./dist/seed/index.d.ts",
80
+ "bun": "./dist/seed/index.js",
81
+ "node": "./dist/node/seed/index.js",
82
+ "browser": "./dist/browser/seed/index.js",
83
+ "default": "./dist/seed/index.js"
84
+ },
85
+ "./seed/fixtures": {
86
+ "types": "./dist/seed/fixtures.d.ts",
87
+ "bun": "./dist/seed/fixtures.js",
88
+ "node": "./dist/node/seed/fixtures.js",
89
+ "browser": "./dist/browser/seed/fixtures.js",
90
+ "default": "./dist/seed/fixtures.js"
91
+ },
92
+ "./seed/index": {
93
+ "types": "./dist/seed/index.d.ts",
94
+ "bun": "./dist/seed/index.js",
95
+ "node": "./dist/node/seed/index.js",
96
+ "browser": "./dist/browser/seed/index.js",
97
+ "default": "./dist/seed/index.js"
98
+ },
99
+ "./seeders": {
100
+ "types": "./dist/seeders/index.d.ts",
101
+ "bun": "./dist/seeders/index.js",
102
+ "node": "./dist/node/seeders/index.js",
103
+ "browser": "./dist/browser/seeders/index.js",
104
+ "default": "./dist/seeders/index.js"
105
+ },
106
+ "./seeders/index": {
107
+ "types": "./dist/seeders/index.d.ts",
108
+ "bun": "./dist/seeders/index.js",
109
+ "node": "./dist/node/seeders/index.js",
110
+ "browser": "./dist/browser/seeders/index.js",
111
+ "default": "./dist/seeders/index.js"
112
+ },
113
+ "./ui": {
114
+ "types": "./dist/ui/index.d.ts",
115
+ "bun": "./dist/ui/index.js",
116
+ "node": "./dist/node/ui/index.js",
117
+ "browser": "./dist/browser/ui/index.js",
118
+ "default": "./dist/ui/index.js"
119
+ },
120
+ "./ui/hooks/usePolicySafeKnowledgeAssistant": {
121
+ "types": "./dist/ui/hooks/usePolicySafeKnowledgeAssistant.d.ts",
122
+ "bun": "./dist/ui/hooks/usePolicySafeKnowledgeAssistant.js",
123
+ "node": "./dist/node/ui/hooks/usePolicySafeKnowledgeAssistant.js",
124
+ "browser": "./dist/browser/ui/hooks/usePolicySafeKnowledgeAssistant.js",
125
+ "default": "./dist/ui/hooks/usePolicySafeKnowledgeAssistant.js"
126
+ },
127
+ "./ui/index": {
128
+ "types": "./dist/ui/index.d.ts",
129
+ "bun": "./dist/ui/index.js",
130
+ "node": "./dist/node/ui/index.js",
131
+ "browser": "./dist/browser/ui/index.js",
132
+ "default": "./dist/ui/index.js"
133
+ },
134
+ "./ui/PolicySafeKnowledgeAssistantDashboard": {
135
+ "types": "./dist/ui/PolicySafeKnowledgeAssistantDashboard.d.ts",
136
+ "bun": "./dist/ui/PolicySafeKnowledgeAssistantDashboard.js",
137
+ "node": "./dist/node/ui/PolicySafeKnowledgeAssistantDashboard.js",
138
+ "browser": "./dist/browser/ui/PolicySafeKnowledgeAssistantDashboard.js",
139
+ "default": "./dist/ui/PolicySafeKnowledgeAssistantDashboard.js"
140
+ }
27
141
  },
28
142
  "scripts": {
29
143
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
@@ -41,25 +155,25 @@
41
155
  "typecheck": "tsc --noEmit"
42
156
  },
43
157
  "dependencies": {
44
- "@contractspec/example.kb-update-pipeline": "1.59.0",
45
- "@contractspec/example.learning-patterns": "1.59.0",
46
- "@contractspec/example.locale-jurisdiction-gate": "1.59.0",
47
- "@contractspec/example.versioned-knowledge-base": "1.59.0",
48
- "@contractspec/lib.contracts": "1.59.0",
49
- "@contractspec/lib.design-system": "1.59.0",
50
- "@contractspec/lib.example-shared-ui": "1.13.0",
51
- "@contractspec/lib.runtime-sandbox": "0.14.0",
52
- "@contractspec/lib.ui-kit-web": "1.59.0",
53
- "@contractspec/module.learning-journey": "1.59.0",
158
+ "@contractspec/example.kb-update-pipeline": "1.61.0",
159
+ "@contractspec/example.learning-patterns": "1.61.0",
160
+ "@contractspec/example.locale-jurisdiction-gate": "1.61.0",
161
+ "@contractspec/example.versioned-knowledge-base": "1.61.0",
162
+ "@contractspec/lib.contracts": "1.61.0",
163
+ "@contractspec/lib.design-system": "1.61.0",
164
+ "@contractspec/lib.example-shared-ui": "1.15.0",
165
+ "@contractspec/lib.runtime-sandbox": "0.16.0",
166
+ "@contractspec/lib.ui-kit-web": "1.61.0",
167
+ "@contractspec/module.learning-journey": "1.61.0",
54
168
  "react": "19.2.4",
55
169
  "react-dom": "19.2.4"
56
170
  },
57
171
  "devDependencies": {
58
- "@contractspec/tool.typescript": "1.59.0",
172
+ "@contractspec/tool.typescript": "1.61.0",
59
173
  "typescript": "^5.9.3",
60
174
  "@types/react": "^19.2.13",
61
175
  "@types/react-dom": "^19.2.2",
62
- "@contractspec/tool.bun": "1.58.0"
176
+ "@contractspec/tool.bun": "1.60.0"
63
177
  },
64
178
  "publishConfig": {
65
179
  "access": "public",
@@ -67,133 +181,133 @@
67
181
  ".": {
68
182
  "types": "./dist/index.d.ts",
69
183
  "bun": "./dist/index.js",
70
- "node": "./dist/node/index.mjs",
184
+ "node": "./dist/node/index.js",
71
185
  "browser": "./dist/browser/index.js",
72
186
  "default": "./dist/index.js"
73
187
  },
74
188
  "./docs": {
75
189
  "types": "./dist/docs/index.d.ts",
76
190
  "bun": "./dist/docs/index.js",
77
- "node": "./dist/node/docs/index.mjs",
191
+ "node": "./dist/node/docs/index.js",
78
192
  "browser": "./dist/browser/docs/index.js",
79
193
  "default": "./dist/docs/index.js"
80
194
  },
81
195
  "./docs/index": {
82
196
  "types": "./dist/docs/index.d.ts",
83
197
  "bun": "./dist/docs/index.js",
84
- "node": "./dist/node/docs/index.mjs",
198
+ "node": "./dist/node/docs/index.js",
85
199
  "browser": "./dist/browser/docs/index.js",
86
200
  "default": "./dist/docs/index.js"
87
201
  },
88
202
  "./docs/policy-safe-knowledge-assistant.docblock": {
89
203
  "types": "./dist/docs/policy-safe-knowledge-assistant.docblock.d.ts",
90
204
  "bun": "./dist/docs/policy-safe-knowledge-assistant.docblock.js",
91
- "node": "./dist/node/docs/policy-safe-knowledge-assistant.docblock.mjs",
205
+ "node": "./dist/node/docs/policy-safe-knowledge-assistant.docblock.js",
92
206
  "browser": "./dist/browser/docs/policy-safe-knowledge-assistant.docblock.js",
93
207
  "default": "./dist/docs/policy-safe-knowledge-assistant.docblock.js"
94
208
  },
95
209
  "./example": {
96
210
  "types": "./dist/example.d.ts",
97
211
  "bun": "./dist/example.js",
98
- "node": "./dist/node/example.mjs",
212
+ "node": "./dist/node/example.js",
99
213
  "browser": "./dist/browser/example.js",
100
214
  "default": "./dist/example.js"
101
215
  },
102
216
  "./handlers": {
103
217
  "types": "./dist/handlers/index.d.ts",
104
218
  "bun": "./dist/handlers/index.js",
105
- "node": "./dist/node/handlers/index.mjs",
219
+ "node": "./dist/node/handlers/index.js",
106
220
  "browser": "./dist/browser/handlers/index.js",
107
221
  "default": "./dist/handlers/index.js"
108
222
  },
109
223
  "./handlers/index": {
110
224
  "types": "./dist/handlers/index.d.ts",
111
225
  "bun": "./dist/handlers/index.js",
112
- "node": "./dist/node/handlers/index.mjs",
226
+ "node": "./dist/node/handlers/index.js",
113
227
  "browser": "./dist/browser/handlers/index.js",
114
228
  "default": "./dist/handlers/index.js"
115
229
  },
116
230
  "./handlers/policy-safe-knowledge-assistant.handlers": {
117
231
  "types": "./dist/handlers/policy-safe-knowledge-assistant.handlers.d.ts",
118
232
  "bun": "./dist/handlers/policy-safe-knowledge-assistant.handlers.js",
119
- "node": "./dist/node/handlers/policy-safe-knowledge-assistant.handlers.mjs",
233
+ "node": "./dist/node/handlers/policy-safe-knowledge-assistant.handlers.js",
120
234
  "browser": "./dist/browser/handlers/policy-safe-knowledge-assistant.handlers.js",
121
235
  "default": "./dist/handlers/policy-safe-knowledge-assistant.handlers.js"
122
236
  },
123
237
  "./orchestrator/buildAnswer": {
124
238
  "types": "./dist/orchestrator/buildAnswer.d.ts",
125
239
  "bun": "./dist/orchestrator/buildAnswer.js",
126
- "node": "./dist/node/orchestrator/buildAnswer.mjs",
240
+ "node": "./dist/node/orchestrator/buildAnswer.js",
127
241
  "browser": "./dist/browser/orchestrator/buildAnswer.js",
128
242
  "default": "./dist/orchestrator/buildAnswer.js"
129
243
  },
130
244
  "./policy-safe-knowledge-assistant.feature": {
131
245
  "types": "./dist/policy-safe-knowledge-assistant.feature.d.ts",
132
246
  "bun": "./dist/policy-safe-knowledge-assistant.feature.js",
133
- "node": "./dist/node/policy-safe-knowledge-assistant.feature.mjs",
247
+ "node": "./dist/node/policy-safe-knowledge-assistant.feature.js",
134
248
  "browser": "./dist/browser/policy-safe-knowledge-assistant.feature.js",
135
249
  "default": "./dist/policy-safe-knowledge-assistant.feature.js"
136
250
  },
137
251
  "./seed": {
138
252
  "types": "./dist/seed/index.d.ts",
139
253
  "bun": "./dist/seed/index.js",
140
- "node": "./dist/node/seed/index.mjs",
254
+ "node": "./dist/node/seed/index.js",
141
255
  "browser": "./dist/browser/seed/index.js",
142
256
  "default": "./dist/seed/index.js"
143
257
  },
144
258
  "./seed/fixtures": {
145
259
  "types": "./dist/seed/fixtures.d.ts",
146
260
  "bun": "./dist/seed/fixtures.js",
147
- "node": "./dist/node/seed/fixtures.mjs",
261
+ "node": "./dist/node/seed/fixtures.js",
148
262
  "browser": "./dist/browser/seed/fixtures.js",
149
263
  "default": "./dist/seed/fixtures.js"
150
264
  },
151
265
  "./seed/index": {
152
266
  "types": "./dist/seed/index.d.ts",
153
267
  "bun": "./dist/seed/index.js",
154
- "node": "./dist/node/seed/index.mjs",
268
+ "node": "./dist/node/seed/index.js",
155
269
  "browser": "./dist/browser/seed/index.js",
156
270
  "default": "./dist/seed/index.js"
157
271
  },
158
272
  "./seeders": {
159
273
  "types": "./dist/seeders/index.d.ts",
160
274
  "bun": "./dist/seeders/index.js",
161
- "node": "./dist/node/seeders/index.mjs",
275
+ "node": "./dist/node/seeders/index.js",
162
276
  "browser": "./dist/browser/seeders/index.js",
163
277
  "default": "./dist/seeders/index.js"
164
278
  },
165
279
  "./seeders/index": {
166
280
  "types": "./dist/seeders/index.d.ts",
167
281
  "bun": "./dist/seeders/index.js",
168
- "node": "./dist/node/seeders/index.mjs",
282
+ "node": "./dist/node/seeders/index.js",
169
283
  "browser": "./dist/browser/seeders/index.js",
170
284
  "default": "./dist/seeders/index.js"
171
285
  },
172
286
  "./ui": {
173
287
  "types": "./dist/ui/index.d.ts",
174
288
  "bun": "./dist/ui/index.js",
175
- "node": "./dist/node/ui/index.mjs",
289
+ "node": "./dist/node/ui/index.js",
176
290
  "browser": "./dist/browser/ui/index.js",
177
291
  "default": "./dist/ui/index.js"
178
292
  },
179
293
  "./ui/hooks/usePolicySafeKnowledgeAssistant": {
180
294
  "types": "./dist/ui/hooks/usePolicySafeKnowledgeAssistant.d.ts",
181
295
  "bun": "./dist/ui/hooks/usePolicySafeKnowledgeAssistant.js",
182
- "node": "./dist/node/ui/hooks/usePolicySafeKnowledgeAssistant.mjs",
296
+ "node": "./dist/node/ui/hooks/usePolicySafeKnowledgeAssistant.js",
183
297
  "browser": "./dist/browser/ui/hooks/usePolicySafeKnowledgeAssistant.js",
184
298
  "default": "./dist/ui/hooks/usePolicySafeKnowledgeAssistant.js"
185
299
  },
186
300
  "./ui/index": {
187
301
  "types": "./dist/ui/index.d.ts",
188
302
  "bun": "./dist/ui/index.js",
189
- "node": "./dist/node/ui/index.mjs",
303
+ "node": "./dist/node/ui/index.js",
190
304
  "browser": "./dist/browser/ui/index.js",
191
305
  "default": "./dist/ui/index.js"
192
306
  },
193
307
  "./ui/PolicySafeKnowledgeAssistantDashboard": {
194
308
  "types": "./dist/ui/PolicySafeKnowledgeAssistantDashboard.d.ts",
195
309
  "bun": "./dist/ui/PolicySafeKnowledgeAssistantDashboard.js",
196
- "node": "./dist/node/ui/PolicySafeKnowledgeAssistantDashboard.mjs",
310
+ "node": "./dist/node/ui/PolicySafeKnowledgeAssistantDashboard.js",
197
311
  "browser": "./dist/browser/ui/PolicySafeKnowledgeAssistantDashboard.js",
198
312
  "default": "./dist/ui/PolicySafeKnowledgeAssistantDashboard.js"
199
313
  }