Cotton code
40 lines · 1.2 KB · JSONRaw
{  "views": [    {      "id": "agents",      "label": "Agents",      "visibility": "owner",      "is_default": true,      "read": {        "table": "session",        "empty": {          "line": "empty_views.messages.agents",          "table": true        }      },      "sort": {        "column": "active_at",        "descending": true      },      "face": "cards"    }  ],  "id": "agents",  "name": "Agents",  "purpose": "Your assistants' sessions: what each is working on, its project and todo, and the replies you send it.",  "picture": {    "photo": "photo:2cac6e32a9504d6cb1dbe03334e4a29f9b9e865ba6c8d67ebe83d6e8c670e353",    "object": "tool-code"  },  "card_stock": "rose",  "tables": [    "session"  ],  "instructions": "Agents is the list of the owner's assistant sessions, one session row each, as the hosts on each Mac write them: its heading and last line, its machine, branch and model, its state, the project and todo it works for. Rows are written by the hosts over MCP, never by hand; a reply to a session is sent from its card. When asked what an assistant is doing, read its row and say when it was last active.",  "automations": [],  "author": {    "device": "cotton",    "name": "Cotton"  },  "signature": null}