Add clipboard monitoring functionality to the agent. Implement clipboard event logging, including text and image capture, with support for retention policies. Update API to allow file deletion and enhance web interface for file management. Add tests for clipboard operations.

This commit is contained in:
2026-08-28 13:08:14 +03:00
parent fe560c6a65
commit 077d9ab850
13 changed files with 695 additions and 5 deletions
+10
View File
@@ -0,0 +1,10 @@
package clipmon
import "time"
type Event struct {
Time time.Time
Kind string // "text" or "image"
Text string
ImagePath string // relative to clipboard dir, e.g. images/abc.png
}