@kylewadegrove/cutline-mcp-cli 0.5.0 → 0.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.
@@ -142,6 +142,7 @@ export async function setupCommand(options) {
142
142
  const projectRoot = resolve(options.projectRoot ?? process.cwd());
143
143
  const configPath = join(projectRoot, '.cutline', 'config.json');
144
144
  const hasExistingConfig = existsSync(configPath);
145
+ let graphConnected = hasExistingConfig;
145
146
  if (tier === 'premium' && idToken && !hasExistingConfig) {
146
147
  const productSpinner = ora('Fetching your product graphs...').start();
147
148
  const products = await fetchProducts(idToken, { staging: options.staging });
@@ -167,11 +168,18 @@ export async function setupCommand(options) {
167
168
  }, null, 2) + '\n');
168
169
  console.log(chalk.green(`\n ✓ Connected to "${selected.name}"`));
169
170
  console.log(chalk.dim(` ${configPath}\n`));
171
+ graphConnected = true;
170
172
  }
171
173
  else {
172
174
  console.log(chalk.dim('\n Skipped. Run `cutline-mcp setup` again to connect later.\n'));
173
175
  }
174
176
  }
177
+ else {
178
+ console.log(chalk.dim(' No completed product graphs found.'));
179
+ console.log(chalk.dim(' Ask your AI agent to "Run a deep dive on my product idea" first,'));
180
+ console.log(chalk.dim(' then re-run'), chalk.cyan('cutline-mcp setup'), chalk.dim('to connect it.'));
181
+ console.log();
182
+ }
175
183
  }
176
184
  else if (hasExistingConfig) {
177
185
  try {
@@ -225,6 +233,10 @@ export async function setupCommand(options) {
225
233
  // ── 6. What you can do ───────────────────────────────────────────────────
226
234
  console.log(chalk.bold(' Restart your IDE, then ask your AI agent:\n'));
227
235
  if (tier === 'premium') {
236
+ if (!graphConnected) {
237
+ console.log(` ${chalk.cyan('→')} ${chalk.white('cutline-mcp setup')} ${chalk.dim('(re-run to connect a product graph)')}`);
238
+ console.log(` ${chalk.dim('Link a pre-mortem to unlock constraint-aware code guidance')}`);
239
+ }
228
240
  const items = [
229
241
  { cmd: 'Run a deep dive on my product idea', desc: 'Pre-mortem analysis — risks, assumptions, experiments' },
230
242
  { cmd: 'Run a code audit for my product', desc: 'Security scan + RGR remediation plan' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kylewadegrove/cutline-mcp-cli",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "CLI and MCP servers for Cutline — authenticate, then run constraint-aware MCP servers in Cursor or any MCP client.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",