Cotton code
108 lines · 3.4 KB · JSONRaw
{  "views": [    {      "id": "recent",      "label": "Recent",      "visibility": "owner",      "is_default": true,      "read": {        "table": "meetings_meeting",        "empty": {          "line": "empty_views.meetings.recent",          "table": true        }      },      "sort": {        "column": "started_at",        "descending": true      },      "face": "meetings"    },    {      "id": "meetings",      "label": "Meetings",      "visibility": "owner",      "is_default": false,      "read": {        "table": "meetings_meeting",        "where": {          "kind": "meeting"        },        "empty": {          "line": "empty_views.meetings.meetings",          "table": true        }      },      "sort": {        "column": "started_at",        "descending": true      }    },    {      "id": "memos",      "label": "Memos",      "visibility": "owner",      "is_default": false,      "read": {        "table": "meetings_meeting",        "where": {          "kind": "memo"        },        "empty": {          "line": "empty_views.meetings.memos",          "table": true        }      },      "sort": {        "column": "started_at",        "descending": true      }    },    {      "id": "on_phone",      "label": "On this phone",      "visibility": "owner",      "is_default": false,      "read": {        "table": "meetings_meeting",        "where": {          "on_phone": [            "kept"          ]        },        "empty": {          "line": "empty_views.meetings.on_phone",          "table": true        }      },      "sort": {        "column": "started_at",        "descending": true      },      "lists_before": true    }  ],  "id": "meetings",  "name": "Meetings",  "purpose": "Record a meeting or a voice memo with one tap; the words arrive with who said them.",  "picture": {    "photo": "photo:2edc49d8f3a823b4359f5d619b12e0af2f23d1c30236c98dba621bafc51cbb97"  },  "tables": [    "meetings_meeting",    "meetings_speaker",    "meetings_line",    "meetings_action",    "todo",    "note",    "person",    "vault_key"  ],  "instructions": "Meetings is the owner's recordings: meetings and voice memos (meetings_meeting, kind meeting or memo), each with the voices in it (meetings_speaker) and its words (meetings_line, timed from the start of the recording, each with its speaker and language). Recent lists every recording, newest first; Meetings and Memos by kind; On this phone the recordings whose audio this phone still holds; lists are record groups of recordings. A recording is turned into text on the owner's Mac or on the phone while it charges, never by an outside service unless the owner turned one on. Name a speaker with meetings_speaker_name: the name holds for that meeting only. Search finds words in what was said. A meeting's summary and its actions (meetings_action, each one thing to be done, who and the day where the meeting said them) are made on the owner's Mac by a local model, or by the owner's own assistant when they ask: recordings_to_summarise lists those waiting, recording_read gives the words, recording_summary_write writes the summary and actions back (Cotton makes none itself); Add to todos makes a todo from an action. Quote what was said; never invent a line, a speaker's name, a decision or a task.",  "automations": [],  "author": {    "device": "cotton",    "name": "Cotton"  },  "signature": null}