feat(billing): bill Cursor executor usage via stream-json token parsing
Memind CI / Test, build, and release guards (push) Failing after 14m36s

Parse Cursor CLI usage from stream-json output and charge through billSessionUsage so subscription quota is consumed first and wallet overage applies when needed.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-27 10:16:38 +08:00
parent 884e819f70
commit f95d766f69
9 changed files with 344 additions and 8 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ export function buildCursorExecutorLaunchPlan({
'--force',
'--approve-mcps',
'--output-format',
'text',
'stream-json',
'--workspace',
workspace,
prompt,