Release grok-build-hud v0.3.0: Claude-HUD-style same-window status for Grok Build

Multi-line tmux strip (context, quota, tools, todos, git), theme sync with
Grok UI, full/essential/minimal presets, one-shot installer, EN+ZH docs,
and 40 unit tests.
This commit is contained in:
2026-07-17 15:45:25 +08:00
commit bb6a1321fb
56 changed files with 6334 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
{
"config": {
"monthlyLimit": { "val": 150000 },
"used": { "val": 17510 },
"billingPeriodStart": "2026-07-01T00:00:00+00:00",
"billingPeriodEnd": "2026-08-01T00:00:00+00:00"
}
}
+17
View File
@@ -0,0 +1,17 @@
{
"config": {
"currentPeriod": {
"type": "USAGE_PERIOD_TYPE_WEEKLY",
"start": "2026-07-15T06:38:37.918313+00:00",
"end": "2026-07-22T06:38:37.918313+00:00"
},
"creditUsagePercent": 22.0,
"productUsage": [
{ "product": "Api", "usagePercent": 12.0 },
{ "product": "GrokBuild", "usagePercent": 9.0 },
{ "product": "GrokChat", "usagePercent": 1.0 }
],
"billingPeriodStart": "2026-07-15T06:38:37.918313+00:00",
"billingPeriodEnd": "2026-07-22T06:38:37.918313+00:00"
}
}
+15
View File
@@ -0,0 +1,15 @@
{
"turnCount": 4,
"userMessageCount": 4,
"assistantMessageCount": 20,
"errorCount": 0,
"toolFailureCount": 0,
"contextWindowUsage": 37,
"contextTokensUsed": 190000,
"contextWindowTokens": 500000,
"toolCallCount": 12,
"toolsUsed": ["read_file", "grep", "run_terminal_command"],
"modelsUsed": ["grok-4.5"],
"primaryModelId": "grok-4.5",
"sessionDurationSeconds": 4620
}
+14
View File
@@ -0,0 +1,14 @@
{
"info": {
"id": "fixture-session-001",
"cwd": "/Users/dex/demo/CoachFlow"
},
"session_summary": "admin split optimization",
"generated_title": "admin split optimization",
"current_model_id": "grok-4.5",
"head_branch": "main",
"git_root_dir": "/Users/dex/demo/CoachFlow/",
"last_active_at": "2026-07-17T06:00:00.000Z",
"updated_at": "2026-07-17T06:00:00.000Z",
"created_at": "2026-07-17T04:00:00.000Z"
}
+9
View File
@@ -0,0 +1,9 @@
{"timestamp":1000,"method":"session/update","params":{"sessionId":"fixture-session-001","update":{"sessionUpdate":"tool_call","toolCallId":"call-1","title":"read_file","rawInput":{"target_file":"/Users/dex/demo/CoachFlow/src/auth.ts"}}}}
{"timestamp":1001,"method":"session/update","params":{"sessionId":"fixture-session-001","update":{"sessionUpdate":"tool_call_update","toolCallId":"call-1","status":"completed","title":"Read auth.ts"}}}
{"timestamp":1002,"method":"session/update","params":{"sessionId":"fixture-session-001","update":{"sessionUpdate":"tool_call","toolCallId":"call-2","title":"grep","rawInput":{"pattern":"split","path":"src"}}}}
{"timestamp":1003,"method":"session/update","params":{"sessionId":"fixture-session-001","update":{"sessionUpdate":"tool_call_update","toolCallId":"call-2","status":"completed"}}}
{"timestamp":1004,"method":"session/update","params":{"sessionId":"fixture-session-001","update":{"sessionUpdate":"tool_call","toolCallId":"call-3","title":"run_terminal_command","rawInput":{"command":"ls -la src"}}}}
{"timestamp":1005,"method":"session/update","params":{"sessionId":"fixture-session-001","update":{"sessionUpdate":"tool_call_update","toolCallId":"call-3","status":"completed","title":"Execute ls -la src"}}}
{"timestamp":1006,"method":"session/update","params":{"sessionId":"fixture-session-001","update":{"sessionUpdate":"tool_call","toolCallId":"call-4","title":"read_file","rawInput":{"target_file":"/Users/dex/demo/CoachFlow/src/admin.ts"}}}}
{"timestamp":1007,"method":"session/update","params":{"sessionId":"fixture-session-001","update":{"sessionUpdate":"tool_call_update","toolCallId":"call-4","kind":"read","title":"Read admin.ts"}}}
{"timestamp":1008,"method":"session/update","params":{"sessionId":"fixture-session-001","update":{"sessionUpdate":"agent_thought_chunk","title":"explore","agentId":"agent-1"}}}