delimit-cli 3.6.5 → 3.6.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.
- package/README.md +1 -1
- package/bin/delimit-setup.js +14 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ That's it. Delimit auto-fetches the base branch spec, diffs it, and posts a PR c
|
|
|
39
39
|
- Step-by-step migration guide
|
|
40
40
|
- Policy violations
|
|
41
41
|
|
|
42
|
-
[View on GitHub Marketplace →](https://github.com/marketplace/actions/delimit-api-governance)
|
|
42
|
+
[View on GitHub Marketplace →](https://github.com/marketplace/actions/delimit-api-governance) · [See a live PR comment →](https://github.com/delimit-ai/delimit-quickstart/pull/1)
|
|
43
43
|
|
|
44
44
|
### Example PR comment
|
|
45
45
|
|
package/bin/delimit-setup.js
CHANGED
|
@@ -184,10 +184,14 @@ async function main() {
|
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
// Step 3d: Configure Gemini CLI (if installed)
|
|
187
|
-
const
|
|
188
|
-
|
|
187
|
+
const GEMINI_DIR = path.join(os.homedir(), '.gemini');
|
|
188
|
+
const GEMINI_CONFIG = path.join(GEMINI_DIR, 'settings.json');
|
|
189
|
+
if (fs.existsSync(GEMINI_DIR)) {
|
|
189
190
|
try {
|
|
190
|
-
let geminiConfig =
|
|
191
|
+
let geminiConfig = {};
|
|
192
|
+
if (fs.existsSync(GEMINI_CONFIG)) {
|
|
193
|
+
geminiConfig = JSON.parse(fs.readFileSync(GEMINI_CONFIG, 'utf-8'));
|
|
194
|
+
}
|
|
191
195
|
if (!geminiConfig.mcpServers) geminiConfig.mcpServers = {};
|
|
192
196
|
if (geminiConfig.mcpServers.delimit) {
|
|
193
197
|
log(` ${green('✓')} Delimit already in Gemini CLI config`);
|
|
@@ -308,6 +312,13 @@ Run full governance compliance checks. Verify security, policy compliance, evide
|
|
|
308
312
|
log('');
|
|
309
313
|
log(` ${green('Delimit is installed.')} Your AI now has persistent memory and governance.`);
|
|
310
314
|
log('');
|
|
315
|
+
log(' Configured for:');
|
|
316
|
+
const tools = ['Claude Code'];
|
|
317
|
+
if (fs.existsSync(CODEX_CONFIG)) tools.push('Codex');
|
|
318
|
+
if (fs.existsSync(path.join(os.homedir(), '.cursor'))) tools.push('Cursor');
|
|
319
|
+
if (fs.existsSync(GEMINI_DIR)) tools.push('Gemini CLI');
|
|
320
|
+
log(` ${green('✓')} ${tools.join(', ')}`);
|
|
321
|
+
log('');
|
|
311
322
|
log(' Try it now:');
|
|
312
323
|
log(` ${bold('$ claude')}`);
|
|
313
324
|
log('');
|