mindfork 0.10.2

A terminal AI chat written in Rust: local models via llama.cpp or OpenAI, Anthropic, Gemini and Grok in the cloud, with persistent memory, notes, RAG and tools.
{
  "id": "4b2c5e1a-7d3f-4e2b-9a1c-0f6e8d7c5b4a",
  "profile_id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "title": "Старый чат",
  "created_at": "2026-06-20T10:00:00Z",
  "modified_at": "2026-06-20T10:05:00Z",
  "system_message": "Ты — ассистент.",
  "character_names": { "user": "", "assistant": "", "system": "" },
  "messages": [
    {
      "id": "a0000000-0000-0000-0000-000000000001",
      "role": "user",
      "text": "Что думаешь об идее X?",
      "timestamp": "2026-06-20T10:00:00Z"
    },
    {
      "id": "a0000000-0000-0000-0000-000000000002",
      "role": "assistant",
      "text": "Спрошу критика.",
      "thoughts": "Нужно второе мнение.",
      "tool_calls": [
        {
          "id": "call_1",
          "name": "call_subagent",
          "arguments": {
            "system_message": "Ты — критик.",
            "message": "Оцени идею X.\nПодробно."
          },
          "result": "Идея X слаба: …"
        },
        {
          "id": "call_2",
          "name": "current_time",
          "arguments": {},
          "result": "2026-06-20 13:01"
        }
      ],
      "timestamp": "2026-06-20T10:01:00Z"
    },
    {
      "id": "a0000000-0000-0000-0000-000000000003",
      "role": "tool",
      "text": "Идея X слаба: …",
      "timestamp": "2026-06-20T10:02:30Z",
      "tool_call_id": "call_1",
      "tool_name": "call_subagent"
    },
    {
      "id": "a0000000-0000-0000-0000-000000000004",
      "role": "tool",
      "text": "2026-06-20 13:01",
      "timestamp": "2026-06-20T10:02:31Z",
      "tool_call_id": "call_2",
      "tool_name": "current_time"
    },
    {
      "id": "a0000000-0000-0000-0000-000000000005",
      "role": "assistant",
      "text": "Итого: X слаба.",
      "timestamp": "2026-06-20T10:03:00Z",
      "metadata": { "sampling": {}, "mode": "external" }
    }
  ],
  "draft": "",
  "deleted": [
    {
      "deleted_at": "2026-06-20T10:05:00Z",
      "messages": [
        {
          "id": "b0000000-0000-0000-0000-000000000001",
          "role": "user",
          "text": "А идею Y?",
          "timestamp": "2026-06-20T10:04:00Z"
        },
        {
          "id": "b0000000-0000-0000-0000-000000000002",
          "role": "assistant",
          "text": "",
          "tool_calls": [
            {
              "id": "call_3",
              "name": "call_subagent",
              "arguments": {
                "system_message": "Ты — фанат.",
                "message": "Похвали Y"
              }
            }
          ],
          "timestamp": "2026-06-20T10:04:30Z"
        }
      ],
      "draft": "",
      "cause": "Regenerate"
    }
  ],
  "is_hidden": false
}