feat: persist device offline lifecycle

This commit is contained in:
kyaring
2026-09-30 13:17:19 +08:00
committed by kory
parent bb6a446cad
commit 723d7345a6
9 changed files with 314 additions and 82 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ func main() {
s := &api.Server{
Auth: authManager,
Exec: executor.Local{MaxOutput: 1024 * 1024},
Cluster: func() *cluster.Manager { m := cluster.NewManager(clusterSecret); m.SetStore(store); return m }(),
Cluster: cluster.NewManager(clusterSecret, store),
Store: store,
LocalName: local,
}