fuli-context 0.27.12 → 0.27.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (307) hide show
  1. package/dist/web/assets/{AboutPage-rCBygkIB.js → AboutPage-CvZpi5Th.js} +1 -1
  2. package/dist/web/assets/{AboutSectionHeading-9NIdmXAa.js → AboutSectionHeading-Di6FXshT.js} +1 -1
  3. package/dist/web/assets/{AdvancedOnly-6DkhU_Je.js → AdvancedOnly-BLALY-rN.js} +1 -1
  4. package/dist/web/assets/{AgentAppsPage-D6vL7_OL.js → AgentAppsPage-BrR-3WY9.js} +1 -1
  5. package/dist/web/assets/{AgentAvatar-BsojCvS8.js → AgentAvatar-CS2_X_mW.js} +1 -1
  6. package/dist/web/assets/{AgentHand-C1Qy4qK4.js → AgentHand-BywJYDw2.js} +1 -1
  7. package/dist/web/assets/AgentManagement-DDrgMAYI.js +7 -0
  8. package/dist/web/assets/{AgentMentionCopy-CEtFKAgg.js → AgentMentionCopy-ZniAkMbQ.js} +1 -1
  9. package/dist/web/assets/{AgentName-Bje1lsQH.js → AgentName-CKisrZC2.js} +1 -1
  10. package/dist/web/assets/{AgentProfilePage-DmI8Z06n.js → AgentProfilePage-Dcr9_tlF.js} +3 -3
  11. package/dist/web/assets/{AgentServicesPage-DUwA15Ks.js → AgentServicesPage-BFg73r5V.js} +1 -1
  12. package/dist/web/assets/{AppViewerPage-DXzDg30_.js → AppViewerPage--tIIQSNV.js} +1 -1
  13. package/dist/web/assets/{BackToTop-DBDVECCR.js → BackToTop-DjjZiioG.js} +1 -1
  14. package/dist/web/assets/{BoardCardFieldsMenu-BYJG0oGv.js → BoardCardFieldsMenu-D27GDY37.js} +1 -1
  15. package/dist/web/assets/{BoardMoveMenu-BYhS0ahr.js → BoardMoveMenu-Dsb3M1dK.js} +1 -1
  16. package/dist/web/assets/{Breadcrumb-B_hx_JqF.js → Breadcrumb-WFJpNEhB.js} +1 -1
  17. package/dist/web/assets/{CaptureChangePage-DsskYUL5.js → CaptureChangePage-CaaBLB_i.js} +1 -1
  18. package/dist/web/assets/{Collection-sGwvmjPd.js → Collection-uJeWV37V.js} +1 -1
  19. package/dist/web/assets/{CopyFixPrompt-SDaZKhRx.js → CopyFixPrompt-DjaCkxd0.js} +1 -1
  20. package/dist/web/assets/{DataFormatPage-D9rLd6Ki.js → DataFormatPage-CCMPDrgC.js} +1 -1
  21. package/dist/web/assets/{DebugTurnPage-DrmSY6U2.js → DebugTurnPage-BBH-clV8.js} +1 -1
  22. package/dist/web/assets/{DebugTurnsPage-BDHxYIih.js → DebugTurnsPage-DelWh7Gl.js} +1 -1
  23. package/dist/web/assets/{DialogTitle-BpQ780XG.js → DialogTitle-CZ6wNeO8.js} +1 -1
  24. package/dist/web/assets/{EmployeeRedirectPage-i7CjPhEB.js → EmployeeRedirectPage-DY8bphUp.js} +1 -1
  25. package/dist/web/assets/{EmployeeScopeDialog-JM23Dnrq.js → EmployeeScopeDialog-DjEBp9rf.js} +1 -1
  26. package/dist/web/assets/EmployeeWorkbench-Dw40VPwg.js +4 -0
  27. package/dist/web/assets/FieldRoot-CPiCM8E9.js +1 -0
  28. package/dist/web/assets/{FlaBlockedTasks-Cv5ucejS.js → FlaBlockedTasks-vnimgRen.js} +1 -1
  29. package/dist/web/assets/{FlaGrowth-DxqnoYeN.js → FlaGrowth-DCNV1G5D.js} +1 -1
  30. package/dist/web/assets/{FlaOccupationKit-BbeAWTyL.js → FlaOccupationKit-B4C8_w5s.js} +1 -1
  31. package/dist/web/assets/{FlaTaskSheets-Dm9Ywt3K.js → FlaTaskSheets-BMrIpP58.js} +1 -1
  32. package/dist/web/assets/{FlasPage-C0zYUHMn.js → FlasPage-CQ4bRp8t.js} +1 -1
  33. package/dist/web/assets/{GrowthLoading-De-wg3yP.js → GrowthLoading-29Mwt-3Z.js} +1 -1
  34. package/dist/web/assets/HabitDeliveryPage-DT4QnImn.js +1 -0
  35. package/dist/web/assets/{HowtoPage-lR_pLCDX.js → HowtoPage-Bc1AW-0v.js} +1 -1
  36. package/dist/web/assets/{InboxPage-DKAu4GAL.js → InboxPage-BdEisjVP.js} +1 -1
  37. package/dist/web/assets/{KnowledgeDeleteButton-BJjs5LMg.js → KnowledgeDeleteButton-DXxpjD-H.js} +1 -1
  38. package/dist/web/assets/{KnowledgeHardDeleteSection-Bx4CDirX.js → KnowledgeHardDeleteSection-BCrE6va1.js} +1 -1
  39. package/dist/web/assets/{KnowledgeItemEditPage-DDbYtph8.js → KnowledgeItemEditPage-DzG65pO2.js} +1 -1
  40. package/dist/web/assets/{KnowledgeItemSummaryCard-BvFCAK18.js → KnowledgeItemSummaryCard-BLD5mIf1.js} +1 -1
  41. package/dist/web/assets/{KnowledgeOrganizerPage-B7N-_e2N.js → KnowledgeOrganizerPage-BI9FMXNf.js} +1 -1
  42. package/dist/web/assets/KnowledgePage-C_q-mGTL.js +1 -0
  43. package/dist/web/assets/KnowledgePeek-DWnbDnck.js +1 -0
  44. package/dist/web/assets/{KnowledgeTurnReceiptPage-DAAJdXN3.js → KnowledgeTurnReceiptPage-CA1bzDp8.js} +1 -1
  45. package/dist/web/assets/{KnowledgeWorkspace-BZW8StPV.js → KnowledgeWorkspace-DSCYx13A.js} +1 -1
  46. package/dist/web/assets/{MeAvatar-BqWtrxCJ.js → MeAvatar-B3uGt3b2.js} +1 -1
  47. package/dist/web/assets/{MeLink-C3sgEjgl.js → MeLink-Ded2bH1O.js} +1 -1
  48. package/dist/web/assets/{MenuSeparator-BfYGaUJR.js → MenuSeparator-BV-ueXXc.js} +1 -1
  49. package/dist/web/assets/{ModelSettingsPage-B-8eO4aD.css → ModelSettingsPage-Dqh9kIgt.css} +1 -1
  50. package/dist/web/assets/ModelSettingsPage-IIamekiP.js +1 -0
  51. package/dist/web/assets/{NewSessionPanel-DJ9SobAJ.js → NewSessionPanel-tdt9DWIK.js} +1 -1
  52. package/dist/web/assets/{NotFoundPage-DIMzEn0Y.js → NotFoundPage-sEk3AZBp.js} +1 -1
  53. package/dist/web/assets/{NoticeRow-DfcEVo9b.js → NoticeRow-CuW9LqCE.js} +1 -1
  54. package/dist/web/assets/{OccupationsPage-y0pPpeA5.js → OccupationsPage-Da6Y83x4.js} +1 -1
  55. package/dist/web/assets/{PageOutline-tCNrkxf9.js → PageOutline-BAumEpfv.js} +1 -1
  56. package/dist/web/assets/{PageStack-Dz22tnWI.js → PageStack-DQWUE-Va.js} +1 -1
  57. package/dist/web/assets/{PersonalProfilePage-BnVd_ETP.css → PersonalProfilePage-B0_Pxi-K.css} +1 -1
  58. package/dist/web/assets/PersonalProfilePage-CSNXAsHH.js +1 -0
  59. package/dist/web/assets/PersonalProjectsPage-xtKY0LDl.js +1 -0
  60. package/dist/web/assets/{PinIcon-DNZOg2Wg.js → PinIcon-DgBYcXfL.js} +1 -1
  61. package/dist/web/assets/{PopperContent-CXjdjsCH.js → PopperContent-DXQxGpwR.js} +1 -1
  62. package/dist/web/assets/{Presence-CUAs9qb0.js → Presence-BfvV8dDn.js} +1 -1
  63. package/dist/web/assets/{ProfileAuthorChip-D9wcwy6g.js → ProfileAuthorChip-D98dBhq3.js} +1 -1
  64. package/dist/web/assets/{ProjectAgentsPage-DmM7AJWh.js → ProjectAgentsPage-BrR3Txlc.js} +1 -1
  65. package/dist/web/assets/{ProjectAgentsPage-CjeXFzHr.css → ProjectAgentsPage-CwaCXHng.css} +1 -1
  66. package/dist/web/assets/{ProjectJudgmentPolicy-CTJKFp7G.js → ProjectJudgmentPolicy-DOtB7cAm.js} +1 -1
  67. package/dist/web/assets/{RequesterModeSelect-CXMeHstO.js → RequesterModeSelect-CZsssSbT.js} +1 -1
  68. package/dist/web/assets/{RoundtablesPage-BmZrelel.js → RoundtablesPage-GW35QxnC.js} +1 -1
  69. package/dist/web/assets/{RovingFocusGroup-x7negayB.js → RovingFocusGroup-D8Wx19ae.js} +1 -1
  70. package/dist/web/assets/{RovingFocusItem-CsBoYIge.js → RovingFocusItem-B_BdBBug.js} +1 -1
  71. package/dist/web/assets/{SessionMigrationPage-DBQRfZxw.js → SessionMigrationPage-pT6x8nX2.js} +1 -1
  72. package/dist/web/assets/{SessionRecordsPage-DIwhWSlG.js → SessionRecordsPage-DojnfV3q.js} +1 -1
  73. package/dist/web/assets/SettingsPage-DBc87gON.js +1 -0
  74. package/dist/web/assets/SettingsPage-FXe6id2_.css +1 -0
  75. package/dist/web/assets/{SharedJefaReportPage-6llbyaFk.js → SharedJefaReportPage-CObNk_31.js} +1 -1
  76. package/dist/web/assets/{StatementCalendarPage-Cxgsvn-U.js → StatementCalendarPage-DYyQ2o5Y.js} +1 -1
  77. package/dist/web/assets/StatementRows-DabPtjwc.js +1 -0
  78. package/dist/web/assets/{TagVocabularyPage-DTVIDnNo.js → TagVocabularyPage-CryAPOBs.js} +1 -1
  79. package/dist/web/assets/{TaskBlockerClear-cBGXscpB.js → TaskBlockerClear-EbGO-WBp.js} +1 -1
  80. package/dist/web/assets/{TaskBlockerNotice-Cq4TdKY6.js → TaskBlockerNotice-C3VCB9tv.js} +1 -1
  81. package/dist/web/assets/{TaskReason-qe3Xa8of.js → TaskReason-U6iQPTm5.js} +1 -1
  82. package/dist/web/assets/{TeamCard-BXs85SQr.js → TeamCard-BB9JXbvO.js} +1 -1
  83. package/dist/web/assets/{TeamCardsWidget-Cp1k5EYC.js → TeamCardsWidget-6eDVfpBO.js} +1 -1
  84. package/dist/web/assets/{TeamIsland-BtRMHoQW.js → TeamIsland-B2KE7OBR.js} +1 -1
  85. package/dist/web/assets/{Teleport-D9eo3aMg.js → Teleport-BPJSYlVk.js} +1 -1
  86. package/dist/web/assets/{TextField-COicp-CU.js → TextField-2cleth-B.js} +1 -1
  87. package/dist/web/assets/TodayPage-AZR8M_JV.css +1 -0
  88. package/dist/web/assets/TodayPage-LTu0Wjpe.js +1 -0
  89. package/dist/web/assets/{TonborgDelegationSwitch-o1nvT-Bl.js → TonborgDelegationSwitch-ClHrOupR.js} +1 -1
  90. package/dist/web/assets/{UiChip-CzUO3lrc.js → UiChip-B4t0eucg.js} +1 -1
  91. package/dist/web/assets/UiDialog-BwwKOaaQ.js +1 -0
  92. package/dist/web/assets/{UiDisclosure-DsGCiq2P.js → UiDisclosure-DgTLXULO.js} +1 -1
  93. package/dist/web/assets/{UiIcon-9ya411H6.js → UiIcon-BYki6bRF.js} +1 -1
  94. package/dist/web/assets/{UiSegmented-D_fGHNq5.js → UiSegmented-Dpt1CrKL.js} +1 -1
  95. package/dist/web/assets/{UiWeight-DenXyzh7.js → UiWeight-DoFCB_2-.js} +1 -1
  96. package/dist/web/assets/{VirtualDirectoryList-Dz_5Fp0z.js → VirtualDirectoryList-CE_dOXQ0.js} +1 -1
  97. package/dist/web/assets/{VisitRequestDialog-C7f81AXx.js → VisitRequestDialog-CPzCMe8C.js} +1 -1
  98. package/dist/web/assets/{VisitRequestsPage-DutoKQk1.js → VisitRequestsPage-B4xgFSP2.js} +1 -1
  99. package/dist/web/assets/{VisuallyHidden-Dt7-tP2B.js → VisuallyHidden-SMxnlXvE.js} +1 -1
  100. package/dist/web/assets/{VisuallyHiddenInput-2WGG_1ze.js → VisuallyHiddenInput-BT0-8ijR.js} +1 -1
  101. package/dist/web/assets/WidgetSlot-LCDULX5e.js +2 -0
  102. package/dist/web/assets/{WorkbenchListPage-BOw7ERCk.js → WorkbenchListPage-BP01KDyU.js} +1 -1
  103. package/dist/web/assets/_plugin-vue_export-helper-BFFFeCCW.js +9 -0
  104. package/dist/web/assets/{agent-apps-kRe5JyJK.js → agent-apps-B_qz6Zcd.js} +1 -1
  105. package/dist/web/assets/agent-occupation-Cv9A5bge.js +1 -0
  106. package/dist/web/assets/{agent-pins-Do9JLSB3.js → agent-pins-Bg96KUf5.js} +1 -1
  107. package/dist/web/assets/{agent-roster-records-CGGMzKAJ.js → agent-roster-records-kjA-Ger4.js} +1 -1
  108. package/dist/web/assets/{agent-work-summary-D0aYuyju.js → agent-work-summary-D8dh1K4w.js} +1 -1
  109. package/dist/web/assets/{attach-closest-edge-exoD-Zb1.js → attach-closest-edge-2NxKRyeh.js} +1 -1
  110. package/dist/web/assets/{attention-store-BhINumz-.js → attention-store-C5l6JpZH.js} +1 -1
  111. package/dist/web/assets/{badge-CJJYCAdu.js → badge-CsT4EGAw.js} +1 -1
  112. package/dist/web/assets/{button-B7PYGy-j.js → button-0hJmrvEz.js} +1 -1
  113. package/dist/web/assets/{card-D0IQ_UeV.js → card-CfRrubhe.js} +1 -1
  114. package/dist/web/assets/{catalog-CBbN-zd7.js → catalog-4FezGaCz.js} +1 -1
  115. package/dist/web/assets/{checkbox-CZtoznN0.js → checkbox-Cd0HdftL.js} +1 -1
  116. package/dist/web/assets/{client-CoU1XXaR.js → client-C_5zi19e.js} +1 -1
  117. package/dist/web/assets/{client-links-store-DsaOruie.js → client-links-store-DA-LfPg2.js} +1 -1
  118. package/dist/web/assets/{combobox-TPBeFRXE.js → combobox-C2agI_jg.js} +1 -1
  119. package/dist/web/assets/{console-DIKANacI.js → console-BJ-B1h0_.js} +1 -1
  120. package/dist/web/assets/{conversation-launcher-settings-BHfgzzvd.js → conversation-launcher-settings-Ma0C2abQ.js} +1 -1
  121. package/dist/web/assets/{copy-mention-rLKmqWsL.js → copy-mention-D-1qYzIp.js} +1 -1
  122. package/dist/web/assets/{dialog-D_u1WOFD.js → dialog-GjdK7-oa.js} +1 -1
  123. package/dist/web/assets/{dist-CU_3vGuA.js → dist-CJSZ7q4a.js} +1 -1
  124. package/dist/web/assets/{dist-Bale2iuA.js → dist-DtccFug9.js} +1 -1
  125. package/dist/web/assets/{dropdown-menu-Bdudbv6a.js → dropdown-menu-D5Ge5Xr_.js} +1 -1
  126. package/dist/web/assets/{field-Dr1Ed5Xc.js → field-DLZyx0SO.js} +1 -1
  127. package/dist/web/assets/{format-bytes-DgA0y5wZ.js → format-bytes-4cYFMoqO.js} +1 -1
  128. package/dist/web/assets/habit-delivery-api-DXa-F-mR.js +1 -0
  129. package/dist/web/assets/{hover-card-BYLWpwVK.js → hover-card-pI5jiQjV.js} +1 -1
  130. package/dist/web/assets/{identity-CWhIT_Dr.js → identity-DbfVDxjc.js} +1 -1
  131. package/dist/web/assets/{index-DIGLQpM1.css → index-Ddwg5pGj.css} +1 -1
  132. package/dist/web/assets/index-DfxxiOxw.js +24 -0
  133. package/dist/web/assets/{input-B_Zj--ZL.js → input-dm3OMJKG.js} +1 -1
  134. package/dist/web/assets/{label-DQZf4tPm.js → label-VwJusqfA.js} +1 -1
  135. package/dist/web/assets/label-table-DdDk7TsA.js +1 -0
  136. package/dist/web/assets/{model-CIwe3Rar.js → model-B6u8l1XS.js} +1 -1
  137. package/dist/web/assets/{model-CuwuwyFR.js → model-BQf3MokZ.js} +1 -1
  138. package/dist/web/assets/{model-BittVu8t.js → model-BszMx7Z9.js} +1 -1
  139. package/dist/web/assets/{model-BUhocclG.js → model-DIkwLGdJ.js} +1 -1
  140. package/dist/web/assets/{model-DELB5TtM.js → model-Dbw4qmlX.js} +1 -1
  141. package/dist/web/assets/{model-CWBfldEE.js → model-Ji3kBqC9.js} +1 -1
  142. package/dist/web/assets/{model-CiQWKIgK.js → model-VyIsGjqp.js} +1 -1
  143. package/dist/web/assets/{model-DEx0jqf_.js → model-XybfeO7a.js} +1 -1
  144. package/dist/web/assets/model-health-UIh4dfrV.js +1 -0
  145. package/dist/web/assets/{model-BGDccZ_D.js → model-q_ALzjId.js} +1 -1
  146. package/dist/web/assets/{motion-Ch-ftROH.js → motion-ClEWPttD.js} +1 -1
  147. package/dist/web/assets/{motion-D760Sxg4.js → motion-CwSHEDN1.js} +1 -1
  148. package/dist/web/assets/{motion-preference-C4ySTh-u.js → motion-preference-Jluq7znA.js} +1 -1
  149. package/dist/web/assets/{occupation-catalog-YnUnSFlj.js → occupation-catalog-B5dMgBK0.js} +1 -1
  150. package/dist/web/assets/{occupation-kits-VZd9zC5K.js → occupation-kits-DTkZPXjb.js} +1 -1
  151. package/dist/web/assets/{option-5BqENesV.js → option-CB8naTwB.js} +1 -1
  152. package/dist/web/assets/{orchestration-filters-DN2i-be0.js → orchestration-filters-UT2YiQUx.js} +1 -1
  153. package/dist/web/assets/{overview-data-C2em3-ZL.js → overview-data-h_siVstG.js} +1 -1
  154. package/dist/web/assets/{page-refresh-TT9aEg4u.js → page-refresh-BfgBdG0V.js} +1 -1
  155. package/dist/web/assets/{page-title-a4-bYAtA.js → page-title-BAa1zRfp.js} +1 -1
  156. package/dist/web/assets/{person-profile-DkrLbKkj.js → person-profile-DYbngbHC.js} +1 -1
  157. package/dist/web/assets/{popover-BJHbIMcE.js → popover-BbwgofLP.js} +1 -1
  158. package/dist/web/assets/popup-host-DjHptYk0.js +1 -0
  159. package/dist/web/assets/{preference-conflicts-9GSmBmkw.js → preference-conflicts-Dl6-ciPf.js} +1 -1
  160. package/dist/web/assets/profile-model-DNgR5s9w.js +1 -0
  161. package/dist/web/assets/{project-board-layout-CNtjY8NO.js → project-board-layout-eEzfFb2L.js} +1 -1
  162. package/dist/web/assets/{project-capture-BdeJDsiU.js → project-capture-RJUvo0OJ.js} +1 -1
  163. package/dist/web/assets/{project-origin-u1VaslJO.js → project-origin-Iino9EI1.js} +1 -1
  164. package/dist/web/assets/{quick-edit-api-CDuhTEox.js → quick-edit-api-DkLS_scr.js} +1 -1
  165. package/dist/web/assets/{radio-group-C5ayKHzE.js → radio-group-B-F0t7GM.js} +1 -1
  166. package/dist/web/assets/{review-api-DYDD9zB8.js → review-api-JHFYW0Ys.js} +1 -1
  167. package/dist/web/assets/{review-list-WOPyPI5w.js → review-list-C9hL4nci.js} +1 -1
  168. package/dist/web/assets/{review-store-BklZG1er.js → review-store-CMccqKHW.js} +1 -1
  169. package/dist/web/assets/{role-names-CdC9_fdY.js → role-names-DjM9F_A4.js} +1 -1
  170. package/dist/web/assets/{roundtable-live-CbnGOBZk.js → roundtable-live-BLGZEjz1.js} +1 -1
  171. package/dist/web/assets/{runtime-dom.esm-bundler-BcMHC8iJ.js → runtime-dom.esm-bundler-DNPYGzfX.js} +1 -1
  172. package/dist/web/assets/{select-Cke2cpUI.js → select-B4q63yG5.js} +1 -1
  173. package/dist/web/assets/{session-launch-offers-CCXdOOL1.js → session-launch-offers-BvttGsWi.js} +1 -1
  174. package/dist/web/assets/{settings-autosave-CVfSjU4q.js → settings-autosave-Bkcx8xUd.js} +1 -1
  175. package/dist/web/assets/settings-tabs-DY3_oy8M.js +1 -0
  176. package/dist/web/assets/{shared-report-gQttiBHd.js → shared-report-Cds3uZk-.js} +3 -3
  177. package/dist/web/assets/{source-adapters-ER48SrWi.js → source-adapters-D_Nry8q3.js} +1 -1
  178. package/dist/web/assets/{switch-CD3ZLbnu.js → switch-BkWgFhKP.js} +1 -1
  179. package/dist/web/assets/{tabs-DzXbvMsz.js → tabs-BWb5DRkD.js} +1 -1
  180. package/dist/web/assets/{task-card-fields-CUu6vG0X.js → task-card-fields-CS4BdXVp.js} +1 -1
  181. package/dist/web/assets/{task-labels-u-iYIX90.js → task-labels-BYsMAzzz.js} +1 -1
  182. package/dist/web/assets/{task-reason-B00LsFnB.js → task-reason-DOD8t8r9.js} +1 -1
  183. package/dist/web/assets/{team-sheets-n4b40Z98.js → team-sheets-CrIg9qux.js} +1 -1
  184. package/dist/web/assets/{textarea-oinaifIm.js → textarea-DBMiRcU3.js} +1 -1
  185. package/dist/web/assets/{ui-C4Su5UpV.js → ui-DaELq8Rx.js} +1 -1
  186. package/dist/web/assets/{useAgentRecords-CFzEgtQZ.js → useAgentRecords-BLtnb6gc.js} +1 -1
  187. package/dist/web/assets/{useAgentWorkSummary-C8AdU3wt.js → useAgentWorkSummary-xXRThDbk.js} +1 -1
  188. package/dist/web/assets/{useApi-CROJJdhE-Bn5PRn5N.js → useApi-CROJJdhE-BUP9hMGz.js} +1 -1
  189. package/dist/web/assets/{useClipboardCopy-Ch8uqdGm.js → useClipboardCopy-BOvzyi5Y.js} +1 -1
  190. package/dist/web/assets/{useFocusReturn-Tf8FjXCB.js → useFocusReturn-DXdT_RjX.js} +1 -1
  191. package/dist/web/assets/useFormControl-6GABkavq.js +1 -0
  192. package/dist/web/assets/{useForwardExpose-C8g2jFcb.js → useForwardExpose-CkLfKvmw.js} +1 -1
  193. package/dist/web/assets/{useForwardPropsEmits-DFzPmOpQ.js → useForwardPropsEmits-CSwmGOAp.js} +1 -1
  194. package/dist/web/assets/useForwardScopeId-BDsgyTsQ.js +1 -0
  195. package/dist/web/assets/{useKnowledgeConfirm-BxRqM_Up.js → useKnowledgeConfirm-DwJVa5ls.js} +1 -1
  196. package/dist/web/assets/{useKnowledgeItemPeek-DnkRno55.js → useKnowledgeItemPeek-DXtbN6pm.js} +1 -1
  197. package/dist/web/assets/{useListPages-BZz4AXCV.js → useListPages-Dc1d3uAI.js} +1 -1
  198. package/dist/web/assets/{useMinimumLoadingDisplay-CBIk4eeX.js → useMinimumLoadingDisplay-B7BVkPaG.js} +1 -1
  199. package/dist/web/assets/{useNow-dOJZQSVO.js → useNow-Bqv5RlRh.js} +1 -1
  200. package/dist/web/assets/{usePageTools-QrErZMNW.js → usePageTools-CZSfbkYS.js} +1 -1
  201. package/dist/web/assets/usePrimitiveElement-CWChuDmV.js +1 -0
  202. package/dist/web/assets/{useProjectAgentRoster-DNhvFTn1.js → useProjectAgentRoster-BvwVC7qo.js} +1 -1
  203. package/dist/web/assets/{useRoutePeek-DxgKbNZO.js → useRoutePeek-BfsswswL.js} +1 -1
  204. package/dist/web/assets/{useTeamWork-D8KrLJfR.js → useTeamWork-_foEcdYb.js} +1 -1
  205. package/dist/web/assets/{useTypeahead-S0l_ho47.js → useTypeahead-uYqmNC4-.js} +1 -1
  206. package/dist/web/assets/{useVisitAwaiting-CLUQV8r_.js → useVisitAwaiting-L9-20E1e.js} +1 -1
  207. package/dist/web/assets/{utils-BWN1MlrT.js → utils-CQS1A1UH.js} +1 -1
  208. package/dist/web/assets/{utils-xayTihRv.js → utils-c2PiB5hP.js} +1 -1
  209. package/dist/web/assets/{verification-B4SQnrck.js → verification-BVy02jVN.js} +1 -1
  210. package/dist/web/assets/{version-3SPPVksR.js → version-7A3cbAVf.js} +1 -1
  211. package/dist/web/assets/{vue-router-BIRs6q_M.js → vue-router-BIfti3gB.js} +1 -1
  212. package/dist/web/index.html +79 -77
  213. package/docs/agent-roundtable.md +6 -1
  214. package/docs/client-connections.md +23 -12
  215. package/docs/employee-agents.md +3 -2
  216. package/graph-provider/fuli_graph/app.py +2 -0
  217. package/graph-provider/fuli_graph/fixed_roles.py +26 -0
  218. package/graph-provider/fuli_graph/graph_field_contract.py +1 -1
  219. package/graph-provider/fuli_graph/graph_format_migrations.py +6 -0
  220. package/graph-provider/fuli_graph/knowledge_statement_items.py +95 -0
  221. package/graph-provider/fuli_graph/occupation_catalog.py +8 -2
  222. package/graph-provider/fuli_graph/project_agent_coordination_models.py +6 -2
  223. package/graph-provider/fuli_graph/project_agent_task_models.py +3 -0
  224. package/graph-provider/fuli_graph/store_project_agent_attention.py +8 -1
  225. package/graph-provider/fuli_graph/store_project_agent_coordination_policy.py +13 -4
  226. package/graph-provider/fuli_graph/store_project_agent_dismissal.py +2 -0
  227. package/graph-provider/fuli_graph/store_project_agent_executors.py +4 -0
  228. package/graph-provider/fuli_graph/store_project_agent_task_staffing.py +52 -14
  229. package/graph-provider/fuli_graph/store_project_agent_tasks.py +5 -2
  230. package/graph-provider/fuli_graph/store_project_agents.py +5 -5
  231. package/graph-provider/fuli_graph/system_agents.py +17 -9
  232. package/graph-provider/pyproject.toml +1 -1
  233. package/native/win32/fuli-win-helper.exe +0 -0
  234. package/npm-shrinkwrap.json +2 -2
  235. package/package.json +1 -1
  236. package/packages/roundtable/src/peer/control-cli.js +2 -1
  237. package/packages/roundtable/src/peer/peer-runtime.js +212 -67
  238. package/skills/capturing-session-knowledge/references/coordination.md +11 -4
  239. package/skills/operating-fuli/SKILL.md +3 -0
  240. package/skills/operating-fuli/references/workflow-recipes.md +1 -1
  241. package/src/agent-kits/client-detection.js +20 -12
  242. package/src/agent-kits/custom-clients.js +24 -7
  243. package/src/agent-tools/interface-catalog.js +2 -2
  244. package/src/employees/fixed-roles.js +25 -0
  245. package/src/employees/management-policy.js +3 -2
  246. package/src/employees/manifest.js +0 -3
  247. package/src/employees/recruitment.js +5 -5
  248. package/src/graphiti/agent-collaboration.js +1 -1
  249. package/src/graphiti/assistant-project-candidate.js +2 -1
  250. package/src/graphiti/conversation-triage.js +2 -2
  251. package/src/graphiti/fla-picker.js +5 -7
  252. package/src/graphiti/jefa-board-match.js +2 -1
  253. package/src/graphiti/project-agent-mapping.js +4 -3
  254. package/src/graphiti/project-team-view.js +7 -2
  255. package/src/graphiti/task-entry-group-discussion.js +1 -1
  256. package/src/graphiti/task-entry-named-fla.js +2 -2
  257. package/src/graphiti/task-entry-preferences.js +2 -2
  258. package/src/graphiti/task-entry-project-scope.js +1 -1
  259. package/src/graphiti/topic-proposals.js +10 -9
  260. package/src/graphiti/topic-team-handoff.js +22 -45
  261. package/src/http/api-router.js +2 -2
  262. package/src/http/statement-api-router.js +24 -3
  263. package/src/judgment/engine.js +5 -4
  264. package/src/judgment/question-tools.js +2 -3
  265. package/src/judgment/store.js +2 -1
  266. package/src/knowledge-impressions/store.js +23 -0
  267. package/src/knowledge-owner-reads/console-port.js +2 -1
  268. package/src/model-backends/budget.js +6 -1
  269. package/src/model-backends/failures.js +2 -0
  270. package/src/model-backends/port.js +9 -6
  271. package/src/model-backends/request.js +4 -2
  272. package/src/model-backends/usage-ledger.js +15 -5
  273. package/src/presence/windows-helper-pin.js +1 -1
  274. package/src/semantic/semantic-index.js +5 -4
  275. package/src/statement/detail-lists.js +33 -0
  276. package/src/system/client-connection-install.js +19 -9
  277. package/src/system/custom-client-connection.js +15 -3
  278. package/src/system/system-service.js +1 -1
  279. package/src/whats-new/lines/0.27.13.json +11 -0
  280. package/src/whats-new/lines/0.27.14.json +15 -0
  281. package/dist/web/assets/AgentManagement-Bv1lC7JC.js +0 -7
  282. package/dist/web/assets/EmployeeWorkbench-Df329fp8.js +0 -4
  283. package/dist/web/assets/FieldRoot-DJnMtwuk.js +0 -1
  284. package/dist/web/assets/HabitDeliveryPage-fioWcWvn.js +0 -1
  285. package/dist/web/assets/KnowledgePage-B2RF0Yj9.js +0 -1
  286. package/dist/web/assets/KnowledgePeek-CULo0Ka6.js +0 -1
  287. package/dist/web/assets/ModelSettingsPage-BtoxECNY.js +0 -1
  288. package/dist/web/assets/PersonalProfilePage-Pr_JU0xl.js +0 -1
  289. package/dist/web/assets/PersonalProjectsPage-mO40p_oS.js +0 -1
  290. package/dist/web/assets/SettingsPage-BYbWO9wW.css +0 -1
  291. package/dist/web/assets/SettingsPage-Cb3bDKtl.js +0 -1
  292. package/dist/web/assets/StatementRows-B_EKObTY.js +0 -1
  293. package/dist/web/assets/TodayPage-BDwvQVFC.js +0 -1
  294. package/dist/web/assets/TodayPage-CEnhprna.css +0 -1
  295. package/dist/web/assets/UiDialog-B-ijiGl3.js +0 -1
  296. package/dist/web/assets/WidgetSlot-DXYnBVa1.js +0 -2
  297. package/dist/web/assets/_plugin-vue_export-helper-KKKSh1XL.js +0 -9
  298. package/dist/web/assets/agent-occupation-DQ2fBoUr.js +0 -1
  299. package/dist/web/assets/index-Cwg6bgJU.js +0 -24
  300. package/dist/web/assets/label-table-BbIQaLr3.js +0 -1
  301. package/dist/web/assets/popup-host-DqW-S0WF.js +0 -1
  302. package/dist/web/assets/profile-model-D8Bp61Ka.js +0 -1
  303. package/dist/web/assets/settings-tabs-DP8o6vYR.js +0 -1
  304. package/dist/web/assets/useFormControl-CmFqkE26.js +0 -1
  305. package/dist/web/assets/useForwardScopeId-DQl7TSH7.js +0 -1
  306. package/dist/web/assets/usePrimitiveElement-9PV4DISI.js +0 -1
  307. package/src/graphiti/assistant-identity.js +0 -2
@@ -31,6 +31,10 @@ const PAIRED_GRACE_MS = 5_000;
31
31
  // A device this computer trusted through nearby pairing that never connects
32
32
  // within this time did not finish its side: the trust is taken back.
33
33
  const TRUST_USE_MS = 60_000;
34
+ // What a listener is refused with when its address is not on this computer now (a laptop on another
35
+ // network), and how often a coordinator stopped by that looks whether the address is back.
36
+ const ADDRESS_AWAY = 'EADDRNOTAVAIL';
37
+ const LISTEN_RETRY_MS = 30_000;
34
38
  const LOOPBACK = /^(127\.|::1$)/;
35
39
  // The search for projects to add answers with this many by default, at most SEARCH_MAX.
36
40
  const SEARCH_LIMIT = 20;
@@ -44,7 +48,7 @@ const pickable = project => !project.temporary && !project.sessionOnly && !proje
44
48
  export function createPeerRuntime({ host, roundtable, port, interfaces = networkInterfaces, allowLoopback = false,
45
49
  claimWaitMs, createDiscovery = createBonjourDiscovery, startServer = startCoordinatorServer, nearbyListenHost = NEARBY_LISTEN_HOST, clock = Date.now,
46
50
  nearbySessionMs = NEARBY_SESSION_MS, pairedGraceMs = PAIRED_GRACE_MS, trustUseMs = TRUST_USE_MS, autoShareRetryMs, autoShareAttempts,
47
- publishMs = PUBLISH_MS, onError = () => {} }) {
51
+ publishMs = PUBLISH_MS, listenRetryMs = LISTEN_RETRY_MS, onError = () => {} }) {
48
52
  const store = () => port.nodeStore();
49
53
  let coordinator = null;
50
54
  let runner = null;
@@ -57,12 +61,37 @@ export function createPeerRuntime({ host, roundtable, port, interfaces = network
57
61
  let repositoryKey = null;
58
62
  let nearbyNotice = null;
59
63
  let nearbyTimer = null;
64
+ // The wait after a pairing before nearby pairing turns itself off.
65
+ let graceTimer = null;
60
66
  let listenFailure = null;
67
+ let listenRetry = null;
68
+ // The start awaitAddress has under way, if any: a stop waits for it, so it closes what that start opened
69
+ // and whatever the stop clears afterwards (turning the roundtable off clears its settings) stays cleared.
70
+ let listenWork = null;
71
+ // Counts stops asked for. One rule for whatever starts something (service start, the retry, turning the
72
+ // roundtable or nearby pairing on, joining, moving the listener): the operation takes the count when it
73
+ // begins and hands it to each step, and a step that finds the count moved does nothing more. A listener or
74
+ // a connection being opened is known to the stop (starting), which waits for it; one a stop overtook is
75
+ // closed again, writes no setting, arms no retry and no timer. So off and close leave nothing behind.
76
+ let stops = 0;
77
+ const starting = new Set();
78
+ // The endings, close and turning the roundtable off: how many began (ends) and how many are under way
79
+ // (ending). What begins while one is under way has the new count already, so it is ended by this instead.
80
+ let ends = 0;
81
+ let ending = 0;
82
+ const stoppedSince = (stopped) => ending > 0 || stops !== stopped;
83
+ const stoppedMeanwhile = () => new PeerError('listen_stopped', 'The LAN roundtable stopped while this was starting', 409);
84
+ // What a person asked for says so when a stop ended it.
85
+ const live = (stopped) => { if (stoppedSince(stopped)) throw stoppedMeanwhile(); };
86
+ // Awaited where a stop that ended the step is no failure of the one that asked.
87
+ const unlessStopped = (error) => { if (error?.code !== 'listen_stopped') throw error; };
88
+ // A background step that a stop ended is not a failure to report.
89
+ const report = (error) => { if (error?.code !== 'listen_stopped') onError(error); };
61
90
  const trustChecks = new Set();
62
91
  const spaceId = () => host.spaceId();
63
92
  const identity = () => loadDeviceIdentity(port.directory);
64
93
  const discovery = createDiscovery({ adapters: () => discoveryAdapters(interfaces),
65
- onFailure: (error) => endNearby({ kind: 'discovery_failed', reason: failureCode(error) }).catch(onError) });
94
+ onFailure: (error) => endNearby({ kind: 'discovery_failed', reason: failureCode(error) }).catch(report) });
66
95
  const presence = createNearbyPresence({ discovery, clock });
67
96
  const attempts = createAttemptLedger({ clock, read: () => (port.configured() ? store().setting('nearbyAttempts') : null),
68
97
  update: (change) => store().updateSetting('nearbyAttempts', change) });
@@ -91,21 +120,64 @@ export function createPeerRuntime({ host, roundtable, port, interfaces = network
91
120
 
92
121
  async function resume() {
93
122
  if (!port.configured()) return;
123
+ // Taken before anything is awaited: a stop from here on ends what this resume would still start, and an
124
+ // ending (close, off) ends the resume. A listener move of its own meanwhile does not: the trust still
125
+ // waiting and the sharing still owed are looked at whatever moved.
126
+ const stopped = stops;
127
+ const ended = ends;
94
128
  await finishLeaving();
129
+ if (stoppedSince(stopped)) return;
95
130
  const settings = store().setting('coordinator');
96
- // An address that is gone (a new network, DHCP) is said, not replaced: nothing listens until the person acts.
97
- if (settings) await startCoordinator(settings).catch((error) => { onError(error); });
98
- if (store().setting('membership') && (coordinator || !settings)) await startRunner();
131
+ // An address that is gone (a new network, DHCP) is said, not replaced: nothing listens until the person
132
+ // acts, or until that same address is on this computer again (awaitAddress).
133
+ if (settings) await startCoordinator(settings, stopped).catch((error) => { report(error); awaitAddress(stopped); });
134
+ if (store().setting('membership') && (coordinator || !settings)) await startRunner(stopped);
135
+ if (ending || ends !== ended) return;
99
136
  checkPendingTrust();
100
137
  pairingShare.resume();
101
138
  const nearby = store().setting('nearby');
102
139
  if (!nearby) return;
103
- if (!(nearby.until > clock())) await endNearby({ kind: 'timeout' });
104
- else if (settings && !coordinator) await endNearby(null);
105
- else await startNearby();
140
+ if (!(nearby.until > clock())) await endNearby({ kind: 'timeout' }).catch(unlessStopped);
141
+ else if (settings && !coordinator) await endNearby(null).catch(unlessStopped);
142
+ else await startNearby(stopped);
106
143
  }
107
144
 
108
- async function startCoordinator({ host: address, port: listenPort, name }) {
145
+ // A listener whose address is not on this computer now starts by itself once that same address is back (a
146
+ // laptop that returns to its network and is given the address it had): nothing is replaced and no trust
147
+ // changes, so the person need not act and paired devices stay paired. A network that gives the computer
148
+ // another address does not bring it back, and any other failure waits for the person, as before.
149
+ // stopped: the count of stops when the start that failed began; a stop since then means nothing is looked for.
150
+ function awaitAddress(stopped) {
151
+ clearTimeout(listenRetry);
152
+ listenRetry = null;
153
+ if (stoppedSince(stopped) || !listenFailure?.addressAway) return;
154
+ listenRetry = setTimeout(() => {
155
+ listenRetry = null;
156
+ listenWork = listenAgain().catch(onError).finally(() => { listenWork = null; });
157
+ }, listenRetryMs);
158
+ listenRetry.unref?.();
159
+ }
160
+
161
+ async function listenAgain() {
162
+ const settings = port.configured() ? store().setting('coordinator') : null;
163
+ if (!settings || coordinator || !listenFailure?.addressAway) return;
164
+ const stopped = stops;
165
+ if (!localAddresses().includes(settings.host)) return awaitAddress(stopped);
166
+ try { await startCoordinator(settings, stopped); } catch (error) { report(error); return awaitAddress(stopped); }
167
+ // Not awaited here: a stop waits for this work (listenWork), and the connection's first publish is a
168
+ // network call. Making the connection is known to the stop by itself (starting).
169
+ if (store().setting('membership')) startRunner(stopped).catch(onError);
170
+ }
171
+
172
+ // stopped: the count of stops when the operation that asks for this listener began.
173
+ async function startCoordinator(settings, stopped) {
174
+ live(stopped);
175
+ const start = openCoordinator(settings, stopped);
176
+ starting.add(start);
177
+ try { await start; } finally { starting.delete(start); }
178
+ }
179
+
180
+ async function openCoordinator({ host: address, port: listenPort, name }, stopped) {
109
181
  const device = await identity();
110
182
  const authority = await port.localAuthority();
111
183
  const coordinatorStore = createCoordinatorStore(joinPath(port.directory, 'coordinator.sqlite'));
@@ -122,9 +194,15 @@ export function createPeerRuntime({ host, roundtable, port, interfaces = network
122
194
  onReached: rememberReached });
123
195
  } catch (error) {
124
196
  coordinatorStore.close();
125
- listenFailure = { address, port: listenPort, code: failureCode(error), at: new Date(clock()).toISOString() };
197
+ const code = failureCode(error);
198
+ // addressAway: the address is not on this computer now; the listener returns by itself when it is.
199
+ listenFailure = { address, port: listenPort, code, at: new Date(clock()).toISOString(), addressAway: code === ADDRESS_AWAY };
126
200
  throw new PeerError('listen_failed', `Could not listen on ${address}:${listenPort}: ${failureCode(error)}`, 409);
127
201
  }
202
+ if (stoppedSince(stopped)) {
203
+ try { await server.close(); } finally { coordinatorStore.close(); }
204
+ throw stoppedMeanwhile();
205
+ }
128
206
  listenFailure = null;
129
207
  coordinator = { service, server, store: coordinatorStore, host: address, name };
130
208
  // A wildcard listener answers this computer on loopback.
@@ -136,10 +214,30 @@ export function createPeerRuntime({ host, roundtable, port, interfaces = network
136
214
  store().bindAuthority(device.fingerprint, authority, 'self');
137
215
  }
138
216
 
139
- async function startRunner() {
140
- if (runner) return;
217
+ // Connects this computer to its coordinator and keeps its shares published. Making the connection is
218
+ // known to a stop, like a listener start, so the stop ends the connection it made. The first publish
219
+ // after it is a network call a stop does not wait for; it arms no publisher once a stop came.
220
+ async function startRunner(stopped) {
221
+ if (runner || stoppedSince(stopped)) return;
222
+ const start = openRunner(stopped);
223
+ starting.add(start);
224
+ let opened;
225
+ try { opened = await start; } finally { starting.delete(start); }
226
+ if (!opened) return;
227
+ await publish().catch(onError);
228
+ if (stoppedSince(stopped)) return;
229
+ publisher = setInterval(() => {
230
+ publish().catch(onError);
231
+ narrowListener().catch(report);
232
+ }, publishMs);
233
+ publisher.unref();
234
+ }
235
+
236
+ // True when this call made the connection.
237
+ async function openRunner(stopped) {
141
238
  const membership = store().setting('membership');
142
239
  const device = await identity();
240
+ if (runner || stoppedSince(stopped)) return false;
143
241
  runnerClient = createPeerClient({ identity: device, coordinator: membership.coordinator });
144
242
  runner = createPeerRunner({ store: store(), client: runnerClient, roundtable, host,
145
243
  nodeId: device.fingerprint, spaceId, onError,
@@ -147,15 +245,17 @@ export function createPeerRuntime({ host, roundtable, port, interfaces = network
147
245
  pairedDevices: () => (coordinator ? new Set(coordinator.service.devices()
148
246
  .filter((entry) => entry.status === 'active' && !entry.self).map((entry) => entry.nodeId)) : null) });
149
247
  runner.start().catch(onError);
150
- await publish().catch(onError);
151
- publisher = setInterval(() => {
152
- publish().catch(onError);
153
- narrowListener().catch(onError);
154
- }, publishMs);
155
- publisher.unref();
248
+ return true;
156
249
  }
157
250
 
158
251
  async function stopAll() {
252
+ stops += 1;
253
+ // What is being opened ends first, until nothing is: each sees this stop and keeps nothing, or is closed below.
254
+ while (starting.size) await Promise.allSettled([...starting]);
255
+ await listenWork;
256
+ // After the wait: a start that found the address still away asks to be tried again.
257
+ clearTimeout(listenRetry);
258
+ listenRetry = null;
159
259
  clearTimeout(leaveRetry);
160
260
  leaveRetry = null;
161
261
  leaveAbort?.abort();
@@ -211,8 +311,11 @@ export function createPeerRuntime({ host, roundtable, port, interfaces = network
211
311
  // What this device offers, sent to the coordinator now and every minute.
212
312
  // The outcome is kept for status, so a list the coordinator never got is
213
313
  // visible on the card and in `fuli peer status` instead of only in a log.
314
+ // A publish whose connection a stop ended meanwhile keeps nothing: not its outcome, and not a repository
315
+ // key that belongs to the group this computer has left.
214
316
  async function publish() {
215
- if (!runnerClient) return;
317
+ const client = runnerClient;
318
+ if (!client) return;
216
319
  try {
217
320
  const profiles = await host.listAgents();
218
321
  const seeds = await generatedLookSeeds();
@@ -228,18 +331,20 @@ export function createPeerRuntime({ host, roundtable, port, interfaces = network
228
331
  });
229
332
  await runner?.reconcileShares(new Set(agents.map((agent) => agent.bindingId)));
230
333
  const sent = repositoryKey;
231
- const answer = await runnerClient.post('/peer/1/directory/publish', { agents,
334
+ const answer = await client.post('/peer/1/directory/publish', { agents,
232
335
  ...(sent ? { repositories: { keyId: sent.id, digests: await repositoryDigests(sent) } } : {}) });
336
+ if (runnerClient !== client) return;
233
337
  published.clear();
234
338
  for (const agent of agents) published.set(agent.bindingId, agent);
235
339
  lastPublish = { at: new Date().toISOString(), agents: agents.length, error: null };
236
340
  // The group's repository key comes with the answer; a new one means sending the digests again.
237
341
  if (validKey(answer.repositoryKey) && answer.repositoryKey.id !== sent?.id) {
238
342
  repositoryKey = answer.repositoryKey;
239
- await runnerClient.post('/peer/1/directory/publish', { agents,
343
+ await client.post('/peer/1/directory/publish', { agents,
240
344
  repositories: { keyId: repositoryKey.id, digests: await repositoryDigests(repositoryKey) } });
241
345
  }
242
346
  } catch (error) {
347
+ if (runnerClient !== client) return;
243
348
  // Only a known word reaches the card and CLI: the coordinator's own text never does.
244
349
  lastPublish = { at: new Date().toISOString(), agents: null, error: failureCode(error) };
245
350
  throw error;
@@ -440,9 +545,11 @@ export function createPeerRuntime({ host, roundtable, port, interfaces = network
440
545
  throw new PeerError('invalid_address', 'Choose one of this computer\'s network addresses', 422);
441
546
  }
442
547
  if (!Number.isSafeInteger(listenPort) || listenPort < 0 || listenPort > 65535) throw new PeerError('invalid_address', 'Invalid port', 422);
443
- await startCoordinator({ host: address, port: listenPort, name: cleanName(name) || 'FULI coordinator' });
444
- await startRunner();
445
- await startNearby();
548
+ const stopped = stops;
549
+ await startCoordinator({ host: address, port: listenPort, name: cleanName(name) || 'FULI coordinator' }, stopped);
550
+ await startRunner(stopped);
551
+ await startNearby(stopped);
552
+ live(stopped);
446
553
  return status();
447
554
  }
448
555
 
@@ -490,9 +597,10 @@ export function createPeerRuntime({ host, roundtable, port, interfaces = network
490
597
  async function adoptCoordinator({ url, certPem, fingerprint, name, authority }) {
491
598
  const membership = store().setting('membership');
492
599
  if (membership?.role === 'member') throw new PeerError('already_paired', 'This device is already paired', 409);
600
+ let stopped = stops;
493
601
  if (membership?.role === 'coordinator') {
494
602
  if (coordinatesOthers()) throw new PeerError('already_coordinating', 'This computer coordinates other devices', 409);
495
- await stopAll();
603
+ stopped = await restart(stopped);
496
604
  store().setSetting('coordinator', null);
497
605
  const nearby = store().setting('nearby');
498
606
  if (nearby) store().setSetting('nearby', { ...nearby, openedListener: false });
@@ -500,8 +608,9 @@ export function createPeerRuntime({ host, roundtable, port, interfaces = network
500
608
  store().forgetAuthority(fingerprint);
501
609
  store().bindAuthority(fingerprint, authority, 'pairing');
502
610
  store().setSetting('membership', { role: 'member', coordinator: { url, certPem, fingerprint, name: name || 'FULI coordinator' } });
503
- await startRunner();
504
- await startNearby();
611
+ await startRunner(stopped);
612
+ await startNearby(stopped);
613
+ live(stopped);
505
614
  }
506
615
 
507
616
  // The owner picks each project, the clients it may be woken in and,
@@ -568,23 +677,28 @@ export function createPeerRuntime({ host, roundtable, port, interfaces = network
568
677
 
569
678
  // Leaves the LAN roundtable. History stays; trust, sharing, listening and nearby discovery end.
570
679
  async function disable() {
571
- stopNearby();
572
- const membership = store().setting('membership');
573
- // A coordinator turned on again later must not silently trust old devices,
574
- // even when its listener could not start: the store itself is revoked.
575
- for (const device of storedDevices()) if (!device.self && device.status === 'active') revokeStored(device.nodeId);
576
- await stopAll();
577
- store().replaceShares([], port.idFactory);
578
- sharesChanged();
579
- store().forgetAuthorities();
580
- store().setSetting('membership', null);
581
- store().setSetting('coordinator', null);
582
- store().setSetting('reachedAddresses', null);
583
- store().setSetting('pendingTrust', null);
584
- pairingShare.clear();
585
- store().setSetting('shareTouches', null);
586
- listenFailure = null;
587
- if (membership?.role === 'member') store().setSetting('pendingLeave', membership.coordinator);
680
+ // An ending under way until everything is stopped and cleared: nothing that begins meanwhile starts.
681
+ ends += 1;
682
+ ending += 1;
683
+ try {
684
+ stopNearby();
685
+ const membership = store().setting('membership');
686
+ // A coordinator turned on again later must not silently trust old devices,
687
+ // even when its listener could not start: the store itself is revoked.
688
+ for (const device of storedDevices()) if (!device.self && device.status === 'active') revokeStored(device.nodeId);
689
+ await stopAll();
690
+ store().replaceShares([], port.idFactory);
691
+ sharesChanged();
692
+ store().forgetAuthorities();
693
+ store().setSetting('membership', null);
694
+ store().setSetting('coordinator', null);
695
+ store().setSetting('reachedAddresses', null);
696
+ store().setSetting('pendingTrust', null);
697
+ pairingShare.clear();
698
+ store().setSetting('shareTouches', null);
699
+ listenFailure = null;
700
+ if (membership?.role === 'member') store().setSetting('pendingLeave', membership.coordinator);
701
+ } finally { ending -= 1; }
588
702
  await finishLeaving();
589
703
  return status();
590
704
  }
@@ -687,23 +801,27 @@ export function createPeerRuntime({ host, roundtable, port, interfaces = network
687
801
  ended: noticeOutcome === 'waiting' ? { ...notice, kind: 'waiting' } : notice };
688
802
  }
689
803
 
690
- async function startNearby() {
804
+ async function startNearby(stopped) {
691
805
  const settings = store().setting('nearby');
692
806
  if (!settings) return;
693
807
  const device = await identity();
808
+ // A stop that came meanwhile ended nearby pairing too: nothing is advertised or timed after it.
809
+ if (stoppedSince(stopped)) return;
694
810
  presence.browse(device.fingerprint);
695
811
  if (coordinator) {
696
812
  presence.advertise({ name: settings.name, port: coordinator.server.address.port, fingerprint: device.fingerprint,
697
813
  addresses: coordinator.host === NEARBY_LISTEN_HOST ? announcedAddresses(interfaces) : [coordinator.host] });
698
814
  } else presence.stopAdvertising();
699
815
  clearTimeout(nearbyTimer);
700
- nearbyTimer = setTimeout(() => endNearby({ kind: 'timeout' }).catch(onError), Math.max(0, settings.until - clock()));
816
+ nearbyTimer = setTimeout(() => endNearby({ kind: 'timeout' }).catch(report), Math.max(0, settings.until - clock()));
701
817
  nearbyTimer.unref?.();
702
818
  }
703
819
 
704
820
  function stopNearby() {
705
821
  clearTimeout(nearbyTimer);
706
822
  nearbyTimer = null;
823
+ clearTimeout(graceTimer);
824
+ graceTimer = null;
707
825
  pairing.close();
708
826
  presence.stop();
709
827
  if (port.configured()) store().setSetting('nearby', null);
@@ -715,24 +833,27 @@ export function createPeerRuntime({ host, roundtable, port, interfaces = network
715
833
  // and returns to that address when nearby pairing turns off. Turning it on
716
834
  // again while on keeps its end time.
717
835
  async function nearbyOn({ name } = {}) {
836
+ let stopped = stops;
718
837
  const previous = store().setting('nearby');
719
838
  const chosen = cleanName(name) || previous?.name || defaultName(await identity());
720
839
  const opened = !store().setting('membership');
721
840
  let previousHost = previous?.previousHost ?? null;
722
841
  if (opened) {
723
842
  if (store().setting('pendingLeave')) throw new PeerError('leave_pending', 'The previous coordinator is offline. Retry after it is available, or revoke this device there.', 409);
724
- await startCoordinator({ host: nearbyListenHost, port: 0, name: chosen });
843
+ await startCoordinator({ host: nearbyListenHost, port: 0, name: chosen }, stopped);
725
844
  } else if (!previous && coordinator && coordinator.host !== NEARBY_LISTEN_HOST && coordinator.host !== nearbyListenHost) {
726
845
  previousHost = coordinator.host;
727
- await rebindCoordinator(nearbyListenHost);
846
+ stopped = await rebindCoordinator(nearbyListenHost, stopped);
728
847
  } else if (!previous && !coordinator && store().setting('membership')?.role === 'coordinator') {
729
848
  throw new PeerError('listen_failed', 'The LAN roundtable is not listening; turn it off and on again first', 409);
730
849
  }
850
+ live(stopped);
731
851
  nearbyNotice = null;
732
852
  store().setSetting('nearby', { name: chosen, openedListener: opened || Boolean(previous?.openedListener), previousHost,
733
853
  until: previous?.until > clock() ? previous.until : clock() + nearbySessionMs });
734
- if (opened) await startRunner();
735
- await startNearby();
854
+ if (opened) await startRunner(stopped);
855
+ await startNearby(stopped);
856
+ live(stopped);
736
857
  return status();
737
858
  }
738
859
 
@@ -757,14 +878,15 @@ export function createPeerRuntime({ host, roundtable, port, interfaces = network
757
878
  function afterPairing(peer) {
758
879
  nearbyNotice = { kind: 'paired', name: peer.name, fingerprint: peer.fingerprint, at: new Date(clock()).toISOString() };
759
880
  pairingShare.start(peer.fingerprint)?.catch(onError);
760
- const timer = setTimeout(() => endNearby({ kind: 'paired', name: peer.name, fingerprint: peer.fingerprint }).catch(onError), pairedGraceMs);
761
- timer.unref?.();
881
+ clearTimeout(graceTimer);
882
+ graceTimer = setTimeout(() => endNearby({ kind: 'paired', name: peer.name, fingerprint: peer.fingerprint }).catch(report), pairedGraceMs);
883
+ graceTimer.unref?.();
762
884
  }
763
885
 
764
886
  // Where each paired device last reached this listener, kept across restarts.
765
887
  function rememberReached(nodeId, address) {
766
888
  store().setSetting('reachedAddresses', { ...(store().setting('reachedAddresses') ?? {}), [nodeId]: address });
767
- if (!store().setting('nearby')) narrowListener().catch(onError);
889
+ if (!store().setting('nearby')) narrowListener().catch(report);
768
890
  }
769
891
 
770
892
  // While nearby pairing is off, a wildcard listener moves to the one address
@@ -780,19 +902,37 @@ export function createPeerRuntime({ host, roundtable, port, interfaces = network
780
902
 
781
903
  // Moves the listener to another address on the same port. When that fails it
782
904
  // tries the address it had; when that fails too nothing listens and the
783
- // card and `fuli peer status` say why. Trust never changes here.
784
- async function rebindCoordinator(address) {
905
+ // card and `fuli peer status` say why (an address that is only away is
906
+ // looked for again, awaitAddress). Trust never changes here.
907
+ // since: the count of stops when the operation that moves it began (now, for a move of its own).
908
+ // Answers the count to go on with: the move's own stop is part of it.
909
+ async function rebindCoordinator(address, since = stops) {
910
+ const stopped = await restart(since);
911
+ // Read after its own stop: an off that finished meanwhile left no listener to move.
785
912
  const settings = store().setting('coordinator');
786
- await stopAll();
787
- try { await startCoordinator({ host: address, port: settings.port, name: settings.name }); }
913
+ if (!settings) return stopped;
914
+ try { await startCoordinator({ host: address, port: settings.port, name: settings.name }, stopped); }
788
915
  catch (error) {
916
+ // A stop that came meanwhile ends the move: the address it had is not tried in its place.
917
+ live(stopped);
789
918
  onError(error);
790
919
  const failure = listenFailure;
791
- try { await startCoordinator({ host: settings.host, port: settings.port, name: settings.name }); }
792
- catch (again) { onError(again); return; }
920
+ try { await startCoordinator({ host: settings.host, port: settings.port, name: settings.name }, stopped); }
921
+ catch (again) { live(stopped); onError(again); awaitAddress(stopped); return stopped; }
793
922
  listenFailure = failure;
794
923
  }
795
- await startRunner();
924
+ await startRunner(stopped);
925
+ live(stopped);
926
+ return stopped;
927
+ }
928
+
929
+ // An operation's own stop of what runs, before it starts something in its place. Answers the count to go
930
+ // on with; any other stop meanwhile (close, off, another move) ends the operation instead.
931
+ async function restart(stopped) {
932
+ live(stopped);
933
+ await stopAll();
934
+ if (ending || stops !== stopped + 1) throw stoppedMeanwhile();
935
+ return stops;
796
936
  }
797
937
 
798
938
  // Trust written for a nearby pairing is kept only once the other computer
@@ -892,13 +1032,18 @@ export function createPeerRuntime({ host, roundtable, port, interfaces = network
892
1032
  }
893
1033
 
894
1034
  async function close() {
895
- clearTimeout(nearbyTimer);
896
- for (const timer of trustChecks) clearTimeout(timer);
897
- trustChecks.clear();
898
- pairingShare.close();
899
- pairing.close();
900
- presence.stop();
901
- await stopAll();
1035
+ ends += 1;
1036
+ ending += 1;
1037
+ try {
1038
+ clearTimeout(nearbyTimer);
1039
+ clearTimeout(graceTimer);
1040
+ for (const timer of trustChecks) clearTimeout(timer);
1041
+ trustChecks.clear();
1042
+ pairingShare.close();
1043
+ pairing.close();
1044
+ presence.stop();
1045
+ await stopAll();
1046
+ } finally { ending -= 1; }
902
1047
  }
903
1048
 
904
1049
  return { resume, status, searchShareable, shareableProject, enableCoordinator, createInvitation, previewInvitation, join, setShares, revokeDevice, disable,
@@ -18,10 +18,16 @@ project history. Explicit user-selected Agents and locked policies remain higher
18
18
  When no registered project matches, coordination may return an isolated temporary project;
19
19
  keep its exact returned ID for this task. Ambiguous candidates still require a choice. Temporary
20
20
  scope creation is not Agent recruitment approval or proof of execution; follow the returned
21
- recruitment/authorization state and worker plan. When you recruit with a `recruitmentProfile`, read
21
+ recruitment/authorization state and worker plan. A `new_durable` request may be answered by an Agent
22
+ already on the project: one of the wanted occupation with nothing under way there and every required
23
+ capability. It leads the task, `routingReason` is `idle_same_occupation` and no recruitment opens, so
24
+ nobody was hired: do not report a hire or ask the person to name one. Bole hires instead when the
25
+ project wants each Agent picked by name (`autoReusePreviousAgent` off), when the request carries a
26
+ `recruitmentProfile` or occupation tags, or when no idle Agent holds every required capability.
27
+ When you recruit with a `recruitmentProfile`, read
22
28
  `get_agent_naming_style` first and give its `displayName` in the person's style (omit it when the
23
29
  style is `null`); on `agent_name_taken` propose another free name in that style, and tell the person
24
- if you cannot find one. A pending recruitment may return `occupation_kits`: show the person each
30
+ if you cannot find one. A recruitment is pending only in a project that asks before a hire (off by default). A pending recruitment may return `occupation_kits`: show the person each
25
31
  kit (`read_occupation_kit` with its `occupation`), ask once which recommended Skills and MCP servers
26
32
  the new FLA uses, and pass their answer as `occupationKit` in `decide_project_agent_recruitment`.
27
33
  MCP servers are suggestions only: never connect one for them, and keys stay theirs.
@@ -30,8 +36,9 @@ When a checkpoint returns `triage.promotion` (a topic Astro looked after grew in
30
36
  unchanged. If it carries `start_question`, ask it with the host’s native choice: its `options` plus a free answer when
31
37
  `allow_other` is true. Only the person answers. On 马上开工 set each task in `on_yes.task_ids` to `queued` with
32
38
  `record_project_agent_task_activity` in `on_yes.personal_project_id`; on 先不 change nothing; record a free answer
33
- as their words and act on what it says. `team.handoffs` lists who Bole hired and each handover task; a position
34
- with status `unavailable` was not filled, so say so instead of reporting a full team.
39
+ as their words and act on what it says. `team.handoffs` holds the lead's handover task: a new project starts
40
+ with its lead alone and Bole hires others when a task needs them. Status `unavailable` means the handover
41
+ failed, so say so instead of reporting the lead briefed.
35
42
 
36
43
  Treat the returned durable Agent identity and a host worker as different things. A durable Agent
37
44
  keeps its project assignment, preferences, task history, and Agent-scoped graph memory while idle;
@@ -77,6 +77,8 @@ DeepSeek Harness (DSH) connects like the other clients, with its bundle linked i
77
77
 
78
78
  A client card that says the client wrote its old FULI entry back (Claude Desktop keeps its configuration in memory and writes it back when it saves settings or quits) cannot be fixed by connecting it again while it runs. Quitting and reopening a client (`POST /api/system/client-connection/restart`) is `local_user_only`: tell the person to press 「重启并更新」 on that card (「重启并接入」 in the first-run guide when it was open at its first connection), or to quit the client fully, update the connection, then reopen it.
79
79
 
80
+ A client FULI does not list is added by the person in 设置 › 客户端 (添加客户端, the last tile): naming its configuration file (`POST /api/system/client-connection/custom-clients`) is `local_user_only`, because FULI then writes its entry into that file. Once added, connecting it and removing it (which takes FULI's entry out of its file first) are client connections under the settings permission.
81
+
80
82
  Before FULI changes data it keeps a copy: a store's format backup, a graph export (before a Neo4j upgrade, a Docker move or an import), the runtime settings before a port change, a client's configuration before FULI connected it, a log's rotated copies. `read_old_data` lists them (what left each, `createdAt`, `bytes`, `restorable`) with how much live and old data take; with an `id` it lists that item's files, with an `id` and a `path` it returns one text file (first 32 KB, binaries refused). Answer from a backup by reading it there; never copy it elsewhere or edit it. Backups of stores that hold credentials and copies of client configs are listed but not read (`old_data_secret`), and those plus the AI permission stores and the delegation record go back only by the person's click (`old_data_restore_person_only`).
81
83
 
82
84
  - A `restorable` item goes back when the person asks: `run_delegated_action` with `POST /api/old-data/:id/restore` (settings permission). FULI first keeps the store as it is now as a new old-data item, then stops and starts again; say so, and undo it by restoring that newer item.
@@ -91,6 +93,7 @@ When the person asks what FULI did for them this week, read `read_compounding_st
91
93
  - Reported by Agents: `used` (`knowledge_used` events: Agents' own claims that knowledge mattered, cited or applied) and `done` (the status Agents gave their tasks). Say they are the Agents' claims; never present any number as a measured outcome, quality or time saved, and never add one FULI did not return.
92
94
  - A section named in `unavailable` could not be read now (for example the Graph Provider is down): say it is unavailable, never show it as zero or estimate it. Older tasks have no client or delivered preferences on record, so `carried` counts them by their recall alone.
93
95
  - Which clients and models did the work: pass `usage: true` (console `GET /api/statement/usage?from&to`). `usage.rows` (at most 20, `more` when there are others) gives per client and model `taskEntries` (task entries FULI recorded, each that carried knowledge or a habit) and `wakes` / `failedWakes` (wakes FULI started that answered / did not), all observed. `model` is what the client itself reported: Codex names it at task entry and Claude Code when woken; Claude Code, Cursor and OpenCode task entries and Codex wakes name none. A `null` model is unknown: say 模型未知 / unknown, never guess one from the client. `tokens` appears only where a woken client reported them (`client_reported`, for `tokens.wakes` wakes, answered or failed); task entries carry none, so never total or estimate tokens beyond what is listed. No outcome is recorded per task entry.
96
+ - Which ones, row by row, is the person's own read in the console, not an Agent tool: on 今天 the tiles 「次对话带上了你的习惯」 and 「条新学到的」 open the conversations that carried habits (each opens the habits it was handed) and the items newly learned and confirmed by the person (console `GET /api/statement/carried` and `/api/statement/learned`, this computer only; the item list is read with the console's owner proof because it names every FLA's items). The statement gives you the counts only: when asked which conversations or which items, say where the person can open them and do not reconstruct a list from other reads.
94
97
  - Tonborg's executor judgment (`assess_agent_action`) reads the same counts for the last 30 days as evidence (`recentUsage` beside its other inputs); it decides as before.
95
98
 
96
99
  ## Selecting tools
@@ -49,7 +49,7 @@ Bole and Tonborg are provisioned by the Provider as fixed native roles: `recruit
49
49
 
50
50
  Every Agent has a person-like nickname unique in its personal space. When recruiting or creating one, put the job in its occupation and responsibility, not its `displayName`: a job-title name or none is replaced by a generated name. Right before proposing a new Agent's `displayName` (`recruitmentProfile` or `upsert_project_agent`), call `get_agent_naming_style`: when the person saved a style (FLA 取名偏好), propose a name in it; when it returns `null`, omit `displayName`. A given name another Agent uses is refused with `agent_name_taken` and free generated names, before anything is written: propose another in the same style, or use one of them. If you cannot find a free name, tell the person; never reuse a taken one. Only the person edits the style, on their home page (「我」, `/preferences`) beside Bole, where it starts as FULI's own naming rule; leaving or restoring that default saves no style (`explain_settings` gives the link). Changing a style never renames existing Agents, and renaming an existing Agent to a taken name is refused the same way. Never rename an existing Agent on your own; a read may return `nameSuggestion` for the person to accept. When the person asks to rename any Agent, FULI's own roles included, call `rename_project_agent` (`displayName`; `null` gives Jefa, Bole, Tonborg or Astro its built-in name back): only the shown name changes, identity stays the `agentId`, and a renamed role still answers to its built-in name, which no other Agent may take. An Agent's avatar (a re-rolled drawing, an uploaded picture, or the default) is the person's choice; change it only when they ask, with `run_delegated_action` (`PUT /api/agent-avatars/:agentId`, organisation permission). The person's own home works the same way: their picture and what FULI calls them are set only there, on this computer (`PUT /api/person-profile` is `agent_relayed`: change it only with the person's exact words from chat; no Agent tool reads the picture). When they said how to be called, the task entry's `context.address_as` carries it: address them by it in replies, and never ask for it, guess it or write it into knowledge. Without it, keep your usual neutral address.
51
51
 
52
- LAN roundtable nearby pairing (rec#127; `lan_roundtable` permission, off until the person turns it on): with their go-ahead, an Agent may turn discovery on with `run_delegated_action` `POST /api/peer/nearby { on: true, name? }` (or `fuli peer nearby on [--name NAME]`) on each computer and start a pairing; it tells devices on that network that the computer runs FULI, under the name given or `FULI` plus four fingerprint characters (never the computer's own name). It turns itself off after a pairing or 30 minutes (`nearby.ended` says why, including `discovery_failed` with its reason); turning it on again while on keeps that end. Read `GET /api/peer` (`nearby.devices`: name, `fingerprint`, `paired`), then start `POST /api/peer/nearby/pair { fingerprint }` (`fuli peer pair <first 4+ characters>`). Both computers then show the same `nearby.pairing.code` for 2 minutes. While FULI is in its test phase an Agent may confirm it for the person who asked it to pair these two computers: `run_delegated_action` `POST /api/peer/nearby/confirm { requestId, code, fingerprint }` with `nearby.pairing.requestId`, the code, and `fingerprint`: 16 or more leading characters of the device the person named or you picked from `nearby.devices` (never copied from `nearby.pairing`, whose name any device on the network can choose). Without it the call is refused (`device_required`); when the waiting request is from another device it is refused and left for the person (`device_mismatch`). Each computer's Agent confirms its own side; a request nobody confirms ends after 2 minutes, so agree the time first. Say in your reply which device (name and fingerprint) and which 6 digits you confirmed, so the two sides can be compared; when the Agents' digits differ, undo the pairing at once (the coordinating computer revokes the device with `POST /api/peer/devices/:nodeId/revoke`; the one that joined leaves with `POST /api/peer/disable`) and tell the person. This returns to the person's own step before the formal launch. The person can still do it themself: tick 「两台电脑的 6 位数字一样」 and click 确认 on each computer, or run `fuli peer confirm <the code shown on the other computer>` there; a code that differs cancels the pairing (`code_mismatch`). `POST /api/peer/nearby/cancel` stops or refuses a request. Every pairing handshake is counted on each computer (`nearby.attempts`: 5 per 10 minutes, 10 per 24 hours); off and on, a restart or an Agent never clears it. At the limit (`nearby.limited`) tell the person that many attempts can mean someone is trying to pair uninvited; they may wait, or clear it themselves on that computer as a deliberate second step (「是我自己在试…」 then 确认清零, or `fuli peer nearby clear-attempts`; `POST /api/peer/nearby/attempts/clear` is `local_user_only`). `nearby.pairing.state` `waiting` means this computer trusts the other but it has not connected yet; only after its first connection is it `paired` (or `trust_withdrawn` when it never connects). When `coordinator.listenFailure` is set nothing listens (its address is gone); tell the person to turn the LAN roundtable off and on. Nobody picks the coordinator: the computer that already coordinates others keeps it, otherwise the one picked from the list. The computer that will join the other's group (the member; every invitation joiner) is told at confirm or preview, and by `fuli peer join` / `confirm`, that the other computer relays messages and decides who else is in the group, so pair only with one they trust; it is a hint, not a second confirmation. Pairing shares the leads of up to 8 projects the other computer reports having too: when the person confirms the code (on each computer), and on the computer that joins with an invitation (the screen and `fuli peer join` say so first), FULI shares once per paired device the lead of every project here whose own repository the coordinator reports the other computer also registered (never archived, temporary or session-only ones; a reference source never counts), with the lead's first allowed wake client and the folder only when a checkout is known and maps to that project. It waits until the coordinator holds both computers' digests under its current key (up to about 3 minutes). It shares nothing when more than 8 match (`skipped: too_many`) or when the group has any other computer (`skipped: group`; a share reaches every device in the group): then the person uses 「共享这 N 个相同的项目」, told that the other computers can ask those leads too (`groupSize` > 2). It never changes or removes an existing share, and a project the person shared or unticked since the pairing keeps their choice. `GET /api/peer` `autoShared` lists what each pairing shared or why it shared none, and the card names them (「配对后已共享:…」); `autoSharePending` is true while a pairing still waits for that answer. Known limit: on a computer that joined (a member), both the matching projects and who else is in the group come from the coordinating computer, which the member cannot check; a dishonest coordinator could hide other members, so the member's card says the other computer decides who else is in the group and anything unsure can be unticked. `shareable` is short: the shared projects and the suggestions; `shareable[].sameProjectOn` names paired computers whose project has the same own repository (matched on the coordinator with a key only the paired group has; a device never sees another's digests), and `knownFolder` a folder here whose Git origin is that repository (null: ask the person). Suggestions not shared yet (the coordinator of an invitation pairing, pairings from before this) are shared only by the person: 「共享这 N 个相同的项目」 or ticking them. Other projects are found by name with `GET /api/peer/shareable?query=<text>&limit=20` (`{ projects: [{ projectId, projectName }], more }`, no team reads) and read whole with `GET /api/peer/shareable/<projectId>` before adding them; nothing is shared until saved with `PUT /api/peer/shares` (the full list). A share list the coordinator did not get fails with `share_not_published` and shows in `lastPublish`.
52
+ LAN roundtable nearby pairing (rec#127; `lan_roundtable` permission, off until the person turns it on): with their go-ahead, an Agent may turn discovery on with `run_delegated_action` `POST /api/peer/nearby { on: true, name? }` (or `fuli peer nearby on [--name NAME]`) on each computer and start a pairing; it tells devices on that network that the computer runs FULI, under the name given or `FULI` plus four fingerprint characters (never the computer's own name). It turns itself off after a pairing or 30 minutes (`nearby.ended` says why, including `discovery_failed` with its reason); turning it on again while on keeps that end. Read `GET /api/peer` (`nearby.devices`: name, `fingerprint`, `paired`), then start `POST /api/peer/nearby/pair { fingerprint }` (`fuli peer pair <first 4+ characters>`). Both computers then show the same `nearby.pairing.code` for 2 minutes. While FULI is in its test phase an Agent may confirm it for the person who asked it to pair these two computers: `run_delegated_action` `POST /api/peer/nearby/confirm { requestId, code, fingerprint }` with `nearby.pairing.requestId`, the code, and `fingerprint`: 16 or more leading characters of the device the person named or you picked from `nearby.devices` (never copied from `nearby.pairing`, whose name any device on the network can choose). Without it the call is refused (`device_required`); when the waiting request is from another device it is refused and left for the person (`device_mismatch`). Each computer's Agent confirms its own side; a request nobody confirms ends after 2 minutes, so agree the time first. Say in your reply which device (name and fingerprint) and which 6 digits you confirmed, so the two sides can be compared; when the Agents' digits differ, undo the pairing at once (the coordinating computer revokes the device with `POST /api/peer/devices/:nodeId/revoke`; the one that joined leaves with `POST /api/peer/disable`) and tell the person. This returns to the person's own step before the formal launch. The person can still do it themself: tick 「两台电脑的 6 位数字一样」 and click 确认 on each computer, or run `fuli peer confirm <the code shown on the other computer>` there; a code that differs cancels the pairing (`code_mismatch`). `POST /api/peer/nearby/cancel` stops or refuses a request. Every pairing handshake is counted on each computer (`nearby.attempts`: 5 per 10 minutes, 10 per 24 hours); off and on, a restart or an Agent never clears it. At the limit (`nearby.limited`) tell the person that many attempts can mean someone is trying to pair uninvited; they may wait, or clear it themselves on that computer as a deliberate second step (「是我自己在试…」 then 确认清零, or `fuli peer nearby clear-attempts`; `POST /api/peer/nearby/attempts/clear` is `local_user_only`). `nearby.pairing.state` `waiting` means this computer trusts the other but it has not connected yet; only after its first connection is it `paired` (or `trust_withdrawn` when it never connects). When `coordinator.listenFailure` is set nothing listens. With `addressAway` true this computer does not have that address now (usually another network): the listener returns by itself once the same address is among `addresses` again and devices stay paired, so tell the person that, not to turn it off (off revokes every paired device). Only when they are back on their network and it was given a different address (the stored one is still not in `addresses`) is off and on, then pairing again, the way. Without `addressAway`, tell the person to turn the LAN roundtable off and on. Nobody picks the coordinator: the computer that already coordinates others keeps it, otherwise the one picked from the list. The computer that will join the other's group (the member; every invitation joiner) is told at confirm or preview, and by `fuli peer join` / `confirm`, that the other computer relays messages and decides who else is in the group, so pair only with one they trust; it is a hint, not a second confirmation. Pairing shares the leads of up to 8 projects the other computer reports having too: when the person confirms the code (on each computer), and on the computer that joins with an invitation (the screen and `fuli peer join` say so first), FULI shares once per paired device the lead of every project here whose own repository the coordinator reports the other computer also registered (never archived, temporary or session-only ones; a reference source never counts), with the lead's first allowed wake client and the folder only when a checkout is known and maps to that project. It waits until the coordinator holds both computers' digests under its current key (up to about 3 minutes). It shares nothing when more than 8 match (`skipped: too_many`) or when the group has any other computer (`skipped: group`; a share reaches every device in the group): then the person uses 「共享这 N 个相同的项目」, told that the other computers can ask those leads too (`groupSize` > 2). It never changes or removes an existing share, and a project the person shared or unticked since the pairing keeps their choice. `GET /api/peer` `autoShared` lists what each pairing shared or why it shared none, and the card names them (「配对后已共享:…」); `autoSharePending` is true while a pairing still waits for that answer. Known limit: on a computer that joined (a member), both the matching projects and who else is in the group come from the coordinating computer, which the member cannot check; a dishonest coordinator could hide other members, so the member's card says the other computer decides who else is in the group and anything unsure can be unticked. `shareable` is short: the shared projects and the suggestions; `shareable[].sameProjectOn` names paired computers whose project has the same own repository (matched on the coordinator with a key only the paired group has; a device never sees another's digests), and `knownFolder` a folder here whose Git origin is that repository (null: ask the person). Suggestions not shared yet (the coordinator of an invitation pairing, pairings from before this) are shared only by the person: 「共享这 N 个相同的项目」 or ticking them. Other projects are found by name with `GET /api/peer/shareable?query=<text>&limit=20` (`{ projects: [{ projectId, projectName }], more }`, no team reads) and read whole with `GET /api/peer/shareable/<projectId>` before adding them; nothing is shared until saved with `PUT /api/peer/shares` (the full list). A share list the coordinator did not get fails with `share_not_published` and shows in `lastPublish`.
53
53
 
54
54
  Guest links (访客链接, rec issue 133): someone on the same network whose computer has no FULI asks one project, read-only, from their own AI client. The person makes a link on the project page (生成: 1, 7 or 30 days, 7 by default) and copies either a `claude mcp add --transport http …` line for Claude Code or one sentence for any AI that can run commands; the token (`fgl_…`) is shown only in that dialog, and FULI keeps only its SHA-256. While at least one link is live, FULI listens on port 2729 of this computer's private addresses, apart from the console, and looks them up again about every minute (a physical adapter's address is the one offered); with none it does not listen. A carrier-grade NAT address (100.64.0.0/10) is served and accepted only on an adapter named like a VPN (Tailscale, WireGuard, ZeroTier, utun, tun, tap, vpn), never one an ISP hands out directly. A holder sends the token only as `Authorization: Bearer fgl_…` and reaches exactly `GET /guest/1/card` (project name, its lead's name and responsibility, expiry, how to ask; cleaned and recorded like a paired computer's card) and `POST /guest/1/search { queries: [1-4] }` (the same narrowed search as a paired computer's visiting assistant: that project's own confirmed, current, normal-sensitivity knowledge, at most 8 items per query and 16 KB, no local paths, recorded per attempt under `guest:<linkId>`; cards and searches together 30 per 10 minutes and 300 a day per link, within the project's own limits), plus the same two as MCP tools at `/guest/1/mcp` (`guest_card`, `search_project_knowledge`; nothing else is registered there). Revoking a link refuses its token at once and closes its open MCP sessions; an expired link's sessions close when FULI notices the expiry. A request under way when its link is revoked or expires gets the same refusal: one whose body arrives after that starts nothing, and a result ready after that is not returned. Such a late refusal is counted as a refused visit but not as a failed token, so one revocation never locks an address out. The owner sees each contact made with a valid token under 「最近被问」 as 「访客链接 guest-…」. A holder never reaches the console or `/api/*`, another project, preferences, FLA memory, pending, historical, private or restricted knowledge, or any write; a link only asks, and requests that run work are not offered. A missing, wrong, expired or revoked token gets the same `401`; 10 failures from one address in 10 minutes give `429` for 10 minutes, even with a right token, so a guest behind the same NAT as someone guessing waits too. The link card counts today's refused wrong-token visits (no addresses; it restarts from zero when FULI restarts). The link works only on the same network and travels there unencrypted.
55
55
 
@@ -30,6 +30,11 @@ export async function detectClients(installer) {
30
30
  return { status: 'available', clients: answer.clients.filter((client) => client.platformSupported).map(clientOf) };
31
31
  }
32
32
 
33
+ // The MCP files of every client in an installer status answer, on this
34
+ // platform or not: the files a client described by hand may not name.
35
+ export const listedMcpFiles = (clients) => clients.flatMap((client) => (client.componentStates ?? [])
36
+ .filter(({ component }) => component === 'mcp').flatMap(({ paths }) => paths ?? []));
37
+
33
38
  function clientOf(client) {
34
39
  const states = client.componentStates.filter(({ state }) => state !== 'unsupported');
35
40
  const components = Object.fromEntries(states.map(({ component, state }) => [component, state]));
@@ -49,22 +54,25 @@ function clientOf(client) {
49
54
 
50
55
  const hasFuli = (client) => Object.values(client.components).some((state) => PRESENT.has(state));
51
56
 
52
- // The built-in clients FULI sets up, in the shape setup, uninstall and start
53
- // read: `available` (the client is on this machine), `manualOnly` (the
54
- // person configures it by hand), `integrationStatus` and
55
- // `integrationDetails` (component states).
57
+ // One client in the shape setup, uninstall and start read: `available` (the
58
+ // client is on this machine), `manualOnly` (the person configures it by
59
+ // hand), `integrationStatus` and `integrationDetails` (component states).
60
+ const agentOf = (client) => ({
61
+ id: client.id, label: client.label, available: client.detected, ...(client.manual ? { manualOnly: true } : {}),
62
+ integrationStatus: client.connected ? 'connected' : hasFuli(client) ? 'update_available' : 'not_connected',
63
+ integrationDetails: client.components });
64
+
65
+ // The built-in clients FULI sets up.
56
66
  export async function detectAgents(installer) {
57
67
  const answer = await detectClients(installer);
58
68
  if (answer.status !== 'available') return answer;
59
- return { status: 'available', agents: answer.clients.filter((client) => client.builtin).map((client) => ({
60
- id: client.id, label: client.label, available: client.detected, ...(client.manual ? { manualOnly: true } : {}),
61
- integrationStatus: client.connected ? 'connected' : hasFuli(client) ? 'update_available' : 'not_connected',
62
- integrationDetails: client.components })) };
69
+ return { status: 'available', agents: answer.clients.filter((client) => client.builtin).map(agentOf) };
63
70
  }
64
71
 
65
- // One client as agent-installer finds it now, or null when it cannot say:
66
- // the self-check after a connection.
72
+ // One client as agent-installer finds it now, built-in or described by hand,
73
+ // or null when it cannot say: the self-check after a connection.
67
74
  export async function inspectAgent(installer, id) {
68
- const answer = await detectAgents(installer);
69
- return answer.status === 'available' ? answer.agents.find((agent) => agent.id === id) ?? null : null;
75
+ const answer = await detectClients(installer);
76
+ const client = answer.status === 'available' ? answer.clients.find((candidate) => candidate.id === id) : null;
77
+ return client ? agentOf(client) : null;
70
78
  }