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/cli/index.mjs
CHANGED
|
@@ -627,7 +627,7 @@ async function collectSpecEntries(specsRoot) {
|
|
|
627
627
|
dir,
|
|
628
628
|
specPath: path4.join(dir, "spec.md"),
|
|
629
629
|
deltaPath: path4.join(dir, "delta.md"),
|
|
630
|
-
scenarioPath: path4.join(dir, "scenario.
|
|
630
|
+
scenarioPath: path4.join(dir, "scenario.feature")
|
|
631
631
|
}));
|
|
632
632
|
return entries.sort((a, b) => a.dir.localeCompare(b.dir));
|
|
633
633
|
}
|
|
@@ -1141,8 +1141,8 @@ import { readFile as readFile5 } from "fs/promises";
|
|
|
1141
1141
|
import path9 from "path";
|
|
1142
1142
|
import { fileURLToPath as fileURLToPath2 } from "url";
|
|
1143
1143
|
async function resolveToolVersion() {
|
|
1144
|
-
if ("1.0.
|
|
1145
|
-
return "1.0.
|
|
1144
|
+
if ("1.0.2".length > 0) {
|
|
1145
|
+
return "1.0.2";
|
|
1146
1146
|
}
|
|
1147
1147
|
try {
|
|
1148
1148
|
const packagePath = resolvePackageJsonPath();
|
|
@@ -2606,12 +2606,11 @@ async function validateScenarios(root, config) {
|
|
|
2606
2606
|
const specsRoot = resolvePath(root, config, "specsDir");
|
|
2607
2607
|
const entries = await collectSpecEntries(specsRoot);
|
|
2608
2608
|
if (entries.length === 0) {
|
|
2609
|
-
const expected = "spec-0001/scenario.
|
|
2610
|
-
const legacy = "spec-001/scenario.md";
|
|
2609
|
+
const expected = "spec-0001/scenario.feature";
|
|
2611
2610
|
return [
|
|
2612
2611
|
issue4(
|
|
2613
2612
|
"QFAI-SC-000",
|
|
2614
|
-
`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}
|
|
2613
|
+
`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}`,
|
|
2615
2614
|
"info",
|
|
2616
2615
|
specsRoot,
|
|
2617
2616
|
"scenario.files"
|
|
@@ -2628,7 +2627,7 @@ async function validateScenarios(root, config) {
|
|
|
2628
2627
|
issues.push(
|
|
2629
2628
|
issue4(
|
|
2630
2629
|
"QFAI-SC-001",
|
|
2631
|
-
"scenario.
|
|
2630
|
+
"scenario.feature \u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",
|
|
2632
2631
|
"error",
|
|
2633
2632
|
entry.scenarioPath,
|
|
2634
2633
|
"scenario.exists"
|