@girardmedia/bootspring 2.5.6 → 2.5.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.
@@ -3,7 +3,6 @@
3
3
  // publish-shell/bootspring.ts
4
4
  var path = require("path");
5
5
  var fs = require("fs");
6
- var { spawn } = require("child_process");
7
6
  function resolveExistingPath(relativeCandidates) {
8
7
  for (const relativePath of relativeCandidates) {
9
8
  const absolutePath = path.resolve(__dirname, relativePath);
@@ -27,22 +26,57 @@ var C = {
27
26
  red: "\x1B[31m"
28
27
  };
29
28
  var HELP_GROUPS = {
30
- "Core": ["auth", "init", "project", "switch", "health", "mcp", "dashboard", "context"],
31
- "Build & Deploy": ["build", "deploy", "loop", "quality", "security", "doctor", "update"],
32
- "Planning": ["plan", "prd", "preseed", "preseed-start", "preseed-from-codebase", "seed", "manager"],
33
- "Agents & Skills": ["agent", "skill", "todo", "billing", "plugin"],
34
- "Analysis": ["analyze", "audit", "monitor", "metrics", "validate", "visualize"],
29
+ "Core": ["auth", "init", "project", "switch", "health", "doctor", "mcp", "dashboard", "context", "setup", "go"],
30
+ "Build & Deploy": ["build", "deploy", "loop", "quality", "security", "update", "undo", "scaffold", "guardian"],
31
+ "Planning": ["plan", "prd", "seed", "manager", "spec"],
32
+ "Pipeline & Workflows": ["pipeline", "workflow", "harness", "flow", "autonomous", "pair"],
33
+ "Agents & Skills": ["agent", "skill", "todo", "billing", "plugin", "studio", "prompt"],
34
+ "Analysis & Quality": ["analyze", "audit", "monitor", "metrics", "validate", "visualize", "graph", "diff", "review-code", "arch", "predict", "profile", "runtime", "testgen"],
35
+ "AI & Models": ["model", "local", "learn", "memory", "suggest", "orchestrator"],
36
+ "Intelligence": ["observe", "autopilot", "watch", "timemachine", "team", "network", "report"],
37
+ "Pro Tools": ["geo", "marketing", "sales", "jobs"],
35
38
  "Docs & Content": ["generate", "content", "docs"],
36
- "Intelligence": ["learn", "memory", "suggest", "orchestrator", "watch"],
37
39
  "Business": ["business", "fundraise", "legal", "org"],
38
- "Infrastructure": ["workspace", "cloud-sync", "github", "onboard", "checkpoint", "setup"],
39
- "Tools": ["log", "mvp", "task", "telemetry"]
40
+ "Infrastructure": ["workspace", "cloud-sync", "github", "onboard", "checkpoint", "sync", "issue"],
41
+ "Tools": ["log", "mvp", "task", "telemetry", "visual"]
40
42
  };
41
43
  function showHelp() {
42
44
  console.log(`${C.cyan}${C.bold}\u26A1 Bootspring${C.reset} ${C.dim}v${VERSION}${C.reset}`);
43
- console.log(`${C.dim}Development scaffolding with intelligence${C.reset}
45
+ console.log(`${C.dim}AI-assisted development platform${C.reset}
44
46
  `);
45
47
  console.log(`${C.bold}Usage:${C.reset} bootspring <command> [options]
48
+ `);
49
+ console.log(`${C.cyan}${C.bold}QUICK START${C.reset}`);
50
+ console.log(` ${C.green}bootspring go${C.reset} ${C.dim}One command to set up everything${C.reset}`);
51
+ console.log(` ${C.green}bootspring auth login${C.reset} ${C.dim}Authenticate (required first time)${C.reset}`);
52
+ console.log(` ${C.green}bootspring setup${C.reset} ${C.dim}Configure MCP for Claude/Codex/Gemini${C.reset}`);
53
+ console.log("");
54
+ console.log(`${C.cyan}${C.bold}NEW PROJECT${C.reset}`);
55
+ console.log(` ${C.green}bootspring seed init${C.reset} ${C.dim}Create context document templates${C.reset}`);
56
+ console.log(` ${C.green}bootspring seed go${C.reset} ${C.dim}Full workflow: detect + seed + generate + build${C.reset}`);
57
+ console.log(` ${C.green}bootspring generate${C.reset} ${C.dim}Generate AI context files${C.reset}`);
58
+ console.log("");
59
+ console.log(`${C.cyan}${C.bold}EXISTING PROJECT${C.reset}`);
60
+ console.log(` ${C.green}bootspring seed from-codebase${C.reset} ${C.dim}Detect stack and generate context${C.reset}`);
61
+ console.log(` ${C.green}bootspring onboard start${C.reset} ${C.dim}Full analysis of existing codebase${C.reset}`);
62
+ console.log("");
63
+ console.log(`${C.cyan}${C.bold}BUILD LOOP${C.reset}`);
64
+ console.log(` ${C.green}bootspring build next${C.reset} ${C.dim}Start the next task${C.reset}`);
65
+ console.log(` ${C.green}bootspring build done${C.reset} ${C.dim}Mark current task complete${C.reset}`);
66
+ console.log(` ${C.green}bootspring build status${C.reset} ${C.dim}Check build progress${C.reset}`);
67
+ console.log("");
68
+ console.log(`${C.cyan}${C.bold}MORE${C.reset}`);
69
+ console.log(` ${C.green}bootspring doctor${C.reset} ${C.dim}Diagnose project issues${C.reset}`);
70
+ console.log(` ${C.green}bootspring observe${C.reset} ${C.dim}Session intelligence and analytics${C.reset}`);
71
+ console.log(` ${C.green}bootspring commands${C.reset} ${C.dim}Show all ${Object.values(HELP_GROUPS).flat().length} commands${C.reset}`);
72
+ console.log(`
73
+ ${C.dim}Run "bootspring <command> --help" for details${C.reset}`);
74
+ console.log(`${C.dim}Docs: https://bootspring.com/docs${C.reset}
75
+ `);
76
+ }
77
+ function showFullCommands() {
78
+ const total = Object.values(HELP_GROUPS).flat().length;
79
+ console.log(`${C.cyan}${C.bold}\u26A1 Bootspring${C.reset} ${C.dim}v${VERSION} \u2014 ${total} commands${C.reset}
46
80
  `);
47
81
  for (const [group, cmds] of Object.entries(HELP_GROUPS)) {
48
82
  console.log(`${C.bold}${group}:${C.reset} ${cmds.map((command) => `${C.green}${command}${C.reset}`).join(", ")}`);
@@ -58,13 +92,9 @@ function runCli(args) {
58
92
  console.error(`${C.dim}Please run 'npm run build' first.${C.reset}`);
59
93
  process.exit(1);
60
94
  }
61
- const child = spawn("node", [CLI_DIST, ...args], {
62
- stdio: "inherit",
63
- env: { ...process.env, BOOTSPRING_BRIDGE: "true" }
64
- });
65
- child.on("exit", (code) => {
66
- process.exit(code || 0);
67
- });
95
+ process.env.BOOTSPRING_BRIDGE = "true";
96
+ process.argv = [process.argv[0], CLI_DIST, ...args];
97
+ require(CLI_DIST);
68
98
  }
69
99
  async function main() {
70
100
  const args = process.argv.slice(2);
@@ -73,6 +103,10 @@ async function main() {
73
103
  showHelp();
74
104
  return;
75
105
  }
106
+ if (command === "commands") {
107
+ showFullCommands();
108
+ return;
109
+ }
76
110
  if (command === "--version" || command === "-v") {
77
111
  console.log(`Bootspring v${VERSION}`);
78
112
  return;