{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "protocolVersion": 1,
    "agentInfo": {
      "name": "deepseek-harness-acp",
      "version": "0.0.1"
    },
    "agentCapabilities": {
      "loadSession": true,
      "promptCapabilities": {
        "image": false,
        "audio": false,
        "embeddedContext": false
      }
    },
    "authMethods": []
  }
}
{
  "jsonrpc": "2.0",
  "id": 2,
  "result": {
    "sessionId": "{{sessionId}}"
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "user_message_chunk",
      "content": {
        "type": "text",
        "text": "Use the bash tool to run exactly: echo SNAPSHOT_OK. Then reply with the single word DONE and stop."
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": "The"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " user"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " wants"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " me"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " to"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " run"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " a"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " specific"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " command"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " and"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " then"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " reply"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " with"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " D"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": "ONE"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": "."
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "tool_call",
      "toolCallId": "call_00_waDnb5eZcD1dBV49O7F39256",
      "title": "echo SNAPSHOT_OK",
      "kind": "execute",
      "status": "in_progress",
      "rawInput": "echo SNAPSHOT_OK",
      "content": [
        {
          "type": "content",
          "content": {
            "type": "text",
            "text": "Run the exact echo command requested"
          }
        }
      ]
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "tool_call_update",
      "toolCallId": "call_00_waDnb5eZcD1dBV49O7F39256",
      "status": "completed",
      "content": [
        {
          "type": "content",
          "content": {
            "type": "text",
            "text": "```console\nSNAPSHOT_OK\n```"
          }
        }
      ]
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": "The"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " command"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " ran"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " successfully"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " and"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " output"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " \""
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": "S"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": "NA"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": "PS"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": "H"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": "OT"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": "_OK"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": "\"."
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " Now"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " I"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " need"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " to"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " reply"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " with"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " the"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " single"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " word"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": " \""
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": "D"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": "ONE"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_thought_chunk",
      "content": {
        "type": "text",
        "text": "\"."
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_message_chunk",
      "content": {
        "type": "text",
        "text": "D"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "method": "session/update",
  "params": {
    "sessionId": "{{sessionId}}",
    "update": {
      "sessionUpdate": "agent_message_chunk",
      "content": {
        "type": "text",
        "text": "ONE"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "id": 3,
  "result": {
    "stopReason": "end_turn"
  }
}
