~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/atlibs-socialweb-computer-requester

socialweb.computer market requester and policy modules for atlibs, with its web pages and lexicons

0
0
64 lines · 1.6 KB Raw History
{
  "lexicon": 1,
  "id": "computer.socialweb.cicd.process.read",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "A job's output (stdout and stderr together) from cursor; waitMs long-polls.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": [
            "url",
            "id"
          ],
          "properties": {
            "url": {
              "type": "string",
              "description": "Where the machine is reached: iroh:///<ref>/shell/... or webrtc:///<ref>/shell/..."
            },
            "id": {
              "type": "string"
            },
            "cursor": {
              "type": "integer",
              "description": "Byte offset."
            },
            "maxBytes": {
              "type": "integer"
            },
            "waitMs": {
              "type": "integer",
              "description": "At most 30000."
            }
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "properties": {
            "output": {
              "type": "string"
            },
            "cursor": {
              "type": "integer"
            },
            "done": {
              "type": "boolean",
              "description": "Exited and read to its end."
            },
            "exitCode": {
              "type": "integer"
            },
            "dropped": {
              "type": "integer"
            }
          }
        }
      }
    }
  }
}