ai-project-boilerplate 1.5.0 → 1.5.1

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/bin/cli.js +20 -3
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -249,9 +249,26 @@ async function main() {
249
249
  }
250
250
  }
251
251
 
252
- console.log(`\nNext: Ask your AI to read:`);
253
- console.log(` ai-project-integration-plan/.ai-project-integration-instructions`);
254
- console.log(`\nYour AI will decide how to integrate the boilerplate into your project.`);
252
+ const yellow = (s) => `\x1b[33m${s}\x1b[0m`;
253
+ const cyan = (s) => `\x1b[36m${s}\x1b[0m`;
254
+ const bold = (s) => `\x1b[1m${s}\x1b[0m`;
255
+ const strip = (s) => s.replace(/\x1b\[[0-9;]*m/g, "");
256
+
257
+ const nextLines = [
258
+ ` ${bold(yellow("NEXT STEP"))}`,
259
+ ` Ask your AI to read:`,
260
+ ``,
261
+ ` ${bold(cyan("ai-project-integration-plan/.ai-project-integration-instructions"))}`,
262
+ ];
263
+
264
+ const nextWidth = Math.max(...nextLines.map(l => strip(l).length)) + 2;
265
+ const nextBorder = yellow("─".repeat(nextWidth));
266
+
267
+ console.log(`\n${yellow("┌")}${nextBorder}${yellow("┐")}`);
268
+ for (const line of nextLines) {
269
+ console.log(`${yellow("│")} ${line.padEnd(line.length + nextWidth - strip(line).length - 1)}${yellow("│")}`);
270
+ }
271
+ console.log(`${yellow("└")}${nextBorder}${yellow("┘")}\n`);
255
272
  }
256
273
 
257
274
  main();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-project-boilerplate",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "CLI to scaffold AI-collaborated projects with stage-based AI instruction files",
5
5
  "bin": {
6
6
  "ai-project": "bin/cli.js"