delimit-cli 3.14.32 → 3.14.33
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 +19 -0
- package/package.json +1 -1
package/bin/delimit-setup.js
CHANGED
|
@@ -214,6 +214,25 @@ async function main() {
|
|
|
214
214
|
copyDir(gatewaySource, path.join(DELIMIT_HOME, 'server'));
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
+
// Remove stale .so binaries that shadow updated .py source files
|
|
218
|
+
// Python loads .so before .py, so old compiled stubs block new source
|
|
219
|
+
const aiDir = path.join(DELIMIT_HOME, 'server', 'ai');
|
|
220
|
+
if (fs.existsSync(aiDir)) {
|
|
221
|
+
try {
|
|
222
|
+
const soFiles = fs.readdirSync(aiDir).filter(f => f.endsWith('.so'));
|
|
223
|
+
for (const so of soFiles) {
|
|
224
|
+
const pyName = so.replace(/\.cpython-\d+-.+\.so$/, '.py');
|
|
225
|
+
const pyPath = path.join(aiDir, pyName);
|
|
226
|
+
if (fs.existsSync(pyPath)) {
|
|
227
|
+
fs.unlinkSync(path.join(aiDir, so));
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
if (soFiles.length > 0) {
|
|
231
|
+
await logp(` ${green('✓')} Cleaned ${soFiles.length} stale compiled modules`);
|
|
232
|
+
}
|
|
233
|
+
} catch { /* ignore cleanup errors */ }
|
|
234
|
+
}
|
|
235
|
+
|
|
217
236
|
// Install Python deps into isolated venv with pinned versions
|
|
218
237
|
log(` ${dim(' Installing Python dependencies...')}`);
|
|
219
238
|
const venvDir = path.join(DELIMIT_HOME, 'venv');
|
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.33",
|
|
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": [
|