{
  "description": "Use nanobot from Feishu chats and groups.",
  "requirements": "Feishu app credentials, event subscription, gateway",
  "setup": {
    "primaryAction": "Connect with Feishu",
    "docsLabel": "Open Feishu setup",
    "officialLabel": "Open Feishu console",
    "tryIt": "Send a DM or mention the Feishu assistant in a group.",
    "summary": "Connect creates or links a Feishu app by QR code, then saves the app credentials for nanobot.",
    "steps": [
      "Click Connect and scan the QR code with Feishu or Lark on your phone.",
      "Approve the app connection. nanobot saves the App ID and Secret automatically.",
      "Send the bot a direct message or mention it in a Feishu group to test it."
    ],
    "fields": {
      "appId": {
        "label": "App ID",
        "placeholder": "cli_xxx"
      },
      "appSecret": {
        "label": "App Secret",
        "placeholder": "Leave blank to keep current secret",
        "help": "Paste a new App Secret only when rotating credentials."
      },
      "domain": {
        "label": "Region",
        "choices": {
          "feishu": "Feishu",
          "lark": "Lark"
        }
      },
      "groupPolicy": {
        "label": "Group behavior",
        "choices": {
          "mention": "Mention only",
          "open": "All messages",
          "allowlist": "Allowlist"
        }
      },
      "allowFrom": {
        "label": "Allowed users",
        "placeholder": "User IDs, comma separated"
      },
      "topicIsolation": {
        "label": "Topic isolation",
        "choices": {
          "true": "Separate session for each topic",
          "false": "One shared session for the group"
        }
      }
    }
  },
  "custom": {
    "toggleAssistant": "{{name}} assistant",
    "configured": "Connected",
    "needsSetup": "Needs authorization",
    "noAppId": "No App ID",
    "createAnother": "Create another assistant",
    "createHint": "Create a separate Feishu bot for another team, space, or workflow.",
    "createAssistant": "Create assistant",
    "reconnect": "Reconnect",
    "countNone": "No assistant connected",
    "countOne": "1 assistant connected",
    "countMany": "{{count}} assistants connected",
    "qrAlt": "Feishu connection QR code",
    "scanTitle": "Scan with Feishu",
    "scanDescription": "Use Feishu or Lark on your phone to scan this code. nanobot will finish setup automatically after authorization.",
    "waiting": "Waiting for authorization...",
    "connected": "Feishu is connected.",
    "stopped": "Connection stopped.",
    "connecting": "Connecting..."
  }
}
