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
@@ -1,6 +1,6 @@
1
1
  import { readdirSync, readFileSync, unlinkSync } from 'node:fs';
2
2
  import { homedir } from 'node:os';
3
- import { isAbsolute, join, relative, sep } from 'node:path';
3
+ import { isAbsolute, join, relative, resolve, sep } from 'node:path';
4
4
 
5
5
  import { InvalidInputError } from '../app/application-error.js';
6
6
  import { writeJsonFileAtomic } from '../storage/json-file.js';
@@ -37,14 +37,20 @@ export function customClientStore({ extensionsDir, home = homedir() }) {
37
37
  return new Set(fileIds().filter((id) => CLIENT_ID.test(id) && ownShape(read(id))));
38
38
  }
39
39
  // takenIds: client IDs the installer already lists, built-in or not. A file
40
- // already in the directory is never replaced.
41
- function add(input, takenIds) {
40
+ // already in the directory is never replaced. takenFiles: the MCP files of
41
+ // the clients it lists (`~/…` or absolute); another client's file is never
42
+ // named again, so two writers never take turns in it.
43
+ function add(input, takenIds, takenFiles = []) {
42
44
  if (!extensionsDir) throw new TypeError('This machine has no shared agent-clients directory');
43
45
  const name = requiredString(input?.name, 'name', MAX_NAME).trim();
44
46
  if (/[\r\n]/.test(name)) throw new InvalidInputError('name must be one line');
45
47
  const format = input?.format ?? CUSTOM_CLIENT_FORMATS[0];
46
48
  if (!CUSTOM_CLIENT_FORMATS.includes(format)) throw new InvalidInputError(`format must be one of ${CUSTOM_CLIENT_FORMATS.join(', ')}`);
47
49
  const file = homePath(requiredString(input?.mcpFile, 'mcpFile').trim(), home);
50
+ const key = comparable(file, home);
51
+ if (takenFiles.some((taken) => comparable(taken, home) === key)) {
52
+ throw new InvalidInputError('mcpFile is the configuration file of a client already listed; name the file of the client you are adding');
53
+ }
48
54
  const id = uniqueId(slug(name), new Set([...takenIds, ...fileIds()]));
49
55
  writeJsonFileAtomic(fileOf(id), { schemaVersion: 1, name,
50
56
  install: { detect: [{ path: file }], mcp: { file, format } } });
@@ -62,16 +68,27 @@ function ownShape(value) {
62
68
  && Object.keys(value).every((key) => FILE_KEYS.has(key)) && Object.hasOwn(value, 'install');
63
69
  }
64
70
 
65
- // The installer takes paths under the home directory as `~/…` with `/`.
71
+ // The installer takes paths under the home directory as `~/…` with `/`, and
72
+ // refuses `..`; so does FULI, in both forms and with either separator, and the
73
+ // resolved file must be inside the home folder.
74
+ const TILDE = /^~(?:[\\/]|$)/;
75
+
66
76
  function homePath(path, home) {
67
- if (path === '~' || path.startsWith('~/') || path.startsWith('~\\')) return path.replaceAll('\\', '/');
68
- const inside = isAbsolute(path) ? relative(home, path) : null;
69
- if (!inside || inside.startsWith('..') || isAbsolute(inside)) {
77
+ const resolved = TILDE.test(path) ? join(home, path.slice(1).replaceAll('\\', '/')) : isAbsolute(path) ? path : null;
78
+ const inside = resolved === null ? null : relative(home, resolved);
79
+ if (!inside || path.split(/[\\/]/).includes('..') || inside.split(sep)[0] === '..' || isAbsolute(inside)) {
70
80
  throw new InvalidInputError('mcpFile must be a file in your home folder, such as ~/.acme/mcp.json');
71
81
  }
72
82
  return `~/${inside.split(sep).join('/')}`;
73
83
  }
74
84
 
85
+ // One file's path in a form two spellings of it share; null when it is not
86
+ // one FULI can place (an installer path with another root).
87
+ function comparable(path, home) {
88
+ const absolute = TILDE.test(path) ? join(home, path.slice(1)) : isAbsolute(path) ? resolve(path) : null;
89
+ return absolute && (process.platform === 'linux' ? absolute : absolute.toLowerCase());
90
+ }
91
+
75
92
  function slug(name) {
76
93
  const text = name.toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^[^a-z]+|-+$/g, '').slice(0, 48);
77
94
  return CLIENT_ID.test(text) ? text : FALLBACK_ID;
@@ -89,8 +89,8 @@ const UI_MUTATION_PARITY = Object.freeze([
89
89
  local('POST /api/session-launch/new-session', 'Opening a new session starts a program (a terminal window) on this computer, so it happens only on the person\'s own click in the console; an Agent that wants another client to take over gives the person the one-sentence prompt instead.'),
90
90
  delegable('settings', 'POST /api/system/client-connection/connect', 'Run it again with the opposite action for that client.'),
91
91
  local('POST /api/system/client-connection/restart', 'Restarting a client quits that app and ends its open sessions, so it happens only on the person\'s own click in the console on this computer; an Agent tells the person to quit the client, update the connection, then reopen it.'),
92
- delegable('settings', 'POST /api/system/client-connection/custom-clients','Remove it with DELETE /api/system/client-connection/custom-clients/:clientId.'),
93
- delegable('settings', 'DELETE /api/system/client-connection/custom-clients/:clientId', 'Describe it again with POST /api/system/client-connection/custom-clients.'),
92
+ local('POST /api/system/client-connection/custom-clients', 'Adding a client names a file in the person\'s home folder that FULI then writes its entry into, so the person chooses it themself in Settings › 客户端 on this computer; an Agent tells them where.'),
93
+ delegable('settings', 'DELETE /api/system/client-connection/custom-clients/:clientId', 'The person adds it again in Settings › 客户端 (添加客户端).'),
94
94
  local('POST /api/system/graph-migration', 'Moving an older install\'s Docker graph into the built-in graph stops and restarts FULI; the person starts it from Settings. An Agent can read GET /api/system/doctor, and when the click cannot finish, follow the guide the doctor item links (data.guideUrl) with the person.'),
95
95
  delegable('settings', 'POST /api/system/doctor/repair', 'Not undone; it rewrites client configuration to what setup writes.'),
96
96
  // An npm copy beside the desktop app: removing it changes the person's own computer, so it takes their words.
@@ -0,0 +1,25 @@
1
+ // FULI's four built-in roles, which every personal space has: Jefa, Bole,
2
+ // Tonborg and Astro (package id `assistant`). This is the Node side's one
3
+ // declaration of who they are; everything else here names a role through it.
4
+ // The Provider provisions the identities and declares the same four in
5
+ // graph-provider/fuli_graph/fixed_roles.py, the console in
6
+ // web/src/features/agent-profile/fixed-roles.ts. The three cannot import each
7
+ // other, so test/fixed-roles-contract.test.js keeps them alike. Imports
8
+ // nothing: modules with no other dependency read it too.
9
+ const role = (id, agentType) => Object.freeze({
10
+ // The same spelling as employeeAgentId and employeeCapability (manifest.js).
11
+ agentId: `employee.${id}`, capability: `fuli.employee:${id}`, agentType
12
+ });
13
+
14
+ export const FIXED_ROLES = Object.freeze({
15
+ jefa: role('jefa', 'coordinator'),
16
+ bole: role('bole', 'hr'),
17
+ tonborg: role('tonborg', 'durable'),
18
+ assistant: role('assistant', 'durable'),
19
+ });
20
+
21
+ export const JEFA_AGENT_ID = FIXED_ROLES.jefa.agentId;
22
+ export const BOLE_AGENT_ID = FIXED_ROLES.bole.agentId;
23
+ export const TONBORG_AGENT_ID = FIXED_ROLES.tonborg.agentId;
24
+ // Astro receives the conversations no project has claimed yet.
25
+ export const ASSISTANT_AGENT_ID = FIXED_ROLES.assistant.agentId;
@@ -1,6 +1,7 @@
1
1
  import { openFormattedDatabase, sqliteFormat } from '../../packages/roundtable/src/storage/database-format.js';
2
2
  import { z } from 'zod';
3
- import { EmployeeError, FIXED_EMPLOYEE_AGENT_TYPES } from './manifest.js';
3
+ import { FIXED_ROLES } from './fixed-roles.js';
4
+ import { EmployeeError } from './manifest.js';
4
5
 
5
6
  const projectId = z.string().min(1).max(256);
6
7
  const employeeManagementSchema = z.object({
@@ -81,7 +82,7 @@ export function managementFor(manifest, agent, stored) {
81
82
  // Upgrades preserve existing authorization. Only a new recruitment uses the
82
83
  // template default; an existing employee opts in by saving the new all rule.
83
84
  // A fixed role nobody has assigned yet is still in its template default.
84
- const configured = agent && !(Object.hasOwn(FIXED_EMPLOYEE_AGENT_TYPES, manifest.id) && !agent.assignments?.length);
85
+ const configured = agent && !(Object.hasOwn(FIXED_ROLES, manifest.id) && !agent.assignments?.length);
85
86
  return { revision: 0, mode: configured ? 'selected' : manifest.defaultProjectScope ?? 'selected',
86
87
  projectIds: [...new Set((agent?.assignments ?? []).filter(a => a.status === 'active').map(a => a.personalProjectId))],
87
88
  excludedProjectIds: [], titleMode: manifest.taskEntry ? 'auto' : 'suggest', titleStyle: 'emoji' };
@@ -46,9 +46,6 @@ export function parseEmployeeManifest(value) {
46
46
  return parsed.data;
47
47
  }
48
48
 
49
- // Built-in roles every personal space has; the Provider provisions their identities.
50
- export const FIXED_EMPLOYEE_AGENT_TYPES = Object.freeze({ jefa: 'coordinator', bole: 'hr', tonborg: 'durable', assistant: 'durable' });
51
-
52
49
  export const employeeAgentId = (id) => `employee.${packageIdentifier.parse(id)}`;
53
50
  export const employeeCapability = (id) => `fuli.employee:${packageIdentifier.parse(id)}`;
54
51
 
@@ -1,12 +1,12 @@
1
1
  import { createHash } from 'node:crypto';
2
- import { EmployeeError, FIXED_EMPLOYEE_AGENT_TYPES, employeeAgentId, employeeCapability } from './manifest.js';
2
+ import { ASSISTANT_AGENT_ID, FIXED_ROLES } from './fixed-roles.js';
3
+ import { EmployeeError, employeeAgentId, employeeCapability } from './manifest.js';
3
4
  import {
4
5
  activeEmployeeAssignments, employeeAssignmentsVersion,
5
6
  parseEmployeeProjectSelection, resolveEmployeeProjectSelection,
6
7
  } from './project-selection.js';
7
8
  import { managementFor, managementWithoutRevision, parseEmployeeManagement, policyAllowsProject } from './management-policy.js';
8
9
  import { coversClient } from '../agents/source-applications.js';
9
- import { ASSISTANT_AGENT_ID } from '../graphiti/assistant-identity.js';
10
10
 
11
11
  // The global assistant (Astro) answers outside projects; it has no project scope.
12
12
  const globalOnly = manifest => employeeAgentId(manifest.id) === ASSISTANT_AGENT_ID;
@@ -73,7 +73,7 @@ export function createEmployeeRecruitment({ app, registry, managementStore }) {
73
73
  runtimeStatus,
74
74
  agentId: owned ? agent.agentId : null,
75
75
  agentStatus: owned ? agent.profile.status : null,
76
- fixed: Object.hasOwn(FIXED_EMPLOYEE_AGENT_TYPES, manifest.id),
76
+ fixed: Object.hasOwn(FIXED_ROLES, manifest.id),
77
77
  assignmentsVersion: employeeAssignmentsVersion(owned ? agent : null, stored),
78
78
  management, managedProjects,
79
79
  assignmentCount: owned ? activeEmployeeAssignments(agent).length : 0,
@@ -143,14 +143,14 @@ export function createEmployeeRecruitment({ app, registry, managementStore }) {
143
143
  if (!agent || agent.profile.status !== 'active') {
144
144
  // A fixed employee's occupation ships with the Provider and is locked there.
145
145
  const occupation = input.occupation;
146
- if (!agent && !occupation && !Object.hasOwn(FIXED_EMPLOYEE_AGENT_TYPES, manifest.id)) {
146
+ if (!agent && !occupation && !Object.hasOwn(FIXED_ROLES, manifest.id)) {
147
147
  throw new EmployeeError('New employees require occupation.role', 422, 'occupation_required');
148
148
  }
149
149
  const profile = agent ? { ...agent.profile, status: 'active' } : {
150
150
  name: manifest.name,
151
151
  occupationEmoji: manifest.occupationEmoji,
152
152
  responsibility: `${manifest.role}:${manifest.description}`,
153
- agentType: FIXED_EMPLOYEE_AGENT_TYPES[manifest.id] ?? 'durable', status: 'active',
153
+ agentType: FIXED_ROLES[manifest.id]?.agentType ?? 'durable', status: 'active',
154
154
  capabilities: [...manifest.capabilities, employeeCapability(manifest.id)],
155
155
  workKinds: manifest.workKinds,
156
156
  initialPreferences: manifest.initialPreferences,
@@ -133,7 +133,7 @@ export async function planAgentCollaboration(application, input) {
133
133
  // Bole hires by the occupation the workstream asked for, not by guessing from its work kind.
134
134
  ...(stream.occupation ? { recruitmentOccupation: { role: stream.occupation, tags: [] } } : {}) },
135
135
  requires: ['idempotencyKey', 'title', 'objective', 'routingReason', 'contextQueries'],
136
- coordinatorAgentId: policy.team_lead_agent_id ?? null, askBeforeRecruitment: policy.ask_before_recruitment !== false,
136
+ coordinatorAgentId: policy.team_lead_agent_id ?? null, askBeforeRecruitment: policy.ask_before_recruitment === true,
137
137
  guidance: 'Reuse one stable idempotencyKey for this staffing need so a retry reuses the same recruitment. When askBeforeRecruitment is true, AR only proposes a hire; confirm with the user before it is staffed. Recruiting executes nothing.' });
138
138
  const subTeamCoordinator = subLeads.has(coordinatorAgentId) || memberOwner;
139
139
  const recruitment = shown.length || unavailableCandidates.length || subTeamCoordinator ? null : recruit(input);
@@ -19,6 +19,7 @@ export const ASTRO_OPERATION = 'project_candidate';
19
19
  const OPERATION = ASTRO_OPERATION;
20
20
  // One logical decision on the task-entry hot path, retry, repair and backoff
21
21
  // included; the port's shared deadline enforces it and aborts the request.
22
+ // It is sent as hotPath: a timeout under it is not the role's failure (rec#139).
22
23
  const HOT_PATH_TIMEOUT_MS = 3000;
23
24
  const PROMPT_OPENING_CHARS = 600;
24
25
  const DESCRIPTION_CHARS = 240;
@@ -116,7 +117,7 @@ function candidateRequest(task, personalSpaceId, taskPrompt, candidates) {
116
117
  requestId: `${OPERATION}:${contentHash({ scope, evidenceVersion, promptVersion: PROMPT_VERSION })}`,
117
118
  scope, versions: { evidence: evidenceVersion, policy: PROMPT_VERSION }, instructions: INSTRUCTIONS, evidence,
118
119
  output: { type: 'choice', options: [...ids.map(id => ({ id, description: `The task belongs to the project in evidence ${id}.` })), NONE_OPTION] },
119
- decisions: ['propose'], budget: { timeoutMs: HOT_PATH_TIMEOUT_MS }
120
+ decisions: ['propose'], budget: { timeoutMs: HOT_PATH_TIMEOUT_MS, hotPath: true }
120
121
  };
121
122
  }
122
123
 
@@ -1,5 +1,5 @@
1
1
  import { projectByName, projectNames } from './task-entry-project-mention.js';
2
- import { ASSISTANT_AGENT_ID } from './assistant-identity.js';
2
+ import { ASSISTANT_AGENT_ID, JEFA_AGENT_ID } from '../employees/fixed-roles.js';
3
3
  import { PROPOSAL_MIN_CONVERSATIONS, topicOutcome } from './topic-proposals.js';
4
4
  import { ApplicationError, ApplicationErrorCode } from '../app/application-error.js';
5
5
 
@@ -53,7 +53,7 @@ export async function recordTriage(application, task, conversation, label) {
53
53
  personal_space_id: spaceId, conversation_id: conversation.conversation_id, kind: label.kind,
54
54
  personal_project_id: projectId, topic: label.kind === 'topic' ? label.topic : null, source: 'host'
55
55
  });
56
- const result = { status: 'recorded', recorded_by: 'employee.jefa', ...recorded.triage,
56
+ const result = { status: 'recorded', recorded_by: JEFA_AGENT_ID, ...recorded.triage,
57
57
  ...(recorded.kept ? { kept: recorded.kept } : {}) };
58
58
  if (!recorded.kept && label.kind === 'topic' && recorded.topic_count >= PROPOSAL_MIN_CONVERSATIONS) {
59
59
  // A formed project (D-86) is announced; otherwise the person is asked.
@@ -1,9 +1,8 @@
1
1
  import { nativeChoiceInteraction } from '../conversations/human-interaction.js';
2
- import { FIXED_EMPLOYEE_AGENT_TYPES, employeeAgentId, employeeCapability } from '../employees/manifest.js';
2
+ import { ASSISTANT_AGENT_ID, FIXED_ROLES, TONBORG_AGENT_ID } from '../employees/fixed-roles.js';
3
3
  import { identityKey } from '../text/name-identity.js';
4
4
  import { termIndex } from '../standing-assignments/term-match.js';
5
5
  import { agentUnavailableReason } from './agent-availability.js';
6
- import { ASSISTANT_AGENT_ID } from './assistant-identity.js';
7
6
  import { isPeerRoleAgent } from './project-team-view.js';
8
7
  import { projectDisplayName } from './task-entry-project-mention.js';
9
8
 
@@ -20,7 +19,7 @@ import { projectDisplayName } from './task-entry-project-mention.js';
20
19
  const PICKER_OPTIONS = 4;
21
20
  const GLOBAL_PROJECT = '全局';
22
21
  // Built-in roles that also work without a project (roleCandidates).
23
- const SPACE_ROLES = new Set([employeeAgentId('tonborg')]);
22
+ const SPACE_ROLES = new Set([TONBORG_AGENT_ID]);
24
23
  // Management peers, AR and the assistant are FULI's own roles, and temporary
25
24
  // Agents belong to one task: none is an FLA a person continues by name.
26
25
  const NOT_PICKABLE_TYPES = new Set(['hr', 'temporary']);
@@ -38,8 +37,7 @@ const FUZZY = 2;
38
37
  // project (its global scope); undefined is one whose projects all ended.
39
38
  export function flaCandidates(roster, projects, personalSpaceId) {
40
39
  const named = new Map(projects.map(project => [project.project_id, project]));
41
- return inSpace(roster, personalSpaceId).filter(agent => agent.agent_id !== ASSISTANT_AGENT_ID
42
- && !NOT_PICKABLE_TYPES.has(agent.profile?.agent_type)
40
+ return inSpace(roster, personalSpaceId).filter(agent => !NOT_PICKABLE_TYPES.has(agent.profile?.agent_type)
43
41
  && !isPeerRoleAgent({ agentId: agent.agent_id, agentType: agent.profile?.agent_type,
44
42
  capabilities: agent.profile?.capabilities ?? [] }))
45
43
  .flatMap(agent => placements(agent, named).map(placement => candidate(agent, placement)));
@@ -68,8 +66,8 @@ function inSpace(roster, personalSpaceId) {
68
66
 
69
67
  // The Provider's own identity of a fixed role, not an Agent reusing its id.
70
68
  function isFixedRole(agent) {
71
- return Object.keys(FIXED_EMPLOYEE_AGENT_TYPES).some(id => agent.agent_id === employeeAgentId(id)
72
- && (agent.profile?.capabilities ?? []).includes(employeeCapability(id)));
69
+ return Object.values(FIXED_ROLES).some(role => agent.agent_id === role.agentId
70
+ && (agent.profile?.capabilities ?? []).includes(role.capability));
73
71
  }
74
72
 
75
73
  function placements(agent, named) {
@@ -22,6 +22,7 @@ export const JEFA_OPERATION = 'board_match';
22
22
  const OPERATION = JEFA_OPERATION;
23
23
  // One logical decision on the task-entry hot path, retry, repair and backoff
24
24
  // included; the port's shared deadline enforces it and aborts the request.
25
+ // It is sent as hotPath: a timeout under it is not the role's failure (rec#139).
25
26
  const HOT_PATH_TIMEOUT_MS = 3000;
26
27
  const PROMPT_OPENING_CHARS = 600;
27
28
  const SUMMARY_CHARS = 240;
@@ -144,7 +145,7 @@ function matchRequest(task, personalSpaceId, taskPrompt, listed) {
144
145
  requestId: `${OPERATION}:${contentHash({ scope, evidenceVersion, promptVersion: PROMPT_VERSION })}`,
145
146
  scope, versions: { evidence: evidenceVersion, policy: PROMPT_VERSION }, instructions: INSTRUCTIONS, evidence,
146
147
  output: { type: 'choice', options: [...ids.map(id => ({ id, description: `The task continues the board task in evidence ${id}.` })), NONE_OPTION] },
147
- decisions: ['propose'], budget: { timeoutMs: HOT_PATH_TIMEOUT_MS }
148
+ decisions: ['propose'], budget: { timeoutMs: HOT_PATH_TIMEOUT_MS, hotPath: true }
148
149
  };
149
150
  }
150
151
 
@@ -852,7 +852,7 @@ export function projectAgentCoordinationPolicyRecord(value = {}) {
852
852
  return {
853
853
  personalSpaceId: value.personal_space_id,
854
854
  personalProjectId: value.personal_project_id,
855
- askBeforeRecruitment: value.ask_before_recruitment ?? true,
855
+ askBeforeRecruitment: value.ask_before_recruitment ?? false,
856
856
  autoReusePreviousAgent: value.auto_reuse_previous_agent ?? true,
857
857
  autoGrowTeam: value.auto_grow_team ?? true,
858
858
  teamLeadAgentId: value.team_lead_agent_id ?? null,
@@ -868,8 +868,9 @@ export function providerProjectAgentCoordinationPolicy(input) {
868
868
  return {
869
869
  personal_space_id: input.personalSpaceId ?? input.personal_space_id,
870
870
  personal_project_id: input.personalProjectId ?? input.personal_project_id,
871
- ask_before_recruitment:
872
- input.askBeforeRecruitment ?? input.ask_before_recruitment ?? true,
871
+ // Stated only when the caller stated it: the Provider keeps the stored switch otherwise.
872
+ ...((input.askBeforeRecruitment ?? input.ask_before_recruitment) == null
873
+ ? {} : { ask_before_recruitment: input.askBeforeRecruitment ?? input.ask_before_recruitment }),
873
874
  auto_reuse_previous_agent:
874
875
  input.autoReusePreviousAgent ?? input.auto_reuse_previous_agent ?? true,
875
876
  ...(Object.hasOwn(input, 'autoGrowTeam') || Object.hasOwn(input, 'auto_grow_team')
@@ -1,9 +1,14 @@
1
+ import { FIXED_ROLES } from '../employees/fixed-roles.js';
2
+
1
3
  // One authoritative reading of a project's people. The coordination policy
2
4
  // owns the explicit hierarchy; active assignments decide who currently works
3
5
  // on the exact project. Assigned Agents outside the explicit team are shown as
4
6
  // collaborators and peer roles stay peers, never converted into direct reports.
5
- const PEER_AGENT_IDS = new Set(['employee.jefa', 'employee.bole', 'employee.tonborg', 'fuli-project-hr']);
6
- const PEER_CAPABILITIES = new Set(['fuli.employee:jefa', 'fuli.employee:bole', 'fuli.employee:tonborg']);
7
+ // FULI's own roles are peers of a project team, never its members.
8
+ const PEER_ROLES = Object.values(FIXED_ROLES);
9
+ // 'fuli-project-hr' is the AR identity from before Bole.
10
+ const PEER_AGENT_IDS = new Set([...PEER_ROLES.map(role => role.agentId), 'fuli-project-hr']);
11
+ const PEER_CAPABILITIES = new Set(PEER_ROLES.map(role => role.capability));
7
12
 
8
13
  export function isPeerRoleAgent({ agentId, agentType, capabilities = [] }) {
9
14
  return PEER_AGENT_IDS.has(agentId) || agentType === 'hr'
@@ -8,7 +8,7 @@ import { hostInternalActivity } from './task-entry-activity-origin.js';
8
8
  import { markerField as field, markerValue as unfield } from './task-agent-assignment.js';
9
9
  import { WAKE_CLIENTS } from '../../packages/roundtable/src/agents/wake-registry.js';
10
10
  import { DEFAULT_ROUND_LIMIT } from '../../packages/roundtable/src/roundtable/group-discussion.js';
11
- import { ASSISTANT_AGENT_ID } from './assistant-identity.js';
11
+ import { ASSISTANT_AGENT_ID } from '../employees/fixed-roles.js';
12
12
 
13
13
  // `#FLG …` (Fuli Agents Group, rec#55): the person invites several of their
14
14
  // FLAs to discuss a question in this chat. The entry only prepares it:
@@ -7,7 +7,7 @@ import { hostInternalActivity } from './task-entry-activity-origin.js';
7
7
  import { nameableProjects } from './task-entry-project-mention.js';
8
8
  import { sessionMarkers, sessionTaskContext } from './task-entry-standing-owner.js';
9
9
  import { agentUnavailableReason } from './agent-availability.js';
10
- import { employeeAgentId } from '../employees/manifest.js';
10
+ import { TONBORG_AGENT_ID } from '../employees/fixed-roles.js';
11
11
  import { TONBORG_EXPLAIN_METHOD } from '../judgment/explain-method.js';
12
12
  import { markerField as field, markerValue as unfield } from './task-agent-assignment.js';
13
13
 
@@ -40,7 +40,7 @@ const CONTINUE_GUIDANCE = 'The person named this FLA to continue its own work in
40
40
  + 'resume_agent_conversation before acting; otherwise find its conversation with list_agent_conversations. If the '
41
41
  + 'task to continue is unclear, ask. Later turns stay with this FLA until the person names another or says #FLA 结束.';
42
42
  // What a built-in role does when named, beyond continuing: Tonborg goes through its questions (explain-method.js).
43
- const ROLE_GUIDANCE = Object.freeze({ [employeeAgentId('tonborg')]: TONBORG_EXPLAIN_METHOD });
43
+ const ROLE_GUIDANCE = Object.freeze({ [TONBORG_AGENT_ID]: TONBORG_EXPLAIN_METHOD });
44
44
  const UNAVAILABLE_GUIDANCE = 'Tell the person this notice and do no task work: do not act as, or claim the context '
45
45
  + 'of, another FLA. They can name another FLA, pick one with #FLA, or end the binding with #FLA 结束.';
46
46
  const CHOOSE_GUIDANCE = 'Ask this now with the host native single-choice UI (a numbered list where there is none), '
@@ -8,7 +8,7 @@ import { applyAgentAssignment, unassignedMarkers } from './task-agent-assignment
8
8
  import { triageCandidates } from './conversation-triage.js';
9
9
  import { withProjectCandidate } from './assistant-project-candidate.js';
10
10
  import { withBoardMatch } from './jefa-board-match.js';
11
- import { ASSISTANT_AGENT_ID } from './assistant-identity.js';
11
+ import { ASSISTANT_AGENT_ID, TONBORG_AGENT_ID } from '../employees/fixed-roles.js';
12
12
  import { ATTENTION_REPLIES_GUIDANCE } from '../../packages/roundtable/src/roundtable/attention-inbox.js';
13
13
  import { AGENT_REPLIES_GUIDANCE, STAND_IN_HANDBACKS_GUIDANCE } from '../../packages/roundtable/src/roundtable/reply-inbox.js';
14
14
  import { captureDecision } from './capture-decision.js';
@@ -255,7 +255,7 @@ export const AUTO_JUDGMENT_GUIDANCE = 'Before choosing a new subagent, session,
255
255
  export async function taskJudgmentContext(application, personalProjectId) {
256
256
  const judgmentPolicy = await application.judgment?.policy({ personalSpaceId: application.config.personal.spaceId,
257
257
  personalProjectId: personalProjectId ?? null });
258
- return judgmentPolicy ? { agentId: 'employee.tonborg', policy: judgmentPolicy,
258
+ return judgmentPolicy ? { agentId: TONBORG_AGENT_ID, policy: judgmentPolicy,
259
259
  guidance: judgmentPolicy.mode === 'manual'
260
260
  ? 'Tonborg is available for advice via assess_agent_action; retain human review.'
261
261
  : AUTO_JUDGMENT_GUIDANCE } : null;
@@ -5,7 +5,7 @@ import { sessionTaskContext, withStandingOwner } from './task-entry-standing-own
5
5
  import { namedFlaRequest, namedFlaResolution, namedFlaTask } from './task-entry-named-fla.js';
6
6
  import { groupDiscussionRequest } from './task-entry-group-discussion.js';
7
7
  import { addressedAgentId } from './fla-mention.js';
8
- import { ASSISTANT_AGENT_ID } from './assistant-identity.js';
8
+ import { ASSISTANT_AGENT_ID } from '../employees/fixed-roles.js';
9
9
  import { sessionOwnerOf } from './task-entry-owner-change.js';
10
10
  import { REMOTE_CONFLICT } from './agent-project-resolution.js';
11
11
 
@@ -1,4 +1,5 @@
1
1
  import { receiptConsoleUrl } from '../agents/identity-receipt.js';
2
+ import { ASSISTANT_AGENT_ID } from '../employees/fixed-roles.js';
2
3
  import { createProjectNamed, projectByName } from './task-entry-project-mention.js';
3
4
  import { PERSON_WRITER, UNNAMED_AGENT_WRITER } from './project-profile-authors.js';
4
5
  import { sourceConsoleUrl } from './source-marker.js';
@@ -14,8 +15,8 @@ import { markdownLink } from '../text/markdown-link.js';
14
15
  // triage counts; no model is called. Forming also moves what the topic's
15
16
  // sessions held in their temporary projects into it, and an undo moves back
16
17
  // what nobody changed since (the Provider's topic_knowledge_migration). Then
17
- // Bole hires the project's first team and Astro hands the topic over to each
18
- // of them as a task of their own (topic-team-handoff.js).
18
+ // Astro hands the topic over to the project's lead as a task of its own
19
+ // (topic-team-handoff.js); Bole hires anyone else when a task needs them.
19
20
  export const PROPOSAL_MIN_CONVERSATIONS = 3;
20
21
  const PROPOSAL_MIN_DAYS = 2;
21
22
  const PROPOSAL_ASK_AGAIN_AFTER = 3;
@@ -39,7 +40,7 @@ export async function proposalForTopic(application, topic) {
39
40
  const [stats] = await topics(application, { topic, limit: 1 });
40
41
  if (!isProposable(stats) || (stats.count - (stats.declined_count ?? 0)) % PROPOSAL_ASK_AGAIN_AFTER !== 0) return null;
41
42
  const url = `${application.consoleUrl ?? sourceConsoleUrl(null)}/employees/assistant`;
42
- return { status: 'ask_user', proposed_by: 'employee.assistant', ...proposalView(stats), console_url: url,
43
+ return { status: 'ask_user', proposed_by: ASSISTANT_AGENT_ID, ...proposalView(stats), console_url: url,
43
44
  ask_user: `「${stats.topic}」已经聊了 ${stats.count} 次、跨 ${stats.days} 天,还没成立项目。`
44
45
  + `要为它成立项目、招人长期维护吗?请在 FULI 控制台决定:${url}`,
45
46
  guidance: 'Add ask_user to the end of your reply. Only the person decides, in the console; never form the project yourself.' };
@@ -64,7 +65,7 @@ async function promoteTopic(application, topic, { sourceApplication = 'other' }
64
65
  const formed = await formTopicProject(application, stats, existing, reason, sourceApplication);
65
66
  const link = `${receiptConsoleUrl(application)}/employees/assistant?${new URLSearchParams({
66
67
  promoted: formed.personal_project_id, topic: stats.topic })}`;
67
- return { ...formed, status: 'promoted', proposed_by: 'employee.assistant',
68
+ return { ...formed, status: 'promoted', proposed_by: ASSISTANT_AGENT_ID,
68
69
  notice: `FULI:话题「${stats.topic}」聊了 ${stats.count} 次、跨 ${stats.days} 天,已升级为项目「${stats.topic}」`
69
70
  + `${formed.knowledge_moved ? `,搬了 ${formed.knowledge_moved} 条知识` : ''}${teamNotice(formed.team)}。`
70
71
  + `${markdownLink('改名、换上级或撤销', link)}`,
@@ -74,20 +75,20 @@ async function promoteTopic(application, topic, { sourceApplication = 'other' }
74
75
  ? ' Then ask start_question with the native choice of the host; only the person answers it.' : '') };
75
76
  }
76
77
 
77
- // Whether the team starts now is the person's call at that moment (Jevons
78
- // 11-11): one click, with 其他 for their own words. Each handover is a
79
- // backlog task, so "yes" is setting those tasks to queued.
78
+ // Whether the lead starts now is the person's call at that moment (Jevons
79
+ // 11-11): one click, with 其他 for their own words. The handover is a
80
+ // backlog task, so "yes" is setting it to queued.
80
81
  function startQuestion(formed) {
81
82
  // Only a task waiting in the backlog can be started; a blocked one says why in the task itself.
82
83
  const tasks = (formed.team?.handoffs ?? []).filter(item => item.task_id && item.status === 'backlog').map(item => item.task_id);
83
84
  if (!tasks.length) return {};
84
- return { start_question: { ask: `「${formed.topic}」的团队现在就开工吗?`, options: ['马上开工', '先不'], allow_other: true,
85
+ return { start_question: { ask: `「${formed.topic}」的负责人现在就开工吗?`, options: ['马上开工', '先不'], allow_other: true,
85
86
  on_yes: { tool: 'record_project_agent_task_activity', status: 'queued', summary: '你说马上开工',
86
87
  personal_project_id: formed.personal_project_id, task_ids: tasks } } };
87
88
  }
88
89
 
89
90
  // The person said yes: an AI-draft brief, a lead staffed through AR, every
90
- // open conversation of the topic attached, and the team hired and briefed.
91
+ // open conversation of the topic attached, and the lead briefed.
91
92
  // People can rename, merge or split it afterwards.
92
93
  export async function acceptTopicProposal(application, { topic, sourceApplication = 'other' }) {
93
94
  const stats = await openTopic(application, topic);
@@ -1,33 +1,25 @@
1
- import { ASSISTANT_AGENT_ID } from './assistant-identity.js';
1
+ import { ASSISTANT_AGENT_ID } from '../employees/fixed-roles.js';
2
2
  import { sha256Bytes } from '../security/digest.js';
3
3
  import { singleLine } from '../text/single-line.js';
4
4
 
5
- // When a topic grows into a project (topic-proposals.js), Astro has Bole hire
6
- // a small team for it and hands the work over to each of them (Jevons 11-11).
7
- // Bole has no runtime of its own: hiring is the Provider's ordinary staffing
8
- // task, one per position. Each person's handover is a task of their own,
9
- // assigned and not started: the lead's carries the whole brief, a member's
10
- // says what they are there for. The brief is an index (dates and one-line
11
- // outcomes of the topic's conversations, how much knowledge moved); bodies
12
- // stay where they are and are read on demand. Nothing here calls a model, and
13
- // nothing here can undo the formation: a step that fails is reported.
14
-
15
- // The lead's own first rule ("执行与独立验收两位 FLA") decides who is hired
16
- // until the topic's own work kinds are read.
17
- const TEAM_POSITIONS = Object.freeze([
18
- { key: 'engineering', workKind: 'implementation', label: '开发',
19
- duty: '按负责人的拆分实现和修复,改动附可复现的验证。' },
20
- { key: 'verification', workKind: 'verification', label: '独立验收',
21
- duty: '独立验收别人的实质性改动:自己复现、自己判断,不沿用实现者的结论。' }
22
- ]);
5
+ // When a topic grows into a project (topic-proposals.js), Astro hands the
6
+ // work over to the project's lead, and to nobody else: a new project starts
7
+ // with its lead alone (Jevons 11-17, replacing the first team of 11-11).
8
+ // Whoever else it needs is hired by Bole when a task finds nobody for it, and
9
+ // that hire asks no confirmation in a project Astro formed (rec#11 D-84). The
10
+ // handover is a task of the lead's own, assigned and not started, carrying
11
+ // the brief: an index (dates and one-line outcomes of the topic's
12
+ // conversations, how much knowledge moved); bodies stay where they are and are
13
+ // read on demand. Nothing here calls a model, and nothing here can undo the
14
+ // formation: a step that fails is reported.
23
15
  const BRIEF_CONVERSATIONS = 8;
24
16
  const OUTCOME_CHARS = 120;
25
17
  const TOPIC_CHARS = 60;
26
18
  const CONVERSATION_PAGE = 50;
27
19
 
28
20
  // topic, projectId and lead come from the formation; conversationIds and
29
- // knowledgeMoved from what it attached. Returns who was hired and what each
30
- // was handed, for the notice and the console.
21
+ // knowledgeMoved from what it attached. Returns what the lead was handed, for
22
+ // the notice and the console.
31
23
  export async function staffTopicTeam(application, { topic, projectId, lead, created, conversationIds, knowledgeMoved,
32
24
  sourceApplication = 'other' }) {
33
25
  const spaceId = application.config.personal.spaceId;
@@ -48,29 +40,19 @@ export async function staffTopicTeam(application, { topic, projectId, lead, crea
48
40
  const handoffs = [await submit('lead', { lead_agent_id: lead.agent_id, staffing_intent: 'reuse_preferred',
49
41
  work_kind: 'project_context', title: `接手「${name}」`, objective: brief,
50
42
  routing_reason: 'Astro hands the topic it looked after over to the project lead.' })];
51
- // A project that already had people keeps its team: only the lead is briefed.
52
- if (created && await withoutApproval(application, spaceId, projectId)) {
53
- for (const position of TEAM_POSITIONS) {
54
- handoffs.push({ ...await submit(position.key, { staffing_intent: 'new_durable', work_kind: position.workKind,
55
- coordinator_agent_id: lead.agent_id, title: `接手「${name}」:${position.label}`,
56
- objective: `${position.duty}\n负责人:${lead.profile?.display_name ?? lead.profile?.name ?? lead.agent_id}。\n\n${brief}`.slice(0, 4096),
57
- routing_reason: 'Astro asked Bole for the team of a topic that grew into a project.',
58
- recruitment_profile: { name: `${name} ${position.label}`, responsibility: position.duty,
59
- work_kinds: [position.workKind], agent_type: 'durable' } }), label: position.label });
60
- }
61
- }
43
+ // A project that already had people keeps its own recruitment setting.
44
+ if (created) await hireWithoutAsking(application, spaceId, projectId);
62
45
  return { handoffs, conversations: conversationIds.length, knowledge: knowledgeMoved };
63
46
  }
64
47
 
65
- // A project Astro just formed hires its first team without a confirmation
66
- // each (rec#11 D-84); the person can turn asking back on in the project's
67
- // settings. False when the policy could not be saved: nobody is hired then.
68
- async function withoutApproval(application, spaceId, projectId) {
48
+ // A project Astro just formed lets Bole hire without a confirmation each
49
+ // (rec#11 D-84); the person can turn asking back on in the project's
50
+ // settings. A policy that could not be saved leaves the project asking.
51
+ async function hireWithoutAsking(application, spaceId, projectId) {
69
52
  try {
70
53
  await application.personal.updateProjectAgentCoordinationPolicy({ personal_space_id: spaceId,
71
54
  personal_project_id: projectId, ask_before_recruitment: false });
72
- return true;
73
- } catch { return false; }
55
+ } catch { /* the project keeps asking before each hire */ }
74
56
  }
75
57
 
76
58
  function handed(position, route) {
@@ -110,12 +92,7 @@ function handoffBrief(topic, conversations, conversationCount, knowledgeMoved) {
110
92
  ].join('\n');
111
93
  }
112
94
 
113
- // One sentence for the receipt: who Bole hired and what Astro handed over.
95
+ // For the receipt: that Astro handed the topic over, once the lead has the task.
114
96
  export function teamNotice(team) {
115
- if (!team) return '';
116
- const hired = team.handoffs.filter(item => item.agent_id && item.position !== 'lead');
117
- const people = hired.map(item => `${item.label} ${item.name ?? item.agent_id}`).join('、');
118
- const handed = team.handoffs.filter(item => item.task_id).length;
119
- return `${hired.length ? `,Bole 招了 ${hired.length} 人(${people})` : ''}`
120
- + `${handed ? `,Astro 已交接给 ${handed} 人` : ''}`;
97
+ return team?.handoffs.some(item => item.task_id) ? ',Astro 已交接给负责人' : '';
121
98
  }
@@ -170,7 +170,7 @@ export async function handleApiRequest({
170
170
  }
171
171
  sendJson(response, 200, request.method === 'POST'
172
172
  ? await system.addCustomClient(await readJson(request))
173
- : system.removeCustomClient(customClient[1]));
173
+ : await system.removeCustomClient(customClient[1]));
174
174
  return true;
175
175
  }
176
176
 
@@ -244,7 +244,7 @@ export async function handleApiRequest({
244
244
  if (await handleOccupationPluginsRequest({ request, response, url, app })) return true;
245
245
  if (await handleDreamingRequest({ request, response, url, app, ownerReads: knowledgeOwnerReads })) return true;
246
246
  if (await handleNoticesRequest({ request, response, url, app, delegation: agentDelegation, system })) return true;
247
- if (await handleStatementRequest({ request, response, url, app })) return true;
247
+ if (await handleStatementRequest({ request, response, url, app, ownerReads: knowledgeOwnerReads })) return true;
248
248
  if (await handleRetrospectivesRequest({ request, response, url, app })) return true;
249
249
  if (await handleSemanticRequest({ request, response, url, app, indexer: app.semanticIndexer ?? null })) return true;
250
250
  if (await handleEmbeddingModelsRequest({ request, response, url, embeddingModels: app.embeddingModels ?? null })) return true;
@@ -1,5 +1,7 @@
1
1
  import { InvalidInputError } from '../app/application-error.js';
2
2
  import { clientModelUsage, compoundingStatement, statementDays, statementDaysWindow, statementWindow } from '../statement/compounding-statement.js';
3
+ import { carriedTasks, learnedItems } from '../statement/detail-lists.js';
4
+ import { ownerReadsUnavailable } from './knowledge-item-api-router.js';
3
5
  import { refuseRemoteDecision } from './request-policy.js';
4
6
  import { sendJson } from './response.js';
5
7
 
@@ -7,13 +9,18 @@ import { sendJson } from './response.js';
7
9
  // this computer, like the workbench's notices: it counts what was done for
8
10
  // the person. from/to are the person's local week bounds the console computed;
9
11
  // /days takes a range of local days with the person's UTC offset; /usage the
10
- // clients and models the assistants worked with in from/to.
12
+ // clients and models the assistants worked with in from/to; /carried the
13
+ // conversations that carried habits and /learned the items captured and
14
+ // confirmed in from/to, the lists behind those numbers. /learned names every
15
+ // FLA's items, so it is read through ownerReads, the console's human-review port.
11
16
  const PATH = '/api/statement';
12
17
  const DAYS_PATH = '/api/statement/days';
13
18
  const USAGE_PATH = '/api/statement/usage';
14
- const PATHS = new Set([PATH, DAYS_PATH, USAGE_PATH]);
19
+ const CARRIED_PATH = '/api/statement/carried';
20
+ const LEARNED_PATH = '/api/statement/learned';
21
+ const PATHS = new Set([PATH, DAYS_PATH, USAGE_PATH, CARRIED_PATH, LEARNED_PATH]);
15
22
 
16
- export async function handleStatementRequest({ request, response, url, app }) {
23
+ export async function handleStatementRequest({ request, response, url, app, ownerReads = null }) {
17
24
  if (!PATHS.has(url.pathname)) return false;
18
25
  response.setHeader('Cache-Control', 'no-store');
19
26
  if (refuseRemoteDecision(request, response, 'The statement is read only on this computer')) return true;
@@ -27,6 +34,20 @@ export async function handleStatementRequest({ request, response, url, app }) {
27
34
  sendJson(response, 200, await clientModelUsage(app, statementWindow({ from: params.get('from'), to: params.get('to') })));
28
35
  return true;
29
36
  }
37
+ if (url.pathname === CARRIED_PATH) {
38
+ // The record of what task entries carried is this installation's own; without it there is no list, not an empty one.
39
+ if (!app.recallImpressions) {
40
+ sendJson(response, 503, { error: 'The conversations that carried habits are recorded only by a local FULI installation' });
41
+ return true;
42
+ }
43
+ sendJson(response, 200, carriedTasks(app, statementWindow({ from: params.get('from'), to: params.get('to') })));
44
+ return true;
45
+ }
46
+ if (url.pathname === LEARNED_PATH) {
47
+ if (!ownerReads) return ownerReadsUnavailable(response);
48
+ sendJson(response, 200, await learnedItems(app, ownerReads, statementWindow({ from: params.get('from'), to: params.get('to') })));
49
+ return true;
50
+ }
30
51
  if (params.has('weeks') && !/^\d{1,2}$/.test(params.get('weeks'))) throw new InvalidInputError('weeks must be a whole number of weeks');
31
52
  sendJson(response, 200, await compoundingStatement(app, statementWindow({ from: params.get('from'), to: params.get('to'),
32
53
  ...(params.has('weeks') ? { weeks: Number(params.get('weeks')) } : {}) })));