great-cto 2.72.4 → 2.73.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.
Files changed (2) hide show
  1. package/dist/main.js +5 -0
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -43,6 +43,7 @@ function parseArgs(argv) {
43
43
  boardPort: 3141,
44
44
  boardNoOpen: false,
45
45
  consoleBind: null,
46
+ demo: false,
46
47
  dir: process.cwd(),
47
48
  yes: false,
48
49
  dryRun: false,
@@ -93,6 +94,8 @@ function parseArgs(argv) {
93
94
  args.consoleBind = argv[++i] ?? null;
94
95
  else if (a.startsWith("--bind="))
95
96
  args.consoleBind = a.slice("--bind=".length) || null;
97
+ else if (a === "--demo")
98
+ args.demo = true;
96
99
  else if (a === "board")
97
100
  args.command = "board";
98
101
  else if (a === "console")
@@ -334,6 +337,8 @@ async function runBoard(args, surface) {
334
337
  const env = { ...process.env, BOARD_PORT: String(args.boardPort) };
335
338
  if (surface === "console" && args.consoleBind)
336
339
  env.GREAT_CTO_HOST = args.consoleBind;
340
+ if (args.demo)
341
+ env.GREAT_CTO_DEMO_FEED = "1";
337
342
  const child = spawn(process.execPath, nodeArgs, {
338
343
  env,
339
344
  stdio: "inherit",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "great-cto",
3
- "version": "2.72.4",
3
+ "version": "2.73.0",
4
4
  "description": "One command install for the great_cto Claude Code plugin. Auto-detects your stack, picks the right archetype, bootstraps PROJECT.md.",
5
5
  "keywords": [
6
6
  "claude-code",