Skip to content

Releases

v1.1.0 — Security Guard, Cross-Topic Sessions & Panel UX

Choose a tag to compare

@handais handais released this 27 Nov 06:58

Feishu Remote (飞书远程控制) v1.1.0

✨ Added / 新增

  • 高危命令飞书卡片审批 (/guard on|off) & 安全加固
    • Added PreToolUse hook approval (pre-tool-approval.mjs) for high-risk shell commands via interactive Feishu cards with configurable timeout and fail-closed defaults.
    • Hardened security across MCP target allowlists, Fail-Closed operator checks when allowedOpenIds is empty, sensitive path/diff filtering, bridge child stop/restart guards, and symlink path deduplication.
  • 新版分组控制面板 & 本地技能入口
    • Redesigned the Control Panel into clear sections with dynamic ⭐ 常用操作 (top-4 recency-weighted frequent actions) and a dedicated 🛠️ 设置 sub-page (guard_toggle, desktop notify mode, scope check, safe_restart, rollback snapshots, and reset frequent actions).
    • Added / / /skills command & local Skills browser (menu_commands) with one-tap /compact and /agy <raw> passthrough.
  • 跨话题 / 跨窗口「最近会话」聚合 (collectFeishuSessions)
    • /sessions [all|here] aggregates recent sessions across private chats and topic threads with source tags ([本话题] / [本窗口] / [私聊] / [话题]), remembers the active view scope, and syncs working directory (cwd) automatically on cross-chat /use.
  • 守护进程日志本地时间戳
    • Added local wall-clock timestamps (YYYY-MM-DD HH:mm:ss.SSS±HH:MM) to all bridge-daemon logs and unified lark-event stderr logging.
  • 模块化重构 & 自动化单测
    • Modularized card/action handlers (scripts/lib/actions/*.mjs) and added 38 automated unit tests (tests/*.test.mjs).

🔧 Changed & Fixed / 优化与修复

  • Shortened Control Panel button labels for mobile ergonomics: 浏览目录 → 切换目录, 系统与设置 → 设置, ⚡ 临时全权30m → ⚡ 30m全权 (active: ⚡ 全权剩XXm), 命令与技能 → 命令.
  • Clarified Windows paths and platform test status (macOS verified vs Linux/Windows CI smoke-tested), refined AI quickstart SOP ordering, and acknowledged LINUX DO community.
  • Fixed Node 22 withTimeout timer ref, macOS Homebrew Cellar prefix matching, and cli.mjs check preflight cwd.

🚀 Install & Upgrade / 安装与升级

  • Recommended / 推荐方式(无需手动下载 zip):直接把仓库链接 https://github.com/handais/antigravity-feishu-remote 发给 Antigravity,让 AI 按 README.md 自动完成安装或升级、装依赖与飞书配置。
  • Existing Git users / 已克隆用户升级:
    cd ~/.gemini/config/plugins/feishu-remote && git pull && npm install --omit=dev
    然后在飞书发送 /reload(或点击面板 ♻️ 安全重启)即可生效。
  • Zip fallback / 无 Git 或离线安装兜底:下载下方 feishu-remote-v1.1.0.zip 解压到 ~/.gemini/config/plugins/(注意不要套娃成 feishu-remote/feishu-remote/plugin.json),运行 npm install --omit=dev,再让 Antigravity 帮你配置启动(或运行 node scripts/cli.mjs setup 与 start)。

v1.0.0 — Feishu Remote Control for Antigravity

Choose a tag to compare

@handais handais released this 25 Nov 10:58

Feishu Remote (飞书远程控制) v1.0.0

Control your local Antigravity CLI / IDE directly from Feishu / Lark (mobile or desktop) over a WebSocket long connection — no public IP, reverse proxy, or webhook server required.

✨ Highlights / 核心亮点

  • WebSocket Long-Connection Bridge: Cross-platform background daemon supporting macOS (launchd), Linux (systemd --user), and native Windows / WSL2.
  • CardKit 2.0 Typewriter Streaming & Topic Groups: Real-time streaming updates, inline tool status/timing, smart code-block chunking, and per-thread (chatId#threadRootId) parallel Topic Group sessions.
  • Interactive Control Panel & Slash Commands: /panel, /dirs (with hidden dir toggle), /quick, /git, /scopes, /queue, /mode full 30m (temporary full-permission auto-revert), /model, /effort, /timeout, /reload, /snapshot & /rollback.
  • Desktop-to-Phone Handoff & Stop Hook: /desktop read-only search & dual-track session takeover (with latest assistant reply handoff), plus automatic completion alerts when you're away (--notify-mode away).
  • Feishu Cloud Docs & Task v2: Read/create/append Feishu Docx & Wiki (/doc, feishu_read_doc, feishu_write_doc), plus Feishu Task v2 management via User OAuth with offline_access auto-refresh (/tasks, cli.mjs auth, feishu_*_task MCP tools).
  • MCP Server (feishu-remote-tools) & Multimodal Support: Proactive cards/messages/files from Desktop Antigravity, plus inbound image, file, audio, and Feishu todo card parsing.
  • Strict Secret Isolation: Personal appSecret, allowedOpenIds, and OAuth tokens live strictly in ~/.config/antigravity-feishu/ (0600), never inside the plugin folder or packaged archives.

📦 Quick Install / 快速安装

# Option A: Install via Antigravity CLI
agy plugin install https://github.com/handais/antigravity-feishu-remote
cd ~/.gemini/config/plugins/feishu-remote && npm install --omit=dev

# Option B: Unpack the attached feishu-remote-v1.0.0.zip into ~/.gemini/config/plugins/feishu-remote
cd ~/.gemini/config/plugins/feishu-remote && npm install --omit=dev

Then configure & start:

node ~/.gemini/config/plugins/feishu-remote/scripts/cli.mjs setup --app-id "<APP_ID>" --app-secret "<APP_SECRET>"
node ~/.gemini/config/plugins/feishu-remote/scripts/cli.mjs start