Initial sanitized code sync

This commit is contained in:
zqq61
2026-03-15 20:48:19 +08:00
commit 17ee51ba04
126 changed files with 22546 additions and 0 deletions

7
fix_cards.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
rm -f /root/gpt-home/card_cache.json
sqlite3 /root/gpt-home/gptplus.db "UPDATE cards SET status='active', bind_count=0 WHERE status='exhausted';"
echo "=== Cards ==="
sqlite3 /root/gpt-home/gptplus.db "SELECT id, status, bind_count, max_binds FROM cards;"
echo "=== Card Codes ==="
sqlite3 /root/gpt-home/gptplus.db "SELECT id, substr(code,1,8)||'...' as code, status FROM card_codes;"