{
  "displayName": "飛書",
  "description": "在飛書對話和群組中使用 nanobot。",
  "requirements": "飛書應用程式憑證、事件訂閱和閘道",
  "setup": {
    "primaryAction": "連接飛書",
    "docsLabel": "開啟飛書設定指南",
    "officialLabel": "開啟飛書開發者後台",
    "tryIt": "向飛書助手傳送私訊，或在群組中提及它。",
    "summary": "連接流程會透過二維碼建立或關聯飛書應用程式，並自動為 nanobot 儲存應用程式憑證。",
    "steps": [
      "點擊連接，用手機飛書或 Lark 掃描二維碼。",
      "批准應用程式連接，nanobot 會自動儲存 App ID 和 Secret。",
      "向機器人傳送私訊，或在飛書群組中提及它以完成測試。"
    ],
    "fields": {
      "appId": {
        "label": "App ID",
        "placeholder": "cli_xxx"
      },
      "appSecret": {
        "label": "App Secret",
        "placeholder": "留空以保留現有密鑰",
        "help": "僅在輪換憑證時貼上新的 App Secret。"
      },
      "domain": {
        "label": "區域",
        "choices": {
          "feishu": "飛書",
          "lark": "Lark"
        }
      },
      "groupPolicy": {
        "label": "群組行為",
        "choices": {
          "mention": "僅提及時",
          "open": "所有訊息",
          "allowlist": "允許清單"
        }
      },
      "allowFrom": {
        "label": "允許的使用者",
        "placeholder": "使用者 ID，以逗號分隔"
      },
      "topicIsolation": {
        "label": "主題隔離",
        "choices": {
          "true": "每個主題使用獨立工作階段",
          "false": "群組共用一個工作階段"
        }
      }
    }
  },
  "custom": {
    "toggleAssistant": "{{name}} 助手",
    "configured": "已連接",
    "needsSetup": "需要授權",
    "noAppId": "沒有 App ID",
    "createAnother": "建立另一個助手",
    "createHint": "為其他團隊、空間或工作流程建立獨立的飛書機器人。",
    "createAssistant": "建立助手",
    "reconnect": "重新連線",
    "countNone": "尚未連接助手",
    "countOne": "已連接 1 個助手",
    "countMany": "已連接 {{count}} 個助手",
    "qrAlt": "飛書連線 QR Code",
    "scanTitle": "使用飛書掃描",
    "scanDescription": "請使用手機上的飛書或 Lark 掃描此 QR Code。完成授權後，nanobot 會自動完成設定。",
    "waiting": "正在等待授權…",
    "connected": "飛書已連線。",
    "stopped": "連線已停止。",
    "connecting": "正在連線…"
  }
}
