chore(claude-code)!: strip boundary, agentapi, tasks, tools#861
Open
chore(claude-code)!: strip boundary, agentapi, tasks, tools#861
Conversation
bd6ed01 to
92718d5
Compare
- Remove boundary variables and install logic. - Drop agentapi module; orchestrate scripts through coder-utils instead. - Remove start-script-only variables not shared with install (resume_session_id, continue, ai_prompt, dangerously_skip_permissions). - Remove allowed_tools and disallowed_tools. - Remove report_tasks, system_prompt, claude_md_path, and coder exp mcp / coder_report_task wiring. - Rename claude_api_key to anthropic_api_key (ANTHROPIC_API_KEY) and claude_code_oauth_token to anthropic_auth_token (ANTHROPIC_AUTH_TOKEN).
92718d5 to
42ff02a
Compare
The npm installation path has been deprecated in the README for a while. Since this release is already a major breaking change, remove the variable entirely rather than shipping deprecated surface across another cycle. The module now always uses the official claude.ai/install.sh installer.
workdir no longer controls where Claude runs. Rewrite the description to reflect its actual role: pre-creating the directory, scoping MCP server registration, and pre-accepting the trust/onboarding prompts in ~/.claude.json. Also remove the unused workdir_normalized local in install.sh.
This was referenced Apr 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reduces
claude-codeto a minimal install-and-configure module for the Claude CLI. Boundary, agentapi, task reporting, session tracking, tool allow/deny, and start orchestration move out. Script execution is delegated tocoder-utilsv1.1.0. Starting Claude is now the caller's responsibility (template command, IDE launcher, or a customcoder_script).Changes
scripts/start.sh. The module no longer launches Claude.agentapisub-module withcoder-utils(pinned torelease/coder/coder-utils/v1.1.0) for install/pre/post script orchestration.scripts/install.sh.scripts/install.sh. The module now always uses the officialclaude.ai/install.shinstaller.report_tasks,system_prompt,claude_md_path,allowed_tools,disallowed_tools,enable_boundary,boundary_version,compile_boundary_from_source,use_boundary_directly,order,group,web_app,cli_app,web_app_display_name,cli_app_display_name,install_agentapi,agentapi_version,ai_prompt,subdomain,resume_session_id,continue,dangerously_skip_permissions,enable_state_persistence,permission_mode,install_via_npm.claude_api_key→anthropic_api_key(envANTHROPIC_API_KEY).enable_aibridge→enable_ai_gateway.ANTHROPIC_AUTH_TOKEN(notANTHROPIC_API_KEY) to the workspace owner's Coder session token, matching the AI Gateway centralized API key flow.configure_standalone_modeinscripts/install.shto also recognizeCLAUDE_CODE_OAUTH_TOKENso OAuth-only users get the onboarding bypass.scriptsoutput (pass-through fromcoder-utils) so upstream modules can serialize theircoder_scriptresources behind this module's install pipeline viacoder exp sync want.task_app_idoutput.$HOME/.coder-modules/coder/claude-code/(was$HOME/.claude-module/).5.0.0.Breaking Changes
claude_api_keyanthropic_api_keyenable_aibridgeenable_ai_gatewayANTHROPIC_API_KEYto session tokenANTHROPIC_AUTH_TOKENto session tokenmodule.claude-code.task_app_idcoder_appcreated)permission_modeinstall_via_npmai_prompt,system_prompt,allowed_tools,disallowed_tools,report_tasks, session/continue vars, Boundary vars, agentapi vars,web_app/cli_appvars,order/group,enable_state_persistence$HOME/.claude-module/*.log$HOME/.coder-modules/coder/claude-code/*.logCallers depending on any of the above must migrate. The module no longer starts Claude, provide your own
coder_scriptor template command if you want it to launch automatically.Validation
terraform fmt -recursivecleanterraform validatecleanterraform test→ 13/13 passbun test registry/coder/modules/claude-code→ 12/12 passshellcheck --severity=warningcleanprettier --checkclean