From 63c5e2cf7b781a26674138e394e140d183d239ba Mon Sep 17 00:00:00 2001 From: 35C4n0r Date: Wed, 4 Feb 2026 15:46:43 +0000 Subject: [PATCH] chore: improve doc --- registry/coder/modules/agentapi/README.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/registry/coder/modules/agentapi/README.md b/registry/coder/modules/agentapi/README.md index 88338939..3870af74 100644 --- a/registry/coder/modules/agentapi/README.md +++ b/registry/coder/modules/agentapi/README.md @@ -73,24 +73,17 @@ For a complete example of how to use this module, see the [Goose module](https:/ ### Start script behavior -The `start_script` should write the agent command to `$module_path/agent-command.sh` instead of starting the AgentAPI server directly. The module will start the server using: - -```bash -agentapi server --type ./agent-command.sh < type > --term-width < width > --term-height < height > -- -``` +The `start_script` should write the agent command to `$module_path/agent-command.sh` instead of starting the AgentAPI server directly. Example start script: ```bash #!/bin/bash -# Hardcode your module's path module_path="$HOME/.my-module" -cat > "$module_path/agent-command.sh" << 'EOF' +cat > "$module_path/agent-command.sh" << EOF #!/bin/bash my-agent-command --my-agent-flags -# OR -boundary my-agent-command --my-agent-flags EOF chmod +x "$module_path/agent-command.sh"