fuli-context 0.23.0-beta.9 → 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-Co0jsR1c.js → AboutPage-Dx07_Z8u.js} +1 -1
- package/dist/web/assets/AboutSectionHeading-BdhpM609.js +1 -0
- package/dist/web/assets/AboutSectionHeading-DjXpIV27.css +1 -0
- 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-CTKH7yFY.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-DNxVHPb0.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-BMnN0lgj.js → AppViewerPage-BR8ttEGa.js} +1 -1
- package/dist/web/assets/{BackToTop-BfdZE6xK.js → BackToTop-5_AQRMZl.js} +1 -1
- package/dist/web/assets/{BoardCardFieldsMenu-xjUzesvU.js → BoardCardFieldsMenu-Bb_Z9a4Q.js} +1 -1
- package/dist/web/assets/{BoardMoveMenu-CCvochC4.js → BoardMoveMenu-B-f8O6cC.js} +1 -1
- package/dist/web/assets/{Breadcrumb-ys780J7e.js → Breadcrumb-DtM5lZy5.js} +1 -1
- package/dist/web/assets/{CaptureChangePage-BY7KKPuU.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-ERDPz6w7.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-C86eI8Q_.js → DialogTitle-BQXOe8EK.js} +1 -1
- package/dist/web/assets/{EmployeeRedirectPage-B5Sh-mOu.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-IQ1HsEu5.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-BMf6Z2MU.js → GrowthLoading-VuVo2vLf.js} +1 -1
- package/dist/web/assets/HowtoPage-CZ3mOdLc.js +1 -0
- package/dist/web/assets/{HowtoPage-BRV2W1Go.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-Bo7gXmnS.js → KnowledgeDeleteButton-BlUnSG3b.js} +1 -1
- package/dist/web/assets/{KnowledgeHardDeleteSection-amJaLmkS.js → KnowledgeHardDeleteSection-CznXBtHY.js} +1 -1
- package/dist/web/assets/KnowledgeItemEditPage-DGRNkAYd.js +1 -0
- package/dist/web/assets/{KnowledgeItemSummaryCard-CjcKr6Xr.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-CbRSAOkW.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-Ca5kjZR7.js → MeAvatar-aY_q8cKs.js} +1 -1
- package/dist/web/assets/{MeLink-CMsMg8E_.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-j5qbgkxY.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-C93sMwwH.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-Dp4Ubaw6.js → PinIcon-BTQsnxRY.js} +1 -1
- package/dist/web/assets/PopperContent-DtMksk76.js +1 -0
- package/dist/web/assets/{Presence-D-jzaDBV.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-DR8Rk_1K.js → ProjectJudgmentPolicy-CyHAu0nm.js} +2 -2
- package/dist/web/assets/{PublicProjectsPage-QwAtKnu1.js → PublicProjectsPage-Ck1QSR0R.js} +1 -1
- package/dist/web/assets/RecentNotices-vJobVOcm.js +1 -0
- package/dist/web/assets/{RoundtablesPage-DLZdviOP.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-HhNodnJn.js → RovingFocusItem-CyyuWXjE.js} +1 -1
- package/dist/web/assets/{SessionMigrationPage-_W2BnsjS.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-BgF2K1hA.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-CZTQVqyh.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-Dg_IoSZh.js → Teleport-Dzdr8umQ.js} +1 -1
- package/dist/web/assets/{TextField-Y8DAIUw6.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-vvwIQTGB.js → UiChip-BEQ067LV.js} +1 -1
- package/dist/web/assets/UiDialog-JjqzOA0z.js +1 -0
- package/dist/web/assets/{UiDisclosure-Bp0vA9km.js → UiDisclosure-L6GEJHSw.js} +1 -1
- package/dist/web/assets/UiIcon-vgD4v8q8.js +1 -0
- package/dist/web/assets/UiIconButton-BzyMc14P.js +1 -0
- package/dist/web/assets/{UiSegmented-DX8WXXVn.js → UiSegmented-CIIm3KoV.js} +1 -1
- package/dist/web/assets/{UiWeight-Ci6wZg1W.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-BLRDANy_.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-CoyKIkO2.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-CRdfc5xN.js → agent-workflows-DgdbJqpg.js} +1 -1
- package/dist/web/assets/{attach-closest-edge-BIyU46Kh.js → attach-closest-edge-DUc_VUVO.js} +1 -1
- package/dist/web/assets/{attention-store-BrThOc88.js → attention-store-Bod20yM3.js} +1 -1
- package/dist/web/assets/{badge-mwWygmG4.js → badge-tMy2Qr94.js} +1 -1
- package/dist/web/assets/{button-byjQ5eLH.js → button-DnKFsImW.js} +1 -1
- package/dist/web/assets/{card-Bo5Wyknz.js → card-Ccu7HCNb.js} +1 -1
- package/dist/web/assets/{catalog-CgoPKxd_.js → catalog-CJUV8OJ6.js} +1 -1
- package/dist/web/assets/checkbox-D1R6kTUB.js +1 -0
- package/dist/web/assets/{client-DmgW-kvA.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-DVd61o9s.js → conversation-launcher-settings-CZAfuu8B.js} +1 -1
- package/dist/web/assets/copy-mention-C0EJhDPy.js +1 -0
- package/dist/web/assets/{dialog-CHAmruFj.js → dialog-Bbq93W68.js} +1 -1
- package/dist/web/assets/{dist-Bz5tCO-_.js → dist-Dd8yFhv6.js} +1 -1
- package/dist/web/assets/{dist-B9snV3GY.js → dist-PpsW5ZE3.js} +1 -1
- package/dist/web/assets/dropdown-menu-1fGUL0V3.js +1 -0
- package/dist/web/assets/{field-ZZb3Sy9Y.js → field-DjVv_wIS.js} +1 -1
- package/dist/web/assets/{format-bytes-DiEwa-ch.js → format-bytes-BKq_E0Hs.js} +1 -1
- package/dist/web/assets/hover-card-BO-929hq.js +1 -0
- package/dist/web/assets/{identity-4i_OR9WP.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-BP9Wn4Yk.js → input-DmwRmYO2.js} +1 -1
- package/dist/web/assets/is-equal-8VOV02sH.js +1 -0
- package/dist/web/assets/{label-xRSp2rqO.js → label-BvwPUTS4.js} +1 -1
- package/dist/web/assets/label-table-CDzYRZpc.js +1 -0
- package/dist/web/assets/{model-DRrCt6Xz.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-6a2cm5q3.js → model-Dfe81jZT.js} +1 -1
- package/dist/web/assets/{model-DiJvQFH-.js → model-DpkZUZUL.js} +1 -1
- package/dist/web/assets/{model-CidDnNzT.js → model-Tmn6HvL-.js} +1 -1
- package/dist/web/assets/{model-P1cRTtx9.js → model-y7OUvtKz.js} +1 -1
- package/dist/web/assets/motion-C1fZrqmI.js +1 -0
- package/dist/web/assets/{motion-eJ8Y9ulR.js → motion-mAmbRj_M.js} +1 -1
- package/dist/web/assets/{motion-preference-CC0XwuGQ.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-CdihAKf9.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-CPUoKkyh.js → page-title-Cm9u_qw1.js} +1 -1
- package/dist/web/assets/person-profile-BH2AzOfw.js +1 -0
- package/dist/web/assets/popover-DW__YCSE.js +1 -0
- 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-BPk55Azx.js → project-board-layout-CTM8kAgq.js} +1 -1
- package/dist/web/assets/{project-capture-zRbPkI54.js → project-capture-B3pNhpFF.js} +1 -1
- package/dist/web/assets/{project-origin-BNl8Mqof.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-BDswxugG.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-CjD1s0uc.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-2SxrTwBr.js → session-launch-offers-CtQeY4Qk.js} +1 -1
- package/dist/web/assets/{settings-restart-fHB-lEm8.js → settings-autosave-C7vW3_SP.js} +1 -1
- package/dist/web/assets/settings-restart-p12HUUve.js +1 -0
- package/dist/web/assets/shared-report-DQBSigHB.js +3 -0
- package/dist/web/assets/{source-adapters-TLaUKVEM.js → source-adapters-DPJzumzC.js} +1 -1
- package/dist/web/assets/{switch-Cq1rT1Ti.js → switch-D7w_0h3m.js} +1 -1
- package/dist/web/assets/tabs-DR8k0PN9.js +1 -0
- package/dist/web/assets/{task-card-fields-BkwTMtq6.js → task-card-fields-X1ZYCm_j.js} +1 -1
- package/dist/web/assets/{task-labels-CVomryt6.js → task-labels-LuXoQhF9.js} +1 -1
- package/dist/web/assets/{task-reason-BenU3Ly4.js → task-reason-ChpbGtyx.js} +1 -1
- package/dist/web/assets/{team-sheets-BIFVatFG.js → team-sheets-DYCQqa8I.js} +1 -1
- package/dist/web/assets/{textarea-CEokSlpT.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-B0ODDGeO.js → useAgentRecords-Hy9nqMs7.js} +1 -1
- package/dist/web/assets/useAgentWorkSummary-mloD4p12.js +1 -0
- package/dist/web/assets/{useApi-CROJJdhE-CbQwoO_u.js → useApi-CROJJdhE-DnUGUb8O.js} +1 -1
- package/dist/web/assets/{useClipboardCopy-Dd9bf8dt.js → useClipboardCopy-BTuQMeWI.js} +1 -1
- package/dist/web/assets/{useFocusReturn-DFHFciMS.js → useFocusReturn-4hUmSzj9.js} +1 -1
- package/dist/web/assets/{useForwardExpose-D3bCxDJx.js → useForwardExpose-BDmW7q7u.js} +1 -1
- package/dist/web/assets/{useForwardPropsEmits-CshHUE63.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-Br2MBA-0.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-BLHF34Hj.js → useProjectAgentRoster-BBmRvcgr.js} +1 -1
- package/dist/web/assets/{useRoutePeek-KvY9hOQI.js → useRoutePeek-CRbCDqsm.js} +1 -1
- package/dist/web/assets/useTeamPeople-D_5cxxf1.js +1 -0
- package/dist/web/assets/{useTeamWork-wKGBRcNv.js → useTeamWork-CXEQwF4n.js} +1 -1
- package/dist/web/assets/{useTypeahead-C50w2tTI.js → useTypeahead-CVYuxPOD.js} +1 -1
- package/dist/web/assets/{utils-CArDYAhe.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-1lwoVj6f.js +1 -0
- package/dist/web/assets/{vue-router-BzQKabzW.js → vue-router-D4_ms6om.js} +1 -1
- package/dist/web/assets/website-YgovUEcN.js +1 -0
- package/dist/web/assets/workbench-card-Dt0820yW.css +1 -0
- package/dist/web/index.html +90 -73
- 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 +88 -10
- package/docs/client-links.md +16 -1
- package/docs/employee-agents.md +2 -2
- package/docs/judgment-and-autonomy.md +4 -2
- package/docs/public-personal-architecture.md +1 -1
- package/graph-provider/fuli_graph/app.py +6 -0
- package/graph-provider/fuli_graph/graph_field_contract.py +16 -5
- package/graph-provider/fuli_graph/graph_format_migrations.py +16 -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_index_scan.py +120 -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_retrieval_models.py +95 -0
- package/graph-provider/fuli_graph/knowledge_retrieval_terms.py +116 -0
- 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 +191 -62
- package/graph-provider/fuli_graph/knowledge_semantic.py +87 -0
- package/graph-provider/fuli_graph/knowledge_semantic_index.py +98 -0
- package/graph-provider/fuli_graph/knowledge_semantic_models.py +72 -0
- package/graph-provider/fuli_graph/knowledge_semantic_query.py +19 -0
- package/graph-provider/fuli_graph/knowledge_versions.py +12 -1
- package/graph-provider/fuli_graph/models.py +13 -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/task_context_routes.py +1 -1
- 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 +24 -7
- 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 +25 -6
- package/skills/flreview/SKILL.md +1 -1
- package/skills/operating-fuli/SKILL.md +42 -11
- 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-detection.js +7 -0
- package/src/agent-kits/client-installer.js +20 -3
- 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 +38 -7
- 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/transcript-format-probe.js +31 -0
- 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 +9 -8
- package/src/agents/codex/transcript-format-probe.js +29 -0
- 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/transcript-format-registry.js +34 -0
- package/src/agents/transcript-format-scan.js +71 -0
- 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-lifecycle.js +2 -1
- package/src/conversations/preference-session.js +17 -14
- package/src/conversations/reply-citations.js +21 -0
- package/src/conversations/stop-auto-close.js +42 -9
- 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 +312 -0
- package/src/dreaming/scheduler.js +58 -0
- 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/current-project-knowledge-search.js +24 -1
- package/src/graphiti/execution-mode.js +1 -1
- package/src/graphiti/federated-application.js +16 -8
- package/src/graphiti/federated-search.js +8 -1
- 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 +60 -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 +16 -3
- package/src/graphiti/task-entry-project-scope.js +4 -4
- package/src/graphiti/task-entry-read-only.js +28 -0
- 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 +157 -28
- 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 +27 -1
- 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 +35 -0
- package/src/http/graph-api-router.js +17 -0
- package/src/http/knowledge-item-api-router.js +7 -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/retrieval-terms-api-router.js +37 -0
- package/src/http/retrospectives-api-router.js +18 -0
- package/src/http/semantic-api-router.js +26 -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 +88 -21
- package/src/local-runtime/processes.js +15 -2
- package/src/local-runtime/unresponsive-console.js +77 -0
- package/src/local-runtime/windows-process-handle.js +9 -3
- package/src/mcp/create-mcp-server.js +4 -0
- package/src/mcp/fla-menu-prompts.js +60 -0
- package/src/mcp/process-registry.js +45 -3
- package/src/mcp/runtime.js +13 -4
- package/src/mcp/session-id.js +3 -2
- package/src/mcp/stdio-relay.js +4 -1
- 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 +3 -3
- package/src/model-backends/adapters/exchange.js +2 -2
- package/src/model-backends/adapters/ollama-local-build.js +1 -1
- package/src/model-backends/adapters/openai-chat.js +3 -3
- package/src/model-backends/adapters/openai-embeddings.js +60 -0
- package/src/model-backends/adapters/registry.js +3 -1
- package/src/model-backends/adapters/typesafe-systemone.js +1 -1
- package/src/model-backends/budget.js +23 -8
- package/src/model-backends/config.js +50 -16
- package/src/model-backends/decision-contract.js +2 -1
- package/src/model-backends/endpoint-models.js +80 -0
- package/src/model-backends/http.js +22 -2
- package/src/model-backends/keys-http.js +5 -4
- package/src/model-backends/model-fetch.js +37 -0
- package/src/model-backends/models-http.js +54 -0
- package/src/model-backends/port.js +194 -69
- package/src/model-backends/prompt.js +15 -4
- package/src/model-backends/request.js +42 -3
- 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 +102 -0
- package/src/retrieval-terms/runner.js +50 -0
- package/src/retrieval-terms/terms-model.js +99 -0
- package/src/retrospectives/run.js +113 -0
- package/src/retrospectives/runs.js +18 -0
- package/src/retrospectives/scheduler.js +58 -0
- package/src/semantic/scheduler.js +50 -0
- package/src/semantic/semantic-index.js +94 -0
- package/src/server/application-lifecycle.js +1 -1
- package/src/server/signal-shutdown.js +31 -0
- package/src/server.js +41 -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 +8 -4
- package/src/system/doctor.js +80 -4
- package/src/system/graph-migration.js +1 -1
- package/src/system/mcp-process-scan.js +55 -0
- 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 +64 -7
- 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/AboutSectionHeading-CiD3M3eG.css +0 -1
- package/dist/web/assets/AboutSectionHeading-w5P9g9WB.js +0 -1
- package/dist/web/assets/AgentAppsPage-DY_TV5EE.js +0 -1
- package/dist/web/assets/AgentManagement-CeF4mjtg.css +0 -1
- package/dist/web/assets/AgentManagement-VWpTW_38.js +0 -7
- package/dist/web/assets/AgentMentionCopy-CNKrzZvE.css +0 -1
- package/dist/web/assets/AgentMentionCopy-DI23ym95.js +0 -1
- package/dist/web/assets/AgentProfilePage-DrqWGjqt.js +0 -5
- package/dist/web/assets/AgentServicesPage-ARIWfmuh.css +0 -1
- package/dist/web/assets/AgentServicesPage-DEz1dnct.js +0 -1
- package/dist/web/assets/ConnectionsPage-Cj-T0BH2.js +0 -1
- package/dist/web/assets/ConnectionsPage-Cwt-knQQ.css +0 -1
- package/dist/web/assets/DataFormatPage-0Ne27K6I.css +0 -1
- package/dist/web/assets/DataFormatPage-D39VmkWL.js +0 -2
- package/dist/web/assets/DebugTurnPage-C6xOOTYf.js +0 -1
- package/dist/web/assets/DebugTurnsPage-uclemAXU.js +0 -1
- package/dist/web/assets/EmployeeScopeDialog-DbEgouOr.js +0 -1
- package/dist/web/assets/EmployeeScopeDialog-Do5PHQh7.css +0 -1
- package/dist/web/assets/EmployeeWorkbench-Cd0Yrv4Z.js +0 -4
- package/dist/web/assets/FieldRoot-BZby7Lhw.js +0 -1
- package/dist/web/assets/FlaGrowth-BS5MVg54.js +0 -1
- package/dist/web/assets/FlaGrowth-BzXY8pcx.css +0 -1
- package/dist/web/assets/FlasPage-DsAcdiFS.js +0 -1
- package/dist/web/assets/FlasPage-SLQDMv47.css +0 -1
- package/dist/web/assets/HowtoPage-CKJAtKbM.js +0 -1
- package/dist/web/assets/InboxPage-Bkx6nIhb.css +0 -1
- package/dist/web/assets/InboxPage-DPV8n8FW.js +0 -4
- package/dist/web/assets/KnowledgeItemEditPage-n0jtTdHB.js +0 -1
- package/dist/web/assets/KnowledgeOrganizerPage-CNm2jvJZ.css +0 -1
- package/dist/web/assets/KnowledgeOrganizerPage-CzXXBL9z.js +0 -1
- package/dist/web/assets/KnowledgePage-CZ9oDt3D.js +0 -1
- package/dist/web/assets/KnowledgePeek-J6gHDda8.js +0 -1
- package/dist/web/assets/KnowledgeWorkspace-6C9dPHLk.js +0 -4
- package/dist/web/assets/MenuSeparator-BlL75cLC.js +0 -1
- package/dist/web/assets/ModelSettingsPage-BwUnvtP6.js +0 -1
- package/dist/web/assets/ModelSettingsPage-ConWy_ec.css +0 -1
- package/dist/web/assets/OccupationsPage-DLIkdMDv.js +0 -1
- package/dist/web/assets/OccupationsPage-Di7B-bPl.css +0 -1
- package/dist/web/assets/OverviewPage-BeExbgPK.js +0 -1
- package/dist/web/assets/OverviewPage-xdF5g6bZ.css +0 -1
- package/dist/web/assets/PageOutline-BqVgnlos.css +0 -1
- package/dist/web/assets/PageOutline-Dtu7R8Wo.js +0 -1
- package/dist/web/assets/PersonalProfilePage-CIeXNXqv.js +0 -1
- package/dist/web/assets/PersonalProjectsPage-DM70jshg.js +0 -1
- package/dist/web/assets/PopperContent-D6WQ0NV4.js +0 -1
- package/dist/web/assets/ProfileAuthorChip-C_0hzDoP.css +0 -1
- package/dist/web/assets/ProfileAuthorChip-CpLzynWF.js +0 -1
- package/dist/web/assets/ProjectAgentsPage-v-Wtq-2-.js +0 -5
- package/dist/web/assets/RovingFocusGroup-CmwaBpdi.js +0 -1
- package/dist/web/assets/SessionRecordsPage-CedaErNM.js +0 -1
- package/dist/web/assets/SettingsPage-D85vqpZb.css +0 -1
- package/dist/web/assets/SettingsPage-aRxdnfBu.js +0 -1
- package/dist/web/assets/SharedJefaReportPage-BkmmPYH1.js +0 -1
- package/dist/web/assets/TagVocabularyPage-Bcd5fvzW.js +0 -1
- package/dist/web/assets/TaskBlockerClear-Bln3zxga.js +0 -1
- package/dist/web/assets/TaskBlockerClear-CjSNfpyP.css +0 -1
- package/dist/web/assets/TaskBlockerNotice-Db1uAtT2.js +0 -1
- package/dist/web/assets/TeamCard-B4J2jkm5.js +0 -1
- package/dist/web/assets/TeamCard-CsmWDw2Q.css +0 -1
- package/dist/web/assets/TeamIsland-DXIQQ3bx.js +0 -9
- package/dist/web/assets/UiDialog-Cbb3AvXb.js +0 -1
- package/dist/web/assets/UiIcon-o5x6Sf-c.js +0 -1
- package/dist/web/assets/UiIconButton-EZ8ktpFH.js +0 -1
- package/dist/web/assets/UiNotice-DYZn5s6m.js +0 -1
- package/dist/web/assets/VirtualDirectoryList-1vLi41SD.css +0 -1
- package/dist/web/assets/VirtualDirectoryList-XB8MT97E.js +0 -1
- package/dist/web/assets/VisuallyHiddenInput-D-GgOU3T.js +0 -1
- package/dist/web/assets/WidgetSlot-URHq8Let.js +0 -2
- package/dist/web/assets/_plugin-vue_export-helper-PxAQThRD.js +0 -9
- package/dist/web/assets/agent-apps-CQf2Eba8.js +0 -1
- package/dist/web/assets/agent-avatar-lPJyVS9O.js +0 -1
- package/dist/web/assets/agent-occupation-DM6nIHrD.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-BB8_0W6A.js +0 -1
- package/dist/web/assets/client-connection-model-CrDtN1yF.js +0 -1
- package/dist/web/assets/client-links-store-B7VjTEfO.js +0 -1
- package/dist/web/assets/combobox-BOXLFvvr.js +0 -1
- package/dist/web/assets/console-BB2sTsSs.js +0 -1
- package/dist/web/assets/context-menu-DW29av0t.js +0 -1
- package/dist/web/assets/dropdown-menu-C0AuLdFm.js +0 -1
- package/dist/web/assets/fla-mention-D_Qb7VeY.js +0 -1
- package/dist/web/assets/index-CSV9nk7P.js +0 -2
- package/dist/web/assets/index-DFt6UfTv.css +0 -1
- package/dist/web/assets/label-table-BUAeArKh.js +0 -1
- package/dist/web/assets/model-4BHOc7rR.js +0 -1
- package/dist/web/assets/model-CxmTkWuw.js +0 -1
- package/dist/web/assets/motion-TN6JdrrU.js +0 -1
- package/dist/web/assets/occupation-catalog-C3Hj8p4a.js +0 -1
- package/dist/web/assets/person-profile-Cmkd1uXt.js +0 -1
- package/dist/web/assets/popover-DyX7FE_t.js +0 -1
- package/dist/web/assets/profile-model-CmC9A3we.js +0 -1
- package/dist/web/assets/quick-edit-api-D6Xgntqh.js +0 -1
- package/dist/web/assets/radio-group-AkUGYCQ8.js +0 -1
- package/dist/web/assets/roundtable-live-C1wc_F30.js +0 -1
- package/dist/web/assets/save-file-rPduHi2f.js +0 -1
- package/dist/web/assets/select-CuhUd9VL.js +0 -1
- package/dist/web/assets/shared-report-BKhY4rtE.js +0 -3
- package/dist/web/assets/tabs-B8ccOT5z.js +0 -1
- package/dist/web/assets/ui-CoUaCzmO.css +0 -1
- package/dist/web/assets/ui-Pf0_u3Mo.js +0 -1
- package/dist/web/assets/useAgentWorkSummary-CNoUxwOW.js +0 -1
- package/dist/web/assets/useForwardScopeId-Bzm9IM9h.js +0 -1
- package/dist/web/assets/useKnowledgeItemPeek-24H5cZzL.js +0 -1
- package/dist/web/assets/useTeamPeople-IATXewrX.js +0 -1
- package/dist/web/assets/utils-_mWlJRpS.js +0 -1
- package/dist/web/assets/version-Cw272WBv.js +0 -1
- package/src/workspace-protocol/array-validation.js +0 -19
- package/src/workspace-protocol/base64url-contract.js +0 -27
- package/src/workspace-protocol/constants.js +0 -37
- package/src/workspace-protocol/error-contract.js +0 -24
- package/src/workspace-protocol/fact-contract.js +0 -110
- package/src/workspace-protocol/governance-contract.js +0 -47
- package/src/workspace-protocol/index.js +0 -53
- package/src/workspace-protocol/json-budget.js +0 -19
- package/src/workspace-protocol/manifest-contract.js +0 -186
- package/src/workspace-protocol/publication-contract.js +0 -212
- package/src/workspace-protocol/query-contract.js +0 -149
- package/src/workspace-protocol/scalar-contract.js +0 -192
- package/src/workspace-protocol/sync-contract.js +0 -184
- package/src/workspace-protocol/text-contract.js +0 -39
- package/src/workspace-protocol/validation.js +0 -66
- /package/dist/web/assets/{UiNotice-ZCBdABdM.css → UiIconButton-ZCBdABdM.css} +0 -0
- /package/dist/web/assets/{settings-restart-BU_GGtbG.css → settings-autosave-BU_GGtbG.css} +0 -0
|
@@ -0,0 +1,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
|
|
@@ -16,7 +16,7 @@ def register_task_context_routes(application, store, Actor):
|
|
|
16
16
|
personal_space_id: Annotated[str, Query(min_length=1, max_length=128)],
|
|
17
17
|
project_agent_id: Annotated[str, Query(min_length=1, max_length=128)],
|
|
18
18
|
personal_project_id: Annotated[str | None, Query(min_length=1, max_length=128)] = None,
|
|
19
|
-
limit: Annotated[int, Query(ge=1, le=
|
|
19
|
+
limit: Annotated[int, Query(ge=1, le=200)] = 5):
|
|
20
20
|
return await store.recent_agent_sessions(
|
|
21
21
|
actor, personal_space_id, project_agent_id, personal_project_id, limit,
|
|
22
22
|
)
|
|
@@ -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
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fuli-context",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "fuli-context",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.25.0",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@a2a-js/sdk": "1.3.0",
|
|
13
12
|
"@agentclientprotocol/sdk": "1.5.0",
|
|
14
13
|
"@hono/node-server": "2.1.5",
|
|
15
14
|
"@internationalized/date": "3.12.4",
|
|
@@ -47,6 +46,7 @@
|
|
|
47
46
|
"motion-v": "2.8.0",
|
|
48
47
|
"npm-run-all2": "^9.0.2",
|
|
49
48
|
"pinia": "^4.0.2",
|
|
49
|
+
"playwright-core": "1.64.1",
|
|
50
50
|
"reka-ui": "2.11.0",
|
|
51
51
|
"tailwind-merge": "3.7.0",
|
|
52
52
|
"tailwindcss": "4.3.3",
|
|
@@ -62,53 +62,6 @@
|
|
|
62
62
|
"node": ">=24.12"
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
|
-
"node_modules/@a2a-js/sdk": {
|
|
66
|
-
"version": "1.3.0",
|
|
67
|
-
"resolved": "https://registry.npmjs.org/@a2a-js/sdk/-/sdk-1.3.0.tgz",
|
|
68
|
-
"integrity": "sha512-OpK4nygUnLKlpTFZlM2IrYu7f3c/B7c4u4Z14+vgMq24lEINTVCxH/BqZx+GL92rNf7CoBL5oTP5UhNsl75yyg==",
|
|
69
|
-
"license": "Apache-2.0",
|
|
70
|
-
"dependencies": {
|
|
71
|
-
"jose": "^6.2.3"
|
|
72
|
-
},
|
|
73
|
-
"bin": {
|
|
74
|
-
"a2a-db": "dist/cli/a2a_db.js"
|
|
75
|
-
},
|
|
76
|
-
"engines": {
|
|
77
|
-
"node": ">=20"
|
|
78
|
-
},
|
|
79
|
-
"peerDependencies": {
|
|
80
|
-
"@bufbuild/protobuf": "^2.10.2",
|
|
81
|
-
"@grpc/grpc-js": "^1.11.0",
|
|
82
|
-
"better-sqlite3": "^12.0.0 || ^13.0.0",
|
|
83
|
-
"express": "^4.21.2 || ^5.1.0",
|
|
84
|
-
"kysely": "^0.28.17 || ^0.29.0",
|
|
85
|
-
"mysql2": "^3.0.0",
|
|
86
|
-
"pg": "^8.0.0"
|
|
87
|
-
},
|
|
88
|
-
"peerDependenciesMeta": {
|
|
89
|
-
"@bufbuild/protobuf": {
|
|
90
|
-
"optional": true
|
|
91
|
-
},
|
|
92
|
-
"@grpc/grpc-js": {
|
|
93
|
-
"optional": true
|
|
94
|
-
},
|
|
95
|
-
"better-sqlite3": {
|
|
96
|
-
"optional": true
|
|
97
|
-
},
|
|
98
|
-
"express": {
|
|
99
|
-
"optional": true
|
|
100
|
-
},
|
|
101
|
-
"kysely": {
|
|
102
|
-
"optional": true
|
|
103
|
-
},
|
|
104
|
-
"mysql2": {
|
|
105
|
-
"optional": true
|
|
106
|
-
},
|
|
107
|
-
"pg": {
|
|
108
|
-
"optional": true
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
65
|
"node_modules/@agentclientprotocol/sdk": {
|
|
113
66
|
"version": "1.5.0",
|
|
114
67
|
"resolved": "https://registry.npmjs.org/@agentclientprotocol/sdk/-/sdk-1.5.0.tgz",
|
|
@@ -5557,6 +5510,19 @@
|
|
|
5557
5510
|
"pathe": "^2.0.3"
|
|
5558
5511
|
}
|
|
5559
5512
|
},
|
|
5513
|
+
"node_modules/playwright-core": {
|
|
5514
|
+
"version": "1.64.1",
|
|
5515
|
+
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.64.1.tgz",
|
|
5516
|
+
"integrity": "sha512-BC4s8y6SEVA6Q1rSxZTto8hI1KUI3xXlHGZgvGqP4IqPdI/a6FX9H29IDNz7vKo9l21b6LfYosScPL6M3xxyDQ==",
|
|
5517
|
+
"dev": true,
|
|
5518
|
+
"license": "Apache-2.0",
|
|
5519
|
+
"bin": {
|
|
5520
|
+
"playwright-core": "cli.js"
|
|
5521
|
+
},
|
|
5522
|
+
"engines": {
|
|
5523
|
+
"node": ">=20"
|
|
5524
|
+
}
|
|
5525
|
+
},
|
|
5560
5526
|
"node_modules/postcss": {
|
|
5561
5527
|
"version": "8.5.31",
|
|
5562
5528
|
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.31.tgz",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fuli-context",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"description": "Local-first collaboration relationship graph for AI agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -87,7 +87,6 @@
|
|
|
87
87
|
},
|
|
88
88
|
"license": "Apache-2.0",
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@a2a-js/sdk": "1.3.0",
|
|
91
90
|
"@agentclientprotocol/sdk": "1.5.0",
|
|
92
91
|
"@hono/node-server": "2.1.5",
|
|
93
92
|
"@internationalized/date": "3.12.4",
|
|
@@ -121,6 +120,7 @@
|
|
|
121
120
|
"motion-v": "2.8.0",
|
|
122
121
|
"npm-run-all2": "^9.0.2",
|
|
123
122
|
"pinia": "^4.0.2",
|
|
123
|
+
"playwright-core": "1.64.1",
|
|
124
124
|
"reka-ui": "2.11.0",
|
|
125
125
|
"tailwind-merge": "3.7.0",
|
|
126
126
|
"tailwindcss": "4.3.3",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openFormattedDatabase, sqliteFormat } from '../storage/database-format.js';
|
|
1
|
+
import { immediateTransaction, openFormattedDatabase, sqliteFormat } from '../storage/database-format.js';
|
|
2
2
|
|
|
3
3
|
export const NODE_FORMAT = sqliteFormat({
|
|
4
4
|
store: 'peer-node',
|
|
@@ -37,11 +37,7 @@ export const NODE_FORMAT = sqliteFormat({
|
|
|
37
37
|
export function createNodeStore(path = ':memory:') {
|
|
38
38
|
const database = openFormattedDatabase(path, NODE_FORMAT);
|
|
39
39
|
const now = () => new Date().toISOString();
|
|
40
|
-
const transaction = (work) =>
|
|
41
|
-
database.exec('BEGIN IMMEDIATE');
|
|
42
|
-
try { const result = work(); database.exec('COMMIT'); return result; }
|
|
43
|
-
catch (error) { database.exec('ROLLBACK'); throw error; }
|
|
44
|
-
};
|
|
40
|
+
const transaction = (work) => immediateTransaction(database, work);
|
|
45
41
|
const shareKey = (share) => [share.spaceId, share.projectId, share.agentId].join('\u0000');
|
|
46
42
|
const shareView = (row) => row && ({ bindingId: row.binding_id, spaceId: row.space_id, projectId: row.project_id, agentId: row.agent_id,
|
|
47
43
|
clients: JSON.parse(row.clients_json), workingDirectory: row.working_directory ?? null, createdAt: row.created_at, revokedAt: row.revoked_at,
|
|
@@ -43,7 +43,8 @@ export function createChatService({ store, transaction, scope, transport, direct
|
|
|
43
43
|
}
|
|
44
44
|
if (actor.owner && !['list', 'read'].includes(request.action)) error('chat_owner_read_only', 'The owner view is read only');
|
|
45
45
|
const known = ['create', 'members'].includes(request.action) ? await directory() : [];
|
|
46
|
-
const resolve = address => known.find(m => m.address === address) ?? error('chat_member_unavailable',
|
|
46
|
+
const resolve = address => known.find(m => m.address === address) ?? error('chat_member_unavailable',
|
|
47
|
+
`No active Agent at ${address}. Members are local:<agentId> on this computer (find_agents lists agentId) or a peer: address from a paired device; a paused or dismissed Agent cannot join.`, 404);
|
|
47
48
|
let delivered;
|
|
48
49
|
const result = transaction(() => {
|
|
49
50
|
const at = new Date(clock()).toISOString();
|
|
@@ -71,7 +71,7 @@ export function createAgentChat({ host, peer = null, store, agents, idFactory, m
|
|
|
71
71
|
await authorize();
|
|
72
72
|
return result;
|
|
73
73
|
}
|
|
74
|
-
const result = await local({ address: `local:${sender.agentId}` }, request, { ...options, authorize,
|
|
74
|
+
const result = await local({ address: `local:${sender.agentId}` }, localAddresses(request), { ...options, authorize,
|
|
75
75
|
inbox: attentionInbox.forWait(sender.agentId, task.personalProjectId),
|
|
76
76
|
onMessage: delivery => wakes.dispatch({ ...delivery, targets: delivery.targets.filter(address =>
|
|
77
77
|
currentAgents.some(agent => address === `local:${agent.agentId}` && canWake(agent))) }, { taskContextToken, sourceApplication, authorize }) })
|
|
@@ -105,3 +105,13 @@ export function createAgentChat({ host, peer = null, store, agents, idFactory, m
|
|
|
105
105
|
}
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
|
+
|
|
109
|
+
// On this computer an Agent is addressed local:<agentId>; a bare Agent ID (as
|
|
110
|
+
// find_agents and message_agent take it) means the same member (rec#97).
|
|
111
|
+
function localAddresses(request) {
|
|
112
|
+
const local = value => typeof value === 'string' && !/^(local|peer):/.test(value) ? `local:${value.trim()}` : value;
|
|
113
|
+
const list = value => Array.isArray(value) ? value.map(local) : value;
|
|
114
|
+
return { ...request, ...('members' in request ? { members: list(request.members) } : {}),
|
|
115
|
+
...('add' in request ? { add: list(request.add) } : {}), ...('remove' in request ? { remove: list(request.remove) } : {}),
|
|
116
|
+
...('owner' in request ? { owner: local(request.owner) } : {}) };
|
|
117
|
+
}
|