Cotton code
18 lines · 797 B · JSONRaw
{  "id": "machines",  "name": "Machines",  "picture": {    "photo": "photo:d89f5c6c461b0d34c508c61f19091f0cd821288143a2598e0c5b8ac6e3d06e18",    "object": "tool-devices"  },  "tables": [    "machine"  ],  "instructions": "Machines is the live picture of the owner's Macs: one row per Mac with its chip, memory and disk free, load, coding sessions and when it last reported. Rows are written by the sessions and hosts on each Mac every few minutes over MCP; update the row whose name matches, never add a second one for the same Mac. When asked how a Mac is doing, read its row and say when it was sampled; a row older than fifteen minutes means the Mac has stopped reporting.\n",  "automations": [],  "author": {    "device": "cotton",    "name": "Cotton"  },  "signature": null}