@xopcai/xopc 0.0.481 → 0.0.482
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/manifest.json +1 -1
- package/dist/extensions/dingtalk/src/index.js +8 -3
- package/dist/extensions/feishu/src/outbound/media-load.js +1 -1
- package/dist/extensions/feishu/src/transport/client/install-sdk.js +1 -1
- package/dist/extensions/telegram/xopc.extension.json +1 -1
- package/dist/extensions/weixin/src/api/api.js +2 -2
- package/dist/extensions/weixin/src/auth/accounts.js +1 -1
- package/dist/extensions/weixin/src/cdn/upload.js +1 -1
- package/dist/extensions/weixin/src/media/data-url.js +1 -1
- package/dist/extensions/weixin/src/messaging/debug-mode.js +1 -1
- package/dist/extensions/weixin/src/messaging/inbound.js +1 -1
- package/dist/extensions/weixin/src/messaging/process-message.js +1 -1
- package/dist/gateway/server/chunks.bin +1537 -1541
- package/dist/gateway/server/chunks.json +1 -1
- package/dist/gateway/static/root/assets/{activity-store-zMwJQbPV.js → activity-store-BCPCuT-6.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-avatar-dicebear-VUJHrVXo.js → agent-avatar-dicebear-Di9jxcH9.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-avatar-display-umdw-BQZ.js → agent-avatar-display-KbzBlJ8W.js} +2 -2
- package/dist/gateway/static/root/assets/{agent-defaults-settings-panel-2JEkjXQB.js → agent-defaults-settings-panel-CYZzdU6C.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-plugin-dialog-Cz08StU4.js → agent-plugin-dialog-Bhkawcil.js} +1 -1
- package/dist/gateway/static/root/assets/{agents-BXVjWw0p.js → agents-B2RXJeIo.js} +3 -3
- package/dist/gateway/static/root/assets/{agents-admin-api-C1Ab97Mn.js → agents-admin-api-DpfkHNbc.js} +1 -1
- package/dist/gateway/static/root/assets/{api-B2QJSgN6.js → api-BtngCZrB.js} +1 -1
- package/dist/gateway/static/root/assets/{api-5GGJYrzC.js → api-CnOSHyKU.js} +1 -1
- package/dist/gateway/static/root/assets/{app-management-settings-panel-IaAONzFg.js → app-management-settings-panel-Dyc3I-ng.js} +1 -1
- package/dist/gateway/static/root/assets/{appearance-settings-BFo0Yk57.js → appearance-settings-CmdhL-0n.js} +1 -1
- package/dist/gateway/static/root/assets/{apps-page-aVZLDS59.js → apps-page-BFqC9Knk.js} +1 -1
- package/dist/gateway/static/root/assets/{archive-plugin-BgX_1X6q.js → archive-plugin-DFP0MajV.js} +1 -1
- package/dist/gateway/static/root/assets/{automation-api-DtFbVh6a.js → automation-api-Cc5X3Q1t.js} +1 -1
- package/dist/gateway/static/root/assets/{automation-result-state-CBfGJb7v.js → automation-result-state-B7fHzLLf.js} +1 -1
- package/dist/gateway/static/root/assets/{automation-run-list-C-nOpY2_.js → automation-run-list-DPTby29p.js} +1 -1
- package/dist/gateway/static/root/assets/{automation-task-card-BgS9JQeL.js → automation-task-card-CjzArAJi.js} +1 -1
- package/dist/gateway/static/root/assets/{automations-page-C6dw7Nqb.js → automations-page-BKbElVfF.js} +1 -1
- package/dist/gateway/static/root/assets/{automations-workspace-CKCsL5wQ.js → automations-workspace-_18qOoLm.js} +2 -2
- package/dist/gateway/static/root/assets/{binary-plugins-DX9lDAWC.js → binary-plugins-DnE-iqaV.js} +1 -1
- package/dist/gateway/static/root/assets/{block-editor-DRNtaARK.js → block-editor-CYobheuw.js} +4 -4
- package/dist/gateway/static/root/assets/{browser-settings-page-Btf2a-_0.js → browser-settings-page-BLniK98R.js} +1 -1
- package/dist/gateway/static/root/assets/capabilities-BfTF_flC.js +1 -0
- package/dist/gateway/static/root/assets/{capabilities-C5MLP2Rx.js → capabilities-oihQXc5J.js} +1 -1
- package/dist/gateway/static/root/assets/capabilities-page-B32XFJ59.js +2 -0
- package/dist/gateway/static/root/assets/{capabilities-settings-panel-7MsgsVvQ.js → capabilities-settings-panel-CWnHPY8j.js} +1 -1
- package/dist/gateway/static/root/assets/{channels-CLpOmzO5.js → channels-DEIqjf9M.js} +1 -1
- package/dist/gateway/static/root/assets/{chat-agents-api-JoSvbwve.js → chat-agents-api-BzuJyysa.js} +1 -1
- package/dist/gateway/static/root/assets/{chat-chart-block-D1XpCNA5.js → chat-chart-block-DurSfGy2.js} +1 -1
- package/dist/gateway/static/root/assets/chat-page-CK4aWVbI.js +74 -0
- package/dist/gateway/static/root/assets/{chat-terminal-dock-BDHq9kj3.js → chat-terminal-dock-UBaRUsXJ.js} +1 -1
- package/dist/gateway/static/root/assets/{command-palette-api-C2IaBEe4.js → command-palette-api-3kNqE3U7.js} +1 -1
- package/dist/gateway/static/root/assets/{composer-model-config-control-C5hjuJQc.js → composer-model-config-control-CrI-u8F_.js} +1 -1
- package/dist/gateway/static/root/assets/{composer-notifications-BSboNnS6.js → composer-notifications-L6u0F2_8.js} +1 -1
- package/dist/gateway/static/root/assets/{composer-payload-handoff-D5CvsQWj.js → composer-payload-handoff-DdHGkHOq.js} +1 -1
- package/dist/gateway/static/root/assets/{computer-settings-page-CwB7HgUb.js → computer-settings-page-BwvCOkbI.js} +1 -1
- package/dist/gateway/static/root/assets/{connected-providers-grid-DPJ_E0_Y.js → connected-providers-grid-B8eiZl6Z.js} +1 -1
- package/dist/gateway/static/root/assets/{connection-usage-guide-DWj6jcFA.js → connection-usage-guide-CydSRk3h.js} +1 -1
- package/dist/gateway/static/root/assets/{connector-service-page-DEnQE7bH.js → connector-service-page-CLBi6R-Z.js} +1 -1
- package/dist/gateway/static/root/assets/{connectors-api-BRGeDfyP.js → connectors-api-Bn2IbtcF.js} +1 -1
- package/dist/gateway/static/root/assets/{connectors-page--3zYHSCM.js → connectors-page-ywk7W0s6.js} +1 -1
- package/dist/gateway/static/root/assets/{date-picker-jqmqOuOL.js → date-picker-DsD7NIm2.js} +1 -1
- package/dist/gateway/static/root/assets/{date-time-picker-B3n_gScw.js → date-time-picker-BhnBpBpj.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-D8Tz4lEu.js → desktop-pet-eFR-zmP2.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-settings-24N6UYdz.js → desktop-pet-settings-CfFTYstQ.js} +1 -1
- package/dist/gateway/static/root/assets/{dev-view-store-DMaKk2H5.js → dev-view-store-D_uPX9_R.js} +1 -1
- package/dist/gateway/static/root/assets/{device-pairing-wizard-CUMh0ui_.js → device-pairing-wizard-BeLkoDUp.js} +1 -1
- package/dist/gateway/static/root/assets/{directory-picker-path-field-DqknuyWo.js → directory-picker-path-field-5wZa0JF3.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-authoritative-grants-Choc5BaY.js → extension-authoritative-grants-DaA0KXyO.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-debug-page-8tHOJM-0.js → extension-debug-page-CXe8jimk.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-iframe-host-crHrHgry.js → extension-iframe-host-BwMISzWU.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-marketplace-api-3vDR-EC4.js → extension-marketplace-api-DuWuae8G.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-message-router-CBdW5Mi0.js → extension-message-router-DzBfVl6h.js} +2 -2
- package/dist/gateway/static/root/assets/{extension-page-ouZIIOwR.js → extension-page-DW18FOb8.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-provider-CJJRG7Gq.js → extension-provider-CyYrgUw-.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-settings-page-BO8VsTJF.js → extension-settings-page-ByGVQYDw.js} +1 -1
- package/dist/gateway/static/root/assets/{file-preview-surface-zEJDQWOT.js → file-preview-surface-Cw70pwph.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-config-swr-CNzw8MWj.js → gateway-config-swr-BYoBGl6i.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-realtime-BCghEC3U.js → gateway-realtime-Dzq6_piH.js} +1 -1
- package/dist/gateway/static/root/assets/gateway-realtime-store-B9CDQ8NO.js +1 -0
- package/dist/gateway/static/root/assets/{gateway-restart-DaKNDKV9.js → gateway-restart-CtqJpyNu.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-settings-BxBJ1zGZ.js → gateway-settings-xzO7KDsu.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-startup-retry-CSY11ude.js → gateway-startup-retry-DCDOl6Oo.js} +1 -1
- package/dist/gateway/static/root/assets/{global-defaults-api-C0qPO4zT.js → global-defaults-api-DXFSI87T.js} +1 -1
- package/dist/gateway/static/root/assets/{home-page-DzSLTEJf.js → home-page-CztF0goW.js} +5 -5
- package/dist/gateway/static/root/assets/home-task-actions-DTXb7Gc7.js +1 -0
- package/dist/gateway/static/root/assets/{image-generation-api-CD1tNChr.js → image-generation-api-Ck0rMJy3.js} +1 -1
- package/dist/gateway/static/root/assets/{imports-page-DHWKf1n3.js → imports-page-egn9yYfF.js} +1 -1
- package/dist/gateway/static/root/assets/index-dqkMYWTd.js +11 -0
- package/dist/gateway/static/root/assets/index-q78xsKF3.css +1 -0
- package/dist/gateway/static/root/assets/{install-connector-dialog-B3A7BKlp.js → install-connector-dialog-CMh8jhn1.js} +1 -1
- package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-BZaTvMnH.js → keyboard-shortcuts-settings-BOiKmOwN.js} +1 -1
- package/dist/gateway/static/root/assets/{local-app-workbench-page-DH1zWMav.js → local-app-workbench-page-ev6VTDX2.js} +1 -1
- package/dist/gateway/static/root/assets/{local-apps-page-CSnxRVm2.js → local-apps-page-CQBSa3cR.js} +1 -1
- package/dist/gateway/static/root/assets/{local-session-drafts-CfgBHtlt.js → local-session-drafts-pAAFf-Ad.js} +1 -1
- package/dist/gateway/static/root/assets/{locale-store-CeEXxDaP.js → locale-store-BYdvIuPj.js} +1 -1
- package/dist/gateway/static/root/assets/{logs-page-fF3rKMVM.js → logs-page-Z-4VNgnq.js} +1 -1
- package/dist/gateway/static/root/assets/{management-api-iUbR1cSS.js → management-api-D739TCBl.js} +1 -1
- package/dist/gateway/static/root/assets/{management-settings-BWJ-4D2j.js → management-settings-CZDWUPmg.js} +1 -1
- package/dist/gateway/static/root/assets/markdown-view-BOJVaGPC.js +261 -0
- package/dist/gateway/static/root/assets/markdown-view-Czi3_WHu.css +1 -0
- package/dist/gateway/static/root/assets/marked.esm-8VXEA2AD.js +64 -0
- package/dist/gateway/static/root/assets/{mcp-conversation-setup-page-CJdg6fgZ.js → mcp-conversation-setup-page-NcRvP7cK.js} +1 -1
- package/dist/gateway/static/root/assets/{media-plugins-B_0Q_dY0.js → media-plugins-B9bQ3e1j.js} +1 -1
- package/dist/gateway/static/root/assets/{messages-L7tv_OPK.js → messages-lc5BjBtX.js} +2 -2
- package/dist/gateway/static/root/assets/{model-selector-CMsLur91.js → model-selector-DugdMlvi.js} +1 -1
- package/dist/gateway/static/root/assets/{models-hub-cache-DI9vvuFx.js → models-hub-cache-DvDksW4g.js} +1 -1
- package/dist/gateway/static/root/assets/note-detail-panel-CEi6GNEA.js +7 -0
- package/dist/gateway/static/root/assets/note-image-lightbox-DftbeSZR.js +1 -0
- package/dist/gateway/static/root/assets/{notes-api-Ck4Yvy_j.js → notes-api-auhtw3zM.js} +1 -1
- package/dist/gateway/static/root/assets/{notes-page-qellAl3o.js → notes-page-DnI1iJ3g.js} +1 -1
- package/dist/gateway/static/root/assets/{oauth-api-3nGo5FdC.js → oauth-api-BXKG29Kg.js} +1 -1
- package/dist/gateway/static/root/assets/{oauth-provider-connect-wtw_Oup3.js → oauth-provider-connect-y6-vDWb-.js} +1 -1
- package/dist/gateway/static/root/assets/{page-context-capture-button-Bm8TI2e0.js → page-context-capture-button-BBVJZgU0.js} +1 -1
- package/dist/gateway/static/root/assets/{page-context-draft-D7Wh_S2e.js → page-context-draft-B30xEPDh.js} +1 -1
- package/dist/gateway/static/root/assets/{page-header-store-hCKJckdJ.js → page-header-store-BGCCXOOf.js} +1 -1
- package/dist/gateway/static/root/assets/{personal-avatar-CW6MOp9q.js → personal-avatar-w5Sekj02.js} +1 -1
- package/dist/gateway/static/root/assets/{personal-page-YTJfXUqr.js → personal-page-BWzfp81f.js} +1 -1
- package/dist/gateway/static/root/assets/personal-profile-settings-BYmKk14v.js +1 -0
- package/dist/gateway/static/root/assets/{personal-settings-panel-DgGTnduT.js → personal-settings-panel-DYnTT7aB.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-dependencies-card-CiLziQ8R.js → phone-dependencies-card-DJciwZ-7.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-model-connection-DjQJIS33.js → phone-model-connection-C3jmc4ma.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-model-picker-BaHl_-yf.js → phone-model-picker-MWC_Zh2a.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-settings-page-DEvyfoAt.js → phone-settings-page-C1Yc6tP7.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-workspace-store-9hDVXN9z.js → phone-workspace-store-Cxk2PJZe.js} +1 -1
- package/dist/gateway/static/root/assets/{plugin-details-dialog-BI--oe7J.js → plugin-details-dialog-CpKZE_nx.js} +1 -1
- package/dist/gateway/static/root/assets/{preference-select-fields-DAhA9Z56.js → preference-select-fields-ByihE_wl.js} +1 -1
- package/dist/gateway/static/root/assets/{preview-runtime-DNxSgx2a.js → preview-runtime-iJuVSugF.js} +3 -3
- package/dist/gateway/static/root/assets/product-automation-feedback-ref9gqOW.js +1 -0
- package/dist/gateway/static/root/assets/{product-open-page-KyiYh48g.js → product-open-page-B7kAAD7Q.js} +1 -1
- package/dist/gateway/static/root/assets/{product-preview-content-BSj9eoc8.js → product-preview-content-CzNWh2h2.js} +1 -1
- package/dist/gateway/static/root/assets/{product-preview-modal-DhONFWvj.js → product-preview-modal-B1RKw3Z-.js} +2 -2
- package/dist/gateway/static/root/assets/{project-detail-page-DA11E8Iz.js → project-detail-page-Zr1I56NG.js} +2 -2
- package/dist/gateway/static/root/assets/{project-understanding-DjOdtNHh.js → project-understanding-D0S9pFg7.js} +1 -1
- package/dist/gateway/static/root/assets/{projects-page-3Y7Bj3vP.js → projects-page-DlwRbxAj.js} +1 -1
- package/dist/gateway/static/root/assets/{providers-api-BKDzcCQr.js → providers-api-D_v_CJ3l.js} +1 -1
- package/dist/gateway/static/root/assets/{recording-upload-Bg_HBFTj.js → recording-upload-BSyxK34y.js} +1 -1
- package/dist/gateway/static/root/assets/{registry-api-C91pIb6J.js → registry-api-DGi-X6j7.js} +1 -1
- package/dist/gateway/static/root/assets/{remote-access-hub-DZjxntjM.js → remote-access-hub-D3EYRXQC.js} +1 -1
- package/dist/gateway/static/root/assets/{resource-unavailable-D8FrMGjx.js → resource-unavailable-52Jvhy-I.js} +1 -1
- package/dist/gateway/static/root/assets/{right-workspace-store-D3nQJkDG.js → right-workspace-store-DsGslCi-.js} +1 -1
- package/dist/gateway/static/root/assets/route-preload-D00yB6hp.js +2 -0
- package/dist/gateway/static/root/assets/routine-panel-sCpXMbMl.js +2 -0
- package/dist/gateway/static/root/assets/{runtime-tools-api-CbVocuF5.js → runtime-tools-api-D8Xtty0g.js} +1 -1
- package/dist/gateway/static/root/assets/{runtime-tools-settings-panel-BVcSYWWj.js → runtime-tools-settings-panel-r28zxrgP.js} +1 -1
- package/dist/gateway/static/root/assets/{service-recommendation-list-DEIaJSOU.js → service-recommendation-list-Kw6pwI8U.js} +1 -1
- package/dist/gateway/static/root/assets/{session-api-M4P3knYu.js → session-api-eApyRHbI.js} +1 -1
- package/dist/gateway/static/root/assets/session-channel-icon-CJAPoVO-.js +1 -0
- package/dist/gateway/static/root/assets/session-identity-DRFdxntH.js +1 -0
- package/dist/gateway/static/root/assets/session-identity-label-CZf50vSj.js +1 -0
- package/dist/gateway/static/root/assets/session-manager-C-oe-9_N.js +28 -0
- package/dist/gateway/static/root/assets/sessions-page-BkNfjgXC.js +1 -0
- package/dist/gateway/static/root/assets/settings-advanced-gate-B82UPSQS.js +1 -0
- package/dist/gateway/static/root/assets/{settings-advanced-section-BRNFkPxE.js → settings-advanced-section-Dc9aztiW.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-mode-store-va_oX_Q8.js → settings-mode-store-DcE2iR7e.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-BVFv8SOp.js → settings-page-CXRPZxuB.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-header-Wx54i9EL.js → settings-page-header-CQueaD1Z.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-layout-DDTKMXIb.js → settings-page-layout-BlwyxcEq.js} +1 -1
- package/dist/gateway/static/root/assets/{setup-interaction-page-CaHdjPKk.js → setup-interaction-page-BvL6C5ja.js} +1 -1
- package/dist/gateway/static/root/assets/{setup-status-panel-D1XJedVC.js → setup-status-panel-Dp5cY2P9.js} +1 -1
- package/dist/gateway/static/root/assets/{share-link-dialog-C8bVavnr.js → share-link-dialog-CB3LkWw8.js} +1 -1
- package/dist/gateway/static/root/assets/{share-preview-page-3QEwX9TP.js → share-preview-page-IG0fTWJO.js} +1 -1
- package/dist/gateway/static/root/assets/{shares-api-Dp6g-bfj.js → shares-api-DgYOJV0T.js} +1 -1
- package/dist/gateway/static/root/assets/{shares-settings-BbxnfBhc.js → shares-settings-YeLkRDki.js} +1 -1
- package/dist/gateway/static/root/assets/{skill-api-BTiymSB8.js → skill-api-DRCHLW2T.js} +1 -1
- package/dist/gateway/static/root/assets/{skill-list-api-BM8u0Bs_.js → skill-list-api-CQUhEUOF.js} +1 -1
- package/dist/gateway/static/root/assets/{skill-reload-api-BP2ecrz2.js → skill-reload-api-BoEna1cx.js} +1 -1
- package/dist/gateway/static/root/assets/{skills-page-DTrONo3c.js → skills-page-CBAL83FE.js} +1 -1
- package/dist/gateway/static/root/assets/{space-api-Ix7mfZDi.js → space-api-d4Q4hkEY.js} +1 -1
- package/dist/gateway/static/root/assets/space-page-8BMb_g2p.js +2 -0
- package/dist/gateway/static/root/assets/{space-workbook-CxV64kNP.js → space-workbook-BDjeiRtr.js} +1 -1
- package/dist/gateway/static/root/assets/{system-settings-panel-C2BWOeNW.js → system-settings-panel-dt8k0K4V.js} +1 -1
- package/dist/gateway/static/root/assets/task-detail-page-DFeKIcxT.js +3 -0
- package/dist/gateway/static/root/assets/{task-header-title-Di5TvRaj.js → task-header-title-ClyuCAFb.js} +1 -1
- package/dist/gateway/static/root/assets/task-run-issue-notice-XWlgvgEo.js +1 -0
- package/dist/gateway/static/root/assets/{tasks-BIehlq7k.js → tasks-CwyNaa-j.js} +1 -1
- package/dist/gateway/static/root/assets/{terminal-panel-store-mDqqa0EW.js → terminal-panel-store-CNkRP4kf.js} +1 -1
- package/dist/gateway/static/root/assets/{theme-store-kQ-dt8qP.js → theme-store-nXIuAiQZ.js} +1 -1
- package/dist/gateway/static/root/assets/{tracing-settings-page-BYAYhuS8.js → tracing-settings-page-CoWcr2c0.js} +1 -1
- package/dist/gateway/static/root/assets/{tunnel-api-XScou7Y8.js → tunnel-api-DgsELO9g.js} +1 -1
- package/dist/gateway/static/root/assets/{understanding-activity-store-NVT8M3Rv.js → understanding-activity-store-BI_PbKCi.js} +1 -1
- package/dist/gateway/static/root/assets/{understanding-refresh-store-D5pgGLiW.js → understanding-refresh-store-DPHzCi1Q.js} +1 -1
- package/dist/gateway/static/root/assets/{usage-page-CWMg8m0Q.js → usage-page-BVNBJa59.js} +1 -1
- package/dist/gateway/static/root/assets/{use-autosave-Iy9pO3fa.js → use-autosave-BPDFVsgM.js} +1 -1
- package/dist/gateway/static/root/assets/{use-composer-attachments-DfSh4D1i.js → use-composer-attachments-9nVD0sQ1.js} +1 -1
- package/dist/gateway/static/root/assets/{use-file-preview-expanded-BFw8CA51.js → use-file-preview-expanded-BhmEiOkv.js} +1 -1
- package/dist/gateway/static/root/assets/{use-generated-media-MuDDqdB3.js → use-generated-media-CLEV4wYC.js} +1 -1
- package/dist/gateway/static/root/assets/{use-personal-profile-Csm85ZFS.js → use-personal-profile-CFaihmiJ.js} +1 -1
- package/dist/gateway/static/root/assets/{use-personal-work-CVmHKsJn.js → use-personal-work-CIZMwOlm.js} +1 -1
- package/dist/gateway/static/root/assets/{use-realtime-voice-D1zQbDnk.js → use-realtime-voice-CvtX2HcA.js} +1 -1
- package/dist/gateway/static/root/assets/{use-workspace-tree-B_do34-j.js → use-workspace-tree-BnvuxYD4.js} +1 -1
- package/dist/gateway/static/root/assets/{user-model-page-BlBvDtwt.js → user-model-page-D4yNFvW1.js} +1 -1
- package/dist/gateway/static/root/assets/{voice-api-key-field-DRlguUPt.js → voice-api-key-field-NINoxB5r.js} +1 -1
- package/dist/gateway/static/root/assets/{voice-config-api-B2AO_uL_.js → voice-config-api-7cvKLNoE.js} +1 -1
- package/dist/gateway/static/root/assets/{voice-input-shortcut-events-jLnl_86X.js → voice-input-shortcut-events-DaCuiqoi.js} +1 -1
- package/dist/gateway/static/root/assets/{voice-player-store-C8BTMBVX.js → voice-player-store-DipmM7w1.js} +1 -1
- package/dist/gateway/static/root/assets/voice-settings-BTvMqF_9.js +1 -0
- package/dist/gateway/static/root/assets/{work-discovery-overlay-C0oaToAM.js → work-discovery-overlay-BKdumzyK.js} +1 -1
- package/dist/gateway/static/root/assets/{work-discovery-page-IEKvSp0W.js → work-discovery-page-uX1VIzJY.js} +1 -1
- package/dist/gateway/static/root/assets/{working-directory-picker-modal-ppDpY-AP.js → working-directory-picker-modal-C9hWAPvW.js} +1 -1
- package/dist/gateway/static/root/assets/workspace-api-_mQWmOZm.js +2 -0
- package/dist/gateway/static/root/assets/workspace-editor-agent-store-BzuNTkZu.js +1 -0
- package/dist/gateway/static/root/assets/{workspace-file-preview-dialog-DGsFnZh-.js → workspace-file-preview-dialog-D4Nc7XkR.js} +1 -1
- package/dist/gateway/static/root/assets/{workspace-open-location-menu-CGe_tu1_.js → workspace-open-location-menu-BZSS94es.js} +1 -1
- package/dist/gateway/static/root/assets/{xopc-cloud-account-card-L-HD-Zf7.js → xopc-cloud-account-card-xJr48TmR.js} +1 -1
- package/dist/gateway/static/root/index.html +123 -122
- package/dist/package.js +1 -1
- package/dist/packages/gateway-contract/src/tasks.js +38 -2
- package/dist/src/activity/emitter.js +1 -1
- package/dist/src/activity/index.js +1 -1
- package/dist/src/agent/agent-manager.d.ts +1 -0
- package/dist/src/agent/agent-manager.js +12 -11
- package/dist/src/agent/agent-scope.js +1 -1
- package/dist/src/agent/background-review/run-background-review.js +1 -1
- package/dist/src/agent/bootstrap/load-bootstrap-files.js +1 -1
- package/dist/src/agent/coding/repository-instructions.js +1 -1
- package/dist/src/agent/coding/workspace-revision.js +2 -2
- package/dist/src/agent/commands/command-registry.js +3 -3
- package/dist/src/agent/commands/commandMounts.js +1 -1
- package/dist/src/agent/context/workspace-seed.js +2 -2
- package/dist/src/agent/context/workspace-state.js +1 -1
- package/dist/src/agent/data-acquisition/service.js +1 -1
- package/dist/src/agent/embedded/codemode-output.js +4 -4
- package/dist/src/agent/embedded/execution-tool-policy.d.ts +1 -0
- package/dist/src/agent/embedded/execution-tool-policy.js +8 -2
- package/dist/src/agent/embedded/run-for-session.js +2 -2
- package/dist/src/agent/embedded/run-turn.js +1 -1
- package/dist/src/agent/embedded/session-runner.js +1 -1
- package/dist/src/agent/external-tools/cliProvider.js +4 -4
- package/dist/src/agent/external-tools/composio-provider.js +4 -4
- package/dist/src/agent/external-tools/discovery.js +1 -1
- package/dist/src/agent/external-tools/gateway-tools.js +1 -1
- package/dist/src/agent/image/load-image-media.js +2 -2
- package/dist/src/agent/mcp/managed-discovery.js +2 -2
- package/dist/src/agent/mcp/native-mcp.js +1 -1
- package/dist/src/agent/memory/compaction.js +1 -1
- package/dist/src/agent/memory/plugin-discovery.js +1 -1
- package/dist/src/agent/prompt/response-language.js +1 -1
- package/dist/src/agent/reply/post-compaction-context.js +1 -1
- package/dist/src/agent/reply/workspace-boundary-read.js +1 -1
- package/dist/src/agent/sandbox/exec-policy.js +1 -1
- package/dist/src/agent/sandbox/fileAccess.js +1 -1
- package/dist/src/agent/sandbox/native-command.js +1 -1
- package/dist/src/agent/sandbox/path-policy.js +2 -2
- package/dist/src/agent/service/process-direct-streaming.js +2 -2
- package/dist/src/agent/service.js +6 -5
- package/dist/src/agent/service.types.d.ts +1 -0
- package/dist/src/agent/skills/config.js +1 -1
- package/dist/src/agent/skills/filesystem-watcher.js +1 -1
- package/dist/src/agent/skills/hub-hash.js +2 -2
- package/dist/src/agent/skills/hub-pull.js +6 -6
- package/dist/src/agent/skills/managed-store.js +1 -1
- package/dist/src/agent/skills/marketplace/adapters/store/adapter.js +1 -1
- package/dist/src/agent/skills/marketplace/adapters/store/store-api-client.js +1 -1
- package/dist/src/agent/skills/skill-sources.js +2 -2
- package/dist/src/agent/starter-agents.js +1 -1
- package/dist/src/agent/tasks/task-judge-service.js +1 -1
- package/dist/src/agent/tools/create-share-tool.js +1 -1
- package/dist/src/agent/tools/factory.d.ts +1 -0
- package/dist/src/agent/tools/factory.js +4 -3
- package/dist/src/agent/tools/image-generate-tool.js +1 -1
- package/dist/src/agent/tools/personal-memory-tool.js +1 -1
- package/dist/src/agent/tools/personal-request-tool.d.ts +1 -0
- package/dist/src/agent/tools/personal-request-tool.js +2 -1
- package/dist/src/agent/tools/personal-task-tool.js +44 -13
- package/dist/src/agent/tools/publish-artifacts.js +1 -1
- package/dist/src/agent/tools/review-workspace.js +2 -2
- package/dist/src/agent/tools/scoped-workspace-tools.js +2 -2
- package/dist/src/agent/tools/skill-manage-tool.js +1 -1
- package/dist/src/agent/tools/task-collaboration-tool.js +2 -2
- package/dist/src/agent/tools/tool-media.js +1 -1
- package/dist/src/agent/tools/user-context-tool.js +1 -1
- package/dist/src/agent/tools/write.js +1 -1
- package/dist/src/agent/tools/xopc-use-tool.d.ts +1 -0
- package/dist/src/agent/tools/xopc-use-tool.js +6 -6
- package/dist/src/agent-catalog/repository.js +1 -1
- package/dist/src/agent-catalog/service.js +1 -1
- package/dist/src/agent-matching/delegation-service.js +1 -1
- package/dist/src/auth/credentials.js +1 -1
- package/dist/src/auth/oauth/openai.js +1 -1
- package/dist/src/auth/oauth/xopc-cloud.js +1 -1
- package/dist/src/auth/oauth-provider-lock.js +2 -2
- package/dist/src/auth/profiles/store.js +1 -1
- package/dist/src/automations/capabilities/write.js +1 -1
- package/dist/src/automations/configuration-conversation.js +1 -1
- package/dist/src/automations/delivery/delivery-router.js +1 -1
- package/dist/src/automations/service/action-executor.js +1 -1
- package/dist/src/automations/service/automation-service.js +2 -2
- package/dist/src/backup/archive.js +5 -5
- package/dist/src/browser/cache-dir-policy.js +1 -1
- package/dist/src/browser/native-messaging-host.js +1 -1
- package/dist/src/browser/providers/browser-ext-install.js +7 -7
- package/dist/src/browser/providers/playwright-doctor.js +2 -2
- package/dist/src/browser/runtime/browser-runtime.js +1 -1
- package/dist/src/capabilities/runtime/product.js +1 -1
- package/dist/src/capabilities/store-connector.js +1 -1
- package/dist/src/channels/catalog/channel-catalog-service.js +1 -1
- package/dist/src/channels/enterprise/setup.d.ts +4 -0
- package/dist/src/channels/enterprise/setup.js +3 -2
- package/dist/src/channels/pairing/allow-from-file.js +1 -1
- package/dist/src/channels/pairing/pairing-store.js +2 -2
- package/dist/src/channels/plugins/types.adapters.d.ts +4 -0
- package/dist/src/cli/commands/doctor/checks/config-health.js +1 -1
- package/dist/src/cli/commands/doctor/checks/database-schema.js +2 -2
- package/dist/src/cli/commands/doctor/checks/state-integrity.js +1 -1
- package/dist/src/cli/commands/doctor/checks/workspace-status.js +1 -1
- package/dist/src/cli/commands/extension-agent-plugin.js +1 -1
- package/dist/src/cli/commands/extension-create.js +1 -1
- package/dist/src/cli/commands/extension-dev.js +1 -1
- package/dist/src/cli/commands/extension-marketplace.js +2 -2
- package/dist/src/cli/commands/extension-pack.js +3 -3
- package/dist/src/cli/commands/extension.js +1 -1
- package/dist/src/cli/commands/gateway/logs.js +1 -1
- package/dist/src/cli/commands/gateway/shared.js +1 -1
- package/dist/src/cli/commands/mcp.js +1 -1
- package/dist/src/cli/commands/skills.js +1 -1
- package/dist/src/cli/utils/init-workspace-core.js +2 -2
- package/dist/src/config/config-file.js +1 -1
- package/dist/src/config/loader.js +1 -1
- package/dist/src/config/models-json.js +1 -1
- package/dist/src/config/paths-state.js +1 -1
- package/dist/src/config/workspace-path.js +1 -1
- package/dist/src/connectors/cli/assets.js +1 -1
- package/dist/src/connectors/cli/authorization.js +1 -1
- package/dist/src/connectors/cli/installer.js +3 -3
- package/dist/src/connectors/connected-source-ingestion.js +1 -1
- package/dist/src/connectors/connection-recovery-service.d.ts +2 -1
- package/dist/src/connectors/connection-recovery-service.js +10 -7
- package/dist/src/connectors/content-enrichment.js +2 -2
- package/dist/src/connectors/plugin-connection.js +1 -1
- package/dist/src/daemon/constants.js +1 -1
- package/dist/src/daemon/install-plan.js +2 -2
- package/dist/src/daemon/launchd.js +3 -3
- package/dist/src/daemon/schtasks.js +2 -2
- package/dist/src/daemon/systemd.js +3 -3
- package/dist/src/discussions/action-tasks.js +1 -1
- package/dist/src/discussions/live-worker.js +1 -1
- package/dist/src/discussions/recording.js +3 -3
- package/dist/src/discussions/repository.js +1 -1
- package/dist/src/discussions/sealer.js +2 -2
- package/dist/src/discussions/service.js +1 -1
- package/dist/src/endpoint-tools/bridge-host.js +1 -1
- package/dist/src/endpoint-tools/delegation.js +1 -1
- package/dist/src/endpoint-tools/provider-operation-journal.js +1 -1
- package/dist/src/endpoint-tools/runtime.js +1 -1
- package/dist/src/endpoint-tools/upload-service.js +2 -2
- package/dist/src/execution-environments/local-worktree-manager.js +3 -3
- package/dist/src/execution-environments/store.js +1 -1
- package/dist/src/execution-environments/worktree-safety.js +1 -1
- package/dist/src/extensions/agent-plugins/auth.js +2 -2
- package/dist/src/extensions/agent-plugins/branding.js +2 -2
- package/dist/src/extensions/agent-plugins/capability-access.js +1 -1
- package/dist/src/extensions/agent-plugins/cli-authorization.js +3 -3
- package/dist/src/extensions/agent-plugins/contained-path.js +1 -1
- package/dist/src/extensions/agent-plugins/credentials.js +1 -1
- package/dist/src/extensions/agent-plugins/formats.js +1 -1
- package/dist/src/extensions/agent-plugins/inventory.js +1 -1
- package/dist/src/extensions/agent-plugins/mcp-adapter.js +3 -3
- package/dist/src/extensions/agent-plugins/resources.js +2 -2
- package/dist/src/extensions/agent-plugins/setup.js +4 -4
- package/dist/src/extensions/agent-plugins/skill-catalog.js +2 -2
- package/dist/src/extensions/agent-plugins/source-catalog.js +3 -3
- package/dist/src/extensions/agent-plugins/sources.js +2 -2
- package/dist/src/extensions/agent-plugins/store.js +5 -5
- package/dist/src/extensions/agent-plugins/user-config.js +2 -2
- package/dist/src/extensions/agent-plugins/validation.js +2 -2
- package/dist/src/extensions/api.js +1 -1
- package/dist/src/extensions/connector-dependencies.js +1 -1
- package/dist/src/extensions/install-transaction.js +1 -1
- package/dist/src/extensions/install.js +1 -1
- package/dist/src/extensions/loader.js +1 -1
- package/dist/src/extensions/lockfile.js +1 -1
- package/dist/src/extensions/update.js +2 -2
- package/dist/src/files/file-service.js +4 -4
- package/dist/src/files/file-versions.js +1 -1
- package/dist/src/gateway/agent-builtin-tools.d.ts +1 -1
- package/dist/src/gateway/file-path-classifier.js +1 -1
- package/dist/src/gateway/hono/lib/static-ui.js +2 -2
- package/dist/src/gateway/hono/routes/auth-registry-extensions.js +2 -2
- package/dist/src/gateway/hono/routes/browser.js +1 -1
- package/dist/src/gateway/hono/routes/connectors.js +1 -1
- package/dist/src/gateway/hono/routes/extension-ui-assets.js +1 -1
- package/dist/src/gateway/hono/routes/host-fs.js +1 -1
- package/dist/src/gateway/hono/routes/lazy-bundles.js +8 -0
- package/dist/src/gateway/hono/routes/local-app-run-streams.js +1 -1
- package/dist/src/gateway/hono/routes/local-apps.js +2 -2
- package/dist/src/gateway/hono/routes/location-sharing.js +1 -1
- package/dist/src/gateway/hono/routes/memory-learning.js +1 -1
- package/dist/src/gateway/hono/routes/mobile-capability-panels.js +27 -10
- package/dist/src/gateway/hono/routes/notes.js +1 -1
- package/dist/src/gateway/hono/routes/personal-agent.js +2 -2
- package/dist/src/gateway/hono/routes/phone-dependencies.js +1 -1
- package/dist/src/gateway/hono/routes/phone-setup.js +1 -1
- package/dist/src/gateway/hono/routes/phone.js +1 -1
- package/dist/src/gateway/hono/routes/projects.js +5 -5
- package/dist/src/gateway/hono/routes/provider-setup.js +1 -1
- package/dist/src/gateway/hono/routes/sessions.js +1 -1
- package/dist/src/gateway/hono/routes/shares.js +3 -3
- package/dist/src/gateway/hono/routes/task-retry.d.ts +3 -0
- package/dist/src/gateway/hono/routes/task-retry.js +20 -0
- package/dist/src/gateway/hono/routes/tasks.js +1 -1
- package/dist/src/gateway/hono/routes/tui.js +2 -2
- package/dist/src/gateway/hono/routes/user-model.js +1 -1
- package/dist/src/gateway/hono/routes/video-generation.js +1 -1
- package/dist/src/gateway/lock.js +2 -2
- package/dist/src/gateway/media-access.js +2 -2
- package/dist/src/gateway/next-turn-suggestions/snapshot.js +1 -1
- package/dist/src/gateway/security/device-request-proof.js +1 -1
- package/dist/src/gateway/security/phone-access.js +1 -1
- package/dist/src/gateway/service/agent-runner.js +1 -1
- package/dist/src/gateway/service/marketplace-service.js +2 -2
- package/dist/src/gateway/service/session-input-coordinator.js +1 -1
- package/dist/src/gateway/service.d.ts +9 -0
- package/dist/src/gateway/service.js +25 -17
- package/dist/src/gateway/session-context-summary.js +1 -1
- package/dist/src/gateway/workspace-editor-path.js +1 -1
- package/dist/src/gateway/xopc-cloud-capability-setup.js +1 -1
- package/dist/src/home-intelligence/follow-ups.js +1 -1
- package/dist/src/home-intelligence/host.js +1 -1
- package/dist/src/home-intelligence/repository.js +1 -1
- package/dist/src/home-intelligence/routines.js +1 -1
- package/dist/src/imports/files.js +3 -3
- package/dist/src/imports/importService.js +3 -3
- package/dist/src/imports/inventory.js +2 -2
- package/dist/src/imports/planner.js +2 -2
- package/dist/src/imports/productImport.js +1 -1
- package/dist/src/imports/scanner.js +2 -2
- package/dist/src/imports/sources.js +2 -2
- package/dist/src/infra/brew.js +1 -1
- package/dist/src/infra/package-runtime-check.js +2 -2
- package/dist/src/infra/path-env.js +2 -2
- package/dist/src/infra/process-diagnostics.js +1 -1
- package/dist/src/infra/restart.js +1 -1
- package/dist/src/infra/update-check.js +1 -1
- package/dist/src/infra/update-global.js +1 -1
- package/dist/src/infra/update-lock.js +1 -1
- package/dist/src/infra/update-startup.js +1 -1
- package/dist/src/infra/write-file-atomic.js +2 -2
- package/dist/src/knowledge/local-folder-adapter.js +1 -1
- package/dist/src/local-apps/acceptance.js +1 -1
- package/dist/src/local-apps/artifact-files.js +2 -2
- package/dist/src/local-apps/automation-proposals.js +1 -1
- package/dist/src/local-apps/capabilities/projections.d.ts +1 -1
- package/dist/src/local-apps/execution-authority.js +2 -2
- package/dist/src/local-apps/p1-services.js +5 -5
- package/dist/src/local-apps/preview-fixtures.js +1 -1
- package/dist/src/local-apps/preview-sessions.js +2 -2
- package/dist/src/local-apps/preview-worker.js +3 -3
- package/dist/src/local-apps/public-assets.js +2 -2
- package/dist/src/local-apps/scaffold.js +1 -1
- package/dist/src/local-apps/service.js +8 -8
- package/dist/src/local-apps/snapshot-store.js +1 -1
- package/dist/src/local-apps/store.js +1 -1
- package/dist/src/media/session-references.js +1 -1
- package/dist/src/media/store.js +1 -1
- package/dist/src/memory-learning/source-learning.js +1 -1
- package/dist/src/memory-learning/task-receipts.js +1 -1
- package/dist/src/migrations/runner.js +1 -1
- package/dist/src/music-generation/artifact.js +2 -2
- package/dist/src/notes/capabilities/write.js +1 -1
- package/dist/src/notes/index.js +1 -1
- package/dist/src/notes/service.js +5 -5
- package/dist/src/notes/store.js +2 -2
- package/dist/src/notifications/harmony-push.js +1 -1
- package/dist/src/notifications/store.js +1 -1
- package/dist/src/observability/store.js +1 -1
- package/dist/src/personal-agent/capability-service.js +2 -2
- package/dist/src/personal-agent/proactivity/repository.js +1 -1
- package/dist/src/personal-agent/proactivity/service.js +2 -2
- 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.d.ts +2 -0
- package/dist/src/personal-agent/reply-composer.js +135 -85
- package/dist/src/personal-agent/reply-result.d.ts +11 -0
- package/dist/src/personal-agent/reply-result.js +60 -0
- package/dist/src/personal-agent/reply-style.d.ts +1 -1
- package/dist/src/personal-agent/reply-style.js +1 -1
- package/dist/src/personal-agent/request-access.js +1 -1
- package/dist/src/personal-agent/request-delivery.d.ts +1 -1
- package/dist/src/personal-agent/request-delivery.js +11 -10
- package/dist/src/personal-agent/request-service.d.ts +3 -1
- package/dist/src/personal-agent/request-service.js +76 -65
- package/dist/src/personal-agent/result-reader.js +3 -3
- package/dist/src/personal-agent/unread.js +1 -1
- package/dist/src/pets/factory.js +1 -1
- package/dist/src/pets/validator.js +1 -1
- package/dist/src/phone/adb-driver.js +3 -3
- package/dist/src/phone/assistance-service.js +1 -1
- package/dist/src/phone/assistance.js +1 -1
- package/dist/src/phone/cloud-adb-connection.js +1 -1
- package/dist/src/phone/execution-trace.js +1 -1
- package/dist/src/phone/hdc-driver.js +3 -3
- package/dist/src/phone/hdc-video-tools.js +2 -2
- package/dist/src/phone/location-baseline-store.js +1 -1
- package/dist/src/phone/location-environment.js +1 -1
- package/dist/src/phone/repository.js +1 -1
- package/dist/src/phone/ui-session.js +2 -2
- package/dist/src/project-trust/trust-store.js +2 -2
- package/dist/src/projects/capabilities/write.js +3 -3
- package/dist/src/projects/project-kind.js +1 -1
- package/dist/src/projects/project-service.js +2 -2
- package/dist/src/projects/project-skill-service.js +3 -3
- package/dist/src/projects/workspace-project.js +2 -2
- package/dist/src/providers/auth-runtime/auth-profile-store.js +1 -1
- package/dist/src/providers/model-catalog-persistence.js +1 -1
- package/dist/src/providers/xopc-cloud-credit-budget.js +1 -1
- package/dist/src/runtime-tools/archive.js +2 -2
- package/dist/src/runtime-tools/downloader.js +2 -2
- package/dist/src/runtime-tools/harmony-dependencies.js +6 -6
- package/dist/src/runtime-tools/hdc-files.js +1 -1
- package/dist/src/runtime-tools/manager.js +1 -1
- package/dist/src/runtime-tools/manifest-store.js +1 -1
- package/dist/src/runtime-tools/phone-dependencies.js +3 -3
- package/dist/src/session/init-session-turn.js +1 -1
- package/dist/src/session/resolve-session.js +1 -1
- package/dist/src/share/hosted-note-publication.js +1 -1
- package/dist/src/share/hosted-session-share.js +2 -2
- package/dist/src/share/hosted-static-site-publication.js +2 -2
- package/dist/src/share/note-share-service.js +1 -1
- package/dist/src/share/session-share-service.js +2 -2
- package/dist/src/share/share-auto.js +2 -2
- package/dist/src/share/share-store.js +2 -2
- package/dist/src/share/share-zip.js +1 -1
- package/dist/src/share/site-share-store.js +1 -1
- package/dist/src/share/site-static-serve.js +1 -1
- package/dist/src/space/budget-workbook.js +1 -1
- package/dist/src/space/ingest.js +1 -1
- package/dist/src/space/repository.js +3 -3
- package/dist/src/space/workbook-turn.js +1 -1
- package/dist/src/space/worker.js +1 -1
- package/dist/src/storage/sqlite/ai-usage-repository.js +1 -1
- package/dist/src/storage/sqlite/clarification-wait-repository.js +2 -2
- package/dist/src/storage/sqlite/connection.js +3 -3
- package/dist/src/storage/sqlite/conversation-repository.js +2 -2
- package/dist/src/storage/sqlite/desktop-execution-repository.js +1 -1
- package/dist/src/storage/sqlite/desktop-execution-stop-repository.js +1 -1
- package/dist/src/storage/sqlite/device-access-repository.js +1 -1
- package/dist/src/storage/sqlite/device-pairing-approval.js +1 -1
- package/dist/src/storage/sqlite/index.js +1 -1
- package/dist/src/storage/sqlite/offline-access.js +1 -1
- package/dist/src/storage/sqlite/schema-upgrade.js +3 -3
- package/dist/src/storage/sqlite/session-creation-repository.js +1 -1
- package/dist/src/storage/sqlite/session-input-control-repository.js +1 -1
- package/dist/src/storage/sqlite/session-repository.js +1 -1
- package/dist/src/storage/sqlite/sql-assets.js +1 -1
- package/dist/src/storage/sqlite/windows-database-owners.js +1 -1
- package/dist/src/tasks/capabilities/management.js +1 -1
- package/dist/src/tasks/capabilities/read.js +1 -1
- package/dist/src/tasks/capabilities/relations.js +2 -2
- package/dist/src/tasks/capabilities/write.d.ts +1 -1
- package/dist/src/tasks/capabilities/write.js +1 -1
- package/dist/src/tasks/index.js +1 -1
- package/dist/src/tasks/task-allocation-service.js +5 -5
- package/dist/src/tasks/task-application-service.d.ts +8 -0
- package/dist/src/tasks/task-application-service.js +19 -8
- package/dist/src/tasks/task-context-assembler.js +4 -4
- package/dist/src/tasks/task-contract-planner.js +1 -1
- package/dist/src/tasks/task-criterion-review-repository.js +1 -1
- package/dist/src/tasks/task-deliverables.js +1 -1
- package/dist/src/tasks/task-execution-capabilities.js +2 -2
- package/dist/src/tasks/task-handoff-service.js +2 -2
- package/dist/src/tasks/task-handoff.js +10 -10
- package/dist/src/tasks/task-json-acceptance.js +2 -2
- package/dist/src/tasks/task-origin-repository.d.ts +2 -0
- package/dist/src/tasks/task-origin-repository.js +3 -2
- package/dist/src/tasks/task-read-model-projector.js +22 -8
- package/dist/src/tasks/task-research-repair.js +2 -2
- package/dist/src/tasks/task-research-result.js +3 -3
- package/dist/src/tasks/task-result-delivery-repository.js +1 -1
- package/dist/src/tasks/task-result-delivery-service.js +3 -3
- package/dist/src/tasks/task-retry-policy.d.ts +5 -0
- package/dist/src/tasks/task-retry-policy.js +48 -0
- package/dist/src/tasks/task-retry-service.d.ts +18 -0
- package/dist/src/tasks/task-retry-service.js +186 -0
- package/dist/src/tasks/task-run-coordinator.js +5 -5
- package/dist/src/tasks/task-run-dispatcher.js +2 -1
- package/dist/src/tasks/task-run-repository.d.ts +1 -1
- package/dist/src/tasks/task-run-repository.js +1 -1
- package/dist/src/tasks/task-signal-service.js +1 -1
- package/dist/src/tasks/task-workspace-verification.js +3 -3
- package/dist/src/tui/backends/embedded-backend.js +8 -8
- package/dist/src/tui/backends/embedded-drafts.js +2 -2
- package/dist/src/tui/backends/gateway-realtime-backend.js +1 -1
- package/dist/src/tui/clipboard-image.js +3 -3
- package/dist/src/tui/theme-manager.js +1 -1
- package/dist/src/tui/tui-capabilities.js +1 -1
- package/dist/src/tui/tui-command-formatters.js +1 -1
- package/dist/src/tui/tui-commands.js +1 -1
- package/dist/src/tui/tui-keybindings-file.js +1 -1
- package/dist/src/tui/tui-scoped-models.js +1 -1
- package/dist/src/tui/tui-settings.js +1 -1
- package/dist/src/tui/tui-startup-resources.js +2 -2
- package/dist/src/tui/tui.js +3 -3
- package/dist/src/tunnel/frpc-binary.js +2 -2
- package/dist/src/tunnel/frpc-config.js +1 -1
- package/dist/src/tunnel/frpc-extract.js +2 -2
- package/dist/src/tunnel/tunnel-state.js +1 -1
- package/dist/src/user-context/access-policy.js +1 -1
- package/dist/src/user-model/repository.js +1 -1
- package/dist/src/utils/index.js +1 -1
- package/dist/src/utils/logger/index.js +1 -1
- package/dist/src/utils/logger.js +1 -1
- package/dist/src/video-generation/artifact.js +2 -2
- package/dist/src/video-generation/repository.js +1 -1
- package/dist/src/voice/audio/normalize.js +2 -2
- package/dist/src/voice/realtime/persona-context.js +1 -1
- package/dist/src/voice/realtime/runtime.js +1 -1
- package/dist/src/voice/tts/providers/edge-speech.js +2 -2
- package/dist/src/work-discovery/candidate-discovery.js +3 -3
- package/dist/src/work-discovery/probe.js +4 -4
- package/dist/src/work-discovery/service.js +2 -2
- package/package.json +2 -2
- package/dist/gateway/static/root/assets/capabilities-SIty9Vcz.js +0 -1
- package/dist/gateway/static/root/assets/capabilities-page-BnTgeZB3.js +0 -2
- package/dist/gateway/static/root/assets/chat-page-sPNbEboB.js +0 -72
- package/dist/gateway/static/root/assets/diagnostics-Bo0Z42P_.js +0 -1
- package/dist/gateway/static/root/assets/gateway-realtime-store-CQygYU9S.js +0 -1
- package/dist/gateway/static/root/assets/index-B9_yImuQ.css +0 -1
- package/dist/gateway/static/root/assets/index-BrXVoLVe.js +0 -11
- package/dist/gateway/static/root/assets/markdown-view-BQw7H2MV.js +0 -324
- package/dist/gateway/static/root/assets/markdown-view-DG8DDkEA.css +0 -1
- package/dist/gateway/static/root/assets/note-detail-panel-BhJM-EYy.js +0 -7
- package/dist/gateway/static/root/assets/note-image-lightbox-y9OBo4Kv.js +0 -1
- package/dist/gateway/static/root/assets/personal-profile-settings-Qn6MR0gu.js +0 -1
- package/dist/gateway/static/root/assets/product-automation-feedback-ChMWhk-X.js +0 -7
- package/dist/gateway/static/root/assets/route-preload-B_CMsS70.js +0 -2
- package/dist/gateway/static/root/assets/routine-panel-BTuii051.js +0 -2
- package/dist/gateway/static/root/assets/session-channel-icon-COynhpeK.js +0 -1
- package/dist/gateway/static/root/assets/session-identity-label-DCIZvqbN.js +0 -1
- package/dist/gateway/static/root/assets/session-manager-DQ0fiEo9.js +0 -22
- package/dist/gateway/static/root/assets/sessions-page-UTEjz3V0.js +0 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-Cnkvm_q6.js +0 -1
- package/dist/gateway/static/root/assets/space-page-Dpy0BPbT.js +0 -2
- package/dist/gateway/static/root/assets/task-detail-page-DqgGOX0M.js +0 -3
- package/dist/gateway/static/root/assets/task-run-issue-notice-FMMn1lE6.js +0 -1
- package/dist/gateway/static/root/assets/voice-settings-D8Snr-5R.js +0 -1
- package/dist/gateway/static/root/assets/workspace-api-C85sEgvX.js +0 -2
- package/dist/gateway/static/root/assets/workspace-editor-agent-store-CNPlB8xY.js +0 -1
- package/dist/gateway/static/root/assets/workspace-preview-store-D8eGmciG.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { init_write_file_atomic, writeTextAtomicSync } from "../../infra/write-file-atomic.js";
|
|
2
1
|
import { createLogger } from "../../utils/logger/index.js";
|
|
3
2
|
import { init_logger } from "../../utils/logger.js";
|
|
3
|
+
import { init_write_file_atomic, writeTextAtomicSync } from "../../infra/write-file-atomic.js";
|
|
4
4
|
import { hasBinary } from "./installer.js";
|
|
5
5
|
import { join } from "path";
|
|
6
6
|
import { existsSync, readFileSync } from "fs";
|
|
@@ -2,10 +2,10 @@ 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 { init_paths, resolveSkillsDir } from "../../config/paths.js";
|
|
5
|
-
import { isManagedSkillTransientDirName } from "./managed-store.js";
|
|
6
5
|
import { createSkillConfigManager } from "./config.js";
|
|
7
6
|
import { resolveWorkspaceSkillsDir } from "./workspace-skills-dir.js";
|
|
8
7
|
import { resolveAgentsSkillsDir, resolveWorkspaceAgentsSkillsDir } from "./skill-sources.js";
|
|
8
|
+
import { isManagedSkillTransientDirName } from "./managed-store.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import chokidar from "chokidar";
|
|
11
11
|
//#region src/agent/skills/filesystem-watcher.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createHash } from "node:crypto";
|
|
2
|
-
import { createReadStream, existsSync, readFileSync, readdirSync, statSync } from "node:fs";
|
|
3
1
|
import { join, relative } from "node:path";
|
|
2
|
+
import { createReadStream, existsSync, readFileSync, readdirSync, statSync } from "node:fs";
|
|
3
|
+
import { createHash } from "node:crypto";
|
|
4
4
|
//#region src/agent/skills/hub-hash.ts
|
|
5
5
|
/**
|
|
6
6
|
* Deterministic content hash for a skill directory (for hub lock / drift detection).
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { parseFrontmatter } from "../../markdown/frontmatter.js";
|
|
2
|
-
import { getSkillsLockEntry, recordSkillsHubInstall } from "./hub-lock.js";
|
|
3
|
-
import { installSkillFromZip, isIgnorableZipEntry, isValidSkillId, prepareManagedSkillTempDir, promoteManagedSkillTempDir } from "./managed-store.js";
|
|
4
2
|
import { formatScanSummary, scanSkillDirectory } from "./scanner.js";
|
|
5
3
|
import { computeSkillTreeHashSync } from "./hub-hash.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { getSkillsLockEntry, recordSkillsHubInstall } from "./hub-lock.js";
|
|
5
|
+
import { installSkillFromZip, isIgnorableZipEntry, isValidSkillId, prepareManagedSkillTempDir, promoteManagedSkillTempDir } from "./managed-store.js";
|
|
8
6
|
import { tmpdir } from "node:os";
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
7
|
+
import { basename, dirname, join, normalize, resolve, sep } from "node:path";
|
|
8
|
+
import { cpSync, existsSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
11
9
|
import { fileURLToPath } from "node:url";
|
|
10
|
+
import { execFileSync } from "node:child_process";
|
|
11
|
+
import AdmZip from "adm-zip";
|
|
12
12
|
import { fetch } from "undici";
|
|
13
13
|
//#region src/agent/skills/hub-pull.ts
|
|
14
14
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { init_paths, resolveSkillsDir } from "../../config/paths.js";
|
|
2
2
|
import { parseFrontmatter } from "../../markdown/frontmatter.js";
|
|
3
3
|
import { loadSkillsLock } from "./hub-lock.js";
|
|
4
|
-
import { existsSync, mkdirSync, readFileSync, readdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
5
4
|
import { dirname, join, resolve, sep } from "node:path";
|
|
5
|
+
import { existsSync, mkdirSync, readFileSync, readdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
6
6
|
import AdmZip from "adm-zip";
|
|
7
7
|
//#region src/agent/skills/managed-store.ts
|
|
8
8
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { downloadSkillZipBuffer, fetchMarketplacePackageDetail, listSkillCategories, listSkillPackages, resolveSkillZipDownloadUrl, resolveSkillsStoreBaseUrl, skillIdForMarketplaceInstall, verifyStoreArtifactSha256 } from "./store-api-client.js";
|
|
2
1
|
import { registerMarketplaceAdapter } from "../../registry.js";
|
|
3
2
|
import { buildSkillMarkdownPreviewFromRaw } from "../../../skill-markdown-preview-from-raw.js";
|
|
3
|
+
import { downloadSkillZipBuffer, fetchMarketplacePackageDetail, listSkillCategories, listSkillPackages, resolveSkillZipDownloadUrl, resolveSkillsStoreBaseUrl, skillIdForMarketplaceInstall, verifyStoreArtifactSha256 } from "./store-api-client.js";
|
|
4
4
|
//#region src/agent/skills/marketplace/adapters/store/adapter.ts
|
|
5
5
|
const storeMarketplaceAdapter = {
|
|
6
6
|
id: "store",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { init_resolution, resolveConnectedPlatformEndpoint } from "../../../../../platform/resolution.js";
|
|
2
|
-
import { MAX_EXTENSION_STORE_ZIP_BYTES } from "../../../../../extensions/store-zip-limits.js";
|
|
3
2
|
import { MAX_SKILL_ZIP_BYTES, isValidSkillId } from "../../../managed-store.js";
|
|
3
|
+
import { MAX_EXTENSION_STORE_ZIP_BYTES } from "../../../../../extensions/store-zip-limits.js";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
5
5
|
//#region src/agent/skills/marketplace/adapters/store/store-api-client.ts
|
|
6
6
|
/**
|
|
@@ -2,9 +2,9 @@ import { init_paths, resolveSkillsDir } from "../../config/paths.js";
|
|
|
2
2
|
import { resolvePluginCapabilityAccess } from "../../extensions/agent-plugins/capability-access.js";
|
|
3
3
|
import { AgentPluginStore } from "../../extensions/agent-plugins/store.js";
|
|
4
4
|
import { resolveWorkspaceSkillsDir } from "./workspace-skills-dir.js";
|
|
5
|
-
import { existsSync, realpathSync } from "node:fs";
|
|
6
|
-
import { isAbsolute, join, relative, resolve } from "node:path";
|
|
7
5
|
import { homedir } from "node:os";
|
|
6
|
+
import { isAbsolute, join, relative, resolve } from "node:path";
|
|
7
|
+
import { existsSync, realpathSync } from "node:fs";
|
|
8
8
|
//#region src/agent/skills/skill-sources.ts
|
|
9
9
|
init_paths();
|
|
10
10
|
const PRIORITY = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AgentCatalogRepository, init_repository } from "../agent-catalog/repository.js";
|
|
2
2
|
import { init_agent_scope, resolveAgentProfileDir, resolveAgentWorkspaceDir } from "./agent-scope.js";
|
|
3
3
|
import { WORKSPACE_FILES, init_paths } from "../config/paths.js";
|
|
4
|
-
import { existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
5
4
|
import { join } from "node:path";
|
|
5
|
+
import { existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
6
6
|
//#region src/agent/starter-agents.ts
|
|
7
7
|
init_repository();
|
|
8
8
|
init_paths();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createLogger } from "../../utils/logger/index.js";
|
|
2
2
|
import { init_logger } from "../../utils/logger.js";
|
|
3
|
-
import { getAgentDefaultModelRef, init_schema } from "../../config/schema.js";
|
|
4
3
|
import { TaskRepository, init_task_repository } from "../../tasks/task-repository.js";
|
|
5
4
|
import { TaskRunRepository, init_task_run_repository } from "../../tasks/task-run-repository.js";
|
|
5
|
+
import { getAgentDefaultModelRef, init_schema } from "../../config/schema.js";
|
|
6
6
|
import { resolveEffectiveAgentProfileForSession } from "../../config/agent-profile.js";
|
|
7
7
|
import { getApiKey, init_providers, resolveModel } from "../../providers/index.js";
|
|
8
8
|
import { completeWithResolvedCredentials } from "../../providers/model-call.js";
|
|
@@ -13,8 +13,8 @@ import { publishHostedStaticSite } from "../../share/hosted-static-site-publish.
|
|
|
13
13
|
import { audienceDefaults, decideShareKind, makeDescription, makeTitle, probeShareTarget, rememberStagedSite, stageSingleHtmlAsSite } from "../../share/share-auto.js";
|
|
14
14
|
import { scheduleThumbnail } from "../../share/share-thumbnail.js";
|
|
15
15
|
import { resolveToolLocale, shareToolErrorLine, shareToolSuccessLines } from "../../i18n/share-tool-bundle.js";
|
|
16
|
-
import { createHash } from "node:crypto";
|
|
17
16
|
import { relative } from "node:path";
|
|
17
|
+
import { createHash } from "node:crypto";
|
|
18
18
|
import { Type } from "@sinclair/typebox";
|
|
19
19
|
//#region src/agent/tools/create-share-tool.ts
|
|
20
20
|
/**
|
|
@@ -74,6 +74,7 @@ export interface ToolFactoryDeps {
|
|
|
74
74
|
dispatchTaskEvents?: () => void;
|
|
75
75
|
/** Gateway: queues Task execution for xopc_use task start/resume/verify actions. */
|
|
76
76
|
dispatchTaskRuns?: () => void;
|
|
77
|
+
retryTask?: import('../service.types.js').AgentServiceConfig['retryTask'];
|
|
77
78
|
/** Gateway: refreshes Agent runtime state after xopc_use mutates the catalog. */
|
|
78
79
|
onAgentCatalogMutate?: () => void;
|
|
79
80
|
/** Current session skill indexing (tool gating + allowlist); used by skills_list / skill_view. */
|
|
@@ -2,8 +2,8 @@ import { init_paths_state, 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 { init_agent_scope, resolveDefaultAgentId } from "../agent-scope.js";
|
|
6
5
|
import { getBrowserTabBinding } from "../../storage/sqlite/browser-tab-binding-repository.js";
|
|
6
|
+
import { init_agent_scope, resolveDefaultAgentId } from "../agent-scope.js";
|
|
7
7
|
import { init_request_repository, personalRequestForExecution } from "../../personal-agent/request-repository.js";
|
|
8
8
|
import { getSessionMetadata } from "../../storage/sqlite/session-read-repository.js";
|
|
9
9
|
import { patchSessionMetadata } from "../../storage/sqlite/session-repository.js";
|
|
@@ -16,6 +16,8 @@ import { resolveEffectiveAgentConfigForAgent } from "../../config/agent-profile.
|
|
|
16
16
|
import { getExecutionAuthority } from "../../infra/execution-authority.js";
|
|
17
17
|
import { canRecallConversation, canRecallHistoryEntry } from "../../session/history-recall-policy.js";
|
|
18
18
|
import { getExecutionEnvironmentForSession } from "../../execution-environments/subject.js";
|
|
19
|
+
import { buildRuntimeEnvironment } from "../../runtime-tools/environment.js";
|
|
20
|
+
import { skillEnvironmentId } from "../skills/installer.js";
|
|
19
21
|
import { TaskConversationRepository } from "../../tasks/task-conversation-repository.js";
|
|
20
22
|
import { getActiveTranscriptUserText, getPendingTranscriptUserText } from "../inbound/attachment-pipeline.js";
|
|
21
23
|
import { getEmbeddedExecutionRunId, getEmbeddedExecutionSession } from "../embedded/execution-context.js";
|
|
@@ -34,8 +36,6 @@ import { markCodemodeCoreRead } from "./codemode-permissions.js";
|
|
|
34
36
|
import "../../../packages/browser-control-contract/src/index.js";
|
|
35
37
|
import { wrapToolsWithProtection } from "./executor.js";
|
|
36
38
|
import { createDefaultExternalToolGatewayTools } from "../external-tools/index.js";
|
|
37
|
-
import { buildRuntimeEnvironment } from "../../runtime-tools/environment.js";
|
|
38
|
-
import { skillEnvironmentId } from "../skills/installer.js";
|
|
39
39
|
import { createDataBatchTool } from "./dataBatch.js";
|
|
40
40
|
import { createXopcUseTool } from "./xopc-use-tool.js";
|
|
41
41
|
import { createMcpSetupTool } from "./mcp-setup-tool.js";
|
|
@@ -499,6 +499,7 @@ var AgentToolsFactory = class AgentToolsFactory {
|
|
|
499
499
|
getPhoneSetupService: this.deps.getPhoneSetupService,
|
|
500
500
|
dispatchTaskEvents: this.deps.dispatchTaskEvents,
|
|
501
501
|
dispatchTaskRuns: this.deps.dispatchTaskRuns,
|
|
502
|
+
retryTask: this.deps.retryTask,
|
|
502
503
|
onAgentCatalogMutate: this.deps.onAgentCatalogMutate
|
|
503
504
|
};
|
|
504
505
|
const core = [
|
|
@@ -8,8 +8,8 @@ import { persistToolMedia } from "./tool-media.js";
|
|
|
8
8
|
import { isFailoverError } from "../failover-error.js";
|
|
9
9
|
import { getImageGenerationProvider } from "../image/generation/provider-registry.js";
|
|
10
10
|
import { generateImage, listImageGenerationProvidersSummary } from "../image/generation/runtime.js";
|
|
11
|
-
import { randomBytes } from "node:crypto";
|
|
12
11
|
import path from "node:path";
|
|
12
|
+
import { randomBytes } from "node:crypto";
|
|
13
13
|
import { Type } from "@sinclair/typebox";
|
|
14
14
|
//#region src/agent/tools/image-generate-tool.ts
|
|
15
15
|
init_schema();
|
|
@@ -14,11 +14,11 @@ import { isUnquotedOwnerEvidence } from "../../memory-learning/owner-directive.j
|
|
|
14
14
|
import { deleteUserAssertion, getAssertionSlot, getUserAssertion, reconcileAssertion, setAssertionStatus, setUserAssertionScope } from "../../user-model/repository.js";
|
|
15
15
|
import { canUseAssertion } from "../../user-model/usage-policy.js";
|
|
16
16
|
import { getPersonalAgentByConversation } from "../../personal-agent/repository.js";
|
|
17
|
+
import "../../user-model/index.js";
|
|
17
18
|
import { getSessionInteractionPolicy } from "../session/interaction-policy-state.js";
|
|
18
19
|
import "../session/interaction-policy.js";
|
|
19
20
|
import { executeAtomicOperation } from "../../capabilities/runtime/atomic-operations.js";
|
|
20
21
|
import { memoryVersion } from "../../user-context/memory-version.js";
|
|
21
|
-
import "../../user-model/index.js";
|
|
22
22
|
import { extractAgentUserPlainText } from "../memory/user-message-text.js";
|
|
23
23
|
import { createHash } from "node:crypto";
|
|
24
24
|
import { Type } from "@sinclair/typebox";
|
|
@@ -14,6 +14,7 @@ export declare function listUnallocatedPersonalRequests(conversationId: string,
|
|
|
14
14
|
title: string;
|
|
15
15
|
connectorId: string;
|
|
16
16
|
state: import("../../personal-agent/request-repository.js").PersonalRequestState;
|
|
17
|
+
createdAt: number;
|
|
17
18
|
updatedAt: number;
|
|
18
19
|
}[];
|
|
19
20
|
};
|
|
@@ -6,8 +6,8 @@ import { getActiveConnectionWait, init_connection_wait_repository, reviseCurrent
|
|
|
6
6
|
import { isPersonalConversation } from "../../personal-agent/repository.js";
|
|
7
7
|
import { TaskAllocationRepository } from "../../tasks/task-allocation-repository.js";
|
|
8
8
|
import { resolveExactConnectionCandidate } from "../../connectors/connection-candidates.js";
|
|
9
|
-
import { TASK_NOTIFICATION_PREFERENCES, getTaskNotificationPreference, isTaskNotificationPreference, setTaskNotificationPreference } from "../../tasks/task-notification-preference.js";
|
|
10
9
|
import { personalCapabilities } from "../../personal-agent/capability-service.js";
|
|
10
|
+
import { TASK_NOTIFICATION_PREFERENCES, getTaskNotificationPreference, isTaskNotificationPreference, setTaskNotificationPreference } from "../../tasks/task-notification-preference.js";
|
|
11
11
|
import { selectionRequestHash } from "../../agent-matching/selection-repository.js";
|
|
12
12
|
import { assertPersonalRequestTimeRange, cancelPersonalRequest, personalRequestSnapshot, publishPersonalRequest, stopPersonalRequestExecution, submitPersonalRequest } from "../../personal-agent/request-service.js";
|
|
13
13
|
import { Type } from "@sinclair/typebox";
|
|
@@ -91,6 +91,7 @@ function listUnallocatedPersonalRequests(conversationId, limit, offset, query) {
|
|
|
91
91
|
title: request.objective,
|
|
92
92
|
connectorId: request.connectorId,
|
|
93
93
|
state: request.state,
|
|
94
|
+
createdAt: request.createdAt,
|
|
94
95
|
updatedAt: request.updatedAt
|
|
95
96
|
}))
|
|
96
97
|
};
|
|
@@ -8,16 +8,16 @@ import { getSessionMetadata } from "../../storage/sqlite/session-read-repository
|
|
|
8
8
|
import "../../storage/sqlite/index.js";
|
|
9
9
|
import { isPersonalConversation } from "../../personal-agent/repository.js";
|
|
10
10
|
import { TaskAllocationRepository } from "../../tasks/task-allocation-repository.js";
|
|
11
|
+
import { getAvailablePersonalAgentTools, personalAgentModelAvailability } from "../../personal-agent/specialist-capabilities.js";
|
|
12
|
+
import { assessSpecialist, matchSpecialists } from "../../agent-matching/service.js";
|
|
13
|
+
import { parseTaskHandoffReferences } from "../../tasks/task-handoff.js";
|
|
11
14
|
import { TaskReadModelProjector } from "../../tasks/task-read-model-projector.js";
|
|
12
15
|
import { TaskCollaborationRepository } from "../../tasks/task-collaboration-repository.js";
|
|
13
16
|
import { TaskResultDeliveryRepository } from "../../tasks/task-result-delivery-repository.js";
|
|
14
17
|
import { TaskOriginRepository } from "../../tasks/task-origin-repository.js";
|
|
15
18
|
import { boundedPersonalResult } from "./personal-result-budget.js";
|
|
16
|
-
import { parseTaskHandoffReferences } from "../../tasks/task-handoff.js";
|
|
17
19
|
import { TaskApplicationService } from "../../tasks/task-application-service.js";
|
|
18
20
|
import { TASK_NOTIFICATION_PREFERENCES, isTaskNotificationPreference, setTaskNotificationPreference } from "../../tasks/task-notification-preference.js";
|
|
19
|
-
import { getAvailablePersonalAgentTools, personalAgentModelAvailability } from "../../personal-agent/specialist-capabilities.js";
|
|
20
|
-
import { assessSpecialist, matchSpecialists } from "../../agent-matching/service.js";
|
|
21
21
|
import { createXopcUseTool } from "./xopc-use-tool.js";
|
|
22
22
|
import { AgentSelectionRepository, selectionRequestHash } from "../../agent-matching/selection-repository.js";
|
|
23
23
|
import { assertSpecialistEligible, createSelectedTask } from "../../agent-matching/delegation-service.js";
|
|
@@ -35,6 +35,7 @@ const PersonalTaskSchema = Type.Object({
|
|
|
35
35
|
command: Type.Union([
|
|
36
36
|
Type.Literal("revise"),
|
|
37
37
|
Type.Literal("retry_allocation"),
|
|
38
|
+
Type.Literal("retry"),
|
|
38
39
|
Type.Literal("submit"),
|
|
39
40
|
Type.Literal("match"),
|
|
40
41
|
Type.Literal("selection"),
|
|
@@ -108,7 +109,7 @@ const PersonalTaskSchema = Type.Object({
|
|
|
108
109
|
taskReference: Type.Optional(Type.String({
|
|
109
110
|
minLength: 1,
|
|
110
111
|
maxLength: 200,
|
|
111
|
-
description: "For instruct
|
|
112
|
+
description: "For instruct, omit for an implicit follow-up to the only open task. For a named task or when several open tasks exist, quote a distinctive reference from the latest user message, such as 华东 or 新闻任务. If the target is still ambiguous, ask which task the user means."
|
|
112
113
|
})),
|
|
113
114
|
entryId: Type.Optional(Type.String({ description: "Read one complete collaboration entry, including its question or instruction body." })),
|
|
114
115
|
afterSequence: Type.Optional(Type.Integer({ minimum: 0 })),
|
|
@@ -164,12 +165,13 @@ const PersonalTaskModelSchema = Type.Object({
|
|
|
164
165
|
"entry",
|
|
165
166
|
"instruct",
|
|
166
167
|
"answer",
|
|
168
|
+
"retry",
|
|
167
169
|
"retry_allocation",
|
|
168
170
|
"selection",
|
|
169
171
|
"cancel",
|
|
170
172
|
"notifications"
|
|
171
173
|
]],
|
|
172
|
-
description: "Required. submit=new goal; instruct=new direction on running work; answer=worker question; revise=completed work with an exact returned result baseline only."
|
|
174
|
+
description: "Required. submit=new goal; instruct=new direction on running work; answer=worker question; retry=explicit request to resume or rerun existing work; revise=completed work with an exact returned result baseline only."
|
|
173
175
|
}),
|
|
174
176
|
sourceRefs: Type.Optional(Type.Array(Type.Object({
|
|
175
177
|
kind: Type.Union([
|
|
@@ -261,7 +263,8 @@ const PersonalTaskModelSchema = Type.Object({
|
|
|
261
263
|
properties: { command: { enum: [
|
|
262
264
|
"get",
|
|
263
265
|
"collaboration",
|
|
264
|
-
"cancel"
|
|
266
|
+
"cancel",
|
|
267
|
+
"retry"
|
|
265
268
|
] } },
|
|
266
269
|
required: [id]
|
|
267
270
|
},
|
|
@@ -312,7 +315,7 @@ function createPersonalTaskTool(deps) {
|
|
|
312
315
|
return {
|
|
313
316
|
name: "personal_task",
|
|
314
317
|
label: "Personal Task",
|
|
315
|
-
description: "Coordinate ordinary Tasks and connected-app requests. For get, instruct, cancel, answer, collaboration, entry or notifications, use the known taskId or requestId. Connected-app requests awaiting authorization have only a requestId. Use timeRange on instruct for a changed absolute query range. Always include command. New ordinary goal: submit objective plus useOriginalRequest=true for a self-contained active user message; the host preserves the complete original text. Otherwise supply a concise complete description. Include sourceRefs for required inputs without pre-reading files or planning the execution. Use requirements.requestedAgentId only for an explicitly named executor; preserve explicitly requested requiredSkills. The background Router chooses the executor. After successful persistence, give one short confirmation and finish; updates arrive automatically.\nRUNNING work: send instruct with the known ID and instruction for new direction, or answer with the known ID, questionId and instruction for an exact worker question. Reuse the SAME Task, without a baseline lookup. Never revise running work.\nCOMPLETED ordinary work only: get(section=\"revision\"), then revise with instruction and exact returned revisionBaseline.resultId, baselineVersion and expectedVersion. If revisionBaseline is absent, use instruct/answer; never invent placeholders. This saves a revision and queues background allocation atomically. Reuse idempotencyKey for uncertain retries. supersedesEntryIds names only earlier instruction/answer entries to replace; all other requirements remain. Independent goals use submit with pinned old-result sources; connected-app side effects require a newly authorized Request.\nsourceRefs: workspace input {kind:\"file\",sourceId:\"path\"}; prior result {kind:\"result\",resultId:\"exact result ID\",sourceId:\"exact artifact ID or unique file title\"}, omitting sourceId only for retained body; other prior inputs use stable sourceId and optional expectedVersion. The host authorizes and pins exact versions; workspace inputs are not executor cwd. Do not invent composite IDs.\nUse notifications with the known ID and notificationPreference to change an existing Task only when the user asks. Use get(section=\"status\") for a brief current status; list locates a Task or a request awaiting authorization and get(section,limit,offset) reads details. collaboration(afterSequence) returns previews; entry(entryId,bodyOffset) reads full bodies through nextBodyOffset. Read complete questions before answering. cancel only on explicit user instruction; report executionStopConfirmed accurately. retry_allocation retries selection, not arbitrary execution. Saved, delivered, executor-confirmed and verified completion are distinct; report only confirmed states.",
|
|
318
|
+
description: "Coordinate ordinary Tasks and connected-app requests. For get, retry, instruct, cancel, answer, collaboration, entry or notifications, use the known taskId or requestId. Connected-app requests awaiting authorization have only a requestId. Use timeRange on instruct for a changed absolute query range. Always include command. When the user asks to retry after reauthorization or failure, locate the original request or Task (list by a distinctive title phrase, using the original date if needed), then call retry with its exact ID. Ask which one only if multiple plausible targets remain. Report the returned status; queued means accepted for execution, waiting_connection means the original request is preserved and may still need action in the connection panel. Do not submit a duplicate. New ordinary goal: submit objective plus useOriginalRequest=true for a self-contained active user message; the host preserves the complete original text. Otherwise supply a concise complete description. Include sourceRefs for required inputs without pre-reading files or planning the execution. Use requirements.requestedAgentId only for an explicitly named executor; preserve explicitly requested requiredSkills. The background Router chooses the executor. After successful persistence, give one short confirmation and finish; updates arrive automatically.\nRUNNING work: send instruct with the known ID and instruction for new direction, or answer with the known ID, questionId and instruction for an exact worker question. Reuse the SAME Task, without a baseline lookup. Never revise running work.\nCOMPLETED ordinary work only: get(section=\"revision\"), then revise with instruction and exact returned revisionBaseline.resultId, baselineVersion and expectedVersion. If revisionBaseline is absent, use instruct/answer; never invent placeholders. This saves a revision and queues background allocation atomically. Reuse idempotencyKey for uncertain retries. supersedesEntryIds names only earlier instruction/answer entries to replace; all other requirements remain. Independent goals use submit with pinned old-result sources; connected-app side effects require a newly authorized Request.\nsourceRefs: workspace input {kind:\"file\",sourceId:\"path\"}; prior result {kind:\"result\",resultId:\"exact result ID\",sourceId:\"exact artifact ID or unique file title\"}, omitting sourceId only for retained body; other prior inputs use stable sourceId and optional expectedVersion. The host authorizes and pins exact versions; workspace inputs are not executor cwd. Do not invent composite IDs.\nUse notifications with the known ID and notificationPreference to change an existing Task only when the user asks. Use get(section=\"status\") for a brief current status; list locates a Task or a request awaiting authorization and get(section,limit,offset) reads details. collaboration(afterSequence) returns previews; entry(entryId,bodyOffset) reads full bodies through nextBodyOffset. Read complete questions before answering. cancel only on explicit user instruction; report executionStopConfirmed accurately. retry_allocation retries selection, not arbitrary execution. Saved, delivered, executor-confirmed and verified completion are distinct; report only confirmed states.",
|
|
316
319
|
parameters: PersonalTaskModelSchema,
|
|
317
320
|
mutatesWorkspace: true,
|
|
318
321
|
mutationScope: "external",
|
|
@@ -329,6 +332,28 @@ function createPersonalTaskTool(deps) {
|
|
|
329
332
|
const conversationId = deps.getCurrentConversationId?.();
|
|
330
333
|
const ownAgentId = deps.getCurrentAgentId?.();
|
|
331
334
|
if (!conversationId || !ownAgentId || !isPersonalConversation(conversationId)) throw new Error("Personal conversation context is unavailable");
|
|
335
|
+
if (input.command === "retry") {
|
|
336
|
+
if (!deps.retryTask) throw new Error("Task recovery is unavailable");
|
|
337
|
+
const taskId = input.taskId?.trim();
|
|
338
|
+
const requestId = input.requestId?.trim();
|
|
339
|
+
if (Boolean(taskId) === Boolean(requestId)) throw new Error("Provide either taskId or requestId");
|
|
340
|
+
if (input.timeRange !== void 0) throw new Error("Retry preserves the original time range");
|
|
341
|
+
const activeId = getSessionInputState(conversationId).activeInputId;
|
|
342
|
+
const active = activeId ? getSessionInputById(conversationId, activeId) : void 0;
|
|
343
|
+
if (!active || active.kind !== "message" || active.origin.type === "system" && active.origin.source !== "cli") throw new Error("Retry requires a user message in the active Personal conversation");
|
|
344
|
+
const result = await deps.retryTask({
|
|
345
|
+
...taskId ? { taskId } : { requestId },
|
|
346
|
+
conversationId,
|
|
347
|
+
idempotencyKey: active.id
|
|
348
|
+
});
|
|
349
|
+
return {
|
|
350
|
+
content: [{
|
|
351
|
+
type: "text",
|
|
352
|
+
text: JSON.stringify(result)
|
|
353
|
+
}],
|
|
354
|
+
details: {}
|
|
355
|
+
};
|
|
356
|
+
}
|
|
332
357
|
if (!requestResolved && REQUEST_COORDINATION_COMMANDS.includes(input.command)) {
|
|
333
358
|
if (input.requestId !== void 0 && input.taskId !== void 0) throw new Error("Provide either taskId or requestId");
|
|
334
359
|
const request = input.requestId !== void 0 ? getPersonalRequest(input.requestId.trim()) : input.taskId ? personalRequestForTask(input.taskId.trim()) : void 0;
|
|
@@ -576,14 +601,20 @@ function createPersonalTaskTool(deps) {
|
|
|
576
601
|
if (command === "instruct" && !requestResolved) {
|
|
577
602
|
const activeInputId = getSessionInputState(conversationId).activeInputId;
|
|
578
603
|
const activeInput = activeInputId ? getSessionInputById(conversationId, activeInputId) : void 0;
|
|
579
|
-
const directory = new TaskOriginRepository();
|
|
580
604
|
const workerUpdate = activeInput?.origin.type === "system" && activeInput.origin.source === "task_update";
|
|
581
|
-
if (activeInput?.kind === "message" && !workerUpdate
|
|
605
|
+
if (activeInput?.kind === "message" && !workerUpdate) {
|
|
606
|
+
const directory = new TaskOriginRepository();
|
|
582
607
|
const reference = input.taskReference?.trim();
|
|
583
|
-
if (!reference
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
608
|
+
if (!reference) {
|
|
609
|
+
if (directory.list(conversationId, 1, { excludeClosed: true }).total > 1) throw new Error("Several tasks are still open. Provide taskReference quoted from the latest user message, or ask which task they mean.");
|
|
610
|
+
} else {
|
|
611
|
+
if (!activeInput.content.toLowerCase().includes(reference.toLowerCase())) throw new Error("Provide taskReference quoted from the latest user message, or omit it for an implicit follow-up to the only open task.");
|
|
612
|
+
let matches = directory.list(conversationId, 1, { query: reference });
|
|
613
|
+
const shortReference = reference.replace(/(?:[这那][份个项条](?:任务)?|(?:的)?任务|\s+task)$/iu, "").trimEnd();
|
|
614
|
+
if (!matches.total && shortReference && shortReference !== reference) matches = directory.list(conversationId, 1, { query: shortReference });
|
|
615
|
+
if (matches.total > 1) throw new Error("The taskReference does not identify this task uniquely. Ask which task the user means without retrying this reference.");
|
|
616
|
+
if (matches.items[0]?.id !== taskId) throw new Error("The taskReference does not identify the selected task. Use a distinctive quote from the user’s message that matches its title or objective, or ask which task they mean.");
|
|
617
|
+
}
|
|
587
618
|
}
|
|
588
619
|
}
|
|
589
620
|
if (command === "notifications") {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { turnOutcomeKindFromFileName, turnOutcomeMimeTypeFromFileName } from "../../../packages/gateway-contract/src/turn-outcome.js";
|
|
2
2
|
import { init_src } from "../../../packages/gateway-contract/src/index.js";
|
|
3
|
-
import { resolvePathUnderWorkspace } from "./tool-paths.js";
|
|
4
3
|
import { fileResourceId, fileSpaceId } from "../../files/file-service.js";
|
|
4
|
+
import { resolvePathUnderWorkspace } from "./tool-paths.js";
|
|
5
5
|
import { evaluateFilePolicy } from "../sandbox/exec-policy.js";
|
|
6
6
|
import { readWorkspaceFile } from "../sandbox/fileAccess.js";
|
|
7
7
|
import { persistToolMedia } from "./tool-media.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { readWorkspaceRevision } from "../coding/workspace-revision.js";
|
|
2
1
|
import { prepareSafeToolEnv } from "../sandbox/sanitize-env-vars.js";
|
|
2
|
+
import { readWorkspaceRevision } from "../coding/workspace-revision.js";
|
|
3
3
|
import { evaluateFilePolicy } from "../sandbox/exec-policy.js";
|
|
4
4
|
import { checkedFilePath, readWorkspaceFile } from "../sandbox/fileAccess.js";
|
|
5
5
|
import { resolve } from "node:path";
|
|
6
|
-
import { lstat, readlink, realpath } from "node:fs/promises";
|
|
7
6
|
import { execFile } from "node:child_process";
|
|
8
7
|
import { promisify } from "node:util";
|
|
8
|
+
import { lstat, readlink, realpath } from "node:fs/promises";
|
|
9
9
|
import { Type } from "@sinclair/typebox";
|
|
10
10
|
//#region src/agent/tools/review-workspace.ts
|
|
11
11
|
const exec = promisify(execFile);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { checkedFilePath, readWorkspaceFile, writeWorkspaceFile } from "../sandbox/fileAccess.js";
|
|
2
|
-
import { createHash } from "node:crypto";
|
|
3
|
-
import { existsSync, readdirSync } from "node:fs";
|
|
4
2
|
import { resolve } from "node:path";
|
|
3
|
+
import { existsSync, readdirSync } from "node:fs";
|
|
4
|
+
import { createHash } from "node:crypto";
|
|
5
5
|
import { Type } from "@sinclair/typebox";
|
|
6
6
|
//#region src/agent/tools/scoped-workspace-tools.ts
|
|
7
7
|
/** Bounded file capability shared by background task executors; no command authority. */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { resolveStateDir } from "../../config/paths-state.js";
|
|
2
2
|
import { init_paths } from "../../config/paths.js";
|
|
3
|
-
import { removeSkillsLockEntry } from "../skills/hub-lock.js";
|
|
4
3
|
import { hasBinary } from "../skills/installer.js";
|
|
5
4
|
import { createSkillConfigManager, getSkillEnvironment, isSkillEnabled, resolveSkillConfig } from "../skills/config.js";
|
|
6
5
|
import { resolveWorkspaceSkillsDir, resolveWorkspaceSkillsLockPath } from "../skills/workspace-skills-dir.js";
|
|
6
|
+
import { removeSkillsLockEntry } from "../skills/hub-lock.js";
|
|
7
7
|
import { applyPatchToContent, atomicWriteUtf8, effectiveAgentWritePolicy, ensureCategorySegment, isPathInsideDir, maxSkillMdChars, maxSupportFileBytes, mutatableSkillOrNull, resolveCreateSkillDir, scanSkillDirOrError, validateSkillMdContent, validateSkillNameSegment, validateSupportingRelativePath } from "../skills/skill-manage-ops.js";
|
|
8
8
|
import { join } from "path";
|
|
9
9
|
import { existsSync, rmSync } from "fs";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
import { getSqliteDatabase, init_transaction } from "../../storage/sqlite/transaction.js";
|
|
1
2
|
import { parseResultReferenceId } from "../../../packages/gateway-contract/src/result-reference.js";
|
|
2
3
|
import { init_src } from "../../../packages/gateway-contract/src/index.js";
|
|
3
|
-
import { getSqliteDatabase, init_transaction } from "../../storage/sqlite/transaction.js";
|
|
4
4
|
import { TaskRepository, init_task_repository } from "../../tasks/task-repository.js";
|
|
5
5
|
import { TaskRunRepository, init_task_run_repository } from "../../tasks/task-run-repository.js";
|
|
6
6
|
import { init_request_repository, personalRequestForExecution } from "../../personal-agent/request-repository.js";
|
|
7
7
|
import { getSessionMetadata } from "../../storage/sqlite/session-read-repository.js";
|
|
8
8
|
import { init_session_repository } from "../../storage/sqlite/session-repository.js";
|
|
9
|
+
import { assertTaskHandoffExecutorAccess, getTaskHandoff, materializeTaskHandoffFile, readTaskConversationExcerpts, readTaskHandoffSource } from "../../tasks/task-handoff.js";
|
|
9
10
|
import { TaskReadModelProjector } from "../../tasks/task-read-model-projector.js";
|
|
10
11
|
import { TaskConversationRepository } from "../../tasks/task-conversation-repository.js";
|
|
11
12
|
import { TaskCollaborationRepository } from "../../tasks/task-collaboration-repository.js";
|
|
12
13
|
import { getEmbeddedExecutionSession } from "../embedded/execution-context.js";
|
|
13
|
-
import { assertTaskHandoffExecutorAccess, getTaskHandoff, materializeTaskHandoffFile, readTaskConversationExcerpts, readTaskHandoffSource } from "../../tasks/task-handoff.js";
|
|
14
14
|
import { taskResearchEvidence } from "../../tasks/task-research-result.js";
|
|
15
15
|
import { createXopcUseTool } from "./xopc-use-tool.js";
|
|
16
16
|
import { Type } from "@sinclair/typebox";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MEDIA_ARTIFACT_MAX_BYTES, mimeTypeFromMediaPath, saveMediaBuffer } from "../../media/store.js";
|
|
2
2
|
import { sniffImageMimeType } from "../image/generation/image-assets.js";
|
|
3
|
-
import { createHash } from "node:crypto";
|
|
4
3
|
import { basename } from "node:path";
|
|
4
|
+
import { createHash } from "node:crypto";
|
|
5
5
|
//#region src/agent/tools/tool-media.ts
|
|
6
6
|
function hasImageMagic(buffer) {
|
|
7
7
|
if (buffer.length >= 8 && buffer.subarray(0, 8).equals(Buffer.from([
|
|
@@ -2,9 +2,9 @@ import { projectForgottenEvidence } from "../../memory-learning/forgotten-histor
|
|
|
2
2
|
import { retrievalLexicalSimilarity } from "../../retrieval/textFeatures.js";
|
|
3
3
|
import { deleteUserAssertion, getAssertionSlot, getUserAssertion, listUserAssertionSources, listUserAssertions, reconcileAssertion, setAssertionStatus } from "../../user-model/repository.js";
|
|
4
4
|
import { canUseAssertion } from "../../user-model/usage-policy.js";
|
|
5
|
+
import "../../user-model/index.js";
|
|
5
6
|
import "./local-read-budget.js";
|
|
6
7
|
import { memoryVersion } from "../../user-context/memory-version.js";
|
|
7
|
-
import "../../user-model/index.js";
|
|
8
8
|
import { Type } from "@sinclair/typebox";
|
|
9
9
|
//#region src/agent/tools/user-context-tool.ts
|
|
10
10
|
const SearchSchema = Type.Object({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { appendProductDeliveryText } from "../../../packages/gateway-contract/src/product-delivery.js";
|
|
2
2
|
import { init_src } from "../../../packages/gateway-contract/src/index.js";
|
|
3
|
-
import { isBareProfileMarkdownFileName, resolvePathUnderWorkspace, resolveProfileMarkdownPathIfBareName } from "./tool-paths.js";
|
|
4
3
|
import { fileResourceId, fileSpaceId } from "../../files/file-service.js";
|
|
4
|
+
import { isBareProfileMarkdownFileName, resolvePathUnderWorkspace, resolveProfileMarkdownPathIfBareName } from "./tool-paths.js";
|
|
5
5
|
import { writeWorkspaceFile } from "../sandbox/fileAccess.js";
|
|
6
6
|
import { checkFileSafety } from "../prompt/safety.js";
|
|
7
7
|
import { basename, isAbsolute, relative, sep } from "path";
|
|
@@ -44,6 +44,7 @@ export interface XopcUseToolDeps {
|
|
|
44
44
|
dispatchTaskEvents?: () => void;
|
|
45
45
|
createTask?: TaskApplicationService['create'];
|
|
46
46
|
dispatchTaskRuns?: () => void;
|
|
47
|
+
retryTask?: import('../service.types.js').AgentServiceConfig['retryTask'];
|
|
47
48
|
onAgentCatalogMutate?: () => void;
|
|
48
49
|
}
|
|
49
50
|
type XopcUseDetails = {
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
+
import { runWithActivityContext } from "../../activity/context.js";
|
|
2
|
+
import { init_transaction, runSqliteWriteTransaction } from "../../storage/sqlite/transaction.js";
|
|
1
3
|
import { ChatPreviewCreateInputSchema, ChatPreviewReviseInputSchema } from "../../../packages/gateway-contract/src/chat-previews.js";
|
|
2
4
|
import { appendProductDeliveryText } from "../../../packages/gateway-contract/src/product-delivery.js";
|
|
3
5
|
import { normalizeSpecialistRequirements } from "../../../packages/gateway-contract/src/specialists.js";
|
|
4
6
|
import { TaskCommandSchema, TaskContextInputSchema, TaskWorkspaceDestinationSchema } from "../../../packages/gateway-contract/src/tasks.js";
|
|
5
7
|
import { AutomationCancelOutputSchema, AutomationDeleteOutputSchema, AutomationMutationOutputSchema, AutomationReadAllInputSchema, AutomationReadAllOutputSchema, AutomationReadOutputSchema, AutomationRecoveryOutputSchema, AutomationRunMutationOutputSchema, CapabilityCallSchema, CapabilityResourceInputSchema, NoteDeleteOutputSchema, NoteGetOutputSchema, ProjectCreateInputSchema, ProjectDeleteInputSchema, ProjectDeleteOutputSchema, ProjectEditInputSchema, ProjectMilestoneCreateInputSchema, ProjectMilestoneDeleteInputSchema, ProjectMilestoneDeleteOutputSchema, ProjectMilestoneOutputSchema, ProjectMilestoneUpdateInputSchema, ProjectMutationOutputSchema, ProjectResolveWorkspaceInputSchema, ProjectResolveWorkspaceOutputSchema, ProjectSetPinnedInputSchema, ProjectUpdateCreateInputSchema, ProjectUpdateOutputSchema, TaskRunCancelInputSchema, TaskRunCancelOutputSchema, TaskRunFeedbackInputSchema, TaskRunFeedbackOutputSchema } from "../../../packages/gateway-contract/src/capabilities.js";
|
|
6
8
|
import { init_src } from "../../../packages/gateway-contract/src/index.js";
|
|
7
|
-
import { init_transaction, runSqliteWriteTransaction } from "../../storage/sqlite/transaction.js";
|
|
8
9
|
import { TaskRepository } from "../../tasks/task-repository.js";
|
|
9
10
|
import { TaskRunRepository } from "../../tasks/task-run-repository.js";
|
|
10
11
|
import { getSessionMetadata } from "../../storage/sqlite/session-read-repository.js";
|
|
11
12
|
import "../../storage/sqlite/index.js";
|
|
13
|
+
import "../../activity/index.js";
|
|
12
14
|
import { getDefaultAgentId, init_resolve_route } from "../../routing/resolve-route.js";
|
|
13
15
|
import { isPersonalConversation } from "../../personal-agent/repository.js";
|
|
14
16
|
import { hasUnlocalizedTaskText, resolveTaskLocale } from "../../tasks/task-language.js";
|
|
17
|
+
import { resolveProjectAgentId } from "../../projects/project-agent.js";
|
|
18
|
+
import "../../projects/index.js";
|
|
19
|
+
import { parseTaskConversationExcerpts, parseTaskHandoffReferences } from "../../tasks/task-handoff.js";
|
|
15
20
|
import { TaskReadModelProjector } from "../../tasks/task-read-model-projector.js";
|
|
16
21
|
import { TaskConversationRepository } from "../../tasks/task-conversation-repository.js";
|
|
17
22
|
import { TaskCollaborationRepository } from "../../tasks/task-collaboration-repository.js";
|
|
@@ -21,10 +26,6 @@ import { CapabilityError } from "../../capabilities/runtime/errors.js";
|
|
|
21
26
|
import { getAutomationSetup } from "../../automations/configuration-conversation.js";
|
|
22
27
|
import "../../capabilities/runtime/dispatcher.js";
|
|
23
28
|
import { AutomationMcpSourceInput, prepareAutomationMcpSource } from "../../automations/mcp-source.js";
|
|
24
|
-
import { runWithActivityContext } from "../../activity/context.js";
|
|
25
|
-
import { resolveProjectAgentId } from "../../projects/project-agent.js";
|
|
26
|
-
import "../../projects/index.js";
|
|
27
|
-
import { parseTaskConversationExcerpts, parseTaskHandoffReferences } from "../../tasks/task-handoff.js";
|
|
28
29
|
import { TaskApplicationService } from "../../tasks/task-application-service.js";
|
|
29
30
|
import { AutomationCreateCapabilityInputSchema, AutomationUpdatePatchSchema } from "../../automations/capabilities/write.js";
|
|
30
31
|
import { resolveResponseLanguageForSession } from "../prompt/response-language.js";
|
|
@@ -35,7 +36,6 @@ import { getDelegationScope } from "../orchestration/delegation-scope.js";
|
|
|
35
36
|
import { localAppCapabilities } from "../../local-apps/capabilities/runtime.js";
|
|
36
37
|
import { createProductDispatcher } from "../../capabilities/runtime/product.js";
|
|
37
38
|
import { isTaskNotificationPreference, taskNotificationContext } from "../../tasks/task-notification-preference.js";
|
|
38
|
-
import "../../activity/index.js";
|
|
39
39
|
import { defineTaskContract } from "../../tasks/task-contract-definition.js";
|
|
40
40
|
import "../../tasks/index.js";
|
|
41
41
|
import { randomUUID } from "node:crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { getSqliteDatabase, init_transaction, runSqliteWriteTransaction } from "../storage/sqlite/transaction.js";
|
|
2
3
|
import { DEFAULT_AGENT_ID, init_id, normalizeAgentId } from "./id.js";
|
|
3
4
|
import { AgentDefaultsSchema, AgentEntrySchema, DEFAULT_AGENT_MODEL_REF, DEFAULT_SKILL_POLICY } from "../agent-config/schema.js";
|
|
4
5
|
import { init_agent_config } from "../agent-config/index.js";
|
|
5
6
|
import { BindingsSchema, init_binding_schema } from "../routing/binding-schema.js";
|
|
6
|
-
import { getSqliteDatabase, init_transaction, runSqliteWriteTransaction } from "../storage/sqlite/transaction.js";
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
8
8
|
//#region src/agent-catalog/repository.ts
|
|
9
9
|
function parseObject(value, label) {
|
|
@@ -4,8 +4,8 @@ import { AgentCatalogRepository, init_repository } from "./repository.js";
|
|
|
4
4
|
import { init_workspace_defaults, resolveDefaultAgentWorkspaceDir } from "../config/workspace-defaults.js";
|
|
5
5
|
import { init_agent_scope, resolveAgentDir, resolveAgentHomeDir, resolveAgentProfileDir, resolveUserPath } from "../agent/agent-scope.js";
|
|
6
6
|
import { seedAgentProfileMarkdownFiles } from "../agent/context/workspace-seed.js";
|
|
7
|
-
import { existsSync, mkdirSync, rmSync } from "node:fs";
|
|
8
7
|
import { isAbsolute, join, parse, relative, resolve } from "node:path";
|
|
8
|
+
import { existsSync, mkdirSync, rmSync } from "node:fs";
|
|
9
9
|
import { mkdir, rm } from "node:fs/promises";
|
|
10
10
|
//#region src/agent-catalog/service.ts
|
|
11
11
|
init_agent_scope();
|
|
@@ -2,9 +2,9 @@ import { createLogger } from "../utils/logger/index.js";
|
|
|
2
2
|
import { init_logger } from "../utils/logger.js";
|
|
3
3
|
import { afterSqliteCommit, init_transaction, runSqliteWriteTransaction } from "../storage/sqlite/transaction.js";
|
|
4
4
|
import { TaskRunRepository, init_task_run_repository } from "../tasks/task-run-repository.js";
|
|
5
|
+
import { assessSpecialist } from "./service.js";
|
|
5
6
|
import { TaskReadModelProjector } from "../tasks/task-read-model-projector.js";
|
|
6
7
|
import { TaskApplicationService } from "../tasks/task-application-service.js";
|
|
7
|
-
import { assessSpecialist } from "./service.js";
|
|
8
8
|
import { AgentSelectionRepository, selectionRequestHash } from "./selection-repository.js";
|
|
9
9
|
//#region src/agent-matching/delegation-service.ts
|
|
10
10
|
init_logger();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { init_write_file_atomic, writeTextAtomic } from "../infra/write-file-atomic.js";
|
|
3
2
|
import { createLogger } from "../utils/logger/index.js";
|
|
4
3
|
import { init_logger } from "../utils/logger.js";
|
|
4
|
+
import { init_write_file_atomic, writeTextAtomic } from "../infra/write-file-atomic.js";
|
|
5
5
|
import { init_paths, resolveAgentAuthProfilesPath, resolveAuthProfilesPath, resolveCredentialsDir, resolveOAuthPath } from "../config/paths.js";
|
|
6
6
|
import { assertCurrentModelProvider, init_provider_policy } from "../providers/provider-policy.js";
|
|
7
7
|
import { getApiKeyFromEnv, init_env_keys } from "../providers/env-keys.js";
|
|
@@ -3,8 +3,8 @@ import { init_write_file_atomic, writeTextAtomic } from "../../infra/write-file-
|
|
|
3
3
|
import { init_paths, resolveCredentialsDir } from "../../config/paths.js";
|
|
4
4
|
import { init_register_bundled_oauth_flows, registerBundledOAuthFlows } from "../../providers/register-bundled-oauth-flows.js";
|
|
5
5
|
import { init_oauth_provider_lock, withOAuthProviderLock } from "../oauth-provider-lock.js";
|
|
6
|
-
import { randomUUID } from "node:crypto";
|
|
7
6
|
import { join } from "node:path";
|
|
7
|
+
import { randomUUID } from "node:crypto";
|
|
8
8
|
import { readFile } from "node:fs/promises";
|
|
9
9
|
//#region src/auth/oauth/openai.ts
|
|
10
10
|
async function getDeviceId(signal) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __esmMin } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { generatePKCE, init_pkce } from "./pkce.js";
|
|
3
3
|
import { init_resolution, resolveConnectedPlatformEndpoint } from "../../platform/resolution.js";
|
|
4
|
-
import { randomBytes } from "node:crypto";
|
|
5
4
|
import { hostname } from "node:os";
|
|
5
|
+
import { randomBytes } from "node:crypto";
|
|
6
6
|
import http from "node:http";
|
|
7
7
|
import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
8
8
|
//#region src/auth/oauth/xopc-cloud.ts
|