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.

4.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": [
    "a string where a message should be",
    null,
    {
      "parts": [
        {
          "type": "text",
          "text": "no info",
          "id": "prt_fixture0051",
          "sessionID": "ses_0a1b2c3d4ffeSynthetic000001",
          "messageID": "msg_fixture"
        }
      ]
    },
    {
      "info": {
        "role": "system",
        "id": "msg_s",
        "sessionID": "ses_0a1b2c3d4ffeSynthetic000001"
      },
      "parts": [
        {
          "type": "text",
          "text": "unknown role",
          "id": "prt_fixture0052",
          "sessionID": "ses_0a1b2c3d4ffeSynthetic000001",
          "messageID": "msg_fixture"
        }
      ]
    },
    {
      "info": {
        "role": "user",
        "time": {
          "created": 1780000001000
        },
        "agent": "build",
        "model": {
          "providerID": "opencode",
          "modelID": "demo-model"
        },
        "summary": {
          "diffs": []
        },
        "id": "msg_1",
        "sessionID": "ses_0a1b2c3d4ffeSynthetic000001"
      },
      "parts": "parts is not an array"
    },
    {
      "info": {
        "role": "user",
        "time": {
          "created": 1780000002000
        },
        "agent": "build",
        "model": {
          "providerID": "opencode",
          "modelID": "demo-model"
        },
        "summary": {
          "diffs": []
        },
        "id": "msg_2",
        "sessionID": "ses_someoneElse00000000000"
      },
      "parts": [
        {
          "type": "text",
          "text": "SOMEONE ELSE PRIVATE",
          "id": "prt_fixture0053",
          "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": "kept",
          "id": "prt_fixture0054",
          "sessionID": "ses_0a1b2c3d4ffeSynthetic000001",
          "messageID": "msg_fixture"
        },
        7,
        {
          "no": "type"
        },
        {
          "type": "future-kind",
          "secret": "x",
          "id": "prt_fixture0055",
          "sessionID": "ses_0a1b2c3d4ffeSynthetic000001",
          "messageID": "msg_fixture"
        },
        {
          "type": "text",
          "text": 42,
          "id": "prt_fixture0056",
          "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": "tool",
          "tool": "bash",
          "callID": "c",
          "state": "not an object",
          "id": "prt_fixture0057",
          "sessionID": "ses_0a1b2c3d4ffeSynthetic000001",
          "messageID": "msg_fixture"
        }
      ]
    }
  ]
}