delimit-cli 3.14.33 → 3.14.34
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/bin/delimit-setup.js +12 -0
- package/package.json +1 -1
package/bin/delimit-setup.js
CHANGED
|
@@ -298,6 +298,18 @@ async function main() {
|
|
|
298
298
|
|
|
299
299
|
// Step 3b: Configure Codex MCP (if installed)
|
|
300
300
|
const CODEX_CONFIG = path.join(os.homedir(), '.codex', 'config.toml');
|
|
301
|
+
// Create config.toml if .codex dir exists or codex is in PATH
|
|
302
|
+
if (!fs.existsSync(CODEX_CONFIG)) {
|
|
303
|
+
const codexDir = path.join(os.homedir(), '.codex');
|
|
304
|
+
let hasCodex = fs.existsSync(codexDir);
|
|
305
|
+
if (!hasCodex) {
|
|
306
|
+
try { execSync('which codex 2>/dev/null', { stdio: 'pipe' }); hasCodex = true; } catch {}
|
|
307
|
+
}
|
|
308
|
+
if (hasCodex) {
|
|
309
|
+
fs.mkdirSync(codexDir, { recursive: true });
|
|
310
|
+
fs.writeFileSync(CODEX_CONFIG, '');
|
|
311
|
+
}
|
|
312
|
+
}
|
|
301
313
|
if (fs.existsSync(CODEX_CONFIG)) {
|
|
302
314
|
try {
|
|
303
315
|
let toml = fs.readFileSync(CODEX_CONFIG, 'utf-8');
|
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.
|
|
4
|
+
"version": "3.14.34",
|
|
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": [
|