@contractspec/example.knowledge-canon 1.46.2 → 1.47.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$colon$bundle.log +10 -10
- package/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +21 -0
- package/dist/blueprint.js.map +1 -1
- package/dist/example.d.ts +2 -2
- package/dist/example.d.ts.map +1 -1
- package/dist/example.js +4 -2
- package/dist/example.js.map +1 -1
- package/dist/source.sample.js.map +1 -1
- package/dist/tenant.js.map +1 -1
- package/package.json +5 -7
- package/src/example.ts +3 -3
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
$ tsdown
|
|
2
|
-
[34mℹ[39m tsdown [2mv0.
|
|
2
|
+
[34mℹ[39m tsdown [2mv0.19.0[22m powered by rolldown [2mv1.0.0-beta.59[22m
|
|
3
3
|
[34mℹ[39m config file: [4m/home/runner/work/contractspec/contractspec/packages/examples/knowledge-canon/tsdown.config.js[24m
|
|
4
4
|
[34mℹ[39m entry: [34msrc/agent.ts, src/blueprint.ts, src/example.ts, src/index.ts, src/source.sample.ts, src/tenant.ts, src/docs/index.ts, src/docs/knowledge-canon.docblock.ts[39m
|
|
5
5
|
[34mℹ[39m target: [34mesnext[39m
|
|
@@ -8,7 +8,7 @@ $ tsdown
|
|
|
8
8
|
[34mℹ[39m Cleaning 28 files
|
|
9
9
|
[34mℹ[39m [2mdist/[22m[1mdocs/knowledge-canon.docblock.js[22m [2m1.68 kB[22m [2m│ gzip: 0.79 kB[22m
|
|
10
10
|
[34mℹ[39m [2mdist/[22m[1magent.js[22m [2m1.25 kB[22m [2m│ gzip: 0.62 kB[22m
|
|
11
|
-
[34mℹ[39m [2mdist/[22m[1mexample.js[22m [2m1.
|
|
11
|
+
[34mℹ[39m [2mdist/[22m[1mexample.js[22m [2m1.09 kB[22m [2m│ gzip: 0.56 kB[22m
|
|
12
12
|
[34mℹ[39m [2mdist/[22m[1mblueprint.js[22m [2m0.85 kB[22m [2m│ gzip: 0.46 kB[22m
|
|
13
13
|
[34mℹ[39m [2mdist/[22m[1mtenant.js[22m [2m0.82 kB[22m [2m│ gzip: 0.45 kB[22m
|
|
14
14
|
[34mℹ[39m [2mdist/[22m[1msource.sample.js[22m [2m0.70 kB[22m [2m│ gzip: 0.41 kB[22m
|
|
@@ -16,22 +16,22 @@ $ tsdown
|
|
|
16
16
|
[34mℹ[39m [2mdist/[22m[1mdocs/index.js[22m [2m0.04 kB[22m [2m│ gzip: 0.06 kB[22m
|
|
17
17
|
[34mℹ[39m [2mdist/[22mdocs/knowledge-canon.docblock.js.map [2m2.18 kB[22m [2m│ gzip: 0.97 kB[22m
|
|
18
18
|
[34mℹ[39m [2mdist/[22magent.js.map [2m2.13 kB[22m [2m│ gzip: 1.00 kB[22m
|
|
19
|
-
[34mℹ[39m [2mdist/[22mexample.js.map [2m1.
|
|
20
|
-
[34mℹ[39m [2mdist/[22mtenant.js.map [2m1.
|
|
21
|
-
[34mℹ[39m [2mdist/[22mblueprint.js.map [2m1.
|
|
22
|
-
[34mℹ[39m [2mdist/[22msource.sample.js.map [2m1.
|
|
19
|
+
[34mℹ[39m [2mdist/[22mexample.js.map [2m1.53 kB[22m [2m│ gzip: 0.75 kB[22m
|
|
20
|
+
[34mℹ[39m [2mdist/[22mtenant.js.map [2m1.35 kB[22m [2m│ gzip: 0.68 kB[22m
|
|
21
|
+
[34mℹ[39m [2mdist/[22mblueprint.js.map [2m1.26 kB[22m [2m│ gzip: 0.64 kB[22m
|
|
22
|
+
[34mℹ[39m [2mdist/[22msource.sample.js.map [2m1.14 kB[22m [2m│ gzip: 0.58 kB[22m
|
|
23
23
|
[34mℹ[39m [2mdist/[22magent.d.ts.map [2m0.29 kB[22m [2m│ gzip: 0.20 kB[22m
|
|
24
24
|
[34mℹ[39m [2mdist/[22msource.sample.d.ts.map [2m0.14 kB[22m [2m│ gzip: 0.12 kB[22m
|
|
25
|
+
[34mℹ[39m [2mdist/[22mexample.d.ts.map [2m0.14 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
25
26
|
[34mℹ[39m [2mdist/[22mblueprint.d.ts.map [2m0.13 kB[22m [2m│ gzip: 0.12 kB[22m
|
|
26
|
-
[34mℹ[39m [2mdist/[22mexample.d.ts.map [2m0.12 kB[22m [2m│ gzip: 0.12 kB[22m
|
|
27
27
|
[34mℹ[39m [2mdist/[22mtenant.d.ts.map [2m0.12 kB[22m [2m│ gzip: 0.12 kB[22m
|
|
28
28
|
[34mℹ[39m [2mdist/[22m[32m[1magent.d.ts[22m[39m [2m0.91 kB[22m [2m│ gzip: 0.44 kB[22m
|
|
29
29
|
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m0.44 kB[22m [2m│ gzip: 0.19 kB[22m
|
|
30
30
|
[34mℹ[39m [2mdist/[22m[32m[1msource.sample.d.ts[22m[39m [2m0.28 kB[22m [2m│ gzip: 0.18 kB[22m
|
|
31
31
|
[34mℹ[39m [2mdist/[22m[32m[1mblueprint.d.ts[22m[39m [2m0.26 kB[22m [2m│ gzip: 0.18 kB[22m
|
|
32
32
|
[34mℹ[39m [2mdist/[22m[32m[1mtenant.d.ts[22m[39m [2m0.26 kB[22m [2m│ gzip: 0.18 kB[22m
|
|
33
|
-
[34mℹ[39m [2mdist/[22m[32m[1mexample.d.ts[22m[39m [2m0.
|
|
33
|
+
[34mℹ[39m [2mdist/[22m[32m[1mexample.d.ts[22m[39m [2m0.25 kB[22m [2m│ gzip: 0.17 kB[22m
|
|
34
34
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
35
35
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/knowledge-canon.docblock.d.ts[22m[39m [2m0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
36
|
-
[34mℹ[39m 27 files, total: 19.
|
|
37
|
-
[32m✔[39m Build complete in [
|
|
36
|
+
[34mℹ[39m 27 files, total: 19.76 kB
|
|
37
|
+
[32m✔[39m Build complete in [32m22112ms[39m
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
$ bun build:types && bun build:bundle
|
|
2
2
|
$ tsc --noEmit
|
|
3
3
|
$ tsdown
|
|
4
|
-
[34mℹ[39m tsdown [2mv0.
|
|
4
|
+
[34mℹ[39m tsdown [2mv0.19.0[22m powered by rolldown [2mv1.0.0-beta.59[22m
|
|
5
5
|
[34mℹ[39m config file: [4m/home/runner/work/contractspec/contractspec/packages/examples/knowledge-canon/tsdown.config.js[24m
|
|
6
6
|
[34mℹ[39m entry: [34msrc/agent.ts, src/blueprint.ts, src/example.ts, src/index.ts, src/source.sample.ts, src/tenant.ts, src/docs/index.ts, src/docs/knowledge-canon.docblock.ts[39m
|
|
7
7
|
[34mℹ[39m target: [34mesnext[39m
|
|
@@ -9,7 +9,7 @@ $ tsdown
|
|
|
9
9
|
[34mℹ[39m Build start
|
|
10
10
|
[34mℹ[39m [2mdist/[22m[1mdocs/knowledge-canon.docblock.js[22m [2m1.68 kB[22m [2m│ gzip: 0.79 kB[22m
|
|
11
11
|
[34mℹ[39m [2mdist/[22m[1magent.js[22m [2m1.25 kB[22m [2m│ gzip: 0.62 kB[22m
|
|
12
|
-
[34mℹ[39m [2mdist/[22m[1mexample.js[22m [2m1.
|
|
12
|
+
[34mℹ[39m [2mdist/[22m[1mexample.js[22m [2m1.09 kB[22m [2m│ gzip: 0.56 kB[22m
|
|
13
13
|
[34mℹ[39m [2mdist/[22m[1mblueprint.js[22m [2m0.85 kB[22m [2m│ gzip: 0.46 kB[22m
|
|
14
14
|
[34mℹ[39m [2mdist/[22m[1mtenant.js[22m [2m0.82 kB[22m [2m│ gzip: 0.45 kB[22m
|
|
15
15
|
[34mℹ[39m [2mdist/[22m[1msource.sample.js[22m [2m0.70 kB[22m [2m│ gzip: 0.41 kB[22m
|
|
@@ -17,22 +17,22 @@ $ tsdown
|
|
|
17
17
|
[34mℹ[39m [2mdist/[22m[1mdocs/index.js[22m [2m0.04 kB[22m [2m│ gzip: 0.06 kB[22m
|
|
18
18
|
[34mℹ[39m [2mdist/[22mdocs/knowledge-canon.docblock.js.map [2m2.18 kB[22m [2m│ gzip: 0.97 kB[22m
|
|
19
19
|
[34mℹ[39m [2mdist/[22magent.js.map [2m2.13 kB[22m [2m│ gzip: 1.00 kB[22m
|
|
20
|
-
[34mℹ[39m [2mdist/[22mexample.js.map [2m1.
|
|
21
|
-
[34mℹ[39m [2mdist/[22mtenant.js.map [2m1.
|
|
22
|
-
[34mℹ[39m [2mdist/[22mblueprint.js.map [2m1.
|
|
23
|
-
[34mℹ[39m [2mdist/[22msource.sample.js.map [2m1.
|
|
20
|
+
[34mℹ[39m [2mdist/[22mexample.js.map [2m1.53 kB[22m [2m│ gzip: 0.75 kB[22m
|
|
21
|
+
[34mℹ[39m [2mdist/[22mtenant.js.map [2m1.35 kB[22m [2m│ gzip: 0.68 kB[22m
|
|
22
|
+
[34mℹ[39m [2mdist/[22mblueprint.js.map [2m1.26 kB[22m [2m│ gzip: 0.64 kB[22m
|
|
23
|
+
[34mℹ[39m [2mdist/[22msource.sample.js.map [2m1.14 kB[22m [2m│ gzip: 0.58 kB[22m
|
|
24
24
|
[34mℹ[39m [2mdist/[22magent.d.ts.map [2m0.29 kB[22m [2m│ gzip: 0.20 kB[22m
|
|
25
25
|
[34mℹ[39m [2mdist/[22msource.sample.d.ts.map [2m0.14 kB[22m [2m│ gzip: 0.12 kB[22m
|
|
26
|
+
[34mℹ[39m [2mdist/[22mexample.d.ts.map [2m0.14 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
26
27
|
[34mℹ[39m [2mdist/[22mblueprint.d.ts.map [2m0.13 kB[22m [2m│ gzip: 0.12 kB[22m
|
|
27
|
-
[34mℹ[39m [2mdist/[22mexample.d.ts.map [2m0.12 kB[22m [2m│ gzip: 0.12 kB[22m
|
|
28
28
|
[34mℹ[39m [2mdist/[22mtenant.d.ts.map [2m0.12 kB[22m [2m│ gzip: 0.12 kB[22m
|
|
29
29
|
[34mℹ[39m [2mdist/[22m[32m[1magent.d.ts[22m[39m [2m0.91 kB[22m [2m│ gzip: 0.44 kB[22m
|
|
30
30
|
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m0.44 kB[22m [2m│ gzip: 0.19 kB[22m
|
|
31
31
|
[34mℹ[39m [2mdist/[22m[32m[1msource.sample.d.ts[22m[39m [2m0.28 kB[22m [2m│ gzip: 0.18 kB[22m
|
|
32
32
|
[34mℹ[39m [2mdist/[22m[32m[1mblueprint.d.ts[22m[39m [2m0.26 kB[22m [2m│ gzip: 0.18 kB[22m
|
|
33
33
|
[34mℹ[39m [2mdist/[22m[32m[1mtenant.d.ts[22m[39m [2m0.26 kB[22m [2m│ gzip: 0.18 kB[22m
|
|
34
|
-
[34mℹ[39m [2mdist/[22m[32m[1mexample.d.ts[22m[39m [2m0.
|
|
34
|
+
[34mℹ[39m [2mdist/[22m[32m[1mexample.d.ts[22m[39m [2m0.25 kB[22m [2m│ gzip: 0.17 kB[22m
|
|
35
35
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
36
36
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/knowledge-canon.docblock.d.ts[22m[39m [2m0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
37
|
-
[34mℹ[39m 27 files, total: 19.
|
|
38
|
-
[32m✔[39m Build complete in [
|
|
37
|
+
[34mℹ[39m 27 files, total: 19.76 kB
|
|
38
|
+
[32m✔[39m Build complete in [32m22261ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @contractspec/example.knowledge-canon
|
|
2
2
|
|
|
3
|
+
## 1.47.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- caf8701: feat: add cli vibe command to run workflow
|
|
8
|
+
- c69b849: feat: add api web services (mcp & website)
|
|
9
|
+
- 42b8d78: feat: add cli `contractspec vibe` workflow to simplify usage
|
|
10
|
+
- fd38e85: feat: auto-fix contractspec issues
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- e7ded36: feat: improve stability (adding ts-morph)
|
|
15
|
+
- c231a8b: test: improve workspace stability
|
|
16
|
+
- Updated dependencies [e7ded36]
|
|
17
|
+
- Updated dependencies [caf8701]
|
|
18
|
+
- Updated dependencies [c69b849]
|
|
19
|
+
- Updated dependencies [c231a8b]
|
|
20
|
+
- Updated dependencies [42b8d78]
|
|
21
|
+
- Updated dependencies [fd38e85]
|
|
22
|
+
- @contractspec/lib.contracts@1.47.0
|
|
23
|
+
|
|
3
24
|
## 1.46.2
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/dist/blueprint.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blueprint.js","names":[
|
|
1
|
+
{"version":3,"file":"blueprint.js","names":[],"sources":["../src/blueprint.ts"],"sourcesContent":["import type { AppBlueprintSpec } from '@contractspec/lib.contracts/app-config/spec';\nimport {\n OwnersEnum,\n StabilityEnum,\n TagsEnum,\n} from '@contractspec/lib.contracts/ownership';\n\nexport const artisanKnowledgeBlueprint: AppBlueprintSpec = {\n meta: {\n key: 'artisan.knowledge.product',\n version: '1.0.0',\n appId: 'artisan',\n title: 'ArtisanOS Knowledge – Product Canon',\n description:\n 'Blueprint that surfaces canonical product knowledge to agents and workflows.',\n domain: 'knowledge',\n owners: [OwnersEnum.PlatformContent],\n tags: ['knowledge', 'product-canon', TagsEnum.Guide],\n stability: StabilityEnum.Experimental,\n },\n workflows: {\n answerFaq: { key: 'artisan.knowledge.answerFaq', version: '1.0.0' },\n },\n notes:\n 'Workflows and assistants running on this blueprint should bind the Product Canon knowledge space.',\n};\n"],"mappings":";;;AAOA,MAAa,4BAA8C;CACzD,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,OAAO;EACP,aACE;EACF,QAAQ;EACR,QAAQ,CAAC,WAAW,gBAAgB;EACpC,MAAM;GAAC;GAAa;GAAiB,SAAS;GAAM;EACpD,WAAW,cAAc;EAC1B;CACD,WAAW,EACT,WAAW;EAAE,KAAK;EAA+B,SAAS;EAAS,EACpE;CACD,OACE;CACH"}
|
package/dist/example.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/example.d.ts
|
|
4
|
-
declare const example: 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
|
package/dist/example.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":";;;cAEM,
|
|
1
|
+
{"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":";;;cAEM,SA2BJ,4BAAA,CA3BW"}
|
package/dist/example.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { defineExample } from "@contractspec/lib.contracts";
|
|
2
|
+
|
|
1
3
|
//#region src/example.ts
|
|
2
|
-
const example = {
|
|
4
|
+
const example = defineExample({
|
|
3
5
|
meta: {
|
|
4
6
|
key: "knowledge-canon",
|
|
5
7
|
version: "1.0.0",
|
|
@@ -37,7 +39,7 @@ const example = {
|
|
|
37
39
|
},
|
|
38
40
|
mcp: { enabled: true }
|
|
39
41
|
}
|
|
40
|
-
};
|
|
42
|
+
});
|
|
41
43
|
var example_default = example;
|
|
42
44
|
|
|
43
45
|
//#endregion
|
package/dist/example.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"example.js","names":[
|
|
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: 'knowledge-canon',\n version: '1.0.0',\n title: 'Knowledge Canon (Product Canon space)',\n description:\n 'Bind a canonical knowledge space to a tenant and route assistant/workflow requests to the right sources (blueprint + app config pattern).',\n kind: 'knowledge',\n visibility: 'public',\n stability: 'experimental',\n owners: ['@platform.core'],\n tags: ['knowledge', 'canon', 'app-config', 'agents', 'workflows'],\n },\n docs: {\n rootDocId: 'docs.examples.knowledge-canon',\n usageDocId: 'docs.examples.knowledge-canon.usage',\n },\n entrypoints: {\n packageName: '@contractspec/example.knowledge-canon',\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;GAAa;GAAS;GAAc;GAAU;GAAY;EAClE;CACD,MAAM;EACJ,WAAW;EACX,YAAY;EACb;CACD,aAAa;EACX,aAAa;EACb,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source.sample.js","names":[
|
|
1
|
+
{"version":3,"file":"source.sample.js","names":[],"sources":["../src/source.sample.ts"],"sourcesContent":["import type { KnowledgeSourceConfig } from '@contractspec/lib.contracts/knowledge/source';\n\nexport const productCanonNotionSource: KnowledgeSourceConfig = {\n meta: {\n id: 'source-canon-notion',\n tenantId: 'artisan-co',\n spaceKey: 'knowledge.product-canon',\n spaceVersion: '1.0.0',\n label: 'Product Canon (Notion)',\n sourceType: 'notion',\n createdAt: '2026-01-01T00:00:00.000Z',\n updatedAt: '2026-01-01T00:00:00.000Z',\n },\n config: {\n notionDatabaseId: 'xxxxxxxxxxxxxxxx',\n apiKey: 'secret_notion_token',\n },\n syncSchedule: {\n enabled: true,\n cron: '0 * * * *',\n },\n lastSync: {\n timestamp: new Date('2026-01-01T00:00:00.000Z'),\n success: true,\n itemsProcessed: 128,\n },\n};\n"],"mappings":";AAEA,MAAa,2BAAkD;CAC7D,MAAM;EACJ,IAAI;EACJ,UAAU;EACV,UAAU;EACV,cAAc;EACd,OAAO;EACP,YAAY;EACZ,WAAW;EACX,WAAW;EACZ;CACD,QAAQ;EACN,kBAAkB;EAClB,QAAQ;EACT;CACD,cAAc;EACZ,SAAS;EACT,MAAM;EACP;CACD,UAAU;EACR,2BAAW,IAAI,KAAK,2BAA2B;EAC/C,SAAS;EACT,gBAAgB;EACjB;CACF"}
|
package/dist/tenant.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tenant.js","names":[
|
|
1
|
+
{"version":3,"file":"tenant.js","names":[],"sources":["../src/tenant.ts"],"sourcesContent":["import type { TenantAppConfig } from '@contractspec/lib.contracts/app-config/spec';\n\nexport const artisanKnowledgeTenantConfig: TenantAppConfig = {\n meta: {\n id: 'tenant-config-artisan-knowledge',\n tenantId: 'artisan-co',\n appId: 'artisan',\n blueprintName: 'artisan.knowledge.product',\n blueprintVersion: '1.0.0',\n environment: 'production',\n version: '1.0.0',\n status: 'published',\n createdAt: '2026-01-01T00:00:00.000Z',\n updatedAt: '2026-01-01T00:00:00.000Z',\n },\n knowledge: [\n {\n spaceKey: 'knowledge.product-canon',\n spaceVersion: '1.0.0',\n scope: {\n workflows: ['answerFaq'],\n agents: ['productSupportAssistant'],\n },\n constraints: {\n maxTokensPerQuery: 4096,\n maxQueriesPerMinute: 30,\n },\n },\n ],\n integrations: [],\n notes: 'Product Canon knowledge space bound for production assistants.',\n};\n"],"mappings":";AAEA,MAAa,+BAAgD;CAC3D,MAAM;EACJ,IAAI;EACJ,UAAU;EACV,OAAO;EACP,eAAe;EACf,kBAAkB;EAClB,aAAa;EACb,SAAS;EACT,QAAQ;EACR,WAAW;EACX,WAAW;EACZ;CACD,WAAW,CACT;EACE,UAAU;EACV,cAAc;EACd,OAAO;GACL,WAAW,CAAC,YAAY;GACxB,QAAQ,CAAC,0BAA0B;GACpC;EACD,aAAa;GACX,mBAAmB;GACnB,qBAAqB;GACtB;EACF,CACF;CACD,cAAc,EAAE;CAChB,OAAO;CACR"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.knowledge-canon",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.47.0",
|
|
4
4
|
"description": "Knowledge example – Product Canon space (blueprint + tenant config + source sample + runtime helper).",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
6
|
"types": "./dist/index.d.ts",
|
|
8
7
|
"exports": {
|
|
9
8
|
".": "./dist/index.js",
|
|
@@ -30,12 +29,12 @@
|
|
|
30
29
|
"test": "bun test"
|
|
31
30
|
},
|
|
32
31
|
"dependencies": {
|
|
33
|
-
"@contractspec/lib.contracts": "1.
|
|
32
|
+
"@contractspec/lib.contracts": "1.47.0"
|
|
34
33
|
},
|
|
35
34
|
"devDependencies": {
|
|
36
|
-
"@contractspec/tool.tsdown": "1.
|
|
37
|
-
"@contractspec/tool.typescript": "1.
|
|
38
|
-
"tsdown": "^0.
|
|
35
|
+
"@contractspec/tool.tsdown": "1.47.0",
|
|
36
|
+
"@contractspec/tool.typescript": "1.47.0",
|
|
37
|
+
"tsdown": "^0.19.0",
|
|
39
38
|
"typescript": "^5.9.3"
|
|
40
39
|
},
|
|
41
40
|
"publishConfig": {
|
|
@@ -53,7 +52,6 @@
|
|
|
53
52
|
},
|
|
54
53
|
"registry": "https://registry.npmjs.org/"
|
|
55
54
|
},
|
|
56
|
-
"module": "./dist/index.js",
|
|
57
55
|
"license": "MIT",
|
|
58
56
|
"repository": {
|
|
59
57
|
"type": "git",
|
package/src/example.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineExample } from '@contractspec/lib.contracts';
|
|
2
2
|
|
|
3
|
-
const example
|
|
3
|
+
const example = defineExample({
|
|
4
4
|
meta: {
|
|
5
5
|
key: 'knowledge-canon',
|
|
6
6
|
version: '1.0.0',
|
|
@@ -27,6 +27,6 @@ const example: ExampleSpec = {
|
|
|
27
27
|
studio: { enabled: true, installable: true },
|
|
28
28
|
mcp: { enabled: true },
|
|
29
29
|
},
|
|
30
|
-
};
|
|
30
|
+
});
|
|
31
31
|
|
|
32
32
|
export default example;
|