great-cto 2.87.0 → 2.87.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.
- package/board/.claude-plugin/plugin.json +1 -1
- package/dist/adapt.js +28 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "great_cto",
|
|
3
3
|
"id": "great_cto",
|
|
4
4
|
"description": "Engineering process for solo founders and teams up to 50 engineers. Agents do architecture, code review, QA, and security. You make two decisions per feature.",
|
|
5
|
-
"version": "2.87.
|
|
5
|
+
"version": "2.87.1",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Great CTO",
|
|
8
8
|
"url": "https://github.com/avelikiy/great_cto"
|
package/dist/adapt.js
CHANGED
|
@@ -541,6 +541,34 @@ export async function runAdapt(args) {
|
|
|
541
541
|
if (!meta.aiTools.includes("cursor") && !meta.aiTools.includes("copilot") && !meta.aiTools.includes("windsurf")) {
|
|
542
542
|
console.log(` Tip: add other AI tools to ai_tools: [] in PROJECT.md to generate .cursorrules, copilot-instructions.md, etc.`);
|
|
543
543
|
}
|
|
544
|
+
for (const line of nextStepsAfterAdapt(meta.aiTools))
|
|
545
|
+
console.log(line);
|
|
544
546
|
}
|
|
545
547
|
return 0;
|
|
546
548
|
}
|
|
549
|
+
/**
|
|
550
|
+
* What to do AFTER the configs exist.
|
|
551
|
+
*
|
|
552
|
+
* Telemetry showed `adapt` at 69 of 100 recorded runs against 2 for `board`:
|
|
553
|
+
* people run it, come back, run it again. Both of this command's closing lines
|
|
554
|
+
* used to point back at itself ("re-run after editing…", "add more tools…") and
|
|
555
|
+
* nothing pointed forward, so the command taught its own loop.
|
|
556
|
+
*
|
|
557
|
+
* The pointer is tool-aware on purpose. `adapt` is the one command that serves
|
|
558
|
+
* non-Claude-Code users (Cursor / Copilot / Windsurf / Aider), and the agent
|
|
559
|
+
* pipeline is Claude-Code-only — telling a Cursor user to run `/audit` would be
|
|
560
|
+
* a dead end, which is worse than saying nothing. So: pipeline steps only where
|
|
561
|
+
* the pipeline exists; otherwise say plainly what they have and what it would
|
|
562
|
+
* take to get the rest.
|
|
563
|
+
*/
|
|
564
|
+
export function nextStepsAfterAdapt(aiTools = []) {
|
|
565
|
+
const hasClaude = aiTools.includes("claude-code");
|
|
566
|
+
const out = ["", "Next:"];
|
|
567
|
+
if (hasClaude) {
|
|
568
|
+
out.push(" 1. Restart Claude Code so it picks up the regenerated CLAUDE.md.", " 2. /audit — full analysis of this codebase (existing project)", " /start — scope and build a new feature (greenfield)", " /inbox — what needs your decision right now", " 3. great-cto board — Kanban + CTO dashboard at localhost:3141");
|
|
569
|
+
}
|
|
570
|
+
else {
|
|
571
|
+
out.push(` Your ${aiTools.join(" / ")} config is live — reload the tool to pick it up.`, " The agent pipeline (architecture review, QA, security gates) runs inside", " Claude Code. To use it here: add claude-code to ai_tools in PROJECT.md,", " then `npx great-cto install`.");
|
|
572
|
+
}
|
|
573
|
+
return out;
|
|
574
|
+
}
|
package/package.json
CHANGED