@xopcai/xopc 0.0.382 → 0.0.384
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser-ext/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/dist/browser-ext/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/dist/browser-ext/dist/assets/{sidepanel-Ccl0eSa1.css → sidepanel-CQeQB5vW.css} +3 -0
- package/dist/browser-ext/dist/sidepanel.html +1 -1
- package/dist/browser-ext/dist/sidepanel.js +16690 -3
- package/dist/browser-ext/manifest.json +1 -1
- package/dist/extensions/telegram/xopc.extension.json +1 -1
- package/dist/gateway/static/root/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/dist/gateway/static/root/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/dist/gateway/static/root/assets/{activity-store-CKTm4K1I.js → activity-store-CB2X4Gmu.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-avatar-dicebear-60ztIsyO.js → agent-avatar-dicebear-BSel9yf8.js} +1 -1
- package/dist/gateway/static/root/assets/agent-defaults-settings-panel-DgHMyhuY.js +1 -0
- package/dist/gateway/static/root/assets/{agent-plugin-dialog-D0h_GOzZ.js → agent-plugin-dialog-BosuN4dO.js} +1 -1
- package/dist/gateway/static/root/assets/agents-B-pw5RKI.js +77 -0
- package/dist/gateway/static/root/assets/{agents-admin-api-6aesahV-.js → agents-admin-api-BkULgC6Q.js} +1 -1
- package/dist/gateway/static/root/assets/{app-management-settings-panel-D7OQP_Q4.js → app-management-settings-panel-DuOqKkfH.js} +1 -1
- package/dist/gateway/static/root/assets/{appearance-settings-CY44NMTV.js → appearance-settings-8JF9rXFr.js} +1 -1
- package/dist/gateway/static/root/assets/{apps-page-CfrhlDw1.js → apps-page-Cuclpk0A.js} +1 -1
- package/dist/gateway/static/root/assets/{archive-plugin-D5ouupwE.js → archive-plugin-De0ND0oA.js} +1 -1
- package/dist/gateway/static/root/assets/{automations-page-BTyga78U.js → automations-page-D7NwNy2I.js} +1 -1
- package/dist/gateway/static/root/assets/automations-workspace-CSxW4wX0.js +6 -0
- package/dist/gateway/static/root/assets/{binary-plugins-sYO6MAV6.js → binary-plugins-Do535ZGW.js} +1 -1
- package/dist/gateway/static/root/assets/{block-editor-BdOTO0Yo.css → block-editor-Cvy3D_4T.css} +1 -1
- package/dist/gateway/static/root/assets/block-editor-Dnb7CH_l.js +160 -0
- package/dist/gateway/static/root/assets/{browser-automation-inputs-BmILL059.js → browser-automation-inputs-B9M1RYTm.js} +1 -1
- package/dist/gateway/static/root/assets/browser-automations-page-GBgDe21o.js +3 -0
- package/dist/gateway/static/root/assets/browser-settings-page-B2FXaO3n.js +3 -0
- package/dist/gateway/static/root/assets/{capabilities-DFR31Yhq.js → capabilities-2Do3eKMM.js} +1 -1
- package/dist/gateway/static/root/assets/{capabilities-BFuas9nS.js → capabilities-XFwwUNU3.js} +1 -1
- package/dist/gateway/static/root/assets/capabilities-page-f2-MquJn.js +2 -0
- package/dist/gateway/static/root/assets/{capabilities-settings-panel-ByLA8WMF.js → capabilities-settings-panel-D9F0mw16.js} +6 -6
- package/dist/gateway/static/root/assets/{capability-header-actions-DBwN3Sxo.js → capability-header-actions-DVRxJPQP.js} +1 -1
- package/dist/gateway/static/root/assets/{channels-hokrjIdA.js → channels-CnDm5T1t.js} +1 -1
- package/dist/gateway/static/root/assets/{chat-terminal-dock-BBNBN1KZ.js → chat-terminal-dock-BxSCDbK7.js} +2 -2
- package/dist/gateway/static/root/assets/{computer-settings-page-BWLBPHzl.js → computer-settings-page-DVAB-kQw.js} +1 -1
- package/dist/gateway/static/root/assets/{connector-service-page-Bm5JwIw8.js → connector-service-page-D2EeLXei.js} +1 -1
- package/dist/gateway/static/root/assets/connectors-page-DK9n4hgZ.js +1 -0
- package/dist/gateway/static/root/assets/{date-picker-BhtD9xGl.js → date-picker-Cl9KfFj8.js} +1 -1
- package/dist/gateway/static/root/assets/{dependency-picker-BZ7Xnjqt.js → dependency-picker-Ei6aX5WM.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-CFPxAY1g.js → desktop-pet-4Evl4RKX.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-settings-HHN0SYzH.js → desktop-pet-settings-DAD_OWcX.js} +1 -1
- package/dist/gateway/static/root/assets/device-pairing-wizard-BA21epMn.js +1 -0
- package/dist/gateway/static/root/assets/{directory-picker-path-field-DQm9XjdO.js → directory-picker-path-field-B_Zb5nNR.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-debug-page-BrwNSqhz.js → extension-debug-page-DtHNy4TE.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-page-CpDc5gDd.js → extension-page-8gWSThWP.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-provider-DF9qV04X.js → extension-provider-nbgU7xBS.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-settings-page-BLXL1IUp.js → extension-settings-page-CunUbB09.js} +1 -1
- package/dist/gateway/static/root/assets/{fallback-models-JL5hZ0k-.js → fallback-models-BSAfzXby.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-config-swr-iceAEoJZ.js → gateway-config-swr-D0tBjSgj.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-realtime-DMpsQXjn.js → gateway-realtime-BnHraJ3O.js} +1 -1
- package/dist/gateway/static/root/assets/gateway-realtime-store-BVriF6Zj.js +1 -0
- package/dist/gateway/static/root/assets/gateway-settings-CN-2229W.js +1 -0
- package/dist/gateway/static/root/assets/{gateway-startup-retry-BS6l0_QM.js → gateway-startup-retry-C1DQsIH3.js} +1 -1
- package/dist/gateway/static/root/assets/{highlighted-body-KQOG7T2V-BQJ5YRxv.js → highlighted-body-KQOG7T2V-DktBCtHF.js} +1 -1
- package/dist/gateway/static/root/assets/home-page-CUJcNW3H.js +2 -0
- package/dist/gateway/static/root/assets/{image-generation-api-F2lG3T2E.js → image-generation-api-DodU6GNC.js} +1 -1
- package/dist/gateway/static/root/assets/{imports-page-CsMEvde8.js → imports-page-DQm1MNNC.js} +1 -1
- package/dist/gateway/static/root/assets/index-BPNL54bv.js +260 -0
- package/dist/gateway/static/root/assets/index-yseLAt9D.css +1 -0
- package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-CeYVir-Q.js → keyboard-shortcuts-settings-DaC5YjuJ.js} +1 -1
- package/dist/gateway/static/root/assets/{local-app-workbench-page-Chj0R32r.js → local-app-workbench-page-DwQyyo7a.js} +1 -1
- package/dist/gateway/static/root/assets/{local-apps-page-sTmfe7AL.js → local-apps-page-CpZhivpf.js} +1 -1
- package/dist/gateway/static/root/assets/{local-session-drafts-DdLyLxCp.js → local-session-drafts-D_tYFy7d.js} +1 -1
- package/dist/gateway/static/root/assets/{locale-store-AAPVaavy.js → locale-store-uRu_DsWm.js} +1 -1
- package/dist/gateway/static/root/assets/{logs-page-CpR_hGcR.js → logs-page-Db43nh1M.js} +2 -2
- package/dist/gateway/static/root/assets/{management-settings-B_rVRdFW.js → management-settings-DrKejBEZ.js} +1 -1
- package/dist/gateway/static/root/assets/markdown-view-Ct4sKkUf.css +1 -0
- package/dist/gateway/static/root/assets/markdown-view-DHfQAvZQ.js +324 -0
- package/dist/gateway/static/root/assets/{media-plugins-Op_dDK0E.js → media-plugins-BombFqsX.js} +1 -1
- package/dist/gateway/static/root/assets/mermaid-MCJ5UELQ-C4VzqE9z.js +1 -0
- package/dist/gateway/static/root/assets/messages-DTqbfje6.js +3 -0
- package/dist/gateway/static/root/assets/models-hub-cache-Ct6X5zmB.js +1 -0
- package/dist/gateway/static/root/assets/note-detail-panel-a8NSwmmW.js +5 -0
- package/dist/gateway/static/root/assets/{notes-api-1TYlEpD2.js → notes-api-nqN2wKYc.js} +1 -1
- package/dist/gateway/static/root/assets/notes-page-BKRke43F.js +8 -0
- package/dist/gateway/static/root/assets/{page-context-capture-button-BYqWMp-X.js → page-context-capture-button-DUaMkmxv.js} +1 -1
- package/dist/gateway/static/root/assets/page-tabs-HLrKIjXH.js +1 -0
- package/dist/gateway/static/root/assets/personal-page-BqF-HHw1.js +1 -0
- package/dist/gateway/static/root/assets/{product-open-page-BRBzKP2h.js → product-open-page-GrhtTQIz.js} +1 -1
- package/dist/gateway/static/root/assets/{product-preview-content-BapT1QoP.js → product-preview-content-zdP7gN0y.js} +1 -1
- package/dist/gateway/static/root/assets/project-detail-page-9Vd_AqDW.js +1 -0
- package/dist/gateway/static/root/assets/{projects-page-BMN9evTF.js → projects-page-DGunhjoM.js} +1 -1
- package/dist/gateway/static/root/assets/{registry-api-BPFXyHk8.js → registry-api-CYqA7bfl.js} +1 -1
- package/dist/gateway/static/root/assets/remote-access-hub-BoRsF3Lx.js +1 -0
- package/dist/gateway/static/root/assets/{runtime-tools-api-Cu0MRsAb.js → runtime-tools-api-zzoxjSuR.js} +1 -1
- package/dist/gateway/static/root/assets/{runtime-tools-settings-panel-CJF3NeTn.js → runtime-tools-settings-panel-W0HDm--J.js} +1 -1
- package/dist/gateway/static/root/assets/{scenes-page-D_BBF04t.js → scenes-page-CYsFOfVJ.js} +2 -2
- package/dist/gateway/static/root/assets/{schema-form-CAmizvOH.js → schema-form-CBxEbBQq.js} +1 -1
- package/dist/gateway/static/root/assets/{send-session-input-G334tGIw.js → send-session-input-BCAF-Ikt.js} +1 -1
- package/dist/gateway/static/root/assets/{session-api-DYl61CUz.js → session-api-CzVTrG8n.js} +1 -1
- package/dist/gateway/static/root/assets/{session-manager-J3r-UiPc.js → session-manager-_yy4bxhT.js} +1 -1
- package/dist/gateway/static/root/assets/sessions-page-Dthfx_vc.js +1 -0
- package/dist/gateway/static/root/assets/settings-advanced-gate-O_0Lk38S.js +1 -0
- package/dist/gateway/static/root/assets/{settings-page-B635QEij.js → settings-page-CFs-WP_2.js} +1 -1
- package/dist/gateway/static/root/assets/setup-status-panel-D2-9fXYL.js +1 -0
- package/dist/gateway/static/root/assets/{share-link-dialog-Bht78zB4.js → share-link-dialog-C47Xgzta.js} +1 -1
- package/dist/gateway/static/root/assets/{share-preview-page-epHeT5lh.js → share-preview-page-nJ2FWAEP.js} +1 -1
- package/dist/gateway/static/root/assets/{shares-api-k1DyfoGP.js → shares-api-B0HlMAzi.js} +1 -1
- package/dist/gateway/static/root/assets/shares-settings-DTb88RHD.js +1 -0
- package/dist/gateway/static/root/assets/{skill-api-CLmxc6fX.js → skill-api-DJ8UBsxq.js} +1 -1
- package/dist/gateway/static/root/assets/{skill-reload-api-DZGoQACj.js → skill-reload-api-CEJx5rPd.js} +1 -1
- package/dist/gateway/static/root/assets/{skills-page-clfZlVOG.js → skills-page-DjbBOikT.js} +1 -1
- package/dist/gateway/static/root/assets/specialists-4bkS5rZ4.js +1 -0
- package/dist/gateway/static/root/assets/{system-settings-panel-DHjH7-OW.js → system-settings-panel-Dt5GkLhM.js} +1 -1
- package/dist/gateway/static/root/assets/{task-detail-page-BcYnm1sO.js → task-detail-page-88EShcbs.js} +2 -2
- package/dist/gateway/static/root/assets/{task-expandable-content-OTHBryoz.js → task-expandable-content-CF6Bj-Qa.js} +1 -1
- package/dist/gateway/static/root/assets/tasks-DJIeIk9C.js +1 -0
- package/dist/gateway/static/root/assets/{theme-store-C2WOFv9Y.js → theme-store-BUfzeDvL.js} +1 -1
- package/dist/gateway/static/root/assets/{tracing-settings-page-CnPpysvy.js → tracing-settings-page-C2q5B3Kp.js} +1 -1
- package/dist/gateway/static/root/assets/{tunnel-api-C3bUe4Nc.js → tunnel-api-JHttXi63.js} +1 -1
- package/dist/gateway/static/root/assets/{usage-page-Dgl7sh2E.js → usage-page-B3rUa0fW.js} +1 -1
- package/dist/gateway/static/root/assets/{use-autosave-BXZr6Rm9.js → use-autosave-DgbCgsao.js} +1 -1
- package/dist/gateway/static/root/assets/{use-composer-attachments-C7M9p0kf.js → use-composer-attachments-BFP3k6oC.js} +1 -1
- package/dist/gateway/static/root/assets/{use-file-preview-expanded-CleMXYWu.js → use-file-preview-expanded-B1BiTQNS.js} +2 -2
- package/dist/gateway/static/root/assets/user-model-page-Cq1VSsZw.js +2 -0
- package/dist/gateway/static/root/assets/{voice-api-key-field-BeF8AHPT.js → voice-api-key-field-4AIkbm9R.js} +1 -1
- package/dist/gateway/static/root/assets/{voice-config-api-CBORJPD_.js → voice-config-api-Kw1pYlLN.js} +1 -1
- package/dist/gateway/static/root/assets/{work-discovery-overlay-3egLlB1M.js → work-discovery-overlay-BAtG_JHv.js} +1 -1
- package/dist/gateway/static/root/assets/{workflow-run-setup-panel-BhYnheW-.js → workflow-run-setup-panel-Cw12NFgx.js} +2 -2
- package/dist/gateway/static/root/assets/{workflows-page-C9dLtlfP.js → workflows-page-kR5ouOuM.js} +3 -3
- package/dist/gateway/static/root/assets/{workspace-api-DdkViIn3.js → workspace-api-Xr3wz8T3.js} +2 -2
- package/dist/gateway/static/root/assets/{xopc-cloud-account-card-4KUvnfnh.js → xopc-cloud-account-card-BTBVKpSg.js} +1 -1
- package/dist/gateway/static/root/index.html +30 -29
- package/dist/package.js +1 -1
- package/dist/packages/gateway-contract/src/index.js +4 -0
- package/dist/packages/gateway-contract/src/next-turn-suggestions.js +40 -0
- package/dist/packages/gateway-contract/src/specialists.js +48 -0
- package/dist/packages/gateway-contract/src/task-lifecycle.js +3 -0
- package/dist/packages/gateway-contract/src/tasks.js +41 -10
- package/dist/src/agent/agent-manager.d.ts +6 -0
- package/dist/src/agent/agent-manager.js +7 -3
- package/dist/src/agent/child-agent-factory.d.ts +9 -0
- package/dist/src/agent/child-agent-factory.js +83 -46
- package/dist/src/agent/context/execution-scope.js +1 -1
- package/dist/src/agent/context/project-context.js +1 -1
- package/dist/src/agent/embedded/run-turn.js +11 -0
- package/dist/src/agent/embedded/session-tool-result-guard.js +1 -1
- package/dist/src/agent/orchestration/agent-turn-policy.d.ts +4 -0
- package/dist/src/agent/orchestration/delegation-budget.d.ts +60 -0
- package/dist/src/agent/orchestration/delegation-budget.js +154 -0
- package/dist/src/agent/prompt/response-language.js +1 -1
- package/dist/src/agent/prompt/sections/tooling.js +2 -2
- package/dist/src/agent/service.d.ts +6 -0
- package/dist/src/agent/service.js +4 -1
- package/dist/src/agent/starter-agents.d.ts +2 -0
- package/dist/src/agent/starter-agents.js +114 -5
- package/dist/src/agent/tasks/task-judge-service.js +1 -1
- package/dist/src/agent/tools/delegate-tool.js +17 -3
- package/dist/src/agent/tools/error-pattern-matcher.js +1 -1
- package/dist/src/agent/tools/exec-command.js +3 -1
- package/dist/src/agent/tools/factory.d.ts +7 -0
- package/dist/src/agent/tools/factory.js +21 -2
- package/dist/src/agent/tools/personal-attention-tool.d.ts +2 -0
- package/dist/src/agent/tools/personal-attention-tool.js +51 -17
- package/dist/src/agent/tools/personal-read-tool.js +16 -6
- package/dist/src/agent/tools/personal-request-tool.js +64 -10
- package/dist/src/agent/tools/personal-result-budget.d.ts +2 -0
- package/dist/src/agent/tools/personal-result-budget.js +57 -0
- package/dist/src/agent/tools/personal-task-tool.d.ts +23 -11
- package/dist/src/agent/tools/personal-task-tool.js +394 -69
- package/dist/src/agent/tools/xopc-use-tool.d.ts +2 -0
- package/dist/src/agent/tools/xopc-use-tool.js +22 -9
- package/dist/src/agent-config/resolver.js +4 -0
- package/dist/src/agent-config/schema.d.ts +36 -2
- package/dist/src/agent-config/schema.js +9 -2
- package/dist/src/agent-matching/delegation-service.d.ts +17 -0
- package/dist/src/agent-matching/delegation-service.js +87 -0
- package/dist/src/agent-matching/schema.d.ts +2 -0
- package/dist/src/agent-matching/schema.js +6 -0
- package/dist/src/agent-matching/selection-repository.d.ts +54 -0
- package/dist/src/agent-matching/selection-repository.js +83 -0
- package/dist/src/agent-matching/service.d.ts +85 -0
- package/dist/src/agent-matching/service.js +192 -0
- package/dist/src/automations/capabilities/write.d.ts +6 -2
- package/dist/src/automations/domain/validation.d.ts +12 -4
- package/dist/src/automations/draft/automation-draft-validator.d.ts +3 -1
- package/dist/src/cli/commands/channels.js +1 -1
- package/dist/src/cli/commands/connectors.js +1 -1
- package/dist/src/cli/commands/doctor/checks/database-schema.js +1 -1
- package/dist/src/cli/commands/extension-marketplace.js +1 -1
- package/dist/src/cli/commands/models.js +1 -1
- package/dist/src/cli/commands/onboard.js +1 -1
- package/dist/src/extensions/sdk/index.js +1 -1
- package/dist/src/gateway/agent-builtin-tools.d.ts +1 -1
- package/dist/src/gateway/agents-admin.d.ts +4 -0
- package/dist/src/gateway/agents-admin.js +5 -2
- package/dist/src/gateway/hono/routes/agents.js +18 -1
- package/dist/src/gateway/hono/routes/lazy-bundles.js +8 -0
- package/dist/src/gateway/hono/routes/next-turn-suggestions.d.ts +3 -0
- package/dist/src/gateway/hono/routes/next-turn-suggestions.js +39 -0
- package/dist/src/gateway/hono/routes/personal-agent.js +1 -1
- package/dist/src/gateway/hono/routes/tasks.js +2 -1
- package/dist/src/gateway/next-turn-suggestions/generator.d.ts +3 -0
- package/dist/src/gateway/next-turn-suggestions/generator.js +50 -0
- package/dist/src/gateway/next-turn-suggestions/service.d.ts +23 -0
- package/dist/src/gateway/next-turn-suggestions/service.js +125 -0
- package/dist/src/gateway/next-turn-suggestions/snapshot.d.ts +15 -0
- package/dist/src/gateway/next-turn-suggestions/snapshot.js +67 -0
- package/dist/src/gateway/service/agent-runner.d.ts +2 -0
- package/dist/src/gateway/service/agent-runner.js +13 -1
- package/dist/src/gateway/service/session-input-coordinator.js +1 -1
- package/dist/src/gateway/service.d.ts +1 -0
- package/dist/src/gateway/service.js +18 -4
- package/dist/src/gateway/session-context-summary.js +1 -1
- package/dist/src/personal-agent/capability-service.d.ts +2 -0
- package/dist/src/personal-agent/capability-service.js +29 -16
- package/dist/src/personal-agent/policy.js +2 -7
- package/dist/src/personal-agent/proactivity/service.js +1 -1
- package/dist/src/personal-agent/prompt-context.d.ts +1 -4
- package/dist/src/personal-agent/prompt-context.js +5 -35
- package/dist/src/personal-agent/prompts.js +32 -8
- package/dist/src/personal-agent/reply-composer.js +1 -1
- package/dist/src/personal-agent/request-delivery.js +1 -1
- package/dist/src/personal-agent/request-repository.d.ts +3 -2
- package/dist/src/personal-agent/request-repository.js +4 -4
- package/dist/src/personal-agent/request-service.d.ts +2 -1
- package/dist/src/personal-agent/request-service.js +161 -13
- package/dist/src/personal-agent/specialist-capabilities.js +6 -0
- package/dist/src/personal-agent/task-cancel.d.ts +7 -0
- package/dist/src/personal-agent/task-cancel.js +76 -0
- package/dist/src/session/client-history.js +1 -1
- package/dist/src/session/index.js +1 -1
- package/dist/src/storage/sqlite/migrations/247_agent_selection_records.sql +32 -0
- package/dist/src/storage/sqlite/migrations/248_next_turn_suggestions.sql +20 -0
- package/dist/src/storage/sqlite/migrations/249_task_allocations.sql +17 -0
- package/dist/src/storage/sqlite/migrations/runner.d.ts +1 -1
- package/dist/src/storage/sqlite/migrations/runner.js +3 -3
- package/dist/src/storage/sqlite/next-turn-suggestion-repository.d.ts +4 -0
- package/dist/src/storage/sqlite/next-turn-suggestion-repository.js +30 -0
- package/dist/src/storage/sqlite/schema.js +1 -1
- package/dist/src/tasks/capabilities/read.js +1 -1
- package/dist/src/tasks/capabilities/relations.d.ts +38 -2
- package/dist/src/tasks/capabilities/write.d.ts +42 -0
- package/dist/src/tasks/capabilities/write.js +9 -7
- package/dist/src/tasks/index.js +1 -1
- package/dist/src/tasks/task-allocation-repository.d.ts +25 -0
- package/dist/src/tasks/task-allocation-repository.js +82 -0
- package/dist/src/tasks/task-allocation-service.d.ts +39 -0
- package/dist/src/tasks/task-allocation-service.js +310 -0
- package/dist/src/tasks/task-application-service.js +44 -1
- package/dist/src/tasks/task-context-assembler.js +1 -1
- package/dist/src/tasks/task-main-update-delivery.js +2 -0
- package/dist/src/tasks/task-origin-repository.d.ts +2 -1
- package/dist/src/tasks/task-origin-repository.js +9 -5
- package/dist/src/tasks/task-read-model-projector.d.ts +2 -1
- package/dist/src/tasks/task-read-model-projector.js +21 -8
- package/dist/src/tasks/task-result-delivery-service.js +2 -2
- package/dist/src/tasks/task-run-coordinator.js +9 -1
- package/dist/src/tasks/task-run-dispatcher.d.ts +1 -1
- package/dist/src/tasks/task-run-dispatcher.js +5 -4
- package/package.json +6 -5
- package/dist/gateway/static/root/assets/agent-defaults-settings-panel-CzriaMLA.js +0 -1
- package/dist/gateway/static/root/assets/agents-Dwjb-Pmc.js +0 -66
- package/dist/gateway/static/root/assets/automations-workspace-DGZAGTNe.js +0 -6
- package/dist/gateway/static/root/assets/block-editor-CeytAoXT.js +0 -159
- package/dist/gateway/static/root/assets/browser-automations-page-Ko-r320n.js +0 -3
- package/dist/gateway/static/root/assets/browser-settings-page-DPICvQED.js +0 -3
- package/dist/gateway/static/root/assets/capabilities-page-Crb7Oeay.js +0 -2
- package/dist/gateway/static/root/assets/connectors-page-ok0F1o0p.js +0 -1
- package/dist/gateway/static/root/assets/device-pairing-wizard-C00mHAYU.js +0 -1
- package/dist/gateway/static/root/assets/gateway-realtime-store-U3lzqE82.js +0 -1
- package/dist/gateway/static/root/assets/gateway-settings-Bc9HD3uV.js +0 -1
- package/dist/gateway/static/root/assets/home-page-hHgcCF-P.js +0 -2
- package/dist/gateway/static/root/assets/index-BnHaXfFv.css +0 -1
- package/dist/gateway/static/root/assets/index-odJjleQM.js +0 -255
- package/dist/gateway/static/root/assets/markdown-view-ByJbFign.css +0 -1
- package/dist/gateway/static/root/assets/markdown-view-roJ1FcXL.js +0 -66
- package/dist/gateway/static/root/assets/mermaid-MCJ5UELQ-BUSGX-3o.js +0 -1
- package/dist/gateway/static/root/assets/messages-DwOSR5ue.js +0 -3
- package/dist/gateway/static/root/assets/models-hub-cache-BFSZUHQI.js +0 -1
- package/dist/gateway/static/root/assets/note-detail-panel-D2qf-sDw.js +0 -5
- package/dist/gateway/static/root/assets/notes-page-DNvVJasv.js +0 -8
- package/dist/gateway/static/root/assets/page-tabs-BLGO2VIm.js +0 -1
- package/dist/gateway/static/root/assets/personal-page-Bd4xN8C7.js +0 -1
- package/dist/gateway/static/root/assets/project-detail-page-DJC5iE_A.js +0 -1
- package/dist/gateway/static/root/assets/remote-access-hub-sJTykTVP.js +0 -1
- package/dist/gateway/static/root/assets/sessions-page-B-wgtLR4.js +0 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-CA6YH-tX.js +0 -1
- package/dist/gateway/static/root/assets/setup-status-panel-CUmMrn5b.js +0 -1
- package/dist/gateway/static/root/assets/shares-settings-BSQLmRXu.js +0 -1
- package/dist/gateway/static/root/assets/tasks-DwKXgZ-I.js +0 -1
- package/dist/gateway/static/root/assets/user-model-page-BQBsKpmh.js +0 -2
package/dist/gateway/static/root/assets/{workspace-api-DdkViIn3.js → workspace-api-Xr3wz8T3.js}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/session-manager-
|
|
2
|
-
import{t as e}from"./preload-helper-zJ_50EbN.js";import{i as t,r as n}from"./locale-store-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/session-manager-_yy4bxhT.js","assets/rolldown-runtime-aKtaBQYM.js","assets/locale-store-uRu_DsWm.js","assets/vendor-react-BOUWij0V.js","assets/messages-DTqbfje6.js","assets/schemas-CObaziC7.js","assets/gateway-realtime-BnHraJ3O.js","assets/gateway-realtime-store-BVriF6Zj.js","assets/local-session-drafts-D_tYFy7d.js","assets/session-api-CzVTrG8n.js","assets/gateway-startup-retry-C1DQsIH3.js","assets/tool-activity-BtJkgjFf.js","assets/constants-Dy8Gw0sF.js","assets/registry-api-CYqA7bfl.js","assets/preload-helper-zJ_50EbN.js","assets/attachment-utils-core-BIOUBrpT.js","assets/agents-admin-api-BkULgC6Q.js","assets/gateway-config-swr-D0tBjSgj.js","assets/vendor-swr-BIWyz7Rc.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{t as e}from"./preload-helper-zJ_50EbN.js";import{i as t,r as n}from"./locale-store-uRu_DsWm.js";import{i as r,n as i,r as a,t as o}from"./files-Bw4SBGdM.js";async function s(e){let t=await e.json().catch(()=>null);return Error(t?.error?.message??`HTTP ${e.status}`)}async function c(e,r){let i=await t(n(e),r);if(!i.ok)throw await s(i);return i.json()}async function l(t){if(!t?.projectId&&t?.conversationId){let{SessionManager:n}=await e(async()=>{let{SessionManager:e}=await import(`./session-manager-_yy4bxhT.js`).then(e=>e.n);return{SessionManager:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]));await new n().materialize(t.conversationId,`session_resources`)}let n=t?.projectId?{kind:`project`,id:t.projectId}:t?.conversationId?{kind:`session`,id:t.conversationId}:t?.agentId?{kind:`agent`,id:t.agentId}:null;if(n){let e=await c(`/api/files/contexts/${n.kind}/${encodeURIComponent(n.id)}`);return r.parse(e.space)}let i=await c(`/api/files/default-space`);return r.parse(i.space)}function u(e){return{id:e.id,name:e.name,path:e.relativePath,isDirectory:e.kind===`directory`,mimeType:e.mimeType,revision:e.revision}}async function d(e,t){let n=await l(t),r=await c(`/api/files/resolve`,{method:`POST`,body:JSON.stringify({spaceId:n.id,path:e,taskRunId:t?.taskRunId})});return i.parse(r.resource)}async function f(e,t){return d(e,t)}async function p(e=``,t){let n=await l(t),r=new URLSearchParams;return e&&r.set(`path`,e),{entries:a.parse(await c(`/api/files/spaces/${encodeURIComponent(n.id)}/children${r.size?`?${r}`:``}`)).items.map(u)}}async function m(e=``,t){return(await p(e,t)).entries}async function h(e){let t=await l(e);return u(o.parse(await c(`/api/files/spaces/${encodeURIComponent(t.id)}/root`)).resource)}async function g(e,t,n=50){let r=await l(t),i=new URLSearchParams({q:e.trim(),limit:String(n),spaceId:r.id});return a.parse(await c(`/api/files/search?${i}`)).items.map(u)}async function _(e,r){let i=await d(e,r),a=await t(n(`/api/files/${encodeURIComponent(i.id)}/content`));if(!a.ok)throw await s(a);return{content:await a.text(),path:i.relativePath,mtimeMs:i.modifiedAt,revision:i.revision}}async function v(e,t){let n;try{n=await l(t)}catch{return null}try{let r=await c(`/api/files/resolve`,{method:`POST`,body:JSON.stringify({spaceId:n.id,path:e,taskRunId:t?.taskRunId})}),a=i.parse(r.resource);return{absolutePath:r.absolutePath,fileId:a.id,inputPath:e,displayName:a.name,scope:r.absolutePath?`external`:`workspace`,locationKind:r.absolutePath?`host`:`workspace`,exists:!0,isDirectory:a.kind===`directory`,workspaceRelativePath:a.relativePath,capabilities:a.capabilities.filter(e=>e===`preview`||e===`edit`),mtimeMs:a.modifiedAt}}catch{try{return(await c(`/api/files/resolve-reference`,{method:`POST`,body:JSON.stringify({spaceId:n.id,path:e,conversationId:t?.conversationId})})).reference}catch{return null}}}async function y(e,t,n){return await c(`/api/files/references/${encodeURIComponent(e)}/action`,{method:`POST`,body:JSON.stringify({action:t,conversationId:n?.conversationId})})}async function b(e,r){let i=await d(e,r),a=await t(n(`/api/files/${encodeURIComponent(i.id)}/content`),{headers:{Accept:`*/*`}});if(!a.ok)throw await s(a);return a.blob()}async function x(e,t,n){let r=await d(e,n),a=await c(`/api/files/${encodeURIComponent(r.id)}/content`,{method:`PUT`,body:JSON.stringify({content:t,revision:r.revision})}),o=i.parse(a.resource);return{path:o.relativePath,mtimeMs:o.modifiedAt,revision:o.revision}}async function S(e,r=``,i){let a=await l(i),c=new FormData;c.set(`directory`,r),c.set(`file`,e);let d=await t(n(`/api/files/spaces/${encodeURIComponent(a.id)}/upload`),{method:`POST`,body:c});if(!d.ok)throw await s(d);return u(o.parse(await d.json()).resource)}async function C(e){let r=await t(n(`/api/files/${encodeURIComponent(e)}`),{method:`DELETE`});if(!r.ok)throw await s(r)}function w(e,t){let n=new Blob([t],{type:`text/plain;charset=utf-8`}),r=URL.createObjectURL(n),i=document.createElement(`a`);i.href=r,i.download=e,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(r)}function T(e,t,n){let r=new Blob([t],{type:n}),i=URL.createObjectURL(r),a=document.createElement(`a`);a.href=i,a.download=e,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(i)}export{b as a,_ as c,f as d,g as f,p as i,y as l,x as m,T as n,h as o,S as p,w as r,m as s,C as t,v as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"./vendor-react-BOUWij0V.js";import{t as n}from"./cloud-C4-yfnnk.js";import{t as r}from"./external-link-DjqjBmc3.js";import{a as i,n as a,r as o}from"./locale-store-
|
|
1
|
+
import{n as e,t}from"./vendor-react-BOUWij0V.js";import{t as n}from"./cloud-C4-yfnnk.js";import{t as r}from"./external-link-DjqjBmc3.js";import{a as i,n as a,r as o}from"./locale-store-uRu_DsWm.js";import{n as s,t as c}from"./cloud-credits-BMYMiiNn.js";import{i as l}from"./vendor-swr-BIWyz7Rc.js";import{t as u}from"./button-aIC072nz.js";import{t as d}from"./skeleton-BI5TyibZ.js";import{So as f,Xo as p}from"./index-BPNL54bv.js";var m=e(),h=t();function g(e){let t=(BigInt(e)+500n)/1000n*1000n;return s(String(t))}async function _(){let e=await i(o(`/api/models/xopc-cloud/account-summary`));return c.parse(e.payload)}function v(e){let t=(0,m.c)(148),{labels:i}=e,o=a(y)===`zh`?`zh-CN`:`en-US`,s;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(s={refreshInterval:6e4,revalidateOnFocus:!0},t[0]=s):s=t[0];let{data:c,error:v,isLoading:b,isValidating:x,mutate:S}=l(`/api/models/xopc-cloud/account-summary`,_,s);if(b){let e;return t[1]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,h.jsx)(d,{className:`h-40 w-full rounded-xl`}),t[1]=e):e=t[1],e}if(v||!c){let e;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,h.jsx)(f,{className:`mt-0.5 size-4 shrink-0 text-amber-500`,"aria-hidden":!0}),t[2]=e):e=t[2];let n;t[3]===i.title?n=t[4]:(n=(0,h.jsx)(`h2`,{className:`text-sm font-semibold text-fg`,children:i.title}),t[3]=i.title,t[4]=n);let r;t[5]===i.unavailable?r=t[6]:(r=(0,h.jsx)(`p`,{className:`mt-1 text-sm text-fg-muted`,children:i.unavailable}),t[5]=i.unavailable,t[6]=r);let a;t[7]!==n||t[8]!==r?(a=(0,h.jsxs)(`div`,{className:`flex min-w-0 items-start gap-3`,children:[e,(0,h.jsxs)(`div`,{children:[n,r]})]}),t[7]=n,t[8]=r,t[9]=a):a=t[9];let o;t[10]===S?o=t[11]:(o=()=>void S(),t[10]=S,t[11]=o);let s=x?`size-4 animate-spin`:`size-4`,c;t[12]===s?c=t[13]:(c=(0,h.jsx)(p,{className:s,"aria-hidden":!0}),t[12]=s,t[13]=c);let l;t[14]!==x||t[15]!==i.retry||t[16]!==o||t[17]!==c?(l=(0,h.jsxs)(u,{type:`button`,variant:`secondary`,disabled:x,onClick:o,children:[c,i.retry]}),t[14]=x,t[15]=i.retry,t[16]=o,t[17]=c,t[18]=l):l=t[18];let d;return t[19]!==a||t[20]!==l?(d=(0,h.jsx)(`section`,{className:`rounded-xl bg-surface-hover/25 p-4`,children:(0,h.jsxs)(`div`,{className:`flex items-start justify-between gap-4`,children:[a,l]})}),t[19]=a,t[20]=l,t[21]=d):d=t[21],d}let C,w,T,E,D,O,k,A,j,M;if(t[22]!==c.balance.availableCreditMicro||t[23]!==c.balance.expiring[0]||t[24]!==c.balance.grantedCreditMicro||t[25]!==c.balance.purchasedCreditMicro||t[26]!==c.balance.refundReservedCreditMicro||t[27]!==c.balance.usageReservedCreditMicro||t[28]!==c.links.details||t[29]!==c.links.purchase||t[30]!==c.usage.chargedCreditMicro||t[31]!==c.usage.requests||t[32]!==c.usage.totalTokens||t[33]!==i.availableCredits||t[34]!==i.connected||t[35]!==i.details||t[36]!==i.expiring||t[37]!==i.granted||t[38]!==i.purchase||t[39]!==i.purchased||t[40]!==i.recentUsage||t[41]!==i.reserved||t[42]!==i.title||t[43]!==i.tokenUsage||t[44]!==i.usageSummary||t[45]!==i.zeroBalance||t[46]!==o){let e=new Intl.NumberFormat(o),a=i.usageSummary.replace(`{{credits}}`,g(c.usage.chargedCreditMicro)).replace(`{{requests}}`,e.format(c.usage.requests));C=`rounded-xl bg-surface-hover/40 p-4 sm:p-5`;let s;t[57]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,h.jsx)(n,{className:`size-4 text-accent-fg`,"aria-hidden":!0}),t[57]=s):s=t[57];let l;t[58]===i.title?l=t[59]:(l=(0,h.jsx)(`h2`,{className:`text-sm font-semibold text-fg`,children:i.title}),t[58]=i.title,t[59]=l);let d;t[60]===i.connected?d=t[61]:(d=(0,h.jsx)(`span`,{className:`rounded-full bg-emerald-500/10 px-2 py-0.5 text-xs font-medium text-emerald-700 dark:text-emerald-300`,children:i.connected}),t[60]=i.connected,t[61]=d);let f;t[62]!==l||t[63]!==d?(f=(0,h.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2`,children:[s,l,d]}),t[62]=l,t[63]=d,t[64]=f):f=t[64];let p;t[65]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,h.jsx)(r,{className:`size-3.5`,"aria-hidden":!0}),t[65]=p):p=t[65];let m;t[66]!==c.links.purchase||t[67]!==i.purchase?(m=(0,h.jsx)(u,{asChild:!0,variant:`primary`,children:(0,h.jsxs)(`a`,{href:c.links.purchase,target:`_blank`,rel:`noreferrer`,children:[i.purchase,p]})}),t[66]=c.links.purchase,t[67]=i.purchase,t[68]=m):m=t[68];let _;t[69]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,h.jsx)(r,{className:`size-3.5`,"aria-hidden":!0}),t[69]=_):_=t[69];let v;t[70]!==c.links.details||t[71]!==i.details?(v=(0,h.jsx)(u,{asChild:!0,variant:`secondary`,children:(0,h.jsxs)(`a`,{href:c.links.details,target:`_blank`,rel:`noreferrer`,children:[i.details,_]})}),t[70]=c.links.details,t[71]=i.details,t[72]=v):v=t[72];let y;t[73]!==m||t[74]!==v?(y=(0,h.jsxs)(`div`,{className:`flex shrink-0 flex-wrap gap-2`,children:[m,v]}),t[73]=m,t[74]=v,t[75]=y):y=t[75],t[76]!==f||t[77]!==y?(w=(0,h.jsxs)(`div`,{className:`flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between`,children:[f,y]}),t[76]=f,t[77]=y,t[78]=w):w=t[78],j=`mt-4 grid gap-4 rounded-lg bg-surface-base/45 p-3 sm:grid-cols-[minmax(12rem,0.7fr)_minmax(0,1.3fr)] sm:gap-6`;let b;t[79]===i.availableCredits?b=t[80]:(b=(0,h.jsx)(`p`,{className:`text-xs font-medium text-fg-subtle`,children:i.availableCredits}),t[79]=i.availableCredits,t[80]=b);let x;t[81]===c.balance.availableCreditMicro?x=t[82]:(x=g(c.balance.availableCreditMicro),t[81]=c.balance.availableCreditMicro,t[82]=x);let S;t[83]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,h.jsx)(`span`,{className:`ml-2 text-sm font-medium text-fg-muted`,children:`Credits`}),t[83]=S):S=t[83];let N;t[84]===x?N=t[85]:(N=(0,h.jsxs)(`p`,{className:`mt-1 text-2xl font-semibold tracking-tight text-fg`,children:[x,S]}),t[84]=x,t[85]=N);let P;t[86]!==c.balance.availableCreditMicro||t[87]!==i.zeroBalance?(P=c.balance.availableCreditMicro===`0`?(0,h.jsx)(`p`,{className:`mt-1 text-sm font-medium text-danger`,children:i.zeroBalance}):null,t[86]=c.balance.availableCreditMicro,t[87]=i.zeroBalance,t[88]=P):P=t[88];let F=i.purchased,I;t[89]===c.balance.purchasedCreditMicro?I=t[90]:(I=g(c.balance.purchasedCreditMicro),t[89]=c.balance.purchasedCreditMicro,t[90]=I);let L;t[91]!==i.purchased||t[92]!==I?(L=(0,h.jsxs)(`div`,{children:[F,`: `,I,` Credits`]}),t[91]=i.purchased,t[92]=I,t[93]=L):L=t[93];let R=i.granted,z;t[94]===c.balance.grantedCreditMicro?z=t[95]:(z=g(c.balance.grantedCreditMicro),t[94]=c.balance.grantedCreditMicro,t[95]=z);let B;t[96]!==i.granted||t[97]!==z?(B=(0,h.jsxs)(`div`,{children:[R,`: `,z,` Credits`]}),t[96]=i.granted,t[97]=z,t[98]=B):B=t[98];let V=i.reserved,H=String(BigInt(c.balance.usageReservedCreditMicro)+BigInt(c.balance.refundReservedCreditMicro)),U;t[99]===H?U=t[100]:(U=g(H),t[99]=H,t[100]=U);let W;t[101]!==i.reserved||t[102]!==U?(W=(0,h.jsxs)(`div`,{children:[V,`: `,U,` Credits`]}),t[101]=i.reserved,t[102]=U,t[103]=W):W=t[103];let G;t[104]!==L||t[105]!==B||t[106]!==W?(G=(0,h.jsxs)(`div`,{className:`mt-2 space-y-1 text-xs text-fg-muted`,children:[L,B,W]}),t[104]=L,t[105]=B,t[106]=W,t[107]=G):G=t[107];let K;t[108]!==c.balance.expiring[0]||t[109]!==i.expiring||t[110]!==o?(K=c.balance.expiring[0]?(0,h.jsx)(`p`,{className:`mt-2 text-xs text-amber-600 dark:text-amber-400`,children:i.expiring.replace(`{{credits}}`,g(c.balance.expiring[0].creditMicro)).replace(`{{date}}`,new Date(c.balance.expiring[0].expiresAt).toLocaleDateString(o))}):null,t[108]=c.balance.expiring[0],t[109]=i.expiring,t[110]=o,t[111]=K):K=t[111],t[112]!==b||t[113]!==N||t[114]!==P||t[115]!==G||t[116]!==K?(M=(0,h.jsxs)(`div`,{children:[b,N,P,G,K]}),t[112]=b,t[113]=N,t[114]=P,t[115]=G,t[116]=K,t[117]=M):M=t[117],t[118]===i.recentUsage?k=t[119]:(k=(0,h.jsx)(`p`,{className:`text-xs font-medium text-fg-subtle`,children:i.recentUsage}),t[118]=i.recentUsage,t[119]=k),A=(0,h.jsx)(`p`,{className:`mt-1 text-sm leading-relaxed text-fg-muted`,children:a}),D=`mt-2 text-xs text-fg-subtle`,t[120]===i.tokenUsage?O=t[121]:(O=(0,h.jsx)(`summary`,{className:`cursor-pointer`,children:i.tokenUsage}),t[120]=i.tokenUsage,t[121]=O),T=`mt-1`,E=e.format(c.usage.totalTokens),t[22]=c.balance.availableCreditMicro,t[23]=c.balance.expiring[0],t[24]=c.balance.grantedCreditMicro,t[25]=c.balance.purchasedCreditMicro,t[26]=c.balance.refundReservedCreditMicro,t[27]=c.balance.usageReservedCreditMicro,t[28]=c.links.details,t[29]=c.links.purchase,t[30]=c.usage.chargedCreditMicro,t[31]=c.usage.requests,t[32]=c.usage.totalTokens,t[33]=i.availableCredits,t[34]=i.connected,t[35]=i.details,t[36]=i.expiring,t[37]=i.granted,t[38]=i.purchase,t[39]=i.purchased,t[40]=i.recentUsage,t[41]=i.reserved,t[42]=i.title,t[43]=i.tokenUsage,t[44]=i.usageSummary,t[45]=i.zeroBalance,t[46]=o,t[47]=C,t[48]=w,t[49]=T,t[50]=E,t[51]=D,t[52]=O,t[53]=k,t[54]=A,t[55]=j,t[56]=M}else C=t[47],w=t[48],T=t[49],E=t[50],D=t[51],O=t[52],k=t[53],A=t[54],j=t[55],M=t[56];let N;t[122]!==T||t[123]!==E?(N=(0,h.jsxs)(`p`,{className:T,children:[E,` tokens`]}),t[122]=T,t[123]=E,t[124]=N):N=t[124];let P;t[125]!==N||t[126]!==D||t[127]!==O?(P=(0,h.jsxs)(`details`,{className:D,children:[O,N]}),t[125]=N,t[126]=D,t[127]=O,t[128]=P):P=t[128];let F;t[129]!==c.balance.updatedAt||t[130]!==i.updatedAt||t[131]!==o?(F=i.updatedAt.replace(`{{time}}`,new Date(c.balance.updatedAt).toLocaleString(o)),t[129]=c.balance.updatedAt,t[130]=i.updatedAt,t[131]=o,t[132]=F):F=t[132];let I;t[133]===F?I=t[134]:(I=(0,h.jsx)(`p`,{className:`mt-1 text-xs text-fg-subtle`,children:F}),t[133]=F,t[134]=I);let L;t[135]!==P||t[136]!==I||t[137]!==k||t[138]!==A?(L=(0,h.jsxs)(`div`,{children:[k,A,P,I]}),t[135]=P,t[136]=I,t[137]=k,t[138]=A,t[139]=L):L=t[139];let R;t[140]!==L||t[141]!==j||t[142]!==M?(R=(0,h.jsxs)(`div`,{className:j,children:[M,L]}),t[140]=L,t[141]=j,t[142]=M,t[143]=R):R=t[143];let z;return t[144]!==C||t[145]!==w||t[146]!==R?(z=(0,h.jsxs)(`section`,{className:C,children:[w,R]}),t[144]=C,t[145]=w,t[146]=R,t[147]=z):z=t[147],z}function y(e){return e.language}export{v as t};
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=20260910-1" />
|
|
12
12
|
<link rel="manifest" href="/site.webmanifest?v=20260910-1" />
|
|
13
13
|
<title>XOPC — Keep what matters moving.</title>
|
|
14
|
-
<script type="module" crossorigin src="/assets/index-
|
|
14
|
+
<script type="module" crossorigin src="/assets/index-BPNL54bv.js"></script>
|
|
15
15
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-aKtaBQYM.js">
|
|
16
16
|
<link rel="modulepreload" crossorigin href="/assets/preload-helper-zJ_50EbN.js">
|
|
17
17
|
<link rel="modulepreload" crossorigin href="/assets/vendor-react-BOUWij0V.js">
|
|
18
18
|
<link rel="modulepreload" crossorigin href="/assets/dist-CxGUk8J-.js">
|
|
19
19
|
<link rel="modulepreload" crossorigin href="/assets/es2015-DBLcMg5B.js">
|
|
20
20
|
<link rel="modulepreload" crossorigin href="/assets/middleware-Pd0e8Igk.js">
|
|
21
|
-
<link rel="modulepreload" crossorigin href="/assets/messages-
|
|
22
|
-
<link rel="modulepreload" crossorigin href="/assets/locale-store-
|
|
21
|
+
<link rel="modulepreload" crossorigin href="/assets/messages-DTqbfje6.js">
|
|
22
|
+
<link rel="modulepreload" crossorigin href="/assets/locale-store-uRu_DsWm.js">
|
|
23
23
|
<link rel="modulepreload" crossorigin href="/assets/floating-ui.dom-B7uQOZZW.js">
|
|
24
24
|
<link rel="modulepreload" crossorigin href="/assets/dist-CI_fqRk-.js">
|
|
25
25
|
<link rel="modulepreload" crossorigin href="/assets/dist-BGTk37IG.js">
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<link rel="modulepreload" crossorigin href="/assets/bundle-mjs-rHxsej31.js">
|
|
38
38
|
<link rel="modulepreload" crossorigin href="/assets/cn-0WouolD0.js">
|
|
39
39
|
<link rel="modulepreload" crossorigin href="/assets/copy-to-clipboard-HOJ79TWv.js">
|
|
40
|
-
<link rel="modulepreload" crossorigin href="/assets/markdown-view-
|
|
40
|
+
<link rel="modulepreload" crossorigin href="/assets/markdown-view-DHfQAvZQ.js">
|
|
41
41
|
<link rel="modulepreload" crossorigin href="/assets/check-DUBLcKHA.js">
|
|
42
42
|
<link rel="modulepreload" crossorigin href="/assets/copy-Dv6d4Dvw.js">
|
|
43
43
|
<link rel="modulepreload" crossorigin href="/assets/button-aIC072nz.js">
|
|
@@ -73,53 +73,54 @@
|
|
|
73
73
|
<link rel="modulepreload" crossorigin href="/assets/rotate-cw-LIg3Am9S.js">
|
|
74
74
|
<link rel="modulepreload" crossorigin href="/assets/search-DA7gz22f.js">
|
|
75
75
|
<link rel="modulepreload" crossorigin href="/assets/index.module-Cd9ENXfk.js">
|
|
76
|
-
<link rel="modulepreload" crossorigin href="/assets/gateway-startup-retry-
|
|
77
|
-
<link rel="modulepreload" crossorigin href="/assets/session-api-
|
|
76
|
+
<link rel="modulepreload" crossorigin href="/assets/gateway-startup-retry-C1DQsIH3.js">
|
|
77
|
+
<link rel="modulepreload" crossorigin href="/assets/session-api-CzVTrG8n.js">
|
|
78
78
|
<link rel="modulepreload" crossorigin href="/assets/constants-Dy8Gw0sF.js">
|
|
79
79
|
<link rel="modulepreload" crossorigin href="/assets/app-chrome-BeB4KgOf.js">
|
|
80
80
|
<link rel="modulepreload" crossorigin href="/assets/attachment-utils-core-BIOUBrpT.js">
|
|
81
81
|
<link rel="modulepreload" crossorigin href="/assets/files-Bw4SBGdM.js">
|
|
82
|
-
<link rel="modulepreload" crossorigin href="/assets/workspace-api-
|
|
82
|
+
<link rel="modulepreload" crossorigin href="/assets/workspace-api-Xr3wz8T3.js">
|
|
83
83
|
<link rel="modulepreload" crossorigin href="/assets/electron-env-Dit0bHgy.js">
|
|
84
84
|
<link rel="modulepreload" crossorigin href="/assets/use-async-resource-GrnWNwMZ.js">
|
|
85
|
-
<link rel="modulepreload" crossorigin href="/assets/activity-store-
|
|
86
|
-
<link rel="modulepreload" crossorigin href="/assets/use-file-preview-expanded-
|
|
85
|
+
<link rel="modulepreload" crossorigin href="/assets/activity-store-CB2X4Gmu.js">
|
|
86
|
+
<link rel="modulepreload" crossorigin href="/assets/use-file-preview-expanded-B1BiTQNS.js">
|
|
87
87
|
<link rel="modulepreload" crossorigin href="/assets/mic-CuUb7zc-.js">
|
|
88
88
|
<link rel="modulepreload" crossorigin href="/assets/globe-DSSGFWFn.js">
|
|
89
|
-
<link rel="modulepreload" crossorigin href="/assets/share-link-dialog-
|
|
90
|
-
<link rel="modulepreload" crossorigin href="/assets/local-session-drafts-
|
|
91
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
92
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
89
|
+
<link rel="modulepreload" crossorigin href="/assets/share-link-dialog-C47Xgzta.js">
|
|
90
|
+
<link rel="modulepreload" crossorigin href="/assets/local-session-drafts-D_tYFy7d.js">
|
|
91
|
+
<link rel="modulepreload" crossorigin href="/assets/specialists-4bkS5rZ4.js">
|
|
92
|
+
<link rel="modulepreload" crossorigin href="/assets/tasks-DJIeIk9C.js">
|
|
93
|
+
<link rel="modulepreload" crossorigin href="/assets/capabilities-XFwwUNU3.js">
|
|
93
94
|
<link rel="modulepreload" crossorigin href="/assets/skill-wire-pattern-BPpeIcCi.js">
|
|
94
|
-
<link rel="modulepreload" crossorigin href="/assets/shares-api-
|
|
95
|
-
<link rel="modulepreload" crossorigin href="/assets/capabilities-
|
|
96
|
-
<link rel="modulepreload" crossorigin href="/assets/use-composer-attachments-
|
|
95
|
+
<link rel="modulepreload" crossorigin href="/assets/shares-api-B0HlMAzi.js">
|
|
96
|
+
<link rel="modulepreload" crossorigin href="/assets/capabilities-2Do3eKMM.js">
|
|
97
|
+
<link rel="modulepreload" crossorigin href="/assets/use-composer-attachments-BFP3k6oC.js">
|
|
97
98
|
<link rel="modulepreload" crossorigin href="/assets/git-branch-Dh9uxTot.js">
|
|
98
|
-
<link rel="modulepreload" crossorigin href="/assets/notes-api-
|
|
99
|
+
<link rel="modulepreload" crossorigin href="/assets/notes-api-nqN2wKYc.js">
|
|
99
100
|
<link rel="modulepreload" crossorigin href="/assets/message-square-fVE7Ghj1.js">
|
|
100
101
|
<link rel="modulepreload" crossorigin href="/assets/pause-DuPxgSxk.js">
|
|
101
102
|
<link rel="modulepreload" crossorigin href="/assets/play-kxZvpBg8.js">
|
|
102
103
|
<link rel="modulepreload" crossorigin href="/assets/rotate-ccw-JM1TBLpp.js">
|
|
103
104
|
<link rel="modulepreload" crossorigin href="/assets/settings-2-D-csvaET.js">
|
|
104
105
|
<link rel="modulepreload" crossorigin href="/assets/sparkles-DHlfQFAF.js">
|
|
105
|
-
<link rel="modulepreload" crossorigin href="/assets/gateway-realtime-store-
|
|
106
|
-
<link rel="modulepreload" crossorigin href="/assets/gateway-realtime-
|
|
106
|
+
<link rel="modulepreload" crossorigin href="/assets/gateway-realtime-store-BVriF6Zj.js">
|
|
107
|
+
<link rel="modulepreload" crossorigin href="/assets/gateway-realtime-BnHraJ3O.js">
|
|
107
108
|
<link rel="modulepreload" crossorigin href="/assets/tool-activity-BtJkgjFf.js">
|
|
108
|
-
<link rel="modulepreload" crossorigin href="/assets/registry-api-
|
|
109
|
-
<link rel="modulepreload" crossorigin href="/assets/gateway-config-swr-
|
|
110
|
-
<link rel="modulepreload" crossorigin href="/assets/agents-admin-api-
|
|
111
|
-
<link rel="modulepreload" crossorigin href="/assets/session-manager-
|
|
112
|
-
<link rel="modulepreload" crossorigin href="/assets/send-session-input-
|
|
113
|
-
<link rel="modulepreload" crossorigin href="/assets/theme-store-
|
|
114
|
-
<link rel="modulepreload" crossorigin href="/assets/extension-provider-
|
|
109
|
+
<link rel="modulepreload" crossorigin href="/assets/registry-api-CYqA7bfl.js">
|
|
110
|
+
<link rel="modulepreload" crossorigin href="/assets/gateway-config-swr-D0tBjSgj.js">
|
|
111
|
+
<link rel="modulepreload" crossorigin href="/assets/agents-admin-api-BkULgC6Q.js">
|
|
112
|
+
<link rel="modulepreload" crossorigin href="/assets/session-manager-_yy4bxhT.js">
|
|
113
|
+
<link rel="modulepreload" crossorigin href="/assets/send-session-input-BCAF-Ikt.js">
|
|
114
|
+
<link rel="modulepreload" crossorigin href="/assets/theme-store-BUfzeDvL.js">
|
|
115
|
+
<link rel="modulepreload" crossorigin href="/assets/extension-provider-nbgU7xBS.js">
|
|
115
116
|
<link rel="modulepreload" crossorigin href="/assets/loopi-Djb8XU3l.js">
|
|
116
|
-
<link rel="modulepreload" crossorigin href="/assets/models-hub-cache-
|
|
117
|
+
<link rel="modulepreload" crossorigin href="/assets/models-hub-cache-Ct6X5zmB.js">
|
|
117
118
|
<link rel="modulepreload" crossorigin href="/assets/skill-api-utils-C7V4JVXM.js">
|
|
118
119
|
<link rel="modulepreload" crossorigin href="/assets/date-formatters-CUZAyDEg.js">
|
|
119
120
|
<link rel="modulepreload" crossorigin href="/assets/settings-form-draft-Dy10ldo8.js">
|
|
120
|
-
<link rel="stylesheet" crossorigin href="/assets/markdown-view-
|
|
121
|
+
<link rel="stylesheet" crossorigin href="/assets/markdown-view-Ct4sKkUf.css">
|
|
121
122
|
<link rel="stylesheet" crossorigin href="/assets/loopi-C09I2mNj.css">
|
|
122
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
123
|
+
<link rel="stylesheet" crossorigin href="/assets/index-yseLAt9D.css">
|
|
123
124
|
</head>
|
|
124
125
|
<body>
|
|
125
126
|
<div id="root"></div>
|
package/dist/package.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __esmMin } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { init_agent_stream } from "./agent-stream.js";
|
|
3
3
|
import { init_turn_outcome } from "./turn-outcome.js";
|
|
4
|
+
import { init_specialists } from "./specialists.js";
|
|
4
5
|
import { init_task_lifecycle } from "./task-lifecycle.js";
|
|
5
6
|
import { init_task_runs } from "./task-runs.js";
|
|
6
7
|
import { init_tasks } from "./tasks.js";
|
|
@@ -17,6 +18,7 @@ import { init_app_context } from "./app-context.js";
|
|
|
17
18
|
import { init_browser_page_context } from "./browser-page-context.js";
|
|
18
19
|
import { init_session_input_command } from "./session-input-command.js";
|
|
19
20
|
import { init_welcome_suggestions } from "./welcome-suggestions.js";
|
|
21
|
+
import { init_next_turn_suggestions } from "./next-turn-suggestions.js";
|
|
20
22
|
import { init_home } from "./home.js";
|
|
21
23
|
import { init_tool_activity } from "./tool-activity.js";
|
|
22
24
|
import { init_automations } from "./automations.js";
|
|
@@ -58,6 +60,7 @@ var init_src = __esmMin((() => {
|
|
|
58
60
|
init_session_input_reliability();
|
|
59
61
|
init_session_input_command();
|
|
60
62
|
init_welcome_suggestions();
|
|
63
|
+
init_next_turn_suggestions();
|
|
61
64
|
init_home();
|
|
62
65
|
init_tool_activity();
|
|
63
66
|
init_automations();
|
|
@@ -87,6 +90,7 @@ var init_src = __esmMin((() => {
|
|
|
87
90
|
init_task_result_delivery();
|
|
88
91
|
init_session_command_rejection();
|
|
89
92
|
init_personal_proactivity();
|
|
93
|
+
init_specialists();
|
|
90
94
|
}));
|
|
91
95
|
//#endregion
|
|
92
96
|
init_src();
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { __esmMin } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region packages/gateway-contract/src/next-turn-suggestions.ts
|
|
4
|
+
var nextTurnSuggestionSchema, nextTurnSuggestionFeedbackSchema;
|
|
5
|
+
var init_next_turn_suggestions = __esmMin((() => {
|
|
6
|
+
nextTurnSuggestionSchema = z.object({
|
|
7
|
+
id: z.string().uuid(),
|
|
8
|
+
conversationId: z.string(),
|
|
9
|
+
transcriptId: z.string(),
|
|
10
|
+
sourceRunId: z.string(),
|
|
11
|
+
inputRevision: z.number().int().nonnegative(),
|
|
12
|
+
transcriptCursor: z.number().int().nonnegative(),
|
|
13
|
+
agentId: z.string(),
|
|
14
|
+
locale: z.enum(["zh", "en"]),
|
|
15
|
+
prompt: z.string().min(1).max(160),
|
|
16
|
+
expiresAt: z.number()
|
|
17
|
+
});
|
|
18
|
+
z.object({
|
|
19
|
+
status: z.enum([
|
|
20
|
+
"ready",
|
|
21
|
+
"pending",
|
|
22
|
+
"none"
|
|
23
|
+
]),
|
|
24
|
+
suggestion: nextTurnSuggestionSchema.optional()
|
|
25
|
+
});
|
|
26
|
+
nextTurnSuggestionFeedbackSchema = z.object({
|
|
27
|
+
suggestionId: z.string().uuid(),
|
|
28
|
+
impressionId: z.string().uuid(),
|
|
29
|
+
event: z.enum([
|
|
30
|
+
"shown",
|
|
31
|
+
"accepted",
|
|
32
|
+
"dismissed",
|
|
33
|
+
"submitted"
|
|
34
|
+
]),
|
|
35
|
+
edited: z.boolean().optional()
|
|
36
|
+
}).strict();
|
|
37
|
+
}));
|
|
38
|
+
//#endregion
|
|
39
|
+
init_next_turn_suggestions();
|
|
40
|
+
export { init_next_turn_suggestions, nextTurnSuggestionFeedbackSchema, nextTurnSuggestionSchema };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { __esmMin } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region packages/gateway-contract/src/specialists.ts
|
|
4
|
+
function normalizeSpecialistRequirements(input) {
|
|
5
|
+
const parsed = SpecialistTaskRequirementsSchema.parse(input);
|
|
6
|
+
for (const field of [
|
|
7
|
+
"inputKinds",
|
|
8
|
+
"outputKinds",
|
|
9
|
+
"requiredTools",
|
|
10
|
+
"requiredSkills"
|
|
11
|
+
]) if (parsed[field]) parsed[field] = [...new Set(parsed[field])].sort();
|
|
12
|
+
return parsed;
|
|
13
|
+
}
|
|
14
|
+
var identifiers, SpecialistProfileSchema, SpecialistTaskRequirementsSchema;
|
|
15
|
+
var init_specialists = __esmMin((() => {
|
|
16
|
+
identifiers = z.array(z.string().trim().min(1).max(80).toLowerCase()).max(16);
|
|
17
|
+
SpecialistProfileSchema = z.object({
|
|
18
|
+
version: z.literal(1),
|
|
19
|
+
domains: identifiers,
|
|
20
|
+
taskTypes: identifiers,
|
|
21
|
+
inputKinds: identifiers,
|
|
22
|
+
outputKinds: identifiers,
|
|
23
|
+
specialties: z.array(z.string().trim().min(1).max(120)).max(8),
|
|
24
|
+
examples: z.array(z.object({
|
|
25
|
+
request: z.string().trim().min(1).max(200),
|
|
26
|
+
deliverable: z.string().trim().min(1).max(200)
|
|
27
|
+
}).strict()).max(4),
|
|
28
|
+
limitations: z.array(z.string().trim().min(1).max(120)).max(8)
|
|
29
|
+
}).strict();
|
|
30
|
+
SpecialistTaskRequirementsSchema = z.object({
|
|
31
|
+
version: z.literal(1).default(1),
|
|
32
|
+
summary: z.string().trim().min(1).max(300),
|
|
33
|
+
domain: z.string().trim().min(1).max(80).toLowerCase().optional(),
|
|
34
|
+
taskType: z.string().trim().min(1).max(80).toLowerCase().optional(),
|
|
35
|
+
inputKinds: identifiers.optional(),
|
|
36
|
+
outputKinds: identifiers.optional(),
|
|
37
|
+
requiredTools: identifiers.optional(),
|
|
38
|
+
requiredSkills: identifiers.optional(),
|
|
39
|
+
requestedAgentId: z.string().trim().min(1).max(100).optional(),
|
|
40
|
+
connector: z.object({
|
|
41
|
+
connectorId: z.string().trim().min(1).max(200),
|
|
42
|
+
accountId: z.string().trim().min(1).max(200).optional()
|
|
43
|
+
}).strict().optional()
|
|
44
|
+
}).strict();
|
|
45
|
+
}));
|
|
46
|
+
//#endregion
|
|
47
|
+
init_specialists();
|
|
48
|
+
export { SpecialistProfileSchema, SpecialistTaskRequirementsSchema, init_specialists, normalizeSpecialistRequirements };
|
|
@@ -17,6 +17,7 @@ var init_task_lifecycle = __esmMin((() => {
|
|
|
17
17
|
"wont_do"
|
|
18
18
|
]);
|
|
19
19
|
TaskOperationalStateSchema = z.enum([
|
|
20
|
+
"allocating",
|
|
20
21
|
"idle",
|
|
21
22
|
"queued",
|
|
22
23
|
"running",
|
|
@@ -55,6 +56,8 @@ var init_task_lifecycle = __esmMin((() => {
|
|
|
55
56
|
resolvedAt: z.number().int().nonnegative().optional()
|
|
56
57
|
});
|
|
57
58
|
TaskAttentionKindSchema = z.enum([
|
|
59
|
+
"allocation_blocked",
|
|
60
|
+
"allocation_failed",
|
|
58
61
|
"input_required",
|
|
59
62
|
"approval_required",
|
|
60
63
|
"dependency_blocked",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __esmMin } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { SpecialistTaskRequirementsSchema, init_specialists } from "./specialists.js";
|
|
2
3
|
import { TaskAttentionItemSchema, TaskOperationalStateSchema, TaskPhaseSchema, TaskResolutionSchema, TaskWaitSchema, init_task_lifecycle } from "./task-lifecycle.js";
|
|
3
4
|
import { TaskRunSchema, init_task_runs } from "./task-runs.js";
|
|
4
5
|
import { z } from "zod";
|
|
@@ -8,10 +9,28 @@ function verifiedTaskCriteria(receipt) {
|
|
|
8
9
|
const evidence = new Set(receipt?.evidence.filter((item) => item.strength === "verified").map((item) => item.title));
|
|
9
10
|
return new Set(receipt?.verification.checks.filter((check) => check.status === "passed" && check.evidenceTitles.some((title) => evidence.has(title))).map((check) => check.criterion));
|
|
10
11
|
}
|
|
11
|
-
var TaskPrioritySchema, TaskChangedFieldSchema, TaskAcceptancePolicySchema, ActorRefSchema, TaskContractSchema, TaskSchema, TaskContextRoleSchema, TaskContextEdgeSchema, TaskAuthorityGrantSchema, TaskDependencySummarySchema, TaskEvidenceSchema, TaskJudgmentSchema, TaskRunReceiptSchema, TaskCriterionReviewSchema, TaskCriterionReviewInputSchema, TaskExecutorSelectionSchema, TaskContractInputSchema, TaskContextInputSchema, TaskCreateRequestSchema, TaskPatchRequestSchema, TaskWaitInputSchema, TaskCommandSchema, TaskCommandRequestSchema, TaskDependencyUpdateRequestSchema, TaskBoardPositionRequestSchema, TaskListResponseSchema, TaskConversationStateSchema, TaskSessionLinkSchema, TaskHandoffRequestSchema, TaskDetailResponseSchema;
|
|
12
|
+
var TaskAllocationSchema, TaskPrioritySchema, TaskChangedFieldSchema, TaskAcceptancePolicySchema, ActorRefSchema, TaskContractSchema, TaskSchema, TaskContextRoleSchema, TaskContextEdgeSchema, TaskAuthorityGrantSchema, TaskDependencySummarySchema, TaskEvidenceSchema, TaskJudgmentSchema, TaskRunReceiptSchema, TaskCriterionReviewSchema, TaskCriterionReviewInputSchema, TaskExecutorSelectionSchema, TaskContractInputSchema, TaskContextInputSchema, TaskCreateRequestSchema, TaskPatchRequestSchema, TaskWaitInputSchema, TaskCommandSchema, TaskCommandRequestSchema, TaskDependencyUpdateRequestSchema, TaskBoardPositionRequestSchema, TaskListResponseSchema, TaskConversationStateSchema, TaskSessionLinkSchema, TaskHandoffRequestSchema, TaskDetailResponseSchema;
|
|
12
13
|
var init_tasks = __esmMin((() => {
|
|
14
|
+
init_specialists();
|
|
13
15
|
init_task_lifecycle();
|
|
14
16
|
init_task_runs();
|
|
17
|
+
TaskAllocationSchema = z.object({
|
|
18
|
+
id: z.string(),
|
|
19
|
+
taskId: z.string(),
|
|
20
|
+
status: z.enum([
|
|
21
|
+
"pending",
|
|
22
|
+
"selecting",
|
|
23
|
+
"assigned",
|
|
24
|
+
"blocked",
|
|
25
|
+
"failed",
|
|
26
|
+
"cancelled"
|
|
27
|
+
]),
|
|
28
|
+
selectedAgentId: z.string().optional(),
|
|
29
|
+
selectionReason: z.string().optional(),
|
|
30
|
+
reasonCode: z.string().optional(),
|
|
31
|
+
attempts: z.number(),
|
|
32
|
+
updatedAt: z.number()
|
|
33
|
+
});
|
|
15
34
|
TaskPrioritySchema = z.enum([
|
|
16
35
|
"low",
|
|
17
36
|
"normal",
|
|
@@ -162,6 +181,7 @@ var init_tasks = __esmMin((() => {
|
|
|
162
181
|
title: z.string(),
|
|
163
182
|
phase: TaskPhaseSchema,
|
|
164
183
|
resolution: TaskResolutionSchema.optional(),
|
|
184
|
+
allocation: TaskAllocationSchema.optional(),
|
|
165
185
|
operationalState: TaskOperationalStateSchema
|
|
166
186
|
});
|
|
167
187
|
TaskEvidenceSchema = z.object({
|
|
@@ -307,14 +327,21 @@ var init_tasks = __esmMin((() => {
|
|
|
307
327
|
scope: z.record(z.string(), z.unknown()).default({}),
|
|
308
328
|
expiresAt: z.number().int().nonnegative().optional()
|
|
309
329
|
})).default([]),
|
|
310
|
-
activation: z.discriminatedUnion("mode", [
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
330
|
+
activation: z.discriminatedUnion("mode", [
|
|
331
|
+
z.object({
|
|
332
|
+
mode: z.literal("allocate"),
|
|
333
|
+
requirements: SpecialistTaskRequirementsSchema
|
|
334
|
+
}).strict(),
|
|
335
|
+
z.object({
|
|
336
|
+
mode: z.literal("capture"),
|
|
337
|
+
phase: z.enum(["backlog", "ready"]).default("backlog")
|
|
338
|
+
}),
|
|
339
|
+
z.object({
|
|
340
|
+
mode: z.literal("start"),
|
|
341
|
+
executor: TaskExecutorSelectionSchema.optional(),
|
|
342
|
+
scheduleAt: z.number().int().nonnegative().optional()
|
|
343
|
+
})
|
|
344
|
+
])
|
|
318
345
|
}).strict();
|
|
319
346
|
TaskPatchRequestSchema = z.object({
|
|
320
347
|
expectedVersion: z.number().int().positive(),
|
|
@@ -342,6 +369,7 @@ var init_tasks = __esmMin((() => {
|
|
|
342
369
|
resumeAt: z.number().int().nonnegative().optional()
|
|
343
370
|
});
|
|
344
371
|
TaskCommandSchema = z.discriminatedUnion("type", [
|
|
372
|
+
z.object({ type: z.literal("retry_allocation") }),
|
|
345
373
|
z.object({
|
|
346
374
|
type: z.literal("move"),
|
|
347
375
|
phase: z.enum([
|
|
@@ -402,6 +430,7 @@ var init_tasks = __esmMin((() => {
|
|
|
402
430
|
ok: z.literal(true),
|
|
403
431
|
items: z.array(z.object({
|
|
404
432
|
task: TaskSchema,
|
|
433
|
+
allocation: TaskAllocationSchema.optional(),
|
|
405
434
|
operationalState: TaskOperationalStateSchema,
|
|
406
435
|
attention: z.array(TaskAttentionItemSchema)
|
|
407
436
|
}))
|
|
@@ -409,6 +438,7 @@ var init_tasks = __esmMin((() => {
|
|
|
409
438
|
z.object({
|
|
410
439
|
ok: z.literal(true),
|
|
411
440
|
task: TaskSchema,
|
|
441
|
+
allocation: TaskAllocationSchema.optional(),
|
|
412
442
|
operationalState: TaskOperationalStateSchema,
|
|
413
443
|
run: TaskRunSchema.optional()
|
|
414
444
|
});
|
|
@@ -459,6 +489,7 @@ var init_tasks = __esmMin((() => {
|
|
|
459
489
|
TaskDetailResponseSchema = z.object({
|
|
460
490
|
ok: z.literal(true),
|
|
461
491
|
task: TaskSchema,
|
|
492
|
+
allocation: TaskAllocationSchema.optional(),
|
|
462
493
|
operationalState: TaskOperationalStateSchema,
|
|
463
494
|
attention: z.array(TaskAttentionItemSchema),
|
|
464
495
|
waits: z.array(TaskWaitSchema),
|
|
@@ -480,4 +511,4 @@ var init_tasks = __esmMin((() => {
|
|
|
480
511
|
}));
|
|
481
512
|
//#endregion
|
|
482
513
|
init_tasks();
|
|
483
|
-
export { ActorRefSchema, TaskAcceptancePolicySchema, TaskAuthorityGrantSchema, TaskBoardPositionRequestSchema, TaskChangedFieldSchema, TaskCommandRequestSchema, TaskCommandSchema, TaskContextEdgeSchema, TaskContextInputSchema, TaskContextRoleSchema, TaskContractInputSchema, TaskContractSchema, TaskConversationStateSchema, TaskCreateRequestSchema, TaskCriterionReviewInputSchema, TaskCriterionReviewSchema, TaskDependencySummarySchema, TaskDependencyUpdateRequestSchema, TaskDetailResponseSchema, TaskEvidenceSchema, TaskExecutorSelectionSchema, TaskHandoffRequestSchema, TaskJudgmentSchema, TaskListResponseSchema, TaskPatchRequestSchema, TaskPrioritySchema, TaskRunReceiptSchema, TaskSchema, TaskSessionLinkSchema, init_tasks, verifiedTaskCriteria };
|
|
514
|
+
export { ActorRefSchema, TaskAcceptancePolicySchema, TaskAllocationSchema, TaskAuthorityGrantSchema, TaskBoardPositionRequestSchema, TaskChangedFieldSchema, TaskCommandRequestSchema, TaskCommandSchema, TaskContextEdgeSchema, TaskContextInputSchema, TaskContextRoleSchema, TaskContractInputSchema, TaskContractSchema, TaskConversationStateSchema, TaskCreateRequestSchema, TaskCriterionReviewInputSchema, TaskCriterionReviewSchema, TaskDependencySummarySchema, TaskDependencyUpdateRequestSchema, TaskDetailResponseSchema, TaskEvidenceSchema, TaskExecutorSelectionSchema, TaskHandoffRequestSchema, TaskJudgmentSchema, TaskListResponseSchema, TaskPatchRequestSchema, TaskPrioritySchema, TaskRunReceiptSchema, TaskSchema, TaskSessionLinkSchema, init_tasks, verifiedTaskCriteria };
|
|
@@ -222,6 +222,12 @@ export declare class AgentManager implements AgentInstanceGateway {
|
|
|
222
222
|
getSkillCatalogSnapshot(): SkillCatalogSnapshot;
|
|
223
223
|
private buildAgentSkillAvailability;
|
|
224
224
|
private materializeSkillAllowlist;
|
|
225
|
+
getAgentToolAvailability(agentId: string, name: string): {
|
|
226
|
+
condition: string;
|
|
227
|
+
state: "blocked" | "verified";
|
|
228
|
+
reasonCode: string;
|
|
229
|
+
detail: string;
|
|
230
|
+
};
|
|
225
231
|
getAgentSkillAvailability(agentId: string): AgentSkillAvailabilityPayload;
|
|
226
232
|
getWorkflowSkillInstructions(agentId: string, names: readonly string[]): string | undefined;
|
|
227
233
|
getSessionSkillAvailability(conversationId: string): AgentSkillAvailabilityPayload;
|
|
@@ -552,7 +552,7 @@ var AgentManager = class {
|
|
|
552
552
|
status: rt.skillManager.getStatus()
|
|
553
553
|
};
|
|
554
554
|
}
|
|
555
|
-
buildAgentSkillAvailability(unresolvedProfile, workspaceDir, registeredToolNames) {
|
|
555
|
+
buildAgentSkillAvailability(unresolvedProfile, workspaceDir, registeredToolNames, conversationId) {
|
|
556
556
|
const rt = this.workspaceRuntimes.getOrCreate(workspaceDir, unresolvedProfile.agentId);
|
|
557
557
|
const profile = this.materializeSkillAllowlist(unresolvedProfile, rt);
|
|
558
558
|
const entry = listAgentEntries().find((agent) => agent.enabled !== false && agent.id.toLowerCase() === profile.agentId.toLowerCase());
|
|
@@ -561,6 +561,7 @@ var AgentManager = class {
|
|
|
561
561
|
const workspaceLock = loadSkillsLock(resolveWorkspaceSkillsLockPath(workspaceDir));
|
|
562
562
|
const allow = profile.skillsAllowlist === void 0 ? void 0 : new Set(profile.skillsAllowlist.map((s) => s.toLowerCase()));
|
|
563
563
|
const tools = registeredToolNames ?? this.toolsFactory.createAllTools({
|
|
564
|
+
conversationId,
|
|
564
565
|
workspace: workspaceDir,
|
|
565
566
|
profileMarkdownRoot: resolveAgentProfileDir(profile.agentId),
|
|
566
567
|
agentId: profile.agentId,
|
|
@@ -606,9 +607,12 @@ var AgentManager = class {
|
|
|
606
607
|
skillsAllowlist: runtime.skillManager.getSkills().map((skill) => skill.name).filter((name) => !denied.has(name.toLowerCase()))
|
|
607
608
|
};
|
|
608
609
|
}
|
|
610
|
+
getAgentToolAvailability(agentId, name) {
|
|
611
|
+
return this.toolsFactory.getAgentToolAvailability(agentId, name);
|
|
612
|
+
}
|
|
609
613
|
getAgentSkillAvailability(agentId) {
|
|
610
614
|
const profile = resolveEffectiveAgentProfile(agentId);
|
|
611
|
-
return this.buildAgentSkillAvailability(profile, profile.resolvedWorkspacePath);
|
|
615
|
+
return this.buildAgentSkillAvailability(profile, profile.resolvedWorkspacePath, void 0, "");
|
|
612
616
|
}
|
|
613
617
|
getWorkflowSkillInstructions(agentId, names) {
|
|
614
618
|
const requested = [...new Set(names.map((name) => name.trim()).filter(Boolean))];
|
|
@@ -627,7 +631,7 @@ var AgentManager = class {
|
|
|
627
631
|
}
|
|
628
632
|
getSessionSkillAvailability(conversationId) {
|
|
629
633
|
const profile = resolveEffectiveAgentProfileForSession(conversationId);
|
|
630
|
-
return this.buildAgentSkillAvailability(profile, this.getResolvedWorkspaceForSession(conversationId), this.agents.get(conversationId)?.registeredToolNames);
|
|
634
|
+
return this.buildAgentSkillAvailability(profile, this.getResolvedWorkspaceForSession(conversationId), this.agents.get(conversationId)?.registeredToolNames, conversationId);
|
|
631
635
|
}
|
|
632
636
|
getSessionWorkspaceTrust(conversationId) {
|
|
633
637
|
return this.getWorkspaceTrust(this.getResolvedWorkspaceForSession(conversationId));
|
|
@@ -4,6 +4,7 @@ import type { Config } from '../config/schema.js';
|
|
|
4
4
|
import type { EndpointToolRuntime } from '../endpoint-tools/index.js';
|
|
5
5
|
import type { MessageBus } from '../infra/bus/index.js';
|
|
6
6
|
import { type EmbeddedTranscriptRuntime } from './embedded/transcript-runtime.js';
|
|
7
|
+
import { createDelegationBudgetPolicy, type DelegationBudgetTier, type DelegationStopReason } from './orchestration/delegation-budget.js';
|
|
7
8
|
import type { RunVerification } from './coding/run-verification.js';
|
|
8
9
|
import type { ToolExecutorConfig } from './tools/executor.js';
|
|
9
10
|
export interface BuildChildToolsOptions {
|
|
@@ -39,6 +40,7 @@ export interface DelegateChildHandleOptions {
|
|
|
39
40
|
requesterConversationId?: string;
|
|
40
41
|
allowedToolNames: string[];
|
|
41
42
|
maxIterations: number;
|
|
43
|
+
budgetTier?: DelegationBudgetTier;
|
|
42
44
|
model: Model<Api>;
|
|
43
45
|
bus: MessageBus;
|
|
44
46
|
agentId?: string;
|
|
@@ -62,6 +64,13 @@ export interface DelegateChildRunResult {
|
|
|
62
64
|
toolIterations: number;
|
|
63
65
|
messages: AgentMessage[];
|
|
64
66
|
status: 'success' | 'failed' | 'cancelled' | 'partial';
|
|
67
|
+
stopReason: DelegationStopReason;
|
|
68
|
+
budget: ReturnType<ReturnType<typeof createDelegationBudgetPolicy>['snapshot']>;
|
|
69
|
+
handoff: {
|
|
70
|
+
requested: boolean;
|
|
71
|
+
completed: boolean;
|
|
72
|
+
summary: string;
|
|
73
|
+
};
|
|
65
74
|
verification?: Awaited<ReturnType<RunVerification['summary']>>;
|
|
66
75
|
}
|
|
67
76
|
export interface DelegateChildHandle {
|