pumuki-ast-hooks 5.3.6 → 5.3.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pumuki-ast-hooks",
3
- "version": "5.3.6",
3
+ "version": "5.3.7",
4
4
  "description": "Enterprise-grade AST Intelligence System with multi-platform support (iOS, Android, Backend, Frontend) and Feature-First + DDD + Clean Architecture enforcement. Includes dynamic violations API for intelligent querying.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -12,5 +12,5 @@ Source: file
12
12
 
13
13
  ℹ️ Data is stale. Ensure guards are running and refreshing token usage.
14
14
 
15
- Last updated: 2025-12-29T16:15:44.360Z
15
+ Last updated: 2025-12-29T16:21:44.577Z
16
16
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -526,3 +526,5 @@
526
526
  {"timestamp":"2025-12-29T16:09:44.150Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"46322b8d-19ff-4888-8ce9-d901a54191d4","type":"token_ok"},"context":{}}
527
527
  {"timestamp":"2025-12-29T16:12:44.258Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"eac1ff0f-5133-41b1-a324-40c38c8b8f02","type":"token_ok"},"context":{}}
528
528
  {"timestamp":"2025-12-29T16:15:44.361Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"b013b103-7ea4-4f60-aebd-e9c0b4f21438","type":"token_ok"},"context":{}}
529
+ {"timestamp":"2025-12-29T16:18:44.475Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"adfff9a0-05b6-495e-ae81-38855a5dca1a","type":"token_ok"},"context":{}}
530
+ {"timestamp":"2025-12-29T16:21:44.578Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"c252550d-1535-4f24-be5f-fe09722460df","type":"token_ok"},"context":{}}
@@ -1582,3 +1582,9 @@
1582
1582
  {"timestamp":"2025-12-29T16:15:44.350Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":72.36585,"timestamp":"2025-12-29T15:38:11.174Z","source":"file","untrusted":false}},"context":{}}
1583
1583
  {"timestamp":"2025-12-29T16:15:44.351Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-29T15:38:11.174Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
1584
1584
  {"timestamp":"2025-12-29T16:15:44.362Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"ok","percentUsed":0,"tokensUsed":0,"maxTokens":1000000,"source":"file","stale":true,"untrusted":false},"context":{"message":"Result level=ok percent=0% used=0/1000000 source=file (stale)"}}
1585
+ {"timestamp":"2025-12-29T16:18:44.466Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":72.36585,"timestamp":"2025-12-29T15:38:11.174Z","source":"file","untrusted":false}},"context":{}}
1586
+ {"timestamp":"2025-12-29T16:18:44.467Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-29T15:38:11.174Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
1587
+ {"timestamp":"2025-12-29T16:18:44.476Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"ok","percentUsed":0,"tokensUsed":0,"maxTokens":1000000,"source":"file","stale":true,"untrusted":false},"context":{"message":"Result level=ok percent=0% used=0/1000000 source=file (stale)"}}
1588
+ {"timestamp":"2025-12-29T16:21:44.567Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":72.36585,"timestamp":"2025-12-29T15:38:11.174Z","source":"file","untrusted":false}},"context":{}}
1589
+ {"timestamp":"2025-12-29T16:21:44.568Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-29T15:38:11.174Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
1590
+ {"timestamp":"2025-12-29T16:21:44.579Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"ok","percentUsed":0,"tokensUsed":0,"maxTokens":1000000,"source":"file","stale":true,"untrusted":false},"context":{"message":"Result level=ok percent=0% used=0/1000000 source=file (stale)"}}
@@ -56,7 +56,13 @@ source "$INFRASTRUCTURE_DIR/eslint/eslint-integration.sh"
56
56
 
57
57
  # Initialize
58
58
  START_TIME=$(date +%s)
59
- ROOT_DIR=$(pwd)
59
+
60
+ # Determine repository root using git
61
+ if command -v git >/dev/null 2>&1; then
62
+ ROOT_DIR=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
63
+ else
64
+ ROOT_DIR=$(pwd)
65
+ fi
60
66
 
61
67
  # Default to temp directories to avoid polluting repositories.
62
68
  # Can be overridden by setting AUDIT_TMP / AUDIT_REPORTS.