fuli-context 0.23.0 → 0.25.0

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 (681) hide show
  1. package/README.md +169 -979
  2. package/README.zh-CN.md +157 -830
  3. package/dist/web/assets/{AboutPage-S8QFfzpA.js → AboutPage-Dx07_Z8u.js} +1 -1
  4. package/dist/web/assets/{AboutSectionHeading-B5CzH4Zs.js → AboutSectionHeading-BdhpM609.js} +1 -1
  5. package/dist/web/assets/AgentAppsPage-5VW0uCTz.js +1 -0
  6. package/dist/web/assets/{AgentAppsPage-BuJWNNdL.css → AgentAppsPage-BCxrjrsE.css} +1 -1
  7. package/dist/web/assets/AgentAvatar-DbsG1_BY.css +1 -0
  8. package/dist/web/assets/AgentAvatar-DlAQP7gm.js +1 -0
  9. package/dist/web/assets/{AgentHand-BGGdVdd9.js → AgentHand-FPFg9-Y1.js} +1 -1
  10. package/dist/web/assets/AgentManagement-CLFw9oV9.css +1 -0
  11. package/dist/web/assets/AgentManagement-UTe4I3WA.js +7 -0
  12. package/dist/web/assets/AgentMentionCopy-B9eIIr3L.css +1 -0
  13. package/dist/web/assets/AgentMentionCopy-C5ExlutT.js +1 -0
  14. package/dist/web/assets/{AgentName-CUjBNQ8j.js → AgentName-C8mYbtKs.js} +1 -1
  15. package/dist/web/assets/AgentProfilePage-BLeyT3By.js +5 -0
  16. package/dist/web/assets/{AgentProfilePage-D5QUzw5N.css → AgentProfilePage-DumsVHP1.css} +1 -1
  17. package/dist/web/assets/AgentServicesPage-B2mDUgYZ.css +1 -0
  18. package/dist/web/assets/AgentServicesPage-BXi152Xc.js +1 -0
  19. package/dist/web/assets/{AppViewerPage-CcOlwxck.js → AppViewerPage-BR8ttEGa.js} +1 -1
  20. package/dist/web/assets/{BackToTop-C3KYEoCW.js → BackToTop-5_AQRMZl.js} +1 -1
  21. package/dist/web/assets/{BoardCardFieldsMenu-BlBWT1j7.js → BoardCardFieldsMenu-Bb_Z9a4Q.js} +1 -1
  22. package/dist/web/assets/{BoardMoveMenu-Bc7xC1Uh.js → BoardMoveMenu-B-f8O6cC.js} +1 -1
  23. package/dist/web/assets/{Breadcrumb-C_xMiD-Z.js → Breadcrumb-DtM5lZy5.js} +1 -1
  24. package/dist/web/assets/{CaptureChangePage-Bekp1aWg.js → CaptureChangePage-BzwcfacI.js} +1 -1
  25. package/dist/web/assets/ConnectionsPage-C_vgqwF2.js +1 -0
  26. package/dist/web/assets/ConnectionsPage-DS2PEG6K.css +1 -0
  27. package/dist/web/assets/{CopyFixPrompt-Bp-UX4Hq.js → CopyFixPrompt-CErC3Paj.js} +1 -1
  28. package/dist/web/assets/DataFormatPage-Ccy_e9rf.css +1 -0
  29. package/dist/web/assets/DataFormatPage-DwL4Ofc9.js +2 -0
  30. package/dist/web/assets/DebugTurnPage-UpK_3ZWY.js +1 -0
  31. package/dist/web/assets/DebugTurnsPage-C0aZg5-3.js +1 -0
  32. package/dist/web/assets/{DialogTitle-Lj5s6nwG.js → DialogTitle-BQXOe8EK.js} +1 -1
  33. package/dist/web/assets/{EmployeeRedirectPage-DnvwJeCN.js → EmployeeRedirectPage-BjWpXDSM.js} +1 -1
  34. package/dist/web/assets/EmployeeScopeDialog-Bt3ZlDyZ.js +1 -0
  35. package/dist/web/assets/EmployeeScopeDialog-U_-eNH0Z.css +1 -0
  36. package/dist/web/assets/{EmployeeWorkbench-BhReI8l6.css → EmployeeWorkbench-Bp9pUkfS.css} +1 -1
  37. package/dist/web/assets/EmployeeWorkbench-GtJIUD5G.js +4 -0
  38. package/dist/web/assets/FieldRoot-DRf4wM5x.js +1 -0
  39. package/dist/web/assets/FlaGrowth-DgVLB8hp.css +1 -0
  40. package/dist/web/assets/FlaGrowth-OQtTLTng.js +1 -0
  41. package/dist/web/assets/FlaOccupationKit-BvrKsosv.css +1 -0
  42. package/dist/web/assets/FlaOccupationKit-C-x4VrKk.js +1 -0
  43. package/dist/web/assets/{FlaTaskSheets-CNdaBy1P.js → FlaTaskSheets-CoaF5CbQ.js} +1 -1
  44. package/dist/web/assets/FlasPage-CgIVOGFM.js +1 -0
  45. package/dist/web/assets/FlasPage-H99IZ9M6.css +1 -0
  46. package/dist/web/assets/{GrowthLoading-Cr8xZwwO.js → GrowthLoading-VuVo2vLf.js} +1 -1
  47. package/dist/web/assets/{HowtoPage-Cv1YQy1s.js → HowtoPage-CZ3mOdLc.js} +1 -1
  48. package/dist/web/assets/{HowtoPage-t12tDDpS.css → HowtoPage-CrvMmT6K.css} +1 -1
  49. package/dist/web/assets/InboxPage-1ue8vA7H.css +1 -0
  50. package/dist/web/assets/InboxPage-zNUnnYeJ.js +6 -0
  51. package/dist/web/assets/{KnowledgeDeleteButton-FEyEvhlR.js → KnowledgeDeleteButton-BlUnSG3b.js} +1 -1
  52. package/dist/web/assets/{KnowledgeHardDeleteSection-CVwTeMEJ.js → KnowledgeHardDeleteSection-CznXBtHY.js} +1 -1
  53. package/dist/web/assets/KnowledgeItemEditPage-DGRNkAYd.js +1 -0
  54. package/dist/web/assets/{KnowledgeItemSummaryCard-49EADY_Z.js → KnowledgeItemSummaryCard-Co5JKBHl.js} +1 -1
  55. package/dist/web/assets/KnowledgeOrganizerPage-BWvF1GEu.js +1 -0
  56. package/dist/web/assets/KnowledgeOrganizerPage-CJaFkfS7.css +1 -0
  57. package/dist/web/assets/KnowledgePage--Z4_kAhq.js +1 -0
  58. package/dist/web/assets/KnowledgePeek-BgzQA9SI.js +1 -0
  59. package/dist/web/assets/{KnowledgePeek-Bm5jRVA9.css → KnowledgePeek-CwZVuSkf.css} +1 -1
  60. package/dist/web/assets/{KnowledgeTurnReceiptPage-BOz7IpaK.js → KnowledgeTurnReceiptPage-Csyjimeg.js} +1 -1
  61. package/dist/web/assets/KnowledgeWorkspace-0yOpWtEB.js +4 -0
  62. package/dist/web/assets/{KnowledgeWorkspace-DCoVFyf0.css → KnowledgeWorkspace-BgWo6lBj.css} +1 -1
  63. package/dist/web/assets/{MeAvatar-CYVcRiuW.js → MeAvatar-aY_q8cKs.js} +1 -1
  64. package/dist/web/assets/{MeLink-BdqkzhT6.js → MeLink-B0pNwVLa.js} +1 -1
  65. package/dist/web/assets/MenuSeparator-BR-uLovR.js +1 -0
  66. package/dist/web/assets/ModelSettingsPage-B9PS1Kay.css +1 -0
  67. package/dist/web/assets/ModelSettingsPage-BL6MsF7C.js +1 -0
  68. package/dist/web/assets/{NotFoundPage-Dmn32VWo.js → NotFoundPage-Cr1MaPuk.js} +1 -1
  69. package/dist/web/assets/NoticeRow-BXZWn4EZ.js +1 -0
  70. package/dist/web/assets/NoticeRow-ktVO_9Es.css +1 -0
  71. package/dist/web/assets/OccupationsPage-CkVqZ2pz.js +1 -0
  72. package/dist/web/assets/OccupationsPage-Dup7WzNh.css +1 -0
  73. package/dist/web/assets/OverviewPage-DFW3Ua0Z.js +1 -0
  74. package/dist/web/assets/OverviewPage-Dr4jrXW4.css +1 -0
  75. package/dist/web/assets/{PageColumns-DpfaPeu7.js → PageColumns-DvehZlYm.js} +1 -1
  76. package/dist/web/assets/PageOutline-CFGtHmOK.js +1 -0
  77. package/dist/web/assets/PageOutline-DG5ZYtA8.css +1 -0
  78. package/dist/web/assets/{PersonalProfilePage-DdBfHnqq.css → PersonalProfilePage-DnjNX2xK.css} +1 -1
  79. package/dist/web/assets/PersonalProfilePage-TxsNr44t.js +1 -0
  80. package/dist/web/assets/PersonalProjectsPage-AhgP6CL8.js +1 -0
  81. package/dist/web/assets/{PinIcon-B7dvh7ld.js → PinIcon-BTQsnxRY.js} +1 -1
  82. package/dist/web/assets/PopperContent-DtMksk76.js +1 -0
  83. package/dist/web/assets/{Presence-D3HKb5Hb.js → Presence-B0zMpCF4.js} +1 -1
  84. package/dist/web/assets/ProfileAuthorChip-BqT9Vv65.js +1 -0
  85. package/dist/web/assets/ProfileAuthorChip-CAWNGoW3.css +1 -0
  86. package/dist/web/assets/{ProjectAgentsPage-RpfiV2Fm.css → ProjectAgentsPage-CjeXFzHr.css} +1 -1
  87. package/dist/web/assets/ProjectAgentsPage-O-cMavcz.js +5 -0
  88. package/dist/web/assets/{ProjectJudgmentPolicy-GA33aSRi.js → ProjectJudgmentPolicy-CyHAu0nm.js} +2 -2
  89. package/dist/web/assets/{PublicProjectsPage-PJlBI8IE.js → PublicProjectsPage-Ck1QSR0R.js} +1 -1
  90. package/dist/web/assets/RecentNotices-vJobVOcm.js +1 -0
  91. package/dist/web/assets/{RoundtablesPage-DT5DUXsa.js → RoundtablesPage-C3dYekQ5.js} +6 -6
  92. package/dist/web/assets/{RoundtablesPage-DK9A9J-y.css → RoundtablesPage-DL-IOngN.css} +1 -1
  93. package/dist/web/assets/RovingFocusGroup-CUqyjFSs.js +1 -0
  94. package/dist/web/assets/{RovingFocusItem-CFd7tXzD.js → RovingFocusItem-CyyuWXjE.js} +1 -1
  95. package/dist/web/assets/{SessionMigrationPage-BZ1lEDQr.js → SessionMigrationPage-DukDM0TP.js} +1 -1
  96. package/dist/web/assets/SessionRecordsPage-DZ5ZBiuS.js +1 -0
  97. package/dist/web/assets/SettingsPage-BVIU7iFS.js +1 -0
  98. package/dist/web/assets/SettingsPage-Cj3pEWcd.css +1 -0
  99. package/dist/web/assets/SharedJefaReportPage-DUY03VLS.js +1 -0
  100. package/dist/web/assets/TagVocabularyPage-BKLFJiSu.js +1 -0
  101. package/dist/web/assets/TaskBlockerClear-BBmPbomO.css +1 -0
  102. package/dist/web/assets/TaskBlockerClear-BxOiiuK8.js +1 -0
  103. package/dist/web/assets/TaskBlockerNotice-iUiD3BuZ.js +1 -0
  104. package/dist/web/assets/{TaskReason-LQ0CFiKu.js → TaskReason-D5j7L8tl.js} +1 -1
  105. package/dist/web/assets/TeamCard-CDunbIrP.js +1 -0
  106. package/dist/web/assets/TeamCard-CihQsZZ1.css +1 -0
  107. package/dist/web/assets/{TeamCardsWidget-DGX9k0S6.js → TeamCardsWidget-CUW-fPn7.js} +1 -1
  108. package/dist/web/assets/TeamIsland-CmpDmIX2.js +9 -0
  109. package/dist/web/assets/{TeamIsland-BBQbpozz.css → TeamIsland-DvtcsAsb.css} +1 -1
  110. package/dist/web/assets/{Teleport-C1upABpY.js → Teleport-Dzdr8umQ.js} +1 -1
  111. package/dist/web/assets/{TextField-ZnmRqG0h.js → TextField-BPhEpEv9.js} +1 -1
  112. package/dist/web/assets/TonborgDelegationSwitch-C1nkJqkJ.js +1 -0
  113. package/dist/web/assets/TonborgDelegationSwitch-DeqERWoo.css +1 -0
  114. package/dist/web/assets/{UiChip-CizeOu1Q.js → UiChip-BEQ067LV.js} +1 -1
  115. package/dist/web/assets/{UiDialog-CGTzxn3-.js → UiDialog-JjqzOA0z.js} +1 -1
  116. package/dist/web/assets/{UiDisclosure-ueMA4jl0.js → UiDisclosure-L6GEJHSw.js} +1 -1
  117. package/dist/web/assets/{UiIcon-sD1hUsOF.js → UiIcon-vgD4v8q8.js} +1 -1
  118. package/dist/web/assets/UiIconButton-BzyMc14P.js +1 -0
  119. package/dist/web/assets/{UiSegmented-BZ-jqnPE.js → UiSegmented-CIIm3KoV.js} +1 -1
  120. package/dist/web/assets/{UiWeight-BRO3oVMZ.js → UiWeight-D-2iZ_Kc.js} +1 -1
  121. package/dist/web/assets/VirtualDirectoryList-BJecsQct.css +1 -0
  122. package/dist/web/assets/VirtualDirectoryList-BV8KsA-Z.js +1 -0
  123. package/dist/web/assets/{VisuallyHidden-B8wfJ_mU.js → VisuallyHidden-BxKxuXRF.js} +1 -1
  124. package/dist/web/assets/VisuallyHiddenInput-DD4vhlqT.js +1 -0
  125. package/dist/web/assets/WidgetSlot-Dw5nWlb7.js +2 -0
  126. package/dist/web/assets/WorkbenchListHead-B0TjHsTO.js +1 -0
  127. package/dist/web/assets/WorkbenchListPage-BX6Z9gkB.css +1 -0
  128. package/dist/web/assets/WorkbenchListPage-D0xX-YNl.js +1 -0
  129. package/dist/web/assets/_plugin-vue_export-helper-B4pFJCwG.js +9 -0
  130. package/dist/web/assets/agent-apps-B1Je-mpY.js +1 -0
  131. package/dist/web/assets/agent-occupation-CjfQqSzd.js +1 -0
  132. package/dist/web/assets/{agent-pins-8KX0ynzy.js → agent-pins-DxHlJ96z.js} +1 -1
  133. package/dist/web/assets/agent-profile-BNPLhDog.css +1 -0
  134. package/dist/web/assets/{agent-roster-records-PfAgndHp.js → agent-roster-records-Bi5HWDif.js} +1 -1
  135. package/dist/web/assets/agent-work-summary-o_9-QWBL.js +1 -0
  136. package/dist/web/assets/{agent-workflows-DQlqVOoA.js → agent-workflows-DgdbJqpg.js} +1 -1
  137. package/dist/web/assets/{attach-closest-edge-D2qlayPy.js → attach-closest-edge-DUc_VUVO.js} +1 -1
  138. package/dist/web/assets/{attention-store-BnZ8l3kk.js → attention-store-Bod20yM3.js} +1 -1
  139. package/dist/web/assets/{badge-DX_xrLV6.js → badge-tMy2Qr94.js} +1 -1
  140. package/dist/web/assets/{button-CEkPBC1E.js → button-DnKFsImW.js} +1 -1
  141. package/dist/web/assets/{card-DNQ0_6vT.js → card-Ccu7HCNb.js} +1 -1
  142. package/dist/web/assets/{catalog-KnpBkv5t.js → catalog-CJUV8OJ6.js} +1 -1
  143. package/dist/web/assets/checkbox-D1R6kTUB.js +1 -0
  144. package/dist/web/assets/{client-CSQcWFRh.js → client-D-G2i5VU.js} +2 -2
  145. package/dist/web/assets/client-links-store-UgmraFBZ.js +1 -0
  146. package/dist/web/assets/combobox-C7QLYGzs.js +1 -0
  147. package/dist/web/assets/console-DgRc8Itw.js +1 -0
  148. package/dist/web/assets/{conversation-launcher-settings-CXFE-q_A.js → conversation-launcher-settings-CZAfuu8B.js} +1 -1
  149. package/dist/web/assets/copy-mention-C0EJhDPy.js +1 -0
  150. package/dist/web/assets/{dialog-CxhKMo0D.js → dialog-Bbq93W68.js} +1 -1
  151. package/dist/web/assets/{dist-B9GqMC5C.js → dist-Dd8yFhv6.js} +1 -1
  152. package/dist/web/assets/{dist-DIJqkL4O.js → dist-PpsW5ZE3.js} +1 -1
  153. package/dist/web/assets/dropdown-menu-1fGUL0V3.js +1 -0
  154. package/dist/web/assets/{field-LNsBZqam.js → field-DjVv_wIS.js} +1 -1
  155. package/dist/web/assets/{format-bytes-Bqefdt37.js → format-bytes-BKq_E0Hs.js} +1 -1
  156. package/dist/web/assets/hover-card-BO-929hq.js +1 -0
  157. package/dist/web/assets/{identity-DRfhWjty.js → identity-DIG-uOiU.js} +1 -1
  158. package/dist/web/assets/index-C7IVLf_v.js +24 -0
  159. package/dist/web/assets/index-DF0TcfPY.css +1 -0
  160. package/dist/web/assets/{input-UoZ-0Xne.js → input-DmwRmYO2.js} +1 -1
  161. package/dist/web/assets/is-equal-8VOV02sH.js +1 -0
  162. package/dist/web/assets/{label-DpjbTOxt.js → label-BvwPUTS4.js} +1 -1
  163. package/dist/web/assets/label-table-CDzYRZpc.js +1 -0
  164. package/dist/web/assets/{model-CpuIG8Du.js → model-0TZRbkN2.js} +1 -1
  165. package/dist/web/assets/model-BF_ZMPLi.js +1 -0
  166. package/dist/web/assets/model-BjUERpoQ.js +3 -0
  167. package/dist/web/assets/model-CaR7VPg7.js +1 -0
  168. package/dist/web/assets/{model-pJ6k3zYD.js → model-Dfe81jZT.js} +1 -1
  169. package/dist/web/assets/{model-BYKHVgJr.js → model-DpkZUZUL.js} +1 -1
  170. package/dist/web/assets/{model-13BQndfF.js → model-Tmn6HvL-.js} +1 -1
  171. package/dist/web/assets/{model-B5g0CFcM.js → model-y7OUvtKz.js} +1 -1
  172. package/dist/web/assets/motion-C1fZrqmI.js +1 -0
  173. package/dist/web/assets/{motion-C-ZimCUS.js → motion-mAmbRj_M.js} +1 -1
  174. package/dist/web/assets/{motion-preference-BQiiwhab.js → motion-preference-Dz9S1bZa.js} +1 -1
  175. package/dist/web/assets/npm-copies-BLRc0FXW.js +1 -0
  176. package/dist/web/assets/{client-connection-model-DVwA-GIu.css → npm-copies-GRyMAduA.css} +1 -1
  177. package/dist/web/assets/occupation-catalog-_SnxxRbK.js +1 -0
  178. package/dist/web/assets/occupation-kits-DFC6Auuc.js +1 -0
  179. package/dist/web/assets/{option-CcHPBOo6.js → option-DC8frdbr.js} +1 -1
  180. package/dist/web/assets/{orchestration-filters-DmF4Qs8E.js → orchestration-filters-UeiAHJqn.js} +1 -1
  181. package/dist/web/assets/overview-data-Cq1gefY5.js +1 -0
  182. package/dist/web/assets/page-refresh-DdRJaxMv.js +1 -0
  183. package/dist/web/assets/{page-title-NXphgeQI.js → page-title-Cm9u_qw1.js} +1 -1
  184. package/dist/web/assets/person-profile-BH2AzOfw.js +1 -0
  185. package/dist/web/assets/{popover-xSRzcSmY.js → popover-DW__YCSE.js} +1 -1
  186. package/dist/web/assets/popup-host-ctKYu9Ze.js +1 -0
  187. package/dist/web/assets/profile-model-DtISOJ-X.js +1 -0
  188. package/dist/web/assets/{project-board-layout-DBQeP_QP.js → project-board-layout-CTM8kAgq.js} +1 -1
  189. package/dist/web/assets/{project-capture-BhYsDWwJ.js → project-capture-B3pNhpFF.js} +1 -1
  190. package/dist/web/assets/{project-origin-D8jy8EF_.js → project-origin-BO8Ngccf.js} +1 -1
  191. package/dist/web/assets/quick-edit-api-B169r5Qb.js +1 -0
  192. package/dist/web/assets/radio-group-DqA46cXQ.js +1 -0
  193. package/dist/web/assets/review-api-CJaNgPMA.js +1 -0
  194. package/dist/web/assets/review-list-BbV-Mle7.js +1 -0
  195. package/dist/web/assets/review-store-DSQpb5P8.js +1 -0
  196. package/dist/web/assets/{role-names-PECaMfQo.js → role-names-By0xdfTn.js} +1 -1
  197. package/dist/web/assets/roundtable-live-u9qUU6aA.js +1 -0
  198. package/dist/web/assets/{runtime-dom.esm-bundler-f39i44Mt.js → runtime-dom.esm-bundler-DhFy4Djs.js} +1 -1
  199. package/dist/web/assets/save-file-oGyIokMI.js +1 -0
  200. package/dist/web/assets/select-TqPBladU.js +1 -0
  201. package/dist/web/assets/{session-launch-offers-X9b0DwF1.js → session-launch-offers-CtQeY4Qk.js} +1 -1
  202. package/dist/web/assets/{settings-restart-BnwcTv3i.js → settings-autosave-C7vW3_SP.js} +1 -1
  203. package/dist/web/assets/settings-restart-p12HUUve.js +1 -0
  204. package/dist/web/assets/{shared-report-BxNVLalR.js → shared-report-DQBSigHB.js} +3 -3
  205. package/dist/web/assets/{source-adapters-aupsL146.js → source-adapters-DPJzumzC.js} +1 -1
  206. package/dist/web/assets/{switch-B3Y3oE_n.js → switch-D7w_0h3m.js} +1 -1
  207. package/dist/web/assets/tabs-DR8k0PN9.js +1 -0
  208. package/dist/web/assets/{task-card-fields-DAx6zMLz.js → task-card-fields-X1ZYCm_j.js} +1 -1
  209. package/dist/web/assets/{task-labels-BdDFvSAy.js → task-labels-LuXoQhF9.js} +1 -1
  210. package/dist/web/assets/{task-reason-7WnPreht.js → task-reason-ChpbGtyx.js} +1 -1
  211. package/dist/web/assets/{team-sheets-Cr0ZTPw3.js → team-sheets-DYCQqa8I.js} +1 -1
  212. package/dist/web/assets/{textarea-CRzFqL9a.js → textarea-D53VYanK.js} +1 -1
  213. package/dist/web/assets/ui-D4nAhcmu.css +1 -0
  214. package/dist/web/assets/ui-DmNbL8MW.js +1 -0
  215. package/dist/web/assets/{useAgentRecords-CMtpd3Fj.js → useAgentRecords-Hy9nqMs7.js} +1 -1
  216. package/dist/web/assets/useAgentWorkSummary-mloD4p12.js +1 -0
  217. package/dist/web/assets/{useApi-CROJJdhE-CRCgNOqq.js → useApi-CROJJdhE-DnUGUb8O.js} +1 -1
  218. package/dist/web/assets/{useClipboardCopy-DkqKK3wY.js → useClipboardCopy-BTuQMeWI.js} +1 -1
  219. package/dist/web/assets/{useFocusReturn-BZpVmQnM.js → useFocusReturn-4hUmSzj9.js} +1 -1
  220. package/dist/web/assets/{useForwardExpose-Di-MnbTz.js → useForwardExpose-BDmW7q7u.js} +1 -1
  221. package/dist/web/assets/{useForwardPropsEmits-L9XcB5DG.js → useForwardPropsEmits-BzT2luD4.js} +1 -1
  222. package/dist/web/assets/useForwardScopeId-DZCnSswO.js +1 -0
  223. package/dist/web/assets/useKnowledgeConfirm-L8wnJCuX.js +1 -0
  224. package/dist/web/assets/useKnowledgeItemPeek-C_huXt6E.js +1 -0
  225. package/dist/web/assets/{useMinimumLoadingDisplay-CWPiOaDl.js → useMinimumLoadingDisplay-Dkl8NQru.js} +1 -1
  226. package/dist/web/assets/usePageTools-CbDOdIrg.js +1 -0
  227. package/dist/web/assets/usePrimitiveElement-tPQM7XJs.js +1 -0
  228. package/dist/web/assets/{useProjectAgentRoster-CWVpSsQ3.js → useProjectAgentRoster-BBmRvcgr.js} +1 -1
  229. package/dist/web/assets/{useRoutePeek-DxLVksbJ.js → useRoutePeek-CRbCDqsm.js} +1 -1
  230. package/dist/web/assets/useTeamPeople-D_5cxxf1.js +1 -0
  231. package/dist/web/assets/{useTeamWork-BTZd_wKs.js → useTeamWork-CXEQwF4n.js} +1 -1
  232. package/dist/web/assets/{useTypeahead-pEZNpBls.js → useTypeahead-CVYuxPOD.js} +1 -1
  233. package/dist/web/assets/{utils-BsxOjD1Q.js → utils-BnrWDlfm.js} +1 -1
  234. package/dist/web/assets/utils-BsGjKHV8.js +1 -0
  235. package/dist/web/assets/verification-DbCo_dnY.js +1 -0
  236. package/dist/web/assets/{version-db3QWWjt.js → version-1lwoVj6f.js} +1 -1
  237. package/dist/web/assets/{vue-router-B79HWW1l.js → vue-router-D4_ms6om.js} +1 -1
  238. package/dist/web/assets/workbench-card-Dt0820yW.css +1 -0
  239. package/dist/web/index.html +90 -74
  240. package/docs/agent-conversations-and-collaboration.md +55 -58
  241. package/docs/agent-interface-architecture.md +7 -2
  242. package/docs/agent-roundtable.md +7 -7
  243. package/docs/client-connections.md +85 -8
  244. package/docs/client-links.md +16 -1
  245. package/docs/employee-agents.md +1 -1
  246. package/docs/judgment-and-autonomy.md +2 -0
  247. package/docs/public-personal-architecture.md +1 -1
  248. package/graph-provider/fuli_graph/app.py +2 -0
  249. package/graph-provider/fuli_graph/graph_field_contract.py +6 -3
  250. package/graph-provider/fuli_graph/graph_format_migrations.py +6 -0
  251. package/graph-provider/fuli_graph/graph_models.py +11 -62
  252. package/graph-provider/fuli_graph/graph_query.py +46 -105
  253. package/graph-provider/fuli_graph/knowledge_batch_confirmation.py +7 -5
  254. package/graph-provider/fuli_graph/knowledge_duplicate_models.py +24 -0
  255. package/graph-provider/fuli_graph/knowledge_duplicate_rules.py +157 -0
  256. package/graph-provider/fuli_graph/knowledge_duplicates.py +357 -0
  257. package/graph-provider/fuli_graph/knowledge_item_routes.py +3 -1
  258. package/graph-provider/fuli_graph/knowledge_item_view.py +45 -2
  259. package/graph-provider/fuli_graph/knowledge_item_view_models.py +21 -0
  260. package/graph-provider/fuli_graph/knowledge_management.py +6 -1
  261. package/graph-provider/fuli_graph/knowledge_outdated.py +15 -5
  262. package/graph-provider/fuli_graph/knowledge_review.py +65 -2
  263. package/graph-provider/fuli_graph/knowledge_review_models.py +5 -0
  264. package/graph-provider/fuli_graph/knowledge_search.py +0 -31
  265. package/graph-provider/fuli_graph/knowledge_versions.py +12 -1
  266. package/graph-provider/fuli_graph/models.py +9 -2
  267. package/graph-provider/fuli_graph/preference_versions.py +28 -7
  268. package/graph-provider/fuli_graph/project_agent_routes.py +60 -2
  269. package/graph-provider/fuli_graph/project_agent_task_models.py +63 -5
  270. package/graph-provider/fuli_graph/store.py +2 -0
  271. package/graph-provider/fuli_graph/store_project_agent_task_activity.py +12 -3
  272. package/graph-provider/fuli_graph/store_project_agent_task_blockers.py +110 -23
  273. package/graph-provider/fuli_graph/store_project_agent_task_pages.py +186 -0
  274. package/graph-provider/fuli_graph/store_project_agent_task_reads.py +6 -4
  275. package/graph-provider/fuli_graph/store_project_agent_task_recruitment.py +0 -7
  276. package/graph-provider/fuli_graph/store_project_agent_tasks.py +4 -3
  277. package/graph-provider/fuli_graph/store_task_contexts.py +14 -4
  278. package/graph-provider/fuli_graph/task_blocker.py +38 -6
  279. package/graph-provider/fuli_graph/tonborg_confirmation.py +48 -0
  280. package/graph-provider/pyproject.toml +1 -1
  281. package/native/win32/fuli-win-helper.exe +0 -0
  282. package/npm-shrinkwrap.json +16 -50
  283. package/package.json +2 -2
  284. package/packages/roundtable/src/peer/node-store.js +2 -6
  285. package/packages/roundtable/src/roundtable/chat-service.js +2 -1
  286. package/packages/roundtable/src/roundtable/chat.js +11 -1
  287. package/packages/roundtable/src/roundtable/delivery-state.js +43 -0
  288. package/packages/roundtable/src/roundtable/fla-address.js +6 -0
  289. package/packages/roundtable/src/roundtable/group-discussion-store.js +2 -2
  290. package/packages/roundtable/src/roundtable/group-discussion.js +15 -15
  291. package/packages/roundtable/src/roundtable/person-conversation.js +2 -1
  292. package/packages/roundtable/src/roundtable/service.js +38 -9
  293. package/packages/roundtable/src/roundtable/store.js +8 -5
  294. package/packages/roundtable/src/storage/database-format.js +21 -16
  295. package/registry/client-links.json +66 -4
  296. package/registry/occupation-plugins.json +593 -0
  297. package/skills/capturing-session-knowledge/SKILL.md +15 -2
  298. package/skills/capturing-session-knowledge/references/capture.md +22 -6
  299. package/skills/capturing-session-knowledge/references/coordination.md +16 -6
  300. package/skills/capturing-session-knowledge/references/retrieval.md +23 -6
  301. package/skills/flreview/SKILL.md +1 -1
  302. package/skills/operating-fuli/SKILL.md +39 -12
  303. package/skills/operating-fuli/references/workflow-recipes.md +9 -5
  304. package/src/acceptance-checks/port.js +37 -0
  305. package/src/adaptive-runtime/settings.js +1 -1
  306. package/src/adaptive-runtime/state.js +3 -3
  307. package/src/agent-apps/host-tools/catalog.js +7 -0
  308. package/src/agent-apps/store.js +2 -10
  309. package/src/agent-delegation/person-words.js +15 -1
  310. package/src/agent-kits/cli-presence.js +78 -0
  311. package/src/agent-kits/client-installer.js +9 -5
  312. package/src/agent-kits/installer-manifest.js +11 -6
  313. package/src/agent-kits/legacy-hook-cleanup.js +4 -3
  314. package/src/agent-kits/new-sessions.js +82 -0
  315. package/src/agent-kits/opencode-plugin-gate.js +3 -1
  316. package/src/agent-kits/pins.js +12 -12
  317. package/src/agent-kits/ports.js +5 -2
  318. package/src/agent-kits/session-launcher.js +11 -4
  319. package/src/agent-kits/vendor/agent-installer/README.md +1 -1
  320. package/src/agent-kits/vendor/agent-installer/index.d.ts +1 -1
  321. package/src/agent-kits/vendor/agent-session-launcher/README.md +1 -1
  322. package/src/agent-kits/vendor/agent-session-launcher/index.d.ts +30 -1
  323. package/src/agent-kits/vendor/agent-session-launcher/index.mjs +8 -0
  324. package/src/agent-roundtable/tools.js +3 -3
  325. package/src/agent-services/store.js +2 -4
  326. package/src/agent-tools/agent-workflow-definitions.js +7 -3
  327. package/src/agent-tools/checkpoint-definitions.js +5 -4
  328. package/src/agent-tools/fla-lesson-definitions.js +24 -0
  329. package/src/agent-tools/graph-definitions.js +8 -0
  330. package/src/agent-tools/graph-handlers.js +10 -1
  331. package/src/agent-tools/interface-catalog.js +34 -9
  332. package/src/agent-tools/model-backend-definitions.js +1 -1
  333. package/src/agent-tools/occupation-kit-definitions.js +20 -0
  334. package/src/agent-tools/project-agent-definitions.js +19 -40
  335. package/src/agent-tools/project-agent-tool-definitions.js +5 -1
  336. package/src/agent-tools/reply-echo-definitions.js +18 -0
  337. package/src/agent-tools/tonborg-question-definitions.js +26 -0
  338. package/src/agent-workflows/agent-tools.js +69 -3
  339. package/src/agent-workflows/port.js +32 -4
  340. package/src/agent-workflows/store.js +16 -9
  341. package/src/agents/choice-answers.js +19 -0
  342. package/src/agents/claude-code/choice-answers.js +49 -0
  343. package/src/agents/claude-code/fla-menu-command.js +14 -0
  344. package/src/agents/claude-code/lifecycle-hook.js +16 -9
  345. package/src/agents/claude-code/turn-records.js +38 -0
  346. package/src/agents/codex/fla-prompts.js +98 -0
  347. package/src/agents/codex/lifecycle-hook.js +8 -7
  348. package/src/agents/cursor/lifecycle-hook.js +3 -2
  349. package/src/agents/identity-receipt.js +9 -7
  350. package/src/agents/lifecycle-failure.js +9 -0
  351. package/src/agents/lifecycle-message.js +4 -5
  352. package/src/agents/opencode/lifecycle-hook.js +12 -7
  353. package/src/agents/opencode/plugin.js +7 -2
  354. package/src/agents/token-usage-resolver.js +1 -1
  355. package/src/agents/turn-receipt.js +5 -4
  356. package/src/cli/command-registry.js +1 -1
  357. package/src/cli/local-runtime-command.js +5 -2
  358. package/src/cli/local-runtime-options.js +7 -3
  359. package/src/cli/models-command.js +15 -11
  360. package/src/cli/update-command.js +2 -2
  361. package/src/cli/update-installation.js +23 -6
  362. package/src/cli/workspace-connection-command.js +2 -2
  363. package/src/client-links/registry.js +6 -112
  364. package/src/conversations/entry-skeleton.js +113 -55
  365. package/src/conversations/human-interaction.js +1 -1
  366. package/src/conversations/person-words.js +29 -0
  367. package/src/conversations/preference-session.js +17 -14
  368. package/src/conversations/stop-auto-close.js +28 -7
  369. package/src/conversations/task-context-view.js +113 -27
  370. package/src/conversations/turn-findings.js +105 -0
  371. package/src/data-format/format-notices.js +2 -1
  372. package/src/data-format/local-stores.js +22 -1
  373. package/src/debug-turns/model-capture.js +1 -1
  374. package/src/debug-turns/record.js +1 -1
  375. package/src/desktop/cli-path.js +253 -0
  376. package/src/desktop/desktop-app-package.js +31 -0
  377. package/src/desktop/{fuli-links.js → desktop-client-links.js} +20 -16
  378. package/src/desktop/desktop-controller.js +35 -3
  379. package/src/desktop/npm-adoption-store.js +7 -0
  380. package/src/desktop/npm-adoption.js +119 -0
  381. package/src/desktop/npm-copies.js +73 -0
  382. package/src/desktop/npm-copy-control.js +56 -0
  383. package/src/desktop/npm-copy-data.js +51 -0
  384. package/src/desktop/npm-copy-uninstall.js +67 -0
  385. package/src/desktop/windows-controller.js +13 -1
  386. package/src/desktop/windows-installation-switch.js +1 -1
  387. package/src/desktop/windows-node-launcher.js +11 -0
  388. package/src/desktop/windows-uninstall.js +3 -0
  389. package/src/dreaming/astro-calls.js +47 -0
  390. package/src/dreaming/projects.js +39 -0
  391. package/src/dreaming/run.js +38 -36
  392. package/src/dreaming/scheduler.js +2 -2
  393. package/src/employees/builtin/jefa/board-store.js +2 -10
  394. package/src/employees/builtin/jefa/tools.js +1 -1
  395. package/src/employees/management-policy.js +1 -1
  396. package/src/employees/manifest.js +1 -1
  397. package/src/employees/service.js +11 -1
  398. package/src/external-knowledge/document-mapping.js +1 -1
  399. package/src/external-knowledge/index.js +0 -4
  400. package/src/fla-growth/lessons.js +40 -0
  401. package/src/fla-growth/task-verification.js +25 -0
  402. package/src/fla-growth/tool-suggestions.js +107 -0
  403. package/src/fla-growth/verification.js +30 -0
  404. package/src/graphiti/agent-access-policy.js +1 -1
  405. package/src/graphiti/agent-conversations.js +2 -2
  406. package/src/graphiti/agent-growth.js +32 -4
  407. package/src/graphiti/capture-change-confirmation.js +4 -1
  408. package/src/graphiti/capture-notice.js +2 -1
  409. package/src/graphiti/capture-onboarding.js +1 -1
  410. package/src/graphiti/collaboration-preference-projection.js +1 -1
  411. package/src/graphiti/conversation-triage.js +1 -1
  412. package/src/graphiti/execution-mode.js +1 -1
  413. package/src/graphiti/federated-application.js +16 -8
  414. package/src/graphiti/fla-mention.js +105 -96
  415. package/src/graphiti/fla-menu-reader.js +25 -0
  416. package/src/graphiti/fla-menu.js +108 -0
  417. package/src/graphiti/fla-picker.js +21 -16
  418. package/src/graphiti/fuli-markup.js +60 -0
  419. package/src/graphiti/group-member-context.js +1 -1
  420. package/src/graphiti/human-review-channel.js +16 -2
  421. package/src/graphiti/knowledge-result-budget.js +2 -2
  422. package/src/graphiti/knowledge-review.js +2 -1
  423. package/src/graphiti/local-runtimes.js +11 -0
  424. package/src/graphiti/preference-task-scope.js +1 -1
  425. package/src/graphiti/project-agent-control-plane.js +6 -0
  426. package/src/graphiti/project-agent-mapping.js +23 -10
  427. package/src/graphiti/project-agent-mention.js +10 -28
  428. package/src/graphiti/project-agent-task-entry.js +1 -1
  429. package/src/graphiti/project-agent-task-sheets.js +1 -1
  430. package/src/graphiti/project-agent-workflows.js +20 -5
  431. package/src/graphiti/project-knowledge-presence.js +27 -0
  432. package/src/graphiti/project-path-context.js +2 -2
  433. package/src/graphiti/provider-client.js +24 -0
  434. package/src/graphiti/recall-policy.js +1 -1
  435. package/src/graphiti/reply-echo-agent-tool.js +36 -0
  436. package/src/graphiti/reply-echo-group.js +85 -0
  437. package/src/graphiti/reply-echo.js +87 -0
  438. package/src/graphiti/session-knowledge-migration.js +2 -1
  439. package/src/graphiti/session-prompt-sentences.js +52 -0
  440. package/src/graphiti/session-records.js +3 -2
  441. package/src/graphiti/source-marker.js +14 -0
  442. package/src/graphiti/task-blocker-progress.js +24 -1
  443. package/src/graphiti/task-context-entry.js +11 -0
  444. package/src/graphiti/task-entry-group-discussion.js +31 -31
  445. package/src/graphiti/task-entry-named-fla.js +40 -70
  446. package/src/graphiti/task-entry-preferences.js +1 -1
  447. package/src/graphiti/task-entry-project-scope.js +4 -4
  448. package/src/graphiti/task-entry-read-only.js +1 -1
  449. package/src/graphiti/task-entry-standing-owner.js +3 -3
  450. package/src/graphiti/task-experiences.js +21 -3
  451. package/src/graphiti/task-knowledge-checkpoint.js +4 -1
  452. package/src/graphiti/task-knowledge-recall.js +140 -25
  453. package/src/graphiti/task-prompt-statement.js +49 -0
  454. package/src/graphiti/task-remember.js +23 -9
  455. package/src/graphiti/task-stated-rules.js +75 -0
  456. package/src/graphiti/temporary-project-scope.js +1 -1
  457. package/src/graphiti/topic-proposals.js +6 -5
  458. package/src/graphiti/user-taste-skill.js +1 -1
  459. package/src/graphiti/workflow-candidate-mapping.js +1 -1
  460. package/src/http/agent-delegation-gate.js +9 -0
  461. package/src/http/api-router.js +16 -0
  462. package/src/http/cli-path-api-router.js +35 -0
  463. package/src/http/desktop-client-api-router.js +18 -0
  464. package/src/http/dreaming-api-router.js +10 -7
  465. package/src/http/graph-api-router.js +17 -0
  466. package/src/http/notices-api-router.js +37 -0
  467. package/src/http/npm-copies-api-router.js +36 -0
  468. package/src/http/occupation-plugins-api-router.js +43 -0
  469. package/src/http/reply-echo-api-router.js +53 -0
  470. package/src/http/response.js +1 -1
  471. package/src/http/retrospectives-api-router.js +18 -0
  472. package/src/http/session-launch-api-router.js +34 -1
  473. package/src/http/static-handler.js +1 -1
  474. package/src/http/task-blocker-api-router.js +17 -5
  475. package/src/http/task-verification-api-router.js +16 -0
  476. package/src/http/whats-new-api-router.js +34 -0
  477. package/src/judgment/acceptance.js +10 -3
  478. package/src/judgment/agent-view.js +21 -4
  479. package/src/judgment/conversation.js +86 -2
  480. package/src/judgment/delegated-reviews.js +23 -0
  481. package/src/judgment/engine.js +49 -16
  482. package/src/judgment/explain-method.js +11 -0
  483. package/src/judgment/http.js +17 -2
  484. package/src/judgment/question-options.js +97 -0
  485. package/src/judgment/question-tools.js +235 -0
  486. package/src/judgment/review-delegation.js +89 -0
  487. package/src/judgment/review-prompt.js +44 -3
  488. package/src/judgment/review-verdicts.js +13 -4
  489. package/src/judgment/runtime.js +3 -1
  490. package/src/judgment/service.js +25 -5
  491. package/src/judgment/store.js +44 -8
  492. package/src/judgment/verdict-schema.js +6 -0
  493. package/src/judgment/visible-items.js +15 -4
  494. package/src/knowledge-duplicates/scheduler.js +28 -0
  495. package/src/knowledge-hard-delete/forget-references.js +5 -2
  496. package/src/knowledge-impressions/store.js +17 -5
  497. package/src/local-runtime/console-autostart-record.js +95 -0
  498. package/src/local-runtime/console-autostart.js +143 -0
  499. package/src/local-runtime/console-health.js +26 -0
  500. package/src/local-runtime/installed-console-launcher.js +73 -0
  501. package/src/local-runtime/lifecycle.js +85 -21
  502. package/src/local-runtime/processes.js +15 -2
  503. package/src/local-runtime/unresponsive-console.js +77 -0
  504. package/src/mcp/create-mcp-server.js +4 -0
  505. package/src/mcp/fla-menu-prompts.js +60 -0
  506. package/src/mcp/runtime.js +11 -3
  507. package/src/mcp/session-id.js +3 -2
  508. package/src/mcp/tool-annotations.js +5 -2
  509. package/src/mcp/tool-profiles.js +1 -1
  510. package/src/mcp/tool-result.js +3 -1
  511. package/src/model-backends/adapters/anthropic-messages.js +2 -2
  512. package/src/model-backends/adapters/ollama-local-build.js +1 -1
  513. package/src/model-backends/adapters/openai-chat.js +2 -2
  514. package/src/model-backends/budget.js +10 -1
  515. package/src/model-backends/config.js +2 -2
  516. package/src/model-backends/endpoint-models.js +80 -0
  517. package/src/model-backends/http.js +3 -1
  518. package/src/model-backends/keys-http.js +5 -4
  519. package/src/model-backends/models-http.js +54 -0
  520. package/src/model-backends/port.js +32 -5
  521. package/src/model-backends/prompt.js +11 -1
  522. package/src/model-backends/role-settings.js +27 -2
  523. package/src/model-backends/role-trust.js +3 -15
  524. package/src/model-backends/role-work-store.js +2 -12
  525. package/src/model-backends/runtime.js +11 -2
  526. package/src/model-backends/secret-store.js +61 -12
  527. package/src/model-backends/suggestion-log.js +6 -15
  528. package/src/model-backends/usage-ledger.js +28 -18
  529. package/src/notices/recent-notices.js +175 -0
  530. package/src/notifications/needs-person.js +1 -1
  531. package/src/occupation-plugins/agent-tools.js +59 -0
  532. package/src/occupation-plugins/choice-store.js +65 -0
  533. package/src/occupation-plugins/manifest.js +165 -0
  534. package/src/occupation-plugins/port.js +104 -0
  535. package/src/occupation-plugins/recruitment.js +38 -0
  536. package/src/presence/windows-helper-pin.js +1 -1
  537. package/src/registry/updatable-manifest.js +127 -0
  538. package/src/retrieval-terms/fill.js +1 -1
  539. package/src/retrospectives/run.js +113 -0
  540. package/src/retrospectives/runs.js +18 -0
  541. package/src/retrospectives/scheduler.js +58 -0
  542. package/src/server/application-lifecycle.js +1 -1
  543. package/src/server/signal-shutdown.js +31 -0
  544. package/src/server.js +26 -18
  545. package/src/setup/first-run-capture.js +6 -2
  546. package/src/setup/graph-runtime.js +46 -38
  547. package/src/setup/neo4j-memory-profile.js +1 -1
  548. package/src/setup/paths.js +2 -0
  549. package/src/standing-assignments/store.js +2 -4
  550. package/src/system/client-connection-status.js +3 -1
  551. package/src/system/doctor.js +19 -2
  552. package/src/system/graph-migration.js +1 -1
  553. package/src/system/platform-path.js +21 -9
  554. package/src/system/runtime-settings.js +19 -7
  555. package/src/system/settings-guide.js +7 -0
  556. package/src/system/system-service.js +41 -2
  557. package/src/task-blockers/console-port.js +12 -6
  558. package/src/text/markdown-link.js +12 -0
  559. package/src/text/single-line.js +6 -0
  560. package/src/text/utf8-preview.js +7 -6
  561. package/src/whats-new/lines/0.25.0.json +17 -0
  562. package/src/whats-new/release-lines.js +66 -0
  563. package/src/whats-new/whats-new.js +70 -0
  564. package/src/work-surfaces/store.js +2 -4
  565. package/dist/web/assets/AgentAppsPage-BYXraPFM.js +0 -1
  566. package/dist/web/assets/AgentManagement-Bza8k5ra.js +0 -7
  567. package/dist/web/assets/AgentManagement-CeF4mjtg.css +0 -1
  568. package/dist/web/assets/AgentMentionCopy-C72hY2QL.js +0 -1
  569. package/dist/web/assets/AgentMentionCopy-CNKrzZvE.css +0 -1
  570. package/dist/web/assets/AgentProfilePage-kp7-gRRx.js +0 -5
  571. package/dist/web/assets/AgentServicesPage-ARIWfmuh.css +0 -1
  572. package/dist/web/assets/AgentServicesPage-IsGaz7FY.js +0 -1
  573. package/dist/web/assets/ConnectionsPage-BpvecWXD.js +0 -1
  574. package/dist/web/assets/ConnectionsPage-Cwt-knQQ.css +0 -1
  575. package/dist/web/assets/DataFormatPage-dsy8d3oA.js +0 -2
  576. package/dist/web/assets/DataFormatPage-sSnjjUY4.css +0 -1
  577. package/dist/web/assets/DebugTurnPage-cIJV7xDW.js +0 -1
  578. package/dist/web/assets/DebugTurnsPage-B6Te_Alp.js +0 -1
  579. package/dist/web/assets/EmployeeScopeDialog-CXNZ62Ab.js +0 -1
  580. package/dist/web/assets/EmployeeScopeDialog-Do5PHQh7.css +0 -1
  581. package/dist/web/assets/EmployeeWorkbench-DALIO-cM.js +0 -4
  582. package/dist/web/assets/FieldRoot-DRnAC66O.js +0 -1
  583. package/dist/web/assets/FlaGrowth-7wlv31Tl.js +0 -1
  584. package/dist/web/assets/FlaGrowth-BzXY8pcx.css +0 -1
  585. package/dist/web/assets/FlasPage-BCs1Ffpf.js +0 -1
  586. package/dist/web/assets/FlasPage-SLQDMv47.css +0 -1
  587. package/dist/web/assets/InboxPage-Bkx6nIhb.css +0 -1
  588. package/dist/web/assets/InboxPage-CgJnymOY.js +0 -4
  589. package/dist/web/assets/KnowledgeItemEditPage-rwpM8cF1.js +0 -1
  590. package/dist/web/assets/KnowledgeOrganizerPage-7IdnjM3L.js +0 -1
  591. package/dist/web/assets/KnowledgeOrganizerPage-CNm2jvJZ.css +0 -1
  592. package/dist/web/assets/KnowledgePage-gxqOIZxf.js +0 -1
  593. package/dist/web/assets/KnowledgePeek-CQyCxHFj.js +0 -1
  594. package/dist/web/assets/KnowledgeWorkspace-A7zVb26p.js +0 -4
  595. package/dist/web/assets/MenuSeparator-quqkZZXY.js +0 -1
  596. package/dist/web/assets/ModelSettingsPage-B8jC_uew.js +0 -3
  597. package/dist/web/assets/ModelSettingsPage-DhCn_SF6.css +0 -1
  598. package/dist/web/assets/OccupationsPage-BVREfX_R.js +0 -1
  599. package/dist/web/assets/OccupationsPage-Di7B-bPl.css +0 -1
  600. package/dist/web/assets/OverviewPage-CHyEbdP4.js +0 -1
  601. package/dist/web/assets/OverviewPage-xdF5g6bZ.css +0 -1
  602. package/dist/web/assets/PageOutline-BKBQ1T4d.js +0 -1
  603. package/dist/web/assets/PageOutline-BqVgnlos.css +0 -1
  604. package/dist/web/assets/PersonalProfilePage-Cxp2gn6J.js +0 -1
  605. package/dist/web/assets/PersonalProjectsPage-821imOxR.js +0 -1
  606. package/dist/web/assets/PopperContent-DNqbLkNa.js +0 -1
  607. package/dist/web/assets/ProfileAuthorChip-7HSHODdR.js +0 -1
  608. package/dist/web/assets/ProfileAuthorChip-C_0hzDoP.css +0 -1
  609. package/dist/web/assets/ProjectAgentsPage-DBsXS6Xa.js +0 -5
  610. package/dist/web/assets/RovingFocusGroup-BB0d3k17.js +0 -1
  611. package/dist/web/assets/SessionRecordsPage-BMAAtIAt.js +0 -1
  612. package/dist/web/assets/SettingsPage-BYNEk6BM.js +0 -1
  613. package/dist/web/assets/SettingsPage-Uj1IpZpS.css +0 -1
  614. package/dist/web/assets/SharedJefaReportPage-g35o6jUb.js +0 -1
  615. package/dist/web/assets/TagVocabularyPage-COubNJXz.js +0 -1
  616. package/dist/web/assets/TaskBlockerClear-B5MpHdlh.js +0 -1
  617. package/dist/web/assets/TaskBlockerClear-CjSNfpyP.css +0 -1
  618. package/dist/web/assets/TaskBlockerNotice-CIN0HRiE.js +0 -1
  619. package/dist/web/assets/TeamCard-CsmWDw2Q.css +0 -1
  620. package/dist/web/assets/TeamCard-D-kLa5rT.js +0 -1
  621. package/dist/web/assets/TeamIsland-BIo-l49b.js +0 -9
  622. package/dist/web/assets/UiIconButton-CCo4NPYv.js +0 -1
  623. package/dist/web/assets/UiNotice-DGPFbVo7.js +0 -1
  624. package/dist/web/assets/VirtualDirectoryList-1vLi41SD.css +0 -1
  625. package/dist/web/assets/VirtualDirectoryList-BkV3gj5E.js +0 -1
  626. package/dist/web/assets/VisuallyHiddenInput-Bdcr9CwC.js +0 -1
  627. package/dist/web/assets/WidgetSlot-DFojQaSo.js +0 -2
  628. package/dist/web/assets/_plugin-vue_export-helper-B9AJmZbc.js +0 -9
  629. package/dist/web/assets/agent-apps-CKGFfySp.js +0 -1
  630. package/dist/web/assets/agent-avatar-V6M_DF3r.js +0 -1
  631. package/dist/web/assets/agent-occupation-PZ2YAIM8.js +0 -1
  632. package/dist/web/assets/agent-profile-Clb-gYu-.css +0 -1
  633. package/dist/web/assets/agent-work-summary-bzTwEUaA.js +0 -1
  634. package/dist/web/assets/checkbox-DPyLHneg.js +0 -1
  635. package/dist/web/assets/client-connection-model-vO2cap6a.js +0 -1
  636. package/dist/web/assets/client-links-store-DMqe0MbK.js +0 -1
  637. package/dist/web/assets/combobox-zUq9bkyM.js +0 -1
  638. package/dist/web/assets/console-DaoAO-EO.js +0 -1
  639. package/dist/web/assets/context-menu-CcGDnF_k.js +0 -1
  640. package/dist/web/assets/dropdown-menu-CXmMnCBh.js +0 -1
  641. package/dist/web/assets/fla-mention-D_Qb7VeY.js +0 -1
  642. package/dist/web/assets/index-B4AMPpl_.css +0 -1
  643. package/dist/web/assets/index-BYIOAXnn.js +0 -2
  644. package/dist/web/assets/label-table-BnWNYfyk.js +0 -1
  645. package/dist/web/assets/model-CDevUwUw.js +0 -1
  646. package/dist/web/assets/model-P5fSGsiJ.js +0 -1
  647. package/dist/web/assets/motion-QY5FKKko.js +0 -1
  648. package/dist/web/assets/occupation-catalog-uDDhZwKK.js +0 -1
  649. package/dist/web/assets/person-profile-DXXfpvta.js +0 -1
  650. package/dist/web/assets/popup-host-Bmvrf-2t.js +0 -1
  651. package/dist/web/assets/profile-model-6gTmScHC.js +0 -1
  652. package/dist/web/assets/quick-edit-api-WLh_88w6.js +0 -1
  653. package/dist/web/assets/radio-group-B4r78nDh.js +0 -1
  654. package/dist/web/assets/roundtable-live-DFeDF56c.js +0 -1
  655. package/dist/web/assets/save-file-rPduHi2f.js +0 -1
  656. package/dist/web/assets/select-_JO3Mxdp.js +0 -1
  657. package/dist/web/assets/tabs-BlcZiEMY.js +0 -1
  658. package/dist/web/assets/ui-BopQuQfc.js +0 -1
  659. package/dist/web/assets/ui-CoUaCzmO.css +0 -1
  660. package/dist/web/assets/useAgentWorkSummary-BQbhaHov.js +0 -1
  661. package/dist/web/assets/useForwardScopeId-CUQFIAIj.js +0 -1
  662. package/dist/web/assets/useKnowledgeItemPeek-PmQJixw5.js +0 -1
  663. package/dist/web/assets/useTeamPeople-CDISP0PM.js +0 -1
  664. package/dist/web/assets/utils-B4pBTmyh.js +0 -1
  665. package/src/workspace-protocol/array-validation.js +0 -19
  666. package/src/workspace-protocol/base64url-contract.js +0 -27
  667. package/src/workspace-protocol/constants.js +0 -37
  668. package/src/workspace-protocol/error-contract.js +0 -24
  669. package/src/workspace-protocol/fact-contract.js +0 -110
  670. package/src/workspace-protocol/governance-contract.js +0 -47
  671. package/src/workspace-protocol/index.js +0 -53
  672. package/src/workspace-protocol/json-budget.js +0 -19
  673. package/src/workspace-protocol/manifest-contract.js +0 -186
  674. package/src/workspace-protocol/publication-contract.js +0 -212
  675. package/src/workspace-protocol/query-contract.js +0 -149
  676. package/src/workspace-protocol/scalar-contract.js +0 -192
  677. package/src/workspace-protocol/sync-contract.js +0 -184
  678. package/src/workspace-protocol/text-contract.js +0 -39
  679. package/src/workspace-protocol/validation.js +0 -66
  680. /package/dist/web/assets/{UiNotice-ZCBdABdM.css → UiIconButton-ZCBdABdM.css} +0 -0
  681. /package/dist/web/assets/{settings-restart-BU_GGtbG.css → settings-autosave-BU_GGtbG.css} +0 -0
@@ -19,6 +19,14 @@ import { AgentWorkflowStore } from './store.js';
19
19
  // did is recorded against the active version.
20
20
  const LIMITS = Object.freeze({ id: 200, name: 80, purpose: 300, title: 120, detail: 600, note: 500 });
21
21
  const MAX_STEPS = 20;
22
+ // A drafted Skill's work map (rec#78, 11-06 addition 5): what it needs and
23
+ // gives, what it depends on, where it branches, how it is accepted, and at
24
+ // most three questions for the person.
25
+ const WORK_MAP_LISTS = Object.freeze(['inputs', 'outputs', 'dependencies', 'branches', 'acceptance']);
26
+ const WORK_MAP_REQUIRED = Object.freeze(['inputs', 'outputs', 'acceptance']);
27
+ const WORK_MAP_ITEMS = 10;
28
+ const MAX_QUESTIONS = 3;
29
+ export const EXPERIENCE_SOURCE = 'experiences:';
22
30
  // Proposed and active workflows one Agent keeps; retired ones do not count.
23
31
  const MAX_OPEN_WORKFLOWS = 50;
24
32
  const RECENT_RUNS = 5;
@@ -42,8 +50,9 @@ export function createAgentWorkflows({ path = ':memory:', now = () => new Date()
42
50
  function propose(owner, input) {
43
51
  const proposal = proposalFields(input);
44
52
  return store.transaction(() => {
45
- // One workflow per learned candidate: proposing it again proposes a change of that one.
46
- const existing = input.workflowId ? owned(owner, input.workflowId) : proposal.source.startsWith('candidate:')
53
+ // One workflow per learned candidate or set of kept experiences: proposing it again proposes a change of that one.
54
+ const existing = input.workflowId ? owned(owner, input.workflowId)
55
+ : proposal.source.startsWith('candidate:') || proposal.source.startsWith(EXPERIENCE_SOURCE)
47
56
  ? store.fromSource(owner.personalSpaceId, owner.agentId, proposal.source) : null;
48
57
  const time = at();
49
58
  if (existing) {
@@ -165,15 +174,34 @@ function proposalFields(input) {
165
174
  if (!Array.isArray(steps) || !steps.length || steps.length > MAX_STEPS) {
166
175
  throw new InvalidInputError(`steps must list 1 to ${MAX_STEPS} steps`);
167
176
  }
177
+ const workMap = input.workMap == null ? null : workMapFields(input.workMap);
178
+ if (source.startsWith(EXPERIENCE_SOURCE) && !workMap) {
179
+ throw new InvalidInputError('A Skill drafted from kept experiences starts with its workMap');
180
+ }
168
181
  return { name: requiredString(input.name, 'name', LIMITS.name), purpose: requiredString(input.purpose, 'purpose', LIMITS.purpose),
169
- source, steps: steps.map((step, index) => {
182
+ source, ...(workMap ? { workMap } : {}), steps: steps.map((step, index) => {
170
183
  const detail = optionalText(step?.detail, `steps[${index}].detail`, LIMITS.detail);
171
184
  return { title: requiredString(step?.title, `steps[${index}].title`, LIMITS.title), ...(detail ? { detail } : {}) };
172
185
  }) };
173
186
  }
174
187
 
188
+ function workMapFields(value) {
189
+ if (!value || typeof value !== 'object' || Array.isArray(value)) throw new InvalidInputError('workMap must be an object');
190
+ const list = (name, maximum) => {
191
+ const items = value[name] ?? [];
192
+ if (!Array.isArray(items) || items.length > maximum) throw new InvalidInputError(`workMap.${name} lists at most ${maximum} items`);
193
+ return items.map((item, index) => requiredString(item, `workMap.${name}[${index}]`, LIMITS.detail));
194
+ };
195
+ const map = Object.fromEntries(WORK_MAP_LISTS.map(name => [name, list(name, WORK_MAP_ITEMS)]));
196
+ for (const name of WORK_MAP_REQUIRED) {
197
+ if (!map[name].length) throw new InvalidInputError(`workMap.${name} needs at least one item`);
198
+ }
199
+ return { ...map, questions: list('questions', MAX_QUESTIONS) };
200
+ }
201
+
202
+ // The goal is the purpose; a version with a work map is read with it.
175
203
  function readable(version) {
176
- return { name: version.name, purpose: version.purpose, steps: version.steps };
204
+ return { name: version.name, purpose: version.purpose, ...(version.workMap ? { workMap: version.workMap } : {}), steps: version.steps };
177
205
  }
178
206
 
179
207
  function sameContent(version, proposal) {
@@ -1,6 +1,6 @@
1
1
  import { existsSync } from 'node:fs';
2
2
 
3
- import { openFormattedDatabase, sqliteFormat } from '../../packages/roundtable/src/storage/database-format.js';
3
+ import { immediateTransaction, openFormattedDatabase, sqliteFormat } from '../../packages/roundtable/src/storage/database-format.js';
4
4
 
5
5
  // An Agent's own workflows (rec#60 D-78): the repeated work it does, as named
6
6
  // ordered steps. agent_workflows holds each workflow's current state: which
@@ -45,7 +45,14 @@ export const AGENT_WORKFLOWS_FORMAT = sqliteFormat({
45
45
  CREATE TRIGGER IF NOT EXISTS agent_workflow_runs_no_update BEFORE UPDATE ON agent_workflow_runs
46
46
  BEGIN SELECT RAISE(ABORT, 'agent workflow runs are immutable'); END;
47
47
  CREATE TRIGGER IF NOT EXISTS agent_workflow_runs_no_delete BEFORE DELETE ON agent_workflow_runs
48
- BEGIN SELECT RAISE(ABORT, 'agent workflow runs are immutable'); END;`
48
+ BEGIN SELECT RAISE(ABORT, 'agent workflow runs are immutable'); END;`,
49
+ migrations: [{
50
+ // A Skill drafted from kept experiences starts with its work map (rec#78, 11-06
51
+ // addition 5); versions proposed before it, and other proposals, keep NULL.
52
+ id: 'agent-workflows/2-work-map', to: 2, kind: 'add-columns', table: 'agent_workflow_versions',
53
+ summary: 'the work map (inputs, outputs, dependencies, branches, acceptance, questions) a version starts with',
54
+ columns: { work_map: 'TEXT' }
55
+ }]
49
56
  });
50
57
 
51
58
  export class AgentWorkflowStore {
@@ -64,9 +71,7 @@ export class AgentWorkflowStore {
64
71
  }
65
72
 
66
73
  transaction(work) {
67
- this.db.exec('BEGIN IMMEDIATE');
68
- try { const result = work(); this.db.exec('COMMIT'); return result; }
69
- catch (error) { this.db.exec('ROLLBACK'); throw error; }
74
+ return immediateTransaction(this.db, work);
70
75
  }
71
76
 
72
77
  get(workflowId) {
@@ -121,9 +126,10 @@ export class AgentWorkflowStore {
121
126
  }
122
127
 
123
128
  addVersion(record) {
124
- this.db.prepare('INSERT INTO agent_workflow_versions VALUES(?, ?, ?, ?, ?, ?, ?, ?)').run(record.workflowId,
125
- record.version, record.name, record.purpose, JSON.stringify(record.steps), record.source, record.createdBy,
126
- record.createdAt);
129
+ this.db.prepare(`INSERT INTO agent_workflow_versions(workflow_id, version, name, purpose, steps, source, created_by,
130
+ created_at, work_map) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?)`).run(record.workflowId, record.version, record.name,
131
+ record.purpose, JSON.stringify(record.steps), record.source, record.createdBy, record.createdAt,
132
+ record.workMap ? JSON.stringify(record.workMap) : null);
127
133
  }
128
134
 
129
135
  addDecision({ workflowId, version, decision, decidedAt }) {
@@ -153,7 +159,8 @@ function workflowView(row) {
153
159
  function versionView(row) {
154
160
  if (!row) return null;
155
161
  return { workflowId: row.workflow_id, version: row.version, name: row.name, purpose: row.purpose,
156
- steps: JSON.parse(row.steps), source: row.source, createdBy: row.created_by, createdAt: row.created_at };
162
+ steps: JSON.parse(row.steps), ...(row.work_map ? { workMap: JSON.parse(row.work_map) } : {}), source: row.source,
163
+ createdBy: row.created_by, createdAt: row.created_at };
157
164
  }
158
165
 
159
166
  function runView(row) {
@@ -0,0 +1,19 @@
1
+ import { claudeChoiceAnswers } from './claude-code/choice-answers.js';
2
+ import { locatePreferenceTranscript } from './preference-evidence.js';
3
+
4
+ // The person's answers in a client's own question card, for the relay check
5
+ // (agent-delegation/person-words.js): an FLA that asks with the host's
6
+ // single-choice UI can relay that choice as the person's words. Clients whose
7
+ // card answers FULI cannot read return none, and the FLA asks in chat instead.
8
+ const READERS = Object.freeze({ claude_code: claudeChoiceAnswers, claude: claudeChoiceAnswers });
9
+
10
+ export async function nativeChoiceAnswers(task, { env = process.env } = {}) {
11
+ const reader = READERS[task?.sourceApplication];
12
+ if (!reader || typeof task.sessionId !== 'string') return [];
13
+ try {
14
+ const transcript = await locatePreferenceTranscript(task.sourceApplication, task.sessionId, { env });
15
+ return transcript ? await reader(transcript.path, task.sessionId) : [];
16
+ } catch {
17
+ return [];
18
+ }
19
+ }
@@ -0,0 +1,49 @@
1
+ import { open } from 'node:fs/promises';
2
+
3
+ // What the person picked or typed in Claude Code's own question card
4
+ // (AskUserQuestion), read from the session's transcript, which Claude Code
5
+ // writes itself: the answer is a tool result whose `toolUseResult.answers` maps
6
+ // each question to the person's choice. Only answers to an AskUserQuestion of
7
+ // this session's main chain count, and only the transcript's tail is read.
8
+ const TAIL_BYTES = 4 * 1024 * 1024;
9
+ const QUESTION_TOOL = 'AskUserQuestion';
10
+
11
+ export async function claudeChoiceAnswers(path, sessionId) {
12
+ const records = parse(await tail(path));
13
+ const asked = new Set(records.flatMap(record => (record.type === 'assistant' && mainChain(record, sessionId)
14
+ ? content(record).filter(block => block?.type === 'tool_use' && block.name === QUESTION_TOOL).map(block => block.id)
15
+ : [])));
16
+ return records.flatMap((record) => {
17
+ if (record.type !== 'user' || !mainChain(record, sessionId)) return [];
18
+ const answered = content(record).some(block => block?.type === 'tool_result' && asked.has(block.tool_use_id));
19
+ const answers = record.toolUseResult?.answers;
20
+ if (!answered || !answers || typeof answers !== 'object') return [];
21
+ return Object.values(answers).filter(text => typeof text === 'string' && text.trim())
22
+ .map(text => ({ text, at: typeof record.timestamp === 'string' ? record.timestamp : null }));
23
+ });
24
+ }
25
+
26
+ const mainChain = (record, sessionId) => record.sessionId === sessionId && record.isSidechain !== true;
27
+ const content = record => (Array.isArray(record.message?.content) ? record.message.content : []);
28
+
29
+ async function tail(path) {
30
+ const file = await open(path, 'r');
31
+ try {
32
+ const { size } = await file.stat();
33
+ const length = Math.min(size, TAIL_BYTES);
34
+ const buffer = Buffer.alloc(length);
35
+ await file.read(buffer, 0, length, size - length);
36
+ const text = buffer.toString('utf8');
37
+ // A cut first line is not a record.
38
+ return size > length ? text.slice(text.indexOf('\n') + 1) : text;
39
+ } finally {
40
+ await file.close();
41
+ }
42
+ }
43
+
44
+ function parse(text) {
45
+ return text.split('\n').flatMap((line) => {
46
+ if (!line.trim()) return [];
47
+ try { return [JSON.parse(line)]; } catch { return []; }
48
+ });
49
+ }
@@ -0,0 +1,14 @@
1
+ import { FLA_MENU_PREFIX } from '../../graphiti/fla-menu.js';
2
+
3
+ // Claude Code puts an MCP prompt chosen from its / menu into the prompt as
4
+ // `/mcp__<server>__<prompt> <text>` (shown in the menu as `/<server>:<prompt>`)
5
+ // and hands the prompt hook that line, not the prompt's expansion. A pick from
6
+ // FULI's /fla menu (src/mcp/fla-menu-prompts.js) becomes `#FLA <menu name>
7
+ // <text>`, which task entry resolves to exactly that FLA, like a typed #FLA.
8
+ // The server is `fuli`, or a plugin's namespaced copy of it.
9
+ const MENU_COMMAND = new RegExp(String.raw`^\/(?:mcp__[\w-]*?fuli__|fuli:)(${FLA_MENU_PREFIX}\S+)(?:\s+([\s\S]*))?$`, 'u');
10
+
11
+ export function claudeFlaMenuPrompt(prompt) {
12
+ const pick = MENU_COMMAND.exec(prompt.trimStart());
13
+ return pick ? `#FLA ${pick[1]}${pick[2]?.trim() ? ` ${pick[2].trim()}` : ''}` : prompt;
14
+ }
@@ -23,15 +23,18 @@ import { createRuntimeLeaseClient } from '../../adaptive-runtime/lease-client.js
23
23
  import { openFederatedGraphApplication } from '../../graphiti/federated-application.js';
24
24
  import { resolveGraphRuntimeOptions } from '../../graphiti/runtime-config.js';
25
25
  import { isMainModule } from '../../system/main-module.js';
26
- import { recordHookFailure, runtimeConfigPathOf } from '../lifecycle-failure.js';
26
+ import { consoleRecoveryNotice, recordHookFailure, runtimeConfigPathOf } from '../lifecycle-failure.js';
27
27
  import { readHookInput } from '../lifecycle-input.js';
28
28
  import { stopHookOutcome } from '../../conversations/stop-auto-close.js';
29
+ import { turnFindings } from '../../conversations/turn-findings.js';
30
+ import { claudeTurnRecords } from './turn-records.js';
29
31
  import { outdatedMcpNotice, withOutdatedMcpNotice } from '../../mcp/process-registry.js';
30
32
  import { FULI_VERSION } from '../../package-metadata.js';
31
33
  import { taskSceneInput } from '../../graphiti/task-scene.js';
32
34
  import { entryBudget, entryNotice, noteEntryNotice, NO_TASK_AT_DEADLINE, partialEntryText, runWithEntryBudget } from '../../conversations/entry-budget.js';
33
35
  import { recordDebugTurn } from '../../debug-turns/recorder.js';
34
36
  import { withDebugMarkNotice, withoutDebugMark } from '../../debug-turns/trigger.js';
37
+ import { claudeFlaMenuPrompt } from './fla-menu-command.js';
35
38
 
36
39
  // Claude Code shows the model only a preview (about the first 10,000
37
40
  // characters) of a hook context longer than that and saves the rest as a file
@@ -66,8 +69,9 @@ export async function claudeLifecycleOutput(event, input, invoke, { delivery, cu
66
69
  const basis = inPlaceRefreshBasis(input);
67
70
  if (basis) return withinInlineLimit(event, input,
68
71
  await claudeRefreshOutput(event, input, invoke, { delivery, currentTask, onCurrentTask }, basis));
72
+ const prompt = claudeFlaMenuPrompt(withoutDebugMark(input.prompt));
69
73
  const context = await invoke('begin_task_context', {
70
- sessionId, projectPath: input.cwd, taskPrompt: withoutDebugMark(input.prompt).slice(0, 8192), ...source, ...taskSceneInput(withoutDebugMark(input.prompt))
74
+ sessionId, projectPath: input.cwd, taskPrompt: prompt.slice(0, 8192), ...source, ...taskSceneInput(prompt)
71
75
  });
72
76
  const entry = compactTaskContext(context);
73
77
  return withinInlineLimit(event, input, await preferenceHookOutput(entry, event, input, delivery, 'claude_code',
@@ -75,7 +79,8 @@ export async function claudeLifecycleOutput(event, input, invoke, { delivery, cu
75
79
  false, { inlineChars: CLAUDE_ENTRY_INLINE_CHARS }));
76
80
  }
77
81
  const check = await invoke('verify_task_checkpoint', { sessionId, ...source });
78
- return stopHookOutcome(check, invoke, source, { reply: input.last_assistant_message });
82
+ return stopHookOutcome(check, invoke, source, { reply: input.last_assistant_message,
83
+ findings: () => turnFindings(claudeTurnRecords(input.transcript_path, sessionId)) });
79
84
  }
80
85
 
81
86
  // The last guard of the inline limit (rec#11 D-72): a context the bounded
@@ -109,9 +114,9 @@ const UNCONFIRMED_TURN = Object.freeze({
109
114
  + 'FULI: this turn is a host system delivery, but its task ownership is not confirmed; no task was created or switched.'
110
115
  });
111
116
 
112
- export function claudeLifecycleUnavailable(event, input = null, reason = null, incomplete = '') {
117
+ export function claudeLifecycleUnavailable(event, input = null, reason = null, incomplete = '', recovery = '') {
113
118
  const warning = reason ?? 'Fuli context is unavailable; memory recovery and task checkpoint are not verified. '
114
- + 'Continue with the user request and use Fuli MCP when it becomes available.';
119
+ + 'Continue with the user request and use Fuli MCP when it becomes available.' + recovery;
115
120
  const sessionId = input?.session_id;
116
121
  const fallback = event === 'UserPromptSubmit' && inPlaceRefreshBasis(input) ? ` ${START_NEW_WORK}`
117
122
  : typeof sessionId === 'string' && sessionId.trim() && sessionId.length <= 256
@@ -124,11 +129,11 @@ export function claudeLifecycleUnavailable(event, input = null, reason = null, i
124
129
 
125
130
  // At the deadline an entry that already wrote its task delivers its token and
126
131
  // what is missing (entry-budget.js); otherwise the fallback says what to fetch.
127
- export function claudeEntryDeadlineOutput(event, input, budget) {
132
+ export function claudeEntryDeadlineOutput(event, input, budget, recovery = '') {
128
133
  const partial = event === 'UserPromptSubmit' ? partialEntryText(budget) : null;
129
134
  const output = partial ? { systemMessage: 'Fuli task context is partial: the hook deadline came before it was complete.',
130
135
  hookSpecificOutput: { hookEventName: event, additionalContext: partial } }
131
- : claudeLifecycleUnavailable(event, input, null, NO_TASK_AT_DEADLINE);
136
+ : claudeLifecycleUnavailable(event, input, null, NO_TASK_AT_DEADLINE, recovery);
132
137
  return event === 'UserPromptSubmit' ? withOutdatedMcpNotice(output, entryNotice(budget)) : output;
133
138
  }
134
139
 
@@ -267,9 +272,10 @@ async function main() {
267
272
  // The entry's own time ends where its requests are cancelled.
268
273
  const abortAfterMs = Math.max(1, timeoutMs - 1500);
269
274
  const budget = entryBudget(abortAfterMs);
275
+ const recovery = () => consoleRecoveryNotice(runtimeConfigPathOf(args));
270
276
  const deadline = setTimeout(() => {
271
277
  controller.abort();
272
- emit(claudeEntryDeadlineOutput(event, input, budget), () => process.exit(0));
278
+ emit(claudeEntryDeadlineOutput(event, input, budget, recovery()), () => process.exit(0));
273
279
  }, timeoutMs);
274
280
  const abort = setTimeout(() => controller.abort(), abortAfterMs);
275
281
  try {
@@ -278,7 +284,8 @@ async function main() {
278
284
  readInput: async () => { input = await readHookInput(); return input; } }));
279
285
  emit(output);
280
286
  } catch (error) {
281
- emit(controller.signal.aborted ? claudeEntryDeadlineOutput(event, input, budget) : claudeLifecycleUnavailable(event, input));
287
+ emit(controller.signal.aborted ? claudeEntryDeadlineOutput(event, input, budget, recovery())
288
+ : claudeLifecycleUnavailable(event, input, null, '', recovery()));
282
289
  recordHookFailure({ runtimeConfigPath: runtimeConfigPathOf(args), client: 'claude_code', event, error,
283
290
  sessionId: input?.session_id, startedAt });
284
291
  } finally {
@@ -0,0 +1,38 @@
1
+ import { closeSync, fstatSync, openSync, readSync } from 'node:fs';
2
+ import { normalizeClaudeRecord } from './conversation-transcript.js';
3
+
4
+ // The current turn of a Claude Code transcript as normalized records
5
+ // (turn-findings.js): the turn's prompt and everything after it. The prompt is
6
+ // the last user message that is not only a <system-reminder> the host adds
7
+ // mid-turn; a turn the host itself started (a <side-sessions-event>) begins at
8
+ // that note. Only the
9
+ // transcript's tail is read; a turn longer than that is read from where the
10
+ // tail begins. Unreadable or unverified reads as no records.
11
+ const TAIL_BYTES = 1 << 20;
12
+ const REMINDERS_ONLY = /^(?:\s*<system-reminder>[\s\S]*?<\/system-reminder>)+\s*$/u;
13
+
14
+ export function claudeTurnRecords(transcriptPath, sessionId) {
15
+ if (typeof transcriptPath !== 'string' || typeof sessionId !== 'string') return [];
16
+ let text;
17
+ try {
18
+ const fd = openSync(transcriptPath, 'r');
19
+ try {
20
+ const { size } = fstatSync(fd);
21
+ const length = Math.min(size, TAIL_BYTES);
22
+ const buffer = Buffer.alloc(length);
23
+ readSync(fd, buffer, 0, length, size - length);
24
+ text = buffer.toString('utf8');
25
+ if (length < size) text = text.slice(text.indexOf('\n') + 1);
26
+ } finally {
27
+ closeSync(fd);
28
+ }
29
+ } catch {
30
+ return [];
31
+ }
32
+ const lines = text.split('\n').filter(Boolean).map(line => {
33
+ try { return normalizeClaudeRecord(JSON.parse(line), sessionId); } catch { return []; }
34
+ });
35
+ const prompt = lines.findLastIndex(records => records.some(record => record.role === 'user' && record.kind === 'message'
36
+ && !REMINDERS_ONLY.test(record.content)));
37
+ return lines.slice(Math.max(prompt, 0)).flat();
38
+ }
@@ -0,0 +1,98 @@
1
+ import { utf8Preview } from '../../text/utf8-preview.js';
2
+
3
+ // The /fla menu in the Codex app (11-08). The app shows no MCP prompts, but
4
+ // lists `<CODEX_HOME>/prompts/*.md` in its / menu as `prompts:<name>` with
5
+ // the file's description, reading the folder when a window starts. A pick
6
+ // sends the file's body, a newline and what the person typed:
7
+ // `#FLA <name>\n<request>`, which task entry resolves like a typed #FLA.
8
+ //
9
+ // FULI writes only through agent-installer (its `prompts` component): this
10
+ // keeps the list the installer manifest gives Codex, and re-applies Codex
11
+ // when the list changes. The installer writes each file with FULI's
12
+ // ownership line, removes the ones FULI no longer lists, skips a name the
13
+ // person's own prompt already has, and deletes FULI's when Codex is
14
+ // disconnected. Until the first read the list is unknown and the manifest
15
+ // says nothing, so no other caller of the installer changes the files.
16
+
17
+ const CHECK_EVERY_MS = 60_000;
18
+ // A Codex FULI is not connected to, or one whose other FULI parts the person
19
+ // changed, is looked at again after this long.
20
+ const RETRY_DISCONNECTED_MS = 10 * 60_000;
21
+ // agent-installer 0.4 refuses a whole manifest with more than 256 prompts,
22
+ // and every client's status, install and repair with it; FULI stays well below.
23
+ const PROMPT_LIMIT = 200;
24
+ // Its description limit, in UTF-16 code units as it counts them.
25
+ const DESCRIPTION_LIMIT = 256;
26
+
27
+ // Menu entries (fla-menu.js) as agent-installer prompts: every built-in
28
+ // role, then the FLAs Codex may continue, most recent first, up to the limit.
29
+ export function codexPromptFiles(entries) {
30
+ const roles = entries.filter(entry => entry.role);
31
+ const flas = entries.filter(entry => !entry.role).slice(0, Math.max(0, PROMPT_LIMIT - roles.length));
32
+ return [...flas, ...roles].map(entry => ({ name: entry.name,
33
+ description: utf8Preview(entry.description, DESCRIPTION_LIMIT, text => text.length), body: entry.text }));
34
+ }
35
+
36
+ // read(): the menu entries for Codex now (fla-menu-reader.js); [] when off.
37
+ export function createCodexFlaPromptSync({ read, everyMs = CHECK_EVERY_MS, retryDisconnectedMs = RETRY_DISCONNECTED_MS,
38
+ now = Date.now, onError = warnOnce() }) {
39
+ let current = null;
40
+ let applied = null;
41
+ let notBefore = 0;
42
+
43
+ // installer: the client installer port (client-installer.js). True when
44
+ // this list is now Codex's; a list not yet applied is tried again.
45
+ async function sync(installer) {
46
+ const wanted = codexPromptFiles(await read());
47
+ const digest = JSON.stringify([...wanted].sort((a, b) => (a.name < b.name ? -1 : a.name > b.name ? 1 : 0)));
48
+ if (digest === applied) return false;
49
+ current = wanted;
50
+ if (now() < notBefore) return false;
51
+ const status = await installer.status();
52
+ if (status.status !== 'available') return false;
53
+ const codex = status.clients.find(client => client.id === 'codex');
54
+ // Connecting Codex later writes this list with everything else; FULI's
55
+ // other Codex parts the person changed are left for the doctor or a
56
+ // reconnect. agent-installer's ClientStatus: `componentStates` holds
57
+ // each part's state (`components` only names the parts).
58
+ const others = (codex?.componentStates ?? []).filter(item => item.component !== 'prompts');
59
+ if (!codex || !['connected', 'update_available'].includes(codex.state)
60
+ || !others.every(item => ['current', 'unsupported'].includes(item.state))) {
61
+ notBefore = now() + retryDisconnectedMs;
62
+ return false;
63
+ }
64
+ const result = await installer.apply(['codex']);
65
+ const written = result?.status === 'available' && !result.problems?.some(problem => problem.client === 'codex');
66
+ if (written) { applied = digest; notBefore = 0; }
67
+ return written;
68
+ }
69
+
70
+ return {
71
+ // The list the installer manifest gives Codex, or null while unknown.
72
+ prompts: () => current,
73
+ sync,
74
+ start(installer) {
75
+ let running = false;
76
+ const tick = async () => {
77
+ if (running) return;
78
+ running = true;
79
+ try { await sync(installer); } catch (error) { onError(error); } finally { running = false; }
80
+ };
81
+ const timer = setInterval(tick, everyMs);
82
+ timer.unref?.();
83
+ void tick();
84
+ return () => clearInterval(timer);
85
+ }
86
+ };
87
+ }
88
+
89
+ // A failed check is said in the console's log once, not every minute; a
90
+ // different failure is said again.
91
+ function warnOnce(log = message => console.warn(message)) {
92
+ let last = null;
93
+ return error => {
94
+ const message = `The Codex /fla prompt files were not updated: ${error?.message ?? error}`;
95
+ if (message !== last) log(message);
96
+ last = message;
97
+ };
98
+ }
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { randomUUID } from 'node:crypto';
3
3
  import { hookFailureCause, PASS_TASK_TOKEN, TASK_RULES_ON_DEMAND, taskClosingInstruction } from '../lifecycle-message.js';
4
- import { recordHookFailure } from '../lifecycle-failure.js';
4
+ import { consoleRecoveryNotice, recordHookFailure, runtimeConfigPathOf } from '../lifecycle-failure.js';
5
5
  import { outdatedMcpNotice, withOutdatedMcpNotice } from '../../mcp/process-registry.js';
6
6
  import { FULI_VERSION } from '../../package-metadata.js';
7
7
  import { transcriptLifecycle } from '../../conversations/transcript-lifecycle.js';
@@ -242,12 +242,12 @@ async function closeQuietly(resource) {
242
242
 
243
243
  // The cause says whether the hook ran out of time or failed, so a report can
244
244
  // tell a slow first start from a broken install without exposing details.
245
- function codexLifecycleUnavailable(event, input, cause, incomplete = '') {
245
+ function codexLifecycleUnavailable(event, input, cause, incomplete = '', recovery = '') {
246
246
  // The person's review line never reaches the model unverified (rec#22).
247
247
  if (event === 'UserPromptSubmit' && isCodexReviewCommand(input?.prompt)) {
248
248
  return { decision: 'block', reason: CODEX_REVIEW_UNVERIFIED_REASON };
249
249
  }
250
- const warning = `Fuli context is unavailable (${cause}). Continue with the user request; saved context and checkpoint were not verified.`;
250
+ const warning = `Fuli context is unavailable (${cause}). Continue with the user request; saved context and checkpoint were not verified.${recovery}`;
251
251
  // A refresh turn is never told to begin a task for "the current user request".
252
252
  if (codexRefreshTurn(event, input)) return { systemMessage: warning, hookSpecificOutput: {
253
253
  hookEventName: event, additionalContext: `${warning} ${START_NEW_WORK}` } };
@@ -265,11 +265,11 @@ function codexLifecycleUnavailable(event, input, cause, incomplete = '') {
265
265
 
266
266
  // At the deadline an entry that already wrote its task delivers its token and
267
267
  // what is missing (entry-budget.js); otherwise the fallback says what to fetch.
268
- function codexEntryDeadlineOutput(event, input, budget, cause) {
268
+ function codexEntryDeadlineOutput(event, input, budget, cause, recovery = '') {
269
269
  const partial = event === 'UserPromptSubmit' && !isCodexReviewCommand(input?.prompt) ? partialEntryText(budget) : null;
270
270
  const output = partial ? { systemMessage: `Fuli task context is partial (${cause}).`,
271
271
  hookSpecificOutput: { hookEventName: event, additionalContext: partial } }
272
- : codexLifecycleUnavailable(event, input, cause, NO_TASK_AT_DEADLINE);
272
+ : codexLifecycleUnavailable(event, input, cause, NO_TASK_AT_DEADLINE, recovery);
273
273
  return event === 'UserPromptSubmit' ? withOutdatedMcpNotice(output, entryNotice(budget)) : output;
274
274
  }
275
275
 
@@ -293,14 +293,15 @@ export async function runCodexLifecycleCommand(args, dependencies = {}) {
293
293
  runtimeConfigPath = options?.runtimeConfigPath ?? null;
294
294
  return options;
295
295
  };
296
- const unavailable = cause => `${JSON.stringify(codexLifecycleUnavailable(event, input, cause))}\n`;
296
+ const recovery = () => consoleRecoveryNotice(runtimeConfigPath ?? runtimeConfigPathOf(args));
297
+ const unavailable = cause => `${JSON.stringify(codexLifecycleUnavailable(event, input, cause, '', recovery()))}\n`;
297
298
  const budget = entryBudget(timeoutMs);
298
299
  let cleanup = async () => {};
299
300
  let deadline;
300
301
  const expired = new Promise(resolve => {
301
302
  deadline = setTimeout(async () => {
302
303
  controller.abort();
303
- write(`${JSON.stringify(codexEntryDeadlineOutput(event, input, budget, `no answer within ${timeoutMs} ms`))}\n`);
304
+ write(`${JSON.stringify(codexEntryDeadlineOutput(event, input, budget, `no answer within ${timeoutMs} ms`, recovery()))}\n`);
304
305
  // A broken dependency must not hold the host open. Give opened leases
305
306
  // and connections a bounded chance to close before the process exits.
306
307
  let grace;
@@ -4,7 +4,7 @@ import { callAgentTool } from '../../agent-tools.js';
4
4
  import { createRuntimeLeaseClient } from '../../adaptive-runtime/lease-client.js';
5
5
  import { openFederatedGraphApplication } from '../../graphiti/federated-application.js';
6
6
  import { isMainModule } from '../../system/main-module.js';
7
- import { recordHookFailure, runtimeConfigPathOf } from '../lifecycle-failure.js';
7
+ import { consoleRecoveryNotice, recordHookFailure, runtimeConfigPathOf } from '../lifecycle-failure.js';
8
8
  import { readHookInput } from '../lifecycle-input.js';
9
9
  import { resolveGraphRuntimeOptions } from '../../graphiti/runtime-config.js';
10
10
  import { sessionFuliCommandResult, sessionFuliEntryRefusal, sessionFuliSessionBegan } from '../../conversations/session-fuli-entry.js';
@@ -129,7 +129,8 @@ async function main() {
129
129
  await runCursorLifecycleHook(args);
130
130
  } catch (error) {
131
131
  // Don't print prompts, transcripts, runtime config, paths or credentials.
132
- const warning = 'Fuli role context is unavailable; check the Provider connection. Memory recovery is not verified.';
132
+ const warning = 'Fuli role context is unavailable; check the Provider connection. Memory recovery is not verified.'
133
+ + consoleRecoveryNotice(runtimeConfigPathOf(args));
133
134
  process.stdout.write(`${JSON.stringify(event === 'beforeSubmitPrompt'
134
135
  ? { continue: true, user_message: warning }
135
136
  : event === 'sessionStart' ? { additional_context: warning } : {})}\n`);
@@ -1,10 +1,13 @@
1
1
  import { sourceConsoleUrl } from '../graphiti/source-marker.js';
2
2
  import { agentLabel } from './agent-label.js';
3
+ import { flaAddress } from '../../packages/roundtable/src/roundtable/fla-address.js';
4
+ import { markdownLink } from '../text/markdown-link.js';
3
5
 
4
- // The console origin every receipt link opens: `fuli:/` once the desktop
5
- // client opens fuli:// links for this installation (src/desktop/fuli-links.js).
6
+ // The console origin every receipt link opens: always http. Chat clients such as
7
+ // Claude Desktop show fuli:// links but never hand them to the system, so a
8
+ // click did nothing; every client opens a plain web link.
6
9
  export function receiptConsoleUrl(application) {
7
- return application.fuliLinkOrigin?.() ?? application.consoleUrl ?? sourceConsoleUrl(null);
10
+ return application.consoleUrl ?? sourceConsoleUrl(null);
8
11
  }
9
12
 
10
13
  // The settings page where the person turns recording back on (rec#5 C10-3).
@@ -33,7 +36,7 @@ export const CONTINUATION_GUIDANCE = 'Use a connected client and the same author
33
36
  export function agentContinuation(projectId, agentId, conversationId = null) {
34
37
  return { personal_project_id: projectId, agent_id: agentId,
35
38
  ...(conversationId ? { conversation_id: conversationId } : {}),
36
- prompt: `@{${encodeURIComponent(agentId)}} ` + (projectId
39
+ prompt: `${flaAddress(agentId)} ` + (projectId
37
40
  ? `请在 FULI 项目 ${JSON.stringify(projectId)} 对应的工作目录继续工作。`
38
41
  : '请在未绑定项目的会话中,以这个全局 FLA 继续工作。')
39
42
  + (conversationId ? `先用当前任务的 taskContextToken 调用 resume_agent_conversation,conversationId=${JSON.stringify(conversationId)},再按需读取上下文。` : '先恢复这个 Agent 在当前范围的记忆和最近会话。'),
@@ -41,7 +44,7 @@ export function agentContinuation(projectId, agentId, conversationId = null) {
41
44
  }
42
45
 
43
46
  function agentLink(application, agentId, name, role = null) {
44
- return `[${receiptText(agentLabel(name, role) || agentId)}](<${agentProfileUrl(application, agentId).replace(/[<>\s]/g, encodeURIComponent)}>)`;
47
+ return markdownLink(receiptText(agentLabel(name, role) || agentId), agentProfileUrl(application, agentId));
45
48
  }
46
49
 
47
50
  // One line of literal text in a Markdown receipt.
@@ -115,7 +118,7 @@ function collaboratorLink(application, item) {
115
118
  for (const run of item.runs ?? []) {
116
119
  const url = receiptSessionUrl(run.session_url);
117
120
  const status = { completed: '完成', failed: '失败', cancelled: '取消', blocked: '阻塞', awaiting_review: '待验收' }[run.status];
118
- if (url) sessions.set(`${run.application}:${run.session_id}`, `[会话${status ? `·${status}` : ''}](<${url}>)`);
121
+ if (url) sessions.set(`${run.application}:${run.session_id}`, markdownLink(`会话${status ? `·${status}` : ''}`, url));
119
122
  }
120
123
  const omitted = item.runCount - (item.runs?.length ?? 0);
121
124
  const detail = [...duties.map(receiptText), ...sessions.values(), ...(omitted > 0 ? [`另${omitted}次`] : [])].join(',');
@@ -160,7 +163,6 @@ function unassignedReceipt(status, reason) {
160
163
  unavailable: '分配失败(服务或身份恢复不可用)',
161
164
  agent_unavailable: '分配失败(指定 FLA 不可用)',
162
165
  agent_not_found: '分配失败(指定 FLA 不存在)',
163
- ambiguous_agent: '分配待确认(存在同名 FLA)',
164
166
  agent_selection_conflict: '分配待确认(FLA 选择冲突)',
165
167
  manual_selection: '分配待确认(需要选择负责人)'
166
168
  };
@@ -4,6 +4,7 @@ import { diagnosticEventLog } from '../diagnostics/event-log.js';
4
4
  import { errorCode } from '../diagnostics/safe-event.js';
5
5
  import { resolveGraphRuntimeOptions } from '../graphiti/runtime-config.js';
6
6
  import { hookFailureCause } from './lifecycle-message.js';
7
+ import { consoleAutostartNotice } from '../local-runtime/console-autostart-record.js';
7
8
 
8
9
  // A lifecycle hook that failed records it in the data directory's diagnostics
9
10
  // log (rec#73), with the same cause its client was shown and the session as
@@ -20,6 +21,14 @@ export function recordHookFailure({ runtimeConfigPath, client, event, error, ses
20
21
  });
21
22
  }
22
23
 
24
+ // Why client sessions no longer start FULI by themselves (rec#94), appended
25
+ // to every Agent's "FULI unavailable" text; '' when they still do.
26
+ export function consoleRecoveryNotice(runtimeConfigPath) {
27
+ if (typeof runtimeConfigPath !== 'string' || !runtimeConfigPath) return '';
28
+ const notice = consoleAutostartNotice(dirname(runtimeConfigPath));
29
+ return notice ? ` ${notice}` : '';
30
+ }
31
+
23
32
  // The runtime configuration a hook process was started with, as the hook
24
33
  // itself resolves it; null when even that cannot be resolved.
25
34
  export function runtimeConfigPathOf(args, env = process.env) {
@@ -13,7 +13,8 @@ export function hookFailureCause(error) {
13
13
  }
14
14
 
15
15
  export const PASS_TASK_TOKEN = 'Pass taskContextToken to every FULI call. ';
16
- export const TASK_RULES_ON_DEMAND = 'Shared rules are referenced by version. Do not read fuli://rules/task-entry for an ordinary task; read one referenced section only when you must act on it (workers, Agent choices, board writes, memory merge, conflicts).';
16
+ // rec#88: every request re-reads the label, so it says each thing once and briefly.
17
+ export const TASK_RULES_ON_DEMAND = 'Rules are referenced by version: read a fuli://rules/task-entry section only when you must act on it, never for an ordinary task.';
17
18
 
18
19
  // How a hook-delivered task ends, in the entry's own label (rec#47 F1). The
19
20
  // entry only references the checkpoint and receipt rules, so the label says
@@ -27,16 +28,14 @@ export function taskClosingInstruction(entry) {
27
28
  if (typeof entry?.taskContextToken !== 'string') return '';
28
29
  const call = 'checkpoint_task_knowledge with this taskContextToken';
29
30
  const checkpoint = entry.checkpoint_required === true ? `Before your final reply, call ${call}. `
30
- : entry.checkpoint_guidance ? `The Stop hook closes this task. Call ${call} only when something is worth recording `
31
- + '(knowledge, experience, memory changes, collaborators, a meaningful workLog). ' : '';
31
+ : entry.checkpoint_guidance ? `The Stop hook closes this task; call ${call} only to record something worth keeping. ` : '';
32
32
  return checkpoint + taskReceiptInstruction(entry);
33
33
  }
34
34
 
35
35
  // The receipt sentence alone: a blocked frame keeps it too (preference-lifecycle.js).
36
36
  export function taskReceiptInstruction(entry) {
37
37
  return entry?.agent_receipt?.required === true && typeof entry.agent_receipt.markdown === 'string'
38
- ? 'End your final reply with agent_receipt.markdown, unchanged and once '
39
- + '(a receipt returned by checkpoint_task_knowledge replaces it). ' : '';
38
+ ? 'End your final reply with agent_receipt.markdown, unchanged, once (a checkpoint receipt replaces it). ' : '';
40
39
  }
41
40
 
42
41
  const DEFAULT_MAX_BYTES = 8_000;