great-cto 3.49.1 → 3.50.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "great-cto",
3
3
  "description": "You already have the agent. This is everything around it. great_cto runs Claude Code as a pipeline of 72 specialist agents \u2014 an independent model checks each stage before the next builds on it, spending caps refuse rather than warn, and three decisions stay yours: what gets built, how, and whether it ships.",
4
- "version": "3.49.1",
4
+ "version": "3.50.0",
5
5
  "author": {
6
6
  "name": "Alexander Velikiy",
7
7
  "url": "https://hashnode.com/@Greatcto"
@@ -477,5 +477,6 @@
477
477
  "./agents-full/us-privacy-reviewer.md",
478
478
  "./agents-full/voice-ai-reviewer.md",
479
479
  "./agents-full/web-store-reviewer.md"
480
- ]
480
+ ],
481
+ "types": "./types/index.d.ts"
481
482
  }
@@ -644,7 +644,11 @@ async function dispatch(req, res, url, cwd) {
644
644
  // The title is a NICETY — `id` was already its documented fallback. The
645
645
  // line is the record. So the lookup gets its own try and cannot take the
646
646
  // record down with it, and the caller is told which of the two happened.
647
- const projectSlug = parsed.project || path.basename(gateCwd);
647
+ // A project given by PATH (the gate pane names its project by the session
648
+ // root, which resolves for any project under HOME) is logged by its
649
+ // directory's name: the path is the operator's own, and decisions.md may be
650
+ // committed.
651
+ const projectSlug = parsed.project && !/^[\/~]/.test(parsed.project) ? parsed.project : path.basename(gateCwd);
648
652
  let title = id;
649
653
  try {
650
654
  const gateTask = getTasks(gateCwd).find((t) => t.id === id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "great-cto",
3
- "version": "3.49.1",
3
+ "version": "3.50.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",