delimit-cli 3.14.29 → 3.14.31
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 +8 -6
- package/package.json +1 -1
package/bin/delimit-setup.js
CHANGED
|
@@ -81,12 +81,9 @@ async function main() {
|
|
|
81
81
|
if (latest && latest !== _pkg.version && latest > _pkg.version) {
|
|
82
82
|
log(dim(` Updating delimit-cli ${_pkg.version} -> ${latest}...`));
|
|
83
83
|
execSync('npm install -g delimit-cli@latest 2>/dev/null', { stdio: 'pipe', timeout: 30000 });
|
|
84
|
-
// Re-exec with the updated version
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
execSync(`node "${setupPath}"`, { stdio: 'inherit' });
|
|
88
|
-
process.exit(0);
|
|
89
|
-
}
|
|
84
|
+
// Re-exec with the updated version from the NEW install location
|
|
85
|
+
execSync('delimit-cli setup', { stdio: 'inherit' });
|
|
86
|
+
process.exit(0);
|
|
90
87
|
}
|
|
91
88
|
} catch { /* offline or timeout — continue with current version */ }
|
|
92
89
|
|
|
@@ -623,6 +620,11 @@ if [ "$DELIMIT_WRAPPED" = "true" ] || [ ! -t 1 ]; then
|
|
|
623
620
|
[ -x "$c" ] && exec "$c" "$@"
|
|
624
621
|
done
|
|
625
622
|
fi
|
|
623
|
+
# Auto-update in background (non-blocking)
|
|
624
|
+
( CURR=\$(delimit-cli --version 2>/dev/null); LATE=\$(npm view delimit-cli version 2>/dev/null); \\
|
|
625
|
+
if [ -n "\$LATE" ] && [ "\$LATE" != "\$CURR" ]; then \\
|
|
626
|
+
npm install -g "delimit-cli@\$LATE" >/dev/null 2>&1 && delimit-cli setup >/dev/null 2>&1; \\
|
|
627
|
+
fi ) &
|
|
626
628
|
DELIMIT_HOME="\${DELIMIT_HOME:-$HOME/.delimit}"
|
|
627
629
|
TOOL_COUNT="0"
|
|
628
630
|
if [ -f "$DELIMIT_HOME/server/ai/server.py" ]; then
|
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.31",
|
|
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": [
|