@contractspec/example.knowledge-canon 1.61.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 +12 -12
- package/CHANGELOG.md +78 -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,15 +27,15 @@ 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
|
-
$ contractspec-bun-build types
|
|
33
32
|
./agent.js 0.99 KB (entry point)
|
|
34
|
-
./index.js 5.
|
|
35
|
-
./blueprint.js 0.
|
|
33
|
+
./index.js 5.98 KB (entry point)
|
|
34
|
+
./blueprint.js 0.82 KB (entry point)
|
|
36
35
|
docs/index.js 1.66 KB (entry point)
|
|
37
36
|
docs/knowledge-canon.docblock.js 1.66 KB (entry point)
|
|
38
37
|
./example.js 1.0 KB (entry point)
|
|
39
38
|
./source.sample.js 0.66 KB (entry point)
|
|
40
39
|
./tenant.js 0.84 KB (entry point)
|
|
41
40
|
|
|
41
|
+
$ contractspec-bun-build types
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
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
|
+
|
|
24
|
+
## 1.62.0
|
|
25
|
+
|
|
26
|
+
### Minor Changes
|
|
27
|
+
|
|
28
|
+
- 064258d: feat: upgrade all dependencies
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Updated dependencies [064258d]
|
|
33
|
+
- Updated dependencies [064258d]
|
|
34
|
+
- @contractspec/lib.contracts@1.62.0
|
|
35
|
+
|
|
3
36
|
## 1.61.0
|
|
4
37
|
|
|
5
38
|
### Minor Changes
|
|
@@ -9,7 +42,7 @@
|
|
|
9
42
|
### Patch Changes
|
|
10
43
|
|
|
11
44
|
- Updated dependencies [374fd71]
|
|
12
|
-
- @contractspec/lib.contracts@1.61.0
|
|
45
|
+
- @contractspec/lib.contracts-spec@1.61.0
|
|
13
46
|
|
|
14
47
|
## 1.60.0
|
|
15
48
|
|
|
@@ -20,7 +53,7 @@
|
|
|
20
53
|
### Patch Changes
|
|
21
54
|
|
|
22
55
|
- Updated dependencies
|
|
23
|
-
- @contractspec/lib.contracts@1.60.0
|
|
56
|
+
- @contractspec/lib.contracts-spec@1.60.0
|
|
24
57
|
|
|
25
58
|
## 1.59.0
|
|
26
59
|
|
|
@@ -31,7 +64,7 @@
|
|
|
31
64
|
### Patch Changes
|
|
32
65
|
|
|
33
66
|
- Updated dependencies [1a0cf44]
|
|
34
|
-
- @contractspec/lib.contracts@1.59.0
|
|
67
|
+
- @contractspec/lib.contracts-spec@1.59.0
|
|
35
68
|
|
|
36
69
|
## 1.58.0
|
|
37
70
|
|
|
@@ -43,7 +76,7 @@
|
|
|
43
76
|
|
|
44
77
|
- Updated dependencies [d1f0fd0]
|
|
45
78
|
- Updated dependencies [4355a9e]
|
|
46
|
-
- @contractspec/lib.contracts@1.58.0
|
|
79
|
+
- @contractspec/lib.contracts-spec@1.58.0
|
|
47
80
|
|
|
48
81
|
## 1.57.0
|
|
49
82
|
|
|
@@ -59,7 +92,7 @@
|
|
|
59
92
|
- Updated dependencies [4651e06]
|
|
60
93
|
- Updated dependencies [ad9d10a]
|
|
61
94
|
- Updated dependencies [11a5a05]
|
|
62
|
-
- @contractspec/lib.contracts@1.57.0
|
|
95
|
+
- @contractspec/lib.contracts-spec@1.57.0
|
|
63
96
|
|
|
64
97
|
## 1.56.1
|
|
65
98
|
|
|
@@ -67,7 +100,7 @@
|
|
|
67
100
|
|
|
68
101
|
- fix: improve publish config
|
|
69
102
|
- Updated dependencies
|
|
70
|
-
- @contractspec/lib.contracts@1.56.1
|
|
103
|
+
- @contractspec/lib.contracts-spec@1.56.1
|
|
71
104
|
|
|
72
105
|
## 1.56.0
|
|
73
106
|
|
|
@@ -78,7 +111,7 @@
|
|
|
78
111
|
### Patch Changes
|
|
79
112
|
|
|
80
113
|
- Updated dependencies
|
|
81
|
-
- @contractspec/lib.contracts@1.56.0
|
|
114
|
+
- @contractspec/lib.contracts-spec@1.56.0
|
|
82
115
|
|
|
83
116
|
## 1.55.0
|
|
84
117
|
|
|
@@ -89,7 +122,7 @@
|
|
|
89
122
|
### Patch Changes
|
|
90
123
|
|
|
91
124
|
- Updated dependencies
|
|
92
|
-
- @contractspec/lib.contracts@1.55.0
|
|
125
|
+
- @contractspec/lib.contracts-spec@1.55.0
|
|
93
126
|
|
|
94
127
|
## 1.54.0
|
|
95
128
|
|
|
@@ -100,7 +133,7 @@
|
|
|
100
133
|
### Patch Changes
|
|
101
134
|
|
|
102
135
|
- Updated dependencies [ec5e95c]
|
|
103
|
-
- @contractspec/lib.contracts@1.54.0
|
|
136
|
+
- @contractspec/lib.contracts-spec@1.54.0
|
|
104
137
|
|
|
105
138
|
## 1.53.0
|
|
106
139
|
|
|
@@ -113,7 +146,7 @@
|
|
|
113
146
|
- Updated dependencies [5b371b1]
|
|
114
147
|
- Updated dependencies [f4180d4]
|
|
115
148
|
- Updated dependencies [64d84e1]
|
|
116
|
-
- @contractspec/lib.contracts@1.53.0
|
|
149
|
+
- @contractspec/lib.contracts-spec@1.53.0
|
|
117
150
|
|
|
118
151
|
## 1.52.0
|
|
119
152
|
|
|
@@ -124,7 +157,7 @@
|
|
|
124
157
|
### Patch Changes
|
|
125
158
|
|
|
126
159
|
- Updated dependencies [d93e6a9]
|
|
127
|
-
- @contractspec/lib.contracts@1.52.0
|
|
160
|
+
- @contractspec/lib.contracts-spec@1.52.0
|
|
128
161
|
|
|
129
162
|
## 1.51.0
|
|
130
163
|
|
|
@@ -137,7 +170,7 @@
|
|
|
137
170
|
- Updated dependencies [23e46e9]
|
|
138
171
|
- Updated dependencies [ad1f852]
|
|
139
172
|
- Updated dependencies [e6faefb]
|
|
140
|
-
- @contractspec/lib.contracts@1.51.0
|
|
173
|
+
- @contractspec/lib.contracts-spec@1.51.0
|
|
141
174
|
|
|
142
175
|
## 1.50.0
|
|
143
176
|
|
|
@@ -148,7 +181,7 @@
|
|
|
148
181
|
### Patch Changes
|
|
149
182
|
|
|
150
183
|
- Updated dependencies [5325d6b]
|
|
151
|
-
- @contractspec/lib.contracts@1.50.0
|
|
184
|
+
- @contractspec/lib.contracts-spec@1.50.0
|
|
152
185
|
|
|
153
186
|
## 1.49.0
|
|
154
187
|
|
|
@@ -159,14 +192,14 @@
|
|
|
159
192
|
### Patch Changes
|
|
160
193
|
|
|
161
194
|
- Updated dependencies [cafd041]
|
|
162
|
-
- @contractspec/lib.contracts@1.49.0
|
|
195
|
+
- @contractspec/lib.contracts-spec@1.49.0
|
|
163
196
|
|
|
164
197
|
## 1.48.1
|
|
165
198
|
|
|
166
199
|
### Patch Changes
|
|
167
200
|
|
|
168
201
|
- Updated dependencies [c560ee7]
|
|
169
|
-
- @contractspec/lib.contracts@1.48.1
|
|
202
|
+
- @contractspec/lib.contracts-spec@1.48.1
|
|
170
203
|
|
|
171
204
|
## 1.48.0
|
|
172
205
|
|
|
@@ -177,7 +210,7 @@
|
|
|
177
210
|
### Patch Changes
|
|
178
211
|
|
|
179
212
|
- Updated dependencies [b0444a4]
|
|
180
|
-
- @contractspec/lib.contracts@1.48.0
|
|
213
|
+
- @contractspec/lib.contracts-spec@1.48.0
|
|
181
214
|
|
|
182
215
|
## 1.47.0
|
|
183
216
|
|
|
@@ -198,7 +231,7 @@
|
|
|
198
231
|
- Updated dependencies [c231a8b]
|
|
199
232
|
- Updated dependencies [42b8d78]
|
|
200
233
|
- Updated dependencies [fd38e85]
|
|
201
|
-
- @contractspec/lib.contracts@1.47.0
|
|
234
|
+
- @contractspec/lib.contracts-spec@1.47.0
|
|
202
235
|
|
|
203
236
|
## 1.46.2
|
|
204
237
|
|
|
@@ -206,7 +239,7 @@
|
|
|
206
239
|
|
|
207
240
|
- 7e21625: feat: library services (landing page & api)
|
|
208
241
|
- Updated dependencies [7e21625]
|
|
209
|
-
- @contractspec/lib.contracts@1.46.2
|
|
242
|
+
- @contractspec/lib.contracts-spec@1.46.2
|
|
210
243
|
|
|
211
244
|
## 1.46.1
|
|
212
245
|
|
|
@@ -214,7 +247,7 @@
|
|
|
214
247
|
|
|
215
248
|
- 2d8a72b: fix: mcp for presentation
|
|
216
249
|
- Updated dependencies [2d8a72b]
|
|
217
|
-
- @contractspec/lib.contracts@1.46.1
|
|
250
|
+
- @contractspec/lib.contracts-spec@1.46.1
|
|
218
251
|
|
|
219
252
|
## 1.46.0
|
|
220
253
|
|
|
@@ -225,7 +258,7 @@
|
|
|
225
258
|
### Patch Changes
|
|
226
259
|
|
|
227
260
|
- Updated dependencies [07cb19b]
|
|
228
|
-
- @contractspec/lib.contracts@1.46.0
|
|
261
|
+
- @contractspec/lib.contracts-spec@1.46.0
|
|
229
262
|
|
|
230
263
|
## 1.45.6
|
|
231
264
|
|
|
@@ -233,7 +266,7 @@
|
|
|
233
266
|
|
|
234
267
|
- a913074: feat: improve ai agents rules management"
|
|
235
268
|
- Updated dependencies [a913074]
|
|
236
|
-
- @contractspec/lib.contracts@1.45.6
|
|
269
|
+
- @contractspec/lib.contracts-spec@1.45.6
|
|
237
270
|
|
|
238
271
|
## 1.45.5
|
|
239
272
|
|
|
@@ -241,7 +274,7 @@
|
|
|
241
274
|
|
|
242
275
|
- 9ddd7fa: feat: improve versioning
|
|
243
276
|
- Updated dependencies [9ddd7fa]
|
|
244
|
-
- @contractspec/lib.contracts@1.45.5
|
|
277
|
+
- @contractspec/lib.contracts-spec@1.45.5
|
|
245
278
|
|
|
246
279
|
## 1.45.4
|
|
247
280
|
|
|
@@ -249,7 +282,7 @@
|
|
|
249
282
|
|
|
250
283
|
- fix: github action
|
|
251
284
|
- Updated dependencies
|
|
252
|
-
- @contractspec/lib.contracts@1.45.4
|
|
285
|
+
- @contractspec/lib.contracts-spec@1.45.4
|
|
253
286
|
|
|
254
287
|
## 1.45.3
|
|
255
288
|
|
|
@@ -257,7 +290,7 @@
|
|
|
257
290
|
|
|
258
291
|
- e74ea9e: feat: version management
|
|
259
292
|
- Updated dependencies [e74ea9e]
|
|
260
|
-
- @contractspec/lib.contracts@1.45.3
|
|
293
|
+
- @contractspec/lib.contracts-spec@1.45.3
|
|
261
294
|
|
|
262
295
|
## 1.45.2
|
|
263
296
|
|
|
@@ -265,7 +298,7 @@
|
|
|
265
298
|
|
|
266
299
|
- 39ca241: code cleaning
|
|
267
300
|
- Updated dependencies [39ca241]
|
|
268
|
-
- @contractspec/lib.contracts@1.45.2
|
|
301
|
+
- @contractspec/lib.contracts-spec@1.45.2
|
|
269
302
|
|
|
270
303
|
## 1.45.1
|
|
271
304
|
|
|
@@ -273,7 +306,7 @@
|
|
|
273
306
|
|
|
274
307
|
- feat: improve app config and examples contracts
|
|
275
308
|
- Updated dependencies
|
|
276
|
-
- @contractspec/lib.contracts@1.45.1
|
|
309
|
+
- @contractspec/lib.contracts-spec@1.45.1
|
|
277
310
|
- @contractspec/lib.schema@1.45.1
|
|
278
311
|
|
|
279
312
|
## 1.45.0
|
|
@@ -299,7 +332,7 @@
|
|
|
299
332
|
### Patch Changes
|
|
300
333
|
|
|
301
334
|
- Updated dependencies [e73ca1d]
|
|
302
|
-
- @contractspec/lib.contracts@1.45.0
|
|
335
|
+
- @contractspec/lib.contracts-spec@1.45.0
|
|
303
336
|
- @contractspec/lib.schema@1.45.0
|
|
304
337
|
|
|
305
338
|
## 1.44.1
|
|
@@ -308,7 +341,7 @@
|
|
|
308
341
|
|
|
309
342
|
- 3c594fb: fix
|
|
310
343
|
- Updated dependencies [3c594fb]
|
|
311
|
-
- @contractspec/lib.contracts@1.44.1
|
|
344
|
+
- @contractspec/lib.contracts-spec@1.44.1
|
|
312
345
|
- @contractspec/lib.schema@1.44.1
|
|
313
346
|
|
|
314
347
|
## 1.44.0
|
|
@@ -320,7 +353,7 @@
|
|
|
320
353
|
### Patch Changes
|
|
321
354
|
|
|
322
355
|
- Updated dependencies [5f3a868]
|
|
323
|
-
- @contractspec/lib.contracts@1.44.0
|
|
356
|
+
- @contractspec/lib.contracts-spec@1.44.0
|
|
324
357
|
- @contractspec/lib.schema@1.44.0
|
|
325
358
|
|
|
326
359
|
## 1.43.4
|
|
@@ -329,7 +362,7 @@
|
|
|
329
362
|
|
|
330
363
|
- 9216062: fix: cross-platform compatibility
|
|
331
364
|
- Updated dependencies [9216062]
|
|
332
|
-
- @contractspec/lib.contracts@1.43.4
|
|
365
|
+
- @contractspec/lib.contracts-spec@1.43.4
|
|
333
366
|
- @contractspec/lib.schema@1.43.3
|
|
334
367
|
|
|
335
368
|
## 1.43.3
|
|
@@ -338,7 +371,7 @@
|
|
|
338
371
|
|
|
339
372
|
- 24d9759: improve documentation
|
|
340
373
|
- Updated dependencies [24d9759]
|
|
341
|
-
- @contractspec/lib.contracts@1.43.3
|
|
374
|
+
- @contractspec/lib.contracts-spec@1.43.3
|
|
342
375
|
- @contractspec/lib.schema@1.43.2
|
|
343
376
|
|
|
344
377
|
## 1.43.2
|
|
@@ -347,7 +380,7 @@
|
|
|
347
380
|
|
|
348
381
|
- e147271: fix: improve stability
|
|
349
382
|
- Updated dependencies [e147271]
|
|
350
|
-
- @contractspec/lib.contracts@1.43.2
|
|
383
|
+
- @contractspec/lib.contracts-spec@1.43.2
|
|
351
384
|
- @contractspec/lib.schema@1.43.1
|
|
352
385
|
|
|
353
386
|
## 1.43.1
|
|
@@ -355,7 +388,7 @@
|
|
|
355
388
|
### Patch Changes
|
|
356
389
|
|
|
357
390
|
- Updated dependencies [f28fdad]
|
|
358
|
-
- @contractspec/lib.contracts@1.43.1
|
|
391
|
+
- @contractspec/lib.contracts-spec@1.43.1
|
|
359
392
|
|
|
360
393
|
## 1.43.0
|
|
361
394
|
|
|
@@ -366,7 +399,7 @@
|
|
|
366
399
|
### Patch Changes
|
|
367
400
|
|
|
368
401
|
- Updated dependencies [042d072]
|
|
369
|
-
- @contractspec/lib.contracts@1.43.0
|
|
402
|
+
- @contractspec/lib.contracts-spec@1.43.0
|
|
370
403
|
- @contractspec/lib.schema@1.43.0
|
|
371
404
|
|
|
372
405
|
## 1.42.10
|
|
@@ -375,7 +408,7 @@
|
|
|
375
408
|
|
|
376
409
|
- 1e6a0f1: fix: mcp server
|
|
377
410
|
- Updated dependencies [1e6a0f1]
|
|
378
|
-
- @contractspec/lib.contracts@1.42.10
|
|
411
|
+
- @contractspec/lib.contracts-spec@1.42.10
|
|
379
412
|
- @contractspec/lib.schema@1.42.10
|
|
380
413
|
|
|
381
414
|
## 1.42.9
|
|
@@ -384,7 +417,7 @@
|
|
|
384
417
|
|
|
385
418
|
- 9281db7: fix ModelRegistry
|
|
386
419
|
- Updated dependencies [9281db7]
|
|
387
|
-
- @contractspec/lib.contracts@1.42.9
|
|
420
|
+
- @contractspec/lib.contracts-spec@1.42.9
|
|
388
421
|
- @contractspec/lib.schema@1.42.9
|
|
389
422
|
|
|
390
423
|
## 1.42.8
|
|
@@ -393,7 +426,7 @@
|
|
|
393
426
|
|
|
394
427
|
- e07b5ac: fix
|
|
395
428
|
- Updated dependencies [e07b5ac]
|
|
396
|
-
- @contractspec/lib.contracts@1.42.8
|
|
429
|
+
- @contractspec/lib.contracts-spec@1.42.8
|
|
397
430
|
- @contractspec/lib.schema@1.42.8
|
|
398
431
|
|
|
399
432
|
## 1.42.7
|
|
@@ -402,7 +435,7 @@
|
|
|
402
435
|
|
|
403
436
|
- e9b575d: fix release
|
|
404
437
|
- Updated dependencies [e9b575d]
|
|
405
|
-
- @contractspec/lib.contracts@1.42.7
|
|
438
|
+
- @contractspec/lib.contracts-spec@1.42.7
|
|
406
439
|
- @contractspec/lib.schema@1.42.7
|
|
407
440
|
|
|
408
441
|
## 1.42.6
|
|
@@ -411,7 +444,7 @@
|
|
|
411
444
|
|
|
412
445
|
- 1500242: fix tooling
|
|
413
446
|
- Updated dependencies [1500242]
|
|
414
|
-
- @contractspec/lib.contracts@1.42.6
|
|
447
|
+
- @contractspec/lib.contracts-spec@1.42.6
|
|
415
448
|
- @contractspec/lib.schema@1.42.6
|
|
416
449
|
|
|
417
450
|
## 1.42.5
|
|
@@ -420,7 +453,7 @@
|
|
|
420
453
|
|
|
421
454
|
- 1299719: fix vscode
|
|
422
455
|
- Updated dependencies [1299719]
|
|
423
|
-
- @contractspec/lib.contracts@1.42.5
|
|
456
|
+
- @contractspec/lib.contracts-spec@1.42.5
|
|
424
457
|
- @contractspec/lib.schema@1.42.5
|
|
425
458
|
|
|
426
459
|
## 1.42.4
|
|
@@ -429,7 +462,7 @@
|
|
|
429
462
|
|
|
430
463
|
- ac28b99: fix: generate from openapi
|
|
431
464
|
- Updated dependencies [ac28b99]
|
|
432
|
-
- @contractspec/lib.contracts@1.42.4
|
|
465
|
+
- @contractspec/lib.contracts-spec@1.42.4
|
|
433
466
|
- @contractspec/lib.schema@1.42.4
|
|
434
467
|
|
|
435
468
|
## 1.42.3
|
|
@@ -438,7 +471,7 @@
|
|
|
438
471
|
|
|
439
472
|
- 3f5d015: fix(tooling): cicd
|
|
440
473
|
- Updated dependencies [3f5d015]
|
|
441
|
-
- @contractspec/lib.contracts@1.42.3
|
|
474
|
+
- @contractspec/lib.contracts-spec@1.42.3
|
|
442
475
|
- @contractspec/lib.schema@1.42.3
|
|
443
476
|
|
|
444
477
|
## 1.42.2
|
|
@@ -447,7 +480,7 @@
|
|
|
447
480
|
|
|
448
481
|
- 1f9ac4c: fix
|
|
449
482
|
- Updated dependencies [1f9ac4c]
|
|
450
|
-
- @contractspec/lib.contracts@1.42.2
|
|
483
|
+
- @contractspec/lib.contracts-spec@1.42.2
|
|
451
484
|
- @contractspec/lib.schema@1.42.2
|
|
452
485
|
|
|
453
486
|
## 1.42.1
|
|
@@ -456,7 +489,7 @@
|
|
|
456
489
|
|
|
457
490
|
- f043995: Fix release
|
|
458
491
|
- Updated dependencies [f043995]
|
|
459
|
-
- @contractspec/lib.contracts@1.42.1
|
|
492
|
+
- @contractspec/lib.contracts-spec@1.42.1
|
|
460
493
|
- @contractspec/lib.schema@1.42.1
|
|
461
494
|
|
|
462
495
|
## 1.42.0
|
|
@@ -468,5 +501,5 @@
|
|
|
468
501
|
### Patch Changes
|
|
469
502
|
|
|
470
503
|
- Updated dependencies [8eefd9c]
|
|
471
|
-
- @contractspec/lib.contracts@1.42.0
|
|
504
|
+
- @contractspec/lib.contracts-spec@1.42.0
|
|
472
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"}
|