This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # patch-claude-code-2.1.107.sh — Rebalance Claude Code prompts for v2.1.107 | |
| # Adapted from roman01la's original script for the new JSON-based prompt structure | |
| SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
| PATCHER_DIR="$SCRIPT_DIR/.patch-temp-$$" | |
| PATCH_JS="$PATCHER_DIR/patch.js" |