socialweb.computer

Request and provide VMs on an atproto compute market.

lexicons and xrpc

lexicon

computer.socialweb.cicd.process.write

procedure HTTP POST /xrpc/computer.socialweb.cicd.process.write

socialweb-guest-agent writes to a running job's stdin and can close it. Served only on the agent's shell unix socket (/run/socialweb-guest-agent/shell.sock, root 0600), with no auth beyond the socket; the same tool the agent's /mcp server offers as write.

input

encoding application/json

fieldtypedescription
id *string
The job id from start.
data *string
The text to write; may be empty, e.g. to only close.
closeboolean
Close the job's stdin after the write.

output

encoding application/json

field: none.

errors

errordescription
InvalidRequest405: not a POST; 413: the body is over 8 MiB; 400: the arguments are not valid, data is missing, there is no job with that id, the job is done, or the write did not complete within 30 s.

used in

no page of these docs names it yet.

raw schema: lexicons/computer/socialweb/cicd/process/write.json
{
  "lexicon": 1,
  "id": "computer.socialweb.cicd.process.write",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "socialweb-guest-agent writes to a running job's stdin and can close it. Served only on the agent's shell unix socket (/run/socialweb-guest-agent/shell.sock, root 0600), with no auth beyond the socket; the same tool the agent's /mcp server offers as write.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": [
            "id",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "description": "The job id from start."
            },
            "data": {
              "type": "string",
              "description": "The text to write; may be empty, e.g. to only close."
            },
            "close": {
              "type": "boolean",
              "description": "Close the job's stdin after the write."
            }
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "description": "An empty object.",
          "properties": {}
        }
      },
      "errors": [
        {
          "name": "InvalidRequest",
          "description": "405: not a POST; 413: the body is over 8 MiB; 400: the arguments are not valid, data is missing, there is no job with that id, the job is done, or the write did not complete within 30 s."
        }
      ]
    }
  }
}