From 01171742a6378cd55f564421abbfc0acb0fccfea Mon Sep 17 00:00:00 2001 From: edlsh Date: Wed, 6 May 2026 13:12:35 -0400 Subject: [PATCH] fix(amp): proxy thread actors route --- internal/api/modules/amp/routes.go | 1 + internal/api/modules/amp/routes_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/internal/api/modules/amp/routes.go b/internal/api/modules/amp/routes.go index 456a50ac1..b7253c345 100644 --- a/internal/api/modules/amp/routes.go +++ b/internal/api/modules/amp/routes.go @@ -199,6 +199,7 @@ func (m *AmpModule) registerManagementRoutes(engine *gin.Engine, baseHandler *ha ampAPI.Any("/telemetry/*path", proxyHandler) ampAPI.Any("/threads", proxyHandler) ampAPI.Any("/threads/*path", proxyHandler) + ampAPI.Any("/thread-actors", proxyHandler) ampAPI.Any("/otel", proxyHandler) ampAPI.Any("/otel/*path", proxyHandler) ampAPI.Any("/tab", proxyHandler) diff --git a/internal/api/modules/amp/routes_test.go b/internal/api/modules/amp/routes_test.go index bae890aec..2308a153b 100644 --- a/internal/api/modules/amp/routes_test.go +++ b/internal/api/modules/amp/routes_test.go @@ -49,6 +49,7 @@ func TestRegisterManagementRoutes(t *testing.T) { {"/api/meta", http.MethodGet}, {"/api/telemetry", http.MethodGet}, {"/api/threads", http.MethodGet}, + {"/api/thread-actors", http.MethodPost}, {"/threads/", http.MethodGet}, {"/threads.rss", http.MethodGet}, // Root-level route (no /api prefix) {"/api/otel", http.MethodGet},