From b58787cfec0bd07abc316c66dc9be6c10b8113c6 Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Wed, 25 Mar 2026 05:17:35 +0000 Subject: feat: add Claudomator stories as atom source in Doot tasks tab Co-Authored-By: Claude Sonnet 4.6 --- internal/api/interfaces.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'internal/api/interfaces.go') diff --git a/internal/api/interfaces.go b/internal/api/interfaces.go index 99701a1..0bd67b6 100644 --- a/internal/api/interfaces.go +++ b/internal/api/interfaces.go @@ -52,6 +52,11 @@ type GoogleTasksAPI interface { SetTaskListID(id string) } +// ClaudomatorClient defines the interface for Claudomator operations +type ClaudomatorClient interface { + GetActiveStories(ctx context.Context) ([]models.ClaudomatorStory, error) +} + // Ensure concrete types implement interfaces var ( _ TodoistAPI = (*TodoistClient)(nil) @@ -59,4 +64,5 @@ var ( _ PlanToEatAPI = (*PlanToEatClient)(nil) _ GoogleCalendarAPI = (*GoogleCalendarClient)(nil) _ GoogleTasksAPI = (*GoogleTasksClient)(nil) + _ ClaudomatorClient = (*ClaudomatorHTTPClient)(nil) ) -- cgit v1.2.3