pumuki-ast-hooks 5.3.1 → 5.3.3
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 +1 -1
- package/scripts/hooks-system/.AI_TOKEN_STATUS.txt +1 -1
- package/scripts/hooks-system/.audit-reports/auto-recovery.log +1 -0
- package/scripts/hooks-system/.audit-reports/install-wizard.log +4 -0
- package/scripts/hooks-system/.audit-reports/notifications.log +69 -0
- package/scripts/hooks-system/.audit-reports/token-monitor.log +207 -0
- package/scripts/hooks-system/infrastructure/mcp/ast-intelligence-automation.js +49 -41
- package/scripts/hooks-system/infrastructure/mcp/services/McpProtocolHandler.js +22 -16
- package/scripts/hooks-system/infrastructure/watchdog/__tests__/.audit-reports/token-monitor.log +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pumuki-ast-hooks",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.3",
|
|
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": {
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
{"timestamp":"2025-12-28T13:58:33.364Z","level":"info","component":"AutoRecovery","event":"NotificationCenterService shutdown","data":{"totalEnqueued":0,"totalSent":0,"totalDeduplicated":0,"totalCooldownSkipped":0,"totalFailed":0,"totalRetries":0,"queueSize":0,"deduplication":{"size":0},"cooldowns":{"activeCooldowns":0}},"context":{}}
|
|
2
|
+
{"timestamp":"2025-12-29T14:01:15.120Z","level":"info","component":"AutoRecovery","event":"NotificationCenterService shutdown","data":{"totalEnqueued":0,"totalSent":0,"totalDeduplicated":0,"totalCooldownSkipped":0,"totalFailed":0,"totalRetries":0,"queueSize":0,"deduplication":{"size":0},"cooldowns":{"activeCooldowns":0}},"context":{}}
|
|
@@ -2,3 +2,7 @@
|
|
|
2
2
|
{"timestamp":"2025-12-28T13:58:32.615Z","level":"info","component":"InstallWizard","event":"INSTALL_WIZARD_CONFIG_CREATED","data":{"configPath":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/.hook-system/config.json"},"context":{}}
|
|
3
3
|
{"timestamp":"2025-12-28T13:58:32.616Z","level":"info","component":"InstallWizard","event":"INSTALL_WIZARD_SYMLINK_CREATED","data":{"symlinkPath":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/.git/hooks/guard-supervisor"},"context":{}}
|
|
4
4
|
{"timestamp":"2025-12-28T13:58:32.616Z","level":"info","component":"InstallWizard","event":"INSTALL_WIZARD_COMPLETED","data":{},"context":{}}
|
|
5
|
+
{"timestamp":"2025-12-29T14:01:15.057Z","level":"info","component":"InstallWizard","event":"INSTALL_WIZARD_START","data":{"repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"},"context":{}}
|
|
6
|
+
{"timestamp":"2025-12-29T14:01:15.064Z","level":"info","component":"InstallWizard","event":"INSTALL_WIZARD_CONFIG_EXISTS","data":{"configPath":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/.hook-system/config.json"},"context":{}}
|
|
7
|
+
{"timestamp":"2025-12-29T14:01:15.064Z","level":"error","component":"InstallWizard","event":"INSTALL_WIZARD_SYMLINK_FAILED","data":{"error":"EEXIST: file already exists, symlink '/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/scripts/hooks-system/bin/guard-supervisor.js' -> '/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/.git/hooks/guard-supervisor'"},"context":{}}
|
|
8
|
+
{"timestamp":"2025-12-29T14:01:15.064Z","level":"info","component":"InstallWizard","event":"INSTALL_WIZARD_COMPLETED","data":{},"context":{}}
|
|
@@ -423,3 +423,72 @@
|
|
|
423
423
|
{"timestamp":"2025-12-29T11:00:33.514Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"18bbf61b-b370-4998-8757-801e2cd2d70e","type":"token_ok"},"context":{}}
|
|
424
424
|
{"timestamp":"2025-12-29T11:03:33.601Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"4fa92db8-edd9-4044-a366-17d4e697156c","type":"token_ok"},"context":{}}
|
|
425
425
|
{"timestamp":"2025-12-29T11:06:33.716Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"389e35f6-71eb-4486-99f0-c2aea1eb5960","type":"token_ok"},"context":{}}
|
|
426
|
+
{"timestamp":"2025-12-29T11:09:33.826Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"fe0047fb-f6d9-41b3-9106-5ebf74e1c8de","type":"token_ok"},"context":{}}
|
|
427
|
+
{"timestamp":"2025-12-29T11:12:33.934Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"4fc920af-294a-42ba-ab1e-00b4e13af57a","type":"token_ok"},"context":{}}
|
|
428
|
+
{"timestamp":"2025-12-29T11:15:34.036Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"00ffc23c-ec7a-445a-bc97-923f4a8dbc90","type":"token_ok"},"context":{}}
|
|
429
|
+
{"timestamp":"2025-12-29T11:18:34.145Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"b1ac2e71-0757-478b-8c45-a3a489d9489a","type":"token_ok"},"context":{}}
|
|
430
|
+
{"timestamp":"2025-12-29T11:21:34.252Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"816585a6-e3af-46e0-87d0-8a5286ee50ac","type":"token_ok"},"context":{}}
|
|
431
|
+
{"timestamp":"2025-12-29T11:24:34.347Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"568c187c-c0f6-48d4-a1cd-c5aa8b6357cc","type":"token_ok"},"context":{}}
|
|
432
|
+
{"timestamp":"2025-12-29T11:27:34.443Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"68f6825f-ea73-4221-9bd1-1934e3cd3ceb","type":"token_ok"},"context":{}}
|
|
433
|
+
{"timestamp":"2025-12-29T11:30:34.581Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"05cb2a1b-a89c-4c5d-878b-5857fe5ca236","type":"token_ok"},"context":{}}
|
|
434
|
+
{"timestamp":"2025-12-29T11:33:34.682Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"ca7b71cc-de4e-4f8e-beb1-9046419f4a81","type":"token_ok"},"context":{}}
|
|
435
|
+
{"timestamp":"2025-12-29T11:36:34.811Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"5da3dbff-09a9-457f-9c3e-29ea2e3caea8","type":"token_ok"},"context":{}}
|
|
436
|
+
{"timestamp":"2025-12-29T11:39:34.910Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"0f215859-0d35-4334-aa73-a81d962f96e5","type":"token_ok"},"context":{}}
|
|
437
|
+
{"timestamp":"2025-12-29T11:42:35.007Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"8f5649d5-3dac-4191-a751-59875ef2d09b","type":"token_ok"},"context":{}}
|
|
438
|
+
{"timestamp":"2025-12-29T11:45:35.122Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"567ae125-2ff4-4e3f-bcf1-77d019a8ea1c","type":"token_ok"},"context":{}}
|
|
439
|
+
{"timestamp":"2025-12-29T11:48:35.239Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"ab846862-e1ac-47ee-b79e-0e5582d0c90b","type":"token_ok"},"context":{}}
|
|
440
|
+
{"timestamp":"2025-12-29T11:51:35.355Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"9244f8ae-2cdd-4293-911f-7dd42047e563","type":"token_ok"},"context":{}}
|
|
441
|
+
{"timestamp":"2025-12-29T11:54:35.465Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"cd154bba-e8c4-4dbd-a916-3f7dbaf8adf6","type":"token_ok"},"context":{}}
|
|
442
|
+
{"timestamp":"2025-12-29T11:57:35.551Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"efe284e3-7847-4268-8207-187a40a38714","type":"token_ok"},"context":{}}
|
|
443
|
+
{"timestamp":"2025-12-29T12:00:35.648Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"f8552069-c610-49f1-8358-2fea558bcefb","type":"token_ok"},"context":{}}
|
|
444
|
+
{"timestamp":"2025-12-29T12:03:35.740Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"7e1b3625-7f78-493f-a4f8-63ad07192aa6","type":"token_ok"},"context":{}}
|
|
445
|
+
{"timestamp":"2025-12-29T12:06:35.828Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"574717c6-e8c8-4a34-b1fe-cec7269c5654","type":"token_ok"},"context":{}}
|
|
446
|
+
{"timestamp":"2025-12-29T12:09:35.930Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"cccb442b-d54c-4bdb-adca-bcfb39908c52","type":"token_ok"},"context":{}}
|
|
447
|
+
{"timestamp":"2025-12-29T12:12:36.029Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"7c6efd81-fd79-4e0a-b9b7-85d4049de4e1","type":"token_ok"},"context":{}}
|
|
448
|
+
{"timestamp":"2025-12-29T12:15:36.134Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"67bd638d-4e97-49dd-802f-1e75b149eb83","type":"token_ok"},"context":{}}
|
|
449
|
+
{"timestamp":"2025-12-29T12:18:36.229Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"bffa5d36-8c32-418b-a967-49f0a7d41a7c","type":"token_ok"},"context":{}}
|
|
450
|
+
{"timestamp":"2025-12-29T12:21:36.316Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"5f84273e-0221-4215-807b-e3efc3e7457b","type":"token_ok"},"context":{}}
|
|
451
|
+
{"timestamp":"2025-12-29T12:24:36.416Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"6427a50c-5e8c-47d1-825d-d2aa3a36af25","type":"token_ok"},"context":{}}
|
|
452
|
+
{"timestamp":"2025-12-29T12:27:36.505Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"77fa0b3a-171a-4f56-8a08-e54294b6733e","type":"token_ok"},"context":{}}
|
|
453
|
+
{"timestamp":"2025-12-29T12:30:36.591Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"e85a059a-0ff6-4a44-8c86-16dd4f740fb4","type":"token_ok"},"context":{}}
|
|
454
|
+
{"timestamp":"2025-12-29T12:33:36.680Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"545c25fa-cb0a-4cfc-8c5a-b6b02ae781cc","type":"token_ok"},"context":{}}
|
|
455
|
+
{"timestamp":"2025-12-29T12:36:36.765Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"b282990d-fedb-4c5c-b539-3cba92b54279","type":"token_ok"},"context":{}}
|
|
456
|
+
{"timestamp":"2025-12-29T12:39:36.848Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"b47e4fdd-f356-4777-b78e-84e983dc69d1","type":"token_ok"},"context":{}}
|
|
457
|
+
{"timestamp":"2025-12-29T12:42:36.940Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"33b44530-3bc8-43b3-a5a7-991a80c6335b","type":"token_ok"},"context":{}}
|
|
458
|
+
{"timestamp":"2025-12-29T12:45:37.035Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"bf7d9c9e-2885-4847-bd39-61c9c7284f97","type":"token_ok"},"context":{}}
|
|
459
|
+
{"timestamp":"2025-12-29T12:48:37.121Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"4b7cdf97-8b75-45e8-813d-86f7bf2fb703","type":"token_ok"},"context":{}}
|
|
460
|
+
{"timestamp":"2025-12-29T12:51:37.215Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"11a9661e-7eac-424c-b120-f971e6d45787","type":"token_ok"},"context":{}}
|
|
461
|
+
{"timestamp":"2025-12-29T12:54:37.309Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"1b474418-ea42-4088-b64b-c2e74c618fea","type":"token_ok"},"context":{}}
|
|
462
|
+
{"timestamp":"2025-12-29T12:57:37.402Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"d3dc0cb2-3099-46d3-8344-429e419834d2","type":"token_ok"},"context":{}}
|
|
463
|
+
{"timestamp":"2025-12-29T13:00:37.497Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"177b6433-3d0b-4a26-a4c2-d8e9041093e4","type":"token_ok"},"context":{}}
|
|
464
|
+
{"timestamp":"2025-12-29T13:03:37.594Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"1a9ca1af-bcac-41e5-9643-45340785294a","type":"token_ok"},"context":{}}
|
|
465
|
+
{"timestamp":"2025-12-29T13:06:37.690Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"08c1fb73-0616-4fc6-b6c5-d94cd8335320","type":"token_ok"},"context":{}}
|
|
466
|
+
{"timestamp":"2025-12-29T13:09:37.780Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"db9f8959-e4f0-42f1-a7c5-e2b76186c4fb","type":"token_ok"},"context":{}}
|
|
467
|
+
{"timestamp":"2025-12-29T13:12:37.874Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"3d931367-cfa6-4f7a-a322-d58b063b27cb","type":"token_ok"},"context":{}}
|
|
468
|
+
{"timestamp":"2025-12-29T13:15:37.968Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"e429dbcc-1c8b-4e3f-a244-6344a9b74193","type":"token_ok"},"context":{}}
|
|
469
|
+
{"timestamp":"2025-12-29T13:18:38.063Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"b418b6e5-6e7a-49bf-b85a-03a3250e6409","type":"token_ok"},"context":{}}
|
|
470
|
+
{"timestamp":"2025-12-29T13:21:38.154Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"f0919657-6884-4eb5-a054-1bf3d88e741b","type":"token_ok"},"context":{}}
|
|
471
|
+
{"timestamp":"2025-12-29T13:24:38.245Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"6416ef0b-7e4d-4d22-844e-97092ddf7987","type":"token_ok"},"context":{}}
|
|
472
|
+
{"timestamp":"2025-12-29T13:27:38.335Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"f10ad526-0820-4d5d-98ba-cc4509fe9757","type":"token_ok"},"context":{}}
|
|
473
|
+
{"timestamp":"2025-12-29T13:30:38.431Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"05425a82-238e-4a8d-a938-7d782678b821","type":"token_ok"},"context":{}}
|
|
474
|
+
{"timestamp":"2025-12-29T13:33:38.526Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"07cb6732-a86d-432b-80ed-4097adad160f","type":"token_ok"},"context":{}}
|
|
475
|
+
{"timestamp":"2025-12-29T13:36:38.622Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"517fc832-f43f-4442-9542-8f58ca48bb10","type":"token_ok"},"context":{}}
|
|
476
|
+
{"timestamp":"2025-12-29T13:39:38.713Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"d05e8f06-8f7c-4d64-a28a-efe9337925c3","type":"token_ok"},"context":{}}
|
|
477
|
+
{"timestamp":"2025-12-29T13:42:38.809Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"f342f9eb-2435-4517-88a2-c2f799078baf","type":"token_ok"},"context":{}}
|
|
478
|
+
{"timestamp":"2025-12-29T13:45:38.903Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"9cdcb48e-4f5a-4899-9fa8-7e0b15dd8686","type":"token_ok"},"context":{}}
|
|
479
|
+
{"timestamp":"2025-12-29T13:48:38.995Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"902fff2e-80fb-4d89-a6e9-3caa06ffb624","type":"token_ok"},"context":{}}
|
|
480
|
+
{"timestamp":"2025-12-29T13:51:39.092Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"c322bdab-bb80-4386-940c-11937887cee3","type":"token_ok"},"context":{}}
|
|
481
|
+
{"timestamp":"2025-12-29T13:54:39.211Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"7e2ce29d-3424-4af6-b835-c22cd6e493f1","type":"token_ok"},"context":{}}
|
|
482
|
+
{"timestamp":"2025-12-29T13:57:39.324Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"6d7c9c64-81ca-4e79-b063-24bcc30eee7d","type":"token_ok"},"context":{}}
|
|
483
|
+
{"timestamp":"2025-12-29T14:00:39.438Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"c7c94007-deae-40d7-bea1-479394e06bb2","type":"token_ok"},"context":{}}
|
|
484
|
+
{"timestamp":"2025-12-29T14:03:39.550Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"1e2e518f-08c1-481e-87c8-8c8bc7ae41af","type":"token_ok"},"context":{}}
|
|
485
|
+
{"timestamp":"2025-12-29T14:06:39.659Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"10803c2c-c480-4a97-b9fd-a3aa62024da2","type":"token_ok"},"context":{}}
|
|
486
|
+
{"timestamp":"2025-12-29T14:09:39.755Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"4ef7cd3a-8698-4f92-8a2b-7fed6186850f","type":"token_ok"},"context":{}}
|
|
487
|
+
{"timestamp":"2025-12-29T14:12:39.863Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"5b8049b8-709c-4a78-8b86-1626fc33ec6b","type":"token_ok"},"context":{}}
|
|
488
|
+
{"timestamp":"2025-12-29T14:15:39.971Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"dae0457b-df54-4e9c-bf3a-d56c3adb562d","type":"token_ok"},"context":{}}
|
|
489
|
+
{"timestamp":"2025-12-29T14:18:40.089Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"b1d5d23f-4a73-4886-8ec7-4f3adb5a65bc","type":"token_ok"},"context":{}}
|
|
490
|
+
{"timestamp":"2025-12-29T14:21:40.200Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"da584244-c009-40c6-b353-5ce27b4bd134","type":"token_ok"},"context":{}}
|
|
491
|
+
{"timestamp":"2025-12-29T14:24:40.314Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"af92a572-3663-49c3-b220-f95d1d996055","type":"token_ok"},"context":{}}
|
|
492
|
+
{"timestamp":"2025-12-29T14:27:40.425Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"377d5821-ea01-4d97-909f-54b6a16b16b9","type":"token_ok"},"context":{}}
|
|
493
|
+
{"timestamp":"2025-12-29T14:30:40.543Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"67147292-fe08-44c1-80e7-cfab39ed1f72","type":"token_ok"},"context":{}}
|
|
494
|
+
{"timestamp":"2025-12-29T14:33:40.651Z","level":"debug","component":"NotificationCenter","event":"Notification enqueued","data":{"id":"7f800d7b-29ca-474c-bd11-d2408767ce77","type":"token_ok"},"context":{}}
|
|
@@ -1273,3 +1273,210 @@
|
|
|
1273
1273
|
{"timestamp":"2025-12-29T11:06:33.707Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1274
1274
|
{"timestamp":"2025-12-29T11:06:33.708Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1275
1275
|
{"timestamp":"2025-12-29T11:06:33.717Z","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)"}}
|
|
1276
|
+
{"timestamp":"2025-12-29T11:09:33.816Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1277
|
+
{"timestamp":"2025-12-29T11:09:33.817Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1278
|
+
{"timestamp":"2025-12-29T11:09:33.826Z","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)"}}
|
|
1279
|
+
{"timestamp":"2025-12-29T11:12:33.924Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1280
|
+
{"timestamp":"2025-12-29T11:12:33.925Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1281
|
+
{"timestamp":"2025-12-29T11:12:33.934Z","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)"}}
|
|
1282
|
+
{"timestamp":"2025-12-29T11:15:34.026Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1283
|
+
{"timestamp":"2025-12-29T11:15:34.026Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1284
|
+
{"timestamp":"2025-12-29T11:15:34.037Z","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)"}}
|
|
1285
|
+
{"timestamp":"2025-12-29T11:18:34.135Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1286
|
+
{"timestamp":"2025-12-29T11:18:34.136Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1287
|
+
{"timestamp":"2025-12-29T11:18:34.146Z","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)"}}
|
|
1288
|
+
{"timestamp":"2025-12-29T11:21:34.241Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1289
|
+
{"timestamp":"2025-12-29T11:21:34.243Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1290
|
+
{"timestamp":"2025-12-29T11:21:34.252Z","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)"}}
|
|
1291
|
+
{"timestamp":"2025-12-29T11:24:34.336Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1292
|
+
{"timestamp":"2025-12-29T11:24:34.337Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1293
|
+
{"timestamp":"2025-12-29T11:24:34.348Z","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)"}}
|
|
1294
|
+
{"timestamp":"2025-12-29T11:27:34.431Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1295
|
+
{"timestamp":"2025-12-29T11:27:34.432Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1296
|
+
{"timestamp":"2025-12-29T11:27:34.444Z","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)"}}
|
|
1297
|
+
{"timestamp":"2025-12-29T11:30:34.564Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1298
|
+
{"timestamp":"2025-12-29T11:30:34.566Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1299
|
+
{"timestamp":"2025-12-29T11:30:34.582Z","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)"}}
|
|
1300
|
+
{"timestamp":"2025-12-29T11:33:34.670Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1301
|
+
{"timestamp":"2025-12-29T11:33:34.671Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1302
|
+
{"timestamp":"2025-12-29T11:33:34.682Z","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)"}}
|
|
1303
|
+
{"timestamp":"2025-12-29T11:36:34.800Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1304
|
+
{"timestamp":"2025-12-29T11:36:34.801Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1305
|
+
{"timestamp":"2025-12-29T11:36:34.811Z","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)"}}
|
|
1306
|
+
{"timestamp":"2025-12-29T11:39:34.899Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1307
|
+
{"timestamp":"2025-12-29T11:39:34.900Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1308
|
+
{"timestamp":"2025-12-29T11:39:34.911Z","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)"}}
|
|
1309
|
+
{"timestamp":"2025-12-29T11:42:34.995Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1310
|
+
{"timestamp":"2025-12-29T11:42:34.996Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1311
|
+
{"timestamp":"2025-12-29T11:42:35.007Z","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)"}}
|
|
1312
|
+
{"timestamp":"2025-12-29T11:45:35.112Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1313
|
+
{"timestamp":"2025-12-29T11:45:35.113Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1314
|
+
{"timestamp":"2025-12-29T11:45:35.123Z","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)"}}
|
|
1315
|
+
{"timestamp":"2025-12-29T11:48:35.229Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1316
|
+
{"timestamp":"2025-12-29T11:48:35.230Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1317
|
+
{"timestamp":"2025-12-29T11:48:35.239Z","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)"}}
|
|
1318
|
+
{"timestamp":"2025-12-29T11:51:35.345Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1319
|
+
{"timestamp":"2025-12-29T11:51:35.346Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1320
|
+
{"timestamp":"2025-12-29T11:51:35.355Z","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)"}}
|
|
1321
|
+
{"timestamp":"2025-12-29T11:54:35.455Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1322
|
+
{"timestamp":"2025-12-29T11:54:35.455Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1323
|
+
{"timestamp":"2025-12-29T11:54:35.465Z","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)"}}
|
|
1324
|
+
{"timestamp":"2025-12-29T11:57:35.541Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1325
|
+
{"timestamp":"2025-12-29T11:57:35.542Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1326
|
+
{"timestamp":"2025-12-29T11:57:35.551Z","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)"}}
|
|
1327
|
+
{"timestamp":"2025-12-29T12:00:35.638Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1328
|
+
{"timestamp":"2025-12-29T12:00:35.639Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1329
|
+
{"timestamp":"2025-12-29T12:00:35.648Z","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)"}}
|
|
1330
|
+
{"timestamp":"2025-12-29T12:03:35.730Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1331
|
+
{"timestamp":"2025-12-29T12:03:35.731Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1332
|
+
{"timestamp":"2025-12-29T12:03:35.740Z","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)"}}
|
|
1333
|
+
{"timestamp":"2025-12-29T12:06:35.818Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1334
|
+
{"timestamp":"2025-12-29T12:06:35.819Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1335
|
+
{"timestamp":"2025-12-29T12:06:35.828Z","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)"}}
|
|
1336
|
+
{"timestamp":"2025-12-29T12:09:35.920Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1337
|
+
{"timestamp":"2025-12-29T12:09:35.921Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1338
|
+
{"timestamp":"2025-12-29T12:09:35.930Z","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)"}}
|
|
1339
|
+
{"timestamp":"2025-12-29T12:12:36.017Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1340
|
+
{"timestamp":"2025-12-29T12:12:36.019Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1341
|
+
{"timestamp":"2025-12-29T12:12:36.029Z","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)"}}
|
|
1342
|
+
{"timestamp":"2025-12-29T12:15:36.124Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1343
|
+
{"timestamp":"2025-12-29T12:15:36.125Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1344
|
+
{"timestamp":"2025-12-29T12:15:36.135Z","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)"}}
|
|
1345
|
+
{"timestamp":"2025-12-29T12:18:36.219Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1346
|
+
{"timestamp":"2025-12-29T12:18:36.220Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1347
|
+
{"timestamp":"2025-12-29T12:18:36.230Z","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)"}}
|
|
1348
|
+
{"timestamp":"2025-12-29T12:21:36.306Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1349
|
+
{"timestamp":"2025-12-29T12:21:36.307Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1350
|
+
{"timestamp":"2025-12-29T12:21:36.317Z","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)"}}
|
|
1351
|
+
{"timestamp":"2025-12-29T12:24:36.406Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1352
|
+
{"timestamp":"2025-12-29T12:24:36.406Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1353
|
+
{"timestamp":"2025-12-29T12:24:36.416Z","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)"}}
|
|
1354
|
+
{"timestamp":"2025-12-29T12:27:36.494Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1355
|
+
{"timestamp":"2025-12-29T12:27:36.495Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1356
|
+
{"timestamp":"2025-12-29T12:27:36.505Z","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)"}}
|
|
1357
|
+
{"timestamp":"2025-12-29T12:30:36.581Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1358
|
+
{"timestamp":"2025-12-29T12:30:36.582Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1359
|
+
{"timestamp":"2025-12-29T12:30:36.591Z","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)"}}
|
|
1360
|
+
{"timestamp":"2025-12-29T12:33:36.670Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1361
|
+
{"timestamp":"2025-12-29T12:33:36.671Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1362
|
+
{"timestamp":"2025-12-29T12:33:36.681Z","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)"}}
|
|
1363
|
+
{"timestamp":"2025-12-29T12:36:36.755Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1364
|
+
{"timestamp":"2025-12-29T12:36:36.756Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1365
|
+
{"timestamp":"2025-12-29T12:36:36.766Z","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)"}}
|
|
1366
|
+
{"timestamp":"2025-12-29T12:39:36.839Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1367
|
+
{"timestamp":"2025-12-29T12:39:36.840Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1368
|
+
{"timestamp":"2025-12-29T12:39:36.849Z","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)"}}
|
|
1369
|
+
{"timestamp":"2025-12-29T12:42:36.930Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1370
|
+
{"timestamp":"2025-12-29T12:42:36.931Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1371
|
+
{"timestamp":"2025-12-29T12:42:36.940Z","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)"}}
|
|
1372
|
+
{"timestamp":"2025-12-29T12:45:37.025Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1373
|
+
{"timestamp":"2025-12-29T12:45:37.026Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1374
|
+
{"timestamp":"2025-12-29T12:45:37.035Z","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)"}}
|
|
1375
|
+
{"timestamp":"2025-12-29T12:48:37.111Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1376
|
+
{"timestamp":"2025-12-29T12:48:37.112Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1377
|
+
{"timestamp":"2025-12-29T12:48:37.122Z","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)"}}
|
|
1378
|
+
{"timestamp":"2025-12-29T12:51:37.205Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1379
|
+
{"timestamp":"2025-12-29T12:51:37.206Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1380
|
+
{"timestamp":"2025-12-29T12:51:37.216Z","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)"}}
|
|
1381
|
+
{"timestamp":"2025-12-29T12:54:37.298Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1382
|
+
{"timestamp":"2025-12-29T12:54:37.299Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1383
|
+
{"timestamp":"2025-12-29T12:54:37.309Z","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)"}}
|
|
1384
|
+
{"timestamp":"2025-12-29T12:57:37.392Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1385
|
+
{"timestamp":"2025-12-29T12:57:37.393Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1386
|
+
{"timestamp":"2025-12-29T12:57:37.402Z","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)"}}
|
|
1387
|
+
{"timestamp":"2025-12-29T13:00:37.487Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1388
|
+
{"timestamp":"2025-12-29T13:00:37.488Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1389
|
+
{"timestamp":"2025-12-29T13:00:37.497Z","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)"}}
|
|
1390
|
+
{"timestamp":"2025-12-29T13:03:37.584Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1391
|
+
{"timestamp":"2025-12-29T13:03:37.585Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1392
|
+
{"timestamp":"2025-12-29T13:03:37.594Z","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)"}}
|
|
1393
|
+
{"timestamp":"2025-12-29T13:06:37.680Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1394
|
+
{"timestamp":"2025-12-29T13:06:37.681Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1395
|
+
{"timestamp":"2025-12-29T13:06:37.690Z","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)"}}
|
|
1396
|
+
{"timestamp":"2025-12-29T13:09:37.770Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1397
|
+
{"timestamp":"2025-12-29T13:09:37.771Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1398
|
+
{"timestamp":"2025-12-29T13:09:37.780Z","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)"}}
|
|
1399
|
+
{"timestamp":"2025-12-29T13:12:37.864Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1400
|
+
{"timestamp":"2025-12-29T13:12:37.865Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1401
|
+
{"timestamp":"2025-12-29T13:12:37.874Z","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)"}}
|
|
1402
|
+
{"timestamp":"2025-12-29T13:15:37.958Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1403
|
+
{"timestamp":"2025-12-29T13:15:37.959Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1404
|
+
{"timestamp":"2025-12-29T13:15:37.969Z","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)"}}
|
|
1405
|
+
{"timestamp":"2025-12-29T13:18:38.053Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1406
|
+
{"timestamp":"2025-12-29T13:18:38.054Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1407
|
+
{"timestamp":"2025-12-29T13:18:38.064Z","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)"}}
|
|
1408
|
+
{"timestamp":"2025-12-29T13:21:38.143Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1409
|
+
{"timestamp":"2025-12-29T13:21:38.144Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1410
|
+
{"timestamp":"2025-12-29T13:21:38.154Z","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)"}}
|
|
1411
|
+
{"timestamp":"2025-12-29T13:24:38.235Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1412
|
+
{"timestamp":"2025-12-29T13:24:38.236Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1413
|
+
{"timestamp":"2025-12-29T13:24:38.245Z","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)"}}
|
|
1414
|
+
{"timestamp":"2025-12-29T13:27:38.325Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1415
|
+
{"timestamp":"2025-12-29T13:27:38.326Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1416
|
+
{"timestamp":"2025-12-29T13:27:38.335Z","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)"}}
|
|
1417
|
+
{"timestamp":"2025-12-29T13:30:38.420Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1418
|
+
{"timestamp":"2025-12-29T13:30:38.421Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1419
|
+
{"timestamp":"2025-12-29T13:30:38.431Z","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)"}}
|
|
1420
|
+
{"timestamp":"2025-12-29T13:33:38.516Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1421
|
+
{"timestamp":"2025-12-29T13:33:38.517Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1422
|
+
{"timestamp":"2025-12-29T13:33:38.527Z","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)"}}
|
|
1423
|
+
{"timestamp":"2025-12-29T13:36:38.611Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1424
|
+
{"timestamp":"2025-12-29T13:36:38.612Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1425
|
+
{"timestamp":"2025-12-29T13:36:38.622Z","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)"}}
|
|
1426
|
+
{"timestamp":"2025-12-29T13:39:38.702Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1427
|
+
{"timestamp":"2025-12-29T13:39:38.703Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1428
|
+
{"timestamp":"2025-12-29T13:39:38.713Z","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)"}}
|
|
1429
|
+
{"timestamp":"2025-12-29T13:42:38.799Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1430
|
+
{"timestamp":"2025-12-29T13:42:38.799Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1431
|
+
{"timestamp":"2025-12-29T13:42:38.809Z","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)"}}
|
|
1432
|
+
{"timestamp":"2025-12-29T13:45:38.892Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1433
|
+
{"timestamp":"2025-12-29T13:45:38.893Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1434
|
+
{"timestamp":"2025-12-29T13:45:38.903Z","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)"}}
|
|
1435
|
+
{"timestamp":"2025-12-29T13:48:38.985Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1436
|
+
{"timestamp":"2025-12-29T13:48:38.986Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1437
|
+
{"timestamp":"2025-12-29T13:48:38.996Z","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)"}}
|
|
1438
|
+
{"timestamp":"2025-12-29T13:51:39.081Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1439
|
+
{"timestamp":"2025-12-29T13:51:39.082Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1440
|
+
{"timestamp":"2025-12-29T13:51:39.092Z","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)"}}
|
|
1441
|
+
{"timestamp":"2025-12-29T13:54:39.201Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1442
|
+
{"timestamp":"2025-12-29T13:54:39.202Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1443
|
+
{"timestamp":"2025-12-29T13:54:39.211Z","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)"}}
|
|
1444
|
+
{"timestamp":"2025-12-29T13:57:39.314Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1445
|
+
{"timestamp":"2025-12-29T13:57:39.315Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1446
|
+
{"timestamp":"2025-12-29T13:57:39.324Z","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)"}}
|
|
1447
|
+
{"timestamp":"2025-12-29T14:00:39.428Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1448
|
+
{"timestamp":"2025-12-29T14:00:39.429Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1449
|
+
{"timestamp":"2025-12-29T14:00:39.438Z","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)"}}
|
|
1450
|
+
{"timestamp":"2025-12-29T14:03:39.541Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1451
|
+
{"timestamp":"2025-12-29T14:03:39.542Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1452
|
+
{"timestamp":"2025-12-29T14:03:39.551Z","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)"}}
|
|
1453
|
+
{"timestamp":"2025-12-29T14:06:39.649Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1454
|
+
{"timestamp":"2025-12-29T14:06:39.650Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1455
|
+
{"timestamp":"2025-12-29T14:06:39.659Z","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)"}}
|
|
1456
|
+
{"timestamp":"2025-12-29T14:09:39.744Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1457
|
+
{"timestamp":"2025-12-29T14:09:39.745Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1458
|
+
{"timestamp":"2025-12-29T14:09:39.755Z","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)"}}
|
|
1459
|
+
{"timestamp":"2025-12-29T14:12:39.852Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1460
|
+
{"timestamp":"2025-12-29T14:12:39.853Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1461
|
+
{"timestamp":"2025-12-29T14:12:39.864Z","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)"}}
|
|
1462
|
+
{"timestamp":"2025-12-29T14:15:39.960Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1463
|
+
{"timestamp":"2025-12-29T14:15:39.961Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1464
|
+
{"timestamp":"2025-12-29T14:15:39.972Z","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)"}}
|
|
1465
|
+
{"timestamp":"2025-12-29T14:18:40.079Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1466
|
+
{"timestamp":"2025-12-29T14:18:40.080Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1467
|
+
{"timestamp":"2025-12-29T14:18:40.089Z","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)"}}
|
|
1468
|
+
{"timestamp":"2025-12-29T14:21:40.190Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1469
|
+
{"timestamp":"2025-12-29T14:21:40.191Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1470
|
+
{"timestamp":"2025-12-29T14:21:40.201Z","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)"}}
|
|
1471
|
+
{"timestamp":"2025-12-29T14:24:40.304Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1472
|
+
{"timestamp":"2025-12-29T14:24:40.305Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1473
|
+
{"timestamp":"2025-12-29T14:24:40.314Z","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)"}}
|
|
1474
|
+
{"timestamp":"2025-12-29T14:27:40.415Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1475
|
+
{"timestamp":"2025-12-29T14:27:40.416Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1476
|
+
{"timestamp":"2025-12-29T14:27:40.425Z","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)"}}
|
|
1477
|
+
{"timestamp":"2025-12-29T14:30:40.533Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1478
|
+
{"timestamp":"2025-12-29T14:30:40.534Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1479
|
+
{"timestamp":"2025-12-29T14:30:40.543Z","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)"}}
|
|
1480
|
+
{"timestamp":"2025-12-29T14:33:40.642Z","level":"debug","component":"TokenMonitor","event":"CURSOR_SERVICE_USING_FILE","data":{"usage":{"tokensUsed":0,"maxTokens":1000000,"percentUsed":55.519975,"timestamp":"2025-12-25T22:29:39.685Z","source":"file","untrusted":false}},"context":{}}
|
|
1481
|
+
{"timestamp":"2025-12-29T14:33:40.643Z","level":"debug","component":"TokenMonitor","event":"TOKEN_MONITOR_METRICS","data":{"timestamp":"2025-12-25T22:29:39.685Z","tokensUsed":0,"maxTokens":1000000,"percentUsed":0,"remainingTokens":1000000,"level":"ok","source":"file","stale":true,"untrusted":false},"context":{}}
|
|
1482
|
+
{"timestamp":"2025-12-29T14:33:40.652Z","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)"}}
|
|
@@ -27,11 +27,18 @@ const { execSync } = require('child_process');
|
|
|
27
27
|
|
|
28
28
|
const MCP_VERSION = '2024-11-05';
|
|
29
29
|
|
|
30
|
-
// Configuration
|
|
31
|
-
const CompositionRoot = require('../../application/CompositionRoot');
|
|
32
|
-
|
|
30
|
+
// Configuration - LAZY LOADING to avoid blocking MCP initialization
|
|
33
31
|
const REPO_ROOT = process.env.REPO_ROOT || process.cwd();
|
|
34
|
-
|
|
32
|
+
|
|
33
|
+
// Lazy-loaded CompositionRoot - only initialized when first needed
|
|
34
|
+
let _compositionRoot = null;
|
|
35
|
+
function getCompositionRoot() {
|
|
36
|
+
if (!_compositionRoot) {
|
|
37
|
+
const CompositionRoot = require('../../application/CompositionRoot');
|
|
38
|
+
_compositionRoot = CompositionRoot.createForProduction(REPO_ROOT);
|
|
39
|
+
}
|
|
40
|
+
return _compositionRoot;
|
|
41
|
+
}
|
|
35
42
|
|
|
36
43
|
const EVIDENCE_FILE = path.join(REPO_ROOT, '.AI_EVIDENCE.json');
|
|
37
44
|
const GITFLOW_STATE_FILE = path.join(REPO_ROOT, '.git', 'gitflow-state.json');
|
|
@@ -154,15 +161,15 @@ function resolveUpdateEvidenceScript() {
|
|
|
154
161
|
|
|
155
162
|
// Lazy Loading Services
|
|
156
163
|
function getContextEngine() {
|
|
157
|
-
return
|
|
164
|
+
return getCompositionRoot().getContextDetectionEngine();
|
|
158
165
|
}
|
|
159
166
|
|
|
160
167
|
function getOrchestrator() {
|
|
161
|
-
return
|
|
168
|
+
return getCompositionRoot().getOrchestrator();
|
|
162
169
|
}
|
|
163
170
|
|
|
164
171
|
function getNotificationAdapter() {
|
|
165
|
-
return
|
|
172
|
+
return getCompositionRoot().getNotificationService();
|
|
166
173
|
}
|
|
167
174
|
|
|
168
175
|
// Polling state
|
|
@@ -183,7 +190,7 @@ const AUTO_PR_ENABLED = process.env.AUTO_PR_ENABLED === 'true';
|
|
|
183
190
|
* Helper: Send macOS notification via centralized adapter
|
|
184
191
|
*/
|
|
185
192
|
function sendNotification(title, message, sound = 'Hero') {
|
|
186
|
-
|
|
193
|
+
getCompositionRoot().getNotificationService().notify({
|
|
187
194
|
type: 'mcp_automation',
|
|
188
195
|
level: 'info',
|
|
189
196
|
title,
|
|
@@ -196,9 +203,9 @@ function sendNotification(title, message, sound = 'Hero') {
|
|
|
196
203
|
* Check evidence status
|
|
197
204
|
*/
|
|
198
205
|
function checkEvidence() {
|
|
199
|
-
const monitor =
|
|
206
|
+
const monitor = getCompositionRoot().getEvidenceMonitor();
|
|
200
207
|
const isStale = monitor.isStale();
|
|
201
|
-
const gitFlow =
|
|
208
|
+
const gitFlow = getCompositionRoot().getGitFlowService();
|
|
202
209
|
const currentBranch = gitFlow.getCurrentBranch();
|
|
203
210
|
|
|
204
211
|
if (isStale) {
|
|
@@ -217,7 +224,7 @@ function checkEvidence() {
|
|
|
217
224
|
* Auto-complete Git Flow cycle
|
|
218
225
|
*/
|
|
219
226
|
async function autoCompleteGitFlow(params) {
|
|
220
|
-
const gitFlowService =
|
|
227
|
+
const gitFlowService = getCompositionRoot().getGitFlowService();
|
|
221
228
|
const results = [];
|
|
222
229
|
const currentBranch = gitFlowService.getCurrentBranch();
|
|
223
230
|
const baseBranch = process.env.AST_BASE_BRANCH || 'develop';
|
|
@@ -235,7 +242,7 @@ async function autoCompleteGitFlow(params) {
|
|
|
235
242
|
|
|
236
243
|
if (!gitFlowService.isClean()) {
|
|
237
244
|
results.push('⚠️ Uncommitted changes detected, committing...');
|
|
238
|
-
const gitCommand =
|
|
245
|
+
const gitCommand = getCompositionRoot().getGitCommandAdapter();
|
|
239
246
|
gitCommand.addAll();
|
|
240
247
|
const message = params.commitMessage || `chore: auto-commit changes on ${currentBranch}`;
|
|
241
248
|
gitCommand.commit(message);
|
|
@@ -245,7 +252,7 @@ async function autoCompleteGitFlow(params) {
|
|
|
245
252
|
}
|
|
246
253
|
|
|
247
254
|
results.push('Pushing to origin...');
|
|
248
|
-
const gitCommand =
|
|
255
|
+
const gitCommand = getCompositionRoot().getGitCommandAdapter();
|
|
249
256
|
gitCommand.push('origin', currentBranch, { setUpstream: true });
|
|
250
257
|
results.push('✅ Pushed to origin');
|
|
251
258
|
|
|
@@ -260,7 +267,7 @@ async function autoCompleteGitFlow(params) {
|
|
|
260
267
|
|
|
261
268
|
if (params.autoMerge) {
|
|
262
269
|
results.push('Auto-merging PR...');
|
|
263
|
-
const github =
|
|
270
|
+
const github = getCompositionRoot().getGitHubAdapter();
|
|
264
271
|
github.mergePullRequest(prUrl);
|
|
265
272
|
results.push(`✅ PR merged and branch deleted`);
|
|
266
273
|
|
|
@@ -295,7 +302,7 @@ async function autoCompleteGitFlow(params) {
|
|
|
295
302
|
* Sync branches (develop ↔ main)
|
|
296
303
|
*/
|
|
297
304
|
function syncBranches(params) {
|
|
298
|
-
const gitFlowService =
|
|
305
|
+
const gitFlowService = getCompositionRoot().getGitFlowService();
|
|
299
306
|
const result = gitFlowService.syncBranches();
|
|
300
307
|
|
|
301
308
|
return {
|
|
@@ -309,11 +316,11 @@ function syncBranches(params) {
|
|
|
309
316
|
* Cleanup stale branches (local + remote)
|
|
310
317
|
*/
|
|
311
318
|
function cleanupStaleBranches(params) {
|
|
312
|
-
const gitFlowService =
|
|
319
|
+
const gitFlowService = getCompositionRoot().getGitFlowService();
|
|
313
320
|
const baseBranch = process.env.AST_BASE_BRANCH || 'develop';
|
|
314
|
-
const gitQuery =
|
|
315
|
-
const gitCommand =
|
|
316
|
-
const github =
|
|
321
|
+
const gitQuery = getCompositionRoot().getGitQueryAdapter();
|
|
322
|
+
const gitCommand = getCompositionRoot().getGitCommandAdapter();
|
|
323
|
+
const github = getCompositionRoot().getGitHubAdapter();
|
|
317
324
|
|
|
318
325
|
const results = [];
|
|
319
326
|
|
|
@@ -367,7 +374,7 @@ function cleanupStaleBranches(params) {
|
|
|
367
374
|
* Auto-execute ai-start when code files detected
|
|
368
375
|
*/
|
|
369
376
|
async function autoExecuteAIStart(params) {
|
|
370
|
-
const useCase =
|
|
377
|
+
const useCase = getCompositionRoot().getAutoExecuteAIStartUseCase();
|
|
371
378
|
|
|
372
379
|
try {
|
|
373
380
|
const result = await useCase.execute({
|
|
@@ -503,8 +510,8 @@ function checkBranchChangesCoherence(branchName, uncommittedChanges) {
|
|
|
503
510
|
* Returns BLOCKED or ALLOWED status with auto-fixes applied
|
|
504
511
|
*/
|
|
505
512
|
async function aiGateCheck() {
|
|
506
|
-
const gitFlowService =
|
|
507
|
-
const gitQuery =
|
|
513
|
+
const gitFlowService = getCompositionRoot().getGitFlowService();
|
|
514
|
+
const gitQuery = getCompositionRoot().getGitQueryAdapter();
|
|
508
515
|
const currentBranch = getCurrentGitBranch(REPO_ROOT);
|
|
509
516
|
const isProtectedBranch = ['main', 'master', 'develop'].includes(currentBranch);
|
|
510
517
|
|
|
@@ -516,7 +523,7 @@ async function aiGateCheck() {
|
|
|
516
523
|
const autoFixes = [];
|
|
517
524
|
|
|
518
525
|
// 1. Evidence Freshness Check (Auto-fix included)
|
|
519
|
-
const evidenceMonitor =
|
|
526
|
+
const evidenceMonitor = getCompositionRoot().getEvidenceMonitor();
|
|
520
527
|
if (evidenceMonitor.isStale()) {
|
|
521
528
|
try {
|
|
522
529
|
await evidenceMonitor.refresh();
|
|
@@ -541,8 +548,8 @@ async function aiGateCheck() {
|
|
|
541
548
|
}
|
|
542
549
|
|
|
543
550
|
// 3. Block Commit Use Case Integration
|
|
544
|
-
const blockCommitUseCase =
|
|
545
|
-
const astAdapter =
|
|
551
|
+
const blockCommitUseCase = getCompositionRoot().getBlockCommitUseCase();
|
|
552
|
+
const astAdapter = getCompositionRoot().getAstAdapter();
|
|
546
553
|
|
|
547
554
|
try {
|
|
548
555
|
const auditResult = await astAdapter.analyzeStagedFiles();
|
|
@@ -581,10 +588,10 @@ async function aiGateCheck() {
|
|
|
581
588
|
async function validateAndFix(params) {
|
|
582
589
|
const results = [];
|
|
583
590
|
const issues = [];
|
|
584
|
-
const gitFlowService =
|
|
585
|
-
const gitQuery =
|
|
586
|
-
const gitCommand =
|
|
587
|
-
const evidenceMonitor =
|
|
591
|
+
const gitFlowService = getCompositionRoot().getGitFlowService();
|
|
592
|
+
const gitQuery = getCompositionRoot().getGitQueryAdapter();
|
|
593
|
+
const gitCommand = getCompositionRoot().getGitCommandAdapter();
|
|
594
|
+
const evidenceMonitor = getCompositionRoot().getEvidenceMonitor();
|
|
588
595
|
|
|
589
596
|
try {
|
|
590
597
|
if (evidenceMonitor.isStale()) {
|
|
@@ -633,9 +640,10 @@ async function validateAndFix(params) {
|
|
|
633
640
|
}
|
|
634
641
|
|
|
635
642
|
/**
|
|
636
|
-
* MCP Protocol Handler
|
|
643
|
+
* MCP Protocol Handler - Direct instantiation to avoid blocking on CompositionRoot
|
|
637
644
|
*/
|
|
638
|
-
const
|
|
645
|
+
const McpProtocolHandler = require('./services/McpProtocolHandler');
|
|
646
|
+
const protocolHandler = new McpProtocolHandler(process.stdin, process.stdout);
|
|
639
647
|
|
|
640
648
|
async function handleMcpMessage(message) {
|
|
641
649
|
try {
|
|
@@ -749,8 +757,8 @@ async function handleMcpMessage(message) {
|
|
|
749
757
|
}
|
|
750
758
|
|
|
751
759
|
if (uri === 'gitflow://state') {
|
|
752
|
-
const gitFlow =
|
|
753
|
-
const gitQuery =
|
|
760
|
+
const gitFlow = getCompositionRoot().getGitFlowService();
|
|
761
|
+
const gitQuery = getCompositionRoot().getGitQueryAdapter();
|
|
754
762
|
const currentBranch = getCurrentGitBranch(REPO_ROOT);
|
|
755
763
|
const branchState = getBranchStateSafe(gitQuery, REPO_ROOT, currentBranch);
|
|
756
764
|
|
|
@@ -776,7 +784,7 @@ async function handleMcpMessage(message) {
|
|
|
776
784
|
}
|
|
777
785
|
|
|
778
786
|
if (uri === 'context://active') {
|
|
779
|
-
const orchestrator =
|
|
787
|
+
const orchestrator = getCompositionRoot().getOrchestrator();
|
|
780
788
|
try {
|
|
781
789
|
const decision = await orchestrator.analyzeContext();
|
|
782
790
|
return {
|
|
@@ -938,10 +946,10 @@ protocolHandler.start(handleMcpMessage);
|
|
|
938
946
|
setInterval(async () => {
|
|
939
947
|
try {
|
|
940
948
|
const now = Date.now();
|
|
941
|
-
const gitFlowService =
|
|
942
|
-
const gitQuery =
|
|
943
|
-
const evidenceMonitor =
|
|
944
|
-
const orchestrator =
|
|
949
|
+
const gitFlowService = getCompositionRoot().getGitFlowService();
|
|
950
|
+
const gitQuery = getCompositionRoot().getGitQueryAdapter();
|
|
951
|
+
const evidenceMonitor = getCompositionRoot().getEvidenceMonitor();
|
|
952
|
+
const orchestrator = getCompositionRoot().getOrchestrator();
|
|
945
953
|
|
|
946
954
|
const currentBranch = gitFlowService.getCurrentBranch();
|
|
947
955
|
const baseBranch = process.env.AST_BASE_BRANCH || 'develop';
|
|
@@ -1002,9 +1010,9 @@ setInterval(async () => {
|
|
|
1002
1010
|
if (now - lastAutoCommitTime < AUTO_COMMIT_INTERVAL) return;
|
|
1003
1011
|
|
|
1004
1012
|
try {
|
|
1005
|
-
const gitFlowService =
|
|
1006
|
-
const gitQuery =
|
|
1007
|
-
const gitCommand =
|
|
1013
|
+
const gitFlowService = getCompositionRoot().getGitFlowService();
|
|
1014
|
+
const gitQuery = getCompositionRoot().getGitQueryAdapter();
|
|
1015
|
+
const gitCommand = getCompositionRoot().getGitCommandAdapter();
|
|
1008
1016
|
|
|
1009
1017
|
const currentBranch = gitFlowService.getCurrentBranch();
|
|
1010
1018
|
const isFeatureBranch = currentBranch.match(/^(feature|fix|hotfix)\//);
|
|
@@ -5,14 +5,13 @@ class McpProtocolHandler {
|
|
|
5
5
|
this.inputStream = inputStream;
|
|
6
6
|
this.outputStream = outputStream;
|
|
7
7
|
this.logger = logger;
|
|
8
|
-
this.buffer =
|
|
8
|
+
this.buffer = Buffer.alloc(0);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
start(messageHandler) {
|
|
12
|
-
this.inputStream.setEncoding('utf8');
|
|
13
|
-
|
|
14
12
|
this.inputStream.on('data', (chunk) => {
|
|
15
|
-
|
|
13
|
+
const buf = Buffer.isBuffer(chunk) ? chunk : Buffer.from(String(chunk), 'utf8');
|
|
14
|
+
void this._handleChunk(buf, messageHandler);
|
|
16
15
|
});
|
|
17
16
|
|
|
18
17
|
this.inputStream.on('end', () => {
|
|
@@ -27,7 +26,7 @@ class McpProtocolHandler {
|
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
async _handleChunk(chunk, messageHandler) {
|
|
30
|
-
this.buffer
|
|
29
|
+
this.buffer = Buffer.concat([this.buffer, chunk]);
|
|
31
30
|
const messages = this.extractMessages();
|
|
32
31
|
|
|
33
32
|
for (const message of messages) {
|
|
@@ -64,14 +63,19 @@ class McpProtocolHandler {
|
|
|
64
63
|
extractMessages() {
|
|
65
64
|
const messages = [];
|
|
66
65
|
|
|
66
|
+
const CRLF_HEADER = Buffer.from('\r\n\r\n', 'utf8');
|
|
67
|
+
const LF_HEADER = Buffer.from('\n\n', 'utf8');
|
|
68
|
+
const NL = 0x0a;
|
|
69
|
+
|
|
67
70
|
while (this.buffer.length > 0) {
|
|
68
|
-
const crlfHeaderEnd = this.buffer.indexOf(
|
|
69
|
-
const lfHeaderEnd = crlfHeaderEnd === -1 ? this.buffer.indexOf(
|
|
71
|
+
const crlfHeaderEnd = this.buffer.indexOf(CRLF_HEADER);
|
|
72
|
+
const lfHeaderEnd = crlfHeaderEnd === -1 ? this.buffer.indexOf(LF_HEADER) : -1;
|
|
70
73
|
const headerEnd = crlfHeaderEnd !== -1 ? crlfHeaderEnd : lfHeaderEnd;
|
|
71
|
-
const
|
|
74
|
+
const headerDelimiterBuf = crlfHeaderEnd !== -1 ? CRLF_HEADER : (lfHeaderEnd !== -1 ? LF_HEADER : null);
|
|
72
75
|
|
|
73
|
-
if (
|
|
74
|
-
const
|
|
76
|
+
if (headerDelimiterBuf) {
|
|
77
|
+
const headerBlockBuf = this.buffer.slice(0, headerEnd);
|
|
78
|
+
const headerBlock = headerBlockBuf.toString('ascii');
|
|
75
79
|
const contentLengthLine = headerBlock
|
|
76
80
|
.split(/\r?\n/)
|
|
77
81
|
.find(line => /^content-length:/i.test(line));
|
|
@@ -80,29 +84,31 @@ class McpProtocolHandler {
|
|
|
80
84
|
const match = contentLengthLine.match(/content-length:\s*(\d+)/i);
|
|
81
85
|
const contentLength = match ? Number(match[1]) : NaN;
|
|
82
86
|
if (!Number.isFinite(contentLength) || contentLength < 0) {
|
|
83
|
-
this.buffer = this.buffer.slice(headerEnd +
|
|
87
|
+
this.buffer = this.buffer.slice(headerEnd + headerDelimiterBuf.length);
|
|
84
88
|
continue;
|
|
85
89
|
}
|
|
86
90
|
|
|
87
|
-
const bodyStart = headerEnd +
|
|
91
|
+
const bodyStart = headerEnd + headerDelimiterBuf.length;
|
|
88
92
|
if (this.buffer.length < bodyStart + contentLength) {
|
|
89
93
|
break;
|
|
90
94
|
}
|
|
91
95
|
|
|
92
|
-
const
|
|
93
|
-
|
|
96
|
+
const bodyBuf = this.buffer.slice(bodyStart, bodyStart + contentLength);
|
|
97
|
+
const body = bodyBuf.toString('utf8');
|
|
98
|
+
messages.push({ body, framed: true, delimiter: headerDelimiterBuf.toString('utf8') });
|
|
94
99
|
this.buffer = this.buffer.slice(bodyStart + contentLength);
|
|
95
100
|
continue;
|
|
96
101
|
}
|
|
97
102
|
}
|
|
98
103
|
|
|
99
|
-
const nl = this.buffer.indexOf(
|
|
104
|
+
const nl = this.buffer.indexOf(NL);
|
|
100
105
|
if (nl === -1) {
|
|
101
106
|
break;
|
|
102
107
|
}
|
|
103
108
|
|
|
104
|
-
const
|
|
109
|
+
const lineBuf = this.buffer.slice(0, nl);
|
|
105
110
|
this.buffer = this.buffer.slice(nl + 1);
|
|
111
|
+
const line = lineBuf.toString('utf8').trim();
|
|
106
112
|
if (line) {
|
|
107
113
|
messages.push({ body: line, framed: false });
|
|
108
114
|
}
|
package/scripts/hooks-system/infrastructure/watchdog/__tests__/.audit-reports/token-monitor.log
CHANGED
|
@@ -16,3 +16,6 @@
|
|
|
16
16
|
{"timestamp":"2025-12-28T13:58:29.678Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"ok","percentUsed":10,"tokensUsed":100000,"maxTokens":1000000,"source":"realtime","stale":false},"context":{"message":"Result level=ok percent=10% used=100000/1000000 source=realtime"}}
|
|
17
17
|
{"timestamp":"2025-12-28T13:58:29.681Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"warning","percentUsed":91,"tokensUsed":910000,"maxTokens":1000000,"source":"fallback","stale":false},"context":{"message":"Result level=warning percent=91% used=910000/1000000 source=fallback"}}
|
|
18
18
|
{"timestamp":"2025-12-28T13:58:29.682Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"critical","percentUsed":98,"tokensUsed":980000,"maxTokens":1000000,"source":"realtime","stale":true},"context":{"message":"Result level=critical percent=98% used=980000/1000000 source=realtime (stale)"}}
|
|
19
|
+
{"timestamp":"2025-12-29T14:01:17.350Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"ok","percentUsed":10,"tokensUsed":100000,"maxTokens":1000000,"source":"realtime","stale":false},"context":{"message":"Result level=ok percent=10% used=100000/1000000 source=realtime"}}
|
|
20
|
+
{"timestamp":"2025-12-29T14:01:17.352Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"warning","percentUsed":91,"tokensUsed":910000,"maxTokens":1000000,"source":"fallback","stale":false},"context":{"message":"Result level=warning percent=91% used=910000/1000000 source=fallback"}}
|
|
21
|
+
{"timestamp":"2025-12-29T14:01:17.352Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"critical","percentUsed":98,"tokensUsed":980000,"maxTokens":1000000,"source":"realtime","stale":true},"context":{"message":"Result level=critical percent=98% used=980000/1000000 source=realtime (stale)"}}
|