delimit-cli 3.4.0 → 3.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.
@@ -183,6 +183,29 @@ async function main() {
183
183
  }
184
184
  }
185
185
 
186
+ // Step 3d: Configure Gemini CLI (if installed)
187
+ const GEMINI_CONFIG = path.join(os.homedir(), '.gemini', 'settings.json');
188
+ if (fs.existsSync(GEMINI_CONFIG)) {
189
+ try {
190
+ let geminiConfig = JSON.parse(fs.readFileSync(GEMINI_CONFIG, 'utf-8'));
191
+ if (!geminiConfig.mcpServers) geminiConfig.mcpServers = {};
192
+ if (geminiConfig.mcpServers.delimit) {
193
+ log(` ${green('✓')} Delimit already in Gemini CLI config`);
194
+ } else {
195
+ geminiConfig.mcpServers.delimit = {
196
+ command: python,
197
+ args: [actualServer],
198
+ cwd: path.join(DELIMIT_HOME, 'server'),
199
+ env: { PYTHONPATH: path.join(DELIMIT_HOME, 'server') }
200
+ };
201
+ fs.writeFileSync(GEMINI_CONFIG, JSON.stringify(geminiConfig, null, 2));
202
+ log(` ${green('✓')} Added delimit to Gemini CLI (${GEMINI_CONFIG})`);
203
+ }
204
+ } catch (e) {
205
+ log(` ${yellow('!')} Could not configure Gemini CLI: ${e.message}`);
206
+ }
207
+ }
208
+
186
209
  // Step 4: Install default agents
187
210
  step(4, 'Installing governance agents...');
188
211