{
  "description": "Use nanobot from Signal messages.",
  "requirements": "signal-cli HTTP daemon, phone number, allowlist",
  "setup": {
    "docsLabel": "Open Signal setup",
    "officialLabel": "Open signal-cli guide",
    "tryIt": "Send a Signal DM to the linked phone number.",
    "summary": "Signal connects through a signal-cli HTTP daemon that is already linked to a Signal phone number.",
    "steps": [
      "Install signal-cli-rest-api and link or register a Signal number.",
      "Enter the daemon host, port, and linked phone number.",
      "Save and enable Signal, then send a direct test message."
    ],
    "fields": {
      "phoneNumber": {
        "label": "Phone number",
        "placeholder": "+1234567890",
        "help": "Use the Signal number registered with signal-cli."
      },
      "daemonHost": {
        "label": "Daemon host",
        "placeholder": "localhost"
      },
      "daemonPort": {
        "label": "Daemon port",
        "placeholder": "8080"
      },
      "dm_allowFrom": {
        "label": "Allowed DMs",
        "placeholder": "Phone numbers or UUIDs"
      },
      "group_allowFrom": {
        "label": "Allowed groups",
        "placeholder": "Group IDs"
      }
    }
  }
}
