feat(amp): add root-level /threads routes for CLI compatibility

This commit is contained in:
hkfires
2025-12-05 10:46:01 +08:00
parent 89d68962b1
commit acdfb3bceb
2 changed files with 2 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ func TestRegisterManagementRoutes(t *testing.T) {
{"/api/meta", http.MethodGet},
{"/api/telemetry", http.MethodGet},
{"/api/threads", http.MethodGet},
{"/threads/", http.MethodGet},
{"/threads.rss", http.MethodGet}, // Root-level route (no /api prefix)
{"/api/otel", http.MethodGet},
{"/api/tab", http.MethodGet},