anomalyco / anomalyco/opencode

[FEATURE]: Add V2 project metadata update API

Open
#42,906 0 comments 0 reactions 1 assignee View on GitHub

@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, and commands fields
  • Omitted fields preserved and empty strings treated as clearing a value
  • The complete updated Project.Info returned
  • A typed 404 response for unknown projects
  • A public ephemeral project.updated event 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.