feat(docs, api): Add Projects Discovery API, deploymentcenter project seed, public web docs endpoint, and minimal agent prompt template

This commit is contained in:
Deploymentcenter Bot
2026-08-07 10:24:30 +02:00
parent c437bdee6f
commit a21536f495
11 changed files with 578 additions and 1 deletions
+9
View File
@@ -417,4 +417,13 @@ class BugRepo
return $stats;
}
/**
* Get list of all monitored projects.
*/
public function getProjects(): array
{
$stmt = $this->db->query('SELECT id, slug, name, notes, default_cache_ttl_hours FROM dc_projects ORDER BY name ASC');
return $stmt->fetchAll() ?: [];
}
}