fuli-context 0.23.0 → 0.25.1
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.
- package/README.md +169 -979
- package/README.zh-CN.md +157 -830
- package/dist/web/assets/{AboutPage-S8QFfzpA.js → AboutPage-Dx07_Z8u.js} +1 -1
- package/dist/web/assets/{AboutSectionHeading-B5CzH4Zs.js → AboutSectionHeading-BdhpM609.js} +1 -1
- package/dist/web/assets/AgentAppsPage-5VW0uCTz.js +1 -0
- package/dist/web/assets/{AgentAppsPage-BuJWNNdL.css → AgentAppsPage-BCxrjrsE.css} +1 -1
- package/dist/web/assets/AgentAvatar-DbsG1_BY.css +1 -0
- package/dist/web/assets/AgentAvatar-DlAQP7gm.js +1 -0
- package/dist/web/assets/{AgentHand-BGGdVdd9.js → AgentHand-FPFg9-Y1.js} +1 -1
- package/dist/web/assets/AgentManagement-CLFw9oV9.css +1 -0
- package/dist/web/assets/AgentManagement-UTe4I3WA.js +7 -0
- package/dist/web/assets/AgentMentionCopy-B9eIIr3L.css +1 -0
- package/dist/web/assets/AgentMentionCopy-C5ExlutT.js +1 -0
- package/dist/web/assets/{AgentName-CUjBNQ8j.js → AgentName-C8mYbtKs.js} +1 -1
- package/dist/web/assets/AgentProfilePage-BLeyT3By.js +5 -0
- package/dist/web/assets/{AgentProfilePage-D5QUzw5N.css → AgentProfilePage-DumsVHP1.css} +1 -1
- package/dist/web/assets/AgentServicesPage-B2mDUgYZ.css +1 -0
- package/dist/web/assets/AgentServicesPage-BXi152Xc.js +1 -0
- package/dist/web/assets/{AppViewerPage-CcOlwxck.js → AppViewerPage-BR8ttEGa.js} +1 -1
- package/dist/web/assets/{BackToTop-C3KYEoCW.js → BackToTop-5_AQRMZl.js} +1 -1
- package/dist/web/assets/{BoardCardFieldsMenu-BlBWT1j7.js → BoardCardFieldsMenu-Bb_Z9a4Q.js} +1 -1
- package/dist/web/assets/{BoardMoveMenu-Bc7xC1Uh.js → BoardMoveMenu-B-f8O6cC.js} +1 -1
- package/dist/web/assets/{Breadcrumb-C_xMiD-Z.js → Breadcrumb-DtM5lZy5.js} +1 -1
- package/dist/web/assets/{CaptureChangePage-Bekp1aWg.js → CaptureChangePage-BzwcfacI.js} +1 -1
- package/dist/web/assets/ConnectionsPage-C_vgqwF2.js +1 -0
- package/dist/web/assets/ConnectionsPage-DS2PEG6K.css +1 -0
- package/dist/web/assets/{CopyFixPrompt-Bp-UX4Hq.js → CopyFixPrompt-DlarhfPK.js} +1 -1
- package/dist/web/assets/DataFormatPage-Ccy_e9rf.css +1 -0
- package/dist/web/assets/DataFormatPage-DwL4Ofc9.js +2 -0
- package/dist/web/assets/DebugTurnPage-UpK_3ZWY.js +1 -0
- package/dist/web/assets/DebugTurnsPage-C0aZg5-3.js +1 -0
- package/dist/web/assets/{DialogTitle-Lj5s6nwG.js → DialogTitle-BQXOe8EK.js} +1 -1
- package/dist/web/assets/{EmployeeRedirectPage-DnvwJeCN.js → EmployeeRedirectPage-BjWpXDSM.js} +1 -1
- package/dist/web/assets/EmployeeScopeDialog-Bt3ZlDyZ.js +1 -0
- package/dist/web/assets/EmployeeScopeDialog-U_-eNH0Z.css +1 -0
- package/dist/web/assets/{EmployeeWorkbench-BhReI8l6.css → EmployeeWorkbench-Bp9pUkfS.css} +1 -1
- package/dist/web/assets/EmployeeWorkbench-GtJIUD5G.js +4 -0
- package/dist/web/assets/FieldRoot-DRf4wM5x.js +1 -0
- package/dist/web/assets/FlaGrowth-DgVLB8hp.css +1 -0
- package/dist/web/assets/FlaGrowth-OQtTLTng.js +1 -0
- package/dist/web/assets/FlaOccupationKit-BvrKsosv.css +1 -0
- package/dist/web/assets/FlaOccupationKit-C-x4VrKk.js +1 -0
- package/dist/web/assets/{FlaTaskSheets-CNdaBy1P.js → FlaTaskSheets-CoaF5CbQ.js} +1 -1
- package/dist/web/assets/FlasPage-CgIVOGFM.js +1 -0
- package/dist/web/assets/FlasPage-H99IZ9M6.css +1 -0
- package/dist/web/assets/{GrowthLoading-Cr8xZwwO.js → GrowthLoading-VuVo2vLf.js} +1 -1
- package/dist/web/assets/{HowtoPage-Cv1YQy1s.js → HowtoPage-CZ3mOdLc.js} +1 -1
- package/dist/web/assets/{HowtoPage-t12tDDpS.css → HowtoPage-CrvMmT6K.css} +1 -1
- package/dist/web/assets/InboxPage-1ue8vA7H.css +1 -0
- package/dist/web/assets/InboxPage-zNUnnYeJ.js +6 -0
- package/dist/web/assets/{KnowledgeDeleteButton-FEyEvhlR.js → KnowledgeDeleteButton-BlUnSG3b.js} +1 -1
- package/dist/web/assets/{KnowledgeHardDeleteSection-CVwTeMEJ.js → KnowledgeHardDeleteSection-CznXBtHY.js} +1 -1
- package/dist/web/assets/KnowledgeItemEditPage-DGRNkAYd.js +1 -0
- package/dist/web/assets/{KnowledgeItemSummaryCard-49EADY_Z.js → KnowledgeItemSummaryCard-Co5JKBHl.js} +1 -1
- package/dist/web/assets/KnowledgeOrganizerPage-BWvF1GEu.js +1 -0
- package/dist/web/assets/KnowledgeOrganizerPage-CJaFkfS7.css +1 -0
- package/dist/web/assets/KnowledgePage--Z4_kAhq.js +1 -0
- package/dist/web/assets/KnowledgePeek-BgzQA9SI.js +1 -0
- package/dist/web/assets/{KnowledgePeek-Bm5jRVA9.css → KnowledgePeek-CwZVuSkf.css} +1 -1
- package/dist/web/assets/{KnowledgeTurnReceiptPage-BOz7IpaK.js → KnowledgeTurnReceiptPage-Csyjimeg.js} +1 -1
- package/dist/web/assets/KnowledgeWorkspace-0yOpWtEB.js +4 -0
- package/dist/web/assets/{KnowledgeWorkspace-DCoVFyf0.css → KnowledgeWorkspace-BgWo6lBj.css} +1 -1
- package/dist/web/assets/{MeAvatar-CYVcRiuW.js → MeAvatar-aY_q8cKs.js} +1 -1
- package/dist/web/assets/{MeLink-BdqkzhT6.js → MeLink-B0pNwVLa.js} +1 -1
- package/dist/web/assets/MenuSeparator-BR-uLovR.js +1 -0
- package/dist/web/assets/ModelSettingsPage-B9PS1Kay.css +1 -0
- package/dist/web/assets/ModelSettingsPage-BL6MsF7C.js +1 -0
- package/dist/web/assets/{NotFoundPage-Dmn32VWo.js → NotFoundPage-Cr1MaPuk.js} +1 -1
- package/dist/web/assets/NoticeRow-BXZWn4EZ.js +1 -0
- package/dist/web/assets/NoticeRow-ktVO_9Es.css +1 -0
- package/dist/web/assets/OccupationsPage-CkVqZ2pz.js +1 -0
- package/dist/web/assets/OccupationsPage-Dup7WzNh.css +1 -0
- package/dist/web/assets/OverviewPage-BkJ17OYv.js +1 -0
- package/dist/web/assets/OverviewPage-Dr4jrXW4.css +1 -0
- package/dist/web/assets/{PageColumns-DpfaPeu7.js → PageColumns-DvehZlYm.js} +1 -1
- package/dist/web/assets/PageOutline-CFGtHmOK.js +1 -0
- package/dist/web/assets/PageOutline-DG5ZYtA8.css +1 -0
- package/dist/web/assets/{PersonalProfilePage-DdBfHnqq.css → PersonalProfilePage-DnjNX2xK.css} +1 -1
- package/dist/web/assets/PersonalProfilePage-TxsNr44t.js +1 -0
- package/dist/web/assets/PersonalProjectsPage-AhgP6CL8.js +1 -0
- package/dist/web/assets/{PinIcon-B7dvh7ld.js → PinIcon-BTQsnxRY.js} +1 -1
- package/dist/web/assets/PopperContent-DtMksk76.js +1 -0
- package/dist/web/assets/{Presence-D3HKb5Hb.js → Presence-B0zMpCF4.js} +1 -1
- package/dist/web/assets/ProfileAuthorChip-BqT9Vv65.js +1 -0
- package/dist/web/assets/ProfileAuthorChip-CAWNGoW3.css +1 -0
- package/dist/web/assets/{ProjectAgentsPage-RpfiV2Fm.css → ProjectAgentsPage-CjeXFzHr.css} +1 -1
- package/dist/web/assets/ProjectAgentsPage-O-cMavcz.js +5 -0
- package/dist/web/assets/{ProjectJudgmentPolicy-GA33aSRi.js → ProjectJudgmentPolicy-CyHAu0nm.js} +2 -2
- package/dist/web/assets/{PublicProjectsPage-PJlBI8IE.js → PublicProjectsPage-Ck1QSR0R.js} +1 -1
- package/dist/web/assets/RecentNotices-vJobVOcm.js +1 -0
- package/dist/web/assets/{RoundtablesPage-DT5DUXsa.js → RoundtablesPage-C3dYekQ5.js} +6 -6
- package/dist/web/assets/{RoundtablesPage-DK9A9J-y.css → RoundtablesPage-DL-IOngN.css} +1 -1
- package/dist/web/assets/RovingFocusGroup-CUqyjFSs.js +1 -0
- package/dist/web/assets/{RovingFocusItem-CFd7tXzD.js → RovingFocusItem-CyyuWXjE.js} +1 -1
- package/dist/web/assets/{SessionMigrationPage-BZ1lEDQr.js → SessionMigrationPage-DukDM0TP.js} +1 -1
- package/dist/web/assets/SessionRecordsPage-DZ5ZBiuS.js +1 -0
- package/dist/web/assets/SettingsPage-CWGk0XZ_.js +1 -0
- package/dist/web/assets/SettingsPage-Cj3pEWcd.css +1 -0
- package/dist/web/assets/SharedJefaReportPage-DUY03VLS.js +1 -0
- package/dist/web/assets/TagVocabularyPage-BKLFJiSu.js +1 -0
- package/dist/web/assets/TaskBlockerClear-BBmPbomO.css +1 -0
- package/dist/web/assets/TaskBlockerClear-BxOiiuK8.js +1 -0
- package/dist/web/assets/TaskBlockerNotice-iUiD3BuZ.js +1 -0
- package/dist/web/assets/{TaskReason-LQ0CFiKu.js → TaskReason-D5j7L8tl.js} +1 -1
- package/dist/web/assets/TeamCard-CDunbIrP.js +1 -0
- package/dist/web/assets/TeamCard-CihQsZZ1.css +1 -0
- package/dist/web/assets/{TeamCardsWidget-DGX9k0S6.js → TeamCardsWidget-CUW-fPn7.js} +1 -1
- package/dist/web/assets/TeamIsland-CmpDmIX2.js +9 -0
- package/dist/web/assets/{TeamIsland-BBQbpozz.css → TeamIsland-DvtcsAsb.css} +1 -1
- package/dist/web/assets/{Teleport-C1upABpY.js → Teleport-Dzdr8umQ.js} +1 -1
- package/dist/web/assets/{TextField-ZnmRqG0h.js → TextField-BPhEpEv9.js} +1 -1
- package/dist/web/assets/TonborgDelegationSwitch-C1nkJqkJ.js +1 -0
- package/dist/web/assets/TonborgDelegationSwitch-DeqERWoo.css +1 -0
- package/dist/web/assets/{UiChip-CizeOu1Q.js → UiChip-BEQ067LV.js} +1 -1
- package/dist/web/assets/{UiDialog-CGTzxn3-.js → UiDialog-JjqzOA0z.js} +1 -1
- package/dist/web/assets/{UiDisclosure-ueMA4jl0.js → UiDisclosure-L6GEJHSw.js} +1 -1
- package/dist/web/assets/{UiIcon-sD1hUsOF.js → UiIcon-vgD4v8q8.js} +1 -1
- package/dist/web/assets/UiIconButton-BzyMc14P.js +1 -0
- package/dist/web/assets/{UiSegmented-BZ-jqnPE.js → UiSegmented-CIIm3KoV.js} +1 -1
- package/dist/web/assets/{UiWeight-BRO3oVMZ.js → UiWeight-D-2iZ_Kc.js} +1 -1
- package/dist/web/assets/VirtualDirectoryList-BJecsQct.css +1 -0
- package/dist/web/assets/VirtualDirectoryList-BV8KsA-Z.js +1 -0
- package/dist/web/assets/{VisuallyHidden-B8wfJ_mU.js → VisuallyHidden-BxKxuXRF.js} +1 -1
- package/dist/web/assets/VisuallyHiddenInput-DD4vhlqT.js +1 -0
- package/dist/web/assets/WidgetSlot-Dw5nWlb7.js +2 -0
- package/dist/web/assets/WorkbenchListHead-B0TjHsTO.js +1 -0
- package/dist/web/assets/WorkbenchListPage-BX6Z9gkB.css +1 -0
- package/dist/web/assets/WorkbenchListPage-D0xX-YNl.js +1 -0
- package/dist/web/assets/_plugin-vue_export-helper-B4pFJCwG.js +9 -0
- package/dist/web/assets/agent-apps-B1Je-mpY.js +1 -0
- package/dist/web/assets/agent-occupation-CjfQqSzd.js +1 -0
- package/dist/web/assets/{agent-pins-8KX0ynzy.js → agent-pins-DxHlJ96z.js} +1 -1
- package/dist/web/assets/agent-profile-BNPLhDog.css +1 -0
- package/dist/web/assets/{agent-roster-records-PfAgndHp.js → agent-roster-records-Bi5HWDif.js} +1 -1
- package/dist/web/assets/agent-work-summary-o_9-QWBL.js +1 -0
- package/dist/web/assets/{agent-workflows-DQlqVOoA.js → agent-workflows-DgdbJqpg.js} +1 -1
- package/dist/web/assets/{attach-closest-edge-D2qlayPy.js → attach-closest-edge-DUc_VUVO.js} +1 -1
- package/dist/web/assets/{attention-store-BnZ8l3kk.js → attention-store-Bod20yM3.js} +1 -1
- package/dist/web/assets/{badge-DX_xrLV6.js → badge-tMy2Qr94.js} +1 -1
- package/dist/web/assets/{button-CEkPBC1E.js → button-DnKFsImW.js} +1 -1
- package/dist/web/assets/{card-DNQ0_6vT.js → card-Ccu7HCNb.js} +1 -1
- package/dist/web/assets/{catalog-KnpBkv5t.js → catalog-CJUV8OJ6.js} +1 -1
- package/dist/web/assets/checkbox-D1R6kTUB.js +1 -0
- package/dist/web/assets/{client-CSQcWFRh.js → client-D-G2i5VU.js} +2 -2
- package/dist/web/assets/client-links-store-UgmraFBZ.js +1 -0
- package/dist/web/assets/combobox-C7QLYGzs.js +1 -0
- package/dist/web/assets/console-DgRc8Itw.js +1 -0
- package/dist/web/assets/{conversation-launcher-settings-CXFE-q_A.js → conversation-launcher-settings-CZAfuu8B.js} +1 -1
- package/dist/web/assets/copy-mention-C0EJhDPy.js +1 -0
- package/dist/web/assets/{dialog-CxhKMo0D.js → dialog-Bbq93W68.js} +1 -1
- package/dist/web/assets/{dist-B9GqMC5C.js → dist-Dd8yFhv6.js} +1 -1
- package/dist/web/assets/{dist-DIJqkL4O.js → dist-PpsW5ZE3.js} +1 -1
- package/dist/web/assets/dropdown-menu-1fGUL0V3.js +1 -0
- package/dist/web/assets/{field-LNsBZqam.js → field-DjVv_wIS.js} +1 -1
- package/dist/web/assets/{format-bytes-Bqefdt37.js → format-bytes-BKq_E0Hs.js} +1 -1
- package/dist/web/assets/hover-card-BO-929hq.js +1 -0
- package/dist/web/assets/{identity-DRfhWjty.js → identity-DIG-uOiU.js} +1 -1
- package/dist/web/assets/index-DF0TcfPY.css +1 -0
- package/dist/web/assets/index-RWEx1M91.js +24 -0
- package/dist/web/assets/{input-UoZ-0Xne.js → input-DmwRmYO2.js} +1 -1
- package/dist/web/assets/is-equal-8VOV02sH.js +1 -0
- package/dist/web/assets/{label-DpjbTOxt.js → label-BvwPUTS4.js} +1 -1
- package/dist/web/assets/label-table-CDzYRZpc.js +1 -0
- package/dist/web/assets/{model-CpuIG8Du.js → model-0TZRbkN2.js} +1 -1
- package/dist/web/assets/model-BF_ZMPLi.js +1 -0
- package/dist/web/assets/model-BjUERpoQ.js +3 -0
- package/dist/web/assets/model-CaR7VPg7.js +1 -0
- package/dist/web/assets/{model-pJ6k3zYD.js → model-Dfe81jZT.js} +1 -1
- package/dist/web/assets/{model-BYKHVgJr.js → model-DpkZUZUL.js} +1 -1
- package/dist/web/assets/{model-13BQndfF.js → model-Tmn6HvL-.js} +1 -1
- package/dist/web/assets/{model-B5g0CFcM.js → model-y7OUvtKz.js} +1 -1
- package/dist/web/assets/motion-C1fZrqmI.js +1 -0
- package/dist/web/assets/{motion-C-ZimCUS.js → motion-mAmbRj_M.js} +1 -1
- package/dist/web/assets/{motion-preference-BQiiwhab.js → motion-preference-Dz9S1bZa.js} +1 -1
- package/dist/web/assets/npm-copies-BLRc0FXW.js +1 -0
- package/dist/web/assets/{client-connection-model-DVwA-GIu.css → npm-copies-GRyMAduA.css} +1 -1
- package/dist/web/assets/occupation-catalog-_SnxxRbK.js +1 -0
- package/dist/web/assets/occupation-kits-DFC6Auuc.js +1 -0
- package/dist/web/assets/{option-CcHPBOo6.js → option-DC8frdbr.js} +1 -1
- package/dist/web/assets/{orchestration-filters-DmF4Qs8E.js → orchestration-filters-UeiAHJqn.js} +1 -1
- package/dist/web/assets/overview-data-Cq1gefY5.js +1 -0
- package/dist/web/assets/page-refresh-DdRJaxMv.js +1 -0
- package/dist/web/assets/{page-title-NXphgeQI.js → page-title-Cm9u_qw1.js} +1 -1
- package/dist/web/assets/person-profile-BH2AzOfw.js +1 -0
- package/dist/web/assets/{popover-xSRzcSmY.js → popover-DW__YCSE.js} +1 -1
- package/dist/web/assets/popup-host-ctKYu9Ze.js +1 -0
- package/dist/web/assets/profile-model-DtISOJ-X.js +1 -0
- package/dist/web/assets/{project-board-layout-DBQeP_QP.js → project-board-layout-CTM8kAgq.js} +1 -1
- package/dist/web/assets/{project-capture-BhYsDWwJ.js → project-capture-B3pNhpFF.js} +1 -1
- package/dist/web/assets/{project-origin-D8jy8EF_.js → project-origin-BO8Ngccf.js} +1 -1
- package/dist/web/assets/quick-edit-api-B169r5Qb.js +1 -0
- package/dist/web/assets/radio-group-DqA46cXQ.js +1 -0
- package/dist/web/assets/review-api-CJaNgPMA.js +1 -0
- package/dist/web/assets/review-list-BbV-Mle7.js +1 -0
- package/dist/web/assets/review-store-DSQpb5P8.js +1 -0
- package/dist/web/assets/{role-names-PECaMfQo.js → role-names-By0xdfTn.js} +1 -1
- package/dist/web/assets/roundtable-live-u9qUU6aA.js +1 -0
- package/dist/web/assets/{runtime-dom.esm-bundler-f39i44Mt.js → runtime-dom.esm-bundler-DhFy4Djs.js} +1 -1
- package/dist/web/assets/save-file-oGyIokMI.js +1 -0
- package/dist/web/assets/select-TqPBladU.js +1 -0
- package/dist/web/assets/{session-launch-offers-X9b0DwF1.js → session-launch-offers-CtQeY4Qk.js} +1 -1
- package/dist/web/assets/{settings-restart-BnwcTv3i.js → settings-autosave-C7vW3_SP.js} +1 -1
- package/dist/web/assets/settings-restart-p12HUUve.js +1 -0
- package/dist/web/assets/{shared-report-BxNVLalR.js → shared-report-DQBSigHB.js} +3 -3
- package/dist/web/assets/{source-adapters-aupsL146.js → source-adapters-DPJzumzC.js} +1 -1
- package/dist/web/assets/{switch-B3Y3oE_n.js → switch-D7w_0h3m.js} +1 -1
- package/dist/web/assets/tabs-DR8k0PN9.js +1 -0
- package/dist/web/assets/{task-card-fields-DAx6zMLz.js → task-card-fields-X1ZYCm_j.js} +1 -1
- package/dist/web/assets/{task-labels-BdDFvSAy.js → task-labels-LuXoQhF9.js} +1 -1
- package/dist/web/assets/{task-reason-7WnPreht.js → task-reason-ChpbGtyx.js} +1 -1
- package/dist/web/assets/{team-sheets-Cr0ZTPw3.js → team-sheets-DYCQqa8I.js} +1 -1
- package/dist/web/assets/{textarea-CRzFqL9a.js → textarea-D53VYanK.js} +1 -1
- package/dist/web/assets/ui-D4nAhcmu.css +1 -0
- package/dist/web/assets/ui-DmNbL8MW.js +1 -0
- package/dist/web/assets/{useAgentRecords-CMtpd3Fj.js → useAgentRecords-Hy9nqMs7.js} +1 -1
- package/dist/web/assets/useAgentWorkSummary-mloD4p12.js +1 -0
- package/dist/web/assets/{useApi-CROJJdhE-CRCgNOqq.js → useApi-CROJJdhE-DnUGUb8O.js} +1 -1
- package/dist/web/assets/{useClipboardCopy-DkqKK3wY.js → useClipboardCopy-BTuQMeWI.js} +1 -1
- package/dist/web/assets/{useFocusReturn-BZpVmQnM.js → useFocusReturn-4hUmSzj9.js} +1 -1
- package/dist/web/assets/{useForwardExpose-Di-MnbTz.js → useForwardExpose-BDmW7q7u.js} +1 -1
- package/dist/web/assets/{useForwardPropsEmits-L9XcB5DG.js → useForwardPropsEmits-BzT2luD4.js} +1 -1
- package/dist/web/assets/useForwardScopeId-DZCnSswO.js +1 -0
- package/dist/web/assets/useKnowledgeConfirm-L8wnJCuX.js +1 -0
- package/dist/web/assets/useKnowledgeItemPeek-C_huXt6E.js +1 -0
- package/dist/web/assets/{useMinimumLoadingDisplay-CWPiOaDl.js → useMinimumLoadingDisplay-Dkl8NQru.js} +1 -1
- package/dist/web/assets/usePageTools-CbDOdIrg.js +1 -0
- package/dist/web/assets/usePrimitiveElement-tPQM7XJs.js +1 -0
- package/dist/web/assets/{useProjectAgentRoster-CWVpSsQ3.js → useProjectAgentRoster-BBmRvcgr.js} +1 -1
- package/dist/web/assets/{useRoutePeek-DxLVksbJ.js → useRoutePeek-CRbCDqsm.js} +1 -1
- package/dist/web/assets/useTeamPeople-D_5cxxf1.js +1 -0
- package/dist/web/assets/{useTeamWork-BTZd_wKs.js → useTeamWork-CXEQwF4n.js} +1 -1
- package/dist/web/assets/{useTypeahead-pEZNpBls.js → useTypeahead-CVYuxPOD.js} +1 -1
- package/dist/web/assets/{utils-BsxOjD1Q.js → utils-BnrWDlfm.js} +1 -1
- package/dist/web/assets/utils-BsGjKHV8.js +1 -0
- package/dist/web/assets/verification-DbCo_dnY.js +1 -0
- package/dist/web/assets/{version-db3QWWjt.js → version-Ci3l8Vnb.js} +1 -1
- package/dist/web/assets/{vue-router-B79HWW1l.js → vue-router-D4_ms6om.js} +1 -1
- package/dist/web/assets/workbench-card-Dt0820yW.css +1 -0
- package/dist/web/index.html +90 -74
- package/docs/agent-conversations-and-collaboration.md +55 -58
- package/docs/agent-interface-architecture.md +7 -2
- package/docs/agent-roundtable.md +9 -8
- package/docs/client-connections.md +85 -8
- package/docs/client-links.md +16 -1
- package/docs/employee-agents.md +1 -1
- package/docs/judgment-and-autonomy.md +2 -0
- package/docs/public-personal-architecture.md +1 -1
- package/graph-provider/fuli_graph/app.py +2 -0
- package/graph-provider/fuli_graph/graph_field_contract.py +6 -3
- package/graph-provider/fuli_graph/graph_format_migrations.py +6 -0
- package/graph-provider/fuli_graph/graph_models.py +11 -62
- package/graph-provider/fuli_graph/graph_query.py +46 -105
- package/graph-provider/fuli_graph/knowledge_batch_confirmation.py +7 -5
- package/graph-provider/fuli_graph/knowledge_duplicate_models.py +24 -0
- package/graph-provider/fuli_graph/knowledge_duplicate_rules.py +157 -0
- package/graph-provider/fuli_graph/knowledge_duplicates.py +357 -0
- package/graph-provider/fuli_graph/knowledge_item_routes.py +3 -1
- package/graph-provider/fuli_graph/knowledge_item_view.py +45 -2
- package/graph-provider/fuli_graph/knowledge_item_view_models.py +21 -0
- package/graph-provider/fuli_graph/knowledge_management.py +6 -1
- package/graph-provider/fuli_graph/knowledge_outdated.py +15 -5
- package/graph-provider/fuli_graph/knowledge_review.py +65 -2
- package/graph-provider/fuli_graph/knowledge_review_models.py +5 -0
- package/graph-provider/fuli_graph/knowledge_search.py +0 -31
- package/graph-provider/fuli_graph/knowledge_versions.py +12 -1
- package/graph-provider/fuli_graph/models.py +9 -2
- package/graph-provider/fuli_graph/preference_versions.py +28 -7
- package/graph-provider/fuli_graph/project_agent_routes.py +60 -2
- package/graph-provider/fuli_graph/project_agent_task_models.py +63 -5
- package/graph-provider/fuli_graph/store.py +2 -0
- package/graph-provider/fuli_graph/store_project_agent_task_activity.py +12 -3
- package/graph-provider/fuli_graph/store_project_agent_task_blockers.py +110 -23
- package/graph-provider/fuli_graph/store_project_agent_task_pages.py +186 -0
- package/graph-provider/fuli_graph/store_project_agent_task_reads.py +6 -4
- package/graph-provider/fuli_graph/store_project_agent_task_recruitment.py +0 -7
- package/graph-provider/fuli_graph/store_project_agent_tasks.py +4 -3
- package/graph-provider/fuli_graph/store_task_contexts.py +14 -4
- package/graph-provider/fuli_graph/task_blocker.py +38 -6
- package/graph-provider/fuli_graph/tonborg_confirmation.py +48 -0
- package/graph-provider/pyproject.toml +1 -1
- package/native/win32/fuli-win-helper.exe +0 -0
- package/npm-shrinkwrap.json +16 -50
- package/package.json +2 -2
- package/packages/roundtable/src/peer/node-store.js +2 -6
- package/packages/roundtable/src/roundtable/chat-service.js +2 -1
- package/packages/roundtable/src/roundtable/chat.js +11 -1
- package/packages/roundtable/src/roundtable/delivery-state.js +43 -0
- package/packages/roundtable/src/roundtable/fla-address.js +6 -0
- package/packages/roundtable/src/roundtable/group-discussion-store.js +2 -2
- package/packages/roundtable/src/roundtable/group-discussion.js +15 -15
- package/packages/roundtable/src/roundtable/person-conversation.js +2 -1
- package/packages/roundtable/src/roundtable/service.js +40 -9
- package/packages/roundtable/src/roundtable/store.js +30 -7
- package/packages/roundtable/src/storage/database-format.js +21 -16
- package/registry/client-links.json +66 -4
- package/registry/occupation-plugins.json +593 -0
- package/skills/capturing-session-knowledge/SKILL.md +16 -3
- package/skills/capturing-session-knowledge/references/capture.md +22 -6
- package/skills/capturing-session-knowledge/references/coordination.md +16 -6
- package/skills/capturing-session-knowledge/references/retrieval.md +23 -6
- package/skills/flreview/SKILL.md +1 -1
- package/skills/operating-fuli/SKILL.md +40 -13
- package/skills/operating-fuli/references/workflow-recipes.md +9 -5
- package/src/acceptance-checks/port.js +37 -0
- package/src/adaptive-runtime/settings.js +1 -1
- package/src/adaptive-runtime/state.js +3 -3
- package/src/agent-apps/host-tools/catalog.js +7 -0
- package/src/agent-apps/store.js +2 -10
- package/src/agent-delegation/person-words.js +15 -1
- package/src/agent-kits/cli-presence.js +78 -0
- package/src/agent-kits/client-installer.js +9 -5
- package/src/agent-kits/installer-manifest.js +11 -6
- package/src/agent-kits/legacy-hook-cleanup.js +4 -3
- package/src/agent-kits/new-sessions.js +82 -0
- package/src/agent-kits/opencode-plugin-gate.js +3 -1
- package/src/agent-kits/pins.js +12 -12
- package/src/agent-kits/ports.js +5 -2
- package/src/agent-kits/session-launcher.js +11 -4
- package/src/agent-kits/vendor/agent-installer/README.md +1 -1
- package/src/agent-kits/vendor/agent-installer/index.d.ts +1 -1
- package/src/agent-kits/vendor/agent-session-launcher/README.md +1 -1
- package/src/agent-kits/vendor/agent-session-launcher/index.d.ts +30 -1
- package/src/agent-kits/vendor/agent-session-launcher/index.mjs +8 -0
- package/src/agent-roundtable/tools.js +3 -3
- package/src/agent-services/store.js +2 -4
- package/src/agent-tools/agent-workflow-definitions.js +7 -3
- package/src/agent-tools/checkpoint-definitions.js +5 -4
- package/src/agent-tools/fla-lesson-definitions.js +24 -0
- package/src/agent-tools/graph-definitions.js +8 -0
- package/src/agent-tools/graph-handlers.js +15 -4
- package/src/agent-tools/interface-catalog.js +34 -9
- package/src/agent-tools/model-backend-definitions.js +1 -1
- package/src/agent-tools/occupation-kit-definitions.js +20 -0
- package/src/agent-tools/project-agent-definitions.js +19 -40
- package/src/agent-tools/project-agent-tool-definitions.js +5 -1
- package/src/agent-tools/reply-echo-definitions.js +18 -0
- package/src/agent-tools/tonborg-question-definitions.js +26 -0
- package/src/agent-workflows/agent-tools.js +69 -3
- package/src/agent-workflows/port.js +32 -4
- package/src/agent-workflows/store.js +16 -9
- package/src/agents/call-source.js +11 -0
- package/src/agents/choice-answers.js +19 -0
- package/src/agents/claude-code/choice-answers.js +49 -0
- package/src/agents/claude-code/fla-menu-command.js +14 -0
- package/src/agents/claude-code/lifecycle-hook.js +16 -9
- package/src/agents/claude-code/turn-records.js +38 -0
- package/src/agents/claude-desktop/code-tab-token-source.js +26 -0
- package/src/agents/codex/fla-prompts.js +98 -0
- package/src/agents/codex/lifecycle-hook.js +8 -7
- package/src/agents/cursor/lifecycle-hook.js +3 -2
- package/src/agents/identity-receipt.js +9 -7
- package/src/agents/lifecycle-failure.js +15 -5
- package/src/agents/lifecycle-message.js +4 -5
- package/src/agents/opencode/lifecycle-hook.js +12 -7
- package/src/agents/opencode/plugin.js +7 -2
- package/src/agents/token-usage-resolver.js +1 -1
- package/src/agents/turn-receipt.js +5 -4
- package/src/cli/command-registry.js +1 -1
- package/src/cli/local-runtime-command.js +5 -2
- package/src/cli/local-runtime-options.js +7 -3
- package/src/cli/models-command.js +15 -11
- package/src/cli/update-command.js +2 -2
- package/src/cli/update-installation.js +23 -6
- package/src/cli/workspace-connection-command.js +2 -2
- package/src/client-links/registry.js +6 -112
- package/src/conversations/current-task-lookup.js +2 -3
- package/src/conversations/entry-skeleton.js +113 -55
- package/src/conversations/human-interaction.js +1 -1
- package/src/conversations/person-words.js +29 -0
- package/src/conversations/preference-session.js +17 -14
- package/src/conversations/stop-auto-close.js +28 -7
- package/src/conversations/task-context-view.js +113 -27
- package/src/conversations/turn-findings.js +105 -0
- package/src/data-format/format-notices.js +2 -1
- package/src/data-format/local-stores.js +22 -1
- package/src/debug-turns/model-capture.js +1 -1
- package/src/debug-turns/record.js +1 -1
- package/src/desktop/cli-path.js +253 -0
- package/src/desktop/desktop-app-package.js +31 -0
- package/src/desktop/{fuli-links.js → desktop-client-links.js} +20 -16
- package/src/desktop/desktop-controller.js +35 -3
- package/src/desktop/npm-adoption-store.js +7 -0
- package/src/desktop/npm-adoption.js +119 -0
- package/src/desktop/npm-copies.js +73 -0
- package/src/desktop/npm-copy-control.js +56 -0
- package/src/desktop/npm-copy-data.js +51 -0
- package/src/desktop/npm-copy-uninstall.js +67 -0
- package/src/desktop/windows-controller.js +13 -1
- package/src/desktop/windows-installation-switch.js +1 -1
- package/src/desktop/windows-node-launcher.js +11 -0
- package/src/desktop/windows-uninstall.js +3 -0
- package/src/dreaming/astro-calls.js +47 -0
- package/src/dreaming/projects.js +39 -0
- package/src/dreaming/run.js +38 -36
- package/src/dreaming/scheduler.js +2 -2
- package/src/employees/builtin/jefa/board-store.js +2 -10
- package/src/employees/builtin/jefa/tools.js +1 -1
- package/src/employees/management-policy.js +1 -1
- package/src/employees/manifest.js +1 -1
- package/src/employees/service.js +11 -1
- package/src/external-knowledge/document-mapping.js +1 -1
- package/src/external-knowledge/index.js +0 -4
- package/src/fla-growth/lessons.js +40 -0
- package/src/fla-growth/task-verification.js +25 -0
- package/src/fla-growth/tool-suggestions.js +107 -0
- package/src/fla-growth/verification.js +30 -0
- package/src/graphiti/agent-access-policy.js +1 -1
- package/src/graphiti/agent-conversations.js +2 -2
- package/src/graphiti/agent-growth.js +32 -4
- package/src/graphiti/capture-change-confirmation.js +4 -1
- package/src/graphiti/capture-notice.js +2 -1
- package/src/graphiti/capture-onboarding.js +1 -1
- package/src/graphiti/checkpoint-provider-outage.js +23 -0
- package/src/graphiti/collaboration-preference-projection.js +1 -1
- package/src/graphiti/conversation-triage.js +1 -1
- package/src/graphiti/execution-mode.js +1 -1
- package/src/graphiti/federated-application.js +16 -8
- package/src/graphiti/fla-mention.js +105 -96
- package/src/graphiti/fla-menu-reader.js +25 -0
- package/src/graphiti/fla-menu.js +108 -0
- package/src/graphiti/fla-picker.js +21 -16
- package/src/graphiti/fuli-markup.js +60 -0
- package/src/graphiti/group-member-context.js +1 -1
- package/src/graphiti/human-review-channel.js +16 -2
- package/src/graphiti/knowledge-result-budget.js +2 -2
- package/src/graphiti/knowledge-review.js +2 -1
- package/src/graphiti/local-runtimes.js +11 -0
- package/src/graphiti/preference-task-scope.js +1 -1
- package/src/graphiti/project-agent-control-plane.js +6 -0
- package/src/graphiti/project-agent-mapping.js +23 -10
- package/src/graphiti/project-agent-mention.js +10 -28
- package/src/graphiti/project-agent-task-entry.js +1 -1
- package/src/graphiti/project-agent-task-sheets.js +1 -1
- package/src/graphiti/project-agent-workflows.js +20 -5
- package/src/graphiti/project-knowledge-presence.js +27 -0
- package/src/graphiti/project-path-context.js +2 -2
- package/src/graphiti/provider-client.js +24 -0
- package/src/graphiti/provider-outage.js +20 -0
- package/src/graphiti/recall-policy.js +1 -1
- package/src/graphiti/reply-echo-agent-tool.js +36 -0
- package/src/graphiti/reply-echo-group.js +85 -0
- package/src/graphiti/reply-echo.js +87 -0
- package/src/graphiti/session-knowledge-migration.js +2 -1
- package/src/graphiti/session-prompt-sentences.js +52 -0
- package/src/graphiti/session-records.js +3 -2
- package/src/graphiti/source-marker.js +14 -0
- package/src/graphiti/task-blocker-progress.js +24 -1
- package/src/graphiti/task-context-entry.js +20 -1
- package/src/graphiti/task-entry-group-discussion.js +31 -31
- package/src/graphiti/task-entry-named-fla.js +40 -70
- package/src/graphiti/task-entry-preferences.js +2 -2
- package/src/graphiti/task-entry-project-scope.js +4 -4
- package/src/graphiti/task-entry-provider-outage.js +25 -0
- package/src/graphiti/task-entry-read-only.js +1 -1
- package/src/graphiti/task-entry-standing-owner.js +3 -3
- package/src/graphiti/task-experiences.js +21 -3
- package/src/graphiti/task-knowledge-checkpoint.js +5 -2
- package/src/graphiti/task-knowledge-recall.js +140 -25
- package/src/graphiti/task-prompt-statement.js +49 -0
- package/src/graphiti/task-remember.js +23 -9
- package/src/graphiti/task-scene.js +1 -1
- package/src/graphiti/task-stated-rules.js +75 -0
- package/src/graphiti/temporary-project-scope.js +1 -1
- package/src/graphiti/topic-proposals.js +6 -5
- package/src/graphiti/user-taste-skill.js +1 -1
- package/src/graphiti/workflow-candidate-mapping.js +1 -1
- package/src/http/agent-delegation-gate.js +9 -0
- package/src/http/api-router.js +16 -0
- package/src/http/cli-path-api-router.js +35 -0
- package/src/http/desktop-client-api-router.js +18 -0
- package/src/http/dreaming-api-router.js +10 -7
- package/src/http/graph-api-router.js +17 -0
- package/src/http/notices-api-router.js +37 -0
- package/src/http/npm-copies-api-router.js +36 -0
- package/src/http/occupation-plugins-api-router.js +43 -0
- package/src/http/reply-echo-api-router.js +53 -0
- package/src/http/response.js +1 -1
- package/src/http/retrospectives-api-router.js +18 -0
- package/src/http/session-launch-api-router.js +34 -1
- package/src/http/static-handler.js +1 -1
- package/src/http/task-blocker-api-router.js +17 -5
- package/src/http/task-verification-api-router.js +16 -0
- package/src/http/whats-new-api-router.js +34 -0
- package/src/judgment/acceptance.js +10 -3
- package/src/judgment/agent-view.js +21 -4
- package/src/judgment/conversation.js +86 -2
- package/src/judgment/delegated-reviews.js +23 -0
- package/src/judgment/engine.js +49 -16
- package/src/judgment/explain-method.js +11 -0
- package/src/judgment/http.js +17 -2
- package/src/judgment/question-options.js +97 -0
- package/src/judgment/question-tools.js +235 -0
- package/src/judgment/review-delegation.js +89 -0
- package/src/judgment/review-prompt.js +44 -3
- package/src/judgment/review-verdicts.js +13 -4
- package/src/judgment/runtime.js +3 -1
- package/src/judgment/service.js +25 -5
- package/src/judgment/store.js +44 -8
- package/src/judgment/verdict-schema.js +6 -0
- package/src/judgment/visible-items.js +15 -4
- package/src/knowledge-duplicates/scheduler.js +28 -0
- package/src/knowledge-hard-delete/forget-references.js +5 -2
- package/src/knowledge-impressions/store.js +17 -5
- package/src/local-runtime/console-autostart-record.js +95 -0
- package/src/local-runtime/console-autostart.js +143 -0
- package/src/local-runtime/console-health.js +26 -0
- package/src/local-runtime/installed-console-launcher.js +73 -0
- package/src/local-runtime/lifecycle.js +85 -21
- package/src/local-runtime/processes.js +15 -2
- package/src/local-runtime/unresponsive-console.js +77 -0
- package/src/mcp/create-mcp-server.js +11 -4
- package/src/mcp/fla-menu-prompts.js +60 -0
- package/src/mcp/runtime.js +11 -3
- package/src/mcp/session-id.js +3 -2
- package/src/mcp/tool-annotations.js +5 -2
- package/src/mcp/tool-profiles.js +1 -1
- package/src/mcp/tool-result.js +3 -1
- package/src/model-backends/adapters/anthropic-messages.js +2 -2
- package/src/model-backends/adapters/ollama-local-build.js +1 -1
- package/src/model-backends/adapters/openai-chat.js +2 -2
- package/src/model-backends/budget.js +10 -1
- package/src/model-backends/config.js +2 -2
- package/src/model-backends/endpoint-models.js +80 -0
- package/src/model-backends/http.js +3 -1
- package/src/model-backends/keys-http.js +5 -4
- package/src/model-backends/models-http.js +54 -0
- package/src/model-backends/port.js +32 -5
- package/src/model-backends/prompt.js +11 -1
- package/src/model-backends/role-settings.js +27 -2
- package/src/model-backends/role-trust.js +3 -15
- package/src/model-backends/role-work-store.js +2 -12
- package/src/model-backends/runtime.js +11 -2
- package/src/model-backends/secret-store.js +61 -12
- package/src/model-backends/suggestion-log.js +6 -15
- package/src/model-backends/usage-ledger.js +28 -18
- package/src/notices/recent-notices.js +175 -0
- package/src/notifications/needs-person.js +1 -1
- package/src/occupation-plugins/agent-tools.js +59 -0
- package/src/occupation-plugins/choice-store.js +65 -0
- package/src/occupation-plugins/manifest.js +165 -0
- package/src/occupation-plugins/port.js +104 -0
- package/src/occupation-plugins/recruitment.js +38 -0
- package/src/presence/windows-helper-pin.js +1 -1
- package/src/registry/updatable-manifest.js +127 -0
- package/src/retrieval-terms/fill.js +1 -1
- package/src/retrospectives/run.js +113 -0
- package/src/retrospectives/runs.js +18 -0
- package/src/retrospectives/scheduler.js +58 -0
- package/src/server/application-lifecycle.js +1 -1
- package/src/server/signal-shutdown.js +31 -0
- package/src/server.js +26 -18
- package/src/setup/first-run-capture.js +6 -2
- package/src/setup/graph-runtime.js +46 -38
- package/src/setup/neo4j-memory-profile.js +1 -1
- package/src/setup/paths.js +2 -0
- package/src/standing-assignments/store.js +2 -4
- package/src/system/client-connection-status.js +3 -1
- package/src/system/doctor.js +19 -2
- package/src/system/graph-migration.js +1 -1
- package/src/system/platform-path.js +21 -9
- package/src/system/runtime-settings.js +19 -7
- package/src/system/settings-guide.js +7 -0
- package/src/system/system-service.js +41 -2
- package/src/task-blockers/console-port.js +12 -6
- package/src/text/markdown-link.js +12 -0
- package/src/text/single-line.js +6 -0
- package/src/text/utf8-preview.js +7 -6
- package/src/whats-new/lines/0.25.0.json +17 -0
- package/src/whats-new/lines/0.25.1.json +13 -0
- package/src/whats-new/release-lines.js +66 -0
- package/src/whats-new/whats-new.js +70 -0
- package/src/work-surfaces/store.js +2 -4
- package/dist/web/assets/AgentAppsPage-BYXraPFM.js +0 -1
- package/dist/web/assets/AgentManagement-Bza8k5ra.js +0 -7
- package/dist/web/assets/AgentManagement-CeF4mjtg.css +0 -1
- package/dist/web/assets/AgentMentionCopy-C72hY2QL.js +0 -1
- package/dist/web/assets/AgentMentionCopy-CNKrzZvE.css +0 -1
- package/dist/web/assets/AgentProfilePage-kp7-gRRx.js +0 -5
- package/dist/web/assets/AgentServicesPage-ARIWfmuh.css +0 -1
- package/dist/web/assets/AgentServicesPage-IsGaz7FY.js +0 -1
- package/dist/web/assets/ConnectionsPage-BpvecWXD.js +0 -1
- package/dist/web/assets/ConnectionsPage-Cwt-knQQ.css +0 -1
- package/dist/web/assets/DataFormatPage-dsy8d3oA.js +0 -2
- package/dist/web/assets/DataFormatPage-sSnjjUY4.css +0 -1
- package/dist/web/assets/DebugTurnPage-cIJV7xDW.js +0 -1
- package/dist/web/assets/DebugTurnsPage-B6Te_Alp.js +0 -1
- package/dist/web/assets/EmployeeScopeDialog-CXNZ62Ab.js +0 -1
- package/dist/web/assets/EmployeeScopeDialog-Do5PHQh7.css +0 -1
- package/dist/web/assets/EmployeeWorkbench-DALIO-cM.js +0 -4
- package/dist/web/assets/FieldRoot-DRnAC66O.js +0 -1
- package/dist/web/assets/FlaGrowth-7wlv31Tl.js +0 -1
- package/dist/web/assets/FlaGrowth-BzXY8pcx.css +0 -1
- package/dist/web/assets/FlasPage-BCs1Ffpf.js +0 -1
- package/dist/web/assets/FlasPage-SLQDMv47.css +0 -1
- package/dist/web/assets/InboxPage-Bkx6nIhb.css +0 -1
- package/dist/web/assets/InboxPage-CgJnymOY.js +0 -4
- package/dist/web/assets/KnowledgeItemEditPage-rwpM8cF1.js +0 -1
- package/dist/web/assets/KnowledgeOrganizerPage-7IdnjM3L.js +0 -1
- package/dist/web/assets/KnowledgeOrganizerPage-CNm2jvJZ.css +0 -1
- package/dist/web/assets/KnowledgePage-gxqOIZxf.js +0 -1
- package/dist/web/assets/KnowledgePeek-CQyCxHFj.js +0 -1
- package/dist/web/assets/KnowledgeWorkspace-A7zVb26p.js +0 -4
- package/dist/web/assets/MenuSeparator-quqkZZXY.js +0 -1
- package/dist/web/assets/ModelSettingsPage-B8jC_uew.js +0 -3
- package/dist/web/assets/ModelSettingsPage-DhCn_SF6.css +0 -1
- package/dist/web/assets/OccupationsPage-BVREfX_R.js +0 -1
- package/dist/web/assets/OccupationsPage-Di7B-bPl.css +0 -1
- package/dist/web/assets/OverviewPage-CHyEbdP4.js +0 -1
- package/dist/web/assets/OverviewPage-xdF5g6bZ.css +0 -1
- package/dist/web/assets/PageOutline-BKBQ1T4d.js +0 -1
- package/dist/web/assets/PageOutline-BqVgnlos.css +0 -1
- package/dist/web/assets/PersonalProfilePage-Cxp2gn6J.js +0 -1
- package/dist/web/assets/PersonalProjectsPage-821imOxR.js +0 -1
- package/dist/web/assets/PopperContent-DNqbLkNa.js +0 -1
- package/dist/web/assets/ProfileAuthorChip-7HSHODdR.js +0 -1
- package/dist/web/assets/ProfileAuthorChip-C_0hzDoP.css +0 -1
- package/dist/web/assets/ProjectAgentsPage-DBsXS6Xa.js +0 -5
- package/dist/web/assets/RovingFocusGroup-BB0d3k17.js +0 -1
- package/dist/web/assets/SessionRecordsPage-BMAAtIAt.js +0 -1
- package/dist/web/assets/SettingsPage-BYNEk6BM.js +0 -1
- package/dist/web/assets/SettingsPage-Uj1IpZpS.css +0 -1
- package/dist/web/assets/SharedJefaReportPage-g35o6jUb.js +0 -1
- package/dist/web/assets/TagVocabularyPage-COubNJXz.js +0 -1
- package/dist/web/assets/TaskBlockerClear-B5MpHdlh.js +0 -1
- package/dist/web/assets/TaskBlockerClear-CjSNfpyP.css +0 -1
- package/dist/web/assets/TaskBlockerNotice-CIN0HRiE.js +0 -1
- package/dist/web/assets/TeamCard-CsmWDw2Q.css +0 -1
- package/dist/web/assets/TeamCard-D-kLa5rT.js +0 -1
- package/dist/web/assets/TeamIsland-BIo-l49b.js +0 -9
- package/dist/web/assets/UiIconButton-CCo4NPYv.js +0 -1
- package/dist/web/assets/UiNotice-DGPFbVo7.js +0 -1
- package/dist/web/assets/VirtualDirectoryList-1vLi41SD.css +0 -1
- package/dist/web/assets/VirtualDirectoryList-BkV3gj5E.js +0 -1
- package/dist/web/assets/VisuallyHiddenInput-Bdcr9CwC.js +0 -1
- package/dist/web/assets/WidgetSlot-DFojQaSo.js +0 -2
- package/dist/web/assets/_plugin-vue_export-helper-B9AJmZbc.js +0 -9
- package/dist/web/assets/agent-apps-CKGFfySp.js +0 -1
- package/dist/web/assets/agent-avatar-V6M_DF3r.js +0 -1
- package/dist/web/assets/agent-occupation-PZ2YAIM8.js +0 -1
- package/dist/web/assets/agent-profile-Clb-gYu-.css +0 -1
- package/dist/web/assets/agent-work-summary-bzTwEUaA.js +0 -1
- package/dist/web/assets/checkbox-DPyLHneg.js +0 -1
- package/dist/web/assets/client-connection-model-vO2cap6a.js +0 -1
- package/dist/web/assets/client-links-store-DMqe0MbK.js +0 -1
- package/dist/web/assets/combobox-zUq9bkyM.js +0 -1
- package/dist/web/assets/console-DaoAO-EO.js +0 -1
- package/dist/web/assets/context-menu-CcGDnF_k.js +0 -1
- package/dist/web/assets/dropdown-menu-CXmMnCBh.js +0 -1
- package/dist/web/assets/fla-mention-D_Qb7VeY.js +0 -1
- package/dist/web/assets/index-B4AMPpl_.css +0 -1
- package/dist/web/assets/index-BYIOAXnn.js +0 -2
- package/dist/web/assets/label-table-BnWNYfyk.js +0 -1
- package/dist/web/assets/model-CDevUwUw.js +0 -1
- package/dist/web/assets/model-P5fSGsiJ.js +0 -1
- package/dist/web/assets/motion-QY5FKKko.js +0 -1
- package/dist/web/assets/occupation-catalog-uDDhZwKK.js +0 -1
- package/dist/web/assets/person-profile-DXXfpvta.js +0 -1
- package/dist/web/assets/popup-host-Bmvrf-2t.js +0 -1
- package/dist/web/assets/profile-model-6gTmScHC.js +0 -1
- package/dist/web/assets/quick-edit-api-WLh_88w6.js +0 -1
- package/dist/web/assets/radio-group-B4r78nDh.js +0 -1
- package/dist/web/assets/roundtable-live-DFeDF56c.js +0 -1
- package/dist/web/assets/save-file-rPduHi2f.js +0 -1
- package/dist/web/assets/select-_JO3Mxdp.js +0 -1
- package/dist/web/assets/tabs-BlcZiEMY.js +0 -1
- package/dist/web/assets/ui-BopQuQfc.js +0 -1
- package/dist/web/assets/ui-CoUaCzmO.css +0 -1
- package/dist/web/assets/useAgentWorkSummary-BQbhaHov.js +0 -1
- package/dist/web/assets/useForwardScopeId-CUQFIAIj.js +0 -1
- package/dist/web/assets/useKnowledgeItemPeek-PmQJixw5.js +0 -1
- package/dist/web/assets/useTeamPeople-CDISP0PM.js +0 -1
- package/dist/web/assets/utils-B4pBTmyh.js +0 -1
- package/src/workspace-protocol/array-validation.js +0 -19
- package/src/workspace-protocol/base64url-contract.js +0 -27
- package/src/workspace-protocol/constants.js +0 -37
- package/src/workspace-protocol/error-contract.js +0 -24
- package/src/workspace-protocol/fact-contract.js +0 -110
- package/src/workspace-protocol/governance-contract.js +0 -47
- package/src/workspace-protocol/index.js +0 -53
- package/src/workspace-protocol/json-budget.js +0 -19
- package/src/workspace-protocol/manifest-contract.js +0 -186
- package/src/workspace-protocol/publication-contract.js +0 -212
- package/src/workspace-protocol/query-contract.js +0 -149
- package/src/workspace-protocol/scalar-contract.js +0 -192
- package/src/workspace-protocol/sync-contract.js +0 -184
- package/src/workspace-protocol/text-contract.js +0 -39
- package/src/workspace-protocol/validation.js +0 -66
- /package/dist/web/assets/{UiNotice-ZCBdABdM.css → UiIconButton-ZCBdABdM.css} +0 -0
- /package/dist/web/assets/{settings-restart-BU_GGtbG.css → settings-autosave-BU_GGtbG.css} +0 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { hasFuliMarkup, withoutFuliMarkup } from './fuli-markup.js';
|
|
2
|
+
|
|
3
|
+
// An Agent's own reply that FULI kept as knowledge by mistake (before #839).
|
|
4
|
+
// The Stop hook kept one sentence of the reply as a pending experience, and a
|
|
5
|
+
// reply carries FULI's markup, so 待决策 filled with items like 「I moved the
|
|
6
|
+
// notice off the top bar; the fix is in PR #842, not merged yet.」. #839 stops
|
|
7
|
+
// new ones; this finds the old ones still waiting, so the person can drop them
|
|
8
|
+
// together. It only reads; dropping is the person's (reply-echo-group.js).
|
|
9
|
+
//
|
|
10
|
+
// Conservative: an item is one only when two signals agree, or when nothing
|
|
11
|
+
// but FULI's own markup is left of it. The person's own words never are: a
|
|
12
|
+
// preference, an item the person edited, or one a person proposed.
|
|
13
|
+
|
|
14
|
+
export const REPLY_ECHO_SIGNALS = Object.freeze(['reply_capture', 'fuli_markup', 'progress_narration', 'status_report', 'report_shape']);
|
|
15
|
+
|
|
16
|
+
const EXPERIENCE = 'ReusableExperience';
|
|
17
|
+
const CHECKPOINT_SOURCE = 'task_experience';
|
|
18
|
+
// The reply rule cut the sentence at this many characters for the title.
|
|
19
|
+
const TITLE_LIMIT = 240;
|
|
20
|
+
|
|
21
|
+
// 「I moved …」「We've fixed …」「我已经把 …」: the Agent telling what it did, in the
|
|
22
|
+
// past tense (「we run the migrations first」 is a convention, not narration).
|
|
23
|
+
const DONE = 'moved|fixed|added|updated|opened|merged|changed|ran|built|removed|made|wrote|created|pushed|committed|checked|verified|tested|implemented|renamed|replaced|reverted|restarted|split|landed|shipped|found|traced|confirmed|rebased|deleted|dropped|switched|started|stopped|posted|reviewed|measured';
|
|
24
|
+
const NARRATION = [
|
|
25
|
+
new RegExp(String.raw`(?:^|[.;:!?]\s+|\n\s*(?:[-*•>]\s*)?)(?:I|We)(?:'ve|’ve|\s+have|\s+just|\s+also|\s+then|\s+now|\s+already|\s+first)*\s+(?:${DONE})\b`, 'iu'),
|
|
26
|
+
/(?:^|[。;!?\n]\s*(?:[-*•>]\s*)?)我(?:已经?|刚刚?|先|把|这[次轮]|又)/u,
|
|
27
|
+
/(?:^|[。;!?\n]\s*(?:[-*•>]\s*)?)(?:已经?|刚刚?)(?:把|修复|合并|提交|推送|完成|改好|改成|加上|移到|拆成|开了)/u
|
|
28
|
+
];
|
|
29
|
+
// A PR and where it stands, or a check run's outcome.
|
|
30
|
+
const STATUS = [
|
|
31
|
+
/\bPR\s*#\d+|\/pull\/\d+\b|\bpull request #?\d+/iu,
|
|
32
|
+
/\bnot (?:yet )?merged\b|\b(?:is|was|got|been) merged\b|\bCI (?:is |was )?(?:green|red|passing|failing|running)\b|\bchecks? (?:passed|are green|went green)\b|\btests? (?:passed|are green|all pass)\b/iu,
|
|
33
|
+
/未合并|还没合并?|已合并|已经合并|CI\s*(?:全?绿|通过|挂了)|测试(?:已?通过|全过|全绿)|已提交|已推送/u
|
|
34
|
+
];
|
|
35
|
+
// A markdown status report: a heading, or checklist and status-mark lines.
|
|
36
|
+
const REPORT_LINE = /^\s*(?:#{1,6}\s+\S|[-*•]\s*\[[ xX]\]|(?:✅|❌|🟥|🟩|⚠️)\s*\S|\*\*(?:Status|Summary|Done|Next|状态|结果|总结|进展)\*\*)/u;
|
|
37
|
+
|
|
38
|
+
// The signals of one current item from the Provider's graph read (a node or
|
|
39
|
+
// an edge as /api/graph returns it), or null when it is not a reply echo.
|
|
40
|
+
export function replyEchoSignals(item, itemKind = 'entity') {
|
|
41
|
+
if (!waitsForPerson(item)) return null;
|
|
42
|
+
const text = itemText(item, itemKind);
|
|
43
|
+
if (!text) return null;
|
|
44
|
+
const signals = new Set();
|
|
45
|
+
if (itemKind === 'entity' && replyCapture(item)) signals.add('reply_capture');
|
|
46
|
+
const markup = hasFuliMarkup(text);
|
|
47
|
+
if (markup) signals.add('fuli_markup');
|
|
48
|
+
if (NARRATION.some(pattern => pattern.test(text))) signals.add('progress_narration');
|
|
49
|
+
if (STATUS.some(pattern => pattern.test(text))) signals.add('status_report');
|
|
50
|
+
if (reportShape(text)) signals.add('report_shape');
|
|
51
|
+
const only = markup && !withoutFuliMarkup(text);
|
|
52
|
+
const agree = signals.size >= 2;
|
|
53
|
+
return only || agree ? REPLY_ECHO_SIGNALS.filter(signal => signals.has(signal)) : null;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// Still current, still waiting for the person, and not the person's own.
|
|
57
|
+
function waitsForPerson(item) {
|
|
58
|
+
if (!item || typeof item !== 'object' || item.invalid_at || item.replaced_by_item_id) return false;
|
|
59
|
+
if ((item.confirmation_status ?? 'pending') !== 'pending') return false;
|
|
60
|
+
if (item.profile_aspect || item.human_edited === true) return false;
|
|
61
|
+
const proposer = item.confirmation_basis?.proposed_by?.kind;
|
|
62
|
+
return !proposer || proposer === 'agent';
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function itemText(item, itemKind) {
|
|
66
|
+
const parts = itemKind === 'relationship' ? [item.fact]
|
|
67
|
+
: [item.name, item.summary, item.attributes?.solution];
|
|
68
|
+
return [...new Set(parts.filter(part => typeof part === 'string' && part.trim()).map(part => part.trim()))].join('\n');
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// The shape the Stop hook's reply rule kept: a checkpoint experience whose
|
|
72
|
+
// solution is its title, one sentence of the reply in both.
|
|
73
|
+
function replyCapture(item) {
|
|
74
|
+
if (item.type !== EXPERIENCE) return false;
|
|
75
|
+
const title = typeof item.name === 'string' ? item.name.trim() : '';
|
|
76
|
+
const solution = typeof item.attributes?.solution === 'string' ? item.attributes.solution.trim() : '';
|
|
77
|
+
if (!title || !solution) return false;
|
|
78
|
+
const same = solution === title || (title.length >= TITLE_LIMIT - 1 && solution.startsWith(title));
|
|
79
|
+
const evidence = Array.isArray(item.evidence) ? item.evidence : [];
|
|
80
|
+
return same && (!evidence.length || evidence.some(record => record?.source_kind === CHECKPOINT_SOURCE));
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// A markdown heading, or at least two checklist or status-mark lines.
|
|
84
|
+
function reportShape(text) {
|
|
85
|
+
const lines = text.split(/\r?\n/u).filter(line => REPORT_LINE.test(line));
|
|
86
|
+
return lines.some(line => /^\s*#{1,6}\s/u.test(line)) || lines.length >= 2;
|
|
87
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { randomUUID } from 'node:crypto';
|
|
2
|
+
import { markdownLink } from '../text/markdown-link.js';
|
|
2
3
|
|
|
3
4
|
import { ApplicationError, ApplicationErrorCode } from '../app/application-error.js';
|
|
4
5
|
import { receiptConsoleUrl } from '../agents/identity-receipt.js';
|
|
@@ -155,7 +156,7 @@ function noticeSession(providerInput) {
|
|
|
155
156
|
// checkpoint: this turn itself left items there while in the formal project.
|
|
156
157
|
export function sessionMigrationLine(application, task, { heldCount = null } = {}) {
|
|
157
158
|
const held = heldCount === null ? '本轮有条目暂存在本会话临时项目' : `本会话临时项目有 ${heldCount} 条范围待确定`;
|
|
158
|
-
return `FULI 待迁移:${held}
|
|
159
|
+
return `FULI 待迁移:${held},迁入当前项目需你确认:${markdownLink('确认迁移', migrationUrl(application, task))}`;
|
|
159
160
|
}
|
|
160
161
|
|
|
161
162
|
// The entry's offer once a session links to a formal project; never blocks the entry.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { mkdirSync, readFileSync } from 'node:fs';
|
|
2
|
+
import { dirname, join } from 'node:path';
|
|
3
|
+
import { contentHash } from '../../packages/roundtable/src/canonical-json.js';
|
|
4
|
+
import { jsonFormat, updateVersionedJsonFileAtomic } from '../storage/json-format.js';
|
|
5
|
+
|
|
6
|
+
// The sentence keys of each recent session's earlier prompts (rec#88), so the
|
|
7
|
+
// recall can tell the instructions a client repeats on every prompt from the
|
|
8
|
+
// task's own words (task-prompt-statement.js). Hashes only: no prompt text,
|
|
9
|
+
// no session ID. Bounded: the latest sessions, the latest keys of each.
|
|
10
|
+
export const SESSION_PROMPT_SENTENCES_FORMAT = jsonFormat({ store: 'session-prompt-sentences', versions: [1] });
|
|
11
|
+
// Its place in a data directory, as the local store list names it.
|
|
12
|
+
export const SESSION_PROMPT_SENTENCES_FILE = 'session-prompts/session-prompt-sentences.json';
|
|
13
|
+
const MAX_SESSIONS = 32;
|
|
14
|
+
const MAX_KEYS = 64;
|
|
15
|
+
const KEY = /^[a-f0-9]{32}$/;
|
|
16
|
+
|
|
17
|
+
export function createSessionPromptSentences({ dataDir, now = Date.now }) {
|
|
18
|
+
const path = join(dataDir, SESSION_PROMPT_SENTENCES_FILE);
|
|
19
|
+
return {
|
|
20
|
+
// The keys earlier prompts of this session had; this prompt's keys are
|
|
21
|
+
// added for the next one. Any failure reads as a session with none.
|
|
22
|
+
exchange(sourceApplication, sessionId, keys) {
|
|
23
|
+
if (typeof sessionId !== 'string' || !sessionId.trim()) return new Set();
|
|
24
|
+
const session = contentHash({ purpose: 'session-prompt-sentences-v1', sourceApplication, sessionId }).slice(0, 32);
|
|
25
|
+
let earlier = new Set();
|
|
26
|
+
try {
|
|
27
|
+
mkdirSync(dirname(path), { recursive: true, mode: 0o700 });
|
|
28
|
+
updateVersionedJsonFileAtomic(path, SESSION_PROMPT_SENTENCES_FORMAT, current => {
|
|
29
|
+
const sessions = validSessions(current?.sessions);
|
|
30
|
+
earlier = new Set(sessions[session]?.keys ?? []);
|
|
31
|
+
const merged = [...[...earlier].filter(key => !keys.includes(key)), ...keys.filter(key => KEY.test(key))].slice(-MAX_KEYS);
|
|
32
|
+
const kept = Object.entries({ ...sessions, [session]: { at: now(), keys: merged } })
|
|
33
|
+
.sort(([, left], [, right]) => right.at - left.at).slice(0, MAX_SESSIONS);
|
|
34
|
+
return { version: 1, sessions: Object.fromEntries(kept) };
|
|
35
|
+
}, { read: readOrNothing });
|
|
36
|
+
} catch { /* No earlier keys: every sentence counts as the task's own. */ }
|
|
37
|
+
return earlier;
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function readOrNothing(path) {
|
|
43
|
+
try {
|
|
44
|
+
return JSON.parse(readFileSync(path, 'utf8'));
|
|
45
|
+
} catch { return null; }
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function validSessions(value) {
|
|
49
|
+
if (!value || typeof value !== 'object' || Array.isArray(value)) return {};
|
|
50
|
+
return Object.fromEntries(Object.entries(value).filter(([key, item]) => KEY.test(key) && Number.isFinite(item?.at)
|
|
51
|
+
&& Array.isArray(item.keys) && item.keys.length <= MAX_KEYS && item.keys.every(hash => KEY.test(hash))));
|
|
52
|
+
}
|
|
@@ -5,6 +5,7 @@ import { notRecordedReason } from '../conversations/transcript-capture-gap.js';
|
|
|
5
5
|
import { localClockTime } from '../text/clock-time.js';
|
|
6
6
|
import { providerReaderFields, taskKnowledgeReader } from './knowledge-reader.js';
|
|
7
7
|
import { requiredBinding, requiredString } from '../validation/values.js';
|
|
8
|
+
import { markdownLink } from '../text/markdown-link.js';
|
|
8
9
|
|
|
9
10
|
// "本会话记了什么" (rec#5 C6): one host session's records in three groups,
|
|
10
11
|
// numbered once here so the console page and the Agent's answer list the same
|
|
@@ -194,7 +195,7 @@ function notRecordedStretches(turns) {
|
|
|
194
195
|
// The Agent's answer: the same numbered entries as the page, one line each.
|
|
195
196
|
function sessionRecordsMarkdown(view) {
|
|
196
197
|
const heading = view.total ? `FULI 本会话已记录 ${view.total} 项` : 'FULI 本会话还没有记录任何内容';
|
|
197
|
-
const lines = [`${heading}
|
|
198
|
+
const lines = [`${heading}(${markdownLink('查看清单', view.session.url)}):`];
|
|
198
199
|
const stretches = [...view.stretches];
|
|
199
200
|
for (const entry of view.entries) {
|
|
200
201
|
while (entry.group === 'transcript' && stretches.length && time(stretches[0].from) <= time(entry.at)) {
|
|
@@ -202,7 +203,7 @@ function sessionRecordsMarkdown(view) {
|
|
|
202
203
|
}
|
|
203
204
|
const status = entry.status ? `·${CONFIRMATION[entry.status] ?? '待确认'}` : '';
|
|
204
205
|
lines.push(`${entry.number}. ${entry.type}${status}|${clock(entry.at)}|${projectLabel(entry.project)}`
|
|
205
|
-
+ `|「${receiptSummary(entry.summary)}
|
|
206
|
+
+ `|「${receiptSummary(entry.summary)}」|${markdownLink('查看', entry.link)}`);
|
|
206
207
|
}
|
|
207
208
|
lines.push(...stretches.map(stretchLine));
|
|
208
209
|
// The list is bounded on the console too, so this never promises more there.
|
|
@@ -195,3 +195,17 @@ function markdownLabel(value) {
|
|
|
195
195
|
.replaceAll('>', '>')
|
|
196
196
|
.replace(/([\\[\]])/g, '\\$1');
|
|
197
197
|
}
|
|
198
|
+
|
|
199
|
+
// The same origin read per use, cached for a moment: a process that started while the console
|
|
200
|
+
// was restarting (an update reconnects every client) finds it once it is back, instead of keeping
|
|
201
|
+
// the default port for its whole life.
|
|
202
|
+
const LIVE_TTL_MS = 2000;
|
|
203
|
+
export function liveSourceConsoleUrl(runtimeConfigPath, { now = Date.now, readText } = {}) {
|
|
204
|
+
let cached = null;
|
|
205
|
+
return () => {
|
|
206
|
+
if (!cached || now() - cached.at > LIVE_TTL_MS) {
|
|
207
|
+
cached = { url: sourceConsoleUrl(runtimeConfigPath, readText ? { readText } : undefined), at: now() };
|
|
208
|
+
}
|
|
209
|
+
return cached.url;
|
|
210
|
+
};
|
|
211
|
+
}
|
|
@@ -9,7 +9,7 @@ import { isFuliProcessSession } from '../mcp/session-id.js';
|
|
|
9
9
|
// clears a block by hand. Best effort: task entry and checkpoints never fail
|
|
10
10
|
// because of it.
|
|
11
11
|
export async function clearSessionTaskBlockers(application, { sourceApplication, sessionIds, cause, captureAllowed }) {
|
|
12
|
-
const sessions = [...new Set(sessionIds)].filter(
|
|
12
|
+
const sessions = [...new Set(sessionIds)].filter(namedSession);
|
|
13
13
|
if (!captureAllowed || !sessions.length || !application.personal?.clearSessionTaskBlockers) return [];
|
|
14
14
|
const cleared = [];
|
|
15
15
|
for (const sessionId of sessions) {
|
|
@@ -23,3 +23,26 @@ export async function clearSessionTaskBlockers(application, { sourceApplication,
|
|
|
23
23
|
}
|
|
24
24
|
return cleared;
|
|
25
25
|
}
|
|
26
|
+
|
|
27
|
+
// An Agent recorded work in its project from this session: a block of one of
|
|
28
|
+
// its tasks reported in another session may have been solved here, or not.
|
|
29
|
+
// The Provider keeps the block and marks it probably resolved, for the person
|
|
30
|
+
// to confirm; nothing is read from the conversation's text. Same capture
|
|
31
|
+
// decision and best effort as the clear above.
|
|
32
|
+
export async function noteBlockerProgress(application, { sourceApplication, sessionId, personalProjectId, agentId, captureAllowed }) {
|
|
33
|
+
if (!captureAllowed || !namedSession(sessionId) || !personalProjectId || !agentId
|
|
34
|
+
|| !application.personal?.noteBlockerProgress) return [];
|
|
35
|
+
try {
|
|
36
|
+
const result = await application.personal.noteBlockerProgress({
|
|
37
|
+
personal_space_id: application.config.personal.spaceId, personal_project_id: personalProjectId,
|
|
38
|
+
agent_id: agentId, source_application: sourceApplication, source_session_id: sessionId
|
|
39
|
+
});
|
|
40
|
+
return result?.hinted_task_ids ?? [];
|
|
41
|
+
} catch {
|
|
42
|
+
return []; // The block stays as reported; the person can still mark it cleared.
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function namedSession(id) {
|
|
47
|
+
return typeof id === 'string' && Boolean(id) && !isFuliProcessSession(id);
|
|
48
|
+
}
|
|
@@ -2,6 +2,7 @@ import { taskAgentAssignment, withRouteMarkers } from './task-agent-assignment.j
|
|
|
2
2
|
import { FLA_ROUTE } from './task-entry-named-fla.js';
|
|
3
3
|
import { beginConversation } from './agent-conversations.js';
|
|
4
4
|
import { REMEMBER_GUIDANCE, rememberRequested } from './task-remember.js';
|
|
5
|
+
import { keepStatedRules } from './task-stated-rules.js';
|
|
5
6
|
import { UPDATE_GUIDANCE, updateRequested } from './task-update-request.js';
|
|
6
7
|
import { withRecoveredSource } from './task-knowledge-recall.js';
|
|
7
8
|
import { entryAgentReceipt } from './turn-receipt-delivery.js';
|
|
@@ -22,6 +23,7 @@ export async function beginTaskContext(application, {
|
|
|
22
23
|
sourceSessionId = null,
|
|
23
24
|
projectAgentId = null,
|
|
24
25
|
workKind,
|
|
26
|
+
promptScene,
|
|
25
27
|
workflow,
|
|
26
28
|
requiredCapabilities = []
|
|
27
29
|
}) {
|
|
@@ -39,8 +41,15 @@ export async function beginTaskContext(application, {
|
|
|
39
41
|
if (existingTask && personalProjectId && existingTask.personalProjectId !== personalProjectId) {
|
|
40
42
|
throw validationError('Task context belongs to another project');
|
|
41
43
|
}
|
|
44
|
+
// A scene a hook read from the prompt (task-scene.js) is a hint: it scopes a
|
|
45
|
+
// new task only. Codex runs the prompt hook again, with the same turn_id, for
|
|
46
|
+
// input that arrives while the turn runs (an async question's reply, a
|
|
47
|
+
// steering message: codex-rs/core/src/hook_runtime.rs inspect_pending_input);
|
|
48
|
+
// that input keeps the scene its turn entered with (rec#85). An explicit
|
|
49
|
+
// workKind is still refused when it differs. Only the hooks send promptScene,
|
|
50
|
+
// in-process; it is not part of the MCP tool schema.
|
|
42
51
|
const preferenceScope = existingTask ? taskPreferenceScope(existingTask.preferenceScope)
|
|
43
|
-
: taskPreferenceScope({ version: 1, work_kind: workKind ?? null, workflow: workflow ?? null });
|
|
52
|
+
: taskPreferenceScope({ version: 1, work_kind: workKind ?? promptScene ?? null, workflow: workflow ?? null });
|
|
44
53
|
if (!preferenceScope) throw validationError('Task preference scope is unknown; legacy recovery cannot guess preference dimensions');
|
|
45
54
|
if (existingTask && ((workKind !== undefined && workKind !== preferenceScope.work_kind) ||
|
|
46
55
|
(workflow !== undefined && workflow !== preferenceScope.workflow))) {
|
|
@@ -117,6 +126,16 @@ export async function beginTaskFromPreferences(application, preferences, {
|
|
|
117
126
|
const updating = updateRequested(taskPrompt);
|
|
118
127
|
const autoClosed = !remembering && !updating
|
|
119
128
|
&& ((entryVia === 'hook' && task.entryVia === 'hook') || task.routineAutoCloseEligible === true);
|
|
129
|
+
// A task the Stop hook closes by itself has no model checkpoint to keep
|
|
130
|
+
// what the person stated as a project rule: the entry keeps it, pending
|
|
131
|
+
// review (task-stated-rules.js). Never fails the entry.
|
|
132
|
+
if (autoClosed && entryVia === 'hook' && !resumed && !existingTask) {
|
|
133
|
+
try {
|
|
134
|
+
await keepStatedRules(application, task, taskPrompt);
|
|
135
|
+
} catch {
|
|
136
|
+
// Ignore: the rule stays in the conversation; the entry goes on.
|
|
137
|
+
}
|
|
138
|
+
}
|
|
120
139
|
const conversation = await beginConversation(application, task);
|
|
121
140
|
const receipt = preferences.agent_receipt ? await entryAgentReceipt(application, task, preferences.agent_receipt) : null;
|
|
122
141
|
return withPreferenceScope({
|
|
@@ -8,16 +8,16 @@ 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
|
|
|
11
|
-
//
|
|
11
|
+
// `#FLG …` (Fuli Agents Group, rec#55): the person invites several of their
|
|
12
12
|
// FLAs to discuss a question in this chat. The entry only prepares it:
|
|
13
13
|
//
|
|
14
|
-
// 1.
|
|
14
|
+
// 1. `#FLG <question>` offers a multi-select of 2–4 members (fla-picker.js):
|
|
15
15
|
// the FLAs the text names, preselected and never replaced (one name several
|
|
16
16
|
// FLAs share is offered as each of them, unchecked); when it names none,
|
|
17
17
|
// or asks for more, the FLAs that fit the question
|
|
18
18
|
// (group-member-recommendation.js), each with a short reason.
|
|
19
|
-
// 2. The person confirms: numbers such as `1 3`, or
|
|
20
|
-
// preselection (the host's native answer comes back as
|
|
19
|
+
// 2. The person confirms: numbers such as `1 3`, or `#FLG 开始` for the
|
|
20
|
+
// preselection (the host's native answer comes back as `#FLG 1 3`), and
|
|
21
21
|
// with them how the group works; the choice preselects the mode the
|
|
22
22
|
// question asks for (`一起看`), else the roundtable.
|
|
23
23
|
// - 「在圆桌里分头回复」 (mode 2): the entry records the confirmed members
|
|
@@ -28,9 +28,9 @@ import { WAKE_CLIENTS } from '../../packages/roundtable/src/agents/wake-registry
|
|
|
28
28
|
// - 「在这个会话里一起看」 (mode 1): nobody is woken; the entry hands this
|
|
29
29
|
// session a small read-only index of each member's context
|
|
30
30
|
// (group-member-context.js) and remembers the members.
|
|
31
|
-
// 3. Afterwards
|
|
31
|
+
// 3. Afterwards `#FLG <text>` records the person's follow-up for the same
|
|
32
32
|
// members (mode 2: one follow_up each; mode 1: the index read again for
|
|
33
|
-
// that text) and
|
|
33
|
+
// that text) and `#FLG 结束` stops it at once. No extra step is asked.
|
|
34
34
|
//
|
|
35
35
|
// The member choice and the started discussion are routing state, stored as
|
|
36
36
|
// markers on the session's current task like a named FLA's choice; the
|
|
@@ -52,16 +52,16 @@ const QUESTION_LIMIT = 1500;
|
|
|
52
52
|
const MORE = /推荐|再找|再加|再请|再邀|补充|还要|recommend|suggest|more/iu;
|
|
53
53
|
const COUNT = /([1-4一二两三四])\s*(?:位|个|名)/u;
|
|
54
54
|
const NUMBERS = Object.freeze({ 一: 1, 二: 2, 两: 2, 三: 3, 四: 4 });
|
|
55
|
-
// Words that sound like a yes but are not the choice's confirmation (
|
|
56
|
-
const LOOSE_YES = /^(?:好|好的|好吧|行|可以|嗯|对|是|ok|okay|yes|yep|sure)\s
|
|
55
|
+
// Words that sound like a yes but are not the choice's confirmation (`#FLG 开始`).
|
|
56
|
+
const LOOSE_YES = /^(?:好|好的|好吧|行|可以|嗯|对|是|ok|okay|yes|yep|sure)[\s。.!!~~]*$/iu;
|
|
57
57
|
// A discussion in progress keeps its session where it is.
|
|
58
58
|
const ACTIVE = new Set(['confirmed', 'running']);
|
|
59
59
|
|
|
60
60
|
const CHOOSE_GUIDANCE = 'Ask this now with the host native multi-select UI (preselected checked, custom input last) '
|
|
61
61
|
+ 'and mode_choice as a second, single choice in the same UI; where there is none, show both numbered lists and let '
|
|
62
|
-
+ 'the person reply such as "1 3 一起看", "1 3 圆桌", or "
|
|
62
|
+
+ 'the person reply such as "1 3 一起看", "1 3 圆桌", or "#FLG 开始" for the checked ones. Start nothing and speak for '
|
|
63
63
|
+ 'no member before the answer. Then call begin_task_context with projectPath=current directory and taskPrompt '
|
|
64
|
-
+ '"
|
|
64
|
+
+ '"#FLG <numbers> <一起看|圆桌>" (or "#FLG 开始 <一起看|圆桌>") and follow its flg.guidance. A choice is not a '
|
|
65
65
|
+ 'permission grant.';
|
|
66
66
|
const START_GUIDANCE = 'The person confirmed these members. Call group_discussion with action start, this entry\'s '
|
|
67
67
|
+ 'taskContextToken and start.requestId. Each member is woken in its own client without file edits or shell and answers for itself: '
|
|
@@ -80,22 +80,22 @@ const REASONS = Object.freeze({
|
|
|
80
80
|
moderator: '是本会话的主持,不另外唤醒', own: '就是本会话的 FLA'
|
|
81
81
|
});
|
|
82
82
|
const NOTICES = Object.freeze({
|
|
83
|
-
project_required: '
|
|
83
|
+
project_required: '#FLG 需要由项目里的 FLA 主持;当前会话不在项目中,没有发起讨论',
|
|
84
84
|
roster_unavailable: '暂时读不到你的 FLA,没有发起讨论',
|
|
85
85
|
too_many: `一次最多邀请 ${OPTION_LIMIT} 位 FLA,请少点几位`,
|
|
86
86
|
not_enough: '能参加讨论的 FLA 不足两位,没有发起讨论',
|
|
87
|
-
no_choice: '没有待确认的
|
|
88
|
-
none_running: '本会话没有进行中的
|
|
89
|
-
stop_unavailable: '暂时无法停止
|
|
90
|
-
roundtable_unavailable: '暂时无法记录确认的成员,没有发起讨论', not_started: '这场
|
|
91
|
-
follow_up_limit: '这场
|
|
92
|
-
question_required: '请在
|
|
87
|
+
no_choice: '没有待确认的 #FLG 成员列表;用「#FLG 问题」发起讨论',
|
|
88
|
+
none_running: '本会话没有进行中的 #FLG 讨论',
|
|
89
|
+
stop_unavailable: '暂时无法停止 #FLG 讨论,请稍后再说一次 #FLG 结束',
|
|
90
|
+
roundtable_unavailable: '暂时无法记录确认的成员,没有发起讨论', not_started: '这场 #FLG 讨论还没开始,开始后再追问',
|
|
91
|
+
follow_up_limit: '这场 #FLG 讨论已追问 5 次,到了上限;再写「#FLG 问题」会重新选人',
|
|
92
|
+
question_required: '请在 #FLG 后写上要讨论的问题,例如「#FLG 讨论这个方案的产品体验和技术风险」'
|
|
93
93
|
});
|
|
94
94
|
|
|
95
95
|
// What a prompt and the session's current task ask of a group discussion, or
|
|
96
96
|
// null. task: the session's current task (its markers), read once per entry.
|
|
97
97
|
// holdsProject: this turn stays where the session is (no standing-assignment
|
|
98
|
-
// reroute) — an
|
|
98
|
+
// reroute) — an `#FLG` turn, or any turn while its discussion is in progress.
|
|
99
99
|
export function groupDiscussionRequest(application, input, task) {
|
|
100
100
|
const mention = parseFlaMention(input.taskPrompt)?.group ?? null;
|
|
101
101
|
const stored = storedGroup(task);
|
|
@@ -110,7 +110,7 @@ export function groupDiscussionRequest(application, input, task) {
|
|
|
110
110
|
const reply = mention && (mention.choices || mention.confirm) ? mention
|
|
111
111
|
: !mention && stored.choices.length ? groupChoiceReply(input.taskPrompt) : null;
|
|
112
112
|
if (reply) return { state: stored.choices.length ? 'confirm' : 'no_choice', reply, stored, holdsProject: true, source };
|
|
113
|
-
//
|
|
113
|
+
// `#FLG 好` / `#FLG ok` while a choice waits is an unclear answer to it, not a new question.
|
|
114
114
|
if (mention?.query && stored.choices.length && LOOSE_YES.test(mention.query)) {
|
|
115
115
|
return { state: 'unclear', stored, holdsProject: true };
|
|
116
116
|
}
|
|
@@ -130,7 +130,7 @@ export async function groupDiscussionEntry(application, request, selection, pers
|
|
|
130
130
|
if (request.state === 'no_choice') return said('unavailable', 'no_choice', kept);
|
|
131
131
|
const sameSession = !request.stored.started && request.stored.together.length > 0;
|
|
132
132
|
if (request.state === 'stop' && sameSession) {
|
|
133
|
-
const notice = '已结束本会话的
|
|
133
|
+
const notice = '已结束本会话的 #FLG 一起看';
|
|
134
134
|
return { view: { status: 'ended', notice }, notice, selection: noAgent(), markers: [] };
|
|
135
135
|
}
|
|
136
136
|
// Mode 1 needs no moderator: the same members' index, read for the new text.
|
|
@@ -144,14 +144,14 @@ export async function groupDiscussionEntry(application, request, selection, pers
|
|
|
144
144
|
? await application.roundtable?.ownerStopGroupDiscussion?.({ requestId: request.stored.started }) : null;
|
|
145
145
|
} catch { return said('unavailable', 'stop_unavailable', kept); }
|
|
146
146
|
if (!stopped) return said('unavailable', 'none_running', []);
|
|
147
|
-
const notice = '已停止
|
|
147
|
+
const notice = '已停止 #FLG 讨论,未回复的成员不计入结论';
|
|
148
148
|
return { view: { status: 'stopped', chat_id: stopped.chatId, notice, guidance: STOPPED_GUIDANCE }, notice,
|
|
149
149
|
selection: noAgent(), markers: kept };
|
|
150
150
|
}
|
|
151
151
|
const moderator = selection?.status === 'ready' && personalProjectId ? selection.agent?.agentId ?? null : null;
|
|
152
152
|
if (!moderator) return said('unavailable', 'project_required', kept);
|
|
153
153
|
if (request.state === 'confirm') return confirmed(application, request, moderator, personalProjectId);
|
|
154
|
-
if (request.state === 'unclear') return chooseAgain(request.stored, '
|
|
154
|
+
if (request.state === 'unclear') return chooseAgain(request.stored, '请回复编号,或用「#FLG 开始」确认已勾选的');
|
|
155
155
|
if (!request.query) return said('unavailable', 'question_required', kept);
|
|
156
156
|
if (request.status?.followUps >= request.status?.maxFollowUps) return said('unavailable', 'follow_up_limit', []);
|
|
157
157
|
const current = request.stored.started ? await startedDiscussion(application, request.stored.started) : null;
|
|
@@ -198,7 +198,7 @@ async function memberChoice(application, query, { moderator, personalProjectId }
|
|
|
198
198
|
: options.some(item => item.note === '同名,请选择') ? '有同名的 FLA,请选出要邀请的那一位,再确认成员'
|
|
199
199
|
: wantsMore ? '你点名的和推荐的 FLA 已勾选,要邀请哪几位?' : '你点名的 FLA 已勾选,还要加谁吗?';
|
|
200
200
|
const { shown, interaction } = memberAndModeChoice(options, question, mode);
|
|
201
|
-
const notice = ['等待确认
|
|
201
|
+
const notice = ['等待确认 #FLG 讨论成员', ...notices].join(';');
|
|
202
202
|
const text = [...query].slice(0, QUESTION_LIMIT).join('');
|
|
203
203
|
return { view: { status: 'choose', question: text, notice }, interaction, notice,
|
|
204
204
|
selection: noAgent(), markers: [`flg_question:${text}`, `flg_mode:${mode}`, ...shown.map(choiceMarker)] };
|
|
@@ -206,7 +206,7 @@ async function memberChoice(application, query, { moderator, personalProjectId }
|
|
|
206
206
|
|
|
207
207
|
// The member multi-select with the mode choice beside it, its mode preselected.
|
|
208
208
|
function memberAndModeChoice(members, question, mode) {
|
|
209
|
-
const { shown, interaction } = flaGroupChoice(members, { title: '选择
|
|
209
|
+
const { shown, interaction } = flaGroupChoice(members, { title: '选择 #FLG 讨论成员', question, guidance: CHOOSE_GUIDANCE });
|
|
210
210
|
return { shown, interaction: { ...interaction, mode_choice: { question: '怎么一起工作?', options: Object.values(MODES),
|
|
211
211
|
preselected: Object.keys(MODES).indexOf(mode) + 1 } } };
|
|
212
212
|
}
|
|
@@ -214,7 +214,7 @@ function memberAndModeChoice(members, question, mode) {
|
|
|
214
214
|
// The same member choice again, saying why the last answer did not confirm it.
|
|
215
215
|
function chooseAgain({ choices, question, mode }, reason) {
|
|
216
216
|
const { interaction } = memberAndModeChoice(choices, `${reason},要邀请哪几位一起讨论?`, mode);
|
|
217
|
-
const notice = `等待确认
|
|
217
|
+
const notice = `等待确认 #FLG 讨论成员:${reason}`;
|
|
218
218
|
return { view: { status: 'choose', question, notice }, interaction, notice,
|
|
219
219
|
selection: noAgent(), markers: [`flg_question:${question}`, `flg_mode:${mode}`, ...choices.map(choiceMarker)] };
|
|
220
220
|
}
|
|
@@ -242,25 +242,25 @@ function confirmed(application, request, moderator, personalProjectId) {
|
|
|
242
242
|
application.roundtable.recordGroupChoice({ requestId, agentId: moderator, projectId: personalProjectId,
|
|
243
243
|
question, members: members.map(item => item.agentId) });
|
|
244
244
|
} catch { return said('unavailable', 'roundtable_unavailable', []); }
|
|
245
|
-
const notice = [`已确认 ${members.length} 位
|
|
245
|
+
const notice = [`已确认 ${members.length} 位 #FLG 讨论成员:${members.map(item => item.name).join('、')}`,
|
|
246
246
|
...(self ? [self] : [])].join(';');
|
|
247
247
|
return { view: { status: 'confirmed', notice, start: { requestId }, guidance: START_GUIDANCE }, notice,
|
|
248
248
|
markers: [startedMarker(requestId)] };
|
|
249
249
|
}
|
|
250
250
|
|
|
251
251
|
// Mode 1: this session reads the members' index for the person's text and
|
|
252
|
-
// keeps the members, so a later
|
|
252
|
+
// keeps the members, so a later `#FLG <text>` reads it again. One receipt
|
|
253
253
|
// line says whose context was loaded and that working memory was not; a part
|
|
254
254
|
// that cannot be read is said in the index itself.
|
|
255
255
|
async function together(application, members, text, source, extra = null) {
|
|
256
256
|
const context = await groupMemberContext(application, members, text, source);
|
|
257
|
-
const notice = [`本会话已载入 ${members.length} 位
|
|
257
|
+
const notice = [`本会话已载入 ${members.length} 位 #FLG 成员的上下文:${members.map(item => item.name).join('、')}`
|
|
258
258
|
+ '(工作记忆为各 FLA 私有,未载入)', ...(extra ? [extra] : [])].join(';');
|
|
259
259
|
return { view: { status: 'together', notice, context, guidance: TOGETHER_GUIDANCE }, notice,
|
|
260
260
|
markers: members.map(withMarker) };
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
// The person's
|
|
263
|
+
// The person's `#FLG <text>` for the discussion this session started: recorded
|
|
264
264
|
// as the follow-up the moderator may carry out once, to everyone or to the
|
|
265
265
|
// one member it names.
|
|
266
266
|
function followUp(application, current, text, kept) {
|
|
@@ -273,7 +273,7 @@ function followUp(application, current, text, kept) {
|
|
|
273
273
|
catch { return said('unavailable', 'roundtable_unavailable', kept); }
|
|
274
274
|
if (recorded.refused === 'limit') return said('unavailable', 'follow_up_limit', []);
|
|
275
275
|
if (!recorded.recorded) return said('unavailable', 'none_running', []);
|
|
276
|
-
const notice = to ? `追问
|
|
276
|
+
const notice = to ? `追问 #FLG 讨论中的 ${named[0][0].name}` : '在同一个 #FLG 讨论里追问全部成员';
|
|
277
277
|
return { view: { status: 'follow_up', chat_id: current.chatId, discussion_status: current.status,
|
|
278
278
|
...(to ? { to } : {}), notice, guidance: FOLLOW_UP_GUIDANCE }, notice, markers: kept };
|
|
279
279
|
}
|
|
@@ -299,7 +299,7 @@ function memberUnavailable(item, moderator, mode) {
|
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
// The discussion this session started, or null when there is none or it
|
|
302
|
-
// cannot be read (a new
|
|
302
|
+
// cannot be read (a new `#FLG` then starts another).
|
|
303
303
|
async function startedDiscussion(application, requestId) {
|
|
304
304
|
if (!requestId || !application.roundtable?.ownerGroupDiscussion) return null;
|
|
305
305
|
try { return await application.roundtable.ownerGroupDiscussion({ requestId }); } catch { return null; }
|