delimit-cli 3.14.31 → 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.
@@ -209,6 +209,30 @@ async function main() {
209
209
  log(` ${dim(' Pro modules not available for ${artifact} — free tools work fine')}`);
210
210
  }
211
211
 
212
+ // Re-copy gateway source AFTER Pro modules to ensure full files aren't overwritten by stubs
213
+ if (fs.existsSync(gatewaySource)) {
214
+ copyDir(gatewaySource, path.join(DELIMIT_HOME, 'server'));
215
+ }
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
+
212
236
  // Install Python deps into isolated venv with pinned versions
213
237
  log(` ${dim(' Installing Python dependencies...')}`);
214
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.31",
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": [