Skip to content

refactor(coder/agentapi): support terraform-provider-coder v2.12.0 - #485

Merged
DanielleMaywood merged 1 commit into
mainfrom
danielle/agent-api/refactor
Oct 24, 2025
Merged

DanielleMaywood merged 1 commit into
mainfrom
danielle/agent-api/refactor

Conversation

@DanielleMaywood

@DanielleMaywood DanielleMaywood commented Oct 17, 2025 •

Copy link
Copy Markdown
Contributor

Description

In https://github.com/coder/terraform-provider-coder v2.12.0 and the up-coming https://github.com/coder/coder v2.28 we have removed the requirement for the "AI Prompt" parameter, and are intending on slightly re-designing the API of the AI task modules.

Instead of agentapi defining the coder_ai_task resource, it will output the task_app_id. Consumers of the module will then be expected to create the coder_ai_task resource themselves with this task_app_id.

Type of Change

  • New module
  • New template
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Module Information

Path: registry/coder/modules/agent-api
New version: v2.0.0
Breaking change: [x] Yes [ ] No

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun fmt)
  • Changes tested locally

Related Issues

Related PRs

In https://github.com/coder/terraform-provider-coder v2.12.0-pre0 we
have removed the requirement for the "AI Prompt" parameter, and are
intending on slightly re-designing the API of the AI task modules.

Instead of `agentapi` defining the `coder_ai_task` resource, it will
output the `task_app_id`. Consumers of the module will then be expected
to create the `coder_ai_task` resource themselves with this `task_app_id`.
@DanielleMaywood
DanielleMaywood force-pushed the danielle/agent-api/refactor branch from 4c9fab8 to 88773fe Compare October 24, 2025 10:23
@DanielleMaywood DanielleMaywood self-assigned this Oct 24, 2025
@DanielleMaywood
DanielleMaywood marked this pull request as ready for review October 24, 2025 10:25

@mtojek mtojek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stamp 👍

@johnstcn
johnstcn requested a review from matifali October 24, 2025 10:43
Comment thread registry/coder/modules/agentapi/main.tf Resolved
@DanielleMaywood
DanielleMaywood merged commit e3ff43c into main Oct 24, 2025
@DanielleMaywood
DanielleMaywood deleted the danielle/agent-api/refactor branch October 24, 2025 10:54
johnstcn added a commit that referenced this pull request Nov 3, 2025
…488)

## Description

Updates the module to use the new version of the agentapi module for the
upcoming Coder 2.28 release

## Type of Change

- [ ] New module
- [ ] New template
- [ ] Bug fix
- [x] Feature/enhancement
- [ ] Documentation
- [ ] Other

## Module Information

**Path:** `registry/coder/modules/claude-code`  
**New version:** `v4.0.0`  
**Breaking change:** [x] Yes [ ] No

## Testing & Validation

- [x] Tests pass (`bun test`)
- [x] Code formatted (`bun fmt`)
- [ ] Changes tested locally

## Related Issues

- coder/internal#1065

## Related PRs

- #485
- #497

Co-authored-by: Cian Johnston <[email protected]>
johnstcn added a commit that referenced this pull request Nov 3, 2025
## Description

Updates the module to use the new version of the agentapi module for the
upcoming Coder 2.28 release

## Type of Change

- [ ] New module
- [ ] New template
- [ ] Bug fix
- [x] Feature/enhancement
- [ ] Documentation
- [ ] Other

## Module Information

**Path:** `registry/coder/modules/goose`  
**New version:** `v1.0.0`  
**Breaking change:** [x] Yes [ ] No

## Testing & Validation

- [x] Tests pass (`bun test`)
- [x] Code formatted (`bun fmt`)
- [ ] Changes tested locally

## Related Issues

- coder/internal#1065

## Related PRs

- #485

Co-authored-by: Cian Johnston <[email protected]>
johnstcn added a commit that referenced this pull request Nov 3, 2025
## Description

Updates the module to use the new version of the agentapi module for the
upcoming Coder 2.28 release

## Type of Change

- [ ] New module
- [ ] New template
- [ ] Bug fix
- [x] Feature/enhancement
- [ ] Documentation
- [ ] Other

## Module Information

<!-- Delete this section if not applicable -->

**Path:** `registry/coder/modules/amazon-q`  
**New version:** `v3.0.0`  
**Breaking change:** [x] Yes [ ] No

## Testing & Validation

- [x] Tests pass (`bun test`)
- [x] Code formatted (`bun fmt`)
- [ ] Changes tested locally

## Related Issues

- coder/internal#1065

## Related PRs

- #485

Co-authored-by: Cian Johnston <[email protected]>
DevelopmentCats added a commit that referenced this pull request Dec 17, 2025
…12.0 (#491)

## Description

Updates the module to use the new version of the agentapi module for
Coder 2.28

## Type of Change

- [ ] New module
- [ ] New template
- [ ] Bug fix
- [x] Feature/enhancement
- [ ] Documentation
- [ ] Other

## Module Information

**Path:** `registry/coder-labs/modules/cursor-cli`  
**New version:** `v0.3.0`  
**Breaking change:** [x] Yes [ ] No

## Testing & Validation

- [x] Tests pass (`bun test`)
- [x] Code formatted (`bun fmt`)
- [ ] Changes tested locally

## Related Issues

- coder/internal#1065

## Related PRs

- #485

---------

Co-authored-by: DevCats <[email protected]>
DevelopmentCats added a commit that referenced this pull request Dec 17, 2025
#492)

## Description

Updates the module to use the new version of the agentapi module for
Coder 2.28

## Type of Change

- [ ] New module
- [ ] New template
- [ ] Bug fix
- [x] Feature/enhancement
- [ ] Documentation
- [ ] Other

## Module Information

**Path:** `registry/coder-labs/modules/copilot`  
**New version:** `v0.3.0`  
**Breaking change:** [x] Yes [ ] No

## Testing & Validation

- [x] Tests pass (`bun test`)
- [x] Code formatted (`bun fmt`)
- [ ] Changes tested locally

## Related Issues

- coder/internal#1065

## Related PRs

- #485

Co-authored-by: DevCats <[email protected]>
DevelopmentCats added a commit that referenced this pull request Dec 17, 2025
…#493)

## Description

Updates the module to use the new version of the agentapi module for
Coder 2.28

## Type of Change

- [ ] New module
- [ ] New template
- [ ] Bug fix
- [x] Feature/enhancement
- [ ] Documentation
- [ ] Other

## Module Information

**Path:** `registry/[namespace]/modules/[module-name]`  
**New version:** `v3.0.0`  
**Breaking change:** [x] Yes [ ] No

## Testing & Validation

- [x] Tests pass (`bun test`)
- [x] Code formatted (`bun fmt`)
- [ ] Changes tested locally

## Related Issues

- coder/internal#1065

## Related PRs

- #485

---------

Co-authored-by: DevCats <[email protected]>
DevelopmentCats added a commit that referenced this pull request Dec 17, 2025
…r v2.12.0 (#495)

## Description

Updates the module to use the new version of the agentapi module for
Coder 2.28

## Type of Change

- [ ] New module
- [ ] New template
- [ ] Bug fix
- [x] Feature/enhancement
- [ ] Documentation
- [ ] Other

## Module Information

**Path:** `registry/coder-labs/modules/sourcegraph-amp`  
**New version:** `v3.0.0`  
**Breaking change:** [x] Yes [ ] No

## Testing & Validation

- [x] Tests pass (`bun test`)
- [x] Code formatted (`bun fmt`)
- [ ] Changes tested locally

## Related Issues

- coder/internal#1065

## Related PRs

- #485

---------

Co-authored-by: DevCats <[email protected]>
DevelopmentCats added a commit that referenced this pull request Dec 17, 2025
…#494)

## Description

Updates the module to use the new version of the agentapi module for
Coder 2.28

## Type of Change

- [ ] New module
- [ ] New template
- [ ] Bug fix
- [x] Feature/enhancement
- [ ] Documentation
- [ ] Other

## Module Information

**Path:** `registry/coder-labs/modules/auggie`  
**New version:** `v0.3.0`  
**Breaking change:** [x] Yes [ ] No

## Testing & Validation

- [x] Tests pass (`bun test`)
- [x] Code formatted (`bun fmt`)
- [ ] Changes tested locally

## Related Issues

- coder/internal#1065

## Related PRs

- #485

Co-authored-by: DevCats <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants