From b0688c8819da1b7fcb4a97b6ec1fa58050e4841e Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Mon, 23 Mar 2026 06:50:43 +0000 Subject: feat: complete Agent Context API Phase 2 & 3 (Write/Create/Management) - Implement write operations (complete, uncomplete, update due date, update task) - Implement create operations (create task, add shopping item) - Add Trusted Agents management UI in Settings with revocation support - Fix SQLite timestamp scanning bug for completed tasks - Add comprehensive unit tests for all new agent endpoints - Update worklog and feature documentation --- web/templates/index.html | 36 ++++++++++++------------------------ web/templates/settings.html | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 24 deletions(-) (limited to 'web') diff --git a/web/templates/index.html b/web/templates/index.html index aabe7ff..465e612 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -60,43 +60,31 @@ hx-get="/tabs/timeline" hx-target="#tab-content" hx-push-url="?tab=timeline" - onclick="setActiveTab(this)"> - 🗓️ Timeline - - - - - 🌋 Conditions + 🌋 + + diff --git a/web/templates/settings.html b/web/templates/settings.html index ca1d268..ef969ee 100644 --- a/web/templates/settings.html +++ b/web/templates/settings.html @@ -167,6 +167,44 @@ {{end}} + +
+

Trusted Agents

+
+ {{if .Agents}} + {{range .Agents}} +
+
+
+ {{.Name}} + {{if not .Trusted}}Revoked{{end}} +
+
{{.AgentID}}
+
+ Last seen: {{if .LastSeen}}{{.LastSeen.Format "Jan 02, 15:04"}}{{else}}Never{{end}} +
+
+
+ {{if .Trusted}} + + {{else}} +
Access Revoked
+ {{end}} +
+
+ {{end}} + {{else}} +
No agents have requested access yet.
+ {{end}} +
+
+
-- cgit v1.2.3