anomalyco / anomalyco/opencode
[FEATURE]: Add V2 project metadata update API
Open
@nexxeln is already working on this.
Since Aug 16, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Feature hasn't been suggested before.
- I searched existing issues and did not find an issue requesting this V2 API.
Describe the enhancement you want to request
The V2 project API currently supports listing projects and resolving the current project, but it cannot update metadata already stored on Project.Info, such as the project name, icon, color, or startup command.
This leaves project editing unavailable to V2 clients after the V1 compatibility API was removed.
I propose adding:
PATCH /api/project/:projectID- Optional
name,icon, andcommandsfields - Omitted fields preserved and empty strings treated as clearing a value
- The complete updated
Project.Inforeturned - A typed 404 response for unknown projects
- A public ephemeral
project.updatedevent containing the complete project
The project database and schema already contain these metadata fields. Client UI integration can remain separate from the API change.
Related prior API work: #38443
Current implementation: #42904
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.