mirror of
https://github.com/coder/coder.git
synced 2026-10-31 19:36:41 +08:00
## Summary AI Governance is now included with Premium licenses instead of being sold as a separate per-user add-on. This updates `docs/` to describe the new packaging, removes "Add-On" from AI Governance references, and refreshes the editions architecture diagram. ## Changes - **`docs/ai-coder/ai-governance.md`**: title is now "AI Governance"; rewrote the licensing statements (previously "a separate, per-user license... not included with a Premium subscription and must be purchased separately") to state it is included with Premium. The usage-pool section now attributes the shared Agent Workspace Build pool to Premium deployments. - **Repeated admonition (28 files under `ai-coder/agent-firewall/` and `ai-coder/ai-gateway/`)**: replaced "requires the AI Governance Add-On / as of Coder v2.32, deployments without the add-on..." with "is part of AI Governance, which is included with a Premium license." The v2.32 add-on gate no longer applies; the gate is now Premium vs. Community. - **`docs/ai-coder/index.md`, `security.md`, `tasks.md`, `usage-data-reporting.md`, `admin/licensing/index.md`, `install/releases/esr-2.29-2.34-upgrade.md`, `ai-gateway/ai-gateway-proxy/setup.md`, `ai-gateway/clients/claude-code.md`**: reworded add-on references to Premium inclusion. - **`docs/manifest.json`**: nav title "AI Governance Add-On" → "AI Governance", updated two descriptions, and swapped the 25 `"state": ["ai governance add-on"]` badges to `["premium"]` so the sidebar badge reads "Premium" instead of "AI Governance Add-On". - **`docs/images/single-region-architecture.png`**: refreshed the diagram in the **Community and Premium editions** tab on [Architecture](https://coder.com/docs/admin/infrastructure/architecture). Also deleted the unreferenced `single-region-architecture.svg` copy. ## Follow-ups outside this PR - The `"ai governance add-on"` doc-state badge is defined in `coder/coder.com` (`src/utils/docs/state.ts`). After this merges, no manifest entry uses that key, so it becomes dead config and can be removed there. - `enterprise/coderd/license/license.go:564-572` still warns admins that "The AI Governance add-on is required to use AI Gateway." That backend string will contradict these docs once shipped. ## Verification - `pnpm run lint-docs`: 0 errors across 504 files - `make lint/emdash`: clean - Vale on the changed Markdown files: 0 errors; remaining warnings are pre-existing gerund headings on untouched lines - `docs/manifest.json` validated as JSON - Confirmed the deleted SVG had no references anywhere in the repo --- PR generated with Coder Agents on behalf of @mattvollmer.
70 lines
2.3 KiB
Markdown
70 lines
2.3 KiB
Markdown
# Version Requirements
|
|
|
|
> [!NOTE]
|
|
> Agent Firewall is part of [AI Governance](../ai-governance.md), which is
|
|
> included with a Premium license.
|
|
|
|
## Recommended Versions
|
|
|
|
It's recommended to use **Coder v2.30.0 or newer** and **Claude Code module
|
|
v4.7.0 or newer**.
|
|
|
|
### Coder v2.30.0+
|
|
|
|
Since Coder v2.30.0, Agent Firewall is embedded inside the Coder binary, and
|
|
you don't need to install it separately. The `coder agent-firewall` subcommand is
|
|
available directly from the Coder CLI.
|
|
|
|
### Claude Code Module v4.7.0+
|
|
|
|
Since Claude Code module v4.7.0, the embedded `coder agent-firewall` subcommand is
|
|
used by default. This means you don't need to set `boundary_version`; the
|
|
boundary version is tied to your Coder version.
|
|
|
|
## Compatibility with Older Versions
|
|
|
|
### Using Coder Before v2.30.0 with Claude Code Module v4.7.0+
|
|
|
|
If you're using Coder before v2.30.0 with Claude Code module v4.7.0 or newer,
|
|
the `coder agent-firewall` subcommand isn't available in your Coder installation. In
|
|
this case, you need to:
|
|
|
|
1. Set `use_boundary_directly = true` in your Terraform module configuration
|
|
2. Explicitly set `boundary_version` to specify which Agent Firewall version
|
|
to install
|
|
|
|
Example configuration:
|
|
|
|
```tf
|
|
module "claude-code" {
|
|
source = "dev.registry.coder.com/coder/claude-code/coder"
|
|
version = "4.7.0"
|
|
enable_boundary = true
|
|
use_boundary_directly = true
|
|
boundary_version = "0.6.0"
|
|
}
|
|
```
|
|
|
|
### Using Claude Code Module Before v4.7.0
|
|
|
|
If you're using Claude Code module before v4.7.0, the module expects to use
|
|
Agent Firewall directly. You need to explicitly set `boundary_version` in your
|
|
Terraform configuration:
|
|
|
|
```tf
|
|
module "claude-code" {
|
|
source = "dev.registry.coder.com/coder/claude-code/coder"
|
|
version = "4.6.0"
|
|
enable_boundary = true
|
|
boundary_version = "0.6.0"
|
|
}
|
|
```
|
|
|
|
## Summary
|
|
|
|
| Coder Version | Claude Code Module Version | Configuration Required |
|
|
|---------------|----------------------------|-------------------------------------------------------|
|
|
| v2.30.0+ | v4.7.0+ | No additional configuration needed |
|
|
| < v2.30.0 | v4.7.0+ | `use_boundary_directly = true` and `boundary_version` |
|
|
| Any | < v4.7.0 | `boundary_version` |
|