@contractspec/app.cli-contractspec 3.5.0 → 3.5.3
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/CHANGELOG.md +61 -0
- package/dist/bun/cli.js +4 -4
- package/dist/node/cli.js +4 -4
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,66 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.5.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b0b4da6: fix: release
|
|
8
|
+
- Updated dependencies [b0b4da6]
|
|
9
|
+
- Updated dependencies [56ae36d]
|
|
10
|
+
- @contractspec/lib.contracts-integrations@3.5.3
|
|
11
|
+
- @contractspec/lib.contracts-transformers@3.5.3
|
|
12
|
+
- @contractspec/lib.contracts-spec@3.5.3
|
|
13
|
+
- @contractspec/bundle.workspace@3.5.3
|
|
14
|
+
- @contractspec/lib.ai-providers@3.5.3
|
|
15
|
+
- @contractspec/module.workspace@3.5.3
|
|
16
|
+
- @contractspec/module.examples@3.5.3
|
|
17
|
+
- @contractspec/module.ai-chat@4.1.3
|
|
18
|
+
- @contractspec/lib.ai-agent@5.0.3
|
|
19
|
+
- @contractspec/lib.plugins@3.5.3
|
|
20
|
+
- @contractspec/lib.testing@3.5.3
|
|
21
|
+
- @contractspec/lib.schema@3.5.3
|
|
22
|
+
|
|
23
|
+
## 3.5.2
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- 18df977: fix: release workflow
|
|
28
|
+
- Updated dependencies [18df977]
|
|
29
|
+
- @contractspec/lib.contracts-integrations@3.5.2
|
|
30
|
+
- @contractspec/lib.contracts-transformers@3.5.2
|
|
31
|
+
- @contractspec/lib.contracts-spec@3.5.2
|
|
32
|
+
- @contractspec/bundle.workspace@3.5.2
|
|
33
|
+
- @contractspec/lib.ai-providers@3.5.2
|
|
34
|
+
- @contractspec/module.workspace@3.5.2
|
|
35
|
+
- @contractspec/module.examples@3.5.2
|
|
36
|
+
- @contractspec/module.ai-chat@4.1.2
|
|
37
|
+
- @contractspec/lib.ai-agent@5.0.2
|
|
38
|
+
- @contractspec/lib.plugins@3.5.2
|
|
39
|
+
- @contractspec/lib.testing@3.5.2
|
|
40
|
+
- @contractspec/lib.schema@3.5.2
|
|
41
|
+
|
|
42
|
+
## 3.5.1
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- dfff0d4: fix: use client within lib surface-runtime
|
|
47
|
+
- Updated dependencies [73a7f8d]
|
|
48
|
+
- Updated dependencies [dfff0d4]
|
|
49
|
+
- Updated dependencies [73a7f8d]
|
|
50
|
+
- Updated dependencies [73a7f8d]
|
|
51
|
+
- @contractspec/module.ai-chat@4.1.1
|
|
52
|
+
- @contractspec/lib.contracts-integrations@3.5.1
|
|
53
|
+
- @contractspec/lib.contracts-transformers@3.5.1
|
|
54
|
+
- @contractspec/lib.contracts-spec@3.5.1
|
|
55
|
+
- @contractspec/bundle.workspace@3.5.1
|
|
56
|
+
- @contractspec/lib.ai-providers@3.5.1
|
|
57
|
+
- @contractspec/module.workspace@3.5.1
|
|
58
|
+
- @contractspec/module.examples@3.5.1
|
|
59
|
+
- @contractspec/lib.ai-agent@5.0.1
|
|
60
|
+
- @contractspec/lib.plugins@3.5.1
|
|
61
|
+
- @contractspec/lib.testing@3.5.1
|
|
62
|
+
- @contractspec/lib.schema@3.5.1
|
|
63
|
+
|
|
3
64
|
## 3.5.0
|
|
4
65
|
|
|
5
66
|
### Minor Changes
|
package/dist/bun/cli.js
CHANGED
|
@@ -42255,7 +42255,7 @@ export const ${j} = define${wB$(Q)}({
|
|
|
42255
42255
|
transport: {
|
|
42256
42256
|
rest: { method: '${Q==="command"?"POST":"GET"}' },
|
|
42257
42257
|
gql: { field: '${Y.replace(/\./g,"_")}' },
|
|
42258
|
-
mcp: { toolName: '${Y}
|
|
42258
|
+
mcp: { toolName: '${Y.replace(/\./g,"_")}-v${String(W).replace(/\./g,"_")}' },
|
|
42259
42259
|
},
|
|
42260
42260
|
|
|
42261
42261
|
acceptance: {
|
|
@@ -46829,7 +46829,7 @@ export const ${j} = define${Dj1(Q)}({
|
|
|
46829
46829
|
transport: {
|
|
46830
46830
|
rest: { method: '${Q==="command"?"POST":"GET"}' },
|
|
46831
46831
|
gql: { field: '${Y.replace(/\./g,"_")}' },
|
|
46832
|
-
mcp: { toolName: '${Y}
|
|
46832
|
+
mcp: { toolName: '${Y.replace(/\./g,"_")}-v${String(W).replace(/\./g,"_")}' },
|
|
46833
46833
|
},
|
|
46834
46834
|
|
|
46835
46835
|
acceptance: {
|
|
@@ -47663,7 +47663,7 @@ export const ${W} = ${O}({
|
|
|
47663
47663
|
transport: {
|
|
47664
47664
|
rest: { method: '${B==="command"?"POST":"GET"}' },
|
|
47665
47665
|
gql: { field: '${$.key.replace(/\./g,"_")}' },
|
|
47666
|
-
mcp: { toolName: '${$.key}
|
|
47666
|
+
mcp: { toolName: '${$.key.replace(/\./g,"_")}-v${String($.version).replace(/\./g,"_")}' },
|
|
47667
47667
|
},
|
|
47668
47668
|
|
|
47669
47669
|
acceptance: {
|
|
@@ -50720,5 +50720,5 @@ ${j}`}).join(`
|
|
|
50720
50720
|
\u274C Error:`),Y instanceof Error?Y.message:String(Y)),process.exit(1)}});var FU9=bZ.command("regenerator").description("Operate the Regenerator daemon").argument("<blueprint-file>","Path to AppBlueprintSpec file").argument("<tenant-file>","Path to TenantAppConfig file").argument("<rules-file>","Path to module exporting regenerator rules").argument("<sink-file>",'Path to module exporting a proposal sink (use "auto" with --executor)').option("-p, --poll-interval <ms>","Polling interval in ms (default 60000)",($)=>Number.parseInt($,10)).option("-b, --batch-duration <ms>","Lookback duration in ms (default 300000)",($)=>Number.parseInt($,10)).option("--once","Run a single evaluation cycle then exit").option("--contexts <path>","Optional file exporting an array of RegenerationContext overrides").option("--executor <path>",'Module exporting a ProposalExecutor instance, factory, or deps (required when sink is "auto")').option("--dry-run","Execute proposals in dry-run mode when using executor sink").action(async($,Y,W,Q,Z)=>{try{let B=await Xq(),O=uj(B,Z);await Df6($,Y,W,Q,Z,O)}catch(B){console.error(U$.red(`
|
|
50721
50721
|
\u274C Error:`),B instanceof Error?B.message:String(B)),process.exit(1)}});EH(FU9,f00);bZ.addCommand(EH(dJ8,$b));function $W8(){bZ.parse()}$W8();
|
|
50722
50722
|
|
|
50723
|
-
//# debugId=
|
|
50723
|
+
//# debugId=0D74826579DA227C64756E2164756E21
|
|
50724
50724
|
//# sourceMappingURL=cli.js.map
|
package/dist/node/cli.js
CHANGED
|
@@ -42254,7 +42254,7 @@ export const ${_} = define${yA0(Q)}({
|
|
|
42254
42254
|
transport: {
|
|
42255
42255
|
rest: { method: '${Q==="command"?"POST":"GET"}' },
|
|
42256
42256
|
gql: { field: '${J.replace(/\./g,"_")}' },
|
|
42257
|
-
mcp: { toolName: '${J}
|
|
42257
|
+
mcp: { toolName: '${J.replace(/\./g,"_")}-v${String(G).replace(/\./g,"_")}' },
|
|
42258
42258
|
},
|
|
42259
42259
|
|
|
42260
42260
|
acceptance: {
|
|
@@ -47018,7 +47018,7 @@ export const ${_} = define${mh1(Q)}({
|
|
|
47018
47018
|
transport: {
|
|
47019
47019
|
rest: { method: '${Q==="command"?"POST":"GET"}' },
|
|
47020
47020
|
gql: { field: '${J.replace(/\./g,"_")}' },
|
|
47021
|
-
mcp: { toolName: '${J}
|
|
47021
|
+
mcp: { toolName: '${J.replace(/\./g,"_")}-v${String(G).replace(/\./g,"_")}' },
|
|
47022
47022
|
},
|
|
47023
47023
|
|
|
47024
47024
|
acceptance: {
|
|
@@ -47852,7 +47852,7 @@ export const ${G} = ${q}({
|
|
|
47852
47852
|
transport: {
|
|
47853
47853
|
rest: { method: '${H==="command"?"POST":"GET"}' },
|
|
47854
47854
|
gql: { field: '${$.key.replace(/\./g,"_")}' },
|
|
47855
|
-
mcp: { toolName: '${$.key}
|
|
47855
|
+
mcp: { toolName: '${$.key.replace(/\./g,"_")}-v${String($.version).replace(/\./g,"_")}' },
|
|
47856
47856
|
},
|
|
47857
47857
|
|
|
47858
47858
|
acceptance: {
|
|
@@ -50909,5 +50909,5 @@ ${_}`}).join(`
|
|
|
50909
50909
|
❌ Error:`),J instanceof Error?J.message:String(J)),process.exit(1)}});var FJ9=BU.command("regenerator").description("Operate the Regenerator daemon").argument("<blueprint-file>","Path to AppBlueprintSpec file").argument("<tenant-file>","Path to TenantAppConfig file").argument("<rules-file>","Path to module exporting regenerator rules").argument("<sink-file>",'Path to module exporting a proposal sink (use "auto" with --executor)').option("-p, --poll-interval <ms>","Polling interval in ms (default 60000)",($)=>Number.parseInt($,10)).option("-b, --batch-duration <ms>","Lookback duration in ms (default 300000)",($)=>Number.parseInt($,10)).option("--once","Run a single evaluation cycle then exit").option("--contexts <path>","Optional file exporting an array of RegenerationContext overrides").option("--executor <path>",'Module exporting a ProposalExecutor instance, factory, or deps (required when sink is "auto")').option("--dry-run","Execute proposals in dry-run mode when using executor sink").action(async($,J,G,Q,z)=>{try{let H=await aB(),q=ES(H,z);await LX4($,J,G,Q,z,q)}catch(H){console.error(O0.red(`
|
|
50910
50910
|
❌ Error:`),H instanceof Error?H.message:String(H)),process.exit(1)}});$2(FJ9,Z8$);BU.addCommand($2(kN4,Jy));function lN4(){BU.parse()}lN4();
|
|
50911
50911
|
|
|
50912
|
-
//# debugId=
|
|
50912
|
+
//# debugId=98BF6EF5A088AF5E64756E2164756E21
|
|
50913
50913
|
//# sourceMappingURL=cli.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/app.cli-contractspec",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.3",
|
|
4
4
|
"description": "CLI tool for creating, building, and validating contract specifications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@ai-sdk/anthropic": "3.0.58",
|
|
32
32
|
"@ai-sdk/openai": "3.0.41",
|
|
33
|
-
"@contractspec/bundle.workspace": "3.5.
|
|
34
|
-
"@contractspec/lib.ai-agent": "5.0.
|
|
35
|
-
"@contractspec/lib.ai-providers": "3.5.
|
|
36
|
-
"@contractspec/lib.contracts-spec": "3.5.
|
|
37
|
-
"@contractspec/lib.contracts-transformers": "3.5.
|
|
38
|
-
"@contractspec/lib.plugins": "3.5.
|
|
39
|
-
"@contractspec/lib.schema": "3.5.
|
|
40
|
-
"@contractspec/lib.testing": "3.5.
|
|
41
|
-
"@contractspec/module.ai-chat": "4.1.
|
|
42
|
-
"@contractspec/module.examples": "3.5.
|
|
43
|
-
"@contractspec/module.workspace": "3.5.
|
|
33
|
+
"@contractspec/bundle.workspace": "3.5.3",
|
|
34
|
+
"@contractspec/lib.ai-agent": "5.0.3",
|
|
35
|
+
"@contractspec/lib.ai-providers": "3.5.3",
|
|
36
|
+
"@contractspec/lib.contracts-spec": "3.5.3",
|
|
37
|
+
"@contractspec/lib.contracts-transformers": "3.5.3",
|
|
38
|
+
"@contractspec/lib.plugins": "3.5.3",
|
|
39
|
+
"@contractspec/lib.schema": "3.5.3",
|
|
40
|
+
"@contractspec/lib.testing": "3.5.3",
|
|
41
|
+
"@contractspec/module.ai-chat": "4.1.3",
|
|
42
|
+
"@contractspec/module.examples": "3.5.3",
|
|
43
|
+
"@contractspec/module.workspace": "3.5.3",
|
|
44
44
|
"@inquirer/prompts": "^8.3.0",
|
|
45
45
|
"ai": "6.0.116",
|
|
46
46
|
"chalk": "^5.6.2",
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"ora": "^9.3.0",
|
|
52
52
|
"typescript": "^5.9.3",
|
|
53
53
|
"zod": "^4.3.5",
|
|
54
|
-
"@contractspec/lib.contracts-integrations": "3.5.
|
|
54
|
+
"@contractspec/lib.contracts-integrations": "3.5.3"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@contractspec/tool.tsdown": "3.5.
|
|
58
|
-
"@contractspec/tool.typescript": "3.5.
|
|
57
|
+
"@contractspec/tool.tsdown": "3.5.3",
|
|
58
|
+
"@contractspec/tool.typescript": "3.5.3",
|
|
59
59
|
"@types/js-yaml": "^4.0.9",
|
|
60
60
|
"@types/node": "^25.3.5",
|
|
61
61
|
"@types/sarif": "^2.1.7",
|