qfai 1.7.4 → 1.7.6
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/dist/cli/index.cjs +11 -2
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.mjs +11 -2
- package/dist/cli/index.mjs.map +1 -1
- package/dist/index.cjs +39 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +30 -1
- package/dist/index.d.ts +30 -1
- package/dist/index.mjs +35 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.mjs
CHANGED
|
@@ -1684,8 +1684,8 @@ import { readFile as readFile5 } from "fs/promises";
|
|
|
1684
1684
|
import path8 from "path";
|
|
1685
1685
|
import { fileURLToPath as fileURLToPath2 } from "url";
|
|
1686
1686
|
async function resolveToolVersion() {
|
|
1687
|
-
if ("1.7.
|
|
1688
|
-
return "1.7.
|
|
1687
|
+
if ("1.7.6".length > 0) {
|
|
1688
|
+
return "1.7.6";
|
|
1689
1689
|
}
|
|
1690
1690
|
try {
|
|
1691
1691
|
const packagePath = resolvePackageJsonPath();
|
|
@@ -4059,6 +4059,15 @@ function formatError4(error2) {
|
|
|
4059
4059
|
return String(error2);
|
|
4060
4060
|
}
|
|
4061
4061
|
|
|
4062
|
+
// src/core/prototyping/modeResolver.ts
|
|
4063
|
+
var STATIC_OBLIGATIONS = ["source", "route", "state", "contract-level"];
|
|
4064
|
+
var RUNTIME_HEAVY_CHECKS = [
|
|
4065
|
+
"api-non-404",
|
|
4066
|
+
"db-existence",
|
|
4067
|
+
"ui-route-reachability"
|
|
4068
|
+
];
|
|
4069
|
+
var FULL_HARNESS_OBLIGATIONS = [...STATIC_OBLIGATIONS, ...RUNTIME_HEAVY_CHECKS];
|
|
4070
|
+
|
|
4062
4071
|
// src/cli/commands/prototyping.ts
|
|
4063
4072
|
var ENV_AUTOGEN = "QFAI_PROTOTYPE_FIDELITY_AUTOGEN";
|
|
4064
4073
|
var DEFAULT_EVIDENCE_PATH = ".qfai/evidence/prototyping.json";
|