qfai 1.0.1 → 1.0.2
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/README.md +2 -2
- package/assets/init/.qfai/README.md +2 -2
- package/assets/init/.qfai/contracts/README.md +1 -1
- package/assets/init/.qfai/prompts/makeBusinessFlow.md +1 -1
- package/assets/init/.qfai/prompts/makeOverview.md +1 -1
- package/assets/init/.qfai/prompts/qfai-maintain-traceability.md +1 -1
- package/assets/init/.qfai/prompts/require-to-spec.md +2 -2
- package/assets/init/.qfai/samples/analyze/analysis.md +1 -1
- package/assets/init/.qfai/specs/README.md +2 -2
- package/assets/init/.qfai/specs/spec-0001/delta.md +1 -1
- package/dist/cli/index.cjs +6 -7
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.mjs +6 -7
- package/dist/cli/index.mjs.map +1 -1
- package/dist/index.cjs +6 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- /package/assets/init/.qfai/specs/spec-0001/{scenario.md → scenario.feature} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -630,7 +630,7 @@ async function collectSpecEntries(specsRoot) {
|
|
|
630
630
|
dir,
|
|
631
631
|
specPath: import_node_path3.default.join(dir, "spec.md"),
|
|
632
632
|
deltaPath: import_node_path3.default.join(dir, "delta.md"),
|
|
633
|
-
scenarioPath: import_node_path3.default.join(dir, "scenario.
|
|
633
|
+
scenarioPath: import_node_path3.default.join(dir, "scenario.feature")
|
|
634
634
|
}));
|
|
635
635
|
return entries.sort((a, b) => a.dir.localeCompare(b.dir));
|
|
636
636
|
}
|
|
@@ -1273,8 +1273,8 @@ var import_promises7 = require("fs/promises");
|
|
|
1273
1273
|
var import_node_path7 = __toESM(require("path"), 1);
|
|
1274
1274
|
var import_node_url = require("url");
|
|
1275
1275
|
async function resolveToolVersion() {
|
|
1276
|
-
if ("1.0.
|
|
1277
|
-
return "1.0.
|
|
1276
|
+
if ("1.0.2".length > 0) {
|
|
1277
|
+
return "1.0.2";
|
|
1278
1278
|
}
|
|
1279
1279
|
try {
|
|
1280
1280
|
const packagePath = resolvePackageJsonPath();
|
|
@@ -1962,12 +1962,11 @@ async function validateScenarios(root, config) {
|
|
|
1962
1962
|
const specsRoot = resolvePath(root, config, "specsDir");
|
|
1963
1963
|
const entries = await collectSpecEntries(specsRoot);
|
|
1964
1964
|
if (entries.length === 0) {
|
|
1965
|
-
const expected = "spec-0001/scenario.
|
|
1966
|
-
const legacy = "spec-001/scenario.md";
|
|
1965
|
+
const expected = "spec-0001/scenario.feature";
|
|
1967
1966
|
return [
|
|
1968
1967
|
issue4(
|
|
1969
1968
|
"QFAI-SC-000",
|
|
1970
|
-
`Scenario \u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u914D\u7F6E\u5834\u6240: ${config.paths.specsDir} / \u671F\u5F85\u30D1\u30BF\u30FC\u30F3: ${expected}
|
|
1969
|
+
`Scenario \u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u914D\u7F6E\u5834\u6240: ${config.paths.specsDir} / \u671F\u5F85\u30D1\u30BF\u30FC\u30F3: ${expected}`,
|
|
1971
1970
|
"info",
|
|
1972
1971
|
specsRoot,
|
|
1973
1972
|
"scenario.files"
|
|
@@ -1984,7 +1983,7 @@ async function validateScenarios(root, config) {
|
|
|
1984
1983
|
issues.push(
|
|
1985
1984
|
issue4(
|
|
1986
1985
|
"QFAI-SC-001",
|
|
1987
|
-
"scenario.
|
|
1986
|
+
"scenario.feature \u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",
|
|
1988
1987
|
"error",
|
|
1989
1988
|
entry.scenarioPath,
|
|
1990
1989
|
"scenario.exists"
|