@zero2webmaster/starter-kit 0.54.1 → 0.55.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # z2w-starter-kit
2
2
 
3
- **Version:** 0.54.1 | **Framework:** 2.19.0
3
+ **Version:** 0.55.0 | **Framework:** 2.19.0
4
4
 
5
5
  > Node CLI to scaffold new Z2W projects from canonical Templates + AGENTS.md.
6
6
 
@@ -154,4 +154,4 @@ Inquiries: kerry@zero2webmaster.com.
154
154
  ---
155
155
 
156
156
  *Scaffolded 2026-05-28 via the [[instantiate-z2w-project]] Claude Code skill v1; reconciled against the consolidated skill v1.1.0 (brief-first + Agent Coordination block) on 2026-05-29.*
157
- *Version: 0.54.1 | Last Updated: 2026-11-04*
157
+ *Version: 0.55.0 | Last Updated: 2026-11-04*
package/dist/cli.js CHANGED
@@ -198,7 +198,7 @@ program
198
198
  .option("--show-contents", "in --dry-run mode, also print every file's full content")
199
199
  .option("--input <source>", "load ScaffoldInputs JSON from a file path, or '-' for stdin (bypasses brief/wizard)")
200
200
  .option("--target-path <path>", "absolute path to scaffold into (defaults to inputs.targetPath)")
201
- .option("--templates-path <path>", "absolute path to the Templates folder (default: ~/Desktop/Zero2Webmaster/AI/Projects/agent-framework, then ~/Desktop/Zero2Webmaster/AI/Cursor Projects/agent-framework, then ~/Desktop/Zero2Webmaster/AI/Templates)")
201
+ .option("--templates-path <path>", "absolute path to the Templates folder (default: ~/Desktop/Zero2Webmaster/AI/Projects/agent-framework)")
202
202
  .option("--promote-standards", "run the (a) inline / (b) promote-into-Templates dialog per applicable standard")
203
203
  .option("--allow-non-empty", "allow writes into a non-empty target directory (default: refuse)")
204
204
  .option("--no-color", "disable colored output (default: auto-detect TTY)")
@@ -57,10 +57,9 @@ const SPECS = {
57
57
  relPath: "AGENT_PROTOCOL.md",
58
58
  localCandidates: () => [
59
59
  // Since 2026-08-29 these are ONE clone (the Desktop path is a symlink),
60
- // but every spelling is kept so a machine that predates that still works.
61
- // AI/Projects is the portfolio folder's name after ROADMAP Step 59.
60
+ // but both spellings are kept so a machine that predates that still works.
61
+ // The `AI/Cursor Projects` spelling was dropped in v0.55.0 (Step 59 part 6).
62
62
  join(homedir(), "Desktop/Zero2Webmaster/AI/Projects/z2w-agent-coordination/AGENT_PROTOCOL.md"),
63
- join(homedir(), "Desktop/Zero2Webmaster/AI/Cursor Projects/z2w-agent-coordination/AGENT_PROTOCOL.md"),
64
63
  join(homedir(), ".cache/z2w-coordination/AGENT_PROTOCOL.md"),
65
64
  ],
66
65
  guards: "the emitted Agent Coordination pointer is upstream's steps 1 + 1b VERBATIM, " +
@@ -70,11 +69,9 @@ const SPECS = {
70
69
  repo: "agent-framework",
71
70
  relPath: "Resources/CAPTURE_LEARNINGS_BLOCK.md",
72
71
  localCandidates: () => [
73
- // Newest location first (AI/Projects after ROADMAP Step 59), older ones
74
- // kept as fallbacks so the byte-diff test does not quietly start skipping.
72
+ // AI/Projects since ROADMAP Step 59; the older two spellings were dropped
73
+ // in v0.55.0 (one is a symlink to this path, the other no longer exists).
75
74
  join(homedir(), "Desktop/Zero2Webmaster/AI/Projects/agent-framework/Resources/CAPTURE_LEARNINGS_BLOCK.md"),
76
- join(homedir(), "Desktop/Zero2Webmaster/AI/Cursor Projects/agent-framework/Resources/CAPTURE_LEARNINGS_BLOCK.md"),
77
- join(homedir(), "Desktop/Zero2Webmaster/AI/Templates/Resources/CAPTURE_LEARNINGS_BLOCK.md"),
78
75
  ],
79
76
  guards: "the emitted Capture Learnings block is byte-identical to the canonical source",
80
77
  },
package/dist/index.d.ts CHANGED
@@ -357,7 +357,7 @@ export interface ScaffoldOptions {
357
357
  date?: string;
358
358
  /**
359
359
  * Override the canonical Templates folder location. Defaults to the standard
360
- * local resolution (`~/Desktop/Zero2Webmaster/AI/Projects/agent-framework/`, falling back to `AI/Cursor Projects/agent-framework/` and then `AI/Templates/`). A server
360
+ * local resolution (`~/Desktop/Zero2Webmaster/AI/Projects/agent-framework/`). A server
361
361
  * consumer bundles/mounts Templates and points this at it — the folder is
362
362
  * read server-side and never delivered to the client.
363
363
  */
@@ -1,9 +1,5 @@
1
- /** Where the Templates folder lives once `AI/Cursor Projects` is renamed `AI/Projects` (preferred). */
1
+ /** Where the Templates folder lives (`AI/Projects/agent-framework`, since ROADMAP Step 59). */
2
2
  export declare const DEFAULT_TEMPLATES_PATH: string;
3
- /** Where the Templates folder lived from the 2026-11-02 move until the portfolio-folder rename. */
4
- export declare const PRE_RENAME_TEMPLATES_PATH: string;
5
- /** Where the Templates folder lived before 2026-11-02. Kept as a fallback. */
6
- export declare const LEGACY_TEMPLATES_PATH: string;
7
3
  /** The default locations, in the order they are tried. */
8
4
  export declare const DEFAULT_TEMPLATES_CANDIDATES: readonly string[];
9
5
  export declare const REQUIRED_DIRECTORIES: readonly string[];
@@ -27,11 +23,10 @@ export declare class TemplatesError extends Error {
27
23
  * Resolves the Templates folder path and verifies required entries are present.
28
24
  *
29
25
  * Without an override, the default locations are tried in order
30
- * (`DEFAULT_TEMPLATES_CANDIDATES`: `AI/Projects/agent-framework`, then
31
- * `AI/Cursor Projects/agent-framework`, then the legacy `AI/Templates`) and the
32
- * first COMPLETE one wins. After the rename, the second path is normally a
33
- * symlink to the first, so both name the same folder; that is harmless. A folder that
34
- * exists but is incomplete never shadows a complete one further down the list.
26
+ * (`DEFAULT_TEMPLATES_CANDIDATES`, today just `AI/Projects/agent-framework`)
27
+ * and the first COMPLETE one wins. It stays a list so a future move can add a
28
+ * fallback the way Steps 58 and 59 did. A folder that exists but is incomplete
29
+ * never shadows a complete one further down the list.
35
30
  *
36
31
  * @param override - optional explicit Templates path (e.g. from --templates-path).
37
32
  * Tildes are NOT expanded; pass an already-absolute path.
package/dist/templates.js CHANGED
@@ -17,7 +17,9 @@
17
17
  // 2026-11-02). v0.51.0: the portfolio folder itself is being renamed from
18
18
  // `AI/Cursor Projects` to `AI/Projects` (Kerry confirmed the name 2026-11-02,
19
19
  // ROADMAP Step 59), so the newest path is tried first and each older one is
20
- // kept as a fallback for at least one release after its move. The v0.2.0 hosted-mirror fallback
20
+ // kept as a fallback for at least one release after its move. v0.55.0 (Step 59
21
+ // part 6) dropped both older paths: `AI/Templates` no longer exists and
22
+ // `AI/Cursor Projects` is only a symlink to `AI/Projects`. The v0.2.0 hosted-mirror fallback
21
23
  // (templates.z2w.us + a 24h local cache) was RETIRED 2026-06-23 to protect
22
24
  // the framework IP: the public mirror was taken down, so when no local
23
25
  // Templates folder is present the CLI now hard-fails with a --templates-path
@@ -25,17 +27,11 @@
25
27
  import { promises as fs } from "node:fs";
26
28
  import * as path from "node:path";
27
29
  import * as os from "node:os";
28
- /** Where the Templates folder lives once `AI/Cursor Projects` is renamed `AI/Projects` (preferred). */
30
+ /** Where the Templates folder lives (`AI/Projects/agent-framework`, since ROADMAP Step 59). */
29
31
  export const DEFAULT_TEMPLATES_PATH = path.join(os.homedir(), "Desktop", "Zero2Webmaster", "AI", "Projects", "agent-framework");
30
- /** Where the Templates folder lived from the 2026-11-02 move until the portfolio-folder rename. */
31
- export const PRE_RENAME_TEMPLATES_PATH = path.join(os.homedir(), "Desktop", "Zero2Webmaster", "AI", "Cursor Projects", "agent-framework");
32
- /** Where the Templates folder lived before 2026-11-02. Kept as a fallback. */
33
- export const LEGACY_TEMPLATES_PATH = path.join(os.homedir(), "Desktop", "Zero2Webmaster", "AI", "Templates");
34
32
  /** The default locations, in the order they are tried. */
35
33
  export const DEFAULT_TEMPLATES_CANDIDATES = [
36
34
  DEFAULT_TEMPLATES_PATH,
37
- PRE_RENAME_TEMPLATES_PATH,
38
- LEGACY_TEMPLATES_PATH,
39
35
  ];
40
36
  export const REQUIRED_DIRECTORIES = ["Resources"];
41
37
  /**
@@ -106,11 +102,10 @@ function incompleteError(candidate, missing) {
106
102
  * Resolves the Templates folder path and verifies required entries are present.
107
103
  *
108
104
  * Without an override, the default locations are tried in order
109
- * (`DEFAULT_TEMPLATES_CANDIDATES`: `AI/Projects/agent-framework`, then
110
- * `AI/Cursor Projects/agent-framework`, then the legacy `AI/Templates`) and the
111
- * first COMPLETE one wins. After the rename, the second path is normally a
112
- * symlink to the first, so both name the same folder; that is harmless. A folder that
113
- * exists but is incomplete never shadows a complete one further down the list.
105
+ * (`DEFAULT_TEMPLATES_CANDIDATES`, today just `AI/Projects/agent-framework`)
106
+ * and the first COMPLETE one wins. It stays a list so a future move can add a
107
+ * fallback the way Steps 58 and 59 did. A folder that exists but is incomplete
108
+ * never shadows a complete one further down the list.
114
109
  *
115
110
  * @param override - optional explicit Templates path (e.g. from --templates-path).
116
111
  * Tildes are NOT expanded; pass an already-absolute path.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zero2webmaster/starter-kit",
3
- "version": "0.54.1",
3
+ "version": "0.55.0",
4
4
  "description": "Node CLI to scaffold new Z2W projects from canonical Templates + AGENTS.md.",
5
5
  "author": {
6
6
  "name": "Dr. Kerry Kriger",