master
Drew Owens v0.8.30: YouTube added to an account (issue #12) + Dock Bar dashboard (issue #10) d2040d7
{
  "dock_manifest": "1.2.0",
  "say": [
    "summarize my unread gmail",
    "what's on my google calendar tomorrow",
    "find the latest quote in my google drive",
    "put this week's meetings in a google sheet",
    "check my google permissions"
  ],
  "webview": {
    "title": "Google",
    "favicon": "docs/img/dock-google.svg"
  },
  "health": {
    "url": "/api/status",
    "poll_seconds": 15,
    "timeout_ms": 2000
  },
  "launch": {
    "mode": "container_command",
    "console": "show",
    "steps": [
      {
        "label": "Installing or updating Adom Google",
        "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; if command -v adom-google >/dev/null 2>&1; then adom-wiki pkg update adom/adom-google || adom-wiki pkg install adom/adom-google; else adom-wiki pkg install adom/adom-google; fi'",
        "timeout_seconds": 180
      },
      {
        "label": "Starting the Google dashboard",
        "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; exec adom-google dashboard --print-url'",
        "await": "url",
        "timeout_seconds": 60
      }
    ],
    "on_ready": "navigate_placeholder",
    "ai": {
      "prompt": "Give me the guided tour of Adom Google, the Google Workspace CLI on this container. This tour only READS: do not send, draft, reply to, delete, move or label any mail; do not post or react in Google Chat; do not create, edit or share any file or event; and do not run `adom-google auth` or any `--auto-widen` command.\n\n1. Run `adom-google accounts` and `adom-google scopes`, then tell me in plain words which Google account is signed in and which services you can use for me: Gmail, Drive, Docs/Sheets/Slides, Calendar, Tasks, Contacts, Chat, the Workspace directory and YouTube. The Google dashboard tab shows the same thing.\n2. If a service I might want is missing, show me the exact widen command from the dashboard and let me decide. Never run it for me.\n3. Show me one calendar read: my next three events (`adom-google calendar list --max 3`), titles and times only.\n4. Tell me how many unread messages are in my Gmail inbox without opening any message: `adom-google api https://gmail.googleapis.com/gmail/v1/users/me/labels/INBOX`, then read messagesUnread.\n5. Ask me what I want to do next, and suggest three things I could say, such as \"summarize my unread gmail\" or \"put this week's meetings in a google sheet\".",
      "thread": "existing",
      "thread_fallback": "new",
      "submit": "staged"
    }
  }
}