an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions
HTML agent-harnessagent-orchestrationagentsai-agentsautonomous-agentsclaude-codecodexcoding-agentsdesktop-appdeveloper-toolselectrongemini-cliharnessharness-engineeringlocal-firstmemorymulti-agentopencodeorchestrationtypescript
fix(hive): cost-ledger row fully snake_case for 1:1 SQLite migration (#4)
Chaitanya Giri4aa7e211d502
diff --git a/src/main/hive.ts b/src/main/hive.tsindex a55a8827..1f8fe4eb 100644--- a/src/main/hive.ts+++ b/src/main/hive.ts@@ -613,14 +613,17 @@ export class HiveManager {appendCostLedger(sample: AgentUsageSample): void {const root = this.root();if (!root) return;+ // Fully snake_case so the row maps 1:1 onto Kevin's (#4) cost_ledger SQLite+ // columns (agent_id, session_id, ts, input, output, cache_read,+ // cache_creation, model, usd) — migration is a straight INSERT…SELECT.const row = {agent_id: sample.agentId,session_id: sample.sessionId,ts: sample.ts,input: sample.input,output: sample.output,- cacheRead: sample.cacheRead,- cacheCreation: sample.cacheCreation,+ cache_read: sample.cacheRead,+ cache_creation: sample.cacheCreation,model: sample.model,usd: sample.usd};