@jetthai/cuora 1.1.442 → 1.1.443-dev.1
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/.claude/commands/auto-git-flow.md +5 -12
- package/.claude/commands/commit-push.md +15 -4
- package/.claude/commands/sync-ai-prompts.md +88 -1
- package/.claude/settings.local.json +3 -1
- package/.github/copilot-instructions.md +551 -399
- package/.husky/post-checkout +3 -3
- package/.husky/pre-push +1 -1
- package/.prettierignore +2 -1
- package/AGENTS.md +551 -399
- package/AI_PROMPT_SOURCE.md +662 -130
- package/CHANGELOG.md +304 -22
- package/CLAUDE.md +551 -399
- package/GEMINI.md +551 -399
- package/README.md +40 -137
- package/package.json +1 -1
- package/scripts/auto-version.js +1 -0
- package/src/api/activity.js +10 -0
- package/src/machine/activity/activity_cash.js +18 -3
- package/src/machine/auth_otp_v3.js +11 -4
- package/src/machine/ranking.js +43 -25
- package/src/request/request.js +21 -9
- package/src/util/err998SentryExtra.js +52 -0
package/.husky/post-checkout
CHANGED
|
@@ -19,14 +19,14 @@ if [ "$match" = "1" ]; then
|
|
|
19
19
|
# 檢查本地是否有尚未推送的 commit,有的話跳過自動拉取(避免覆蓋本地變更)
|
|
20
20
|
LOCAL_AHEAD=$(git rev-list --count origin/"$CURRENT_BRANCH"..HEAD 2>/dev/null || echo 0)
|
|
21
21
|
if [ "$LOCAL_AHEAD" -gt 0 ]; then
|
|
22
|
-
echo "
|
|
22
|
+
echo "You have $LOCAL_AHEAD unpushed commit(s) on '$CURRENT_BRANCH'. Skipping auto-pull."
|
|
23
23
|
exit 0
|
|
24
24
|
fi
|
|
25
25
|
|
|
26
26
|
# 自動從遠端拉取最新程式碼(使用 rebase 保持線性歷史)
|
|
27
|
-
echo "
|
|
27
|
+
echo "Auto pulling '$CURRENT_BRANCH' from remote..."
|
|
28
28
|
git pull --rebase origin "$CURRENT_BRANCH" || {
|
|
29
|
-
echo "
|
|
29
|
+
echo "Failed to pull '$CURRENT_BRANCH'. Please resolve manually."
|
|
30
30
|
exit 1
|
|
31
31
|
}
|
|
32
32
|
fi
|
package/.husky/pre-push
CHANGED
|
@@ -21,7 +21,7 @@ BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
|
21
21
|
|
|
22
22
|
# 在 dev/qa 分支的 force push 跳過所有 pre-push hook(避免干擾強制推送)
|
|
23
23
|
if [ "$IS_FORCE" = true ] && { [ "$BRANCH" = "dev" ] || [ "$BRANCH" = "qa" ]; }; then
|
|
24
|
-
echo "
|
|
24
|
+
echo "Force push detected on $BRANCH, skipping pre-push hooks."
|
|
25
25
|
exit 0
|
|
26
26
|
fi
|
|
27
27
|
|
package/.prettierignore
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
dist/
|
|
1
|
+
dist/
|
|
2
|
+
CHANGELOG.md
|