Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

6.4 KB
Raw Blame
{
  "info": {
    "id": "ses_0a1b2c3d4ffeSynthetic000001",
    "slug": "quiet-harbor",
    "projectID": "prj_fixture",
    "directory": "/srv/demo",
    "path": "",
    "title": "Fixture session",
    "agent": "build",
    "model": {
      "id": "demo-model",
      "providerID": "opencode"
    },
    "version": "1.18.25",
    "summary": {
      "additions": 0,
      "deletions": 0,
      "files": 0
    },
    "cost": 0,
    "tokens": {
      "input": 0,
      "output": 0,
      "reasoning": 0,
      "cache": {
        "read": 0,
        "write": 0
      }
    },
    "time": {
      "created": 1780000000000,
      "updated": 1780000000000
    }
  },
  "messages": [
    {
      "info": {
        "role": "user",
        "time": {
          "created": 1780000001000
        },
        "agent": "build",
        "model": {
          "providerID": "opencode",
          "modelID": "demo-model"
        },
        "summary": {
          "diffs": []
        },
        "id": "msg_1",
        "sessionID": "ses_0a1b2c3d4ffeSynthetic000001"
      },
      "parts": [
        {
          "type": "text",
          "text": "Review @src/app.ts please",
          "id": "prt_fixture0027",
          "sessionID": "ses_0a1b2c3d4ffeSynthetic000001",
          "messageID": "msg_fixture"
        },
        {
          "type": "file",
          "mime": "text/plain",
          "filename": "app.ts",
          "url": "file:///srv/demo/src/app.ts",
          "source": {
            "type": "file",
            "path": "src/app.ts",
            "text": {
              "value": "@src/app.ts",
              "start": 7,
              "end": 18
            }
          },
          "id": "prt_fixture0028",
          "sessionID": "ses_0a1b2c3d4ffeSynthetic000001",
          "messageID": "msg_fixture"
        },
        {
          "type": "text",
          "text": "Called the Read tool with the following input: {\"filePath\":\"/srv/demo/src/app.ts\"}",
          "synthetic": true,
          "id": "prt_fixture0029",
          "sessionID": "ses_0a1b2c3d4ffeSynthetic000001",
          "messageID": "msg_fixture"
        },
        {
          "type": "text",
          "text": "<file>\n00001| export {}\n</file>",
          "synthetic": true,
          "id": "prt_fixture0030",
          "sessionID": "ses_0a1b2c3d4ffeSynthetic000001",
          "messageID": "msg_fixture"
        },
        {
          "type": "agent",
          "name": "plan",
          "source": {
            "value": "@plan",
            "start": 0,
            "end": 5
          },
          "id": "prt_fixture0031",
          "sessionID": "ses_0a1b2c3d4ffeSynthetic000001",
          "messageID": "msg_fixture"
        },
        {
          "type": "text",
          "text": "not for the model",
          "ignored": true,
          "id": "prt_fixture0032",
          "sessionID": "ses_0a1b2c3d4ffeSynthetic000001",
          "messageID": "msg_fixture"
        }
      ]
    },
    {
      "info": {
        "role": "user",
        "time": {
          "created": 1780000002000
        },
        "agent": "build",
        "model": {
          "providerID": "opencode",
          "modelID": "demo-model"
        },
        "summary": {
          "diffs": []
        },
        "id": "msg_2",
        "sessionID": "ses_0a1b2c3d4ffeSynthetic000001"
      },
      "parts": [
        {
          "type": "text",
          "text": "The following tool was executed by the user",
          "synthetic": true,
          "id": "prt_fixture0033",
          "sessionID": "ses_0a1b2c3d4ffeSynthetic000001",
          "messageID": "msg_fixture"
        }
      ]
    },
    {
      "info": {
        "role": "user",
        "time": {
          "created": 1780000003000
        },
        "agent": "build",
        "model": {
          "providerID": "opencode",
          "modelID": "demo-model"
        },
        "summary": {
          "diffs": []
        },
        "id": "msg_3",
        "sessionID": "ses_0a1b2c3d4ffeSynthetic000001"
      },
      "parts": [
        {
          "type": "text",
          "text": "run the tests",
          "id": "prt_fixture0034",
          "sessionID": "ses_0a1b2c3d4ffeSynthetic000001",
          "messageID": "msg_fixture"
        },
        {
          "type": "tool",
          "tool": "bash",
          "callID": "call_fixture34",
          "state": {
            "status": "completed",
            "input": {
              "command": "npm test"
            },
            "output": "ok 12 tests",
            "title": "npm test",
            "metadata": {},
            "time": {
              "start": 1780000000000,
              "end": 1780000000001
            }
          },
          "id": "prt_fixture0035",
          "sessionID": "ses_0a1b2c3d4ffeSynthetic000001",
          "messageID": "msg_fixture"
        }
      ]
    },
    {
      "info": {
        "parentID": "msg_parent",
        "role": "assistant",
        "mode": "build",
        "agent": "build",
        "path": {
          "cwd": "/srv/demo",
          "root": "/srv/demo"
        },
        "cost": 0,
        "tokens": {
          "total": 20,
          "input": 12,
          "output": 8,
          "reasoning": 0,
          "cache": {
            "write": 0,
            "read": 0
          }
        },
        "modelID": "demo-model",
        "providerID": "opencode",
        "time": {
          "created": 1780000004000,
          "completed": 1780000004500
        },
        "finish": "stop",
        "id": "msg_4",
        "sessionID": "ses_0a1b2c3d4ffeSynthetic000001"
      },
      "parts": [
        {
          "type": "step-start",
          "snapshot": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
          "id": "prt_fixture0036",
          "sessionID": "ses_0a1b2c3d4ffeSynthetic000001",
          "messageID": "msg_fixture"
        },
        {
          "type": "text",
          "text": "Looks fine.",
          "id": "prt_fixture0037",
          "sessionID": "ses_0a1b2c3d4ffeSynthetic000001",
          "messageID": "msg_fixture"
        },
        {
          "type": "step-finish",
          "reason": "stop",
          "snapshot": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
          "cost": 0,
          "tokens": {
            "total": 20,
            "input": 12,
            "output": 8,
            "reasoning": 0,
            "cache": {
              "write": 0,
              "read": 0
            }
          },
          "id": "prt_fixture0038",
          "sessionID": "ses_0a1b2c3d4ffeSynthetic000001",
          "messageID": "msg_fixture"
        }
      ]
    }
  ]
}