summaryrefslogtreecommitdiff
path: root/internal/handlers/agent.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-03-23 08:13:02 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-03-23 08:13:02 +0000
commitb2d8fc460be3105ac383098e7cdc92171e5026ec (patch)
treecd5ba3f3008e6b3310680d785880f1f32ed090c5 /internal/handlers/agent.go
parentb0688c8819da1b7fcb4a97b6ec1fa58050e4841e (diff)
feat: unify Google Tasks with main system via caching and integrated UI
- Implement SQLite caching layer for Google Tasks - Integrate Google Tasks into unified Atoms loop (showing in Tasks tab) - Update Planning tab to include cached Google Tasks - Enhance Quick Add form with Todoist project selector - Remove orphaned HandleTasksTab/HandleRefreshTab methods - Update tests to reflect new BuildTimeline signature and data structures
Diffstat (limited to 'internal/handlers/agent.go')
-rw-r--r--internal/handlers/agent.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/handlers/agent.go b/internal/handlers/agent.go
index 6d6079f..826ffd7 100644
--- a/internal/handlers/agent.go
+++ b/internal/handlers/agent.go
@@ -326,7 +326,7 @@ func (h *Handler) HandleAgentContext(w http.ResponseWriter, r *http.Request) {
// buildAgentContext builds the context timeline by reusing BuildTimeline
func (h *Handler) buildAgentContext(ctx context.Context, start, end time.Time) []agentContextItem {
// Reuse the main BuildTimeline function (excludes live API calls for Google services)
- timelineItems, err := BuildTimeline(ctx, h.store, nil, start, end)
+ timelineItems, err := BuildTimeline(ctx, h.store, start, end)
if err != nil {
return nil
}