@girardmedia/bootspring 2.5.5 → 2.5.7

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);
@@ -29,20 +28,53 @@ var C = {
29
28
  var HELP_GROUPS = {
30
29
  "Core": ["auth", "init", "project", "switch", "health", "mcp", "dashboard", "context"],
31
30
  "Build & Deploy": ["build", "deploy", "loop", "quality", "security", "doctor", "update"],
32
- "Planning": ["plan", "prd", "preseed", "preseed-start", "preseed-from-codebase", "seed", "manager"],
31
+ "Planning": ["plan", "prd", "seed", "manager"],
32
+ "Pipeline & Workflows": ["pipeline", "workflow", "harness"],
33
33
  "Agents & Skills": ["agent", "skill", "todo", "billing", "plugin"],
34
34
  "Analysis": ["analyze", "audit", "monitor", "metrics", "validate", "visualize"],
35
+ "Pro Tools": ["geo", "marketing", "sales", "jobs"],
35
36
  "Docs & Content": ["generate", "content", "docs"],
36
- "Intelligence": ["learn", "memory", "suggest", "orchestrator", "watch"],
37
+ "Intelligence": ["learn", "memory", "suggest", "orchestrator", "watch", "observe", "autopilot"],
37
38
  "Business": ["business", "fundraise", "legal", "org"],
38
39
  "Infrastructure": ["workspace", "cloud-sync", "github", "onboard", "checkpoint", "setup"],
39
40
  "Tools": ["log", "mvp", "task", "telemetry"]
40
41
  };
41
42
  function showHelp() {
42
43
  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}
44
+ console.log(`${C.dim}AI-assisted development platform${C.reset}
44
45
  `);
45
46
  console.log(`${C.bold}Usage:${C.reset} bootspring <command> [options]
47
+ `);
48
+ console.log(`${C.cyan}${C.bold}QUICK START${C.reset}`);
49
+ console.log(` ${C.green}bootspring go${C.reset} ${C.dim}One command to set up everything${C.reset}`);
50
+ console.log(` ${C.green}bootspring auth login${C.reset} ${C.dim}Authenticate (required first time)${C.reset}`);
51
+ console.log(` ${C.green}bootspring setup${C.reset} ${C.dim}Configure MCP for Claude/Codex/Gemini${C.reset}`);
52
+ console.log("");
53
+ console.log(`${C.cyan}${C.bold}NEW PROJECT${C.reset}`);
54
+ console.log(` ${C.green}bootspring seed init${C.reset} ${C.dim}Create context document templates${C.reset}`);
55
+ console.log(` ${C.green}bootspring seed go${C.reset} ${C.dim}Full workflow: detect + seed + generate + build${C.reset}`);
56
+ console.log(` ${C.green}bootspring generate${C.reset} ${C.dim}Generate AI context files${C.reset}`);
57
+ console.log("");
58
+ console.log(`${C.cyan}${C.bold}EXISTING PROJECT${C.reset}`);
59
+ console.log(` ${C.green}bootspring seed from-codebase${C.reset} ${C.dim}Detect stack and generate context${C.reset}`);
60
+ console.log(` ${C.green}bootspring onboard start${C.reset} ${C.dim}Full analysis of existing codebase${C.reset}`);
61
+ console.log("");
62
+ console.log(`${C.cyan}${C.bold}BUILD LOOP${C.reset}`);
63
+ console.log(` ${C.green}bootspring build next${C.reset} ${C.dim}Start the next task${C.reset}`);
64
+ console.log(` ${C.green}bootspring build done${C.reset} ${C.dim}Mark current task complete${C.reset}`);
65
+ console.log(` ${C.green}bootspring build status${C.reset} ${C.dim}Check build progress${C.reset}`);
66
+ console.log("");
67
+ console.log(`${C.cyan}${C.bold}MORE${C.reset}`);
68
+ console.log(` ${C.green}bootspring doctor${C.reset} ${C.dim}Diagnose project issues${C.reset}`);
69
+ console.log(` ${C.green}bootspring observe${C.reset} ${C.dim}Session intelligence and analytics${C.reset}`);
70
+ console.log(` ${C.green}bootspring commands${C.reset} ${C.dim}Show all ${Object.values(HELP_GROUPS).flat().length}+ commands${C.reset}`);
71
+ console.log(`
72
+ ${C.dim}Run "bootspring <command> --help" for details${C.reset}`);
73
+ console.log(`${C.dim}Docs: https://bootspring.com/docs${C.reset}
74
+ `);
75
+ }
76
+ function showFullCommands() {
77
+ console.log(`${C.cyan}${C.bold}\u26A1 Bootspring${C.reset} ${C.dim}v${VERSION} \u2014 All Commands${C.reset}
46
78
  `);
47
79
  for (const [group, cmds] of Object.entries(HELP_GROUPS)) {
48
80
  console.log(`${C.bold}${group}:${C.reset} ${cmds.map((command) => `${C.green}${command}${C.reset}`).join(", ")}`);
@@ -58,13 +90,9 @@ function runCli(args) {
58
90
  console.error(`${C.dim}Please run 'npm run build' first.${C.reset}`);
59
91
  process.exit(1);
60
92
  }
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
- });
93
+ process.env.BOOTSPRING_BRIDGE = "true";
94
+ process.argv = [process.argv[0], CLI_DIST, ...args];
95
+ require(CLI_DIST);
68
96
  }
69
97
  async function main() {
70
98
  const args = process.argv.slice(2);
@@ -73,6 +101,10 @@ async function main() {
73
101
  showHelp();
74
102
  return;
75
103
  }
104
+ if (command === "commands") {
105
+ showFullCommands();
106
+ return;
107
+ }
76
108
  if (command === "--version" || command === "-v") {
77
109
  console.log(`Bootspring v${VERSION}`);
78
110
  return;