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

johnandersen777.bsky.social/atlibs-mesh-agents

atirc mesh agents on socialweb.computer VMs as an atlibs module

0
0
main
92 lines · 2.3 KB Raw History
{
  "lexicon": 1,
  "id": "computer.socialweb.agents",
  "description": "The atirc mesh agents an account runs on socialweb.computer VMs. Record key: self. Read with one getRecord; never listed.",
  "defs": {
    "main": {
      "type": "record",
      "key": "literal:self",
      "record": {
        "type": "object",
        "required": [
          "agents"
        ],
        "properties": {
          "agents": {
            "type": "array",
            "maxLength": 20,
            "items": {
              "type": "ref",
              "ref": "#agent"
            }
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    },
    "agent": {
      "type": "object",
      "required": [
        "nick",
        "subhandle",
        "you",
        "shell",
        "channels",
        "createdAt"
      ],
      "properties": {
        "nick": {
          "type": "string",
          "maxLength": 23
        },
        "subhandle": {
          "type": "string",
          "maxLength": 253,
          "description": "<nick>.<handle>: its computer.socialweb.peer key."
        },
        "you": {
          "type": "string",
          "maxLength": 27,
          "description": "Your node's nick on the VM (you-<nick>); its peer key you-<nick>.<handle>."
        },
        "vm": {
          "type": "string",
          "description": "The vm-mcp id of the VM."
        },
        "shell": {
          "type": "string",
          "maxLength": 4096,
          "description": "The VM's shell URL (webrtc:/// or iroh:///)."
        },
        "channels": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 64
          }
        },
        "createdAt": {
          "type": "string",
          "format": "datetime"
        },
        "lease": {
          "type": "ref",
          "ref": "com.atproto.repo.strongRef",
          "description": "The contract-scoped market.association both peer records name."
        },
        "expires": {
          "type": "string",
          "format": "datetime",
          "description": "When the VM, and the lease, end."
        },
        "listen_port": {
          "type": "integer",
          "description": "Your node's --local-listen port on the VM (the contract's \"atirc\" tunnel)."
        }
      }
    }
  }
}