{
  "description": "通过 Signal 消息使用 nanobot。",
  "requirements": "signal-cli HTTP 服务、电话号码和白名单",
  "setup": {
    "docsLabel": "打开 Signal 配置指南",
    "officialLabel": "打开 signal-cli 指南",
    "tryIt": "向已关联的电话号码发送一条 Signal 私信。",
    "summary": "Signal 通过已关联 Signal 电话号码的 signal-cli HTTP 服务连接。",
    "steps": [
      "安装 signal-cli-rest-api，并关联或注册一个 Signal 号码。",
      "填写服务主机、端口和已关联的电话号码。",
      "保存并启用 Signal，然后发送一条私信测试。"
    ],
    "fields": {
      "phoneNumber": {
        "label": "电话号码",
        "placeholder": "+1234567890",
        "help": "使用在 signal-cli 中注册的 Signal 号码。"
      },
      "daemonHost": {
        "label": "服务主机",
        "placeholder": "localhost"
      },
      "daemonPort": {
        "label": "服务端口",
        "placeholder": "8080"
      },
      "dm_allowFrom": {
        "label": "允许的私信",
        "placeholder": "电话号码或 UUID"
      },
      "group_allowFrom": {
        "label": "允许的群组",
        "placeholder": "群组 ID"
      }
    }
  }
}
