agent-contracts 0.35.6 → 0.35.7
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/cli-contract.yaml
CHANGED
|
@@ -4154,7 +4154,7 @@ ${l}
|
|
|
4154
4154
|
`),process.exit(1))}return}let a=zf(e??jl,jl,i),o=await O7(a,i?.vars,void 0,i?.artifactBinding,i?.paths),s=Sze(o),u=i?.configDir??Qie(a),l=Hie(u,n),c=Jie(l,s);if(r==="json"?process.stdout.write(JSON.stringify(c,null,2)+`
|
|
4155
4155
|
`):process.stdout.write(Yie(c)),t.minCoverage!==void 0){let d=parseFloat(t.minCoverage);c.summary.coverage_percent<d&&(process.stderr.write(`Coverage ${c.summary.coverage_percent}% is below threshold (${d}%)
|
|
4156
4156
|
`),process.exit(1))}}catch(i){let n=i instanceof Error?i.message:String(i);process.stderr.write(`Error: ${n}
|
|
4157
|
-
`),process.exit(1)}};function Sze(e){let t={};for(let[r,i]of Object.entries(e.artifacts))i.files.path_patterns.length>0&&(t[r]={path_patterns:i.files.path_patterns,exclude_patterns:i.files.exclude_patterns});return t}var xze={resolve:FVt,validate:MVt,lint:qVt,render:zVt,check:UVt,score:VVt,audit:ZVt,generate:Eze,navigationIndex:YVt,artifactCoverage:QVt};var XVt={version:"0.35.
|
|
4157
|
+
`),process.exit(1)}};function Sze(e){let t={};for(let[r,i]of Object.entries(e.artifacts))i.files.path_patterns.length>0&&(t[r]={path_patterns:i.files.path_patterns,exclude_patterns:i.files.exclude_patterns});return t}var xze={resolve:FVt,validate:MVt,lint:qVt,render:zVt,check:UVt,score:VVt,audit:ZVt,generate:Eze,navigationIndex:YVt,artifactCoverage:QVt};var XVt={version:"0.35.7"},eGt=_ae(xze,XVt.version);eGt.parse();
|
|
4158
4158
|
/*! Bundled license information:
|
|
4159
4159
|
|
|
4160
4160
|
lodash/lodash.js:
|