{
  "version": 1,
  "newSession": [
    {
      "id": "plan-next-week",
      "label": "Plan next week's posts",
      "icon": "calendar",
      "prompt": "Draft the posts for the week of {{week}} across {{channels}}, in a {{tone}} voice, into content/plan.json (status draft). Then tell me to open Outbox; when I move or edit items there, reschedule the real sends to match and mark them queued.",
      "inputs": {
        "week":     { "kind": "date", "label": "the week" },
        "channels": {
          "kind": "choice",
          "label": "the channels",
          "multiple": true,
          "options": [
            { "value": "X", "label": "X" },
            { "value": "LinkedIn" },
            { "value": "Instagram" },
            { "value": "the newsletter" }
          ],
          "default": ["X", "LinkedIn"]
        },
        "tone":     {
          "kind": "select",
          "label": "the tone",
          "options": [
            { "value": "plain and direct" },
            { "value": "warm" },
            { "value": "playful" },
            { "value": "matter-of-fact" }
          ],
          "default": "plain and direct"
        }
      }
    }
  ],
  "apps": [
    {
      "id": "outbox",
      "title": "Outbox",
      "icon": "calendar-time",
      "description": "See the week's planned posts per channel, move them to another day or time, and ask for changes. It never sends.",
      "entry": "app/index.html",
      "opens": ["*.json"],
      "capabilities": {
        "files": { "read": ["content/**"], "write": ["content/**"] },
        "state": true
      }
    }
  ]
}
