feat: desktop-agent für windows, macos und linux
Go-Programm lc-agent: sendet neu kopierten Text als Clip ins Projekt "Zwischenablage" und übernimmt eigene Clips anderer Geräte live in die Zwischenablage. Von Passwort-Managern markierte Inhalte werden nie gesendet; Größengrenze, Ausschlussmuster, nur die letzten 50 eigenen Clips. Wiederholt beim Start, bis der Server erreichbar ist; beendet sich bei widerrufenem Token mit Exit-Code 3. Build für alle Plattformen per build.sh im Container, Autostart-Vorlagen für alle drei Systeme. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
db700fd003
commit
4aebac5336
23 files changed
+1894
-1
No files matched your search
@@ -0,0 +1,16 @@
|
||||
// Package clipboard reads and writes the system clipboard (text only) and detects
|
||||
// content that password managers mark as secret.
|
||||
package clipboard
|
||||
|
||||
// Content is the current clipboard text. Concealed is set when a password manager
|
||||
// marked it as secret; the text is then left empty and must never be sent anywhere.
|
||||
type Content struct {
|
||||
Text string
|
||||
Concealed bool
|
||||
}
|
||||
|
||||
// Clipboard is implemented per operating system (see New in the *_<os>.go files).
|
||||
type Clipboard interface {
|
||||
Read() (Content, error)
|
||||
Write(text string) error
|
||||
}
|
||||
Reference in new issue
Block a user