From fafe8cca7bb38882c94d47f0dfadafe818b936b6 Mon Sep 17 00:00:00 2001 From: Jay Kumar Date: Sun, 19 Apr 2026 10:31:08 +0000 Subject: [PATCH] =?UTF-8?q?fix(agentapi):=20update=20README=20for=20module?= =?UTF-8?q?=5Fdir=5Fname=20=E2=86=92=20module=5Fdirectory=20rename?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace module_dir_name with module_directory in example snippet. - Remove deleted variables (pre_install_script, post_install_script, start_script, install_script) from example. - Update state persistence docs to reference module_directory. --- registry/coder/modules/agentapi/README.md | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/registry/coder/modules/agentapi/README.md b/registry/coder/modules/agentapi/README.md index 2221f835..a2151f6c 100644 --- a/registry/coder/modules/agentapi/README.md +++ b/registry/coder/modules/agentapi/README.md @@ -26,26 +26,8 @@ module "agentapi" { web_app_display_name = "Goose" cli_app_slug = "goose-cli" cli_app_display_name = "Goose CLI" - module_dir_name = local.module_dir_name + module_directory = local.module_directory install_agentapi = var.install_agentapi - pre_install_script = var.pre_install_script - post_install_script = var.post_install_script - start_script = local.start_script - install_script = <<-EOT - #!/bin/bash - set -o errexit - set -o pipefail - - echo -n '${base64encode(local.install_script)}' | base64 -d > /tmp/install.sh - chmod +x /tmp/install.sh - - ARG_PROVIDER='${var.goose_provider}' \ - ARG_MODEL='${var.goose_model}' \ - ARG_GOOSE_CONFIG="$(echo -n '${base64encode(local.combined_extensions)}' | base64 -d)" \ - ARG_INSTALL='${var.install_goose}' \ - ARG_GOOSE_VERSION='${var.goose_version}' \ - /tmp/install.sh - EOT } ``` @@ -67,7 +49,7 @@ module "agentapi" { AgentAPI can save and restore conversation state across workspace restarts. This is disabled by default and requires agentapi binary >= v0.12.0. -State and PID files are stored in `$HOME//` alongside other module files (e.g. `$HOME/.claude-module/agentapi-state.json`). +State and PID files are stored in the `module_directory` alongside other module files (e.g. `$HOME/.coder-modules/coder/claude-code/agentapi-state.json`). To enable: