garden.engram.agents.presence

hailey.at

Documentation

Which run of the agent is active, on which device, until when. A runtime acts as the agent only while its run holds an unexpired lease. The one record in a workspace that is updated in place; nothing cites it.

main record

Which run of the agent is active, on which device, until when. A runtime acts as the agent only while its run holds an unexpired lease. The one record in a workspace that is updated in place; nothing cites it.

Record Key literal:self Fixed literal value

Properties

device string Required

No description available.

maxLength: 256 bytes
handoffFrom ref #runRef Optional

The run this one is taking over from. The new run acts once that run writes a garden.engram.agents.handoff record for it, or that run's lease ends.

leaseUntil string datetime Required

An RFC 3339 formatted timestamp.

run string tid Required

A timestamp-based identifier (TID).

updatedAt string datetime Required

An RFC 3339 formatted timestamp.

View raw schema
{
  "description": "Which run of the agent is active, on which device, until when. A runtime acts as the agent only while its run holds an unexpired lease. The one record in a workspace that is updated in place; nothing cites it.",
  "key": "literal:self",
  "record": {
    "properties": {
      "device": {
        "maxLength": 256,
        "type": "string"
      },
      "handoffFrom": {
        "description": "The run this one is taking over from. The new run acts once that run writes a garden.engram.agents.handoff record for it, or that run's lease ends.",
        "ref": "#runRef",
        "type": "ref"
      },
      "leaseUntil": {
        "format": "datetime",
        "type": "string"
      },
      "run": {
        "format": "tid",
        "type": "string"
      },
      "updatedAt": {
        "format": "datetime",
        "type": "string"
      }
    },
    "required": [
      "run",
      "device",
      "leaseUntil",
      "updatedAt"
    ],
    "type": "object"
  },
  "type": "record"
}
runRef object

No description available.

Properties

device string Required

No description available.

maxLength: 256 bytes
leaseUntil string datetime Required

An RFC 3339 formatted timestamp.

run string tid Required

A timestamp-based identifier (TID).

View raw schema
{
  "properties": {
    "device": {
      "maxLength": 256,
      "type": "string"
    },
    "leaseUntil": {
      "format": "datetime",
      "type": "string"
    },
    "run": {
      "format": "tid",
      "type": "string"
    }
  },
  "required": [
    "run",
    "device",
    "leaseUntil"
  ],
  "type": "object"
}

Lexicon Garden

@