delimit-cli 3.14.34 → 3.14.36
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 +5 -3
- package/package.json +1 -1
package/bin/delimit-setup.js
CHANGED
|
@@ -306,12 +306,14 @@ async function main() {
|
|
|
306
306
|
try { execSync('which codex 2>/dev/null', { stdio: 'pipe' }); hasCodex = true; } catch {}
|
|
307
307
|
}
|
|
308
308
|
if (hasCodex) {
|
|
309
|
-
fs.mkdirSync(codexDir, { recursive: true });
|
|
310
|
-
fs.writeFileSync(CODEX_CONFIG, '');
|
|
309
|
+
fs.mkdirSync(codexDir, { recursive: true, mode: 0o755 });
|
|
310
|
+
fs.writeFileSync(CODEX_CONFIG, '', { mode: 0o644 });
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
if (fs.existsSync(CODEX_CONFIG)) {
|
|
314
314
|
try {
|
|
315
|
+
// Fix permissions on existing config
|
|
316
|
+
fs.chmodSync(CODEX_CONFIG, 0o644);
|
|
315
317
|
let toml = fs.readFileSync(CODEX_CONFIG, 'utf-8');
|
|
316
318
|
if (toml.includes('[mcp_servers.delimit]')) {
|
|
317
319
|
await logp(` ${green('✓')} Delimit already in Codex config`);
|
|
@@ -320,7 +322,7 @@ async function main() {
|
|
|
320
322
|
const serverDir = path.join(DELIMIT_HOME, 'server');
|
|
321
323
|
const codexEntry = `\n[mcp_servers.delimit]\ncommand = "${python}"\nargs = ["${actualServer}"]\ncwd = "${serverDir}"\n\n[mcp_servers.delimit.env]\nPYTHONPATH = "${serverDir}:${path.join(serverDir, 'ai')}"\n`;
|
|
322
324
|
toml += codexEntry;
|
|
323
|
-
fs.writeFileSync(CODEX_CONFIG, toml);
|
|
325
|
+
fs.writeFileSync(CODEX_CONFIG, toml, { mode: 0o644 });
|
|
324
326
|
await logp(` ${green('✓')} Added delimit to Codex (${CODEX_CONFIG})`);
|
|
325
327
|
configuredTools.push('Codex');
|
|
326
328
|
}
|
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.36",
|
|
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": [
|