@xopcai/xopc 0.0.467 → 0.0.469
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/dist/browser-ext/dist/sidepanel.js +5 -0
- package/dist/browser-ext/manifest.json +1 -1
- package/dist/extensions/telegram/xopc.extension.json +1 -1
- package/dist/gateway/static/root/assets/{activity-store-CdEua6PR.js → activity-store-DKP2sWTJ.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-avatar-dicebear-l8GQ4I9J.js → agent-avatar-dicebear-BR85bT1W.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-avatar-display-BO1bqKlR.js → agent-avatar-display-CIsejg_E.js} +2 -2
- package/dist/gateway/static/root/assets/{agent-defaults-settings-panel-Dj_H2kDD.js → agent-defaults-settings-panel-CxLUEl0V.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-plugin-dialog-BQA2brAU.js → agent-plugin-dialog-Cvj04Ckm.js} +1 -1
- package/dist/gateway/static/root/assets/{agents-C5C5l13A.js → agents-DZftplJc.js} +3 -3
- package/dist/gateway/static/root/assets/{agents-admin-api-DZ1lLnrj.js → agents-admin-api-BL8lN8gP.js} +1 -1
- package/dist/gateway/static/root/assets/{api-DDWYNF7I.js → api-BnS9d0p6.js} +1 -1
- package/dist/gateway/static/root/assets/{api-DVXcGKP-.js → api-V4P8zfkJ.js} +1 -1
- package/dist/gateway/static/root/assets/{app-link-BkEO3eBe.js → app-link-CauYDM-y.js} +1 -1
- package/dist/gateway/static/root/assets/{app-management-settings-panel-B5-7E03Z.js → app-management-settings-panel-CAEry5Vu.js} +1 -1
- package/dist/gateway/static/root/assets/{appearance-settings-E_BcjEDM.js → appearance-settings-CphsmJgM.js} +1 -1
- package/dist/gateway/static/root/assets/{apps-page-BjB_mjXu.js → apps-page-CXKTWj1s.js} +1 -1
- package/dist/gateway/static/root/assets/{archive-plugin-MvSiDvxK.js → archive-plugin-DS6JWBPZ.js} +1 -1
- package/dist/gateway/static/root/assets/arrow-down-to-line-C5D8Vt-L.js +1 -0
- package/dist/gateway/static/root/assets/{attachment-load-DrVGNxJm.js → attachment-load-C9iZLUHv.js} +1 -1
- package/dist/gateway/static/root/assets/attachment-preview-renderer-_6GhoCYk.js +12 -0
- package/dist/gateway/static/root/assets/attachment-utils-core-BPYdUI6y.js +1 -0
- package/dist/gateway/static/root/assets/{automation-api-24NjW7qG.js → automation-api-GcRQ9wM4.js} +1 -1
- package/dist/gateway/static/root/assets/{automation-result-state-C94Q3OEL.js → automation-result-state-Dcp0JX0w.js} +1 -1
- package/dist/gateway/static/root/assets/{automation-run-list-BShRirWV.js → automation-run-list-BLejrWpG.js} +1 -1
- package/dist/gateway/static/root/assets/{automation-task-card-Bgq5Plux.js → automation-task-card-BNT3n0qu.js} +1 -1
- package/dist/gateway/static/root/assets/{automations-page-3WGWLdiW.js → automations-page-DqrAOReO.js} +1 -1
- package/dist/gateway/static/root/assets/automations-workspace-BYmFhO8E.js +9 -0
- package/dist/gateway/static/root/assets/binary-plugins-CnFVuJtL.js +2 -0
- package/dist/gateway/static/root/assets/{block-editor-DAWXPErA.js → block-editor-jy5CCmhH.js} +9 -9
- package/dist/gateway/static/root/assets/{browser-settings-page-DI2PYAPC.js → browser-settings-page-Dd2eTtvL.js} +1 -1
- package/dist/gateway/static/root/assets/{capabilities-Dyw8xW90.js → capabilities-CaJjMTli.js} +1 -1
- package/dist/gateway/static/root/assets/capabilities-YmBD7oK8.js +1 -0
- package/dist/gateway/static/root/assets/capabilities-page-XgIRdqCb.js +2 -0
- package/dist/gateway/static/root/assets/capabilities-settings-panel-DfyND0IO.js +8 -0
- package/dist/gateway/static/root/assets/channels-DwUmMnA1.js +1 -0
- package/dist/gateway/static/root/assets/{chat-agents-api-BksS0CNy.js → chat-agents-api-Bim8--J9.js} +1 -1
- package/dist/gateway/static/root/assets/{chat-chart-block-aZIklMNN.js → chat-chart-block-B_c5sy7q.js} +1 -1
- package/dist/gateway/static/root/assets/chat-page-DfFXhDRv.js +72 -0
- package/dist/gateway/static/root/assets/{chat-terminal-dock-B4HoRIzf.js → chat-terminal-dock-Dn7Cm1O4.js} +1 -1
- package/dist/gateway/static/root/assets/{command-palette-api-VhBEUFmw.js → command-palette-api-DPtCt8Je.js} +1 -1
- package/dist/gateway/static/root/assets/{composer-model-config-control-BhRAbdPW.js → composer-model-config-control-BF9PPSiu.js} +1 -1
- package/dist/gateway/static/root/assets/{composer-notifications-nT-U6jcc.js → composer-notifications-B0IZsy8x.js} +1 -1
- package/dist/gateway/static/root/assets/{composer-payload-handoff-xEFHDnLo.js → composer-payload-handoff-CRCz17sd.js} +1 -1
- package/dist/gateway/static/root/assets/{computer-settings-page-DXlH96m6.js → computer-settings-page-CtfitoMZ.js} +1 -1
- package/dist/gateway/static/root/assets/{connected-providers-grid-D8vBFsbY.js → connected-providers-grid-DUHMZjyV.js} +1 -1
- package/dist/gateway/static/root/assets/{connection-usage-guide-C8jPm7QO.js → connection-usage-guide-CM5qgMcK.js} +1 -1
- package/dist/gateway/static/root/assets/{connector-service-page-B42yWHxS.js → connector-service-page-DLbBblN2.js} +1 -1
- package/dist/gateway/static/root/assets/{connectors-api-so2a7xrD.js → connectors-api-BUdH4tZQ.js} +1 -1
- package/dist/gateway/static/root/assets/{connectors-page-yhOZIiUZ.js → connectors-page-HHGB3r3Q.js} +1 -1
- package/dist/gateway/static/root/assets/constants-D5Z-mUto.js +1 -0
- package/dist/gateway/static/root/assets/{date-picker-UEh3JM7r.js → date-picker-DRSq2kDz.js} +1 -1
- package/dist/gateway/static/root/assets/{date-time-picker-Dci0LfAU.js → date-time-picker--LGC1D3b.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-BAU_GuBe.js → desktop-pet-1oXlQvjH.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-settings-CYE2eTTf.js → desktop-pet-settings-GdOjz7W9.js} +1 -1
- package/dist/gateway/static/root/assets/{dev-view-store-C7v4CIlF.js → dev-view-store-DnQ2nBtV.js} +1 -1
- package/dist/gateway/static/root/assets/{device-pairing-wizard-7NDkYmiZ.js → device-pairing-wizard-eWeHH6Ru.js} +1 -1
- package/dist/gateway/static/root/assets/{directory-picker-path-field-DmRZY8kg.js → directory-picker-path-field-DBe_paLy.js} +1 -1
- package/dist/gateway/static/root/assets/extension-authoritative-grants-BqtUnmq-.js +1 -0
- package/dist/gateway/static/root/assets/{extension-debug-page-D8TAJgZ_.js → extension-debug-page-DIAyDA-a.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-iframe-host-CjfRKtQ4.js → extension-iframe-host-CCe4R7L7.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-marketplace-api-V1oFBxVi.js → extension-marketplace-api-baFXdV56.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-message-router-DZahH1Hd.js → extension-message-router-BD0ZamBV.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-page-DMuHBIHa.js → extension-page-C09dlV3J.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-provider-lqJ1zIkA.js → extension-provider-BhluafoX.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-settings-page-D5IfKVff.js → extension-settings-page-CB8KLYoG.js} +1 -1
- package/dist/gateway/static/root/assets/file-CStvVK2S.js +1 -0
- package/dist/gateway/static/root/assets/{file-BqMS_3DT.js → file-code-corner-byQA1VfD.js} +1 -1
- package/dist/gateway/static/root/assets/file-icon-N6WjUhq_.js +1 -0
- package/dist/gateway/static/root/assets/{file-preview-surface-B7B9qXm9.js → file-preview-surface-CeFFZo3a.js} +1 -1
- package/dist/gateway/static/root/assets/file-tree-CYUkQR1t.js +1 -0
- package/dist/gateway/static/root/assets/{gateway-config-swr-Dk3FtNv1.js → gateway-config-swr-DVXDJNCI.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-realtime-DMvo4pAc.js → gateway-realtime-BnwNxbyc.js} +1 -1
- package/dist/gateway/static/root/assets/gateway-realtime-store-BpnGXAhi.js +1 -0
- package/dist/gateway/static/root/assets/{gateway-restart-C2h5R1eP.js → gateway-restart-Bws2Shaz.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-settings-DGPaikv5.js → gateway-settings-BU5Cp4Bw.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-startup-retry-yZn7ShiP.js → gateway-startup-retry-2jU7zCyx.js} +1 -1
- package/dist/gateway/static/root/assets/{global-defaults-api-gsAa0Kj9.js → global-defaults-api-CNyJ0dGb.js} +1 -1
- package/dist/gateway/static/root/assets/{home-page-BBTtXpDD.js → home-page-8KwhWlYt.js} +3 -3
- package/dist/gateway/static/root/assets/{image-generation-api-DPn1SBMH.js → image-generation-api-CiqQSx5j.js} +1 -1
- package/dist/gateway/static/root/assets/{imports-page-Cc48Uq20.js → imports-page-B9JMNXwt.js} +1 -1
- package/dist/gateway/static/root/assets/index-CZUfwwLp.css +1 -0
- package/dist/gateway/static/root/assets/index-D5hovYIw.js +11 -0
- package/dist/gateway/static/root/assets/{install-connector-dialog-QkJMw_uW.js → install-connector-dialog-BZjodnUC.js} +1 -1
- package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-BZXqXuI4.js → keyboard-shortcuts-settings-A37hYJtR.js} +1 -1
- package/dist/gateway/static/root/assets/local-app-workbench-page-DmzgjJNj.js +1 -0
- package/dist/gateway/static/root/assets/{local-apps-page-D-bRvlZY.js → local-apps-page-Ct8z2B7R.js} +1 -1
- package/dist/gateway/static/root/assets/{local-session-drafts-CZ19DRRK.js → local-session-drafts-CgAuYyKi.js} +1 -1
- package/dist/gateway/static/root/assets/{locale-store-DIBIYLnI.js → locale-store-Cit_aHqC.js} +1 -1
- package/dist/gateway/static/root/assets/logs-page-CH9amuGc.js +2 -0
- package/dist/gateway/static/root/assets/{management-api-EG5duPec.js → management-api-DG-yZnHK.js} +1 -1
- package/dist/gateway/static/root/assets/{management-settings-B7RWHrwo.js → management-settings-CUQd0FJ3.js} +1 -1
- package/dist/gateway/static/root/assets/{markdown-view-C30KvTaE.js → markdown-view-Dm01GIXv.js} +1 -1
- package/dist/gateway/static/root/assets/{mcp-conversation-setup-page-BZ1PDTYY.js → mcp-conversation-setup-page-YvPXchDz.js} +1 -1
- package/dist/gateway/static/root/assets/{media-plugins-CW5UoTx6.js → media-plugins-jsWNdARw.js} +1 -1
- package/dist/gateway/static/root/assets/messages-DQveK9sk.js +3 -0
- package/dist/gateway/static/root/assets/{model-selector-COGICRIG.js → model-selector-Cg2kTsE7.js} +1 -1
- package/dist/gateway/static/root/assets/models-hub-cache-B2QcrY4n.js +1 -0
- package/dist/gateway/static/root/assets/note-detail-panel-DeFb2HEC.js +7 -0
- package/dist/gateway/static/root/assets/note-image-lightbox-DUzoWZEe.js +1 -0
- package/dist/gateway/static/root/assets/notes-api-BMSPkAm8.js +1 -0
- package/dist/gateway/static/root/assets/notes-page-nvqpOeHp.js +8 -0
- package/dist/gateway/static/root/assets/{oauth-api-enDU_32p.js → oauth-api-Bz_PU9R_.js} +1 -1
- package/dist/gateway/static/root/assets/{oauth-provider-connect-C2pfvPOI.js → oauth-provider-connect-BexlZuZ4.js} +1 -1
- package/dist/gateway/static/root/assets/{page-context-capture-button-BaSooYGv.js → page-context-capture-button-Cn4zi3Mt.js} +1 -1
- package/dist/gateway/static/root/assets/{page-context-draft-4-3RtO0q.js → page-context-draft-BjbX5zd7.js} +1 -1
- package/dist/gateway/static/root/assets/page-header-store-1-lflHAx.js +1 -0
- package/dist/gateway/static/root/assets/personal-avatar-CM3vUGhL.js +1 -0
- package/dist/gateway/static/root/assets/personal-avatar-DsEp8QJ7.css +1 -0
- package/dist/gateway/static/root/assets/personal-page-HFjWZacf.js +1 -0
- package/dist/gateway/static/root/assets/{personal-profile-settings-DwMdjQ6H.js → personal-profile-settings-CNI5Eor6.js} +1 -1
- package/dist/gateway/static/root/assets/{personal-settings-panel-DiNpP_g3.js → personal-settings-panel-BcrpYRn9.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-dependencies-card-DUT-qRLZ.js → phone-dependencies-card-CJ3ovsW1.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-model-connection-pvOciDNo.js → phone-model-connection-DKvOEjWH.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-model-picker-CD97E6C5.js → phone-model-picker-CNTcpY1A.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-settings-page-BUZ1dh7s.js → phone-settings-page-DvX6okzz.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-workspace-store-BwilERgv.js → phone-workspace-store-CKOW55gy.js} +1 -1
- package/dist/gateway/static/root/assets/playback-coordinator-CWHIf0wr.js +1 -0
- package/dist/gateway/static/root/assets/{plugin-details-dialog-C_uOVmJv.js → plugin-details-dialog-BDoSffLO.js} +1 -1
- package/dist/gateway/static/root/assets/{preference-select-fields-BSUgcO7-.js → preference-select-fields-BKmzpfHq.js} +1 -1
- package/dist/gateway/static/root/assets/presentation-D-Ui_vVA.js +1 -0
- package/dist/gateway/static/root/assets/preview-runtime-RnBDP-Lq.js +15 -0
- package/dist/gateway/static/root/assets/product-automation-feedback-xAcXeJM2.js +7 -0
- package/dist/gateway/static/root/assets/product-delivery-4gEqUIsK.js +1 -0
- package/dist/gateway/static/root/assets/{product-open-page-Dy6D5exJ.js → product-open-page-DXwOPgRP.js} +1 -1
- package/dist/gateway/static/root/assets/{product-preview-content-DEUPAilo.js → product-preview-content-DiQbeaCK.js} +1 -1
- package/dist/gateway/static/root/assets/{product-preview-modal-C4TV9RUd.js → product-preview-modal-BU7Qojpq.js} +2 -2
- package/dist/gateway/static/root/assets/project-detail-page-Dr5_WPRB.js +7 -0
- package/dist/gateway/static/root/assets/{project-understanding-lOJ5Tz2V.js → project-understanding-Dv26vu9S.js} +1 -1
- package/dist/gateway/static/root/assets/{projects-page-B3aGdPHy.js → projects-page-DGATZB23.js} +1 -1
- package/dist/gateway/static/root/assets/{providers-api-C26HgxZY.js → providers-api-BXa2Aheb.js} +1 -1
- package/dist/gateway/static/root/assets/recording-upload-CQdhrRq3.js +1 -0
- package/dist/gateway/static/root/assets/{registry-api-pQ0eInzG.js → registry-api-BEnvt9-6.js} +1 -1
- package/dist/gateway/static/root/assets/{remote-access-hub-CjWrYzjf.js → remote-access-hub-_7tmWand.js} +1 -1
- package/dist/gateway/static/root/assets/{resource-unavailable-Y9WRHOnz.js → resource-unavailable-fk26VrOL.js} +1 -1
- package/dist/gateway/static/root/assets/right-workspace-store-NXMrEuwH.js +1 -0
- package/dist/gateway/static/root/assets/route-preload-D-pdVwIK.js +2 -0
- package/dist/gateway/static/root/assets/routine-panel-rjq-8nZ8.js +2 -0
- package/dist/gateway/static/root/assets/{runtime-tools-api-BoJQ3u5o.js → runtime-tools-api-CL6CG-qq.js} +1 -1
- package/dist/gateway/static/root/assets/{runtime-tools-settings-panel-DB7cfLrX.js → runtime-tools-settings-panel-CdvQRxCR.js} +1 -1
- package/dist/gateway/static/root/assets/scan-search-CSIGkseh.js +1 -0
- package/dist/gateway/static/root/assets/{service-recommendation-list-_rFmwIwY.js → service-recommendation-list-2UOjV0Mx.js} +1 -1
- package/dist/gateway/static/root/assets/{session-api-a6wb0_Gf.js → session-api-CkOliupg.js} +1 -1
- package/dist/gateway/static/root/assets/session-manager-BVS3zxRZ.js +22 -0
- package/dist/gateway/static/root/assets/{sessions-page-dEupc-3A.js → sessions-page-CN9ESZdY.js} +1 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-BYrXsPjK.js +1 -0
- package/dist/gateway/static/root/assets/{settings-advanced-section-CnGJr2xp.js → settings-advanced-section-Zex2dJo7.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-mode-store-DWRhupcY.js → settings-mode-store-Dk0bZQgo.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-D9A2DdJ_.js → settings-page-bCW4rave.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-header-wL2jvs-y.js → settings-page-header-B9Y_eGcH.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-layout-BkUQVmyY.js → settings-page-layout-D1MgJ5zP.js} +1 -1
- package/dist/gateway/static/root/assets/{setup-interaction-page-D238tuw-.js → setup-interaction-page-BYXDX0F2.js} +1 -1
- package/dist/gateway/static/root/assets/{setup-status-panel-DXvYjIu3.js → setup-status-panel-Bhda3jS2.js} +1 -1
- package/dist/gateway/static/root/assets/{share-link-dialog-DFDJyl3N.js → share-link-dialog-BxFk4-4u.js} +1 -1
- package/dist/gateway/static/root/assets/share-preview-page-nzWjWhqF.js +2 -0
- package/dist/gateway/static/root/assets/{shares-api-CfFiW03g.js → shares-api-ChBHTPKN.js} +1 -1
- package/dist/gateway/static/root/assets/shares-settings-LB3SYKFS.js +1 -0
- package/dist/gateway/static/root/assets/sheet-C2H8iR8Y.js +1 -0
- package/dist/gateway/static/root/assets/{skill-api-CWRhFSkA.js → skill-api-TQAyWHGS.js} +1 -1
- package/dist/gateway/static/root/assets/{skill-list-api-CmPp2czp.js → skill-list-api-D4eokPXx.js} +1 -1
- package/dist/gateway/static/root/assets/{skill-reload-api-BGsSq3dj.js → skill-reload-api-Bm-8vhsQ.js} +1 -1
- package/dist/gateway/static/root/assets/{skills-page-DqD0FPeH.js → skills-page-CfhEcU8L.js} +1 -1
- package/dist/gateway/static/root/assets/space-api-DaKpHc_7.js +1 -0
- package/dist/gateway/static/root/assets/space-page-BXyQdUvp.js +2 -0
- package/dist/gateway/static/root/assets/star-BuMAkjC9.js +1 -0
- package/dist/gateway/static/root/assets/{system-settings-panel-aw9C86I8.js → system-settings-panel-CvL5G2w1.js} +1 -1
- package/dist/gateway/static/root/assets/task-detail-page-gffrDRvW.js +3 -0
- package/dist/gateway/static/root/assets/task-header-title-DwtjUOBg.js +1 -0
- package/dist/gateway/static/root/assets/{task-result-evidence-C-zIBpzi.js → task-result-evidence-Bmgta9z9.js} +1 -1
- package/dist/gateway/static/root/assets/tasks-BIehlq7k.js +1 -0
- package/dist/gateway/static/root/assets/{terminal-panel-store-CgPqgrm7.js → terminal-panel-store-B1bAD5Xf.js} +1 -1
- package/dist/gateway/static/root/assets/{theme-store-DxF7S6I2.js → theme-store-C1MxmBg7.js} +1 -1
- package/dist/gateway/static/root/assets/{tracing-settings-page-Dvlunx28.js → tracing-settings-page-CvXDgIJQ.js} +1 -1
- package/dist/gateway/static/root/assets/{tunnel-api-CIte6n0U.js → tunnel-api-BkhCBt38.js} +1 -1
- package/dist/gateway/static/root/assets/turn-outcome-BSbEJx8h.js +1 -0
- package/dist/gateway/static/root/assets/{understanding-activity-store-C2RHmRo8.js → understanding-activity-store-BYGCmCVb.js} +1 -1
- package/dist/gateway/static/root/assets/{understanding-refresh-store-CPeQIXS_.js → understanding-refresh-store-DaLVsdYS.js} +1 -1
- package/dist/gateway/static/root/assets/{usage-page-DPUjEj39.js → usage-page-C-NM6vtY.js} +1 -1
- package/dist/gateway/static/root/assets/{use-autosave-xX2KrbXw.js → use-autosave-CvjQMyY8.js} +1 -1
- package/dist/gateway/static/root/assets/use-composer-attachments-sszsCdh5.js +2 -0
- package/dist/gateway/static/root/assets/use-file-preview-expanded-D4b4fDeu.js +1 -0
- package/dist/gateway/static/root/assets/use-personal-profile-CNPszzzT.js +1 -0
- package/dist/gateway/static/root/assets/use-personal-work-C-rw8XVO.js +1 -0
- package/dist/gateway/static/root/assets/{use-realtime-voice-RQW5KnIN.js → use-realtime-voice-cugjs8cK.js} +1 -1
- package/dist/gateway/static/root/assets/{use-workspace-tree-B6QFV5gR.js → use-workspace-tree-Crfx5ctU.js} +1 -1
- package/dist/gateway/static/root/assets/{user-model-page-hKnsTcMk.js → user-model-page-BvnLbTYx.js} +1 -1
- package/dist/gateway/static/root/assets/video-generation-Cec49Jwg.js +1 -0
- package/dist/gateway/static/root/assets/{voice-api-key-field-BeEF7Thh.js → voice-api-key-field-M7KB_Gl1.js} +1 -1
- package/dist/gateway/static/root/assets/{voice-config-api-vbBoKnqd.js → voice-config-api-BLGbUq3v.js} +1 -1
- package/dist/gateway/static/root/assets/{voice-input-shortcut-events-CKn6X3qL.js → voice-input-shortcut-events-CxH3RDXi.js} +1 -1
- package/dist/gateway/static/root/assets/voice-player-store-DZGlzjva.js +1 -0
- package/dist/gateway/static/root/assets/voice-settings-BzfNK5Jm.js +1 -0
- package/dist/gateway/static/root/assets/{work-discovery-overlay-Ddvqu02U.js → work-discovery-overlay-DpEYgcG2.js} +1 -1
- package/dist/gateway/static/root/assets/{work-discovery-page-BdBpri6P.js → work-discovery-page-DappIHQq.js} +1 -1
- package/dist/gateway/static/root/assets/{working-directory-picker-modal-DStgfCzQ.js → working-directory-picker-modal-W2QiUVjN.js} +1 -1
- package/dist/gateway/static/root/assets/workspace-api-g-wCKoQU.js +2 -0
- package/dist/gateway/static/root/assets/workspace-editor-agent-store-DwpWKogz.js +1 -0
- package/dist/gateway/static/root/assets/workspace-file-preview-dialog-DxaxVC3q.js +1 -0
- package/dist/gateway/static/root/assets/{workspace-open-location-menu-CBHFZ2iQ.js → workspace-open-location-menu-Dh0TvTkH.js} +1 -1
- package/dist/gateway/static/root/assets/workspace-preview-store-DoIjn_2j.js +1 -0
- package/dist/gateway/static/root/assets/{xopc-cloud-account-card-Cm0Saa8B.js → xopc-cloud-account-card-DGAGXbGI.js} +1 -1
- package/dist/gateway/static/root/index.html +136 -123
- package/dist/package.js +1 -1
- package/dist/packages/gateway-contract/src/automations.js +7 -0
- package/dist/packages/gateway-contract/src/capabilities.js +1 -1
- package/dist/packages/gateway-contract/src/clarifications.js +20 -2
- package/dist/packages/gateway-contract/src/index.js +6 -4
- package/dist/packages/gateway-contract/src/music-generation.js +5 -2
- package/dist/packages/gateway-contract/src/space.js +23 -0
- package/dist/packages/gateway-contract/src/task-lifecycle.js +1 -0
- package/dist/packages/gateway-contract/src/task-result-delivery.js +1 -0
- package/dist/packages/gateway-contract/src/task-runs.js +1 -0
- package/dist/packages/gateway-contract/src/tasks.js +118 -6
- package/dist/packages/gateway-contract/src/turn-outcome.js +16 -2
- package/dist/packages/gateway-contract/src/video-generation.js +29 -4
- package/dist/src/agent/agent-manager.js +2 -2
- package/dist/src/agent/background-review/prompts.js +5 -1
- package/dist/src/agent/embedded/agent-profile-context.js +1 -1
- package/dist/src/agent/inbound/attachment-pipeline.js +1 -1
- package/dist/src/agent/orchestration/delegation-budget.d.ts +2 -2
- package/dist/src/agent/orchestration/turn-recovery.d.ts +12 -3
- package/dist/src/agent/orchestration/turn-recovery.js +25 -6
- package/dist/src/agent/service/process-direct-streaming.js +1 -1
- package/dist/src/agent/service/webchat-tts.js +1 -1
- package/dist/src/agent/service.js +1 -1
- package/dist/src/agent/tasks/task-judge-service.js +1 -1
- package/dist/src/agent/tools/apply-patch.js +1 -1
- package/dist/src/agent/tools/factory.js +1 -1
- package/dist/src/agent/tools/image-generate-tool.js +1 -0
- package/dist/src/agent/tools/language-diagnostics.js +1 -1
- package/dist/src/agent/tools/personal-memory-tool.js +12 -10
- package/dist/src/agent/tools/personal-task-tool.d.ts +1 -0
- package/dist/src/agent/tools/personal-task-tool.js +12 -7
- package/dist/src/agent/tools/publish-artifacts.js +2 -1
- package/dist/src/agent/tools/review-workspace.js +1 -1
- package/dist/src/agent/tools/send-media.js +1 -0
- package/dist/src/agent/tools/tool-media.d.ts +3 -1
- package/dist/src/agent/tools/tool-media.js +2 -0
- package/dist/src/agent/tools/video-draft-tool.d.ts +1 -0
- package/dist/src/agent/tools/video-draft-tool.js +5 -1
- package/dist/src/agent/tools/xopc-use-tool.js +21 -4
- package/dist/src/agent-catalog/test-support.js +1 -1
- package/dist/src/agent-matching/delegation-service.js +1 -1
- package/dist/src/automations/capabilities/drafts.js +1 -1
- package/dist/src/automations/capabilities/write.d.ts +30 -6
- package/dist/src/automations/capabilities/write.js +2 -2
- package/dist/src/automations/configuration-conversation.js +1 -1
- package/dist/src/automations/domain/types.d.ts +6 -0
- package/dist/src/automations/domain/validation.d.ts +60 -12
- package/dist/src/automations/domain/validation.js +7 -0
- package/dist/src/automations/draft/automation-draft-validator.d.ts +12 -3
- package/dist/src/automations/draft/automation-draft-validator.js +1 -0
- package/dist/src/automations/service/action-executor.js +14 -2
- package/dist/src/automations/service/automation-service.js +2 -2
- package/dist/src/browser/providers/browser-ext-install.js +1 -1
- package/dist/src/cli/commands/doctor/checks/database-schema.js +1 -1
- package/dist/src/computer/diagnostics.d.ts +9 -9
- package/dist/src/computer/errors.d.ts +2 -2
- package/dist/src/computer/evaluation.d.ts +7 -7
- package/dist/src/computer/runtime.d.ts +4 -4
- package/dist/src/config/schema.d.ts +2 -2
- package/dist/src/discussions/action-tasks.d.ts +2 -2
- package/dist/src/execution-environments/local-worktree-manager.js +1 -1
- package/dist/src/extensions/agent-plugins/inventory.d.ts +2 -2
- package/dist/src/extensions/agent-plugins/setup.d.ts +3 -3
- package/dist/src/gateway/hono/routes/commands-skills.js +1 -1
- package/dist/src/gateway/hono/routes/connectors.js +2 -2
- package/dist/src/gateway/hono/routes/context-sources.js +1 -1
- package/dist/src/gateway/hono/routes/lazy-bundles.js +8 -0
- package/dist/src/gateway/hono/routes/memory-learning.js +19 -3
- package/dist/src/gateway/hono/routes/models.js +7 -0
- package/dist/src/gateway/hono/routes/music-generation.js +26 -3
- package/dist/src/gateway/hono/routes/personal-agent.js +214 -5
- package/dist/src/gateway/hono/routes/phone-setup.js +1 -1
- package/dist/src/gateway/hono/routes/space.d.ts +3 -0
- package/dist/src/gateway/hono/routes/space.js +105 -0
- package/dist/src/gateway/hono/routes/tasks.js +27 -28
- package/dist/src/gateway/hono/routes/video-generation.js +9 -6
- package/dist/src/gateway/html-preview-shell.d.ts +1 -1
- package/dist/src/gateway/html-preview-shell.js +3 -0
- package/dist/src/gateway/media-access.js +2 -2
- package/dist/src/gateway/security/gateway-scopes.js +2 -0
- package/dist/src/gateway/service/config-coordinator.d.ts +1 -1
- package/dist/src/gateway/service.d.ts +1 -0
- package/dist/src/gateway/service.js +10 -3
- package/dist/src/gateway/session-context-summary.js +1 -1
- package/dist/src/gateway/xopc-cloud-capability-setup.d.ts +2 -0
- package/dist/src/gateway/xopc-cloud-capability-setup.js +18 -1
- package/dist/src/home-intelligence/follow-ups.js +2 -1
- package/dist/src/home-intelligence/routines.js +1 -1
- package/dist/src/local-apps/automation-proposals.d.ts +54 -12
- package/dist/src/local-apps/capabilities/projections.d.ts +7 -7
- package/dist/src/local-apps/preview-fixtures.d.ts +1 -1
- package/dist/src/media/session-references.d.ts +4 -1
- package/dist/src/media/session-references.js +40 -8
- package/dist/src/memory-learning/work-capture.js +2 -1
- package/dist/src/memory-learning/work-review.d.ts +2 -0
- package/dist/src/memory-learning/work-review.js +25 -2
- package/dist/src/music-generation/artifact.js +3 -1
- package/dist/src/music-generation/mureka.js +1 -1
- package/dist/src/music-generation/provider.d.ts +4 -1
- package/dist/src/music-generation/provider.js +6 -1
- package/dist/src/music-generation/providers.d.ts +3 -1
- package/dist/src/music-generation/providers.js +39 -16
- package/dist/src/music-generation/repository.d.ts +3 -1
- package/dist/src/music-generation/repository.js +12 -3
- package/dist/src/music-generation/tencent-mps.d.ts +11 -0
- package/dist/src/music-generation/tencent-mps.js +151 -0
- package/dist/src/music-generation/worker.js +16 -5
- package/dist/src/music-generation/xopc-cloud.d.ts +2 -0
- package/dist/src/music-generation/xopc-cloud.js +38 -0
- package/dist/src/personal-agent/capability-service.js +1 -1
- package/dist/src/personal-agent/proactivity/service.js +1 -1
- package/dist/src/personal-agent/prompt-context.js +1 -1
- package/dist/src/personal-agent/prompts.js +2 -2
- package/dist/src/personal-agent/reply-composer.js +16 -7
- package/dist/src/personal-agent/repository.js +1 -1
- package/dist/src/personal-agent/request-delivery.js +17 -7
- package/dist/src/personal-agent/request-service.js +6 -10
- package/dist/src/personal-agent/result-extraction.js +13 -13
- package/dist/src/personal-agent/schedules.d.ts +9 -0
- package/dist/src/personal-agent/schedules.js +44 -0
- package/dist/src/personal-agent/service.js +1 -1
- package/dist/src/providers/model-catalog-persistence.js +6 -1
- package/dist/src/providers/model-catalog-store.js +1 -0
- package/dist/src/providers/model-catalog-types.d.ts +2 -0
- package/dist/src/providers/xopc-cloud-media-manifest.d.ts +24 -0
- package/dist/src/providers/xopc-cloud-media-manifest.js +28 -0
- package/dist/src/providers/xopc-cloud-media.d.ts +28 -0
- package/dist/src/providers/xopc-cloud-media.js +67 -0
- package/dist/src/providers/xopc-cloud-model-source.js +4 -0
- package/dist/src/runtime-tools/archive.js +1 -1
- package/dist/src/runtime-tools/manager.js +1 -1
- package/dist/src/runtime-tools/phone-dependencies.js +1 -1
- package/dist/src/session/client-history.d.ts +4 -1
- package/dist/src/session/client-history.js +18 -0
- package/dist/src/session/compact-history.js +30 -1
- package/dist/src/session/store.js +2 -1
- package/dist/src/session/turn-outcome-projector.js +1 -1
- package/dist/src/space/ingest.d.ts +36 -0
- package/dist/src/space/ingest.js +149 -0
- package/dist/src/space/repository.d.ts +39 -0
- package/dist/src/space/repository.js +325 -0
- package/dist/src/space/worker.d.ts +14 -0
- package/dist/src/space/worker.js +199 -0
- package/dist/src/storage/sqlite/clarification-wait-repository.js +7 -4
- package/dist/src/storage/sqlite/row-mappers.d.ts +1 -0
- package/dist/src/storage/sqlite/row-mappers.js +9 -2
- package/dist/src/storage/sqlite/schema.d.ts +2 -2
- package/dist/src/storage/sqlite/schema.js +8 -7
- package/dist/src/storage/sqlite/schema.sql +104 -0
- package/dist/src/storage/sqlite/transcript-repository.js +8 -0
- package/dist/src/storage/sqlite/upgrades/278_music_job_error_code.sql +6 -0
- package/dist/src/storage/sqlite/upgrades/279_task_model_cutover.sql +288 -0
- package/dist/src/storage/sqlite/upgrades/280_space.sql +61 -0
- package/dist/src/tasks/capabilities/management.d.ts +15 -2
- package/dist/src/tasks/capabilities/management.js +8 -2
- package/dist/src/tasks/capabilities/read.js +14 -2
- package/dist/src/tasks/capabilities/relations.d.ts +13 -7
- package/dist/src/tasks/capabilities/write.d.ts +118 -2
- package/dist/src/tasks/capabilities/write.js +2 -0
- package/dist/src/tasks/home-query-service.js +7 -9
- package/dist/src/tasks/task-allocation-service.js +2 -2
- package/dist/src/tasks/task-application-service.d.ts +8 -2
- package/dist/src/tasks/task-application-service.js +94 -27
- package/dist/src/tasks/task-collaboration-repository.js +12 -1
- package/dist/src/tasks/task-context-assembler.js +9 -3
- package/dist/src/tasks/task-contract-planner.js +1 -3
- package/dist/src/tasks/task-conversation-summary.d.ts +33 -2
- package/dist/src/tasks/task-conversation-summary.js +3 -1
- package/dist/src/tasks/task-criterion-review-repository.d.ts +31 -2
- package/dist/src/tasks/task-criterion-review-repository.js +70 -23
- package/dist/src/tasks/task-deliverables.d.ts +7 -0
- package/dist/src/tasks/task-deliverables.js +112 -0
- package/dist/src/tasks/task-handoff-service.js +1 -1
- package/dist/src/tasks/task-instruction-sequence.js +10 -3
- package/dist/src/tasks/task-json-acceptance.js +3 -5
- package/dist/src/tasks/task-origin-repository.d.ts +99 -1
- package/dist/src/tasks/task-origin-repository.js +67 -5
- package/dist/src/tasks/task-read-model-projector.d.ts +4 -1
- package/dist/src/tasks/task-read-model-projector.js +123 -9
- package/dist/src/tasks/task-repository.d.ts +4 -1
- package/dist/src/tasks/task-repository.js +34 -11
- package/dist/src/tasks/task-research-repair.d.ts +2 -2
- package/dist/src/tasks/task-research-result.d.ts +1 -0
- package/dist/src/tasks/task-research-result.js +13 -3
- package/dist/src/tasks/task-result-delivery-repository.d.ts +4 -3
- package/dist/src/tasks/task-result-delivery-repository.js +35 -17
- package/dist/src/tasks/task-result-delivery-service.js +22 -7
- package/dist/src/tasks/task-result-versions.d.ts +11 -0
- package/dist/src/tasks/task-result-versions.js +34 -0
- package/dist/src/tasks/task-run-coordinator.js +28 -15
- package/dist/src/tasks/task-run-dispatcher.js +29 -4
- package/dist/src/tasks/task-run-repository.d.ts +2 -0
- package/dist/src/tasks/task-run-repository.js +62 -19
- package/dist/src/tasks/task-workspace-verification.d.ts +16 -0
- package/dist/src/tasks/task-workspace-verification.js +95 -0
- package/dist/src/tui/backends/embedded-backend.js +2 -2
- package/dist/src/user-model/action-rule-suggestions.js +4 -3
- package/dist/src/user-model/capture/evidence-policy.d.ts +7 -1
- package/dist/src/user-model/capture/evidence-policy.js +68 -2
- package/dist/src/user-model/capture/executor.js +62 -14
- package/dist/src/video-generation/artifact.js +3 -1
- package/dist/src/video-generation/drafts.d.ts +1 -0
- package/dist/src/video-generation/drafts.js +6 -0
- package/dist/src/video-generation/providers.d.ts +1 -0
- package/dist/src/video-generation/providers.js +37 -5
- package/dist/src/video-generation/repository.d.ts +5 -3
- package/dist/src/video-generation/repository.js +30 -8
- package/dist/src/video-generation/settings.d.ts +1 -0
- package/dist/src/video-generation/settings.js +10 -4
- package/dist/src/voice/realtime/runtime.js +1 -1
- package/package.json +1 -1
- package/dist/gateway/static/root/assets/attachment-preview-renderer-DdOEgexg.js +0 -12
- package/dist/gateway/static/root/assets/attachment-utils-core-BIOUBrpT.js +0 -1
- package/dist/gateway/static/root/assets/automations-workspace-CH9gYqIK.js +0 -9
- package/dist/gateway/static/root/assets/binary-plugins-MFVtTdvy.js +0 -2
- package/dist/gateway/static/root/assets/capabilities-CFWTer_v.js +0 -1
- package/dist/gateway/static/root/assets/capabilities-page-C2RB9fzC.js +0 -2
- package/dist/gateway/static/root/assets/capabilities-settings-panel-BjaLTd6i.js +0 -8
- package/dist/gateway/static/root/assets/channels-DiDfjON8.js +0 -1
- package/dist/gateway/static/root/assets/chat-page-BtMkdtxJ.js +0 -71
- package/dist/gateway/static/root/assets/constants-Bg1wM2nv.js +0 -1
- package/dist/gateway/static/root/assets/extension-authoritative-grants-DIeg1mg8.js +0 -1
- package/dist/gateway/static/root/assets/file-tree-CFlZnV3Y.js +0 -1
- package/dist/gateway/static/root/assets/gateway-realtime-store-CJf-qaHZ.js +0 -1
- package/dist/gateway/static/root/assets/index-BJj-uZNl.js +0 -11
- package/dist/gateway/static/root/assets/index-DiWUK4sJ.css +0 -1
- package/dist/gateway/static/root/assets/local-app-workbench-page-wekatwet.js +0 -1
- package/dist/gateway/static/root/assets/local-apps-DeqzkJiF.js +0 -1
- package/dist/gateway/static/root/assets/logs-page-CukseY3k.js +0 -2
- package/dist/gateway/static/root/assets/messages-BDBGlBKh.js +0 -3
- package/dist/gateway/static/root/assets/models-hub-cache-aRYHi2dh.js +0 -1
- package/dist/gateway/static/root/assets/note-detail-panel-D5BtgBxy.js +0 -7
- package/dist/gateway/static/root/assets/note-image-lightbox-CxXu_Tkh.js +0 -1
- package/dist/gateway/static/root/assets/notes-api-BXevQivV.js +0 -1
- package/dist/gateway/static/root/assets/notes-page-DyM-3O_9.js +0 -8
- package/dist/gateway/static/root/assets/page-header-store-C2ydtnXa.js +0 -1
- package/dist/gateway/static/root/assets/personal-avatar-BPQpvC34.js +0 -1
- package/dist/gateway/static/root/assets/personal-avatar-BUCb7OiW.css +0 -1
- package/dist/gateway/static/root/assets/personal-page-BB4Sv68K.js +0 -1
- package/dist/gateway/static/root/assets/phone-DdhTnt6X.js +0 -1
- package/dist/gateway/static/root/assets/product-automation-feedback-BlwtlUY7.js +0 -7
- package/dist/gateway/static/root/assets/product-delivery-CnvCn9L-.js +0 -1
- package/dist/gateway/static/root/assets/project-detail-page-BG2nDt98.js +0 -7
- package/dist/gateway/static/root/assets/recording-upload-BJkXktA-.js +0 -1
- package/dist/gateway/static/root/assets/right-workspace-store-DHHyicqQ.js +0 -1
- package/dist/gateway/static/root/assets/route-preload-BYqg1BYz.js +0 -2
- package/dist/gateway/static/root/assets/routine-panel-Coh2B0j7.js +0 -2
- package/dist/gateway/static/root/assets/session-manager-D5g6LOU-.js +0 -25
- package/dist/gateway/static/root/assets/settings-advanced-gate-DjyibJZ1.js +0 -1
- package/dist/gateway/static/root/assets/share-preview-page-CyCv69rh.js +0 -2
- package/dist/gateway/static/root/assets/shares-settings-B85XIDFv.js +0 -1
- package/dist/gateway/static/root/assets/star-CnYNmpLd.js +0 -1
- package/dist/gateway/static/root/assets/task-detail-page-DgsLOz6h.js +0 -3
- package/dist/gateway/static/root/assets/tasks-BTLabOMp.js +0 -1
- package/dist/gateway/static/root/assets/use-composer-attachments-C9GpCJQR.js +0 -2
- package/dist/gateway/static/root/assets/use-file-preview-expanded-Daf-LmiF.js +0 -15
- package/dist/gateway/static/root/assets/use-personal-profile-BJgaheR4.js +0 -1
- package/dist/gateway/static/root/assets/video-generation-D08uZbsu.js +0 -1
- package/dist/gateway/static/root/assets/voice-settings-BUrk4mwV.js +0 -1
- package/dist/gateway/static/root/assets/with-selector-xonYxPoM.js +0 -1
- package/dist/gateway/static/root/assets/workspace-api-CscTRODe.js +0 -2
- package/dist/gateway/static/root/assets/workspace-editor-agent-store-CyPjTDSx.js +0 -1
- package/dist/gateway/static/root/assets/workspace-file-preview-dialog-JSGIA79T.js +0 -1
- package/dist/gateway/static/root/assets/workspace-preview-store-DNLnuHlf.js +0 -1
|
@@ -2,15 +2,15 @@ import { __esmMin } from "../../../_virtual/_rolldown/runtime.js";
|
|
|
2
2
|
import { init_agent_stream } from "./agent-stream.js";
|
|
3
3
|
import { init_follow_ups } from "./follow-ups.js";
|
|
4
4
|
import { init_task_research_result } from "./task-research-result.js";
|
|
5
|
+
import { init_chat_previews } from "./chat-previews.js";
|
|
6
|
+
import { init_extension_capabilities } from "./extension-capabilities.js";
|
|
7
|
+
import { init_local_apps } from "./local-apps.js";
|
|
8
|
+
import { init_product_delivery } from "./product-delivery.js";
|
|
5
9
|
import { init_turn_outcome } from "./turn-outcome.js";
|
|
6
10
|
import { init_specialists } from "./specialists.js";
|
|
7
11
|
import { init_task_lifecycle } from "./task-lifecycle.js";
|
|
8
12
|
import { init_task_runs } from "./task-runs.js";
|
|
9
13
|
import { init_tasks } from "./tasks.js";
|
|
10
|
-
import { init_chat_previews } from "./chat-previews.js";
|
|
11
|
-
import { init_extension_capabilities } from "./extension-capabilities.js";
|
|
12
|
-
import { init_local_apps } from "./local-apps.js";
|
|
13
|
-
import { init_product_delivery } from "./product-delivery.js";
|
|
14
14
|
import { init_project_operating } from "./project-operating.js";
|
|
15
15
|
import { init_conversation_identity } from "./conversation-identity.js";
|
|
16
16
|
import { init_sessions } from "./sessions.js";
|
|
@@ -60,6 +60,7 @@ import { init_device_request_proof } from "./device-request-proof.js";
|
|
|
60
60
|
import { init_local_app_delegation } from "./local-app-delegation.js";
|
|
61
61
|
import { init_video_generation } from "./video-generation.js";
|
|
62
62
|
import { init_music_generation } from "./music-generation.js";
|
|
63
|
+
import { init_space } from "./space.js";
|
|
63
64
|
//#region packages/gateway-contract/src/index.ts
|
|
64
65
|
var init_src = __esmMin((() => {
|
|
65
66
|
init_agent_stream();
|
|
@@ -122,6 +123,7 @@ var init_src = __esmMin((() => {
|
|
|
122
123
|
init_follow_ups();
|
|
123
124
|
init_video_generation();
|
|
124
125
|
init_music_generation();
|
|
126
|
+
init_space();
|
|
125
127
|
}));
|
|
126
128
|
//#endregion
|
|
127
129
|
init_src();
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { __esmMin } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
//#region packages/gateway-contract/src/music-generation.ts
|
|
3
|
-
var
|
|
3
|
+
var TENCENT_MPS_MUSIC_PROVIDER;
|
|
4
|
+
var init_music_generation = __esmMin((() => {
|
|
5
|
+
TENCENT_MPS_MUSIC_PROVIDER = "tencent-mps";
|
|
6
|
+
}));
|
|
4
7
|
//#endregion
|
|
5
8
|
init_music_generation();
|
|
6
|
-
export { init_music_generation };
|
|
9
|
+
export { TENCENT_MPS_MUSIC_PROVIDER, init_music_generation };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { __esmMin } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region packages/gateway-contract/src/space.ts
|
|
4
|
+
var SpacePatchSchema, SpaceSaveReplySchema, SpaceSaveVersionSchema;
|
|
5
|
+
var init_space = __esmMin((() => {
|
|
6
|
+
SpacePatchSchema = z.object({
|
|
7
|
+
revision: z.number().int().positive(),
|
|
8
|
+
title: z.string().trim().min(1).max(240).optional(),
|
|
9
|
+
favorite: z.boolean().optional()
|
|
10
|
+
}).strict();
|
|
11
|
+
SpaceSaveReplySchema = z.object({
|
|
12
|
+
conversationId: z.string().min(1).max(160),
|
|
13
|
+
entryId: z.string().min(1).max(160).optional(),
|
|
14
|
+
turnId: z.string().min(1).max(160).optional()
|
|
15
|
+
}).strict().refine((input) => Boolean(input.entryId) !== Boolean(input.turnId));
|
|
16
|
+
SpaceSaveVersionSchema = z.object({
|
|
17
|
+
sourceVersionId: z.string().uuid(),
|
|
18
|
+
revision: z.number().int().positive()
|
|
19
|
+
}).strict();
|
|
20
|
+
}));
|
|
21
|
+
//#endregion
|
|
22
|
+
init_space();
|
|
23
|
+
export { SpacePatchSchema, SpaceSaveReplySchema, SpaceSaveVersionSchema, init_space };
|
|
@@ -14,6 +14,7 @@ var init_task_result_delivery = __esmMin((() => {
|
|
|
14
14
|
deliveryId: z.string().min(1),
|
|
15
15
|
taskId: z.string().min(1),
|
|
16
16
|
taskRunId: z.string().min(1),
|
|
17
|
+
taskResultId: z.string().min(1).optional(),
|
|
17
18
|
taskTitle: z.string().min(1).max(500),
|
|
18
19
|
conversationId: z.string().min(1),
|
|
19
20
|
originTranscriptId: z.string().min(1),
|
|
@@ -36,6 +36,7 @@ var init_task_runs = __esmMin((() => {
|
|
|
36
36
|
causationId: z.string().optional(),
|
|
37
37
|
idempotencyKey: z.string(),
|
|
38
38
|
contractVersion: z.number().int().positive(),
|
|
39
|
+
instructionSequenceAtStart: z.number().int().nonnegative().optional(),
|
|
39
40
|
contextSnapshotId: z.string().optional(),
|
|
40
41
|
policySnapshot: z.record(z.string(), z.unknown()).optional(),
|
|
41
42
|
conversationId: z.string().optional(),
|
|
@@ -1,19 +1,37 @@
|
|
|
1
1
|
import { __esmMin } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { PersonalDeliverableSchema, init_turn_outcome } from "./turn-outcome.js";
|
|
2
3
|
import { SpecialistTaskRequirementsSchema, init_specialists } from "./specialists.js";
|
|
3
4
|
import { TaskAttentionItemSchema, TaskOperationalStateSchema, TaskPhaseSchema, TaskResolutionSchema, TaskWaitSchema, init_task_lifecycle } from "./task-lifecycle.js";
|
|
4
5
|
import { TaskRunSchema, init_task_runs } from "./task-runs.js";
|
|
5
6
|
import { z } from "zod";
|
|
6
7
|
//#region packages/gateway-contract/src/tasks.ts
|
|
8
|
+
function taskCheckId(taskId, contractVersion, criterionIndex) {
|
|
9
|
+
return `${taskId}:${contractVersion}:${criterionIndex}`;
|
|
10
|
+
}
|
|
7
11
|
/** Criteria count as verified only when their passing check cites verified evidence. */
|
|
8
12
|
function verifiedTaskCriteria(receipt) {
|
|
9
|
-
|
|
10
|
-
|
|
13
|
+
return verifiedCheckKeys(receipt, (check) => check.criterion);
|
|
14
|
+
}
|
|
15
|
+
function verifiedTaskCheckIds(receipt) {
|
|
16
|
+
return verifiedCheckKeys(receipt, (check) => check.checkId);
|
|
17
|
+
}
|
|
18
|
+
function verifiedCheckKeys(receipt, key) {
|
|
19
|
+
const evidence = /* @__PURE__ */ new Map();
|
|
20
|
+
for (const item of receipt?.evidence ?? []) evidence.set(item.title, !evidence.has(item.title) && item.strength === "verified");
|
|
21
|
+
const checks = /* @__PURE__ */ new Map();
|
|
22
|
+
for (const check of receipt?.verification.checks ?? []) {
|
|
23
|
+
const id = key(check);
|
|
24
|
+
if (!id) continue;
|
|
25
|
+
checks.set(id, !checks.has(id) && check.status === "passed" && check.evidenceTitles.some((title) => evidence.get(title) === true));
|
|
26
|
+
}
|
|
27
|
+
return new Set([...checks].filter(([, passed]) => passed).map(([criterion]) => criterion));
|
|
11
28
|
}
|
|
12
|
-
var TaskAllocationSchema, TaskPrioritySchema, TaskChangedFieldSchema, TaskAcceptancePolicySchema, ActorRefSchema, TaskContractSchema, TaskSchema, TaskContextRoleSchema, TaskContextEdgeSchema, TaskAuthorityGrantSchema, TaskDependencySummarySchema, TaskEvidenceSchema, TaskJudgmentSchema, TaskRunReceiptSchema, TaskCriterionReviewSchema, TaskCriterionReviewInputSchema, TaskExecutorSelectionSchema, TaskContractInputSchema, TaskContextInputSchema, TaskCreateRequestSchema, TaskPatchRequestSchema, TaskWaitInputSchema, TaskCommandSchema, TaskChangeSourceSchema, TaskPhaseChangeSchema, TaskCommandRequestSchema, TaskDependencyUpdateRequestSchema, TaskBoardPositionRequestSchema, TaskListResponseSchema, TaskConversationStateSchema, TaskSessionLinkSchema, TaskHandoffRequestSchema, TaskDetailResponseSchema;
|
|
29
|
+
var TaskAllocationSchema, TaskPrioritySchema, TaskChangedFieldSchema, TaskAcceptancePolicySchema, ActorRefSchema, TaskResultPolicySchema, TaskWorkspaceDestinationSchema, TaskContractSchema, TaskSchema, TaskContextRoleSchema, TaskContextEdgeSchema, TaskAuthorityGrantSchema, TaskDependencySummarySchema, TaskEvidenceSchema, TaskJudgmentSchema, TaskRunReceiptSchema, TaskCriterionReviewSchema, TaskCriterionReviewInputSchema, TaskExecutorSelectionSchema, TaskContractInputSchema, TaskContextInputSchema, TaskCreateRequestSchema, TaskPatchRequestSchema, TaskWaitInputSchema, TaskCommandSchema, TaskChangeSourceSchema, TaskPhaseChangeSchema, TaskCommandRequestSchema, TaskDependencyUpdateRequestSchema, TaskBoardPositionRequestSchema, TaskPresentationSchema, TaskAcceptanceTargetSchema, TaskResultVersionSchema, TaskListResponseSchema, TaskConversationStateSchema, TaskSessionLinkSchema, TaskHandoffRequestSchema, TaskDetailResponseSchema;
|
|
13
30
|
var init_tasks = __esmMin((() => {
|
|
14
31
|
init_specialists();
|
|
15
32
|
init_task_lifecycle();
|
|
16
33
|
init_task_runs();
|
|
34
|
+
init_turn_outcome();
|
|
17
35
|
TaskAllocationSchema = z.object({
|
|
18
36
|
id: z.string(),
|
|
19
37
|
taskId: z.string(),
|
|
@@ -92,10 +110,23 @@ var init_tasks = __esmMin((() => {
|
|
|
92
110
|
]),
|
|
93
111
|
id: z.string().optional()
|
|
94
112
|
});
|
|
113
|
+
TaskResultPolicySchema = z.enum([
|
|
114
|
+
"standard",
|
|
115
|
+
"selected",
|
|
116
|
+
"connected"
|
|
117
|
+
]);
|
|
118
|
+
TaskWorkspaceDestinationSchema = z.object({
|
|
119
|
+
kind: z.literal("workspace_file"),
|
|
120
|
+
workspaceId: z.string().regex(/^(agent|project):[a-zA-Z0-9_-]{1,200}$/),
|
|
121
|
+
expectedRoot: z.string().min(1).max(2048).optional(),
|
|
122
|
+
relativePath: z.string().min(1).max(2048).refine((path) => !/[\\:\u0000-\u001f]/u.test(path) && path.split("/").every((part) => part && part !== "." && part !== ".."))
|
|
123
|
+
}).strict();
|
|
95
124
|
TaskContractSchema = z.object({
|
|
96
125
|
taskId: z.string(),
|
|
97
126
|
version: z.number().int().positive(),
|
|
98
127
|
objective: z.string(),
|
|
128
|
+
brief: z.string().optional(),
|
|
129
|
+
resultPolicy: TaskResultPolicySchema,
|
|
99
130
|
expectedOutputs: z.array(z.string()),
|
|
100
131
|
acceptanceCriteria: z.array(z.string()),
|
|
101
132
|
constraints: z.array(z.string()),
|
|
@@ -231,6 +262,7 @@ var init_tasks = __esmMin((() => {
|
|
|
231
262
|
"unverified"
|
|
232
263
|
]),
|
|
233
264
|
checks: z.array(z.object({
|
|
265
|
+
checkId: z.string().optional(),
|
|
234
266
|
criterion: z.string(),
|
|
235
267
|
status: z.enum([
|
|
236
268
|
"passed",
|
|
@@ -264,6 +296,7 @@ var init_tasks = __esmMin((() => {
|
|
|
264
296
|
finalizedAt: z.number().int().nonnegative()
|
|
265
297
|
});
|
|
266
298
|
TaskCriterionReviewSchema = z.object({
|
|
299
|
+
checkId: z.string(),
|
|
267
300
|
contractVersion: z.number().int().positive(),
|
|
268
301
|
criterionIndex: z.number().int().nonnegative(),
|
|
269
302
|
criterionText: z.string(),
|
|
@@ -279,6 +312,7 @@ var init_tasks = __esmMin((() => {
|
|
|
279
312
|
TaskCriterionReviewInputSchema = z.object({
|
|
280
313
|
expectedVersion: z.number().int().positive(),
|
|
281
314
|
contractVersion: z.number().int().positive(),
|
|
315
|
+
resultId: z.string().min(1),
|
|
282
316
|
status: z.enum([
|
|
283
317
|
"passed",
|
|
284
318
|
"failed",
|
|
@@ -305,7 +339,9 @@ var init_tasks = __esmMin((() => {
|
|
|
305
339
|
taskId: true,
|
|
306
340
|
version: true,
|
|
307
341
|
createdBy: true,
|
|
308
|
-
createdAt: true
|
|
342
|
+
createdAt: true,
|
|
343
|
+
brief: true,
|
|
344
|
+
resultPolicy: true
|
|
309
345
|
}).extend({ acceptancePolicy: TaskAcceptancePolicySchema.default("verified_auto") });
|
|
310
346
|
TaskContextInputSchema = TaskContextEdgeSchema.omit({
|
|
311
347
|
id: true,
|
|
@@ -390,6 +426,10 @@ var init_tasks = __esmMin((() => {
|
|
|
390
426
|
scheduleAt: z.number().int().nonnegative().optional()
|
|
391
427
|
}),
|
|
392
428
|
z.object({ type: z.literal("request_review") }),
|
|
429
|
+
z.object({
|
|
430
|
+
type: z.literal("signoff"),
|
|
431
|
+
resultId: z.string().min(1)
|
|
432
|
+
}),
|
|
393
433
|
z.object({
|
|
394
434
|
type: z.literal("close"),
|
|
395
435
|
resolution: TaskResolutionSchema
|
|
@@ -452,13 +492,76 @@ var init_tasks = __esmMin((() => {
|
|
|
452
492
|
expectedVersion: z.number().int().positive(),
|
|
453
493
|
beforeTaskId: z.string().trim().min(1).nullable().optional()
|
|
454
494
|
}).strict();
|
|
495
|
+
TaskPresentationSchema = z.object({
|
|
496
|
+
status: z.enum([
|
|
497
|
+
"allocating",
|
|
498
|
+
"captured",
|
|
499
|
+
"ready",
|
|
500
|
+
"queued",
|
|
501
|
+
"running",
|
|
502
|
+
"verifying",
|
|
503
|
+
"waiting",
|
|
504
|
+
"blocked",
|
|
505
|
+
"failed",
|
|
506
|
+
"cancelled",
|
|
507
|
+
"needsUser",
|
|
508
|
+
"review",
|
|
509
|
+
"completed",
|
|
510
|
+
"ended",
|
|
511
|
+
"paused"
|
|
512
|
+
]),
|
|
513
|
+
reason: z.string().optional(),
|
|
514
|
+
primaryAction: z.discriminatedUnion("type", [
|
|
515
|
+
z.object({ type: z.literal("view_results") }),
|
|
516
|
+
z.object({
|
|
517
|
+
type: z.literal("resume"),
|
|
518
|
+
waitId: z.string()
|
|
519
|
+
}),
|
|
520
|
+
z.object({
|
|
521
|
+
type: z.literal("resolve_wait"),
|
|
522
|
+
waitId: z.string()
|
|
523
|
+
}),
|
|
524
|
+
z.object({
|
|
525
|
+
type: z.literal("inspect_run"),
|
|
526
|
+
runId: z.string()
|
|
527
|
+
}),
|
|
528
|
+
z.object({ type: z.literal("review") }),
|
|
529
|
+
z.object({
|
|
530
|
+
type: z.literal("signoff"),
|
|
531
|
+
resultId: z.string()
|
|
532
|
+
}),
|
|
533
|
+
z.object({ type: z.literal("retry_allocation") }),
|
|
534
|
+
z.object({ type: z.literal("mark_ready") }),
|
|
535
|
+
z.object({ type: z.literal("start") }),
|
|
536
|
+
z.object({
|
|
537
|
+
type: z.literal("retry_run"),
|
|
538
|
+
runId: z.string()
|
|
539
|
+
})
|
|
540
|
+
]).optional()
|
|
541
|
+
});
|
|
542
|
+
TaskAcceptanceTargetSchema = z.object({
|
|
543
|
+
id: z.string(),
|
|
544
|
+
runId: z.string().optional(),
|
|
545
|
+
canSignOff: z.boolean()
|
|
546
|
+
});
|
|
547
|
+
TaskResultVersionSchema = z.object({
|
|
548
|
+
id: z.string(),
|
|
549
|
+
runId: z.string(),
|
|
550
|
+
version: z.number().int().positive(),
|
|
551
|
+
contractVersion: z.number().int().positive(),
|
|
552
|
+
assignmentEpoch: z.number().int().nonnegative(),
|
|
553
|
+
instructionSequence: z.number().int().nonnegative(),
|
|
554
|
+
outcomeId: z.string().optional(),
|
|
555
|
+
finalizedAt: z.number().int().nonnegative().optional()
|
|
556
|
+
});
|
|
455
557
|
TaskListResponseSchema = z.object({
|
|
456
558
|
ok: z.literal(true),
|
|
457
559
|
items: z.array(z.object({
|
|
458
560
|
task: TaskSchema,
|
|
459
561
|
allocation: TaskAllocationSchema.optional(),
|
|
460
562
|
operationalState: TaskOperationalStateSchema,
|
|
461
|
-
attention: z.array(TaskAttentionItemSchema)
|
|
563
|
+
attention: z.array(TaskAttentionItemSchema),
|
|
564
|
+
presentation: TaskPresentationSchema
|
|
462
565
|
}))
|
|
463
566
|
});
|
|
464
567
|
z.object({
|
|
@@ -518,11 +621,20 @@ var init_tasks = __esmMin((() => {
|
|
|
518
621
|
task: TaskSchema,
|
|
519
622
|
allocation: TaskAllocationSchema.optional(),
|
|
520
623
|
operationalState: TaskOperationalStateSchema,
|
|
624
|
+
presentation: TaskPresentationSchema,
|
|
625
|
+
acceptanceTarget: TaskAcceptanceTargetSchema.optional(),
|
|
521
626
|
attention: z.array(TaskAttentionItemSchema),
|
|
522
627
|
waits: z.array(TaskWaitSchema),
|
|
523
628
|
runs: z.array(TaskRunSchema),
|
|
524
629
|
receipts: z.array(TaskRunReceiptSchema),
|
|
630
|
+
deliverables: z.array(PersonalDeliverableSchema).optional(),
|
|
525
631
|
criterionReviews: z.array(TaskCriterionReviewSchema),
|
|
632
|
+
acceptanceChecks: z.array(z.object({
|
|
633
|
+
id: z.string(),
|
|
634
|
+
criterion: z.string()
|
|
635
|
+
})).default([]),
|
|
636
|
+
results: z.array(TaskResultVersionSchema).default([]),
|
|
637
|
+
criterionReviewHistory: z.array(TaskCriterionReviewSchema.extend({ resultId: z.string().optional() })).optional(),
|
|
526
638
|
context: z.array(TaskContextEdgeSchema),
|
|
527
639
|
conversation: TaskConversationStateSchema,
|
|
528
640
|
sessions: z.array(TaskSessionLinkSchema),
|
|
@@ -538,4 +650,4 @@ var init_tasks = __esmMin((() => {
|
|
|
538
650
|
}));
|
|
539
651
|
//#endregion
|
|
540
652
|
init_tasks();
|
|
541
|
-
export { ActorRefSchema, TaskAcceptancePolicySchema, TaskAllocationSchema, TaskAuthorityGrantSchema, TaskBoardPositionRequestSchema, TaskChangeSourceSchema, TaskChangedFieldSchema, TaskCommandRequestSchema, TaskCommandSchema, TaskContextEdgeSchema, TaskContextInputSchema, TaskContextRoleSchema, TaskContractInputSchema, TaskContractSchema, TaskConversationStateSchema, TaskCreateRequestSchema, TaskCriterionReviewInputSchema, TaskCriterionReviewSchema, TaskDependencySummarySchema, TaskDependencyUpdateRequestSchema, TaskDetailResponseSchema, TaskEvidenceSchema, TaskExecutorSelectionSchema, TaskHandoffRequestSchema, TaskJudgmentSchema, TaskListResponseSchema, TaskPatchRequestSchema, TaskPhaseChangeSchema, TaskPrioritySchema, TaskRunReceiptSchema, TaskSchema, TaskSessionLinkSchema, init_tasks, verifiedTaskCriteria };
|
|
653
|
+
export { ActorRefSchema, TaskAcceptancePolicySchema, TaskAcceptanceTargetSchema, TaskAllocationSchema, TaskAuthorityGrantSchema, TaskBoardPositionRequestSchema, TaskChangeSourceSchema, TaskChangedFieldSchema, TaskCommandRequestSchema, TaskCommandSchema, TaskContextEdgeSchema, TaskContextInputSchema, TaskContextRoleSchema, TaskContractInputSchema, TaskContractSchema, TaskConversationStateSchema, TaskCreateRequestSchema, TaskCriterionReviewInputSchema, TaskCriterionReviewSchema, TaskDependencySummarySchema, TaskDependencyUpdateRequestSchema, TaskDetailResponseSchema, TaskEvidenceSchema, TaskExecutorSelectionSchema, TaskHandoffRequestSchema, TaskJudgmentSchema, TaskListResponseSchema, TaskPatchRequestSchema, TaskPhaseChangeSchema, TaskPresentationSchema, TaskPrioritySchema, TaskResultPolicySchema, TaskResultVersionSchema, TaskRunReceiptSchema, TaskSchema, TaskSessionLinkSchema, TaskWorkspaceDestinationSchema, init_tasks, taskCheckId, verifiedTaskCheckIds, verifiedTaskCriteria };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __esmMin } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { TaskResearchResultSchema, init_task_research_result } from "./task-research-result.js";
|
|
3
|
+
import { ProductReferenceSchema, init_product_delivery } from "./product-delivery.js";
|
|
3
4
|
import { z } from "zod";
|
|
4
5
|
//#region packages/gateway-contract/src/turn-outcome.ts
|
|
5
6
|
function fileResourceArtifactUri(fileResourceId) {
|
|
@@ -105,9 +106,10 @@ function parseTurnOutcome(value) {
|
|
|
105
106
|
deliverables: mergeTurnOutcomeDeliverables(parsed.data.deliverables)
|
|
106
107
|
} : null;
|
|
107
108
|
}
|
|
108
|
-
var TurnOutcomeDeliverableKindSchema, TurnOutcomeArtifactLocationSchema, TurnOutcomeArtifactAvailabilitySchema, TurnOutcomeArtifactCapabilitySchema, TurnOutcomeDeliverableSchema, TurnOutcomeChangedFileSchema, TurnOutcomeChangeSetSchema, TurnOutcomeEvidenceSchema, TurnOutcomeSchema, FILE_RESOURCE_ARTIFACT_URI_PREFIX;
|
|
109
|
+
var TurnOutcomeDeliverableKindSchema, TurnOutcomeArtifactLocationSchema, TurnOutcomeArtifactAvailabilitySchema, TurnOutcomeArtifactCapabilitySchema, TurnOutcomeDeliverableSchema, TurnOutcomeChangedFileSchema, TurnOutcomeChangeSetSchema, TurnOutcomeEvidenceSchema, TurnOutcomeSchema, PersonalDeliverableSchema, FILE_RESOURCE_ARTIFACT_URI_PREFIX;
|
|
109
110
|
var init_turn_outcome = __esmMin((() => {
|
|
110
111
|
init_task_research_result();
|
|
112
|
+
init_product_delivery();
|
|
111
113
|
TurnOutcomeDeliverableKindSchema = z.enum([
|
|
112
114
|
"document",
|
|
113
115
|
"spreadsheet",
|
|
@@ -220,8 +222,20 @@ var init_turn_outcome = __esmMin((() => {
|
|
|
220
222
|
research: TaskResearchResultSchema.optional(),
|
|
221
223
|
createdAt: z.string()
|
|
222
224
|
});
|
|
225
|
+
PersonalDeliverableSchema = z.object({
|
|
226
|
+
id: z.string(),
|
|
227
|
+
turnId: z.string(),
|
|
228
|
+
createdAt: z.number(),
|
|
229
|
+
task: z.object({
|
|
230
|
+
id: z.string(),
|
|
231
|
+
title: z.string(),
|
|
232
|
+
conversationId: z.string().optional()
|
|
233
|
+
}).optional(),
|
|
234
|
+
artifact: TurnOutcomeDeliverableSchema.optional(),
|
|
235
|
+
reference: ProductReferenceSchema.optional()
|
|
236
|
+
}).refine((item) => Boolean(item.artifact) !== Boolean(item.reference));
|
|
223
237
|
FILE_RESOURCE_ARTIFACT_URI_PREFIX = "xopc-file:";
|
|
224
238
|
}));
|
|
225
239
|
//#endregion
|
|
226
240
|
init_turn_outcome();
|
|
227
|
-
export { TurnOutcomeArtifactAvailabilitySchema, TurnOutcomeArtifactCapabilitySchema, TurnOutcomeArtifactLocationSchema, TurnOutcomeChangeSetSchema, TurnOutcomeChangedFileSchema, TurnOutcomeDeliverableKindSchema, TurnOutcomeDeliverableSchema, TurnOutcomeEvidenceSchema, TurnOutcomeSchema, fileResourceArtifactUri, init_turn_outcome, mergeTurnOutcomeDeliverables, parseFileResourceArtifactUri, parseTurnOutcome, turnOutcomeKindFromFileName, turnOutcomeMimeTypeFromFileName };
|
|
241
|
+
export { PersonalDeliverableSchema, TurnOutcomeArtifactAvailabilitySchema, TurnOutcomeArtifactCapabilitySchema, TurnOutcomeArtifactLocationSchema, TurnOutcomeChangeSetSchema, TurnOutcomeChangedFileSchema, TurnOutcomeDeliverableKindSchema, TurnOutcomeDeliverableSchema, TurnOutcomeEvidenceSchema, TurnOutcomeSchema, fileResourceArtifactUri, init_turn_outcome, mergeTurnOutcomeDeliverables, parseFileResourceArtifactUri, parseTurnOutcome, turnOutcomeKindFromFileName, turnOutcomeMimeTypeFromFileName };
|
|
@@ -10,6 +10,7 @@ function estimateVideoCostFen(modelRef, duration, resolution) {
|
|
|
10
10
|
"720P": 60,
|
|
11
11
|
"1080P": 120
|
|
12
12
|
};
|
|
13
|
+
if (VIDEO_MODELS[modelRef].provider === "xopc-cloud") return 0;
|
|
13
14
|
if (modelRef === "dashscope-cn/wan3.0-video") return seconds * wanPricePerSecond[resolution];
|
|
14
15
|
const pixels = {
|
|
15
16
|
"480P": 854 * 480,
|
|
@@ -19,7 +20,7 @@ function estimateVideoCostFen(modelRef, duration, resolution) {
|
|
|
19
20
|
const yuanPerMillionTokens = modelRef === "volcengine-ark/doubao-seedance-2-5-260628" ? resolution === "1080P" ? 77 : 70 : 37;
|
|
20
21
|
return Math.ceil(seconds * pixels[resolution] * 24 / 1024 * yuanPerMillionTokens / 1e4);
|
|
21
22
|
}
|
|
22
|
-
var VIDEO_RESOLUTIONS, WAN_VIDEO_MODEL_REF, SEEDANCE_VIDEO_MODEL_REF, SEEDANCE_FAST_VIDEO_MODEL_REF, VIDEO_MODEL_REFS, VIDEO_MODELS, VIDEO_IMAGE_MAX_BYTES;
|
|
23
|
+
var VIDEO_RESOLUTIONS, WAN_VIDEO_MODEL_REF, SEEDANCE_VIDEO_MODEL_REF, SEEDANCE_FAST_VIDEO_MODEL_REF, CLOUD_WAN_VIDEO_MODEL_REF, CLOUD_SEEDANCE_VIDEO_MODEL_REF, CLOUD_SEEDANCE_FAST_VIDEO_MODEL_REF, LOCAL_VIDEO_MODEL_REFS, VIDEO_MODEL_REFS, localVideoModels, VIDEO_MODELS, VIDEO_IMAGE_MAX_BYTES;
|
|
23
24
|
var init_video_generation = __esmMin((() => {
|
|
24
25
|
VIDEO_RESOLUTIONS = [
|
|
25
26
|
"480P",
|
|
@@ -29,12 +30,21 @@ var init_video_generation = __esmMin((() => {
|
|
|
29
30
|
WAN_VIDEO_MODEL_REF = "dashscope-cn/wan3.0-video";
|
|
30
31
|
SEEDANCE_VIDEO_MODEL_REF = "volcengine-ark/doubao-seedance-2-5-260628";
|
|
31
32
|
SEEDANCE_FAST_VIDEO_MODEL_REF = "volcengine-ark/doubao-seedance-2-0-fast-260128";
|
|
32
|
-
|
|
33
|
+
CLOUD_WAN_VIDEO_MODEL_REF = "xopc-cloud/video";
|
|
34
|
+
CLOUD_SEEDANCE_VIDEO_MODEL_REF = "xopc-cloud/video-seedance";
|
|
35
|
+
CLOUD_SEEDANCE_FAST_VIDEO_MODEL_REF = "xopc-cloud/video-seedance-fast";
|
|
36
|
+
LOCAL_VIDEO_MODEL_REFS = [
|
|
33
37
|
WAN_VIDEO_MODEL_REF,
|
|
34
38
|
SEEDANCE_VIDEO_MODEL_REF,
|
|
35
39
|
SEEDANCE_FAST_VIDEO_MODEL_REF
|
|
36
40
|
];
|
|
37
|
-
|
|
41
|
+
VIDEO_MODEL_REFS = [
|
|
42
|
+
...LOCAL_VIDEO_MODEL_REFS,
|
|
43
|
+
CLOUD_WAN_VIDEO_MODEL_REF,
|
|
44
|
+
CLOUD_SEEDANCE_VIDEO_MODEL_REF,
|
|
45
|
+
CLOUD_SEEDANCE_FAST_VIDEO_MODEL_REF
|
|
46
|
+
];
|
|
47
|
+
localVideoModels = {
|
|
38
48
|
[WAN_VIDEO_MODEL_REF]: {
|
|
39
49
|
provider: "dashscope-cn",
|
|
40
50
|
name: "Wan 3.0",
|
|
@@ -68,8 +78,23 @@ var init_video_generation = __esmMin((() => {
|
|
|
68
78
|
]
|
|
69
79
|
}
|
|
70
80
|
};
|
|
81
|
+
VIDEO_MODELS = {
|
|
82
|
+
...localVideoModels,
|
|
83
|
+
[CLOUD_WAN_VIDEO_MODEL_REF]: {
|
|
84
|
+
...localVideoModels[WAN_VIDEO_MODEL_REF],
|
|
85
|
+
provider: "xopc-cloud"
|
|
86
|
+
},
|
|
87
|
+
[CLOUD_SEEDANCE_VIDEO_MODEL_REF]: {
|
|
88
|
+
...localVideoModels[SEEDANCE_VIDEO_MODEL_REF],
|
|
89
|
+
provider: "xopc-cloud"
|
|
90
|
+
},
|
|
91
|
+
[CLOUD_SEEDANCE_FAST_VIDEO_MODEL_REF]: {
|
|
92
|
+
...localVideoModels[SEEDANCE_FAST_VIDEO_MODEL_REF],
|
|
93
|
+
provider: "xopc-cloud"
|
|
94
|
+
}
|
|
95
|
+
};
|
|
71
96
|
VIDEO_IMAGE_MAX_BYTES = 5 * 1024 * 1024;
|
|
72
97
|
}));
|
|
73
98
|
//#endregion
|
|
74
99
|
init_video_generation();
|
|
75
|
-
export { SEEDANCE_FAST_VIDEO_MODEL_REF, SEEDANCE_VIDEO_MODEL_REF, VIDEO_IMAGE_MAX_BYTES, VIDEO_MODELS, VIDEO_MODEL_REFS, VIDEO_RESOLUTIONS, WAN_VIDEO_MODEL_REF, estimateVideoCostFen, init_video_generation, isVideoDurationSupported };
|
|
100
|
+
export { CLOUD_SEEDANCE_FAST_VIDEO_MODEL_REF, CLOUD_SEEDANCE_VIDEO_MODEL_REF, CLOUD_WAN_VIDEO_MODEL_REF, LOCAL_VIDEO_MODEL_REFS, SEEDANCE_FAST_VIDEO_MODEL_REF, SEEDANCE_VIDEO_MODEL_REF, VIDEO_IMAGE_MAX_BYTES, VIDEO_MODELS, VIDEO_MODEL_REFS, VIDEO_RESOLUTIONS, WAN_VIDEO_MODEL_REF, estimateVideoCostFen, init_video_generation, isVideoDurationSupported };
|
|
@@ -2,13 +2,13 @@ import { resolveStateDir } from "../config/paths-state.js";
|
|
|
2
2
|
import { createLogger } from "../utils/logger/index.js";
|
|
3
3
|
import { init_logger } from "../utils/logger.js";
|
|
4
4
|
import { isXopcDatabaseOpen } from "../storage/sqlite/connection.js";
|
|
5
|
+
import { expandWorkspacePathString, init_workspace_path } from "../config/workspace-path.js";
|
|
6
|
+
import { init_agent_scope, listAgentEntries, resolveAgentProfileDir } from "./agent-scope.js";
|
|
5
7
|
import { getSessionMetadata } from "../storage/sqlite/session-read-repository.js";
|
|
6
8
|
import { consumeClarificationApproval } from "../storage/sqlite/clarification-wait-repository.js";
|
|
7
9
|
import { getInteractionState } from "../storage/sqlite/interaction-state-repository.js";
|
|
8
10
|
import { getSessionConfig } from "../storage/sqlite/config-repository.js";
|
|
9
11
|
import "../storage/sqlite/index.js";
|
|
10
|
-
import { expandWorkspacePathString, init_workspace_path } from "../config/workspace-path.js";
|
|
11
|
-
import { init_agent_scope, listAgentEntries, resolveAgentProfileDir } from "./agent-scope.js";
|
|
12
12
|
import { init_paths, resolveBundledSkillsDir } from "../config/paths.js";
|
|
13
13
|
import { pluginRuntimeAccessKey } from "../extensions/agent-plugins/capability-access.js";
|
|
14
14
|
import { getAgentDefaultModelRef, init_schema } from "../config/schema.js";
|
|
@@ -23,6 +23,7 @@ Goal shape:
|
|
|
23
23
|
|
|
24
24
|
Collaboration rule shape:
|
|
25
25
|
{"intent":"user_assertion","category":"communication","priority":10,"scope":{"type":"global"},"conditions":{"enforcementLevel":"prompt"},"statement":"Keep status updates concise.","evidence":[{"ref":"entry-id","quote":"exact quote"}],"selfContained":true,"unresolvedReferences":[]}
|
|
26
|
+
Rule categories: communication, execution, boundary, routine, initiative. Use execution for tool selection. If the evidence says "remember" or "请记住", use intent="remember" for that grounded assertion and rule, even when the top-level intent differs.
|
|
26
27
|
|
|
27
28
|
Work knowledge shape (independent of user intent):
|
|
28
29
|
{"kind":"decision","topicKey":"atlas-storage","predicate":"storage.choice","statement":"Atlas uses SQLite because deployment must stay local.","scope":"${options.scopeContext?.projectId ? "project" : "workspace"}","confidence":0.8,"importance":0.8,"evidence":[{"ref":"entry-id","quote":"exact quote"}]}
|
|
@@ -58,6 +59,9 @@ Rules:
|
|
|
58
59
|
- A question about what is remembered uses query and creates no assertion operation.
|
|
59
60
|
- A request to create, summarize, update, investigate, or track work uses top-level task. Still extract independently supported durable personal statements from it.
|
|
60
61
|
- Example: "Fix this page; from now on use Chinese for UI copy in this project" produces top-level task, a project-scoped preference with intent=user_assertion, and any independent work facts. It does not imply a global language preference.
|
|
62
|
+
- Choose the scope of the individual claim, independently of the chat where it was stated. A direct durable personal preference that applies to the user's collaboration generally is global, even when stated alongside a project task. "Fix Atlas. Whenever you give me a status update, start with the conclusion" is global. "For this project's status updates, start with the conclusion" is project-scoped. Quote the scope qualifiers and don't merge into an existing item of a different scope.
|
|
63
|
+
- Save a standing tool-selection instruction as an execution collaboration rule. Do not repeat the same instruction as a work decision or a personal assertion. "In all projects, use slacrawl when reading Slack" is global; "use slacrawl for all Slack reads" covers a class of operations, not all projects. Use the current project (or workspace outside a project) when cross-project applicability is unclear. Keep task, tool and account conditions in the wording.
|
|
64
|
+
- Repeated choices and task outcomes do not establish a global preference or rule. Keep project facts, decisions and verified lessons as work knowledge in their original scope, even if a reusable lesson could be useful elsewhere.
|
|
61
65
|
- Distinguish the user from their work: identity, capabilities, recurring habits and ongoing collaboration preferences belong in assertions; project technology, bugs, decisions, deadlines and progress belong in knowledge. Do not store the same personal preference only as work knowledge.
|
|
62
66
|
- A direct ongoing preference needs no separate remember command. One-off requests such as "make this title blue" do not establish a lasting preference.
|
|
63
67
|
- Source attribution precedes extraction. Text inside third-party quotations, blockquotes, code, translations, examples, role-play and hypothetical requests is not the owner's self-description. Do not learn the quoted person's preferences, even if the user asks you to translate a first-person sentence. In mixed messages retain the owner's separate unquoted durable statement. Quotation marks around the value of an owned preference ("I prefer ‘examples first’") do not make it third-party evidence.
|
|
@@ -65,7 +69,7 @@ Rules:
|
|
|
65
69
|
- For evidence quotes preserve qualifiers such as today, this time, the customer said, and hypothetical. Never clip these qualifiers to manufacture a durable personal assertion. Temporary state must not become stable preference, routine, value, identity or derived insight; a genuine current_state needs a resolved finite validTo, otherwise omit it. One-off literal reply/formatting instructions are task-local and not a lasting preference, even if repeated. Ignore only that local instruction clause, not an independent lasting preference in the same message. For example, "I have always preferred examples before explanations. For this turn just reply OK" contains one direct user_explicit preference, not zero and not an inferred pattern.
|
|
66
70
|
- Personal facts and preferences must not be smuggled into work knowledge, goals or collaboration rules when their assertion evidence is inadmissible. Assistant guesses about the user are not useful work notes; omit them.
|
|
67
71
|
- Observed behavior or synthesized understanding requires at least two distinct user messages with independent supporting choices. Repeated assistant summaries, copied user messages and a single local choice do not establish a pattern. Preserve scope and label these claims user_observed or system_inferred.
|
|
68
|
-
- Ongoing communication and
|
|
72
|
+
- Ongoing communication and response preferences must also be represented as personal preference assertions so they can guide the next relevant response without waiting for a rule to be confirmed. For an operational instruction with an explicit request to remember it, the active execution rule is sufficient.
|
|
69
73
|
- Every assertion operation needs an exact quote from a user message. Assistant messages can resolve context but are never evidence.
|
|
70
74
|
- Extract zero to eight independent assertion operations. Each operation represents one stable predicate and one value.
|
|
71
75
|
- Extract a goal only when the user explicitly describes a durable desired outcome, not a one-off task request.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { isXopcDatabaseOpen } from "../../storage/sqlite/connection.js";
|
|
2
|
+
import { AgentCatalogRepository, init_repository } from "../../agent-catalog/repository.js";
|
|
2
3
|
import { getSessionMetadata } from "../../storage/sqlite/session-read-repository.js";
|
|
3
4
|
import { getSessionConfig } from "../../storage/sqlite/config-repository.js";
|
|
4
5
|
import "../../storage/sqlite/index.js";
|
|
5
|
-
import { AgentCatalogRepository, init_repository } from "../../agent-catalog/repository.js";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
7
7
|
import { getCurrentTools } from "@earendil-works/pi-ai";
|
|
8
8
|
//#region src/agent/embedded/agent-profile-context.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { stripRuntimeUserMessageEnvelope } from "../../../packages/gateway-contract/src/user-message-display.js";
|
|
2
2
|
import { init_src } from "../../../packages/gateway-contract/src/index.js";
|
|
3
|
+
import { mimeTypeFromMediaPath } from "../../media/store.js";
|
|
3
4
|
import { readAgentMessageContent } from "../memory/agent-message-access.js";
|
|
4
5
|
import { extractProfileAgentId } from "../../config/agent-profile.js";
|
|
5
6
|
import { isPersonalConversation } from "../../personal-agent/repository.js";
|
|
6
|
-
import { mimeTypeFromMediaPath } from "../../media/store.js";
|
|
7
7
|
import { readMediaReference } from "../../media/media-reference.js";
|
|
8
8
|
import { isImageInboundAttachment } from "../../channels/attachments/attachment-classifiers.js";
|
|
9
9
|
import "../../channels/attachments/inbound-persist.js";
|
|
@@ -19,7 +19,7 @@ export declare const DELEGATION_BUDGETS: {
|
|
|
19
19
|
export type DelegationBudgetTier = keyof typeof DELEGATION_BUDGETS;
|
|
20
20
|
export type DelegationStopReason = 'completed' | 'tool_calls' | 'total_tokens' | 'model_turns' | 'tool_failures' | 'timeout' | 'deadline_exceeded' | 'user_cancelled' | 'parent_cancelled' | 'provider_error' | 'cancelled' | 'parent_policy' | 'credit_budget' | 'runtime_error' | 'verification';
|
|
21
21
|
export declare function resolveDelegationBudget(tier?: DelegationBudgetTier, maxIterations?: number, timeoutMs?: number): {
|
|
22
|
-
tier: "
|
|
22
|
+
tier: "standard" | "light" | "deep";
|
|
23
23
|
limits: {
|
|
24
24
|
maxToolCalls: number;
|
|
25
25
|
maxTotalTokens: 50000 | 100000 | 200000;
|
|
@@ -53,7 +53,7 @@ export declare function createDelegationBudgetPolicy(budget: ReturnType<typeof r
|
|
|
53
53
|
handoffRequested: boolean;
|
|
54
54
|
handoffRequestStarted: boolean;
|
|
55
55
|
handoffReason: DelegationStopReason;
|
|
56
|
-
tier: "
|
|
56
|
+
tier: "standard" | "light" | "deep";
|
|
57
57
|
limits: {
|
|
58
58
|
maxToolCalls: number;
|
|
59
59
|
maxTotalTokens: 50000 | 100000 | 200000;
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import type { AgentMessage } from '@earendil-works/pi-agent-core';
|
|
2
2
|
export declare const ACCEPTANCE_REPAIR_READ_TOOLS: Set<string>;
|
|
3
|
-
|
|
4
|
-
export
|
|
3
|
+
export declare const RECOVERY_READ_TOOLS: Set<string>;
|
|
4
|
+
export type UnconfirmedToolEffect = {
|
|
5
|
+
cause: 'aborted_turn' | 'failed_tool' | 'missing_tool_result';
|
|
6
|
+
toolCallId?: string;
|
|
7
|
+
toolName?: string;
|
|
8
|
+
};
|
|
9
|
+
type RecoveryOptions = {
|
|
5
10
|
allowFailedReadTools?: ReadonlySet<string>;
|
|
6
|
-
|
|
11
|
+
allowMissingReadTools?: ReadonlySet<string>;
|
|
12
|
+
};
|
|
13
|
+
export declare function findUnconfirmedToolEffect(rows: readonly unknown[], options?: RecoveryOptions): UnconfirmedToolEffect | undefined;
|
|
14
|
+
export declare function canResumeAfterModelFailure(rows: readonly unknown[], options?: RecoveryOptions): boolean;
|
|
7
15
|
export declare function recoveryToolKey(name: string, args: unknown): string;
|
|
8
16
|
/** Prevent a recovering model from replaying an already confirmed operation with a new call ID. */
|
|
9
17
|
export declare function completedRecoveryToolResult(messages: readonly AgentMessage[], name: string, args: unknown): string | undefined;
|
|
18
|
+
export {};
|
|
@@ -17,22 +17,41 @@ const ACCEPTANCE_REPAIR_READ_TOOLS = new Set([
|
|
|
17
17
|
"task_collaboration",
|
|
18
18
|
"publish_task_result"
|
|
19
19
|
]);
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
const RECOVERY_READ_TOOLS = new Set([
|
|
21
|
+
"read_file",
|
|
22
|
+
"list_dir",
|
|
23
|
+
"find",
|
|
24
|
+
"grep"
|
|
25
|
+
]);
|
|
26
|
+
function findUnconfirmedToolEffect(rows, options) {
|
|
22
27
|
const messages = rows.filter((row) => !!row && typeof row === "object");
|
|
23
28
|
const pending = /* @__PURE__ */ new Map();
|
|
24
29
|
for (const message of messages.slice(Math.max(0, messages.findLastIndex((item) => item.role === "user")))) if (message.role === "assistant") {
|
|
25
|
-
if (message.stopReason === "aborted") return
|
|
30
|
+
if (message.stopReason === "aborted") return { cause: "aborted_turn" };
|
|
26
31
|
if (message.stopReason === "error") continue;
|
|
27
32
|
for (const block of Array.isArray(message.content) ? message.content : []) if (block?.type === "toolCall" && typeof block.id === "string") pending.set(block.id, block);
|
|
28
33
|
} else if (message.role === "toolResult") {
|
|
29
34
|
const recordedReplay = Array.isArray(message.content) && message.content.some((block) => block?.type === "text" && typeof block.text === "string" && block.text.startsWith("This operation already completed before recovery."));
|
|
30
35
|
const call = typeof message.toolCallId === "string" ? pending.get(message.toolCallId) : void 0;
|
|
31
36
|
const readOnly = options?.allowFailedReadTools?.has(String(message.toolName)) && (message.toolName !== "task_collaboration" || call?.name === message.toolName && call.arguments?.command === "get" && (call.arguments.materialize === void 0 || call.arguments.materialize === false));
|
|
32
|
-
if (message.isError && !recordedReplay && !readOnly) return
|
|
37
|
+
if (message.isError && !recordedReplay && !readOnly) return {
|
|
38
|
+
cause: "failed_tool",
|
|
39
|
+
...typeof message.toolCallId === "string" ? { toolCallId: message.toolCallId } : {},
|
|
40
|
+
...typeof message.toolName === "string" ? { toolName: message.toolName } : {}
|
|
41
|
+
};
|
|
33
42
|
if (typeof message.toolCallId === "string") pending.delete(message.toolCallId);
|
|
34
43
|
}
|
|
35
|
-
|
|
44
|
+
for (const [toolCallId, call] of pending) {
|
|
45
|
+
if (call.name && options?.allowMissingReadTools?.has(call.name)) continue;
|
|
46
|
+
return {
|
|
47
|
+
cause: "missing_tool_result",
|
|
48
|
+
toolCallId,
|
|
49
|
+
...call.name ? { toolName: call.name } : {}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
function canResumeAfterModelFailure(rows, options) {
|
|
54
|
+
return findUnconfirmedToolEffect(rows, options) === void 0;
|
|
36
55
|
}
|
|
37
56
|
function recoveryToolKey(name, args) {
|
|
38
57
|
return JSON.stringify([name, args], (_key, value) => value && typeof value === "object" && !Array.isArray(value) ? Object.fromEntries(Object.entries(value).sort(([a], [b]) => a.localeCompare(b))) : value);
|
|
@@ -46,4 +65,4 @@ function completedRecoveryToolResult(messages, name, args) {
|
|
|
46
65
|
} else if (message.role === "toolResult" && !message.isError && calls.get(message.toolCallId) === key) return `This operation already completed before recovery. Do not execute it again. Use its recorded result and continue the remaining work:\n${JSON.stringify(message.content).slice(0, 8e3)}`;
|
|
47
66
|
}
|
|
48
67
|
//#endregion
|
|
49
|
-
export { ACCEPTANCE_REPAIR_READ_TOOLS, canResumeAfterModelFailure, completedRecoveryToolResult, recoveryToolKey };
|
|
68
|
+
export { ACCEPTANCE_REPAIR_READ_TOOLS, RECOVERY_READ_TOOLS, canResumeAfterModelFailure, completedRecoveryToolResult, findUnconfirmedToolEffect, recoveryToolKey };
|
|
@@ -3,10 +3,10 @@ import { init_src } from "../../../packages/gateway-contract/src/index.js";
|
|
|
3
3
|
import { init_session_input_repository, listTaskUpdateTriggers } from "../../storage/sqlite/session-input-repository.js";
|
|
4
4
|
import { init_types, isSessionSourceBinding, summarizeSourceContext } from "../source-context/types.js";
|
|
5
5
|
import { init_injector, injectSourceContextsIntoUserMessage } from "../source-context/injector.js";
|
|
6
|
+
import { init_agent_scope, resolveDefaultAgentId } from "../agent-scope.js";
|
|
6
7
|
import { getConnectionResumeInput, init_connection_wait_repository } from "../../storage/sqlite/connection-wait-repository.js";
|
|
7
8
|
import { readAgentMessageContent } from "../memory/agent-message-access.js";
|
|
8
9
|
import { getClarificationResumeInput } from "../../storage/sqlite/clarification-wait-repository.js";
|
|
9
|
-
import { init_agent_scope, resolveDefaultAgentId } from "../agent-scope.js";
|
|
10
10
|
import { init_model_usage, modelUsageOriginFromTurn, withModelUsageOrigin } from "../../providers/model-usage.js";
|
|
11
11
|
import { init_agent_session_key, resolveAgentMainConversationId } from "../../routing/agent-session-key.js";
|
|
12
12
|
import { clearPendingTranscriptUserMessage, setPendingTranscriptUserMessage } from "../inbound/attachment-pipeline.js";
|
|
@@ -6,8 +6,8 @@ import { mergeTtsConfigFromAppConfig } from "../../voice/tts/merge-config.js";
|
|
|
6
6
|
import { getChannelOutputFormat, shouldUseTTS } from "../../voice/tts/service.js";
|
|
7
7
|
import { compressAudio } from "../../voice/tts/audio.js";
|
|
8
8
|
import { persistOutboundTtsAudio } from "../../channels/attachments/outbound-tts-persist.js";
|
|
9
|
-
import "../../voice/tts/index.js";
|
|
10
9
|
import { deleteMediaUris } from "../../media/session-references.js";
|
|
10
|
+
import "../../voice/tts/index.js";
|
|
11
11
|
//#region src/agent/service/webchat-tts.ts
|
|
12
12
|
/** True when the explicit TTS tool already produced durable Webchat audio. */
|
|
13
13
|
function isSuccessfulWebchatTtsToolEvent(event) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createLogger } from "../utils/logger/index.js";
|
|
2
2
|
import { init_logger } from "../utils/logger.js";
|
|
3
|
-
import { parseNoteAttachmentTarget } from "../notes/attachment-ref.js";
|
|
4
3
|
import { init_agent_scope, resolveAgentHomeDir, resolveDefaultAgentId } from "./agent-scope.js";
|
|
4
|
+
import { parseNoteAttachmentTarget } from "../notes/attachment-ref.js";
|
|
5
5
|
import { getAgentDefaultModelRef, init_schema } from "../config/schema.js";
|
|
6
6
|
import { init_agent_session_key, resolveAgentIdFromConversationId } from "../routing/agent-session-key.js";
|
|
7
7
|
import { extractProfileAgentId, resolveEffectiveAgentConfigForSession } from "../config/agent-profile.js";
|