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.
- 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-CErC3Paj.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-DFW3Ua0Z.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-BVIU7iFS.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-C7IVLf_v.js +24 -0
- package/dist/web/assets/index-DF0TcfPY.css +1 -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-1lwoVj6f.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 +7 -7
- 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 +38 -9
- package/packages/roundtable/src/roundtable/store.js +8 -5
- 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 +15 -2
- 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 +39 -12
- 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 +10 -1
- 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/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/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 +9 -0
- 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/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/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/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 +11 -0
- 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 +1 -1
- package/src/graphiti/task-entry-project-scope.js +4 -4
- 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 +4 -1
- 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-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 +4 -0
- 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/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
|
@@ -3,12 +3,18 @@
|
|
|
3
3
|
A block belongs to the client session that reported it. When that same
|
|
4
4
|
session records more work, or the person replies in it, or the person answers
|
|
5
5
|
the block's request in FULI, the task leaves blocked: one system event records
|
|
6
|
-
why and when, and the block's open requests leave the person's queue.
|
|
7
|
-
|
|
6
|
+
why and when, and the block's open requests leave the person's queue.
|
|
7
|
+
|
|
8
|
+
Work in another session is weaker evidence: the block may have been solved
|
|
9
|
+
there, or not. When one of the task's Agents records work in its project from
|
|
10
|
+
another session, the block stays and FULI notes it as probably resolved, for
|
|
11
|
+
the person to confirm with one click (FULI is human-authoritative).
|
|
8
12
|
|
|
9
13
|
A session that will never continue leaves its block in place, so the person
|
|
10
|
-
can also mark it cleared from the console (「标记为已解除」)
|
|
11
|
-
|
|
14
|
+
can also mark it cleared from the console (「标记为已解除」), or an FLA that
|
|
15
|
+
solved it does that for them through run_delegated_action, with its reason.
|
|
16
|
+
That write comes only on the human-review channel; an Agent's access token
|
|
17
|
+
alone is refused.
|
|
12
18
|
"""
|
|
13
19
|
|
|
14
20
|
from fastapi import HTTPException
|
|
@@ -18,11 +24,13 @@ from .project_agent_task_models import (
|
|
|
18
24
|
ProjectAgentTaskBlockerClear,
|
|
19
25
|
ProjectAgentTaskBlockerClearResult,
|
|
20
26
|
ProjectAgentTaskBlockerPersonClear,
|
|
27
|
+
ProjectAgentTaskBlockerProgress,
|
|
28
|
+
ProjectAgentTaskBlockerProgressResult,
|
|
21
29
|
ProjectAgentTaskRecord,
|
|
22
30
|
)
|
|
23
31
|
from .provider_values import now_utc, stable_uuid
|
|
24
32
|
from .store_transactions import query_store_transaction
|
|
25
|
-
from .task_blocker import PERSON_CLEAR_SUMMARY, blocked_in_session
|
|
33
|
+
from .task_blocker import PERSON_CLEAR_SUMMARY, PERSON_CONFIRM_SUMMARY, blocked_in_session
|
|
26
34
|
from .task_participant_running import running_since_set
|
|
27
35
|
|
|
28
36
|
CLEAR_SUMMARIES = {
|
|
@@ -30,7 +38,10 @@ CLEAR_SUMMARIES = {
|
|
|
30
38
|
'session_reply': 'Unblocked automatically: the person replied in the session that reported the block.',
|
|
31
39
|
'attention_answer': 'Unblocked automatically: the person answered the blocking request in FULI.',
|
|
32
40
|
'person': PERSON_CLEAR_SUMMARY,
|
|
41
|
+
'person_confirmed': PERSON_CONFIRM_SUMMARY,
|
|
33
42
|
}
|
|
43
|
+
# Who each clear's event is recorded as; the session causes are the system's.
|
|
44
|
+
ACTOR_KINDS = {'person': 'human', 'person_confirmed': 'human', 'agent': 'agent'}
|
|
34
45
|
# A blocked task's own status report that moves it on.
|
|
35
46
|
STATUS_UPDATE_RESPONSE = 'The task left blocked with its own status update.'
|
|
36
47
|
# The requests that stand for a block in the person's queue.
|
|
@@ -69,44 +80,110 @@ class StoreProjectAgentTaskBlockers:
|
|
|
69
80
|
async def clear_task_blocker_by_person(
|
|
70
81
|
self, actor: dict, task_id: str, request: ProjectAgentTaskBlockerPersonClear,
|
|
71
82
|
) -> ProjectAgentTaskRecord:
|
|
72
|
-
"""The person's 「标记为已解除」: end this task's block whichever session reported it.
|
|
83
|
+
"""The person's 「标记为已解除」: end this task's block whichever session reported it.
|
|
84
|
+
|
|
85
|
+
The same console write carries an FLA's clear for the person (cause
|
|
86
|
+
'agent', its reason as the summary) and the person's confirmation of a
|
|
87
|
+
probable resolution ('person_confirmed').
|
|
88
|
+
"""
|
|
73
89
|
self._require_personal()
|
|
74
90
|
if actor.get('_human_review_verified') is not True:
|
|
75
91
|
raise HTTPException(403, 'only the person marks a block cleared, from the local console')
|
|
76
92
|
await self.authorize(actor, request.personal_space_id, 'maintainer')
|
|
77
93
|
if not await self._find_task_row(request.personal_space_id, task_id, request.personal_project_id):
|
|
78
94
|
raise HTTPException(404, 'project Agent task not found')
|
|
95
|
+
agent = request.cleared_by == 'agent'
|
|
96
|
+
cause = 'agent' if agent else 'person_confirmed' if request.confirm_hint else 'person'
|
|
97
|
+
clearer = {'agent_id': request.agent_id, 'application': request.source_application,
|
|
98
|
+
'session_id': request.source_session_id} if agent else None
|
|
79
99
|
if not await self._clear_task_blocker(
|
|
80
|
-
request.personal_space_id, task_id,
|
|
81
|
-
project_id=request.personal_project_id, note=request.note,
|
|
100
|
+
request.personal_space_id, task_id, cause,
|
|
101
|
+
project_id=request.personal_project_id, note=request.note, clearer=clearer,
|
|
82
102
|
):
|
|
83
|
-
raise HTTPException(409, 'the task is no longer blocked; reload it')
|
|
103
|
+
raise HTTPException(409, 'the task is no longer blocked, or nothing says it is probably resolved; reload it')
|
|
84
104
|
return await self.get_project_agent_task(
|
|
85
105
|
actor, request.personal_space_id, task_id, personal_project_id=request.personal_project_id,
|
|
86
106
|
)
|
|
87
107
|
|
|
108
|
+
async def note_blocker_progress(
|
|
109
|
+
self, actor: dict, request: ProjectAgentTaskBlockerProgress,
|
|
110
|
+
) -> ProjectAgentTaskBlockerProgressResult:
|
|
111
|
+
"""This Agent recorded work in the project from this session: its blocks
|
|
112
|
+
reported in any other session become probably resolved. The status stays."""
|
|
113
|
+
self._require_personal()
|
|
114
|
+
await self.authorize(actor, request.personal_space_id, 'maintainer')
|
|
115
|
+
rows, _, _ = await self.runtime.driver.execute_query(
|
|
116
|
+
'''
|
|
117
|
+
MATCH (:FuliSpace {id: $space_id, kind: 'personal'})-[:HAS_PROJECT_AGENT_TASK]->
|
|
118
|
+
(task:FuliProjectAgentTask {
|
|
119
|
+
personal_space_id: $space_id, personal_project_id: $project_id, status: 'blocked'
|
|
120
|
+
})
|
|
121
|
+
WHERE task.lead_agent_id = $agent_id
|
|
122
|
+
OR EXISTS { MATCH (task)-[:HAS_PARTICIPANT]->(:FuliProjectAgent {agent_id: $agent_id}) }
|
|
123
|
+
RETURN DISTINCT task.task_id AS task_id
|
|
124
|
+
''',
|
|
125
|
+
space_id=request.personal_space_id, project_id=request.personal_project_id,
|
|
126
|
+
agent_id=request.agent_id, routing_='r',
|
|
127
|
+
)
|
|
128
|
+
hinted = []
|
|
129
|
+
for row in rows:
|
|
130
|
+
if await self._hint_task_blocker(request, row['task_id']):
|
|
131
|
+
hinted.append(row['task_id'])
|
|
132
|
+
return ProjectAgentTaskBlockerProgressResult(hinted_task_ids=hinted)
|
|
133
|
+
|
|
134
|
+
async def _hint_task_blocker(self, request: ProjectAgentTaskBlockerProgress, task_id: str) -> bool:
|
|
135
|
+
session = (request.source_application, request.source_session_id)
|
|
136
|
+
async with query_store_transaction(self) as scoped:
|
|
137
|
+
await scoped._lock_task_activity(request.personal_space_id, task_id)
|
|
138
|
+
row = await scoped._find_task_row(request.personal_space_id, task_id, request.personal_project_id)
|
|
139
|
+
blocker = scoped._blocker_from_row(row) if row else None
|
|
140
|
+
# The reporting session's own work ends its block instead.
|
|
141
|
+
if not blocker or blocked_in_session(blocker, *session):
|
|
142
|
+
return False
|
|
143
|
+
await scoped.runtime.driver.execute_query(
|
|
144
|
+
'''
|
|
145
|
+
MATCH (:FuliSpace {id: $space_id, kind: 'personal'})-[:HAS_PROJECT_AGENT_TASK]->
|
|
146
|
+
(task:FuliProjectAgentTask {
|
|
147
|
+
personal_space_id: $space_id, task_id: $task_id, status: 'blocked'
|
|
148
|
+
})
|
|
149
|
+
SET task.blocker_hint_agent_id = $agent_id,
|
|
150
|
+
task.blocker_hint_source_application = $application,
|
|
151
|
+
task.blocker_hint_source_session_id = $session_id,
|
|
152
|
+
task.blocker_hint_at = $at
|
|
153
|
+
''',
|
|
154
|
+
space_id=request.personal_space_id, task_id=task_id, agent_id=request.agent_id,
|
|
155
|
+
application=request.source_application, session_id=request.source_session_id, at=now_utc(),
|
|
156
|
+
)
|
|
157
|
+
return True
|
|
158
|
+
|
|
88
159
|
async def _clear_task_blocker(
|
|
89
160
|
self, space_id: str, task_id: str, cause: BlockerClearCause, *, session=None,
|
|
90
|
-
project_id=None, note=None,
|
|
161
|
+
project_id=None, note=None, clearer=None,
|
|
91
162
|
) -> bool:
|
|
92
163
|
"""Move one blocked task to running. session, when given, must be the reporting one.
|
|
93
164
|
|
|
94
165
|
The person's own clear ('person') is a human event whose summary is
|
|
95
|
-
their note;
|
|
166
|
+
their note; their confirmation ('person_confirmed') needs the block's
|
|
167
|
+
probable resolution and names its Agent and session; an FLA's clear
|
|
168
|
+
('agent') names the FLA (clearer) and its reason; every other cause is
|
|
169
|
+
a system event.
|
|
96
170
|
"""
|
|
97
171
|
async with query_store_transaction(self) as scoped:
|
|
98
|
-
await scoped.
|
|
99
|
-
'''
|
|
100
|
-
MATCH (:FuliSpace {id: $space_id, kind: 'personal'})-[:HAS_PROJECT_AGENT_TASK]->
|
|
101
|
-
(task:FuliProjectAgentTask {personal_space_id: $space_id, task_id: $task_id})
|
|
102
|
-
SET task._activity_write_lock = true
|
|
103
|
-
REMOVE task._activity_write_lock
|
|
104
|
-
''', space_id=space_id, task_id=task_id,
|
|
105
|
-
)
|
|
172
|
+
await scoped._lock_task_activity(space_id, task_id)
|
|
106
173
|
row = await scoped._find_task_row(space_id, task_id, project_id)
|
|
107
174
|
blocker = scoped._blocker_from_row(row) if row else None
|
|
108
175
|
if not blocker or (session and not blocked_in_session(blocker, *session)):
|
|
109
176
|
return False
|
|
177
|
+
hint = blocker.probably_resolved
|
|
178
|
+
if cause == 'person_confirmed' and not hint:
|
|
179
|
+
return False
|
|
180
|
+
if cause == 'person_confirmed':
|
|
181
|
+
clearer = {'agent_id': hint.agent_id, 'application': hint.source_application,
|
|
182
|
+
'session_id': hint.source_session_id}
|
|
183
|
+
elif session:
|
|
184
|
+
clearer = {'agent_id': blocker.agent_id, 'application': session[0], 'session_id': session[1]}
|
|
185
|
+
elif not clearer:
|
|
186
|
+
clearer = {'agent_id': blocker.agent_id, 'application': None, 'session_id': None}
|
|
110
187
|
now = now_utc()
|
|
111
188
|
summary = note or CLEAR_SUMMARIES[cause]
|
|
112
189
|
await scoped.runtime.driver.execute_query(
|
|
@@ -140,14 +217,24 @@ class StoreProjectAgentTaskBlockers:
|
|
|
140
217
|
self.settings.provider_id, space_id, 'project-agent-task-blocker-clear',
|
|
141
218
|
task_id, now.isoformat(),
|
|
142
219
|
),
|
|
143
|
-
agent_id=
|
|
144
|
-
actor_kind=
|
|
145
|
-
application=
|
|
146
|
-
session_id=session[1] if session else None, updated_at=now,
|
|
220
|
+
agent_id=clearer['agent_id'], summary=summary, cause=cause,
|
|
221
|
+
actor_kind=ACTOR_KINDS.get(cause, 'system'),
|
|
222
|
+
application=clearer['application'], session_id=clearer['session_id'], updated_at=now,
|
|
147
223
|
)
|
|
148
224
|
await scoped._close_blocker_attention(space_id, task_id, summary, now)
|
|
149
225
|
return True
|
|
150
226
|
|
|
227
|
+
async def _lock_task_activity(self, space_id, task_id):
|
|
228
|
+
"""Hold the task's activity write lock for the rest of the transaction."""
|
|
229
|
+
await self.runtime.driver.execute_query(
|
|
230
|
+
'''
|
|
231
|
+
MATCH (:FuliSpace {id: $space_id, kind: 'personal'})-[:HAS_PROJECT_AGENT_TASK]->
|
|
232
|
+
(task:FuliProjectAgentTask {personal_space_id: $space_id, task_id: $task_id})
|
|
233
|
+
SET task._activity_write_lock = true
|
|
234
|
+
REMOVE task._activity_write_lock
|
|
235
|
+
''', space_id=space_id, task_id=task_id,
|
|
236
|
+
)
|
|
237
|
+
|
|
151
238
|
async def _close_blocker_attention(self, space_id, task_id, response, at):
|
|
152
239
|
"""Take the task's open blocking requests out of the person's queue."""
|
|
153
240
|
await self.runtime.driver.execute_query(
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
"""Keyset pages of a space's Agent tasks for the console's full lists.
|
|
2
|
+
|
|
3
|
+
The workbench shows seven rows of 进行中 and 最近完成; each list's own page
|
|
4
|
+
reads the rest here, a page at a time, filtered and sorted on the graph. A row
|
|
5
|
+
carries the task and its participants but not its event history, so a long
|
|
6
|
+
list stays cheap to read; the task's own view still loads its events.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
import base64
|
|
10
|
+
import json
|
|
11
|
+
from datetime import datetime
|
|
12
|
+
from collections.abc import Sequence
|
|
13
|
+
from typing import Literal
|
|
14
|
+
|
|
15
|
+
from fastapi import HTTPException
|
|
16
|
+
|
|
17
|
+
from .models import StrictModel
|
|
18
|
+
from .personal_project_access import authorize_personal_project
|
|
19
|
+
from .project_agent_task_models import ProjectAgentTaskRecord, ProjectAgentTaskStatus
|
|
20
|
+
from .provider_values import native_datetime
|
|
21
|
+
from .system_hr_identity import resolve_hr_alias
|
|
22
|
+
|
|
23
|
+
TaskPageOrder = Literal['updated', 'completed']
|
|
24
|
+
TaskPageSort = Literal['newest', 'oldest']
|
|
25
|
+
|
|
26
|
+
# The time each order reads; a finished task without its own time falls back to its last change.
|
|
27
|
+
_ORDER_TIME = {
|
|
28
|
+
'updated': 'task.updated_at',
|
|
29
|
+
'completed': 'coalesce(task.completed_at, task.updated_at)',
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class ProjectAgentTaskPage(StrictModel):
|
|
34
|
+
items: list[ProjectAgentTaskRecord]
|
|
35
|
+
# Opaque; null on the last page.
|
|
36
|
+
next_cursor: str | None = None
|
|
37
|
+
# How many tasks match, counted only for the first page.
|
|
38
|
+
total: int | None = None
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def encode_task_cursor(at: datetime, task_id: str) -> str:
|
|
42
|
+
raw = json.dumps([at.isoformat(), task_id], separators=(',', ':'))
|
|
43
|
+
return base64.urlsafe_b64encode(raw.encode()).decode().rstrip('=')
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def decode_task_cursor(cursor: str) -> tuple[str, str]:
|
|
47
|
+
try:
|
|
48
|
+
padded = cursor + '=' * (-len(cursor) % 4)
|
|
49
|
+
at, task_id = json.loads(base64.urlsafe_b64decode(padded.encode()).decode())
|
|
50
|
+
if not isinstance(at, str) or not isinstance(task_id, str):
|
|
51
|
+
raise ValueError
|
|
52
|
+
datetime.fromisoformat(at)
|
|
53
|
+
return at, task_id
|
|
54
|
+
except (ValueError, TypeError, json.JSONDecodeError, UnicodeDecodeError) as error:
|
|
55
|
+
raise HTTPException(status_code=422, detail='invalid task cursor') from error
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
def _page_query(order: TaskPageOrder, sort: TaskPageSort) -> tuple[str, str]:
|
|
59
|
+
"""The filter and page clauses; the count reuses the filter alone."""
|
|
60
|
+
|
|
61
|
+
at = _ORDER_TIME[order]
|
|
62
|
+
direction = 'DESC' if sort == 'newest' else 'ASC'
|
|
63
|
+
beyond = '<' if sort == 'newest' else '>'
|
|
64
|
+
match = f'''
|
|
65
|
+
MATCH (space:FuliSpace {{id: $personal_space_id, kind: 'personal'}})-
|
|
66
|
+
[:HAS_PROJECT_AGENT_TASK]->
|
|
67
|
+
(task:FuliProjectAgentTask {{personal_space_id: $personal_space_id}})
|
|
68
|
+
WHERE task.status IN $statuses
|
|
69
|
+
AND (size($project_ids) = 0 OR task.personal_project_id IN $project_ids)
|
|
70
|
+
AND (size($agent_ids) = 0
|
|
71
|
+
OR task.lead_agent_id IN $agent_ids
|
|
72
|
+
OR EXISTS {{
|
|
73
|
+
MATCH (task)-[:HAS_PARTICIPANT]->(member:FuliProjectAgent)
|
|
74
|
+
WHERE member.agent_id IN $agent_ids
|
|
75
|
+
}})
|
|
76
|
+
AND ($text IS NULL
|
|
77
|
+
OR toLower(coalesce(task.title, '')) CONTAINS $text
|
|
78
|
+
OR toLower(coalesce(task.objective, '')) CONTAINS $text
|
|
79
|
+
OR toLower(coalesce(task.result_summary, '')) CONTAINS $text)
|
|
80
|
+
AND ($started_since IS NULL OR task.created_at >= datetime($started_since))
|
|
81
|
+
AND ($changed_before IS NULL OR task.updated_at < datetime($changed_before))
|
|
82
|
+
AND ($has_result IS NULL OR (trim(coalesce(task.result_summary, '')) <> '') = $has_result)
|
|
83
|
+
AND ($took_at_least IS NULL AND $took_at_most IS NULL OR (
|
|
84
|
+
duration.inSeconds(task.created_at, coalesce(task.completed_at, task.updated_at)).seconds >= coalesce($took_at_least, 0)
|
|
85
|
+
AND ($took_at_most IS NULL
|
|
86
|
+
OR duration.inSeconds(task.created_at, coalesce(task.completed_at, task.updated_at)).seconds < $took_at_most)))
|
|
87
|
+
WITH task, {at} AS at
|
|
88
|
+
WHERE ($since IS NULL OR at >= datetime($since))
|
|
89
|
+
AND ($until IS NULL OR at < datetime($until))
|
|
90
|
+
'''
|
|
91
|
+
page = f'''
|
|
92
|
+
WITH task, at
|
|
93
|
+
WHERE $after_at IS NULL
|
|
94
|
+
OR at {beyond} datetime($after_at)
|
|
95
|
+
OR (at = datetime($after_at) AND task.task_id > $after_id)
|
|
96
|
+
WITH task, at ORDER BY at {direction}, task.task_id LIMIT $limit
|
|
97
|
+
OPTIONAL MATCH (task)-[participant:HAS_PARTICIPANT]->(participant_agent:FuliProjectAgent)
|
|
98
|
+
WITH task, at, collect(DISTINCT {{
|
|
99
|
+
agent_id: participant_agent.agent_id,
|
|
100
|
+
agent_name: participant_agent.name,
|
|
101
|
+
occupation_emoji: participant_agent.occupation_emoji,
|
|
102
|
+
role: participant.role,
|
|
103
|
+
status: participant.status,
|
|
104
|
+
assignment_summary: participant.assignment_summary,
|
|
105
|
+
profile_json: participant_agent.profile_json,
|
|
106
|
+
joined_at: participant.joined_at,
|
|
107
|
+
updated_at: participant.updated_at,
|
|
108
|
+
ended_at: participant.ended_at,
|
|
109
|
+
running_since: participant.running_since
|
|
110
|
+
}}) AS participant_rows
|
|
111
|
+
OPTIONAL MATCH (task)-[:ROUTED_BY]->(decision:FuliProjectAgentRoutingDecision)
|
|
112
|
+
RETURN task, at, participant_rows, [] AS event_rows, decision
|
|
113
|
+
ORDER BY at {direction}, task.task_id
|
|
114
|
+
'''
|
|
115
|
+
return match, page
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
class StoreProjectAgentTaskPages:
|
|
119
|
+
async def list_project_agent_task_page(
|
|
120
|
+
self,
|
|
121
|
+
actor: dict,
|
|
122
|
+
personal_space_id: str,
|
|
123
|
+
*,
|
|
124
|
+
statuses: Sequence[ProjectAgentTaskStatus],
|
|
125
|
+
project_ids: Sequence[str] = (),
|
|
126
|
+
agent_ids: Sequence[str] = (),
|
|
127
|
+
text: str | None = None,
|
|
128
|
+
since: datetime | None = None,
|
|
129
|
+
until: datetime | None = None,
|
|
130
|
+
started_since: datetime | None = None,
|
|
131
|
+
changed_before: datetime | None = None,
|
|
132
|
+
has_result: bool | None = None,
|
|
133
|
+
took_at_least: int | None = None,
|
|
134
|
+
took_at_most: int | None = None,
|
|
135
|
+
order: TaskPageOrder = 'updated',
|
|
136
|
+
sort: TaskPageSort = 'newest',
|
|
137
|
+
limit: int = 50,
|
|
138
|
+
cursor: str | None = None,
|
|
139
|
+
) -> ProjectAgentTaskPage:
|
|
140
|
+
"""One page of the space's tasks that match, in the asked order.
|
|
141
|
+
|
|
142
|
+
Each list adds its own narrowing: work started since a time, work
|
|
143
|
+
quiet since a time (no change before `changed_before`), finished work
|
|
144
|
+
with or without a result summary, and how long it took in seconds
|
|
145
|
+
from creation to completion (`took_at_least` <= took < `took_at_most`).
|
|
146
|
+
"""
|
|
147
|
+
|
|
148
|
+
self._require_personal()
|
|
149
|
+
space = await self.authorize(actor, personal_space_id, 'reader')
|
|
150
|
+
for project_id in project_ids:
|
|
151
|
+
await authorize_personal_project(self, actor, space, project_id)
|
|
152
|
+
agents = [await resolve_hr_alias(self, personal_space_id, agent_id) for agent_id in agent_ids]
|
|
153
|
+
after_at, after_id = decode_task_cursor(cursor) if cursor else (None, None)
|
|
154
|
+
match, page = _page_query(order, sort)
|
|
155
|
+
values = {
|
|
156
|
+
'personal_space_id': personal_space_id,
|
|
157
|
+
'statuses': list(statuses),
|
|
158
|
+
'project_ids': list(project_ids),
|
|
159
|
+
'agent_ids': agents,
|
|
160
|
+
'text': text.strip().lower() if text and text.strip() else None,
|
|
161
|
+
'since': since.isoformat() if since else None,
|
|
162
|
+
'until': until.isoformat() if until else None,
|
|
163
|
+
'started_since': started_since.isoformat() if started_since else None,
|
|
164
|
+
'changed_before': changed_before.isoformat() if changed_before else None,
|
|
165
|
+
'has_result': has_result,
|
|
166
|
+
'took_at_least': took_at_least,
|
|
167
|
+
'took_at_most': took_at_most,
|
|
168
|
+
}
|
|
169
|
+
# One more row than the page says whether another page follows.
|
|
170
|
+
records, _, _ = await self.runtime.driver.execute_query(
|
|
171
|
+
match + page, **values, after_at=after_at, after_id=after_id,
|
|
172
|
+
limit=limit + 1, routing_='r',
|
|
173
|
+
)
|
|
174
|
+
total = None
|
|
175
|
+
if not cursor:
|
|
176
|
+
counted, _, _ = await self.runtime.driver.execute_query(
|
|
177
|
+
match + 'RETURN count(task) AS total', **values, routing_='r',
|
|
178
|
+
)
|
|
179
|
+
total = counted[0]['total'] if counted else 0
|
|
180
|
+
rows = records[:limit]
|
|
181
|
+
last = rows[-1] if rows and len(records) > limit else None
|
|
182
|
+
return ProjectAgentTaskPage(
|
|
183
|
+
items=[self._task_from_row(row) for row in rows],
|
|
184
|
+
next_cursor=encode_task_cursor(native_datetime(last['at']), dict(last['task'])['task_id']) if last else None,
|
|
185
|
+
total=total,
|
|
186
|
+
)
|
|
@@ -19,7 +19,7 @@ from .project_agent_task_models import (
|
|
|
19
19
|
ProjectAgentWorkerRuntime,
|
|
20
20
|
)
|
|
21
21
|
from .provider_values import native_datetime
|
|
22
|
-
from .task_blocker import
|
|
22
|
+
from .task_blocker import blocker_clear_note, current_blocker
|
|
23
23
|
from .temporary_project_scope import TEMPORARY_SCOPE
|
|
24
24
|
from .task_activity_origin import read_activity_origin
|
|
25
25
|
|
|
@@ -222,7 +222,7 @@ class StoreProjectAgentTaskReads:
|
|
|
222
222
|
):
|
|
223
223
|
if name in ProjectAgentTaskEventRecord.model_fields:
|
|
224
224
|
fields[name] = event.get(name)
|
|
225
|
-
fields['blocker_clear_note'] =
|
|
225
|
+
fields['blocker_clear_note'] = blocker_clear_note(event.get('blocker_cleared_by'), event['summary'])
|
|
226
226
|
fields.update(cls._event_json_fields(event))
|
|
227
227
|
if event.get('execution_plan_json'):
|
|
228
228
|
fields['execution_plan'] = ProjectAgentExecutionPlan.model_validate_json(event['execution_plan_json'])
|
|
@@ -236,7 +236,7 @@ class StoreProjectAgentTaskReads:
|
|
|
236
236
|
raw = dict(row['task'])
|
|
237
237
|
if raw.get('status') != 'blocked':
|
|
238
238
|
return None
|
|
239
|
-
return current_blocker('blocked', cls._events_from_row(row), raw.get('result_summary'))
|
|
239
|
+
return current_blocker('blocked', cls._events_from_row(row), raw.get('result_summary'), raw)
|
|
240
240
|
|
|
241
241
|
def _task_from_row(self, row):
|
|
242
242
|
raw = dict(row['task'])
|
|
@@ -320,10 +320,12 @@ class StoreProjectAgentTaskReads:
|
|
|
320
320
|
'created_at': native_datetime(raw['created_at']),
|
|
321
321
|
'updated_at': native_datetime(raw['updated_at']),
|
|
322
322
|
'completed_at': native_datetime(raw.get('completed_at')),
|
|
323
|
+
'quality_gate': raw.get('quality_gate'),
|
|
324
|
+
'verified_artifact_revision': raw.get('verified_artifact_revision'),
|
|
323
325
|
'events': events,
|
|
324
326
|
}
|
|
325
327
|
fields['execution_summary'] = self._execution_summary(row, events)
|
|
326
|
-
fields['blocker'] = current_blocker(raw['status'], events, raw.get('result_summary'))
|
|
328
|
+
fields['blocker'] = current_blocker(raw['status'], events, raw.get('result_summary'), raw)
|
|
327
329
|
executor_raw = json.loads(raw['executor_decision_json']) \
|
|
328
330
|
if raw.get('executor_decision_json') else None
|
|
329
331
|
executor_policy_raw = raw.get('executor_policy_json')
|
|
@@ -1208,13 +1208,6 @@ class StoreProjectAgentTaskRecruitment(StoreRecruitmentFulfillment):
|
|
|
1208
1208
|
)
|
|
1209
1209
|
return dict(records[0]['recruitment']) if records else None
|
|
1210
1210
|
|
|
1211
|
-
async def _task_recruitment(self, personal_space_id, task_id):
|
|
1212
|
-
recruitments = await self._task_recruitments(
|
|
1213
|
-
personal_space_id,
|
|
1214
|
-
task_id,
|
|
1215
|
-
)
|
|
1216
|
-
return recruitments[0] if recruitments else None
|
|
1217
|
-
|
|
1218
1211
|
async def _task_recruitments(self, personal_space_id, task_id):
|
|
1219
1212
|
records, _, _ = await self.runtime.driver.execute_query(
|
|
1220
1213
|
'''
|
|
@@ -707,7 +707,7 @@ class StoreProjectAgentTasks(
|
|
|
707
707
|
|
|
708
708
|
@staticmethod
|
|
709
709
|
def _validate_task_transition(
|
|
710
|
-
current, requested, *, has_actual_executor=False, from_blocking_session=False,
|
|
710
|
+
current, requested, *, has_actual_executor=False, from_blocking_session=False, from_lead=False,
|
|
711
711
|
):
|
|
712
712
|
if not current:
|
|
713
713
|
return
|
|
@@ -735,8 +735,9 @@ class StoreProjectAgentTasks(
|
|
|
735
735
|
}
|
|
736
736
|
if current == 'blocked' and has_actual_executor:
|
|
737
737
|
allowed['blocked'] = {'queued', 'running', 'cancelled', 'failed'}
|
|
738
|
-
if current == 'blocked' and from_blocking_session:
|
|
739
|
-
# The session that reported the block resolved it there and moves
|
|
738
|
+
if current == 'blocked' and (from_blocking_session or from_lead):
|
|
739
|
+
# The session that reported the block resolved it there and moves
|
|
740
|
+
# on, or the task's lead says from another session that it did.
|
|
740
741
|
allowed['blocked'] = {
|
|
741
742
|
'queued', 'running', 'paused', 'awaiting_review',
|
|
742
743
|
'completed', 'cancelled', 'failed',
|
|
@@ -28,6 +28,19 @@ from .knowledge_source_fence import require_source_available
|
|
|
28
28
|
from .client_coverage import covers_client
|
|
29
29
|
|
|
30
30
|
|
|
31
|
+
def foreign_client_detail(begun_in, used_in):
|
|
32
|
+
"""Why a token from another client is refused, and the one step that works here (rec#69, rec#97).
|
|
33
|
+
|
|
34
|
+
A token stays with the client that began it; this connection never adopts it.
|
|
35
|
+
"""
|
|
36
|
+
return (
|
|
37
|
+
f'Task context not found for this client: it was begun in {begun_in}, not {used_in}. '
|
|
38
|
+
f'This FULI connection runs as {used_in}, so a {begun_in} token never works through it. '
|
|
39
|
+
'Call get_collaboration_preferences through this connection for a token of its own '
|
|
40
|
+
'(begin_task_context where it is listed) and pass that token to every call made through it, '
|
|
41
|
+
'including checkpoint_task_knowledge.')
|
|
42
|
+
|
|
43
|
+
|
|
31
44
|
class StoreTaskContexts:
|
|
32
45
|
async def adopt_task_context_agent(self, actor, token, request):
|
|
33
46
|
async with query_store_transaction(self) as scoped:
|
|
@@ -234,10 +247,7 @@ class StoreTaskContexts:
|
|
|
234
247
|
raise HTTPException(status_code=404, detail='Task context is unknown or superseded')
|
|
235
248
|
record = task_context_record(rows[0])
|
|
236
249
|
if record['source_application'] != source_application:
|
|
237
|
-
|
|
238
|
-
raise HTTPException(status_code=404, detail=(
|
|
239
|
-
f"Task context not found for this client: it was begun in {record['source_application']}, "
|
|
240
|
-
f'not {source_application}. Call begin_task_context in this client for a token of its own.'))
|
|
250
|
+
raise HTTPException(status_code=404, detail=foreign_client_detail(record['source_application'], source_application))
|
|
241
251
|
if rows[0].get('worker_run_id'):
|
|
242
252
|
await self.guard_worker_task_context(actor, space_id, token)
|
|
243
253
|
return record
|
|
@@ -5,19 +5,32 @@ its first event is when the block began, its latest names the reason and the
|
|
|
5
5
|
session that reported it. Nothing is inferred from configuration.
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
-
from .project_agent_task_models import
|
|
8
|
+
from .project_agent_task_models import (
|
|
9
|
+
ProjectAgentTaskBlocker,
|
|
10
|
+
ProjectAgentTaskBlockerHint,
|
|
11
|
+
ProjectAgentTaskEventRecord,
|
|
12
|
+
)
|
|
13
|
+
from .provider_values import native_datetime
|
|
9
14
|
|
|
10
15
|
# The person's 「标记为已解除」 keeps their note as the event's summary, or
|
|
11
16
|
# this sentence when they wrote none.
|
|
12
17
|
PERSON_CLEAR_SUMMARY = 'Marked as unblocked by the person in FULI.'
|
|
18
|
+
# The person confirmed a block FULI saw as probably resolved, without a note.
|
|
19
|
+
PERSON_CONFIRM_SUMMARY = 'Confirmed as unblocked by the person after the Agent went on in another session.'
|
|
13
20
|
|
|
14
21
|
|
|
15
22
|
def current_blocker(
|
|
16
23
|
status: str,
|
|
17
24
|
events: list[ProjectAgentTaskEventRecord],
|
|
18
25
|
stored_summary: str | None,
|
|
26
|
+
hint: dict | None = None,
|
|
19
27
|
) -> ProjectAgentTaskBlocker | None:
|
|
20
|
-
"""The block of a blocked task; None for any other status. events are oldest first.
|
|
28
|
+
"""The block of a blocked task; None for any other status. events are oldest first.
|
|
29
|
+
|
|
30
|
+
hint is the task's stored blocker_hint_* properties; it says probably
|
|
31
|
+
resolved only when it is newer than the block's latest report, so a block
|
|
32
|
+
reported again after it takes the hint back.
|
|
33
|
+
"""
|
|
21
34
|
if status != 'blocked':
|
|
22
35
|
return None
|
|
23
36
|
streak = []
|
|
@@ -26,7 +39,7 @@ def current_blocker(
|
|
|
26
39
|
break
|
|
27
40
|
streak.append(event)
|
|
28
41
|
if not streak:
|
|
29
|
-
return ProjectAgentTaskBlocker(reason=stored_summary)
|
|
42
|
+
return ProjectAgentTaskBlocker(reason=stored_summary, probably_resolved=_hint(hint, None, None))
|
|
30
43
|
latest = streak[0]
|
|
31
44
|
return ProjectAgentTaskBlocker(
|
|
32
45
|
reason=latest.summary,
|
|
@@ -35,7 +48,24 @@ def current_blocker(
|
|
|
35
48
|
source_application=latest.source_application,
|
|
36
49
|
source_session_id=latest.source_session_id,
|
|
37
50
|
source_session_url=latest.source_session_url,
|
|
51
|
+
probably_resolved=_hint(hint, latest.created_at, (latest.source_application, latest.source_session_id)),
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def _hint(hint, reported_at, session) -> ProjectAgentTaskBlockerHint | None:
|
|
56
|
+
if not hint or not hint.get('blocker_hint_agent_id') or not hint.get('blocker_hint_at'):
|
|
57
|
+
return None
|
|
58
|
+
evidence = ProjectAgentTaskBlockerHint(
|
|
59
|
+
agent_id=hint['blocker_hint_agent_id'],
|
|
60
|
+
source_application=hint.get('blocker_hint_source_application'),
|
|
61
|
+
source_session_id=hint.get('blocker_hint_source_session_id'),
|
|
62
|
+
at=native_datetime(hint['blocker_hint_at']),
|
|
38
63
|
)
|
|
64
|
+
if reported_at and evidence.at <= reported_at:
|
|
65
|
+
return None
|
|
66
|
+
if session and session[1] and (evidence.source_application, evidence.source_session_id) == session:
|
|
67
|
+
return None
|
|
68
|
+
return evidence
|
|
39
69
|
|
|
40
70
|
|
|
41
71
|
def blocked_in_session(
|
|
@@ -52,8 +82,10 @@ def blocked_in_session(
|
|
|
52
82
|
)
|
|
53
83
|
|
|
54
84
|
|
|
55
|
-
def
|
|
56
|
-
"""
|
|
57
|
-
if cause
|
|
85
|
+
def blocker_clear_note(cause: str | None, summary: str | None) -> str | None:
|
|
86
|
+
"""What the clearer wrote: the person's note, or the reason an Agent gave."""
|
|
87
|
+
if cause not in ('person', 'person_confirmed', 'agent') or not summary:
|
|
88
|
+
return None
|
|
89
|
+
if summary in (PERSON_CLEAR_SUMMARY, PERSON_CONFIRM_SUMMARY):
|
|
58
90
|
return None
|
|
59
91
|
return summary
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"""Tonborg's confirmation of a pending item for the person (rec#96).
|
|
2
|
+
|
|
3
|
+
With 「交给 Tonborg 确认」 on, an applied Tonborg review also makes the item
|
|
4
|
+
agent_confirmed, so recall uses it. The basis names Tonborg as an agent
|
|
5
|
+
confirmer with its own policy version: never a person's confirmation, which
|
|
6
|
+
only a user or an authoritative source may give (models.py). The person's undo
|
|
7
|
+
of that review returns the item to pending, but only while the basis is still
|
|
8
|
+
the one Tonborg wrote.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
import json
|
|
12
|
+
from datetime import datetime
|
|
13
|
+
|
|
14
|
+
from .provider_values import json_object
|
|
15
|
+
|
|
16
|
+
TONBORG_CONFIRMATION_POLICY_VERSION = 'tonborg-review-v1'
|
|
17
|
+
TONBORG_CONFIRMER = {'kind': 'agent', 'label': 'Tonborg'}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def basis_json(basis: dict) -> str:
|
|
21
|
+
return json.dumps(basis, ensure_ascii=False, sort_keys=True)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def tonborg_confirmation_basis(value, confirmed_at: datetime) -> dict:
|
|
25
|
+
"""The pending basis with Tonborg as its agent confirmer."""
|
|
26
|
+
basis = json_object(value)
|
|
27
|
+
return {
|
|
28
|
+
**basis,
|
|
29
|
+
'existence_reason': basis.get('existence_reason')
|
|
30
|
+
or 'The knowledge was retained from an earlier Agent proposal.',
|
|
31
|
+
'quadrant_reason': basis.get('quadrant_reason')
|
|
32
|
+
or 'The discovery quadrant remains the immutable capture-time label.',
|
|
33
|
+
'proposed_by': basis.get('proposed_by') or {'kind': 'agent', 'label': 'Fuli'},
|
|
34
|
+
'confirmed_by': dict(TONBORG_CONFIRMER),
|
|
35
|
+
'confirmed_at': confirmed_at.isoformat(),
|
|
36
|
+
'agent_policy_version': TONBORG_CONFIRMATION_POLICY_VERSION,
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def withdrawn_tonborg_basis(value) -> dict | None:
|
|
41
|
+
"""The pending basis an undo restores, or None when Tonborg did not confirm it."""
|
|
42
|
+
basis = json_object(value)
|
|
43
|
+
if basis.get('agent_policy_version') != TONBORG_CONFIRMATION_POLICY_VERSION:
|
|
44
|
+
return None
|
|
45
|
+
restored = {key: item for key, item in basis.items() if key != 'agent_policy_version'}
|
|
46
|
+
restored['confirmed_by'] = None
|
|
47
|
+
restored['confirmed_at'] = None
|
|
48
|
+
return restored
|
|
Binary file
|