fuli-context 0.27.13 → 0.27.15
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 +21 -0
- package/README.zh-CN.md +20 -0
- package/dist/web/assets/{AboutPage-B_l0fL3_.js → AboutPage-DvGP5oew.js} +1 -1
- package/dist/web/assets/{AboutSectionHeading-FkC0V4ZM.js → AboutSectionHeading-DQLpU-LX.js} +1 -1
- package/dist/web/assets/{AdvancedOnly-oNI_wJfk.js → AdvancedOnly-D3BTbbl0.js} +1 -1
- package/dist/web/assets/{AgentAppsPage-95Sr6oLp.js → AgentAppsPage-DWwVdXaN.js} +1 -1
- package/dist/web/assets/{AgentAvatar-DNf2k3_2.js → AgentAvatar-C-qXHE1H.js} +1 -1
- package/dist/web/assets/{AgentHand-ClleTtSi.js → AgentHand-B4V79OMX.js} +1 -1
- package/dist/web/assets/{AgentManagement-nW4k_wxv.js → AgentManagement-Bj3b_VpR.js} +1 -1
- package/dist/web/assets/{AgentMentionCopy-DmZlnvlR.js → AgentMentionCopy-CcGGU2LY.js} +1 -1
- package/dist/web/assets/{AgentName-B2qWcURi.js → AgentName-CpqRfTQx.js} +1 -1
- package/dist/web/assets/{AgentProfilePage-BKU203HE.js → AgentProfilePage-DgpLgAtE.js} +3 -3
- package/dist/web/assets/{AgentServicesPage-13WXOPPB.js → AgentServicesPage-DLmt22nV.js} +1 -1
- package/dist/web/assets/{AppViewerPage-DWoH0nVJ.js → AppViewerPage-CoycXPa8.js} +1 -1
- package/dist/web/assets/{BackToTop-6WOSgokN.js → BackToTop-CVsZqRqu.js} +1 -1
- package/dist/web/assets/{BoardCardFieldsMenu-DqHG6aEz.js → BoardCardFieldsMenu-BhGbXVCc.js} +1 -1
- package/dist/web/assets/{BoardMoveMenu-CnKMHK8p.js → BoardMoveMenu-DgcS4rCa.js} +1 -1
- package/dist/web/assets/{Breadcrumb-DxTO2Mmi.js → Breadcrumb-Ct7e6OYm.js} +1 -1
- package/dist/web/assets/{CaptureChangePage-CeqjPWo2.js → CaptureChangePage-DzUhCdQD.js} +1 -1
- package/dist/web/assets/{Collection-qi4Es1fz.js → Collection-Bs2KQouG.js} +1 -1
- package/dist/web/assets/{CopyFixPrompt-BclENSuP.js → CopyFixPrompt-DEGrc4au.js} +1 -1
- package/dist/web/assets/{DataFormatPage-D1QJPv4p.js → DataFormatPage-l9tilr5P.js} +1 -1
- package/dist/web/assets/{DebugTurnPage-BIPOYueM.js → DebugTurnPage-5BXToKCk.js} +1 -1
- package/dist/web/assets/{DebugTurnsPage-CQXwx7aV.js → DebugTurnsPage-Buz3RP5E.js} +1 -1
- package/dist/web/assets/{DialogTitle-BDICj-RE.js → DialogTitle-3cbaDXar.js} +1 -1
- package/dist/web/assets/{EmployeeRedirectPage-DhuuM5ek.js → EmployeeRedirectPage-B2WSyQ4r.js} +1 -1
- package/dist/web/assets/{EmployeeScopeDialog-B4yqCNQF.js → EmployeeScopeDialog-B_e-PQ8G.js} +1 -1
- package/dist/web/assets/EmployeeWorkbench-Bk2cZdp1.js +4 -0
- package/dist/web/assets/FieldRoot-CWgB5qau.js +1 -0
- package/dist/web/assets/{FlaBlockedTasks-DNudWHQO.js → FlaBlockedTasks-CzSwoKLk.js} +1 -1
- package/dist/web/assets/{FlaGrowth-YLyAxwPs.js → FlaGrowth-C8O0QHwC.js} +1 -1
- package/dist/web/assets/{FlaOccupationKit-Ce-20LX3.js → FlaOccupationKit-DZK3j3mR.js} +1 -1
- package/dist/web/assets/{FlaTaskSheets-DfWUHHrR.js → FlaTaskSheets-CtqeoO1u.js} +1 -1
- package/dist/web/assets/{FlasPage-PX-vlQOd.js → FlasPage-BDha0WYc.js} +1 -1
- package/dist/web/assets/{GrowthLoading-DebtDrNr.js → GrowthLoading-Cf0bPF3Q.js} +1 -1
- package/dist/web/assets/HabitDeliveryPage-BqSUYrAz.js +1 -0
- package/dist/web/assets/{HowtoPage-VgoLU8fX.js → HowtoPage-BoKrkQG9.js} +1 -1
- package/dist/web/assets/{InboxPage-D34psCmA.js → InboxPage-D6oP06im.js} +1 -1
- package/dist/web/assets/{KnowledgeDeleteButton-DF1OMjE9.js → KnowledgeDeleteButton-BRBRwjQi.js} +1 -1
- package/dist/web/assets/{KnowledgeHardDeleteSection-BrZpXx-X.js → KnowledgeHardDeleteSection-04BFLuNv.js} +1 -1
- package/dist/web/assets/{KnowledgeItemEditPage-Bex9opxd.js → KnowledgeItemEditPage-hUoreDyp.js} +1 -1
- package/dist/web/assets/{KnowledgeItemSummaryCard-CdCHQUVE.js → KnowledgeItemSummaryCard-BIePM9pG.js} +1 -1
- package/dist/web/assets/{KnowledgeOrganizerPage-DL4HdiRI.js → KnowledgeOrganizerPage-BSLT89Rn.js} +1 -1
- package/dist/web/assets/KnowledgePage-DZPa8muX.js +1 -0
- package/dist/web/assets/{KnowledgePeek-dtA-7Pwo.js → KnowledgePeek-BRwIehvJ.js} +1 -1
- package/dist/web/assets/{KnowledgeTurnReceiptPage-Bc0mtGBh.js → KnowledgeTurnReceiptPage-BimpLgkf.js} +1 -1
- package/dist/web/assets/{KnowledgeWorkspace-D3vFw5if.js → KnowledgeWorkspace-kG7D5BqN.js} +1 -1
- package/dist/web/assets/{MeAvatar-CKPltrBq.js → MeAvatar-oFVbooie.js} +1 -1
- package/dist/web/assets/{MeLink-BuhHHgTP.js → MeLink-Da6v55D-.js} +1 -1
- package/dist/web/assets/{MenuSeparator-B3ZADZB1.js → MenuSeparator-6uCMyjlG.js} +1 -1
- package/dist/web/assets/{ModelSettingsPage-B6dR5BiF.js → ModelSettingsPage-BcaQyqJv.js} +1 -1
- package/dist/web/assets/{NewSessionPanel-D_8VPeIK.js → NewSessionPanel-Bkj9sACa.js} +1 -1
- package/dist/web/assets/{NotFoundPage-Dep-OHxE.js → NotFoundPage-yZC3Bf0L.js} +1 -1
- package/dist/web/assets/{NoticeRow-B9ulEnZf.js → NoticeRow-C5Gizy8U.js} +1 -1
- package/dist/web/assets/{OccupationsPage-dVfpNOz2.js → OccupationsPage-CB9WAmfB.js} +1 -1
- package/dist/web/assets/{PageOutline-CIYCs2_7.js → PageOutline-H1YZcpKH.js} +1 -1
- package/dist/web/assets/{PageStack-DcOXhT2V.js → PageStack-OfaGhlB9.js} +1 -1
- package/dist/web/assets/{PersonalProfilePage-BnVd_ETP.css → PersonalProfilePage-B0_Pxi-K.css} +1 -1
- package/dist/web/assets/PersonalProfilePage-DdJHUTpa.js +1 -0
- package/dist/web/assets/PersonalProjectsPage-ZiPK9uq0.js +1 -0
- package/dist/web/assets/{PinIcon-ByCWycOq.js → PinIcon-B0AQYl66.js} +1 -1
- package/dist/web/assets/{PopperContent-DhxdWcVJ.js → PopperContent-CVXepuUC.js} +1 -1
- package/dist/web/assets/{Presence-DvSWiJKc.js → Presence-BN4OmYc9.js} +1 -1
- package/dist/web/assets/{ProfileAuthorChip-Dw2rKa8-.js → ProfileAuthorChip-B_V0NkUt.js} +1 -1
- package/dist/web/assets/{ProjectAgentsPage-BNm8rs0J.js → ProjectAgentsPage-CqS2uLA4.js} +1 -1
- package/dist/web/assets/{ProjectAgentsPage-CjeXFzHr.css → ProjectAgentsPage-CwaCXHng.css} +1 -1
- package/dist/web/assets/{ProjectJudgmentPolicy-Bos0R_6g.js → ProjectJudgmentPolicy-DNrS_fq7.js} +1 -1
- package/dist/web/assets/{RequesterModeSelect-DUOORHOB.js → RequesterModeSelect-BzLkdUFS.js} +1 -1
- package/dist/web/assets/{RoundtablesPage-CWDeG6lr.js → RoundtablesPage-D_L07I16.js} +1 -1
- package/dist/web/assets/{RovingFocusGroup-MoXnukcS.js → RovingFocusGroup-Cf4tQYLt.js} +1 -1
- package/dist/web/assets/{RovingFocusItem-BBsi3zWj.js → RovingFocusItem-Bjr-auXN.js} +1 -1
- package/dist/web/assets/{SessionMigrationPage-DB0m-6ZH.js → SessionMigrationPage-DqT7XkaH.js} +1 -1
- package/dist/web/assets/{SessionRecordsPage-Dcl2FVUt.js → SessionRecordsPage-C7CccMko.js} +1 -1
- package/dist/web/assets/SettingsPage-CGO8HYEC.js +3 -0
- package/dist/web/assets/SettingsPage-CSs4nimS.css +1 -0
- package/dist/web/assets/{SharedJefaReportPage-IC9k9P7P.js → SharedJefaReportPage-DRXjcyvN.js} +1 -1
- package/dist/web/assets/{StatementCalendarPage-QDIi5HQR.js → StatementCalendarPage-BIxdCVmI.js} +1 -1
- package/dist/web/assets/StatementRows-BV77XQXa.js +1 -0
- package/dist/web/assets/{TagVocabularyPage-D7YumwmH.js → TagVocabularyPage-xowg9e-0.js} +1 -1
- package/dist/web/assets/{TaskBlockerClear-JhNNE6oq.js → TaskBlockerClear-HIUn3B56.js} +1 -1
- package/dist/web/assets/{TaskBlockerNotice-CtgDsZjJ.js → TaskBlockerNotice-BXozcJNO.js} +1 -1
- package/dist/web/assets/{TaskReason-C2wsLnQB.js → TaskReason-B9mo7G9G.js} +1 -1
- package/dist/web/assets/{TeamCard-xdsXkn6B.js → TeamCard-BgLDOUrp.js} +1 -1
- package/dist/web/assets/{TeamCardsWidget-D7KfZKFN.js → TeamCardsWidget-oFErdpr-.js} +1 -1
- package/dist/web/assets/{TeamIsland-DTnyPc-t.js → TeamIsland-a91OejBt.js} +1 -1
- package/dist/web/assets/{Teleport-DjMbt1H8.js → Teleport-Bq22sdRp.js} +1 -1
- package/dist/web/assets/{TextField-CRC6Bjh3.js → TextField-Dq9oGwwQ.js} +1 -1
- package/dist/web/assets/TodayPage-AZR8M_JV.css +1 -0
- package/dist/web/assets/TodayPage-Cx01cAUV.js +1 -0
- package/dist/web/assets/TonborgDelegationSwitch-Mj_HqsTA.css +1 -0
- package/dist/web/assets/TonborgDelegationSwitch-efmSdC0U.js +1 -0
- package/dist/web/assets/{UiChip-CjxMavEk.js → UiChip-w3aQDuoO.js} +1 -1
- package/dist/web/assets/UiDialog-BQVnIalT.js +1 -0
- package/dist/web/assets/{UiDisclosure-k0LlM6pl.js → UiDisclosure-B1SRk17k.js} +1 -1
- package/dist/web/assets/{UiIcon-CACHmP5l.js → UiIcon-X7VJyTtW.js} +1 -1
- package/dist/web/assets/{UiSegmented-CQVO8rhc.js → UiSegmented-CvQGiMjw.js} +1 -1
- package/dist/web/assets/{UiWeight-BmXTfcLH.js → UiWeight-BW2FyfZj.js} +1 -1
- package/dist/web/assets/{VirtualDirectoryList-Pr2Qi-dU.js → VirtualDirectoryList-BdZtoa_v.js} +1 -1
- package/dist/web/assets/{VisitRequestDialog-DAI67ioL.js → VisitRequestDialog-cyjkGIM8.js} +1 -1
- package/dist/web/assets/{VisitRequestsPage-Cj0ijsV8.js → VisitRequestsPage-BhmySfdJ.js} +1 -1
- package/dist/web/assets/{VisuallyHidden-BryO9rDo.js → VisuallyHidden-DR95cfoQ.js} +1 -1
- package/dist/web/assets/{VisuallyHiddenInput-DYdmVe47.js → VisuallyHiddenInput-BvoNjX4U.js} +1 -1
- package/dist/web/assets/WidgetSlot-BFozXCzN.js +2 -0
- package/dist/web/assets/{WorkbenchListPage-ClZVT7dm.js → WorkbenchListPage-BDFY0Cs7.js} +1 -1
- package/dist/web/assets/_plugin-vue_export-helper-BB4OD0pm.js +9 -0
- package/dist/web/assets/{agent-apps-CjrZf0-w.js → agent-apps-sjSDmgvg.js} +1 -1
- package/dist/web/assets/agent-occupation-C8sLJTsm.js +1 -0
- package/dist/web/assets/{agent-pins-Cu8AFRyj.js → agent-pins-yVfWNuJl.js} +1 -1
- package/dist/web/assets/{agent-roster-records-krYbDyoX.js → agent-roster-records-Cc0Nn5GV.js} +1 -1
- package/dist/web/assets/{agent-work-summary-DgNhwBDs.js → agent-work-summary-PW6xgNM2.js} +1 -1
- package/dist/web/assets/{attach-closest-edge-E_9u3LTc.js → attach-closest-edge-CcuoJl8K.js} +1 -1
- package/dist/web/assets/{attention-store-DB8sFqYP.js → attention-store-lVVPGRD4.js} +1 -1
- package/dist/web/assets/{badge-CnIj-Vjf.js → badge-SlVRpAT1.js} +1 -1
- package/dist/web/assets/{button-Bq6CtOwd.js → button-DaCf049q.js} +1 -1
- package/dist/web/assets/{card-BtoExyUu.js → card-CU-fMIwI.js} +1 -1
- package/dist/web/assets/{catalog-CKImWBc1.js → catalog-BGcUbTAn.js} +1 -1
- package/dist/web/assets/{checkbox-Ctz3kAzT.js → checkbox-BXJb7XxN.js} +1 -1
- package/dist/web/assets/{client-lWxuJzdQ.js → client-Czx1m2q7.js} +1 -1
- package/dist/web/assets/{client-links-store-Bq7jIrus.js → client-links-store-lPiPZrdj.js} +1 -1
- package/dist/web/assets/{combobox-Cx6qBlBW.js → combobox-BnTpTtCD.js} +1 -1
- package/dist/web/assets/{console-Co0rg13s.js → console-BVTfuCGS.js} +1 -1
- package/dist/web/assets/{conversation-launcher-settings-6oiDh8F5.js → conversation-launcher-settings-BE9N0RNZ.js} +1 -1
- package/dist/web/assets/{copy-mention-B8kd4NhM.js → copy-mention-DefPSDHA.js} +1 -1
- package/dist/web/assets/{dialog-C7ZNMqqv.js → dialog-i73g2wCu.js} +1 -1
- package/dist/web/assets/{dist-BvBBjfpN.js → dist-D4vkYocO.js} +1 -1
- package/dist/web/assets/{dist-BuQhl9nu.js → dist-DaGiq9tT.js} +1 -1
- package/dist/web/assets/{dropdown-menu-DdSRggWj.js → dropdown-menu-Cmjta51i.js} +1 -1
- package/dist/web/assets/{field-DTAH8Lxk.js → field-DNFFjUOg.js} +1 -1
- package/dist/web/assets/{format-bytes-L2iiNO-i.js → format-bytes-iVfP_Uth.js} +1 -1
- package/dist/web/assets/habit-delivery-api-B02Lhs58.js +1 -0
- package/dist/web/assets/{hover-card-BR4RBAKf.js → hover-card-DbjVSrp_.js} +1 -1
- package/dist/web/assets/{identity-JzX2orvv.js → identity-D9O6Buig.js} +1 -1
- package/dist/web/assets/{index-CKt2-FlB.css → index-Cysku2l_.css} +1 -1
- package/dist/web/assets/index-v2PfAWGl.js +24 -0
- package/dist/web/assets/{input-EnYUa2P8.js → input-D-v-Qzn9.js} +1 -1
- package/dist/web/assets/{label-BBBLSYRO.js → label-BElkyClR.js} +1 -1
- package/dist/web/assets/label-table-D4SR42iJ.js +1 -0
- package/dist/web/assets/{model-CfTCkbyX.js → model-AGAChkMn.js} +1 -1
- package/dist/web/assets/{model-D8YvY96y.js → model-BE6jYIay.js} +1 -1
- package/dist/web/assets/{model-BAkHkZVA.js → model-CMcIj6YH.js} +1 -1
- package/dist/web/assets/{model-BzuKf6DT.js → model-CYuzfMlT.js} +1 -1
- package/dist/web/assets/{model-DsBzcYT-.js → model-Cq1mMseJ.js} +1 -1
- package/dist/web/assets/{model--ObjLBUY.js → model-DBLGBYG2.js} +1 -1
- package/dist/web/assets/{model-C2aQw9hO.js → model-DK69qvU8.js} +1 -1
- package/dist/web/assets/{model-QOEG-dyt.js → model-DS-vaSNE.js} +1 -1
- package/dist/web/assets/{model-CmH2cJ8Q.js → model-bve-XDFz.js} +1 -1
- package/dist/web/assets/{model-health-AZIgeuoF.js → model-health-CnYUPVT2.js} +1 -1
- package/dist/web/assets/{motion-DG7gku93.js → motion-D-CCN29z.js} +1 -1
- package/dist/web/assets/{motion-iB_9OWK7.js → motion-D2ROf5sb.js} +1 -1
- package/dist/web/assets/{motion-preference-ByKvDRAP.js → motion-preference-ByJGpZkg.js} +1 -1
- package/dist/web/assets/{occupation-catalog-BSHATipY.js → occupation-catalog-DIcniNgM.js} +1 -1
- package/dist/web/assets/{occupation-kits-C9_iMZiE.js → occupation-kits-BbwJDWeG.js} +1 -1
- package/dist/web/assets/{option-BxnPKnWF.js → option-DfNbcA2F.js} +1 -1
- package/dist/web/assets/{orchestration-filters-BZEDHWMD.js → orchestration-filters-DUQWlZKZ.js} +1 -1
- package/dist/web/assets/{overview-data-BgvJ8XJr.js → overview-data-BUOawtae.js} +1 -1
- package/dist/web/assets/{page-refresh-DGbpJ0K-.js → page-refresh-D-9vjKh3.js} +1 -1
- package/dist/web/assets/{page-title-DMSN_kUH.js → page-title-jJR8RG43.js} +1 -1
- package/dist/web/assets/{person-profile-BqVCNO5v.js → person-profile-DvCj-51r.js} +1 -1
- package/dist/web/assets/{popover-CVrL5Qm8.js → popover-BXPPZqzX.js} +1 -1
- package/dist/web/assets/popup-host-Dib21BfM.js +1 -0
- package/dist/web/assets/{preference-conflicts-D61VWIBA.js → preference-conflicts-B7wzi4wF.js} +1 -1
- package/dist/web/assets/profile-model-BNboCMX6.js +1 -0
- package/dist/web/assets/{project-board-layout-CghqkCsy.js → project-board-layout-BRKAN9I4.js} +1 -1
- package/dist/web/assets/{project-capture-B7381dgl.js → project-capture-D7b-lL9n.js} +1 -1
- package/dist/web/assets/{project-origin-pSz6sKdw.js → project-origin--TOvgLtz.js} +1 -1
- package/dist/web/assets/{quick-edit-api-Cg3RECVu.js → quick-edit-api-BJ7Sc1A9.js} +1 -1
- package/dist/web/assets/{radio-group-DONBO2nI.js → radio-group-Yf8AOhYN.js} +1 -1
- package/dist/web/assets/{review-api-BxAsqJTp.js → review-api-NH2tbymc.js} +1 -1
- package/dist/web/assets/{review-list-SiPjO-AM.js → review-list-mVJ2Fpq7.js} +1 -1
- package/dist/web/assets/{review-store-BMdysfoC.js → review-store-BLlMfs2O.js} +1 -1
- package/dist/web/assets/{role-names-CmWaAZj9.js → role-names-BYQ6Ejew.js} +1 -1
- package/dist/web/assets/{roundtable-live-C9-QTRfe.js → roundtable-live-CR0oX3WO.js} +1 -1
- package/dist/web/assets/{runtime-dom.esm-bundler-BHgO62c_.js → runtime-dom.esm-bundler-KYUj_0oy.js} +1 -1
- package/dist/web/assets/{select-DBAH2q43.js → select-pNF6h6qI.js} +1 -1
- package/dist/web/assets/{session-launch-offers-B-cO34V2.js → session-launch-offers-BTllWzUC.js} +1 -1
- package/dist/web/assets/{settings-autosave-gAp-_C5E.js → settings-autosave-DyOdfJxq.js} +1 -1
- package/dist/web/assets/settings-tabs-CkbYPvea.js +1 -0
- package/dist/web/assets/{shared-report-DNZVm0ej.js → shared-report-DQkPNPXT.js} +3 -3
- package/dist/web/assets/{source-adapters-Cpn6XvAt.js → source-adapters-DWeqGlv1.js} +1 -1
- package/dist/web/assets/{switch-CvARV2vi.js → switch-BvmWnWvB.js} +1 -1
- package/dist/web/assets/{tabs-BgblPz6T.js → tabs-0_-pA86a.js} +1 -1
- package/dist/web/assets/{task-card-fields-S2gpajHG.js → task-card-fields-DwubByG0.js} +1 -1
- package/dist/web/assets/{task-labels-CYiztobh.js → task-labels-CN2HuRqR.js} +1 -1
- package/dist/web/assets/{task-reason-CUZHkfvp.js → task-reason-KI4bNRpp.js} +1 -1
- package/dist/web/assets/{team-sheets-Cb5eJek1.js → team-sheets-fOIhyrB4.js} +1 -1
- package/dist/web/assets/{textarea-D1Tkf6oR.js → textarea-CmNV5bwv.js} +1 -1
- package/dist/web/assets/{ui-BuGrLVDn.js → ui-BeOaiL_A.js} +1 -1
- package/dist/web/assets/{useAgentRecords-yoE1yF8S.js → useAgentRecords-D4Ugm9rW.js} +1 -1
- package/dist/web/assets/{useAgentWorkSummary-j17h_Ka4.js → useAgentWorkSummary-DvUTEZw5.js} +1 -1
- package/dist/web/assets/{useApi-CROJJdhE-D6pry1QV.js → useApi-CROJJdhE-CSF8LJLr.js} +1 -1
- package/dist/web/assets/{useClipboardCopy-CGzzjCDy.js → useClipboardCopy-O9-rbEx_.js} +1 -1
- package/dist/web/assets/{useFocusReturn-Ba_RIwc9.js → useFocusReturn-BE8B69VE.js} +1 -1
- package/dist/web/assets/useFormControl-CzEMn4gU.js +1 -0
- package/dist/web/assets/{useForwardExpose-D2ZwqP--.js → useForwardExpose-BGcyhq2E.js} +1 -1
- package/dist/web/assets/{useForwardPropsEmits-B_TlGceH.js → useForwardPropsEmits-D9U18v-C.js} +1 -1
- package/dist/web/assets/useForwardScopeId-D_7eH0Y1.js +1 -0
- package/dist/web/assets/{useKnowledgeConfirm-BxCF2JhH.js → useKnowledgeConfirm-ClYKOaTx.js} +1 -1
- package/dist/web/assets/{useKnowledgeItemPeek-D6MLIXB8.js → useKnowledgeItemPeek-CubZmvZv.js} +1 -1
- package/dist/web/assets/{useListPages-DYhvR900.js → useListPages-BrDUJlfX.js} +1 -1
- package/dist/web/assets/{useMinimumLoadingDisplay-DvMlC-0C.js → useMinimumLoadingDisplay-8UJsD3Tu.js} +1 -1
- package/dist/web/assets/{useNow-Bb3HaAKz.js → useNow-Vmb6v8i_.js} +1 -1
- package/dist/web/assets/{usePageTools-fNLnKzBV.js → usePageTools-CNhXN947.js} +1 -1
- package/dist/web/assets/usePrimitiveElement-B1twpLbS.js +1 -0
- package/dist/web/assets/{useProjectAgentRoster-CbXX3jbP.js → useProjectAgentRoster-GT6oVfSp.js} +1 -1
- package/dist/web/assets/{useRoutePeek-DLAVFY_C.js → useRoutePeek-DoN7BxDJ.js} +1 -1
- package/dist/web/assets/{useTeamWork-fVzv-gMe.js → useTeamWork-D15ytrFD.js} +1 -1
- package/dist/web/assets/{useTypeahead-Ces9iTDN.js → useTypeahead-HUfOxVR_.js} +1 -1
- package/dist/web/assets/{useVisitAwaiting-CJvXt5LU.js → useVisitAwaiting-CmqtjpIE.js} +1 -1
- package/dist/web/assets/{utils-D-zTPKuT.js → utils-B-zi0mpE.js} +1 -1
- package/dist/web/assets/{utils-DmCHG_y9.js → utils-B6gAPcyi.js} +1 -1
- package/dist/web/assets/{verification-H0MHrum7.js → verification-Cv4Wo6E9.js} +1 -1
- package/dist/web/assets/{version-DljnX5v1.js → version-BSosoSQY.js} +1 -1
- package/dist/web/assets/{vue-router-BzACvo8M.js → vue-router-DvV79UrI.js} +1 -1
- package/dist/web/index.html +78 -78
- package/docs/agent-roundtable.md +6 -1
- package/docs/client-connections.md +34 -13
- package/docs/employee-agents.md +6 -4
- package/docs/judgment-and-autonomy.md +2 -2
- package/graph-provider/fuli_graph/agent_conversation_models.py +2 -0
- package/graph-provider/fuli_graph/app.py +2 -0
- package/graph-provider/fuli_graph/fixed_roles.py +26 -0
- package/graph-provider/fuli_graph/graph_field_contract.py +1 -1
- package/graph-provider/fuli_graph/graph_format_migrations.py +6 -0
- package/graph-provider/fuli_graph/knowledge_statement_items.py +95 -0
- package/graph-provider/fuli_graph/occupation_catalog.py +8 -2
- package/graph-provider/fuli_graph/project_agent_coordination_models.py +6 -2
- package/graph-provider/fuli_graph/project_agent_task_models.py +3 -0
- package/graph-provider/fuli_graph/store_agent_conversations.py +11 -5
- package/graph-provider/fuli_graph/store_project_agent_attention.py +8 -1
- package/graph-provider/fuli_graph/store_project_agent_coordination_policy.py +13 -4
- package/graph-provider/fuli_graph/store_project_agent_dismissal.py +2 -0
- package/graph-provider/fuli_graph/store_project_agent_executors.py +4 -0
- package/graph-provider/fuli_graph/store_project_agent_task_staffing.py +52 -14
- package/graph-provider/fuli_graph/store_project_agent_tasks.py +5 -2
- package/graph-provider/fuli_graph/store_project_agents.py +5 -5
- package/graph-provider/fuli_graph/store_task_contexts.py +23 -1
- package/graph-provider/fuli_graph/system_agents.py +17 -9
- package/graph-provider/fuli_graph/task_context_routes.py +10 -1
- package/graph-provider/pyproject.toml +1 -1
- package/native/win32/fuli-win-helper.exe +0 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/packages/roundtable/src/peer/control-cli.js +2 -1
- package/packages/roundtable/src/peer/peer-runtime.js +212 -67
- package/skills/capturing-session-knowledge/references/coordination.md +11 -4
- package/skills/operating-fuli/SKILL.md +7 -4
- package/skills/operating-fuli/references/workflow-recipes.md +2 -1
- package/src/agent-kits/client-detection.js +20 -12
- package/src/agent-kits/custom-clients.js +24 -7
- package/src/agent-tools/agent-conversation-definitions.js +2 -1
- package/src/agent-tools/interface-catalog.js +6 -4
- package/src/desktop-glance/glance.js +90 -0
- package/src/employees/builtin/jefa/board-store.js +15 -0
- package/src/employees/builtin/jefa/tools.js +29 -2
- package/src/employees/fixed-roles.js +25 -0
- package/src/employees/management-policy.js +3 -2
- package/src/employees/manifest.js +0 -3
- package/src/employees/recruitment.js +10 -6
- package/src/employees/service.js +12 -1
- package/src/graphiti/agent-collaboration.js +1 -1
- package/src/graphiti/agent-conversations.js +1 -0
- package/src/graphiti/assistant-project-candidate.js +2 -1
- package/src/graphiti/conversation-triage.js +6 -3
- package/src/graphiti/fla-picker.js +5 -7
- package/src/graphiti/jefa-board-match.js +2 -1
- package/src/graphiti/project-agent-mapping.js +4 -3
- package/src/graphiti/project-team-view.js +7 -2
- package/src/graphiti/provider-client.js +4 -0
- package/src/graphiti/task-entry-group-discussion.js +1 -1
- package/src/graphiti/task-entry-named-fla.js +2 -2
- package/src/graphiti/task-entry-preferences.js +2 -2
- package/src/graphiti/task-entry-project-scope.js +1 -1
- package/src/graphiti/topic-proposals.js +10 -9
- package/src/graphiti/topic-team-handoff.js +22 -45
- package/src/http/api-router.js +6 -2
- package/src/http/desktop-glance-api-router.js +16 -0
- package/src/http/statement-api-router.js +24 -3
- package/src/judgment/acceptance.js +12 -4
- package/src/judgment/backend.js +5 -0
- package/src/judgment/engine.js +21 -13
- package/src/judgment/question-tools.js +2 -3
- package/src/judgment/review-delegation.js +32 -8
- package/src/judgment/store.js +2 -1
- package/src/knowledge-impressions/store.js +23 -0
- package/src/knowledge-owner-reads/console-port.js +2 -1
- package/src/model-backends/budget.js +6 -1
- package/src/model-backends/failures.js +2 -0
- package/src/model-backends/http.js +12 -6
- package/src/model-backends/port.js +15 -6
- package/src/model-backends/request.js +4 -2
- package/src/model-backends/role-trust.js +33 -12
- package/src/model-backends/usage-ledger.js +15 -5
- package/src/old-data/guarded-stores.js +7 -2
- package/src/presence/windows-helper-pin.js +1 -1
- package/src/semantic/semantic-index.js +5 -4
- package/src/statement/detail-lists.js +33 -0
- package/src/system/client-connection-install.js +19 -9
- package/src/system/client-connection-status.js +1 -1
- package/src/system/custom-client-connection.js +15 -3
- package/src/system/system-service.js +1 -1
- package/src/whats-new/lines/0.27.14.json +15 -0
- package/src/whats-new/lines/0.27.15.json +13 -0
- package/dist/web/assets/EmployeeWorkbench-CqQ1GzZ5.js +0 -4
- package/dist/web/assets/FieldRoot-BjgS2fK-.js +0 -1
- package/dist/web/assets/HabitDeliveryPage-C6XDiEFn.js +0 -1
- package/dist/web/assets/KnowledgePage-Bc8s9asZ.js +0 -1
- package/dist/web/assets/PersonalProfilePage-dU9CmgH9.js +0 -1
- package/dist/web/assets/PersonalProjectsPage-BPSkUIhN.js +0 -1
- package/dist/web/assets/SettingsPage-BYbWO9wW.css +0 -1
- package/dist/web/assets/SettingsPage-CoyQF5YK.js +0 -1
- package/dist/web/assets/StatementRows-CdjZOdM5.js +0 -1
- package/dist/web/assets/TodayPage-CEnhprna.css +0 -1
- package/dist/web/assets/TodayPage-DY-7WZxJ.js +0 -1
- package/dist/web/assets/TonborgDelegationSwitch-BFb1JkWe.css +0 -1
- package/dist/web/assets/TonborgDelegationSwitch-BqOktR_J.js +0 -1
- package/dist/web/assets/UiDialog-D6yOswbW.js +0 -1
- package/dist/web/assets/WidgetSlot-B7yxgCiE.js +0 -2
- package/dist/web/assets/_plugin-vue_export-helper-BeJUwGpT.js +0 -9
- package/dist/web/assets/agent-occupation-C2t2vBpF.js +0 -1
- package/dist/web/assets/index-BV-ANqFp.js +0 -24
- package/dist/web/assets/label-table-fMpO7h0Z.js +0 -1
- package/dist/web/assets/popup-host-CiquKYlb.js +0 -1
- package/dist/web/assets/profile-model-C5a75PQ8.js +0 -1
- package/dist/web/assets/settings-tabs-Dl_s4RZD.js +0 -1
- package/dist/web/assets/useFormControl-Za9FvfCV.js +0 -1
- package/dist/web/assets/useForwardScopeId-CJ9RK88K.js +0 -1
- package/dist/web/assets/usePrimitiveElement-BFgEzNcq.js +0 -1
- package/src/graphiti/assistant-identity.js +0 -2
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
from datetime import datetime
|
|
4
4
|
from typing import Literal
|
|
5
5
|
from pydantic import Field, field_validator, model_validator
|
|
6
|
+
from .fixed_roles import (
|
|
7
|
+
SYSTEM_ASSISTANT_AGENT_ID,
|
|
8
|
+
SYSTEM_COORDINATOR_AGENT_ID,
|
|
9
|
+
SYSTEM_HR_AGENT_ID,
|
|
10
|
+
SYSTEM_JUDGMENT_AGENT_ID,
|
|
11
|
+
)
|
|
6
12
|
from .model_base import StrictModel
|
|
7
13
|
|
|
8
14
|
# The occupation each fixed identity ships with: stored on the Agent when the
|
|
@@ -10,8 +16,8 @@ from .model_base import StrictModel
|
|
|
10
16
|
# (occupation_locked). Bole is AR, so it holds Agent resources (graph/12);
|
|
11
17
|
# Jefa and Tonborg hold what they are called, not 管理 (graph/16).
|
|
12
18
|
BUILTIN_AGENT_OCCUPATIONS = {
|
|
13
|
-
|
|
14
|
-
|
|
19
|
+
SYSTEM_COORDINATOR_AGENT_ID: 'project_manager', SYSTEM_HR_AGENT_ID: 'hr',
|
|
20
|
+
SYSTEM_JUDGMENT_AGENT_ID: 'decision_maker', SYSTEM_ASSISTANT_AGENT_ID: 'assistant',
|
|
15
21
|
}
|
|
16
22
|
|
|
17
23
|
_BUILTINS = [
|
|
@@ -55,7 +55,9 @@ class ProjectAgentCoordinationPolicyRecord(StrictModel):
|
|
|
55
55
|
|
|
56
56
|
personal_space_id: str
|
|
57
57
|
personal_project_id: str
|
|
58
|
-
|
|
58
|
+
# Off unless the person turns it on: Bole hires without a confirmation
|
|
59
|
+
# each (Jevons 11-17).
|
|
60
|
+
ask_before_recruitment: bool = False
|
|
59
61
|
auto_reuse_previous_agent: bool = True
|
|
60
62
|
auto_grow_team: bool = True
|
|
61
63
|
team_lead_agent_id: str | None = None
|
|
@@ -68,7 +70,9 @@ class ProjectAgentCoordinationPolicyRecord(StrictModel):
|
|
|
68
70
|
class ProjectAgentCoordinationPolicyUpdate(StrictModel):
|
|
69
71
|
personal_space_id: str = Field(min_length=1, max_length=128)
|
|
70
72
|
personal_project_id: str = Field(min_length=1, max_length=128)
|
|
71
|
-
|
|
73
|
+
# Off unless the person turns it on: Bole hires without a confirmation
|
|
74
|
+
# each (Jevons 11-17).
|
|
75
|
+
ask_before_recruitment: bool = False
|
|
72
76
|
auto_reuse_previous_agent: bool = True
|
|
73
77
|
auto_grow_team: bool | None = None
|
|
74
78
|
team_lead_agent_id: str | None = Field(default=None, min_length=1, max_length=128)
|
|
@@ -69,6 +69,9 @@ ProjectAgentRoutingReason = Literal[
|
|
|
69
69
|
'no_match',
|
|
70
70
|
'agent_unavailable',
|
|
71
71
|
'explicit_new_agent',
|
|
72
|
+
# A new durable Agent was asked for, and an idle one of that occupation
|
|
73
|
+
# already on the project took the task instead: nobody was hired.
|
|
74
|
+
'idle_same_occupation',
|
|
72
75
|
'explicit_temporary_agent',
|
|
73
76
|
'explicit_unassigned',
|
|
74
77
|
'hr_unavailable',
|
|
@@ -12,7 +12,7 @@ from .conversation_context import (
|
|
|
12
12
|
from .project_agent_access import authorize_project_agent
|
|
13
13
|
from .conversation_scope import conversation_binding_id, conversation_scope_id, started_conversation_id
|
|
14
14
|
from .provider_values import now_utc, stable_uuid
|
|
15
|
-
from .store_conversation_triage import ASSISTANT_AGENT_ID, StoreConversationTriage
|
|
15
|
+
from .store_conversation_triage import ASSISTANT_AGENT_ID, StoreConversationTriage, topic_key
|
|
16
16
|
from .store_transactions import query_store_transaction
|
|
17
17
|
from .store_transcript_recovery import recover_fallback_boundary
|
|
18
18
|
from .knowledge_versions import lock_knowledge
|
|
@@ -77,7 +77,8 @@ class StoreAgentConversations:
|
|
|
77
77
|
if request.mode == 'session':
|
|
78
78
|
return await self._session_binding(scope, request)
|
|
79
79
|
if request.mode == 'list':
|
|
80
|
-
return {'conversations': await self._latest_conversations(
|
|
80
|
+
return {'conversations': await self._latest_conversations(
|
|
81
|
+
scope, policy, request.limit, topic_key(request.topic) if request.topic else None)}
|
|
81
82
|
record = await self._scoped_conversation(scope, request.conversation_id)
|
|
82
83
|
if request.mode == 'context':
|
|
83
84
|
return await self._recovery_context(record, policy, request, after=request.after)
|
|
@@ -135,14 +136,19 @@ class StoreAgentConversations:
|
|
|
135
136
|
id=conversation_binding_id(scope, request.source_application, request.session_id or ''))
|
|
136
137
|
return dict(rows[0]) if rows else {'conversation_id': None, 'cursor': 0, 'initialized': False}
|
|
137
138
|
|
|
138
|
-
async def _latest_conversations(self, scope, policy, limit):
|
|
139
|
+
async def _latest_conversations(self, scope, policy, limit, topic=None):
|
|
139
140
|
# Jefa's triage label travels with each conversation so a list can
|
|
140
|
-
# show what is still unclaimed without a second read per row.
|
|
141
|
+
# show what is still unclaimed without a second read per row. topic
|
|
142
|
+
# (a topic_key): only that topic's conversations still open, so the
|
|
143
|
+
# next conversation about it finds the earlier ones; one formed into a
|
|
144
|
+
# project belongs to that project and is no longer listed here.
|
|
141
145
|
rows, _, _ = await self.runtime.driver.execute_query(
|
|
142
146
|
'MATCH (c:FuliConversation {scope: $scope}) '
|
|
143
147
|
'OPTIONAL MATCH (t:FuliConversationTriage {id: c.id}) '
|
|
148
|
+
'WITH c, t WHERE $topic IS NULL '
|
|
149
|
+
"OR (t.kind = 'topic' AND t.topic_key = $topic AND t.formed_project_id IS NULL) "
|
|
144
150
|
'RETURN c, t ORDER BY c.last_activity DESC, c.id LIMIT $limit',
|
|
145
|
-
scope=scope, limit=limit)
|
|
151
|
+
scope=scope, limit=limit, topic=topic)
|
|
146
152
|
return [{**self._conversation_view(dict(r['c']), policy),
|
|
147
153
|
'triage': StoreConversationTriage._triage_view(dict(r.get('t'))) if r.get('t') else None} for r in rows]
|
|
148
154
|
|
|
@@ -12,6 +12,12 @@ from .project_agent_attention_models import (
|
|
|
12
12
|
)
|
|
13
13
|
from .provider_values import native_datetime, now_utc, stable_uuid
|
|
14
14
|
from .store_project_agent_task_blockers import BLOCKER_ATTENTION_KINDS
|
|
15
|
+
from .system_agents import (
|
|
16
|
+
LEGACY_COORDINATOR_AGENT_ID,
|
|
17
|
+
SYSTEM_COORDINATOR_AGENT_ID,
|
|
18
|
+
SYSTEM_HR_AGENT_ID,
|
|
19
|
+
SYSTEM_JUDGMENT_AGENT_ID,
|
|
20
|
+
)
|
|
15
21
|
from .system_hr_identity import resolve_hr_alias
|
|
16
22
|
|
|
17
23
|
|
|
@@ -26,7 +32,8 @@ class StoreProjectAgentAttention:
|
|
|
26
32
|
self, actor, space, request.personal_project_id, agent_id,
|
|
27
33
|
require_active=True,
|
|
28
34
|
allow_unassigned=agent_id in {
|
|
29
|
-
|
|
35
|
+
SYSTEM_HR_AGENT_ID, SYSTEM_COORDINATOR_AGENT_ID, SYSTEM_JUDGMENT_AGENT_ID,
|
|
36
|
+
LEGACY_COORDINATOR_AGENT_ID,
|
|
30
37
|
},
|
|
31
38
|
)
|
|
32
39
|
if request.task_id:
|
|
@@ -53,7 +53,12 @@ class StoreProjectAgentCoordinationPolicy:
|
|
|
53
53
|
return ProjectAgentCoordinationPolicyRecord(
|
|
54
54
|
personal_space_id=personal_space_id,
|
|
55
55
|
personal_project_id=personal_project_id,
|
|
56
|
-
|
|
56
|
+
# Stored as confirm_before_hiring since graph 21. The earlier
|
|
57
|
+
# ask_before_recruitment property was written with every policy
|
|
58
|
+
# save and on unless the save said otherwise, so it cannot tell a
|
|
59
|
+
# choice from a default and is not read: a project asks only once
|
|
60
|
+
# the person turns asking on.
|
|
61
|
+
ask_before_recruitment=raw.get('confirm_before_hiring', False),
|
|
57
62
|
auto_reuse_previous_agent=raw.get(
|
|
58
63
|
'auto_reuse_previous_agent',
|
|
59
64
|
True,
|
|
@@ -98,6 +103,10 @@ class StoreProjectAgentCoordinationPolicy:
|
|
|
98
103
|
members = (request.team_member_agent_ids if 'team_member_agent_ids' in request.model_fields_set
|
|
99
104
|
else current.team_member_agent_ids)
|
|
100
105
|
auto_grow = current.auto_grow_team if request.auto_grow_team is None else request.auto_grow_team
|
|
106
|
+
# Kept when the save does not state it, like the team: off is the
|
|
107
|
+
# default, so a save that left it out would switch a person's asking off.
|
|
108
|
+
asks = (request.ask_before_recruitment if 'ask_before_recruitment' in request.model_fields_set
|
|
109
|
+
else current.ask_before_recruitment)
|
|
101
110
|
groups = request.sub_teams if 'sub_teams' in request.model_fields_set else current.sub_teams
|
|
102
111
|
threshold = (request.sub_team_suggestion_threshold if 'sub_team_suggestion_threshold' in request.model_fields_set
|
|
103
112
|
else current.sub_team_suggestion_threshold)
|
|
@@ -156,7 +165,7 @@ class StoreProjectAgentCoordinationPolicy:
|
|
|
156
165
|
WHERE ($expected_updated_at IS NULL AND policy.updated_at IS NULL)
|
|
157
166
|
OR (policy.updated_at.epochSeconds = $expected_updated_at.epochSeconds
|
|
158
167
|
AND policy.updated_at.nanosecond = $expected_updated_at.nanosecond)
|
|
159
|
-
SET policy.
|
|
168
|
+
SET policy.confirm_before_hiring = $ask_before_recruitment,
|
|
160
169
|
policy.auto_reuse_previous_agent = $auto_reuse_previous_agent,
|
|
161
170
|
policy.auto_grow_team = $auto_grow_team,
|
|
162
171
|
policy.team_lead_agent_id = $team_lead_agent_id,
|
|
@@ -170,7 +179,7 @@ class StoreProjectAgentCoordinationPolicy:
|
|
|
170
179
|
policy_id=policy_id,
|
|
171
180
|
personal_space_id=request.personal_space_id,
|
|
172
181
|
personal_project_id=request.personal_project_id,
|
|
173
|
-
ask_before_recruitment=
|
|
182
|
+
ask_before_recruitment=asks,
|
|
174
183
|
auto_reuse_previous_agent=request.auto_reuse_previous_agent,
|
|
175
184
|
auto_grow_team=auto_grow,
|
|
176
185
|
team_lead_agent_id=lead,
|
|
@@ -186,7 +195,7 @@ class StoreProjectAgentCoordinationPolicy:
|
|
|
186
195
|
return ProjectAgentCoordinationPolicyRecord(
|
|
187
196
|
personal_space_id=request.personal_space_id,
|
|
188
197
|
personal_project_id=request.personal_project_id,
|
|
189
|
-
ask_before_recruitment=
|
|
198
|
+
ask_before_recruitment=asks,
|
|
190
199
|
auto_reuse_previous_agent=request.auto_reuse_previous_agent,
|
|
191
200
|
auto_grow_team=auto_grow,
|
|
192
201
|
team_lead_agent_id=lead,
|
|
@@ -25,6 +25,7 @@ from .system_agents import (
|
|
|
25
25
|
SYSTEM_ASSISTANT_AGENT_ID,
|
|
26
26
|
SYSTEM_COORDINATOR_AGENT_ID,
|
|
27
27
|
SYSTEM_HR_AGENT_ID,
|
|
28
|
+
SYSTEM_JUDGMENT_AGENT_ID,
|
|
28
29
|
)
|
|
29
30
|
from .system_hr_identity import LEGACY_HR_AGENT_ID
|
|
30
31
|
|
|
@@ -36,6 +37,7 @@ SYSTEM_ROLE_REFUSALS = {
|
|
|
36
37
|
SYSTEM_COORDINATOR_AGENT_ID: 'the project manager cannot be archived',
|
|
37
38
|
LEGACY_COORDINATOR_AGENT_ID: 'the project manager cannot be archived',
|
|
38
39
|
SYSTEM_HR_AGENT_ID: 'the system AR cannot be archived',
|
|
40
|
+
SYSTEM_JUDGMENT_AGENT_ID: 'the decision maker cannot be archived',
|
|
39
41
|
LEGACY_HR_AGENT_ID: 'the system AR cannot be archived',
|
|
40
42
|
}
|
|
41
43
|
|
|
@@ -15,6 +15,7 @@ from typing import Any
|
|
|
15
15
|
|
|
16
16
|
from fastapi import HTTPException
|
|
17
17
|
|
|
18
|
+
from .fixed_roles import SYSTEM_ROLE_AGENT_IDS
|
|
18
19
|
from .personal_project_access import authorize_personal_project
|
|
19
20
|
from .project_agent_executor_models import (
|
|
20
21
|
ProjectAgentExecutorActualReport,
|
|
@@ -1057,6 +1058,7 @@ class StoreProjectAgentExecutors(
|
|
|
1057
1058
|
(agent:FuliProjectAgent)
|
|
1058
1059
|
WHERE agent.test_source = $test_source
|
|
1059
1060
|
AND coalesce(agent.cleanup_eligible, false) = true
|
|
1061
|
+
AND NOT agent.agent_id IN $fixed_roles
|
|
1060
1062
|
WITH space, agent
|
|
1061
1063
|
ORDER BY agent.agent_id
|
|
1062
1064
|
SET agent._task_lifecycle_lock = true
|
|
@@ -1101,6 +1103,8 @@ class StoreProjectAgentExecutors(
|
|
|
1101
1103
|
''',
|
|
1102
1104
|
personal_space_id=personal_space_id,
|
|
1103
1105
|
test_source=test_source,
|
|
1106
|
+
# A fixed role is never a test identity, whatever its profile was given.
|
|
1107
|
+
fixed_roles=list(SYSTEM_ROLE_AGENT_IDS),
|
|
1104
1108
|
updated_at=now_utc(),
|
|
1105
1109
|
)
|
|
1106
1110
|
return int(records[0].get('archived_count', 0)) if records else 0
|
|
@@ -6,21 +6,18 @@ from fastapi import HTTPException
|
|
|
6
6
|
|
|
7
7
|
from .project_agent_access import authorize_project_agent
|
|
8
8
|
from .project_agent_models import ProjectAgentProfile
|
|
9
|
+
from .project_agent_recruitment_occupation import recruitment_occupation
|
|
9
10
|
from .project_agent_task_models import ProjectAgentParallelPlan
|
|
10
|
-
from .
|
|
11
|
+
from .fixed_roles import SYSTEM_HR_AGENT_ID, SYSTEM_ROLE_AGENT_IDS, system_role_capability
|
|
11
12
|
from .system_hr_identity import LEGACY_HR_AGENT_ID
|
|
12
13
|
from .project_agent_hierarchy import reporting_parent, direct_reports
|
|
13
14
|
from .client_coverage import covers_client
|
|
14
15
|
|
|
15
16
|
|
|
16
|
-
IMPLICIT_PEER_AGENT_IDS = frozenset(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
SYSTEM_HR_AGENT_ID.casefold(),
|
|
21
|
-
LEGACY_HR_AGENT_ID.casefold(),
|
|
22
|
-
})
|
|
23
|
-
IMPLICIT_PEER_CAPABILITIES = frozenset({'fuli.employee:jefa', 'fuli.employee:bole', 'fuli.employee:tonborg', 'fuli.employee:assistant'})
|
|
17
|
+
IMPLICIT_PEER_AGENT_IDS = frozenset(
|
|
18
|
+
agent_id.casefold() for agent_id in (*SYSTEM_ROLE_AGENT_IDS, LEGACY_HR_AGENT_ID)
|
|
19
|
+
)
|
|
20
|
+
IMPLICIT_PEER_CAPABILITIES = frozenset(system_role_capability(agent_id) for agent_id in SYSTEM_ROLE_AGENT_IDS)
|
|
24
21
|
IMPLICIT_PEER_AGENT_TYPES = frozenset({'hr'})
|
|
25
22
|
# Routing reasons produced inside a configured project team roster.
|
|
26
23
|
TEAM_ROUTING_REASONS = frozenset({'project_team_lead', 'project_team_member', 'project_team_gap', 'project_sub_team_lead', 'project_sub_team_gap'})
|
|
@@ -69,6 +66,16 @@ class StoreProjectAgentTaskStaffing:
|
|
|
69
66
|
row for row in assignment_rows
|
|
70
67
|
if self._agent_client_allowed(row, request.source_application)
|
|
71
68
|
]
|
|
69
|
+
# A temporary Agent and a project's first lead are always hired, so they need no policy.
|
|
70
|
+
policy = None if request.staffing_intent in {'temporary', 'default_lead'} else (
|
|
71
|
+
await self.get_project_agent_coordination_policy(
|
|
72
|
+
actor, request.personal_space_id, request.personal_project_id))
|
|
73
|
+
if request.staffing_intent == 'new_durable':
|
|
74
|
+
idle = self._idle_same_occupation(rows, request, policy)
|
|
75
|
+
if idle:
|
|
76
|
+
return [idle], rows, 'idle_same_occupation', [
|
|
77
|
+
f"an idle {idle['occupation_role']} Agent is already on this project; reused instead of recruiting",
|
|
78
|
+
]
|
|
72
79
|
if request.staffing_intent in {'new_durable', 'temporary', 'default_lead'}:
|
|
73
80
|
return (
|
|
74
81
|
[],
|
|
@@ -79,11 +86,6 @@ class StoreProjectAgentTaskStaffing:
|
|
|
79
86
|
['project requires an accountable lead' if request.staffing_intent == 'default_lead'
|
|
80
87
|
else 'user explicitly requested recruitment'],
|
|
81
88
|
)
|
|
82
|
-
policy = await self.get_project_agent_coordination_policy(
|
|
83
|
-
actor,
|
|
84
|
-
request.personal_space_id,
|
|
85
|
-
request.personal_project_id,
|
|
86
|
-
)
|
|
87
89
|
if not policy.auto_reuse_previous_agent:
|
|
88
90
|
return [], rows, 'manual_agent_selection', [
|
|
89
91
|
'project policy requires an explicit @Agent selection',
|
|
@@ -294,6 +296,42 @@ class StoreProjectAgentTaskStaffing:
|
|
|
294
296
|
item.casefold() for item in row.get('work_kinds', [])
|
|
295
297
|
}
|
|
296
298
|
|
|
299
|
+
@classmethod
|
|
300
|
+
def _idle_same_occupation(cls, rows, request, policy):
|
|
301
|
+
"""The Agent already on the project who takes a request for a new durable one.
|
|
302
|
+
|
|
303
|
+
Bole hires only when nobody of that occupation is free (Jevons 11-17):
|
|
304
|
+
the same occupation, every required capability, and nothing under way
|
|
305
|
+
in this project (active_task_count: no queued, running or
|
|
306
|
+
awaiting-review task and no live session). Never a fixed role, and
|
|
307
|
+
never the Agent that asked. In a team with sub-teams the Agent must
|
|
308
|
+
report to the coordinator of the request, as every task participant does.
|
|
309
|
+
Nobody is reused when the project wants each Agent picked by name
|
|
310
|
+
(auto_reuse_previous_agent off), or when the request names the Agent it
|
|
311
|
+
wants (a recruitment profile or occupation tags): those still hire.
|
|
312
|
+
"""
|
|
313
|
+
if (not policy.auto_reuse_previous_agent or request.recruitment_profile
|
|
314
|
+
or (request.recruitment_occupation and request.recruitment_occupation.tags)):
|
|
315
|
+
return None
|
|
316
|
+
try:
|
|
317
|
+
occupation = recruitment_occupation(request).role
|
|
318
|
+
except HTTPException:
|
|
319
|
+
# No occupation can be named: the recruitment that follows says so.
|
|
320
|
+
return None
|
|
321
|
+
required = {item.casefold() for item in request.required_capabilities}
|
|
322
|
+
coordinator = request.coordinator_agent_id
|
|
323
|
+
grouped = bool(getattr(policy, 'sub_teams', []))
|
|
324
|
+
for row in rows:
|
|
325
|
+
if (row.get('occupation_role') == occupation
|
|
326
|
+
and not cls._metric_int(row.get('active_task_count'))
|
|
327
|
+
and row['agent_id'] != coordinator
|
|
328
|
+
and not cls._is_implicit_peer(row)
|
|
329
|
+
and required.issubset({item.casefold() for item in row.get('capabilities', [])})
|
|
330
|
+
and not (grouped and coordinator
|
|
331
|
+
and reporting_parent(policy, row['agent_id']) != coordinator)):
|
|
332
|
+
return row
|
|
333
|
+
return None
|
|
334
|
+
|
|
297
335
|
@classmethod
|
|
298
336
|
def _implicit_owner_allowed(cls, row, request):
|
|
299
337
|
"""Keep management peers out of unrelated automatic ownership paths."""
|
|
@@ -237,12 +237,15 @@ class StoreProjectAgentTasks(
|
|
|
237
237
|
self._verify_parallel_plan(request.parallel_plan, projected_participants,
|
|
238
238
|
require_staffed=not staffing_hold)
|
|
239
239
|
|
|
240
|
+
# An idle Agent of the occupation took a request for a new one: no hire.
|
|
241
|
+
recruits_as_asked = (request.staffing_intent in {'new_durable', 'temporary'}
|
|
242
|
+
and reason != 'idle_same_occupation')
|
|
240
243
|
will_open_recruitment = (
|
|
241
244
|
request.staffing_intent != 'unassigned'
|
|
242
245
|
and reason not in HOLD_RECRUITMENT_REASONS
|
|
243
246
|
and (
|
|
244
247
|
bool(parallel_recruitment_slots) or not lead
|
|
245
|
-
or
|
|
248
|
+
or recruits_as_asked
|
|
246
249
|
)
|
|
247
250
|
)
|
|
248
251
|
if will_open_recruitment:
|
|
@@ -349,7 +352,7 @@ class StoreProjectAgentTasks(
|
|
|
349
352
|
routing_outcome = 'blocked'
|
|
350
353
|
task_status = 'blocked'
|
|
351
354
|
reason = 'hr_unavailable'
|
|
352
|
-
elif not lead or
|
|
355
|
+
elif not lead or recruits_as_asked:
|
|
353
356
|
recruitment, recruited = await self._open_recruitment(
|
|
354
357
|
actor,
|
|
355
358
|
space,
|
|
@@ -25,6 +25,7 @@ from .project_agent_names import agent_display_name
|
|
|
25
25
|
from .store_transactions import query_store_transaction
|
|
26
26
|
from .store_project_agent_naming import with_person_name, with_rename_suggestion
|
|
27
27
|
from .store_project_agent_occupation import occupation_from_agent_node
|
|
28
|
+
from .fixed_roles import SYSTEM_ROLE_AGENT_IDS
|
|
28
29
|
from .occupation_catalog import BUILTIN_AGENT_OCCUPATIONS, BUILTIN_OCCUPATION_KEYS
|
|
29
30
|
from .store_occupation_catalog import active_occupation_predicate, occupation_error, require_active_occupations
|
|
30
31
|
from .system_agents import (
|
|
@@ -117,13 +118,12 @@ class StoreProjectAgents:
|
|
|
117
118
|
status_code=422,
|
|
118
119
|
detail='the system AR identity cannot change Agent type',
|
|
119
120
|
)
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
):
|
|
121
|
+
# None of the four can be switched off through its profile: a stored
|
|
122
|
+
# inactive Tonborg answers no judgment until the roles are ensured again.
|
|
123
|
+
if request.agent_id in SYSTEM_ROLE_AGENT_IDS and request.profile.status != 'active':
|
|
124
124
|
raise HTTPException(
|
|
125
125
|
status_code=422,
|
|
126
|
-
detail='the
|
|
126
|
+
detail='the fixed roles must remain active',
|
|
127
127
|
)
|
|
128
128
|
space = await self.authorize(actor, request.personal_space_id, 'maintainer')
|
|
129
129
|
if request.personal_project_id:
|
|
@@ -11,7 +11,7 @@ from neo4j.exceptions import ConstraintError
|
|
|
11
11
|
|
|
12
12
|
from .personal_project_access import authorize_personal_project
|
|
13
13
|
from .project_agent_access import authorize_project_agent
|
|
14
|
-
from .provider_values import now_utc, stable_uuid
|
|
14
|
+
from .provider_values import native_datetime, now_utc, stable_uuid
|
|
15
15
|
from .project_agent_memory_models import ProjectAgentMemoryWrite
|
|
16
16
|
from .store_transactions import query_store_transaction
|
|
17
17
|
from .task_context_adoption import adopt_task_agent
|
|
@@ -230,6 +230,28 @@ class StoreTaskContexts:
|
|
|
230
230
|
}
|
|
231
231
|
return list(sessions.values())[:limit]
|
|
232
232
|
|
|
233
|
+
async def recent_working_agents(self, actor, space_id, since):
|
|
234
|
+
"""Each Agent that began a task since `since`, the latest first: when its
|
|
235
|
+
latest task began and whether one of them is under way (its session's
|
|
236
|
+
current task, not yet closed). The tray menu asks every few seconds, so
|
|
237
|
+
the read starts from the space's task index and looks up a session only
|
|
238
|
+
for the tasks in the window."""
|
|
239
|
+
self._require_personal()
|
|
240
|
+
await self.authorize(actor, space_id, 'reader')
|
|
241
|
+
rows, _, _ = await self.runtime.driver.execute_query(
|
|
242
|
+
'''
|
|
243
|
+
MATCH (task:FuliTaskContext {personal_space_id: $space_id})
|
|
244
|
+
WHERE task.project_agent_id IS NOT NULL AND task.created_at >= $since
|
|
245
|
+
MATCH (session:FuliTaskContextSession)-[:HAS_CONTEXT]->(task)
|
|
246
|
+
RETURN task.project_agent_id AS agent_id, max(task.created_at) AS last_active,
|
|
247
|
+
sum(CASE WHEN task.token = session.current_token
|
|
248
|
+
AND NOT coalesce(task.completed, false) THEN 1 ELSE 0 END) > 0 AS working
|
|
249
|
+
ORDER BY last_active DESC, agent_id
|
|
250
|
+
''', space_id=space_id, since=since, routing_='r',
|
|
251
|
+
)
|
|
252
|
+
return [{'agent_id': row['agent_id'], 'working': row['working'],
|
|
253
|
+
'last_active': native_datetime(row['last_active']).isoformat()} for row in rows]
|
|
254
|
+
|
|
233
255
|
async def get_task_context(self, actor, space_id, token, source_application):
|
|
234
256
|
self._require_personal()
|
|
235
257
|
await self.authorize(actor, space_id, 'reader')
|
|
@@ -7,16 +7,19 @@ original coordinator reference.
|
|
|
7
7
|
|
|
8
8
|
import json
|
|
9
9
|
|
|
10
|
+
from .fixed_roles import (
|
|
11
|
+
SYSTEM_ASSISTANT_AGENT_ID,
|
|
12
|
+
SYSTEM_COORDINATOR_AGENT_ID,
|
|
13
|
+
SYSTEM_HR_AGENT_ID,
|
|
14
|
+
SYSTEM_JUDGMENT_AGENT_ID,
|
|
15
|
+
system_role_capability,
|
|
16
|
+
)
|
|
10
17
|
from .occupation_catalog import BUILTIN_AGENT_OCCUPATIONS
|
|
11
18
|
from .project_agent_models import ProjectAgentProfile
|
|
12
19
|
from .project_agent_employee_numbers import ASSIGN_EMPLOYEE_NUMBERS, EMPLOYEE_NUMBER_LOCK
|
|
13
20
|
from .provider_values import now_utc, stable_uuid
|
|
14
21
|
|
|
15
|
-
SYSTEM_COORDINATOR_AGENT_ID = 'employee.jefa'
|
|
16
22
|
LEGACY_COORDINATOR_AGENT_ID = 'fuli-project-coordinator'
|
|
17
|
-
SYSTEM_HR_AGENT_ID = 'employee.bole'
|
|
18
|
-
SYSTEM_JUDGMENT_AGENT_ID = 'employee.tonborg'
|
|
19
|
-
SYSTEM_ASSISTANT_AGENT_ID = 'employee.assistant'
|
|
20
23
|
# Upgrade only the former built-in copy; custom responsibilities are user data.
|
|
21
24
|
LEGACY_ASSISTANT_NAME = 'Assistant'
|
|
22
25
|
# Earlier built-in Bole copies, upgraded in place; any other text is the user's.
|
|
@@ -25,16 +28,19 @@ LEGACY_HR_RESPONSIBILITIES = (
|
|
|
25
28
|
'AR:维护 Agent 人员分布与工作状态,按需招募并保留招募记录。',
|
|
26
29
|
)
|
|
27
30
|
LEGACY_JUDGMENT_RESPONSIBILITY = '判断官:依照用户偏好审核日常事项、建议客户端和模型,保留判断依据与反馈。'
|
|
31
|
+
# Jefa's built-in copy while it still claimed choosing who does each task: the
|
|
32
|
+
# project's lead and Bole choose the people, Tonborg the client and model.
|
|
33
|
+
LEGACY_COORDINATOR_RESPONSIBILITY = '项目经理:拆解目标、维护看板与进展,并为任务选择合适的 Agent。'
|
|
28
34
|
|
|
29
35
|
|
|
30
36
|
def coordinator_profile() -> ProjectAgentProfile:
|
|
31
37
|
return ProjectAgentProfile(
|
|
32
38
|
name='Jefa',
|
|
33
39
|
occupation_emoji='🧭',
|
|
34
|
-
responsibility='
|
|
40
|
+
responsibility='项目经理:拆解目标、维护看板与进展。',
|
|
35
41
|
agent_type='coordinator',
|
|
36
42
|
work_kinds=['project_management', 'planning', 'review', 'task-coordination'],
|
|
37
|
-
capabilities=['项目规划', '任务拆解', '看板读写', 'Agent 路由',
|
|
43
|
+
capabilities=['项目规划', '任务拆解', '看板读写', 'Agent 路由', system_role_capability(SYSTEM_COORDINATOR_AGENT_ID)],
|
|
38
44
|
initial_preferences=[
|
|
39
45
|
'质量与可验收完成优先于成本和时间。',
|
|
40
46
|
'Agent 认为完成时只移入待确认,最终完成由用户决定。',
|
|
@@ -53,7 +59,7 @@ def hr_profile() -> ProjectAgentProfile:
|
|
|
53
59
|
),
|
|
54
60
|
agent_type='hr',
|
|
55
61
|
work_kinds=['agent-recruitment', 'staffing-review', 'agent-dismissal'],
|
|
56
|
-
capabilities=['Agent 招募', '人员分布', '工作状态', '招募审计', 'Agent 离职',
|
|
62
|
+
capabilities=['Agent 招募', '人员分布', '工作状态', '招募审计', 'Agent 离职', system_role_capability(SYSTEM_HR_AGENT_ID)],
|
|
57
63
|
initial_preferences=[
|
|
58
64
|
'每次招募保留任务、原因、触发来源与时间线。',
|
|
59
65
|
'只展示 Provider 已记录的人员状态,不推测未上报的工作。',
|
|
@@ -70,7 +76,7 @@ def judgment_profile() -> ProjectAgentProfile:
|
|
|
70
76
|
responsibility='决策员:依照用户偏好审核日常事项、建议客户端和模型,保留判断依据与反馈。',
|
|
71
77
|
agent_type='durable',
|
|
72
78
|
work_kinds=['judgment', 'knowledge-review', 'executor-selection'],
|
|
73
|
-
capabilities=['判断审核', '执行器选择', '判断反馈',
|
|
79
|
+
capabilities=['判断审核', '执行器选择', '判断反馈', system_role_capability(SYSTEM_JUDGMENT_AGENT_ID)],
|
|
74
80
|
initial_preferences=[
|
|
75
81
|
'用户明确偏好优先;只把相关范围的历史反馈用于当前判断。',
|
|
76
82
|
'不把模型建议当作已执行,不把 AI 审核冒充用户确认。',
|
|
@@ -86,7 +92,7 @@ def assistant_profile() -> ProjectAgentProfile:
|
|
|
86
92
|
name='Astro', occupation_emoji='💬',
|
|
87
93
|
responsibility='全局助手:接待未归属项目的对话,只用全局偏好,不自动询问项目归属。',
|
|
88
94
|
work_kinds=['conversation'],
|
|
89
|
-
capabilities=['全局对话',
|
|
95
|
+
capabilities=['全局对话', system_role_capability(SYSTEM_ASSISTANT_AGENT_ID)],
|
|
90
96
|
initial_preferences=['项目确认前只保留任务上下文,不写入长期记忆。'],
|
|
91
97
|
)
|
|
92
98
|
|
|
@@ -120,6 +126,8 @@ async def ensure_system_identity(driver, provider_id, space_id, agent_id):
|
|
|
120
126
|
and stored.get('responsibility') in LEGACY_HR_RESPONSIBILITIES)
|
|
121
127
|
or (agent_id == SYSTEM_JUDGMENT_AGENT_ID
|
|
122
128
|
and stored.get('responsibility') == LEGACY_JUDGMENT_RESPONSIBILITY)
|
|
129
|
+
or (agent_id == SYSTEM_COORDINATOR_AGENT_ID
|
|
130
|
+
and stored.get('responsibility') == LEGACY_COORDINATOR_RESPONSIBILITY)
|
|
123
131
|
)
|
|
124
132
|
if upgrade_responsibility:
|
|
125
133
|
stored['responsibility'] = default.responsibility
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
from datetime import datetime
|
|
1
2
|
from typing import Annotated
|
|
2
3
|
|
|
3
|
-
from fastapi import Query
|
|
4
|
+
from fastapi import HTTPException, Query
|
|
4
5
|
|
|
5
6
|
from .models import SourceApplication
|
|
6
7
|
from .task_context_models import TaskContextBegin, TaskContextCheckpoint, TaskCheckpointAmendment, TaskContextAdoptAgent, TaskContextCoordinationTask, TaskPreferenceRead, TurnReceiptClaim, SessionTurnReceiptClaim, SessionHintClaim
|
|
@@ -21,6 +22,14 @@ def register_task_context_routes(application, store, Actor):
|
|
|
21
22
|
actor, personal_space_id, project_agent_id, personal_project_id, limit,
|
|
22
23
|
)
|
|
23
24
|
|
|
25
|
+
@application.get('/v1/task-context-agents/recent')
|
|
26
|
+
async def recent_agents(actor: Actor,
|
|
27
|
+
personal_space_id: Annotated[str, Query(min_length=1, max_length=128)],
|
|
28
|
+
since: datetime):
|
|
29
|
+
if since.tzinfo is None:
|
|
30
|
+
raise HTTPException(status_code=422, detail='since needs a time zone')
|
|
31
|
+
return await store.recent_working_agents(actor, personal_space_id, since)
|
|
32
|
+
|
|
24
33
|
@application.get('/v1/task-context-sessions/current')
|
|
25
34
|
async def current_context(actor: Actor,
|
|
26
35
|
personal_space_id: Annotated[str, Query(min_length=1, max_length=128)],
|
|
Binary file
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fuli-context",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.15",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "fuli-context",
|
|
9
|
-
"version": "0.27.
|
|
9
|
+
"version": "0.27.15",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@agentclientprotocol/sdk": "1.5.0",
|
package/package.json
CHANGED
|
@@ -111,7 +111,8 @@ function printStatus(status, write) {
|
|
|
111
111
|
write(`This device: ${status.device.shortFingerprint}`);
|
|
112
112
|
write(`Coordinator: ${status.coordinator.name} ${status.coordinator.url} (${status.coordinator.shortFingerprint})`);
|
|
113
113
|
const failure = status.coordinator.listenFailure;
|
|
114
|
-
if (failure) write(`Not listening:
|
|
114
|
+
if (failure?.addressAway) write(`Not listening: this computer does not have ${failure.address} now (another network, or a new address). Paired devices cannot reach it; it listens again by itself once it has that same address, and they stay paired.`);
|
|
115
|
+
else if (failure) write(`Not listening: could not open ${failure.address}:${failure.port} (${failure.code}). Paired devices cannot reach this computer; turn the LAN roundtable off and on again.`);
|
|
115
116
|
for (const device of status.devices.filter((entry) => !entry.self)) {
|
|
116
117
|
write(` device ${device.name} ${device.shortFingerprint} ${device.status}${device.online ? ' online' : ''} · shared Agents ${device.sharedAgents} · ${device.nodeId}`);
|
|
117
118
|
}
|