@contractspec/example.knowledge-canon 1.62.0 → 2.0.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.
- package/.turbo/turbo-build.log +11 -11
- package/CHANGELOG.md +66 -45
- package/dist/agent.d.ts +2 -3
- package/dist/blueprint.d.ts +1 -2
- package/dist/blueprint.js +1 -1
- package/dist/browser/blueprint.js +1 -1
- package/dist/browser/docs/index.js +1 -1
- package/dist/browser/docs/knowledge-canon.docblock.js +1 -1
- package/dist/browser/example.js +1 -1
- package/dist/browser/index.js +3 -3
- package/dist/docs/index.d.ts +0 -1
- package/dist/docs/index.js +1 -1
- package/dist/docs/knowledge-canon.docblock.d.ts +0 -1
- package/dist/docs/knowledge-canon.docblock.js +1 -1
- package/dist/example.d.ts +1 -2
- package/dist/example.js +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +3 -3
- package/dist/node/blueprint.js +1 -1
- package/dist/node/docs/index.js +1 -1
- package/dist/node/docs/knowledge-canon.docblock.js +1 -1
- package/dist/node/example.js +1 -1
- package/dist/node/index.js +3 -3
- package/dist/source.sample.d.ts +1 -2
- package/dist/tenant.d.ts +1 -2
- package/package.json +5 -5
- package/src/agent.ts +1 -1
- package/src/blueprint.ts +2 -2
- package/src/docs/knowledge-canon.docblock.ts +2 -2
- package/src/example.ts +1 -1
- package/src/source.sample.ts +1 -1
- package/src/tenant.ts +1 -1
- package/dist/agent.d.ts.map +0 -1
- package/dist/blueprint.d.ts.map +0 -1
- package/dist/docs/index.d.ts.map +0 -1
- package/dist/docs/knowledge-canon.docblock.d.ts.map +0 -1
- package/dist/example.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/source.sample.d.ts.map +0 -1
- package/dist/tenant.d.ts.map +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -3,23 +3,23 @@ $ 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=8
|
|
6
|
-
Bundled 8 modules in
|
|
6
|
+
Bundled 8 modules in 35ms
|
|
7
7
|
|
|
8
8
|
./agent.js 1.0 KB (entry point)
|
|
9
|
-
./index.js
|
|
10
|
-
./blueprint.js 0.
|
|
11
|
-
docs/index.js 1.
|
|
12
|
-
docs/knowledge-canon.docblock.js 1.
|
|
9
|
+
./index.js 6.00 KB (entry point)
|
|
10
|
+
./blueprint.js 0.83 KB (entry point)
|
|
11
|
+
docs/index.js 1.68 KB (entry point)
|
|
12
|
+
docs/knowledge-canon.docblock.js 1.68 KB (entry point)
|
|
13
13
|
./example.js 1.0 KB (entry point)
|
|
14
14
|
./source.sample.js 0.67 KB (entry point)
|
|
15
15
|
./tenant.js 0.85 KB (entry point)
|
|
16
16
|
|
|
17
17
|
[contractspec-bun-build] transpile target=node root=src entries=8
|
|
18
|
-
Bundled 8 modules in
|
|
18
|
+
Bundled 8 modules in 34ms
|
|
19
19
|
|
|
20
20
|
./agent.js 0.99 KB (entry point)
|
|
21
|
-
./index.js 5.
|
|
22
|
-
./blueprint.js 0.
|
|
21
|
+
./index.js 5.98 KB (entry point)
|
|
22
|
+
./blueprint.js 0.82 KB (entry point)
|
|
23
23
|
docs/index.js 1.66 KB (entry point)
|
|
24
24
|
docs/knowledge-canon.docblock.js 1.66 KB (entry point)
|
|
25
25
|
./example.js 1.0 KB (entry point)
|
|
@@ -27,11 +27,11 @@ Bundled 8 modules in 17ms
|
|
|
27
27
|
./tenant.js 0.84 KB (entry point)
|
|
28
28
|
|
|
29
29
|
[contractspec-bun-build] transpile target=browser root=src entries=8
|
|
30
|
-
Bundled 8 modules in
|
|
30
|
+
Bundled 8 modules in 30ms
|
|
31
31
|
|
|
32
32
|
./agent.js 0.99 KB (entry point)
|
|
33
|
-
./index.js 5.
|
|
34
|
-
./blueprint.js 0.
|
|
33
|
+
./index.js 5.98 KB (entry point)
|
|
34
|
+
./blueprint.js 0.82 KB (entry point)
|
|
35
35
|
docs/index.js 1.66 KB (entry point)
|
|
36
36
|
docs/knowledge-canon.docblock.js 1.66 KB (entry point)
|
|
37
37
|
./example.js 1.0 KB (entry point)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @contractspec/example.knowledge-canon
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- a09bafc: feat: optimize performance
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 7f3203a: fix: make workspace test runs resilient when packages have no tests
|
|
12
|
+
|
|
13
|
+
Updates package test scripts to pass cleanly when no matching test files exist:
|
|
14
|
+
- Uses `bun test --pass-with-no-tests` in Bun-based packages that currently ship without test files.
|
|
15
|
+
- Uses `jest --passWithNoTests` for the UI kit web package.
|
|
16
|
+
- Adds `.vscode-test.mjs` for `vscode-contractspec` so VS Code extension test runs have an explicit config and stop failing on missing default configuration.
|
|
17
|
+
|
|
18
|
+
This keeps `turbo run test` deterministic across the monorepo while preserving existing test execution behavior where tests are present.
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [a09bafc]
|
|
21
|
+
- Updated dependencies [f152678]
|
|
22
|
+
- @contractspec/lib.contracts-spec@2.0.0
|
|
23
|
+
|
|
3
24
|
## 1.62.0
|
|
4
25
|
|
|
5
26
|
### Minor Changes
|
|
@@ -21,7 +42,7 @@
|
|
|
21
42
|
### Patch Changes
|
|
22
43
|
|
|
23
44
|
- Updated dependencies [374fd71]
|
|
24
|
-
- @contractspec/lib.contracts@1.61.0
|
|
45
|
+
- @contractspec/lib.contracts-spec@1.61.0
|
|
25
46
|
|
|
26
47
|
## 1.60.0
|
|
27
48
|
|
|
@@ -32,7 +53,7 @@
|
|
|
32
53
|
### Patch Changes
|
|
33
54
|
|
|
34
55
|
- Updated dependencies
|
|
35
|
-
- @contractspec/lib.contracts@1.60.0
|
|
56
|
+
- @contractspec/lib.contracts-spec@1.60.0
|
|
36
57
|
|
|
37
58
|
## 1.59.0
|
|
38
59
|
|
|
@@ -43,7 +64,7 @@
|
|
|
43
64
|
### Patch Changes
|
|
44
65
|
|
|
45
66
|
- Updated dependencies [1a0cf44]
|
|
46
|
-
- @contractspec/lib.contracts@1.59.0
|
|
67
|
+
- @contractspec/lib.contracts-spec@1.59.0
|
|
47
68
|
|
|
48
69
|
## 1.58.0
|
|
49
70
|
|
|
@@ -55,7 +76,7 @@
|
|
|
55
76
|
|
|
56
77
|
- Updated dependencies [d1f0fd0]
|
|
57
78
|
- Updated dependencies [4355a9e]
|
|
58
|
-
- @contractspec/lib.contracts@1.58.0
|
|
79
|
+
- @contractspec/lib.contracts-spec@1.58.0
|
|
59
80
|
|
|
60
81
|
## 1.57.0
|
|
61
82
|
|
|
@@ -71,7 +92,7 @@
|
|
|
71
92
|
- Updated dependencies [4651e06]
|
|
72
93
|
- Updated dependencies [ad9d10a]
|
|
73
94
|
- Updated dependencies [11a5a05]
|
|
74
|
-
- @contractspec/lib.contracts@1.57.0
|
|
95
|
+
- @contractspec/lib.contracts-spec@1.57.0
|
|
75
96
|
|
|
76
97
|
## 1.56.1
|
|
77
98
|
|
|
@@ -79,7 +100,7 @@
|
|
|
79
100
|
|
|
80
101
|
- fix: improve publish config
|
|
81
102
|
- Updated dependencies
|
|
82
|
-
- @contractspec/lib.contracts@1.56.1
|
|
103
|
+
- @contractspec/lib.contracts-spec@1.56.1
|
|
83
104
|
|
|
84
105
|
## 1.56.0
|
|
85
106
|
|
|
@@ -90,7 +111,7 @@
|
|
|
90
111
|
### Patch Changes
|
|
91
112
|
|
|
92
113
|
- Updated dependencies
|
|
93
|
-
- @contractspec/lib.contracts@1.56.0
|
|
114
|
+
- @contractspec/lib.contracts-spec@1.56.0
|
|
94
115
|
|
|
95
116
|
## 1.55.0
|
|
96
117
|
|
|
@@ -101,7 +122,7 @@
|
|
|
101
122
|
### Patch Changes
|
|
102
123
|
|
|
103
124
|
- Updated dependencies
|
|
104
|
-
- @contractspec/lib.contracts@1.55.0
|
|
125
|
+
- @contractspec/lib.contracts-spec@1.55.0
|
|
105
126
|
|
|
106
127
|
## 1.54.0
|
|
107
128
|
|
|
@@ -112,7 +133,7 @@
|
|
|
112
133
|
### Patch Changes
|
|
113
134
|
|
|
114
135
|
- Updated dependencies [ec5e95c]
|
|
115
|
-
- @contractspec/lib.contracts@1.54.0
|
|
136
|
+
- @contractspec/lib.contracts-spec@1.54.0
|
|
116
137
|
|
|
117
138
|
## 1.53.0
|
|
118
139
|
|
|
@@ -125,7 +146,7 @@
|
|
|
125
146
|
- Updated dependencies [5b371b1]
|
|
126
147
|
- Updated dependencies [f4180d4]
|
|
127
148
|
- Updated dependencies [64d84e1]
|
|
128
|
-
- @contractspec/lib.contracts@1.53.0
|
|
149
|
+
- @contractspec/lib.contracts-spec@1.53.0
|
|
129
150
|
|
|
130
151
|
## 1.52.0
|
|
131
152
|
|
|
@@ -136,7 +157,7 @@
|
|
|
136
157
|
### Patch Changes
|
|
137
158
|
|
|
138
159
|
- Updated dependencies [d93e6a9]
|
|
139
|
-
- @contractspec/lib.contracts@1.52.0
|
|
160
|
+
- @contractspec/lib.contracts-spec@1.52.0
|
|
140
161
|
|
|
141
162
|
## 1.51.0
|
|
142
163
|
|
|
@@ -149,7 +170,7 @@
|
|
|
149
170
|
- Updated dependencies [23e46e9]
|
|
150
171
|
- Updated dependencies [ad1f852]
|
|
151
172
|
- Updated dependencies [e6faefb]
|
|
152
|
-
- @contractspec/lib.contracts@1.51.0
|
|
173
|
+
- @contractspec/lib.contracts-spec@1.51.0
|
|
153
174
|
|
|
154
175
|
## 1.50.0
|
|
155
176
|
|
|
@@ -160,7 +181,7 @@
|
|
|
160
181
|
### Patch Changes
|
|
161
182
|
|
|
162
183
|
- Updated dependencies [5325d6b]
|
|
163
|
-
- @contractspec/lib.contracts@1.50.0
|
|
184
|
+
- @contractspec/lib.contracts-spec@1.50.0
|
|
164
185
|
|
|
165
186
|
## 1.49.0
|
|
166
187
|
|
|
@@ -171,14 +192,14 @@
|
|
|
171
192
|
### Patch Changes
|
|
172
193
|
|
|
173
194
|
- Updated dependencies [cafd041]
|
|
174
|
-
- @contractspec/lib.contracts@1.49.0
|
|
195
|
+
- @contractspec/lib.contracts-spec@1.49.0
|
|
175
196
|
|
|
176
197
|
## 1.48.1
|
|
177
198
|
|
|
178
199
|
### Patch Changes
|
|
179
200
|
|
|
180
201
|
- Updated dependencies [c560ee7]
|
|
181
|
-
- @contractspec/lib.contracts@1.48.1
|
|
202
|
+
- @contractspec/lib.contracts-spec@1.48.1
|
|
182
203
|
|
|
183
204
|
## 1.48.0
|
|
184
205
|
|
|
@@ -189,7 +210,7 @@
|
|
|
189
210
|
### Patch Changes
|
|
190
211
|
|
|
191
212
|
- Updated dependencies [b0444a4]
|
|
192
|
-
- @contractspec/lib.contracts@1.48.0
|
|
213
|
+
- @contractspec/lib.contracts-spec@1.48.0
|
|
193
214
|
|
|
194
215
|
## 1.47.0
|
|
195
216
|
|
|
@@ -210,7 +231,7 @@
|
|
|
210
231
|
- Updated dependencies [c231a8b]
|
|
211
232
|
- Updated dependencies [42b8d78]
|
|
212
233
|
- Updated dependencies [fd38e85]
|
|
213
|
-
- @contractspec/lib.contracts@1.47.0
|
|
234
|
+
- @contractspec/lib.contracts-spec@1.47.0
|
|
214
235
|
|
|
215
236
|
## 1.46.2
|
|
216
237
|
|
|
@@ -218,7 +239,7 @@
|
|
|
218
239
|
|
|
219
240
|
- 7e21625: feat: library services (landing page & api)
|
|
220
241
|
- Updated dependencies [7e21625]
|
|
221
|
-
- @contractspec/lib.contracts@1.46.2
|
|
242
|
+
- @contractspec/lib.contracts-spec@1.46.2
|
|
222
243
|
|
|
223
244
|
## 1.46.1
|
|
224
245
|
|
|
@@ -226,7 +247,7 @@
|
|
|
226
247
|
|
|
227
248
|
- 2d8a72b: fix: mcp for presentation
|
|
228
249
|
- Updated dependencies [2d8a72b]
|
|
229
|
-
- @contractspec/lib.contracts@1.46.1
|
|
250
|
+
- @contractspec/lib.contracts-spec@1.46.1
|
|
230
251
|
|
|
231
252
|
## 1.46.0
|
|
232
253
|
|
|
@@ -237,7 +258,7 @@
|
|
|
237
258
|
### Patch Changes
|
|
238
259
|
|
|
239
260
|
- Updated dependencies [07cb19b]
|
|
240
|
-
- @contractspec/lib.contracts@1.46.0
|
|
261
|
+
- @contractspec/lib.contracts-spec@1.46.0
|
|
241
262
|
|
|
242
263
|
## 1.45.6
|
|
243
264
|
|
|
@@ -245,7 +266,7 @@
|
|
|
245
266
|
|
|
246
267
|
- a913074: feat: improve ai agents rules management"
|
|
247
268
|
- Updated dependencies [a913074]
|
|
248
|
-
- @contractspec/lib.contracts@1.45.6
|
|
269
|
+
- @contractspec/lib.contracts-spec@1.45.6
|
|
249
270
|
|
|
250
271
|
## 1.45.5
|
|
251
272
|
|
|
@@ -253,7 +274,7 @@
|
|
|
253
274
|
|
|
254
275
|
- 9ddd7fa: feat: improve versioning
|
|
255
276
|
- Updated dependencies [9ddd7fa]
|
|
256
|
-
- @contractspec/lib.contracts@1.45.5
|
|
277
|
+
- @contractspec/lib.contracts-spec@1.45.5
|
|
257
278
|
|
|
258
279
|
## 1.45.4
|
|
259
280
|
|
|
@@ -261,7 +282,7 @@
|
|
|
261
282
|
|
|
262
283
|
- fix: github action
|
|
263
284
|
- Updated dependencies
|
|
264
|
-
- @contractspec/lib.contracts@1.45.4
|
|
285
|
+
- @contractspec/lib.contracts-spec@1.45.4
|
|
265
286
|
|
|
266
287
|
## 1.45.3
|
|
267
288
|
|
|
@@ -269,7 +290,7 @@
|
|
|
269
290
|
|
|
270
291
|
- e74ea9e: feat: version management
|
|
271
292
|
- Updated dependencies [e74ea9e]
|
|
272
|
-
- @contractspec/lib.contracts@1.45.3
|
|
293
|
+
- @contractspec/lib.contracts-spec@1.45.3
|
|
273
294
|
|
|
274
295
|
## 1.45.2
|
|
275
296
|
|
|
@@ -277,7 +298,7 @@
|
|
|
277
298
|
|
|
278
299
|
- 39ca241: code cleaning
|
|
279
300
|
- Updated dependencies [39ca241]
|
|
280
|
-
- @contractspec/lib.contracts@1.45.2
|
|
301
|
+
- @contractspec/lib.contracts-spec@1.45.2
|
|
281
302
|
|
|
282
303
|
## 1.45.1
|
|
283
304
|
|
|
@@ -285,7 +306,7 @@
|
|
|
285
306
|
|
|
286
307
|
- feat: improve app config and examples contracts
|
|
287
308
|
- Updated dependencies
|
|
288
|
-
- @contractspec/lib.contracts@1.45.1
|
|
309
|
+
- @contractspec/lib.contracts-spec@1.45.1
|
|
289
310
|
- @contractspec/lib.schema@1.45.1
|
|
290
311
|
|
|
291
312
|
## 1.45.0
|
|
@@ -311,7 +332,7 @@
|
|
|
311
332
|
### Patch Changes
|
|
312
333
|
|
|
313
334
|
- Updated dependencies [e73ca1d]
|
|
314
|
-
- @contractspec/lib.contracts@1.45.0
|
|
335
|
+
- @contractspec/lib.contracts-spec@1.45.0
|
|
315
336
|
- @contractspec/lib.schema@1.45.0
|
|
316
337
|
|
|
317
338
|
## 1.44.1
|
|
@@ -320,7 +341,7 @@
|
|
|
320
341
|
|
|
321
342
|
- 3c594fb: fix
|
|
322
343
|
- Updated dependencies [3c594fb]
|
|
323
|
-
- @contractspec/lib.contracts@1.44.1
|
|
344
|
+
- @contractspec/lib.contracts-spec@1.44.1
|
|
324
345
|
- @contractspec/lib.schema@1.44.1
|
|
325
346
|
|
|
326
347
|
## 1.44.0
|
|
@@ -332,7 +353,7 @@
|
|
|
332
353
|
### Patch Changes
|
|
333
354
|
|
|
334
355
|
- Updated dependencies [5f3a868]
|
|
335
|
-
- @contractspec/lib.contracts@1.44.0
|
|
356
|
+
- @contractspec/lib.contracts-spec@1.44.0
|
|
336
357
|
- @contractspec/lib.schema@1.44.0
|
|
337
358
|
|
|
338
359
|
## 1.43.4
|
|
@@ -341,7 +362,7 @@
|
|
|
341
362
|
|
|
342
363
|
- 9216062: fix: cross-platform compatibility
|
|
343
364
|
- Updated dependencies [9216062]
|
|
344
|
-
- @contractspec/lib.contracts@1.43.4
|
|
365
|
+
- @contractspec/lib.contracts-spec@1.43.4
|
|
345
366
|
- @contractspec/lib.schema@1.43.3
|
|
346
367
|
|
|
347
368
|
## 1.43.3
|
|
@@ -350,7 +371,7 @@
|
|
|
350
371
|
|
|
351
372
|
- 24d9759: improve documentation
|
|
352
373
|
- Updated dependencies [24d9759]
|
|
353
|
-
- @contractspec/lib.contracts@1.43.3
|
|
374
|
+
- @contractspec/lib.contracts-spec@1.43.3
|
|
354
375
|
- @contractspec/lib.schema@1.43.2
|
|
355
376
|
|
|
356
377
|
## 1.43.2
|
|
@@ -359,7 +380,7 @@
|
|
|
359
380
|
|
|
360
381
|
- e147271: fix: improve stability
|
|
361
382
|
- Updated dependencies [e147271]
|
|
362
|
-
- @contractspec/lib.contracts@1.43.2
|
|
383
|
+
- @contractspec/lib.contracts-spec@1.43.2
|
|
363
384
|
- @contractspec/lib.schema@1.43.1
|
|
364
385
|
|
|
365
386
|
## 1.43.1
|
|
@@ -367,7 +388,7 @@
|
|
|
367
388
|
### Patch Changes
|
|
368
389
|
|
|
369
390
|
- Updated dependencies [f28fdad]
|
|
370
|
-
- @contractspec/lib.contracts@1.43.1
|
|
391
|
+
- @contractspec/lib.contracts-spec@1.43.1
|
|
371
392
|
|
|
372
393
|
## 1.43.0
|
|
373
394
|
|
|
@@ -378,7 +399,7 @@
|
|
|
378
399
|
### Patch Changes
|
|
379
400
|
|
|
380
401
|
- Updated dependencies [042d072]
|
|
381
|
-
- @contractspec/lib.contracts@1.43.0
|
|
402
|
+
- @contractspec/lib.contracts-spec@1.43.0
|
|
382
403
|
- @contractspec/lib.schema@1.43.0
|
|
383
404
|
|
|
384
405
|
## 1.42.10
|
|
@@ -387,7 +408,7 @@
|
|
|
387
408
|
|
|
388
409
|
- 1e6a0f1: fix: mcp server
|
|
389
410
|
- Updated dependencies [1e6a0f1]
|
|
390
|
-
- @contractspec/lib.contracts@1.42.10
|
|
411
|
+
- @contractspec/lib.contracts-spec@1.42.10
|
|
391
412
|
- @contractspec/lib.schema@1.42.10
|
|
392
413
|
|
|
393
414
|
## 1.42.9
|
|
@@ -396,7 +417,7 @@
|
|
|
396
417
|
|
|
397
418
|
- 9281db7: fix ModelRegistry
|
|
398
419
|
- Updated dependencies [9281db7]
|
|
399
|
-
- @contractspec/lib.contracts@1.42.9
|
|
420
|
+
- @contractspec/lib.contracts-spec@1.42.9
|
|
400
421
|
- @contractspec/lib.schema@1.42.9
|
|
401
422
|
|
|
402
423
|
## 1.42.8
|
|
@@ -405,7 +426,7 @@
|
|
|
405
426
|
|
|
406
427
|
- e07b5ac: fix
|
|
407
428
|
- Updated dependencies [e07b5ac]
|
|
408
|
-
- @contractspec/lib.contracts@1.42.8
|
|
429
|
+
- @contractspec/lib.contracts-spec@1.42.8
|
|
409
430
|
- @contractspec/lib.schema@1.42.8
|
|
410
431
|
|
|
411
432
|
## 1.42.7
|
|
@@ -414,7 +435,7 @@
|
|
|
414
435
|
|
|
415
436
|
- e9b575d: fix release
|
|
416
437
|
- Updated dependencies [e9b575d]
|
|
417
|
-
- @contractspec/lib.contracts@1.42.7
|
|
438
|
+
- @contractspec/lib.contracts-spec@1.42.7
|
|
418
439
|
- @contractspec/lib.schema@1.42.7
|
|
419
440
|
|
|
420
441
|
## 1.42.6
|
|
@@ -423,7 +444,7 @@
|
|
|
423
444
|
|
|
424
445
|
- 1500242: fix tooling
|
|
425
446
|
- Updated dependencies [1500242]
|
|
426
|
-
- @contractspec/lib.contracts@1.42.6
|
|
447
|
+
- @contractspec/lib.contracts-spec@1.42.6
|
|
427
448
|
- @contractspec/lib.schema@1.42.6
|
|
428
449
|
|
|
429
450
|
## 1.42.5
|
|
@@ -432,7 +453,7 @@
|
|
|
432
453
|
|
|
433
454
|
- 1299719: fix vscode
|
|
434
455
|
- Updated dependencies [1299719]
|
|
435
|
-
- @contractspec/lib.contracts@1.42.5
|
|
456
|
+
- @contractspec/lib.contracts-spec@1.42.5
|
|
436
457
|
- @contractspec/lib.schema@1.42.5
|
|
437
458
|
|
|
438
459
|
## 1.42.4
|
|
@@ -441,7 +462,7 @@
|
|
|
441
462
|
|
|
442
463
|
- ac28b99: fix: generate from openapi
|
|
443
464
|
- Updated dependencies [ac28b99]
|
|
444
|
-
- @contractspec/lib.contracts@1.42.4
|
|
465
|
+
- @contractspec/lib.contracts-spec@1.42.4
|
|
445
466
|
- @contractspec/lib.schema@1.42.4
|
|
446
467
|
|
|
447
468
|
## 1.42.3
|
|
@@ -450,7 +471,7 @@
|
|
|
450
471
|
|
|
451
472
|
- 3f5d015: fix(tooling): cicd
|
|
452
473
|
- Updated dependencies [3f5d015]
|
|
453
|
-
- @contractspec/lib.contracts@1.42.3
|
|
474
|
+
- @contractspec/lib.contracts-spec@1.42.3
|
|
454
475
|
- @contractspec/lib.schema@1.42.3
|
|
455
476
|
|
|
456
477
|
## 1.42.2
|
|
@@ -459,7 +480,7 @@
|
|
|
459
480
|
|
|
460
481
|
- 1f9ac4c: fix
|
|
461
482
|
- Updated dependencies [1f9ac4c]
|
|
462
|
-
- @contractspec/lib.contracts@1.42.2
|
|
483
|
+
- @contractspec/lib.contracts-spec@1.42.2
|
|
463
484
|
- @contractspec/lib.schema@1.42.2
|
|
464
485
|
|
|
465
486
|
## 1.42.1
|
|
@@ -468,7 +489,7 @@
|
|
|
468
489
|
|
|
469
490
|
- f043995: Fix release
|
|
470
491
|
- Updated dependencies [f043995]
|
|
471
|
-
- @contractspec/lib.contracts@1.42.1
|
|
492
|
+
- @contractspec/lib.contracts-spec@1.42.1
|
|
472
493
|
- @contractspec/lib.schema@1.42.1
|
|
473
494
|
|
|
474
495
|
## 1.42.0
|
|
@@ -480,5 +501,5 @@
|
|
|
480
501
|
### Patch Changes
|
|
481
502
|
|
|
482
503
|
- Updated dependencies [8eefd9c]
|
|
483
|
-
- @contractspec/lib.contracts@1.42.0
|
|
504
|
+
- @contractspec/lib.contracts-spec@1.42.0
|
|
484
505
|
- @contractspec/lib.schema@1.42.0
|
package/dist/agent.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { ResolvedAppConfig } from '@contractspec/lib.contracts/app-config/runtime';
|
|
1
|
+
import type { ResolvedAppConfig } from '@contractspec/lib.contracts-spec/app-config/runtime';
|
|
2
2
|
/**
|
|
3
3
|
* Selects knowledge bindings that apply to a workflow or agent identifier.
|
|
4
4
|
*/
|
|
5
5
|
export declare function selectKnowledgeBindings(resolved: ResolvedAppConfig, options: {
|
|
6
6
|
workflowId?: string;
|
|
7
7
|
agentId?: string;
|
|
8
|
-
}): import("@contractspec/lib.contracts").ResolvedKnowledge[];
|
|
8
|
+
}): import("@contractspec/lib.contracts-spec/app-config/runtime").ResolvedKnowledge[];
|
|
9
9
|
/**
|
|
10
10
|
* Pseudo implementation of an assistant lookup that routes prompts to the appropriate
|
|
11
11
|
* knowledge sources. In a real system this would call the ingestion/search services.
|
|
@@ -14,4 +14,3 @@ export declare function answerWithKnowledge(resolved: ResolvedAppConfig, questio
|
|
|
14
14
|
workflowId?: string;
|
|
15
15
|
agentId?: string;
|
|
16
16
|
}): Promise<string>;
|
|
17
|
-
//# sourceMappingURL=agent.d.ts.map
|
package/dist/blueprint.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type { AppBlueprintSpec } from '@contractspec/lib.contracts/app-config/spec';
|
|
1
|
+
import type { AppBlueprintSpec } from '@contractspec/lib.contracts-spec/app-config/spec';
|
|
2
2
|
export declare const artisanKnowledgeBlueprint: AppBlueprintSpec;
|
|
3
|
-
//# sourceMappingURL=blueprint.d.ts.map
|
package/dist/blueprint.js
CHANGED
package/dist/browser/example.js
CHANGED
package/dist/browser/index.js
CHANGED
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
OwnersEnum,
|
|
32
32
|
StabilityEnum,
|
|
33
33
|
TagsEnum
|
|
34
|
-
} from "@contractspec/lib.contracts/ownership";
|
|
34
|
+
} from "@contractspec/lib.contracts-spec/ownership";
|
|
35
35
|
var artisanKnowledgeBlueprint = {
|
|
36
36
|
meta: {
|
|
37
37
|
key: "artisan.knowledge.product",
|
|
@@ -51,7 +51,7 @@ var artisanKnowledgeBlueprint = {
|
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
// src/docs/knowledge-canon.docblock.ts
|
|
54
|
-
import { registerDocBlocks } from "@contractspec/lib.contracts/docs";
|
|
54
|
+
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
55
55
|
var blocks = [
|
|
56
56
|
{
|
|
57
57
|
id: "docs.examples.knowledge-canon",
|
|
@@ -93,7 +93,7 @@ var blocks = [
|
|
|
93
93
|
];
|
|
94
94
|
registerDocBlocks(blocks);
|
|
95
95
|
// src/example.ts
|
|
96
|
-
import { defineExample } from "@contractspec/lib.contracts";
|
|
96
|
+
import { defineExample } from "@contractspec/lib.contracts-spec";
|
|
97
97
|
var example = defineExample({
|
|
98
98
|
meta: {
|
|
99
99
|
key: "knowledge-canon",
|
package/dist/docs/index.d.ts
CHANGED
package/dist/docs/index.js
CHANGED
package/dist/example.d.ts
CHANGED
package/dist/example.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
OwnersEnum,
|
|
33
33
|
StabilityEnum,
|
|
34
34
|
TagsEnum
|
|
35
|
-
} from "@contractspec/lib.contracts/ownership";
|
|
35
|
+
} from "@contractspec/lib.contracts-spec/ownership";
|
|
36
36
|
var artisanKnowledgeBlueprint = {
|
|
37
37
|
meta: {
|
|
38
38
|
key: "artisan.knowledge.product",
|
|
@@ -52,7 +52,7 @@ var artisanKnowledgeBlueprint = {
|
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
// src/docs/knowledge-canon.docblock.ts
|
|
55
|
-
import { registerDocBlocks } from "@contractspec/lib.contracts/docs";
|
|
55
|
+
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
56
56
|
var blocks = [
|
|
57
57
|
{
|
|
58
58
|
id: "docs.examples.knowledge-canon",
|
|
@@ -94,7 +94,7 @@ var blocks = [
|
|
|
94
94
|
];
|
|
95
95
|
registerDocBlocks(blocks);
|
|
96
96
|
// src/example.ts
|
|
97
|
-
import { defineExample } from "@contractspec/lib.contracts";
|
|
97
|
+
import { defineExample } from "@contractspec/lib.contracts-spec";
|
|
98
98
|
var example = defineExample({
|
|
99
99
|
meta: {
|
|
100
100
|
key: "knowledge-canon",
|
package/dist/node/blueprint.js
CHANGED
package/dist/node/docs/index.js
CHANGED
package/dist/node/example.js
CHANGED
package/dist/node/index.js
CHANGED
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
OwnersEnum,
|
|
32
32
|
StabilityEnum,
|
|
33
33
|
TagsEnum
|
|
34
|
-
} from "@contractspec/lib.contracts/ownership";
|
|
34
|
+
} from "@contractspec/lib.contracts-spec/ownership";
|
|
35
35
|
var artisanKnowledgeBlueprint = {
|
|
36
36
|
meta: {
|
|
37
37
|
key: "artisan.knowledge.product",
|
|
@@ -51,7 +51,7 @@ var artisanKnowledgeBlueprint = {
|
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
// src/docs/knowledge-canon.docblock.ts
|
|
54
|
-
import { registerDocBlocks } from "@contractspec/lib.contracts/docs";
|
|
54
|
+
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
55
55
|
var blocks = [
|
|
56
56
|
{
|
|
57
57
|
id: "docs.examples.knowledge-canon",
|
|
@@ -93,7 +93,7 @@ var blocks = [
|
|
|
93
93
|
];
|
|
94
94
|
registerDocBlocks(blocks);
|
|
95
95
|
// src/example.ts
|
|
96
|
-
import { defineExample } from "@contractspec/lib.contracts";
|
|
96
|
+
import { defineExample } from "@contractspec/lib.contracts-spec";
|
|
97
97
|
var example = defineExample({
|
|
98
98
|
meta: {
|
|
99
99
|
key: "knowledge-canon",
|
package/dist/source.sample.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type { KnowledgeSourceConfig } from '@contractspec/lib.contracts/knowledge/source';
|
|
1
|
+
import type { KnowledgeSourceConfig } from '@contractspec/lib.contracts-spec/knowledge/source';
|
|
2
2
|
export declare const productCanonNotionSource: KnowledgeSourceConfig;
|
|
3
|
-
//# sourceMappingURL=source.sample.d.ts.map
|
package/dist/tenant.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type { TenantAppConfig } from '@contractspec/lib.contracts/app-config/spec';
|
|
1
|
+
import type { TenantAppConfig } from '@contractspec/lib.contracts-spec/app-config/spec';
|
|
2
2
|
export declare const artisanKnowledgeTenantConfig: TenantAppConfig;
|
|
3
|
-
//# sourceMappingURL=tenant.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.knowledge-canon",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Knowledge example – Product Canon space (blueprint + tenant config + source sample + runtime helper).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -80,17 +80,17 @@
|
|
|
80
80
|
"lint": "bun lint:fix",
|
|
81
81
|
"lint:fix": "eslint src --fix",
|
|
82
82
|
"lint:check": "eslint src",
|
|
83
|
-
"test": "bun test",
|
|
83
|
+
"test": "bun test --pass-with-no-tests",
|
|
84
84
|
"prebuild": "contractspec-bun-build prebuild",
|
|
85
85
|
"typecheck": "tsc --noEmit"
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@contractspec/lib.contracts": "
|
|
88
|
+
"@contractspec/lib.contracts-spec": "2.0.0"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
|
-
"@contractspec/tool.typescript": "
|
|
91
|
+
"@contractspec/tool.typescript": "2.0.0",
|
|
92
92
|
"typescript": "^5.9.3",
|
|
93
|
-
"@contractspec/tool.bun": "
|
|
93
|
+
"@contractspec/tool.bun": "2.0.0"
|
|
94
94
|
},
|
|
95
95
|
"publishConfig": {
|
|
96
96
|
"access": "public",
|
package/src/agent.ts
CHANGED
package/src/blueprint.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { AppBlueprintSpec } from '@contractspec/lib.contracts/app-config/spec';
|
|
1
|
+
import type { AppBlueprintSpec } from '@contractspec/lib.contracts-spec/app-config/spec';
|
|
2
2
|
import {
|
|
3
3
|
OwnersEnum,
|
|
4
4
|
StabilityEnum,
|
|
5
5
|
TagsEnum,
|
|
6
|
-
} from '@contractspec/lib.contracts/ownership';
|
|
6
|
+
} from '@contractspec/lib.contracts-spec/ownership';
|
|
7
7
|
|
|
8
8
|
export const artisanKnowledgeBlueprint: AppBlueprintSpec = {
|
|
9
9
|
meta: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DocBlock } from '@contractspec/lib.contracts/docs';
|
|
2
|
-
import { registerDocBlocks } from '@contractspec/lib.contracts/docs';
|
|
1
|
+
import type { DocBlock } from '@contractspec/lib.contracts-spec/docs';
|
|
2
|
+
import { registerDocBlocks } from '@contractspec/lib.contracts-spec/docs';
|
|
3
3
|
|
|
4
4
|
const blocks: DocBlock[] = [
|
|
5
5
|
{
|
package/src/example.ts
CHANGED
package/src/source.sample.ts
CHANGED
package/src/tenant.ts
CHANGED
package/dist/agent.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../src/agent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAExF;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,iBAAiB,EAC3B,OAAO,EAAE;IAAE,UAAU,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,6DAanD;AAED;;;GAGG;AACH,wBAAsB,mBAAmB,CACvC,QAAQ,EAAE,iBAAiB,EAC3B,QAAQ,EAAE,MAAM,EAChB,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE;IAAE,UAAU,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GACjE,OAAO,CAAC,MAAM,CAAC,CAgBjB"}
|
package/dist/blueprint.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blueprint.d.ts","sourceRoot":"","sources":["../src/blueprint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAOpF,eAAO,MAAM,yBAAyB,EAAE,gBAkBvC,CAAC"}
|
package/dist/docs/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/docs/index.ts"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"knowledge-canon.docblock.d.ts","sourceRoot":"","sources":["../../src/docs/knowledge-canon.docblock.ts"],"names":[],"mappings":""}
|
package/dist/example.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../src/example.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,OAAO,mDA2BX,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"source.sample.d.ts","sourceRoot":"","sources":["../src/source.sample.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AAE1F,eAAO,MAAM,wBAAwB,EAAE,qBAwBtC,CAAC"}
|
package/dist/tenant.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tenant.d.ts","sourceRoot":"","sources":["../src/tenant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAEnF,eAAO,MAAM,4BAA4B,EAAE,eA6B1C,CAAC"}
|