MCPcopy Create free account
hub / github.com/GCWing/BitFun / acp_help_text

Function acp_help_text

src/apps/cli/src/acp_cli.rs:198–224  ·  view source on GitHub ↗
(command: &str)

Source from the content-addressed store, hash-verified

196}
197
198pub fn acp_help_text(command: &str) -> String {
199 format!(
200 "\
201Agent Client Protocol (ACP)\n\
202─────────────────────────────────\n\
203BitFun exposes its agent runtime as an ACP server over stdio.\n\
204BitFun CLI can also launch external ACP agents such as opencode, Claude Code, and Codex.\n\
205\n\
206Use this from an ACP-compatible editor or host:\n\
207 {command} acp\n\
208\n\
209Human-facing helper commands:\n\
210 {command} acp status\n\
211 {command} acp doctor\n\
212 {command} acp config --client zed\n\
213 {command} acp clients list\n\
214 {command} acp clients doctor\n\
215 {command} acp clients enable opencode\n\
216 {command} acp run opencode \"review this repository\"\n\
217\n\
218Notes:\n\
219- The plain `acp` command reserves stdout for JSON-RPC protocol traffic.\n\
220- Logs for the ACP server are written to stderr.\n\
221- Run the command from the project directory you want BitFun to operate on.",
222 command = command
223 )
224}
225
226pub async fn list_external_clients() -> Result<()> {
227 let service = create_client_service().await?;

Callers 1

handle_commandMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected