Minimal local AI listener for the configured lark-cli bot.
The listener subscribes to Feishu IM events, sends text messages to the OpenAI Responses API, then replies in Feishu.
The vote sync script keeps the Bitable voting table and candidate table in sync, so vote counts update automatically after a form submission lands.
Create .env:
OPENAI_API_KEY=sk-your-key-here
OPENAI_MODEL=gpt-5
BOT_SYSTEM_PROMPT=你是一个在飞书里和用户对话的 AI 助手。回答要简洁、有帮助,默认使用中文。npm run botWhen the bot receives an im.message.receive_v1 event, it replies with an AI
answer.
For the Feishu vote sync loop:
npm run vote-syncCurrent voting entry is limited to 4.13-4.17,每人5个, and the main
overview view is 4.13-4.17 产品清单.
OPENAI_MODEL=gpt-5 npm run botStop it with Ctrl+C.