#!/usr/bin/env bash #MISE description="Report Claude SDK upstream changes and Rust mapping review work" #MISE depends=["claude-sdk:install"] set -euo pipefail root="${MISE_PROJECT_ROOT:?Run this task through mise}" output="${CLAUDE_SDK_FRESHNESS_OUT:-${RUNNER_TEMP:-${TMPDIR:-/tmp}}/claude-sdk-freshness-report}" args=(--out "$output") if [[ "${CLAUDE_SDK_FRESHNESS_FILE_ISSUE:-}" == "true" ]]; then args+=(--file-issue) fi if [[ -n "${CLAUDE_SDK_FRESHNESS_RUN_URL:-}" ]]; then args+=(--run-url "$CLAUDE_SDK_FRESHNESS_RUN_URL") fi cd "$root" exec python3 "$root/.config/mise/lib/claude-sdk-freshness/check.py" "${args[@]}" "$@"