CodeBridge banner
Chenkeliang Chenkeliang

CodeBridge

Development community

Description

自托管多通道 ACP 网关:从飞书或 Telegram 远程驱动本机 Cursor、Claude Code、Codex,支持会话恢复、流式回复与本地权限控制。

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

AGNET · CodeBridge

CodeBridge

Self-hosted, multi-channel [Agent Client Protocol (ACP)](https://agentclientprotocol.com) gateway for coding agents.

Control local **Cursor**, **Claude Code**, **Codex**, and optionally **Pi** from Feishu or Telegram while your source code, Git credentials, MCP tools, and agent sessions stay on your own Mac/Linux host.

[简体中文](README.zh-CN.md)

What it does

Feishu WebSocket ─┐
                  ├─ Bridge ── authenticated HTTP/SSE + token ── Runner ── ACP agents ── local files
Telegram polling ─┘
Component Responsibility
Bridge Channel connections, access policy, slash commands, session routing, and reply presentation
Runner Host-side ACP sessions, agent processes, file/Git access, and permission handling
Agent adapters Cursor, Claude Code, and Codex ACP adapters plus the native Pi Node SDK adapter

The Bridge and Runner are intentionally separate: the Bridge can be remote or containerized, but the Runner stays next to the CLIs and files it needs to access.

Highlights

  • Feishu long connection with streaming cards and optional custom menu
  • Telegram Bot API long polling, including a native command menu
  • Scoped native mentions on Feishu and Telegram for the requester or participants explicitly mentioned in a task
  • One ACP path for cursor, claude, and codex; the legacy direct-CLI transport is gone
  • Resume local sessions with /resume, /resume last, or /resume all
  • Live adapter capabilities through /model, /effort, /permission, and /config
  • Named workspaces, additional directories, /clone, /pull, and file delivery
  • macOS TCC-aware /root add flow with an immediate “waiting for system permission” s