Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.
docs(computer): say prepareSharedTask runs under the store lock
LeoXing5d9f7123290e
diff --git a/apps/computer/local-daemon/internal/linger/context/shared_task.go b/apps/computer/local-daemon/internal/linger/context/shared_task.goindex 4091987b..f5721a0d 100644--- a/apps/computer/local-daemon/internal/linger/context/shared_task.go+++ b/apps/computer/local-daemon/internal/linger/context/shared_task.go@@ -242,7 +242,9 @@ func (s *ViewStore) sharedTaskStorage() *SharedTaskStorage {}// prepareSharedTask readies the scope's directories and reads the Room's-// current Tasks. It runs without s.mu.+// current Tasks. The caller holds s.mu through linkSharedTasks, so a Task+// created meanwhile is either listed here or links itself into this View+// once the View is ready.func (s *ViewStore) prepareSharedTask(scope SharedTaskScope) ([]string, error) {storage := s.sharedTaskStorage()if storage == nil {