specatlas 0.1.10 → 0.1.12

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.
Files changed (2) hide show
  1. package/dist/bin.js +9 -3
  2. package/package.json +2 -2
package/dist/bin.js CHANGED
@@ -8889,7 +8889,13 @@ function renderMarkdown(markdown2, opts = {}) {
8889
8889
  const items = [];
8890
8890
  while (i < lines.length && /^\s*-\s+\[[ xX]\]\s+/.test(lines[i] ?? "")) {
8891
8891
  const match = /^\s*-\s+\[([ xX])\]\s+(.*)$/.exec(lines[i] ?? "");
8892
- items.push(`<li>${match?.[1]?.toLowerCase() === "x" ? "\u2611" : "\u2610"} ${inlineMarkdown(match?.[2] ?? "")}</li>`);
8892
+ const done = match?.[1]?.toLowerCase() === "x";
8893
+ const segments = (match?.[2] ?? "").split(" \xB7 ");
8894
+ const title = segments.shift() ?? "";
8895
+ const meta = segments.length > 0 ? `<div class="task-meta">${segments.map((segment) => `<span class="meta-chip">${inlineMarkdown(segment)}</span>`).join("")}</div>` : "";
8896
+ items.push(
8897
+ `<li class="task-item${done ? " done" : ""}"><span class="task-box">${done ? "\u2611" : "\u2610"}</span> <span class="task-title">${inlineMarkdown(title)}</span>${meta}</li>`
8898
+ );
8893
8899
  i += 1;
8894
8900
  }
8895
8901
  out.push(`<ul class="checklist">${items.join("")}</ul>`);
@@ -12732,7 +12738,7 @@ async function runCiGate(opts) {
12732
12738
  }
12733
12739
 
12734
12740
  // src/args.ts
12735
- var BOOLEAN_FLAGS = /* @__PURE__ */ new Set(["json", "local", "strict", "yes", "dry-run", "require-evidence", "help", "version"]);
12741
+ var BOOLEAN_FLAGS = /* @__PURE__ */ new Set(["json", "local", "strict", "yes", "dry-run", "require-evidence", "require", "help", "version"]);
12736
12742
  function parseArgs(argv) {
12737
12743
  const positionals = [];
12738
12744
  const flags = {};
@@ -12804,7 +12810,7 @@ var CATALOG = [
12804
12810
  { name: "archive", description: "Pliega los deltas a la spec viva y archiva el cambio", flags: ["yes", "dry-run", "domain", "json"], usage: "satlas archive <slug> [--yes] [--dry-run] [--json]" },
12805
12811
  { name: "verify", description: "Registra evidencia por escenario (ejecuta el comando y guarda resultado y hash)", flags: ["scenario", "command", "method", "result", "by", "notes", "file", "allow-command", "json"], usage: 'satlas verify <slug> [--scenario REQ-\u2026-S1 --command "npm test" --by "<nombre>"]' },
12806
12812
  { name: "analyze", description: "Chequeo cruzado (lint + trace + waves + mockups) y escribe analyze.md", flags: ["json"], usage: "satlas analyze <slug>" },
12807
- { name: "mockup", description: "Planifica, valida o captura los mockups del cambio", flags: ["plan", "check", "capture", "json"], usage: "satlas mockup <slug> [--check|--capture]" },
12813
+ { name: "mockup", description: "Planifica, valida o captura los mockups del cambio", flags: ["plan", "check", "capture", "require", "json"], usage: "satlas mockup <slug> [--plan|--check|--capture|--require]" },
12808
12814
  { name: "present", description: "Genera el paquete de propuesta para el stakeholder (HTML autocontenido)", flags: ["json"], usage: "satlas present <slug>" },
12809
12815
  { name: "ci", description: "Gate de pipeline: specs + cambios + doctor + adaptadores (sin agente)", flags: ["strict", "json"], usage: "satlas ci [--strict]" },
12810
12816
  { name: "metrics", description: "M\xE9tricas locales del workspace (progreso, WIP, throughput, evidencia)", flags: ["json"], usage: "satlas metrics [--json]" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "specatlas",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
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.8"
43
+ "@specatlas/core": "0.1.9"
44
44
  },
45
45
  "scripts": {
46
46
  "typecheck": "tsc --noEmit",