specatlas 0.1.7 → 0.1.8
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/bin.js +4 -1
- package/package.json +2 -2
package/dist/bin.js
CHANGED
|
@@ -9898,10 +9898,11 @@ function deriveState(input) {
|
|
|
9898
9898
|
}
|
|
9899
9899
|
if (approval.status === "missing" || approval.status === "stale") {
|
|
9900
9900
|
blockedBy.push(approval.status === "stale" ? "la firma de la spec qued\xF3 obsoleta (el archivo cambi\xF3)" : "la spec no est\xE1 aprobada");
|
|
9901
|
+
const presented = change.presentationPath !== void 0;
|
|
9901
9902
|
return {
|
|
9902
9903
|
state: "awaiting_approval",
|
|
9903
9904
|
blockedBy,
|
|
9904
|
-
nextAction: next(`satlas present ${change.slug}`, "Presentar la propuesta y firmar la aprobaci\xF3n (satlas approve)"),
|
|
9905
|
+
nextAction: presented ? next(`satlas approve ${change.slug} --by "<nombre>"`, "Firmar la aprobaci\xF3n (la presentaci\xF3n ya est\xE1 generada)") : next(`satlas present ${change.slug}`, "Presentar la propuesta y firmar la aprobaci\xF3n (satlas approve)"),
|
|
9905
9906
|
progress
|
|
9906
9907
|
};
|
|
9907
9908
|
}
|
|
@@ -10128,6 +10129,8 @@ async function loadChange(root, slug, relDir) {
|
|
|
10128
10129
|
if (await exists(planFile)) change.planPath = planFile;
|
|
10129
10130
|
const reviewFile = path4.join(dir, "review.md");
|
|
10130
10131
|
if (await exists(reviewFile)) change.reviewPath = reviewFile;
|
|
10132
|
+
const presentationFile = path4.join(dir, "presentation", "index.html");
|
|
10133
|
+
if (await exists(presentationFile)) change.presentationPath = presentationFile;
|
|
10131
10134
|
const tasksFile = path4.join(dir, "tasks.md");
|
|
10132
10135
|
const tasksRaw = await readTextIfExists(tasksFile);
|
|
10133
10136
|
if (tasksRaw !== void 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "specatlas",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "SpecAtlas: kernel determinista de Spec-Driven Development (CLI)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@specatlas/adapters": "0.1.1",
|
|
43
|
-
"@specatlas/core": "0.1.
|
|
43
|
+
"@specatlas/core": "0.1.6"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"typecheck": "tsc --noEmit",
|