delimit-cli 4.1.17 → 4.1.18

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 CHANGED
@@ -30,9 +30,9 @@ Works across any configuration — from a single model on a budget to an enterpr
30
30
  ## Try it in 2 minutes
31
31
 
32
32
  ```bash
33
- npx delimit-cli scan # Instant health grade for your API spec
34
- npx delimit-cli demo # See governance in action — no setup needed
35
- npx delimit-cli setup # Configure your AI assistants
33
+ npx delimit-cli scan # Instant health grade for your API spec
34
+ npx delimit-cli demo # See governance in action — no setup needed
35
+ npx delimit-cli setup && source ~/.bashrc # Configure AI assistants + activate
36
36
  ```
37
37
 
38
38
  No API keys. No account. No config files.
@@ -802,19 +802,17 @@ exit 127
802
802
  log(` ${green('✓')} Governance wrapping enabled`);
803
803
  }
804
804
 
805
- // Activate shims in current session by setting PATH
806
- process.env.PATH = `${shimsDir}:${process.env.PATH}`;
807
-
808
- // Verify the shim is reachable
809
- try {
810
- const which = execSync(`which claude 2>/dev/null`, { encoding: 'utf-8', timeout: 3000 }).trim();
811
- if (which.includes('.delimit/shims')) {
812
- log(` ${green('')} Shim active: ${dim(which)}`);
813
- } else {
814
- log(` ${yellow('⚠')} Shim not in PATH yet — run: ${green('source ~/.bashrc')}`);
815
- }
816
- } catch {
817
- log(` ${dim(' Run')} ${green('source ~/.bashrc')} ${dim('to activate the governance banner')}`);
805
+ // Check if shims are already in current PATH
806
+ const currentPath = process.env.PATH || '';
807
+ if (!currentPath.includes('.delimit/shims')) {
808
+ // Can't modify parent shell, but try exec $SHELL -l to reload
809
+ log('');
810
+ log(` ${yellow('!')} Run this to activate the banner now:`);
811
+ log(` ${green(`export PATH="${shimsDir}:$PATH"`)}`);
812
+ log('');
813
+ log(` ${dim('Or just open a new terminal. Future sessions load it automatically.')}`);
814
+ } else {
815
+ log(` ${green('✓')} Shim active in current shell`);
818
816
  }
819
817
  } else {
820
818
  log(` ${dim(' Skipped. Enable later: delimit shims enable')}`);
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": "4.1.17",
4
+ "version": "4.1.18",
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": [