Skip to content

One live console to monitor Claude Code and Codex agents across machines, track context and spend, and unblock sessions that need you.

9.4 KB
Raw Blame
{
  "v": 1,
  "sentAt": 1791648000000,
  "provider": "claude",
  "reporter": { "name": "claude-reporter", "version": "0.3.0", "engineVersion": "2.1.310", "hostSurface": "terminal" },
  "machine": { "name": "dev-mbp", "id": "3f9a1c7e5b20", "os": "macOS 27.0.1" },
  "session": {
    "id": "5f0c2a8e-1b7d-4c3e-9a51-2d6f8e0b4c11",
    "name": "invoice-v2",
    "status": "running",
    "waitReason": null,
    "waitNote": null,
    "endReason": null,
    "resumeId": null,
    "clearedFrom": null,
    "startedAt": 1791645260000,
    "cwd": "/Users/dev/billing-service/.claude/worktrees/invoice-v2",
    "projectRoot": "/Users/dev/billing-service",
    "repoName": "acme/billing-service",
    "git": { "branch": "refactor/invoice-v2", "detached": false, "isWorktree": true, "worktreePath": "/Users/dev/billing-service/.claude/worktrees/invoice-v2", "ahead": 7, "behind": 0, "dirty": 3 },
    "model": "claude-opus-5-5",
    "effort": "xhigh",
    "context": { "tokens": 410000, "window": 1000000, "percent": 41 },
    "costUsd": null,
    "rateLimits": [{ "kind": "five_hour", "percentUsed": 23.5, "resetsAt": "2026-10-10T18:00:00Z", "measuredAt": "2026-10-10T15:59:50.000Z" }],
    "blowouts": 0,
    "toolFailures": 0,
    "plan": {
      "title": "Migrate invoices to v2 schema",
      "source": "TaskCreate",
      "steps": [
        { "id": "1", "text": "Map invoice call sites", "state": "done", "activeText": "Mapping invoice call sites", "ownerAgentId": "a1", "ownerLabel": "Explore · Haiku low" },
        { "id": "2", "text": "Port invoice endpoints", "state": "active", "activeText": "Porting invoice endpoints", "ownerAgentId": "a2", "ownerLabel": "fork · Opus xhigh" },
        { "id": "3", "text": "Run staging backfill", "state": "blocked", "activeText": null, "ownerAgentId": null, "ownerLabel": null },
        { "id": "4", "text": "Write rollout notes", "state": "pending", "activeText": null, "ownerAgentId": null, "ownerLabel": null }
      ]
    },
    "loop": {
      "skills": ["frontend-design", "code-review"],
      "lastTool": "Agent",
      "toolCalls": 19,
      "toolCounts": { "Agent": 4, "Read": 8, "Edit": 5, "TaskUpdate": 2 },
      "steps": { "done": 23, "total": null }
    },
    "files": {
      "files": [
        { "path": "src/invoice/export.ts", "status": "modified", "added": 24, "removed": 6, "from": null },
        { "path": "src/invoice/export.test.ts", "status": "added", "added": 58, "removed": 0, "from": null },
        { "path": "src/invoice/legacy.ts", "status": "deleted", "added": 0, "removed": 112, "from": null },
        { "path": "src/invoice/totals.ts", "status": "renamed", "added": 3, "removed": 1, "from": "src/invoice/sum.ts" }
      ],
      "total": 4,
      "added": 85,
      "removed": 119,
      "since": "start"
    },
    "attached": true,
    "activityFeed": true,
    "activity": [
      { "at": 1791647850000, "kind": "tool", "text": "Agent Port invoice endpoints" },
      { "at": 1791647880000, "kind": "text", "text": "The staging backfill failed on a database connection; I am checking the endpoint port first." }
    ],
    "background": {
      "tasks": [{ "type": "monitor", "description": "Watch the staging deploy", "status": "running" }],
      "wakeAt": 1791648600000
    },
    "respond": { "level": "everything", "accepts": ["question", "plan-approve", "plan-feedback", "permission", "message", "command"], "limits": [] },
    "asks": [
      {
        "id": "toolu_01ask",
        "kind": "question",
        "agentId": null,
        "openedAt": 1791647950000,
        "allowsReply": true,
        "questions": [
          {
            "question": "Run the staging backfill against the replica or the primary?",
            "header": "Backfill target",
            "multiSelect": false,
            "options": [
              { "label": "Replica", "description": "Read-only, safe to retry.", "preview": null },
              { "label": "Primary", "description": "Writes the new schema.", "preview": null }
            ],
            "allowsText": true
          }
        ]
      },
      {
        "id": "toolu_01perm",
        "kind": "permission",
        "agentId": "a2",
        "openedAt": 1791647980000,
        "allowsReply": true,
        "tool": { "name": "Bash", "input": { "command": "npm run migrate -- --env=staging", "description": "Apply the v2 migration to staging" }, "cut": false, "denyReason": true }
      }
    ],
    "lastActivityAt": 1791647990000,
    "toolOpen": true
  },
  "agents": [
    {
      "id": "a1", "parentId": null, "kind": "subagent", "type": "Explore", "name": null,
      "description": "Map invoice call sites", "model": "claude-haiku-5-5", "effort": "low", "effortSource": "requested",
      "status": "done", "startedAt": 1791645300000, "endedAt": 1791645480000,
      "context": { "tokens": 61000, "window": 1000000, "percent": 6.1 },
      "costUsdEst": null,
      "skills": ["repo-map"], "lastTool": "Grep", "toolCalls": 31, "toolCounts": { "Grep": 14, "Read": 11, "Glob": 6 }, "blowouts": 0, "toolFailures": 0,
      "steps": { "done": 14, "total": null },
      "promptExcerpt": "Find every call site of the invoice v1 serializer and list them by module.",
      "answerExcerpt": "Found 42 call sites across 9 modules.",
      "failure": null,
      "lastActivityAt": 1791645480000, "toolOpen": false
    },
    {
      "id": "a2", "parentId": null, "kind": "fork", "type": "fork", "name": null,
      "description": "Port invoice endpoints", "model": "claude-opus-5-5", "effort": "xhigh", "effortSource": "inherited",
      "status": "running", "startedAt": 1791647400000, "endedAt": null,
      "context": { "tokens": 380000, "window": 1000000, "percent": 38 },
      "costUsdEst": null,
      "skills": ["code-review"], "lastTool": "Bash", "toolCalls": 18, "toolCounts": { "Edit": 9, "Read": 7, "Bash": 2 }, "blowouts": 0, "toolFailures": 0,
      "steps": { "done": 9, "total": null },
      "promptExcerpt": "Port the invoice endpoints to the v2 schema.", "answerExcerpt": null,
      "activity": [
        { "at": 1791647860000, "kind": "tool", "text": "Edit src/invoice/export.ts" },
        { "at": 1791647870000, "kind": "tool", "text": "Bash npm test -- invoice", "id": "toolu_01bash", "command": "npm test -- invoice", "done": true, "exitCode": 0 }
      ],
      "failure": null,
      "lastActivityAt": 1791647980000, "toolOpen": true
    },
    {
      "id": "a3", "parentId": null, "kind": "subagent", "type": "general-purpose", "name": null,
      "description": "Backfill dry run", "model": "claude-sonnet-5-5", "effort": "medium", "effortSource": "requested",
      "status": "failed", "startedAt": 1791647640000, "endedAt": 1791647700000,
      "context": { "tokens": 88000, "window": 1000000, "percent": 8.8 },
      "costUsdEst": null,
      "skills": [], "lastTool": "Bash", "toolCalls": 6, "toolCounts": { "Bash": 6 }, "blowouts": 0, "toolFailures": 3,
      "steps": { "done": 4, "total": null },
      "promptExcerpt": "Run the invoice backfill in dry-run mode against staging.", "answerExcerpt": null,
      "failure": {
        "class": "Tool error", "at": 1791647700000, "tool": "Bash", "call": "npm run backfill:dry -- --env=staging", "exitCode": 1,
        "outputTail": ["Error: connect ECONNREFUSED 127.0.0.1:5432", "    at TCPConnectWrap.afterConnect (node:net:1555:16)", "backfill: could not open a database connection"],
        "evidence": ["same call failed 3 times"], "explanation": null, "retriedAs": null
      },
      "lastActivityAt": 1791647700000, "toolOpen": false
    },
    {
      "id": "a4", "parentId": "a2", "kind": "subagent", "type": "general-purpose", "name": "pdf",
      "description": "Rewrite PDF renderer", "model": "claude-opus-5-5", "effort": "high", "effortSource": "observed",
      "status": "running", "startedAt": 1791647500000, "endedAt": null,
      "context": { "tokens": 930000, "window": 1000000, "percent": 93 },
      "costUsdEst": null,
      "skills": ["frontend-design"], "lastTool": "Read", "toolCalls": 52, "toolCounts": { "Read": 30, "Edit": 14, "Bash": 8 }, "blowouts": 2, "toolFailures": 0,
      "steps": { "done": 40, "total": null },
      "promptExcerpt": "Rewrite the PDF renderer to read v2 invoices.", "answerExcerpt": null,
      "failure": null,
      "lastActivityAt": 1791647985000, "toolOpen": true
    }
  ],
  "events": [
    { "id": "5f0c2a8e-1b7d-4c3e-9a51-2d6f8e0b4c11:main:fail:1791646000000:1", "t": 1791646000000, "kind": "fail", "agentId": null, "text": "orchestrator turn ended with an API error (rate_limit)", "data": { "reason": "error", "category": "rate_limit" } },
    { "id": "5f0c2a8e-1b7d-4c3e-9a51-2d6f8e0b4c11:a2:spawn:1791647400000:2", "t": 1791647400000, "kind": "spawn", "agentId": "a2", "text": "fork of the session (Opus xhigh): Port invoice endpoints", "data": null },
    { "id": "5f0c2a8e-1b7d-4c3e-9a51-2d6f8e0b4c11:a3:fail:1791647700000:3", "t": 1791647700000, "kind": "fail", "agentId": "a3", "text": "failed: Backfill dry run (Tool error)", "data": { "class": "Tool error" } },
    { "id": "5f0c2a8e-1b7d-4c3e-9a51-2d6f8e0b4c11:a2:edit:1791647860000:4", "t": 1791647860000, "kind": "edit", "agentId": "a2", "text": "edited export.ts", "data": { "path": "/Users/dev/billing-service/.claude/worktrees/invoice-v2/src/invoice/export.ts" } },
    { "id": "5f0c2a8e-1b7d-4c3e-9a51-2d6f8e0b4c11:a4:blow:1791647900000:5", "t": 1791647900000, "kind": "blow", "agentId": "a4", "text": "context window exceeded (blowout #2) in “Rewrite PDF renderer”", "data": { "kind": "auto-compact", "tokensBefore": 1004000, "tokensAfter": 300000 } }
  ]
}