feat(fran-mora/plandex): add Plandex AI coding agent module#876
Open
fran-mora wants to merge 1 commit intocoder:mainfrom
Open
feat(fran-mora/plandex): add Plandex AI coding agent module#876fran-mora wants to merge 1 commit intocoder:mainfrom
fran-mora wants to merge 1 commit intocoder:mainfrom
Conversation
Adds the fran-mora namespace and a v1 module that installs and configures the Plandex CLI in a Coder workspace. Plandex (https://plandex.ai) is an open-source CLI AI coding agent; this module fills a gap alongside the existing claude-code, aider, codex, opencode, goose, copilot, and cursor-cli modules. Module shape mirrors claude-code: - Wraps Plandex's official installer; supports pinned versions via the upstream PLANDEX_VERSION env var. - Sets API-key env vars for OpenAI, Anthropic, Google, and OpenRouter (each marked sensitive). Each coder_env resource is gated on the corresponding key being non-empty. - Optional plandex_api_host for self-hosted Plandex servers. - Optional workdir; auto-creates it if missing. - Uses coder-utils for script orchestration per AGENTS.md guidance, with module data under \$HOME/.coder-modules/fran-mora/plandex/ per the standard data layout. - Exposes the scripts output for downstream coder_script ordering via coder exp sync. v1 ships CLI install only. Full agentapi web-UI integration is deferred until upstream coder/agentapi adds a plandex type; the README documents BYO-launcher via coder_app in the meantime. Local validation: - terraform validate: pass - terraform test: 11/11 pass - bun run fmt: clean - ./readmevalidation: pass (24 contributors, 79 modules, 33 templates)
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
Adds the
fran-moranamespace and a v1plandexmodule that installs and configures the Plandex CLI in a Coder workspace. Plandex is an open-source CLI AI coding agent (Go, ~12k stars); this module fills a gap alongside the existingclaude-code,aider,codex,opencode,goose,copilot, andcursor-climodules.Module shape mirrors
claude-code:https://plandex.ai/install.sh); supports pinned versions via the upstreamPLANDEX_VERSIONenv var.sensitive). Eachcoder_envresource is gated on the corresponding key being non-empty.plandex_api_hostfor self-hosted Plandex servers.workdir; auto-creates it if missing.coder-utilsfor script orchestration perAGENTS.mdguidance, with module data under\$HOME/.coder-modules/fran-mora/plandex/per the standard data layout.scriptsoutput for downstreamcoder_scriptordering viacoder exp sync.v1 ships CLI install only. Full
agentapiweb-UI integration is deferred until upstreamcoder/agentapiadds aplandextype; the README documents BYO-launcher viacoder_appin the meantime.The placeholder icon at
.icons/plandex.svgand the namespace avatar are intentionally simple — happy to swap for an official asset if you have a preferred source.Test plan
terraform validate(from module dir) — passterraform test -verbose— 11/11 pass (defaults, workdir trim, version pinning, install toggle, individual + multiple provider keys creating expectedcoder_envresources, self-hosted host, custom scripts, custom icon)bun run fmt— clean (no diff produced)go build ./cmd/readmevalidation && ./readmevalidation— pass (24 contributor profiles, 79 modules, 33 templates all valid)git diff --statreviewed — only the 7 new files; no stray edits to existing codeDescription of AI Usage
I used Claude Code to scaffold this module against the existing
claude-codetemplate, adapt it for Plandex's installer shape, write the test cases, and verify locally. All review comments are mine to address.