delimit-cli 4.1.37 → 4.1.38

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.
@@ -342,7 +342,8 @@ function installClaudeHooks(tool, hookConfig) {
342
342
  const scriptContent = '#!/bin/bash\n' + `
343
343
  # Delimit SessionStart — generated by delimit-cli setup
344
344
  DELIMIT_HOME="\${DELIMIT_HOME:-${delimitHome}}"
345
- echo "=== Delimit Status ==="
345
+ echo " <"
346
+ echo " === Delimit Status ==="
346
347
  # Governance
347
348
  if [ -f "./delimit.yml" ] || [ -f "./.delimit/policies.yml" ]; then
348
349
  echo "Governance: active | policy=project"
@@ -378,7 +379,7 @@ if [ -d "$SESSIONS" ]; then
378
379
  LATEST=$(ls -t "$SESSIONS"/session_*.json 2>/dev/null | head -1)
379
380
  [ -n "$LATEST" ] && python3 -c "import json; d=json.load(open('$LATEST')); s=d.get('summary','')[:150]; print(f'Last session: {s}')" 2>/dev/null
380
381
  fi
381
- echo "=== Delimit Ready ==="
382
+ echo " === Delimit Ready ==="
382
383
  # Self-heal: re-wrap claude binary if an update overwrote our shim
383
384
  CLAUDE_BIN=$(PATH=$(echo "$PATH" | tr ':' '\\n' | grep -v '.delimit/shims' | tr '\\n' ':') command -v claude 2>/dev/null)
384
385
  if [ -n "$CLAUDE_BIN" ] && [ -f "$CLAUDE_BIN" ]; then
@@ -541,8 +542,7 @@ fi
541
542
  const stopScript = path.join(hooksDir, 'delimit-stop');
542
543
  const delimitHome = path.join(home, '.delimit');
543
544
  const stopContent = '#!/bin/bash\n' + `
544
- # Delimit Stop — session handoff on exit
545
- # Preserves context for next session across all AI assistants
545
+ # Delimit Stop — the > in </>
546
546
  DELIMIT_HOME="\${DELIMIT_HOME:-${delimitHome}}"
547
547
  LEDGER_DIR="$DELIMIT_HOME/ledger"
548
548
 
@@ -556,7 +556,10 @@ fi
556
556
 
557
557
  # Save session timestamp
558
558
  echo "$(date -u +%Y-%m-%dT%H:%M:%SZ)" > "$DELIMIT_HOME/.last_session_end"
559
- echo "[Delimit] Session context saved."
559
+ echo ""
560
+ echo " />"
561
+ echo " Session context saved. Next session picks up where you left off."
562
+ echo ""
560
563
  `;
561
564
  fs.writeFileSync(stopScript, stopContent);
562
565
  fs.chmodSync(stopScript, '755');
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": "4.1.37",
4
+ "version": "4.1.38",
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": [