delimit-cli 3.14.5 → 3.14.6

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.
@@ -109,6 +109,34 @@ async function main() {
109
109
  log(` ${yellow('!')} Claude Code not detected — MCP config will still be created`);
110
110
  }
111
111
 
112
+ // Show what we're about to do and ask for confirmation
113
+ log('');
114
+ log(` ${blue('What Delimit will do:')}`);
115
+ log(` • Install MCP server to ${dim('~/.delimit/')}`);
116
+ log(` • Configure ${hasClaude ? 'Claude Code' : 'your AI assistant'} to use Delimit`);
117
+ log(` • Install governance agents + hooks`);
118
+ log(` • Set up CLAUDE.md instruction file`);
119
+ log('');
120
+ log(` ${dim('Undo anytime:')} rm -rf ~/.delimit && delimit uninstall`);
121
+ log('');
122
+
123
+ const inquirerTop = (() => { try { return require('inquirer'); } catch { return null; } })();
124
+ if (inquirerTop && process.stdin.isTTY) {
125
+ try {
126
+ const { proceed } = await inquirerTop.prompt([{
127
+ type: 'confirm',
128
+ name: 'proceed',
129
+ message: 'Continue with setup? (Enter = Yes)',
130
+ default: true,
131
+ }]);
132
+ if (!proceed) {
133
+ log(`\n ${dim('Setup cancelled. Nothing was changed.')}\n`);
134
+ process.exit(0);
135
+ }
136
+ } catch {}
137
+ }
138
+ log('');
139
+
112
140
  // Step 2: Install Delimit MCP server
113
141
  step(2, 'Installing Delimit MCP server...');
114
142
 
@@ -298,6 +326,33 @@ async function main() {
298
326
  }
299
327
  }
300
328
 
329
+ // Checkpoint: MCP is configured, now ask before modifying project files
330
+ log('');
331
+ log(` ${green('✓')} MCP server installed and configured`);
332
+ log('');
333
+ log(` ${blue('Next: project-level setup')}`);
334
+ log(` • Install governance agents (lint, engineering, governance)`);
335
+ log(` • Update CLAUDE.md with Delimit instructions`);
336
+ log(` • Optional: governance wrapping + hooks`);
337
+ log('');
338
+
339
+ const inquirerMid = (() => { try { return require('inquirer'); } catch { return null; } })();
340
+ if (inquirerMid && process.stdin.isTTY) {
341
+ try {
342
+ const { proceed } = await inquirerMid.prompt([{
343
+ type: 'confirm',
344
+ name: 'proceed',
345
+ message: 'Continue with project setup? (Enter = Yes)',
346
+ default: true,
347
+ }]);
348
+ if (!proceed) {
349
+ log(`\n ${green('MCP is ready.')} Skipped project-level setup.`);
350
+ log(` ${dim('Run')} delimit setup ${dim('again to complete project setup.')}\n`);
351
+ process.exit(0);
352
+ }
353
+ } catch {}
354
+ }
355
+
301
356
  // Step 4: Install default agents
302
357
  step(4, 'Installing governance agents...');
303
358
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "delimit-cli",
3
3
  "mcpName": "io.github.delimit-ai/delimit-mcp-server",
4
- "version": "3.14.5",
4
+ "version": "3.14.6",
5
5
  "description": "Unify Claude Code, Codex, Cursor, and Gemini CLI with persistent context, governance, and multi-model debate.",
6
6
  "main": "index.js",
7
7
  "files": [