What to build
Daemons (called "Background Processes" in the OpenAPI spec) under /orgs/{org}/servers/{server}/background-processes/.... Independent of Sites/Deployments — can ship in parallel with #7 and the Deployments issue.
Endpoints (per docs/forge.openapi.json):
- list, create, get, update, delete background processes
POST /orgs/{org}/servers/{server}/background-processes/{backgroundProcess}/actions (start/stop/restart)
GET /orgs/{org}/servers/{server}/background-processes/{backgroundProcess}/log
Source design: see project_sdk_design.md in the project's memory.
Acceptance criteria
Blocked by
What to build
Daemons (called "Background Processes" in the OpenAPI spec) under
/orgs/{org}/servers/{server}/background-processes/.... Independent of Sites/Deployments — can ship in parallel with #7 and the Deployments issue.Endpoints (per
docs/forge.openapi.json):POST /orgs/{org}/servers/{server}/background-processes/{backgroundProcess}/actions(start/stop/restart)GET /orgs/{org}/servers/{server}/background-processes/{backgroundProcess}/logSource design: see
project_sdk_design.mdin the project's memory.Acceptance criteria
DaemonDTO (orBackgroundProcess— pick the name closer to Forge's UI parlance; Forge users say "daemon")CreateDaemonData,UpdateDaemonData,ListDaemonsOptionsinput DTOsDaemonsResourceandDaemonResource$forge->server($id)->daemons()->all()etc.$forge->server($id)->daemon($id)->restart()(or equivalent action wrapper)$forge->server($id)->daemon($id)->log(): stringreturns the raw log contentcomposer testgreenBlocked by