@contractspec/app.cli-contractspec 1.44.0 → 1.44.1
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 +15 -0
- package/dist/bun/cli.js +2 -2
- package/dist/node/cli.js +2 -2
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.44.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 3c594fb: fix
|
|
8
|
+
- Updated dependencies [3c594fb]
|
|
9
|
+
- @contractspec/lib.contracts-transformers@1.44.1
|
|
10
|
+
- @contractspec/bundle.workspace@1.44.1
|
|
11
|
+
- @contractspec/lib.ai-providers@1.44.1
|
|
12
|
+
- @contractspec/module.examples@1.44.1
|
|
13
|
+
- @contractspec/module.ai-chat@1.44.1
|
|
14
|
+
- @contractspec/lib.contracts@1.44.1
|
|
15
|
+
- @contractspec/lib.testing@1.44.1
|
|
16
|
+
- @contractspec/lib.schema@1.44.1
|
|
17
|
+
|
|
3
18
|
## 1.44.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
package/dist/bun/cli.js
CHANGED
|
@@ -1803,7 +1803,7 @@ This document describes how ContractSpec implements lifecycle detection and guid
|
|
|
1803
1803
|
- **Libraries** provide shared vocabulary.
|
|
1804
1804
|
- **Modules** encapsulate logic, accepting adapters to avoid environment-specific code.
|
|
1805
1805
|
- **Bundles** compose modules, register agents/events, and expose APIs for Studio.
|
|
1806
|
-
- **Apps** (web-landing, future Studio views) consume bundle APIs; they do not reimplement logic. For web-landing we now resolve \`@contractspec/bundle.studio\` and \`@contractspec/lib.database-
|
|
1806
|
+
- **Apps** (web-landing, future Studio views) consume bundle APIs; they do not reimplement logic. For web-landing we now resolve \`@contractspec/bundle.studio\` and \`@contractspec/lib.database-studio\` directly from their \`packages/.../src\` folders via \`tsconfig\` path aliases so Prisma stays on the server build and Turbopack no longer pulls the prebundled \`dist\` artifacts into client chunks.
|
|
1807
1807
|
|
|
1808
1808
|
---
|
|
1809
1809
|
|
|
@@ -6400,5 +6400,5 @@ jobs:${J}
|
|
|
6400
6400
|
\u274C Error:`),Y instanceof Error?Y.message:String(Y)),process.exit(1)}});EQ.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)",(D)=>Number.parseInt(D,10)).option("-b, --batch-duration <ms>","Lookback duration in ms (default 300000)",(D)=>Number.parseInt(D,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(D,Y,J,z,H)=>{try{let q=await Kz(),K=oI(q,H);await CJ6(D,Y,J,z,H,K)}catch(q){console.error(b0.red(`
|
|
6401
6401
|
\u274C Error:`),q instanceof Error?q.message:String(q)),process.exit(1)}});function jW6(){EQ.parse()}jW6();
|
|
6402
6402
|
|
|
6403
|
-
//# debugId=
|
|
6403
|
+
//# debugId=2946AC319B16A45064756E2164756E21
|
|
6404
6404
|
//# sourceMappingURL=cli.js.map
|
package/dist/node/cli.js
CHANGED
|
@@ -1956,7 +1956,7 @@ This document describes how ContractSpec implements lifecycle detection and guid
|
|
|
1956
1956
|
- **Libraries** provide shared vocabulary.
|
|
1957
1957
|
- **Modules** encapsulate logic, accepting adapters to avoid environment-specific code.
|
|
1958
1958
|
- **Bundles** compose modules, register agents/events, and expose APIs for Studio.
|
|
1959
|
-
- **Apps** (web-landing, future Studio views) consume bundle APIs; they do not reimplement logic. For web-landing we now resolve \`@contractspec/bundle.studio\` and \`@contractspec/lib.database-
|
|
1959
|
+
- **Apps** (web-landing, future Studio views) consume bundle APIs; they do not reimplement logic. For web-landing we now resolve \`@contractspec/bundle.studio\` and \`@contractspec/lib.database-studio\` directly from their \`packages/.../src\` folders via \`tsconfig\` path aliases so Prisma stays on the server build and Turbopack no longer pulls the prebundled \`dist\` artifacts into client chunks.
|
|
1960
1960
|
|
|
1961
1961
|
---
|
|
1962
1962
|
|
|
@@ -6553,5 +6553,5 @@ jobs:${J}
|
|
|
6553
6553
|
❌ Error:`),X instanceof Error?X.message:String(X)),process.exit(1)}});UH.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($,X,J,Q,W)=>{try{let U=await YG(),Z=bM(U,W);await ej6($,X,J,Q,W,Z)}catch(U){console.error(T$.red(`
|
|
6554
6554
|
❌ Error:`),U instanceof Error?U.message:String(U)),process.exit(1)}});function oE6(){UH.parse()}oE6();
|
|
6555
6555
|
|
|
6556
|
-
//# debugId=
|
|
6556
|
+
//# debugId=00AC0DD2CAA88DEA64756E2164756E21
|
|
6557
6557
|
//# sourceMappingURL=cli.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/app.cli-contractspec",
|
|
3
|
-
"version": "1.44.
|
|
3
|
+
"version": "1.44.1",
|
|
4
4
|
"description": "CLI tool for creating, building, and validating contract specifications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"@ai-sdk/mistral": "3.0.1",
|
|
35
35
|
"@ai-sdk/openai": "3.0.1",
|
|
36
36
|
"ollama-ai-provider": "^1.2.0",
|
|
37
|
-
"@contractspec/bundle.workspace": "1.44.
|
|
38
|
-
"@contractspec/lib.ai-providers": "1.44.
|
|
39
|
-
"@contractspec/lib.contracts": "1.44.
|
|
40
|
-
"@contractspec/lib.contracts-transformers": "1.44.
|
|
41
|
-
"@contractspec/lib.testing": "1.44.
|
|
42
|
-
"@contractspec/lib.schema": "1.44.
|
|
43
|
-
"@contractspec/module.ai-chat": "1.44.
|
|
44
|
-
"@contractspec/module.examples": "1.44.
|
|
37
|
+
"@contractspec/bundle.workspace": "1.44.1",
|
|
38
|
+
"@contractspec/lib.ai-providers": "1.44.1",
|
|
39
|
+
"@contractspec/lib.contracts": "1.44.1",
|
|
40
|
+
"@contractspec/lib.contracts-transformers": "1.44.1",
|
|
41
|
+
"@contractspec/lib.testing": "1.44.1",
|
|
42
|
+
"@contractspec/lib.schema": "1.44.1",
|
|
43
|
+
"@contractspec/module.ai-chat": "1.44.1",
|
|
44
|
+
"@contractspec/module.examples": "1.44.1",
|
|
45
45
|
"glob": "^13.0.0",
|
|
46
46
|
"commander": "^14.0.2",
|
|
47
47
|
"@inquirer/prompts": "^8.1.0",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"zod": "^4.1.13"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@contractspec/tool.tsdown": "1.44.
|
|
55
|
-
"@contractspec/tool.typescript": "1.44.
|
|
54
|
+
"@contractspec/tool.tsdown": "1.44.1",
|
|
55
|
+
"@contractspec/tool.typescript": "1.44.1",
|
|
56
56
|
"@types/node": "^22.10.2",
|
|
57
57
|
"rimraf": "^6.1.2",
|
|
58
58
|
"eslint": "^9.39.2"
|