@xopcai/xopc 0.0.451 → 0.0.455
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/.pnpm/node-pty@1.1.0/node_modules/node-pty/lib/eventEmitter2.js +40 -0
- package/dist/.pnpm/node-pty@1.1.0/node_modules/node-pty/lib/index.js +56 -0
- package/dist/.pnpm/node-pty@1.1.0/node_modules/node-pty/lib/shared/conout.js +16 -0
- package/dist/.pnpm/node-pty@1.1.0/node_modules/node-pty/lib/terminal.js +190 -0
- package/dist/.pnpm/node-pty@1.1.0/node_modules/node-pty/lib/unixTerminal.js +287 -0
- package/dist/.pnpm/node-pty@1.1.0/node_modules/node-pty/lib/utils.js +49 -0
- package/dist/.pnpm/node-pty@1.1.0/node_modules/node-pty/lib/windowsConoutConnection.js +190 -0
- package/dist/.pnpm/node-pty@1.1.0/node_modules/node-pty/lib/windowsPtyAgent.js +265 -0
- package/dist/.pnpm/node-pty@1.1.0/node_modules/node-pty/lib/windowsTerminal.js +178 -0
- package/dist/_virtual/_rolldown/runtime.js +10 -2
- package/dist/browser-ext/manifest.json +1 -1
- package/dist/extensions/telegram/xopc.extension.json +1 -1
- package/dist/gateway/static/root/assets/{activity-store-OMq1GnqB.js → activity-store-DYwR1u3f.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-avatar-dicebear-CIoE-FJR.js → agent-avatar-dicebear-CsRBprL-.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-avatar-display-kPb6idGG.js → agent-avatar-display-DqFYHXCS.js} +2 -2
- package/dist/gateway/static/root/assets/{agent-defaults-settings-panel-vKUDGEU6.js → agent-defaults-settings-panel-DOAJrMLe.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-plugin-dialog-x7guoCvz.js → agent-plugin-dialog-vqlN3ORH.js} +1 -1
- package/dist/gateway/static/root/assets/{agents-BbwFcl87.js → agents-BgHlOVRV.js} +3 -3
- package/dist/gateway/static/root/assets/{agents-admin-api-tXB8Aj5K.js → agents-admin-api-CKscfdvA.js} +1 -1
- package/dist/gateway/static/root/assets/api-CHM2c_Ah.js +1 -0
- package/dist/gateway/static/root/assets/{api-ixudT_21.js → api-DPNeNCmR.js} +1 -1
- package/dist/gateway/static/root/assets/{app-link-CdD448kS.js → app-link-DImAfVs5.js} +1 -1
- package/dist/gateway/static/root/assets/{app-management-settings-panel-nuDfyfZ5.js → app-management-settings-panel-Bhz6bj1C.js} +1 -1
- package/dist/gateway/static/root/assets/{appearance-settings-D4oON26V.js → appearance-settings-BX32aogA.js} +1 -1
- package/dist/gateway/static/root/assets/{apps-page-BM1BfXzo.js → apps-page-0Yo3jBsQ.js} +1 -1
- package/dist/gateway/static/root/assets/{archive-plugin-mKjfC6Sk.js → archive-plugin-Bha8obMe.js} +1 -1
- package/dist/gateway/static/root/assets/arrow-up-right-T72JbQ1Q.js +1 -0
- package/dist/gateway/static/root/assets/{automation-api-C9pjryrT.js → automation-api-mn8ihWJ_.js} +1 -1
- package/dist/gateway/static/root/assets/{automation-result-state-uvg7Bi2x.js → automation-result-state-COzakzak.js} +1 -1
- package/dist/gateway/static/root/assets/automation-run-list-BhtaMpTb.js +1 -0
- package/dist/gateway/static/root/assets/{automation-task-card-CXGC8afU.js → automation-task-card-BY_k6iWp.js} +1 -1
- package/dist/gateway/static/root/assets/{automations-page-CwQg9dfM.js → automations-page-Dt_Z1UTT.js} +1 -1
- package/dist/gateway/static/root/assets/{automations-workspace-DhLgFY2T.js → automations-workspace-BhHgruhH.js} +2 -2
- package/dist/gateway/static/root/assets/{binary-plugins-BNPDM14i.js → binary-plugins-DUbrJFLU.js} +1 -1
- package/dist/gateway/static/root/assets/{block-editor-De9UqmMT.js → block-editor-DW--pXAc.js} +1 -1
- package/dist/gateway/static/root/assets/{browser-settings-page-B0VB5umC.js → browser-settings-page-CDh6nxs9.js} +1 -1
- package/dist/gateway/static/root/assets/{capabilities-Cp-rmFMM.js → capabilities-DKbXv8Ck.js} +1 -1
- package/dist/gateway/static/root/assets/{capabilities-BtJB4u5C.js → capabilities-kG175Q-7.js} +1 -1
- package/dist/gateway/static/root/assets/capabilities-page-D1wQ2sPI.js +2 -0
- package/dist/gateway/static/root/assets/capabilities-settings-panel-BW5jQz5R.js +8 -0
- package/dist/gateway/static/root/assets/capability-navigation-QtHJxxW2.js +1 -0
- package/dist/gateway/static/root/assets/{channels-ZJORx-he.js → channels-BzZp42yO.js} +1 -1
- package/dist/gateway/static/root/assets/{chat-agents-api-CtuEaDG8.js → chat-agents-api-UOdNWZ0_.js} +1 -1
- package/dist/gateway/static/root/assets/{chat-chart-block-ShPQBlNE.js → chat-chart-block-NSy-B0NS.js} +1 -1
- package/dist/gateway/static/root/assets/chat-page-dY6aCCRx.js +71 -0
- package/dist/gateway/static/root/assets/{chat-terminal-dock-CvDRfHAZ.js → chat-terminal-dock-CAaHWS7F.js} +1 -1
- package/dist/gateway/static/root/assets/{command-palette-api-NJTvEF2b.js → command-palette-api-Dkn9bbYd.js} +1 -1
- package/dist/gateway/static/root/assets/composer-model-config-control-BrK8-SNz.js +1 -0
- package/dist/gateway/static/root/assets/{composer-notifications-BkezOy9Q.js → composer-notifications-B-kL3qAA.js} +1 -1
- package/dist/gateway/static/root/assets/{composer-payload-handoff-CEjJusbJ.js → composer-payload-handoff-DBE1mvOS.js} +1 -1
- package/dist/gateway/static/root/assets/{computer-settings-page-DG8bcw_s.js → computer-settings-page-C9KdEecx.js} +1 -1
- package/dist/gateway/static/root/assets/{confirm-dialog-D7dQJytv.js → confirm-dialog-DrA5mTQp.js} +1 -1
- package/dist/gateway/static/root/assets/connected-providers-grid-D_8v6Qex.js +1 -0
- package/dist/gateway/static/root/assets/{connection-usage-guide-f55PDAbb.js → connection-usage-guide-CiVpcbds.js} +1 -1
- package/dist/gateway/static/root/assets/{connector-service-page-Ca09FIBW.js → connector-service-page-B919cKSm.js} +1 -1
- package/dist/gateway/static/root/assets/{connectors-api-dai-YAdK.js → connectors-api-CgsSm-Av.js} +1 -1
- package/dist/gateway/static/root/assets/connectors-page-CEpfDCLA.js +1 -0
- package/dist/gateway/static/root/assets/{date-picker-C70ICT7u.js → date-picker-dx284jQI.js} +1 -1
- package/dist/gateway/static/root/assets/{date-time-picker-Czj5fnsJ.js → date-time-picker-Dj-bhLNP.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-Dq3OLpPg.js → desktop-pet-DlTuGzZ2.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-narrative-B7I1II0Z.js → desktop-pet-narrative-cBFIPXzR.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-settings-q4mec6zt.js → desktop-pet-settings-CsmrvoxU.js} +1 -1
- package/dist/gateway/static/root/assets/{dev-view-store-lXnKsRew.js → dev-view-store-BOxbj1ie.js} +1 -1
- package/dist/gateway/static/root/assets/{device-pairing-wizard-CbUX0iit.js → device-pairing-wizard-CAqFIFRC.js} +1 -1
- package/dist/gateway/static/root/assets/{directory-picker-path-field-BRnwhemd.js → directory-picker-path-field-BxEw5OrT.js} +1 -1
- package/dist/gateway/static/root/assets/{discussion-annotation-sync-BnK6Ua7v.js → discussion-annotation-sync-CyntTwIa.js} +1 -1
- package/dist/gateway/static/root/assets/dist-CY7CS_D3.js +1 -0
- package/dist/gateway/static/root/assets/extension-authoritative-grants-C0ReZguU.js +1 -0
- package/dist/gateway/static/root/assets/{extension-debug-page-Bp2BrJbB.js → extension-debug-page-Cd3HMUbi.js} +1 -1
- package/dist/gateway/static/root/assets/extension-iframe-host-DiIqM2JO.js +1 -0
- package/dist/gateway/static/root/assets/{extension-marketplace-api-tk93vJL_.js → extension-marketplace-api-CK5CMKTs.js} +1 -1
- package/dist/gateway/static/root/assets/extension-message-router-Dn8JzOdR.js +8 -0
- package/dist/gateway/static/root/assets/extension-page-CLZtAtqm.js +1 -0
- package/dist/gateway/static/root/assets/extension-provider-CbVokTvd.js +1 -0
- package/dist/gateway/static/root/assets/{extension-settings-page-BGcZIeHP.js → extension-settings-page-BM79cwUy.js} +1 -1
- package/dist/gateway/static/root/assets/{file-preview-surface-BK2_4mWy.js → file-preview-surface-z7_HV0WN.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-config-swr-DsXilOaJ.js → gateway-config-swr-OGhON-s6.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-realtime-DopPmAMl.js → gateway-realtime-B9u4uSXW.js} +1 -1
- package/dist/gateway/static/root/assets/gateway-realtime-store-xB7Bq4Zs.js +1 -0
- package/dist/gateway/static/root/assets/{gateway-restart-eozrXTm7.js → gateway-restart-DKAweWmg.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-settings-DddUli-p.js → gateway-settings-Dc7qUbG-.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-startup-retry-DMQI0ATo.js → gateway-startup-retry-BaaoKBoB.js} +1 -1
- package/dist/gateway/static/root/assets/{global-defaults-api-D7hk1zTj.js → global-defaults-api-BIr3ApRj.js} +1 -1
- package/dist/gateway/static/root/assets/{home-page-C8oVgxQg.js → home-page-i_PIrDCU.js} +2 -2
- package/dist/gateway/static/root/assets/{image-generation-api-BCbvDDH_.js → image-generation-api-C7D2IetZ.js} +1 -1
- package/dist/gateway/static/root/assets/{imports-page-B9LF_2fO.js → imports-page-BjEdZJxZ.js} +1 -1
- package/dist/gateway/static/root/assets/index-Bj5exyow.css +1 -0
- package/dist/gateway/static/root/assets/index-CZI3VGGW.js +11 -0
- package/dist/gateway/static/root/assets/{install-connector-dialog-DT32t-66.js → install-connector-dialog-BsiyYQhx.js} +1 -1
- package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-DDwoBK8g.js → keyboard-shortcuts-settings-CIthQ1lp.js} +1 -1
- package/dist/gateway/static/root/assets/local-app-workbench-page-CSCIHvZV.js +1 -0
- package/dist/gateway/static/root/assets/local-apps-DeqzkJiF.js +1 -0
- package/dist/gateway/static/root/assets/{local-apps-page-qzxr3c8Y.js → local-apps-page-EntiM0tz.js} +1 -1
- package/dist/gateway/static/root/assets/{local-session-drafts-BU3FXj_X.js → local-session-drafts-XurtjR58.js} +1 -1
- package/dist/gateway/static/root/assets/{locale-store-DTUQ0JiK.js → locale-store-cg9cm2EL.js} +1 -1
- package/dist/gateway/static/root/assets/logs-page-rmS9VSem.js +2 -0
- package/dist/gateway/static/root/assets/{management-api-C6mCD0mZ.js → management-api-B6jVuJ6W.js} +1 -1
- package/dist/gateway/static/root/assets/{management-settings-C4BKD-_b.js → management-settings-DdI9gs51.js} +1 -1
- package/dist/gateway/static/root/assets/{markdown-view-DHjn1-ML.js → markdown-view-D1zBWkfB.js} +1 -1
- package/dist/gateway/static/root/assets/{mcp-conversation-setup-page-ClgMvru5.js → mcp-conversation-setup-page-Bn49Ph1n.js} +1 -1
- package/dist/gateway/static/root/assets/{media-plugins-8E2KZQym.js → media-plugins-Cd6hAGDp.js} +1 -1
- package/dist/gateway/static/root/assets/messages-eQ2CYlpG.js +3 -0
- package/dist/gateway/static/root/assets/{model-selector-CJY9LRsl.js → model-selector-CL6WT-jw.js} +1 -1
- package/dist/gateway/static/root/assets/{models-hub-cache-BTs8jhgq.js → models-hub-cache-s0FMNhq9.js} +1 -1
- package/dist/gateway/static/root/assets/{note-detail-panel-DiCfpcZd.js → note-detail-panel-anM38aV6.js} +3 -3
- package/dist/gateway/static/root/assets/note-image-lightbox-DfK2KSgu.js +1 -0
- package/dist/gateway/static/root/assets/{notes-api-BnaeXy22.js → notes-api-CR75RHd0.js} +1 -1
- package/dist/gateway/static/root/assets/{notes-page-B_vTBmyx.js → notes-page-BsZmT7Zw.js} +2 -2
- package/dist/gateway/static/root/assets/{oauth-api-BZ67vxsq.js → oauth-api-CvPnQTlH.js} +1 -1
- package/dist/gateway/static/root/assets/oauth-provider-connect-Dk1NeeqD.js +1 -0
- package/dist/gateway/static/root/assets/{page-context-capture-button-TpjRHhUt.js → page-context-capture-button-BPtX67hZ.js} +1 -1
- package/dist/gateway/static/root/assets/{page-context-draft-BbUpxlgV.js → page-context-draft-Ckb8baxj.js} +1 -1
- package/dist/gateway/static/root/assets/page-header-store-DU4NnGap.js +1 -0
- package/dist/gateway/static/root/assets/personal-avatar-CZSnrSfc.js +1 -0
- package/dist/gateway/static/root/assets/personal-page-BSCNuRMT.js +1 -0
- package/dist/gateway/static/root/assets/personal-profile-settings-DJRDcK2c.js +1 -0
- package/dist/gateway/static/root/assets/personal-settings-panel-C6p25Noq.js +1 -0
- package/dist/gateway/static/root/assets/phone-DdhTnt6X.js +1 -0
- package/dist/gateway/static/root/assets/{phone-dependencies-card-ChRrViSc.js → phone-dependencies-card-DKkFFpqi.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-model-connection-DmswEWqx.js → phone-model-connection-CRRHq4PQ.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-model-picker-CvuOhQpk.js → phone-model-picker-CN_I0-46.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-settings-page-2hZ68I47.js → phone-settings-page-CkdSOA7D.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-workspace-store-BMvxfZ3g.js → phone-workspace-store-CC61pIuJ.js} +1 -1
- package/dist/gateway/static/root/assets/{plugin-details-dialog-qvdi41L2.js → plugin-details-dialog-Bqz4jT53.js} +1 -1
- package/dist/gateway/static/root/assets/{preference-select-fields-RDatqlhG.js → preference-select-fields-DHeNbAvn.js} +1 -1
- package/dist/gateway/static/root/assets/{product-automation-feedback-Bj9ZsasT.js → product-automation-feedback-BN2HTA9T.js} +1 -1
- package/dist/gateway/static/root/assets/{product-delivery-DRyD9_Xq.js → product-delivery-BFfqdKLe.js} +1 -1
- package/dist/gateway/static/root/assets/{product-open-page-CzXmn2MX.js → product-open-page-B-j4gpLD.js} +1 -1
- package/dist/gateway/static/root/assets/{product-preview-content-Beg0t4GW.js → product-preview-content-EqrTk7kU.js} +1 -1
- package/dist/gateway/static/root/assets/{product-preview-modal-5ulFfVzf.js → product-preview-modal-aurFBFq4.js} +2 -2
- package/dist/gateway/static/root/assets/{project-detail-page-8bnYqXLJ.js → project-detail-page-ibZZ_w51.js} +2 -2
- package/dist/gateway/static/root/assets/{project-understanding-CXf7wjwt.js → project-understanding-HNK9lFVy.js} +1 -1
- package/dist/gateway/static/root/assets/{projects-page-CyA6fCPg.js → projects-page-CugSyKl5.js} +1 -1
- package/dist/gateway/static/root/assets/providers-api-DUntOOqr.js +1 -0
- package/dist/gateway/static/root/assets/{recording-upload-BZvpuPZT.js → recording-upload-DIwP541B.js} +1 -1
- package/dist/gateway/static/root/assets/{registry-api-C_8-f85U.js → registry-api-BTd_OgbD.js} +1 -1
- package/dist/gateway/static/root/assets/{remote-access-hub-Daxdjqs9.js → remote-access-hub-f5mIfsBF.js} +1 -1
- package/dist/gateway/static/root/assets/{resource-unavailable-khPb8zb8.js → resource-unavailable-DtQ2rfu_.js} +1 -1
- package/dist/gateway/static/root/assets/route-preload-anuckzRl.js +2 -0
- package/dist/gateway/static/root/assets/runtime-health-zDkHcOZO.js +1 -0
- package/dist/gateway/static/root/assets/{runtime-tools-api-2YumRxOJ.js → runtime-tools-api-C1iI8EPo.js} +1 -1
- package/dist/gateway/static/root/assets/{runtime-tools-settings-panel-DH00p-rI.js → runtime-tools-settings-panel-0tdI1z0g.js} +1 -1
- package/dist/gateway/static/root/assets/{service-recommendation-list-wXf_ZlHq.js → service-recommendation-list-DSIe-NRe.js} +1 -1
- package/dist/gateway/static/root/assets/{session-api-Dt7vRa-E.js → session-api-CQlEq0MB.js} +1 -1
- package/dist/gateway/static/root/assets/session-manager-C7RfUfqI.js +25 -0
- package/dist/gateway/static/root/assets/{sessions-page-CCcpMHIH.js → sessions-page-DdS8U0RV.js} +1 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-DnfH22f_.js +1 -0
- package/dist/gateway/static/root/assets/{settings-advanced-section-DRlQdj_w.js → settings-advanced-section-C6dPu5i1.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-mode-store-BE6t--iO.js → settings-mode-store-BSiiowQa.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-_F2d9-GZ.js → settings-page-DAc5n-mM.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-header-DG3MQwSF.js → settings-page-header-BSMu5Zq3.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-layout-SuMAUhMb.js → settings-page-layout-B_vMffB1.js} +1 -1
- package/dist/gateway/static/root/assets/{setup-interaction-page-DyDiHKjZ.js → setup-interaction-page-DKXfFdNt.js} +1 -1
- package/dist/gateway/static/root/assets/{setup-status-panel-CPNFWhrr.js → setup-status-panel-BbAZ9w77.js} +1 -1
- package/dist/gateway/static/root/assets/{share-link-dialog-wu-minYF.js → share-link-dialog-ztX1WPXG.js} +1 -1
- package/dist/gateway/static/root/assets/{share-preview-page-BqbfuQBU.js → share-preview-page-Ds2Ydfg6.js} +1 -1
- package/dist/gateway/static/root/assets/{shares-api-DwsEzRc6.js → shares-api-CSZqeNL4.js} +1 -1
- package/dist/gateway/static/root/assets/{shares-settings-BxutiB6Y.js → shares-settings-CX3TNAmI.js} +1 -1
- package/dist/gateway/static/root/assets/{skill-api-C7wPB73H.js → skill-api-CGzAQ-MX.js} +1 -1
- package/dist/gateway/static/root/assets/{skill-list-api-C4AjzhlY.js → skill-list-api-DfUsku-x.js} +1 -1
- package/dist/gateway/static/root/assets/{skill-reload-api-CqfS9zlG.js → skill-reload-api-Y9qSMnBd.js} +1 -1
- package/dist/gateway/static/root/assets/{skills-page-8VYadExR.js → skills-page-DnMN50Ot.js} +1 -1
- package/dist/gateway/static/root/assets/sliding-segmented-CgQ3BFdb.js +1 -0
- package/dist/gateway/static/root/assets/{system-settings-panel-BV4GHnns.js → system-settings-panel-DWNkQmme.js} +1 -1
- package/dist/gateway/static/root/assets/{task-detail-page-C9IyuxdS.js → task-detail-page-BJok6V1K.js} +3 -3
- package/dist/gateway/static/root/assets/{task-input-card-NtzzVc0e.js → task-input-card-lCMSy6YY.js} +1 -1
- package/dist/gateway/static/root/assets/{terminal-panel-store-DWdJOGMn.js → terminal-panel-store-D8eZPvql.js} +1 -1
- package/dist/gateway/static/root/assets/{theme-store-FNf-kdMR.js → theme-store-GZQ3pTgy.js} +1 -1
- package/dist/gateway/static/root/assets/tool-friendly-title-DC8_9-Lo.js +2 -0
- package/dist/gateway/static/root/assets/{tracing-settings-page-BRPJuRpc.js → tracing-settings-page-DM3-7Hlw.js} +1 -1
- package/dist/gateway/static/root/assets/{tunnel-api-B7NHNrQJ.js → tunnel-api-DOGAIXRR.js} +1 -1
- package/dist/gateway/static/root/assets/{understanding-activity-store-bgCeO8bb.js → understanding-activity-store-CuPfe0eQ.js} +1 -1
- package/dist/gateway/static/root/assets/{understanding-refresh-store-CEhWIvsQ.js → understanding-refresh-store-Ihz2p9Vg.js} +1 -1
- package/dist/gateway/static/root/assets/{usage-page-35YfpfVW.js → usage-page-BA9Yrvqu.js} +1 -1
- package/dist/gateway/static/root/assets/{use-autosave-D8Qtt_Tn.js → use-autosave-CO0IPCVg.js} +1 -1
- package/dist/gateway/static/root/assets/{use-composer-attachments-H-tD4Db6.js → use-composer-attachments-CLIrD0mm.js} +1 -1
- package/dist/gateway/static/root/assets/{use-file-preview-expanded-P-0xmST2.js → use-file-preview-expanded-dhNMHf5b.js} +3 -3
- package/dist/gateway/static/root/assets/{use-personal-profile-Bk2rGWSy.js → use-personal-profile-CVqDWBDS.js} +1 -1
- package/dist/gateway/static/root/assets/use-realtime-voice-DDVVlX1R.js +1 -0
- package/dist/gateway/static/root/assets/{use-workspace-tree-D0_812KH.js → use-workspace-tree-CZej8mhf.js} +1 -1
- package/dist/gateway/static/root/assets/{user-model-page-BxHnOljT.js → user-model-page-1eYattnk.js} +1 -1
- package/dist/gateway/static/root/assets/voice-CDlC6XMH.js +1 -0
- package/dist/gateway/static/root/assets/{voice-api-key-field-BL56KGeq.js → voice-api-key-field-DpwUDAvu.js} +1 -1
- package/dist/gateway/static/root/assets/voice-call-context-BM2A4bLz.js +1 -0
- package/dist/gateway/static/root/assets/voice-config-api-GIuXoHXw.js +1 -0
- package/dist/gateway/static/root/assets/{voice-input-shortcut-events-BK-IvchL.js → voice-input-shortcut-events-Cc30ZcFy.js} +1 -1
- package/dist/gateway/static/root/assets/voice-settings-DA3m5MT0.js +1 -0
- package/dist/gateway/static/root/assets/{work-discovery-overlay-DDXae8Yc.js → work-discovery-overlay-yGUkk1NV.js} +1 -1
- package/dist/gateway/static/root/assets/{work-discovery-page-CxN0abrd.js → work-discovery-page-RN6iuY-0.js} +1 -1
- package/dist/gateway/static/root/assets/{working-directory-picker-modal-D3BUBFa0.js → working-directory-picker-modal-CeXl9w6z.js} +1 -1
- package/dist/gateway/static/root/assets/workspace-api-B1Uirhxf.js +2 -0
- package/dist/gateway/static/root/assets/workspace-editor-agent-store-Nos5ebMv.js +1 -0
- package/dist/gateway/static/root/assets/{workspace-file-preview-dialog-BKmtih6_.js → workspace-file-preview-dialog-D0h2yJ3v.js} +1 -1
- package/dist/gateway/static/root/assets/{workspace-open-location-menu-BdfKT4O4.js → workspace-open-location-menu-DWGNOIE2.js} +1 -1
- package/dist/gateway/static/root/assets/{xopc-cloud-account-card-BS_lsURY.js → xopc-cloud-account-card-x-XT4bKF.js} +1 -1
- package/dist/gateway/static/root/index.html +104 -100
- package/dist/package.js +1 -1
- package/dist/packages/gateway-contract/src/extension-capabilities.js +91 -4
- package/dist/packages/gateway-contract/src/index.js +3 -1
- package/dist/packages/gateway-contract/src/local-app-delegation.js +25 -0
- package/dist/packages/gateway-contract/src/local-apps.js +35 -4
- package/dist/packages/realtime-protocol/src/voice.js +5 -0
- package/dist/src/agent/agent-instance-gateway.d.ts +2 -0
- package/dist/src/agent/agent-manager.d.ts +1 -0
- package/dist/src/agent/agent-manager.js +12 -3
- package/dist/src/agent/background-review/prompts.js +2 -0
- package/dist/src/agent/background-review/run-background-review.js +13 -7
- package/dist/src/agent/child-agent-factory.js +24 -1
- package/dist/src/agent/commands/command-registry.d.ts +10 -0
- package/dist/src/agent/commands/command-registry.js +37 -16
- package/dist/src/agent/commands/command-transport.d.ts +19 -0
- package/dist/src/agent/commands/command-transport.js +92 -0
- package/dist/src/agent/context/execution-context.js +1 -1
- package/dist/src/agent/context/project-context.js +1 -1
- package/dist/src/agent/embedded/execution-tool-policy.d.ts +1 -0
- package/dist/src/agent/embedded/execution-tool-policy.js +17 -6
- package/dist/src/agent/embedded/index.js +1 -1
- package/dist/src/agent/embedded/run-for-session.js +66 -9
- package/dist/src/agent/embedded/run-turn.js +109 -15
- package/dist/src/agent/embedded/runs.d.ts +3 -0
- package/dist/src/agent/embedded/runs.js +21 -1
- package/dist/src/agent/embedded/session-runner.js +2 -2
- package/dist/src/agent/embedded/types.d.ts +2 -0
- package/dist/src/agent/external-tools/endpoint-provider.js +1 -1
- package/dist/src/agent/inbound/attachment-pipeline.js +1 -1
- package/dist/src/agent/inbound/turn-dispatcher.d.ts +1 -0
- package/dist/src/agent/inbound/turn-dispatcher.js +1 -0
- package/dist/src/agent/orchestration/agent-orchestrator.js +1 -1
- package/dist/src/agent/orchestration/child-run-monitor.d.ts +35 -0
- package/dist/src/agent/orchestration/child-run-monitor.js +104 -0
- package/dist/src/agent/orchestration/child-run-resume.d.ts +3 -0
- package/dist/src/agent/orchestration/child-run-resume.js +67 -0
- package/dist/src/agent/prompt/system-prompt.js +7 -6
- package/dist/src/agent/prompt/types.d.ts +2 -1
- package/dist/src/agent/prompt/voice-history.d.ts +9 -0
- package/dist/src/agent/prompt/voice-history.js +35 -0
- package/dist/src/agent/prompt/voice-presentation.d.ts +1 -1
- package/dist/src/agent/prompt/voice-presentation.js +1 -0
- package/dist/src/agent/sandbox/native-command.d.ts +15 -0
- package/dist/src/agent/sandbox/native-command.js +65 -0
- package/dist/src/agent/service/btw-query.d.ts +1 -0
- package/dist/src/agent/service/btw-query.js +1 -1
- package/dist/src/agent/service/direct-turn-helpers.js +2 -2
- package/dist/src/agent/service/process-direct-streaming.js +2 -2
- package/dist/src/agent/service.js +3 -3
- package/dist/src/agent/session/interaction-policy.d.ts +21 -0
- package/dist/src/agent/session/interaction-policy.js +58 -0
- package/dist/src/agent/session/session-inspector.js +3 -2
- 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/exec-command.js +5 -0
- package/dist/src/agent/tools/factory.js +2 -2
- package/dist/src/agent/tools/image-generate-tool.js +5 -1
- package/dist/src/agent/tools/index.js +1 -1
- package/dist/src/agent/tools/list-dir.js +1 -1
- package/dist/src/agent/tools/managed-job-tool.js +16 -1
- package/dist/src/agent/tools/personal-read-tool.js +1 -1
- package/dist/src/agent/tools/personal-request-result-tool.js +1 -1
- package/dist/src/agent/tools/personal-task-tool.js +3 -1
- package/dist/src/agent/tools/publish-artifacts.js +1 -1
- package/dist/src/agent/tools/read.js +1 -1
- package/dist/src/agent/tools/send-media.js +1 -1
- package/dist/src/agent/tools/task-collaboration-tool.js +1 -1
- package/dist/src/agent/tools/task-evidence.js +6 -15
- package/dist/src/agent/tools/task-result-tool.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.js +9 -8
- package/dist/src/agent-config/schema.d.ts +15 -0
- package/dist/src/automations/capabilities/drafts.js +5 -1
- package/dist/src/automations/capabilities/read.js +58 -8
- package/dist/src/automations/capabilities/write.js +53 -0
- package/dist/src/automations/delivery/delivery-router.js +3 -1
- package/dist/src/automations/run-changes.d.ts +2 -0
- package/dist/src/automations/run-changes.js +18 -0
- package/dist/src/automations/service/automation-service.d.ts +2 -9
- package/dist/src/automations/service/automation-service.js +3 -2
- package/dist/src/automations/storage/automation-run-repository.d.ts +5 -0
- package/dist/src/automations/storage/automation-run-repository.js +15 -1
- package/dist/src/capabilities/runtime/dispatcher.d.ts +12 -0
- package/dist/src/capabilities/runtime/dispatcher.js +22 -6
- package/dist/src/capabilities/runtime/product.d.ts +2 -0
- package/dist/src/capabilities/runtime/product.js +28 -6
- package/dist/src/channels/attachments/voice-stt-webchat.js +1 -1
- package/dist/src/chat-commands/types.d.ts +2 -0
- package/dist/src/cli/commands/tui-runner.d.ts +1 -1
- package/dist/src/cli/commands/tui-runner.js +1 -0
- package/dist/src/cli/commands/tui.js +1 -1
- package/dist/src/computer/evaluation-comparison.d.ts +4 -0
- package/dist/src/computer/evaluation-comparison.js +16 -1
- package/dist/src/computer/keyboard.js +1 -1
- package/dist/src/computer/model-adapter.js +18 -14
- package/dist/src/config/schema.d.ts +37 -3
- package/dist/src/config/schema.js +23 -5
- package/dist/src/gateway/agent-builtin-tools.d.ts +1 -1
- package/dist/src/gateway/agents-admin.js +1 -1
- package/dist/src/gateway/file-path-classifier.js +1 -1
- package/dist/src/gateway/hono/lib/safe-voice-config.js +4 -1
- package/dist/src/gateway/hono/routes/auth-registry-extensions.js +204 -12
- package/dist/src/gateway/hono/routes/lazy-bundles.js +18 -2
- package/dist/src/gateway/hono/routes/local-app-capabilities.js +27 -6
- package/dist/src/gateway/hono/routes/local-app-development.d.ts +3 -0
- package/dist/src/gateway/hono/routes/local-app-development.js +13 -0
- package/dist/src/gateway/hono/routes/local-app-previews.d.ts +3 -0
- package/dist/src/gateway/hono/routes/local-app-previews.js +86 -0
- package/dist/src/gateway/hono/routes/local-app-run-streams.d.ts +4 -0
- package/dist/src/gateway/hono/routes/local-app-run-streams.js +105 -0
- package/dist/src/gateway/hono/routes/local-apps.js +3 -2
- package/dist/src/gateway/hono/routes/projects.js +1 -1
- package/dist/src/gateway/hono/routes/sessions.js +2 -2
- package/dist/src/gateway/hono/routes/shares.js +1 -1
- package/dist/src/gateway/hono/routes/tasks.js +4 -4
- package/dist/src/gateway/hono/routes/tui.js +308 -0
- package/dist/src/gateway/hono/routes/user-model.js +2 -2
- package/dist/src/gateway/hono/routes/voice.js +4 -3
- package/dist/src/gateway/media-access.js +1 -1
- package/dist/src/gateway/security/gateway-scopes.js +1 -1
- package/dist/src/gateway/security/local-app-delegation-access.d.ts +5 -0
- package/dist/src/gateway/security/local-app-delegation-access.js +22 -0
- package/dist/src/gateway/service/agent-runner.js +1 -1
- package/dist/src/gateway/service/config-coordinator.d.ts +8 -3
- package/dist/src/gateway/service/run-gateway-agent.js +7 -6
- package/dist/src/gateway/service/session-input-coordinator.d.ts +1 -0
- package/dist/src/gateway/service/session-input-coordinator.js +6 -2
- package/dist/src/gateway/service/sessions-api.d.ts +1 -1
- package/dist/src/gateway/service/sessions-api.js +3 -3
- package/dist/src/gateway/service.js +50 -17
- package/dist/src/gateway/session-reset-service.js +1 -1
- package/dist/src/gateway/xopc-cloud-capability-setup.js +1 -1
- package/dist/src/infra/execution-authority.d.ts +12 -0
- package/dist/src/infra/execution-authority.js +27 -0
- package/dist/src/local-apps/access-audit.d.ts +17 -0
- package/dist/src/local-apps/access-audit.js +42 -0
- package/dist/src/local-apps/automation-proposals.d.ts +754 -0
- package/dist/src/local-apps/automation-proposals.js +185 -0
- package/dist/src/local-apps/capabilities/automation-policy.d.ts +7 -0
- package/dist/src/local-apps/capabilities/automation-policy.js +46 -0
- package/dist/src/local-apps/capabilities/contracts.js +25 -0
- package/dist/src/local-apps/capabilities/delegate.d.ts +3 -0
- package/dist/src/local-apps/capabilities/delegate.js +183 -0
- package/dist/src/local-apps/capabilities/projections.d.ts +853 -0
- package/dist/src/local-apps/capabilities/projections.js +186 -0
- package/dist/src/local-apps/capabilities/resource-policy.d.ts +3 -0
- package/dist/src/local-apps/capabilities/resource-policy.js +119 -0
- package/dist/src/local-apps/capabilities/runtime.d.ts +2 -1
- package/dist/src/local-apps/capabilities/runtime.js +109 -39
- package/dist/src/local-apps/execution-authority.d.ts +13 -0
- package/dist/src/local-apps/execution-authority.js +104 -0
- package/dist/src/local-apps/fix-guidance.js +4 -1
- package/dist/src/local-apps/p1-services.d.ts +189 -0
- package/dist/src/local-apps/p1-services.js +620 -0
- package/dist/src/local-apps/preview-fixtures.d.ts +20 -0
- package/dist/src/local-apps/preview-fixtures.js +52 -0
- package/dist/src/local-apps/preview-runtime-bridge.d.ts +1 -1
- package/dist/src/local-apps/preview-runtime-bridge.js +41 -18
- package/dist/src/local-apps/preview-sessions.d.ts +52 -0
- package/dist/src/local-apps/preview-sessions.js +316 -0
- package/dist/src/local-apps/preview-worker.d.ts +1 -0
- package/dist/src/local-apps/preview-worker.js +117 -0
- package/dist/src/local-apps/public-assets.d.ts +2 -0
- package/dist/src/local-apps/public-assets.js +42 -0
- package/dist/src/local-apps/scaffold.js +1 -1
- package/dist/src/local-apps/service.d.ts +128 -5
- package/dist/src/local-apps/service.js +153 -15
- package/dist/src/local-apps/store.d.ts +3 -0
- package/dist/src/local-apps/store.js +42 -16
- package/dist/src/local-apps/types.d.ts +2 -0
- package/dist/src/memory-learning/repository.js +3 -2
- package/dist/src/memory-learning/service.js +4 -13
- package/dist/src/memory-learning/transcript-source.d.ts +9 -0
- package/dist/src/memory-learning/transcript-source.js +31 -0
- package/dist/src/notes/agent-context.js +1 -1
- package/dist/src/notes/capabilities/read.js +11 -2
- package/dist/src/notes/capabilities/write.js +10 -1
- package/dist/src/notes/types.d.ts +2 -0
- package/dist/src/personal-agent/communication.d.ts +2 -1
- package/dist/src/personal-agent/communication.js +3 -1
- package/dist/src/personal-agent/prompt-context.js +15 -23
- package/dist/src/personal-agent/prompts.js +3 -2
- package/dist/src/personal-agent/reply-composer.js +2 -2
- package/dist/src/personal-agent/request-access.js +1 -1
- package/dist/src/personal-agent/request-delivery.js +1 -1
- package/dist/src/personal-agent/request-service.js +2 -2
- package/dist/src/personal-agent/service.js +1 -0
- package/dist/src/personal-agent/task-cancel.js +1 -1
- package/dist/src/phone/contracts.d.ts +1 -1
- package/dist/src/phone/model-adapter.d.ts +1 -1
- package/dist/src/phone/runtime.d.ts +1 -1
- package/dist/src/platform/contracts.d.ts +3 -3
- package/dist/src/process/fork-worker.d.ts +2 -0
- package/dist/src/process/fork-worker.js +7 -0
- package/dist/src/projects/capabilities/read.js +43 -2
- package/dist/src/projects/capabilities/write.js +25 -0
- package/dist/src/projects/project-store.js +12 -1
- package/dist/src/projects/types.d.ts +1 -0
- package/dist/src/realtime/broker.js +1 -1
- package/dist/src/review/review-git.js +14 -1
- package/dist/src/session/client-history.js +12 -1
- package/dist/src/session/session-context-for-llm.js +10 -3
- package/dist/src/session/store.d.ts +1 -0
- package/dist/src/session/store.js +2 -1
- package/dist/src/session/stored-rows-to-file-entries.js +1 -1
- package/dist/src/session/transcript-outline.js +9 -0
- package/dist/src/session/voice-transcript.d.ts +14 -0
- package/dist/src/session/voice-transcript.js +19 -2
- package/dist/src/share/share-store.js +1 -1
- package/dist/src/share/site-share-store.js +1 -1
- package/dist/src/storage/sqlite/notes-repository.js +7 -0
- package/dist/src/storage/sqlite/resource-scope.d.ts +10 -0
- package/dist/src/storage/sqlite/resource-scope.js +31 -0
- package/dist/src/storage/sqlite/transcript-repository.d.ts +3 -0
- package/dist/src/storage/sqlite/transcript-repository.js +43 -7
- package/dist/src/tasks/capabilities/management.js +3 -0
- package/dist/src/tasks/capabilities/read.js +21 -3
- package/dist/src/tasks/capabilities/write.js +11 -2
- package/dist/src/tasks/index.js +1 -1
- package/dist/src/tasks/task-allocation-service.js +1 -1
- package/dist/src/tasks/task-application-service.js +3 -3
- package/dist/src/tasks/task-context-assembler.js +1 -1
- package/dist/src/tasks/task-evidence-tools.d.ts +2 -0
- package/dist/src/tasks/task-evidence-tools.js +22 -0
- package/dist/src/tasks/task-main-update-delivery.js +2 -0
- package/dist/src/tasks/task-repository.d.ts +2 -0
- package/dist/src/tasks/task-repository.js +7 -0
- package/dist/src/tasks/task-research-result.js +8 -21
- package/dist/src/tasks/task-result-delivery-repository.d.ts +6 -0
- package/dist/src/tasks/task-result-delivery-repository.js +26 -0
- package/dist/src/tasks/task-result-delivery-service.js +3 -3
- package/dist/src/tasks/task-run-coordinator.js +1 -1
- package/dist/src/tui/backend-services.d.ts +14 -0
- package/dist/src/tui/backend-services.js +67 -0
- package/dist/src/tui/backends/embedded-backend.d.ts +48 -4
- package/dist/src/tui/backends/embedded-backend.js +248 -42
- package/dist/src/tui/backends/gateway-realtime-backend.d.ts +46 -2
- package/dist/src/tui/backends/gateway-realtime-backend.js +205 -62
- package/dist/src/tui/components/chat-log.d.ts +1 -0
- package/dist/src/tui/components/chat-log.js +11 -5
- package/dist/src/tui/components/scoped-models-selector.js +1 -1
- package/dist/src/tui/components/session-selector.js +1 -1
- package/dist/src/tui/components/text-viewer.d.ts +32 -0
- package/dist/src/tui/components/text-viewer.js +132 -0
- package/dist/src/tui/components/tui-bottom-bar.js +3 -0
- package/dist/src/tui/extension-host/autocomplete.js +9 -1
- package/dist/src/tui/extension-host/runtime.d.ts +1 -0
- package/dist/src/tui/extension-host/runtime.js +1 -0
- package/dist/src/tui/tui-backend.d.ts +36 -3
- package/dist/src/tui/tui-capabilities.d.ts +15 -0
- package/dist/src/tui/tui-capabilities.js +46 -0
- package/dist/src/tui/tui-capability-controls.d.ts +9 -0
- package/dist/src/tui/tui-capability-controls.js +250 -0
- package/dist/src/tui/tui-clarification.d.ts +15 -0
- package/dist/src/tui/tui-clarification.js +91 -0
- package/dist/src/tui/tui-command-formatters.d.ts +0 -4
- package/dist/src/tui/tui-command-formatters.js +3 -43
- package/dist/src/tui/tui-commands.d.ts +4 -4
- package/dist/src/tui/tui-commands.js +219 -127
- package/dist/src/tui/tui-control-commands.d.ts +12 -0
- package/dist/src/tui/tui-control-commands.js +127 -0
- package/dist/src/tui/tui-image-files.d.ts +2 -0
- package/dist/src/tui/tui-image-files.js +47 -0
- package/dist/src/tui/tui-local-shell.d.ts +6 -0
- package/dist/src/tui/tui-local-shell.js +36 -2
- package/dist/src/tui/tui-management.d.ts +114 -0
- package/dist/src/tui/tui-management.js +233 -0
- package/dist/src/tui/tui-picker-overlay.d.ts +1 -6
- package/dist/src/tui/tui-picker-overlay.js +1 -62
- package/dist/src/tui/tui-session-actions.d.ts +1 -0
- package/dist/src/tui/tui-session-actions.js +97 -29
- package/dist/src/tui/tui-settings.js +1 -1
- package/dist/src/tui/tui-side-chat.d.ts +10 -0
- package/dist/src/tui/tui-side-chat.js +56 -0
- package/dist/src/tui/tui-terminal.d.ts +3 -0
- package/dist/src/tui/tui-terminal.js +52 -0
- package/dist/src/tui/tui-types.d.ts +4 -1
- package/dist/src/tui/tui.js +422 -211
- package/dist/src/tui/xopc-tui-keybindings.d.ts +29 -9
- package/dist/src/tui/xopc-tui-keybindings.js +27 -7
- package/dist/src/usage/recorder.js +2 -0
- package/dist/src/usage/scenario-registry.js +5 -0
- package/dist/src/user-model/index.js +3 -3
- package/dist/src/user-model/profile.d.ts +8 -0
- package/dist/src/user-model/profile.js +19 -1
- package/dist/src/voice/platform-settings.d.ts +5 -0
- package/dist/src/voice/platform-settings.js +15 -2
- package/dist/src/voice/platform-streams.d.ts +7 -3
- package/dist/src/voice/platform-streams.js +90 -18
- package/dist/src/voice/realtime/agentBroker.d.ts +12 -1
- package/dist/src/voice/realtime/agentBroker.js +22 -5
- package/dist/src/voice/realtime/agentEngine.js +104 -12
- package/dist/src/voice/realtime/chat-publication.d.ts +24 -0
- package/dist/src/voice/realtime/chat-publication.js +61 -0
- package/dist/src/voice/realtime/conversation-context.d.ts +7 -1
- package/dist/src/voice/realtime/conversation-context.js +54 -16
- package/dist/src/voice/realtime/engine.d.ts +2 -0
- package/dist/src/voice/realtime/identity-grounding.d.ts +8 -0
- package/dist/src/voice/realtime/identity-grounding.js +34 -0
- package/dist/src/voice/realtime/memory-context.js +48 -14
- package/dist/src/voice/realtime/naturalAgentTools.d.ts +90 -0
- package/dist/src/voice/realtime/naturalAgentTools.js +275 -0
- package/dist/src/voice/realtime/omniEngine.d.ts +8 -0
- package/dist/src/voice/realtime/omniEngine.js +239 -13
- package/dist/src/voice/realtime/omniRoute.d.ts +1 -0
- package/dist/src/voice/realtime/omniRoute.js +23 -4
- package/dist/src/voice/realtime/runtime.d.ts +1 -0
- package/dist/src/voice/realtime/runtime.js +116 -22
- package/dist/src/voice/realtime/runtime.types.d.ts +3 -1
- package/dist/src/voice/realtime/speakable-segmenter.d.ts +2 -1
- package/dist/src/voice/realtime/speakable-segmenter.js +7 -2
- package/dist/src/voice/realtime/turnPolicy.d.ts +1 -2
- package/dist/src/voice/realtime/turnPolicy.js +4 -6
- package/dist/src/voice/realtime/user-context.d.ts +14 -0
- package/dist/src/voice/realtime/user-context.js +63 -0
- package/dist/src/voice/tts/providers/xopc-cloud-speech.js +29 -23
- package/dist/src/voice/tts/speak-core.js +1 -0
- package/dist/src/voice/tts/speech-provider-types.d.ts +2 -0
- package/dist/src/work-discovery/service.js +1 -1
- package/package.json +3 -1
- package/skills/engineering/build-xopc-local-app/SKILL.md +5 -1
- package/skills/engineering/build-xopc-local-app/references/app-contract.md +43 -2
- package/dist/gateway/static/root/assets/api-DIKAjDAK.js +0 -1
- package/dist/gateway/static/root/assets/automation-run-list-J-R4-hVm.js +0 -1
- package/dist/gateway/static/root/assets/capabilities-page-KRaK8LKT.js +0 -2
- package/dist/gateway/static/root/assets/capabilities-settings-panel-aJy-1o5H.js +0 -8
- package/dist/gateway/static/root/assets/chat-page-QmBfel_Z.js +0 -71
- package/dist/gateway/static/root/assets/clipboard-copy-DuJk5WD6.js +0 -1
- package/dist/gateway/static/root/assets/connected-providers-grid-BWVieU6P.js +0 -1
- package/dist/gateway/static/root/assets/connectors-page-C8M01Zxs.js +0 -1
- package/dist/gateway/static/root/assets/dist-BGTk37IG.js +0 -1
- package/dist/gateway/static/root/assets/extension-iframe-host-DjXDDmUd.js +0 -1
- package/dist/gateway/static/root/assets/extension-page-CGgneUDY.js +0 -1
- package/dist/gateway/static/root/assets/extension-provider-BktGTwH_.js +0 -1
- package/dist/gateway/static/root/assets/gateway-realtime-store-ZxMFPH4n.js +0 -1
- package/dist/gateway/static/root/assets/index-CPXKrqLj.js +0 -11
- package/dist/gateway/static/root/assets/index-Dc-3QQaz.css +0 -1
- package/dist/gateway/static/root/assets/local-app-workbench-page-CnckB-RA.js +0 -1
- package/dist/gateway/static/root/assets/local-apps-Ck6kACsY.js +0 -1
- package/dist/gateway/static/root/assets/logs-page-_nIEwZn4.js +0 -2
- package/dist/gateway/static/root/assets/messages-C7ruaWtK.js +0 -3
- package/dist/gateway/static/root/assets/note-image-lightbox-kccIXJo_.js +0 -1
- package/dist/gateway/static/root/assets/oauth-provider-connect-CZP15znW.js +0 -1
- package/dist/gateway/static/root/assets/page-header-store-CFntbsPj.js +0 -1
- package/dist/gateway/static/root/assets/personal-avatar-CVocefDp.js +0 -1
- package/dist/gateway/static/root/assets/personal-page-BjnSgU89.js +0 -1
- package/dist/gateway/static/root/assets/personal-proactivity-DaRnbB1f.js +0 -1
- package/dist/gateway/static/root/assets/personal-settings-panel-CdMHSPCH.js +0 -1
- package/dist/gateway/static/root/assets/providers-api-DE7kdeXc.js +0 -1
- package/dist/gateway/static/root/assets/route-preload-DGMUu3pm.js +0 -2
- package/dist/gateway/static/root/assets/runtime-health-D2TDFLLq.js +0 -1
- package/dist/gateway/static/root/assets/session-manager-5qokJQ6W.js +0 -25
- package/dist/gateway/static/root/assets/settings-advanced-gate-B7-XQiJh.js +0 -1
- package/dist/gateway/static/root/assets/sliding-segmented-D346J92k.js +0 -1
- package/dist/gateway/static/root/assets/tool-friendly-title-YQmN1S2k.js +0 -2
- package/dist/gateway/static/root/assets/use-realtime-voice-BcokfdI0.js +0 -1
- package/dist/gateway/static/root/assets/voice-C607F0pB.js +0 -1
- package/dist/gateway/static/root/assets/voice-call-context-CJ1ZiJWR.js +0 -1
- package/dist/gateway/static/root/assets/voice-config-api-DVFTuHwH.js +0 -1
- package/dist/gateway/static/root/assets/workspace-api-ymncGc6j.js +0 -2
- package/dist/gateway/static/root/assets/workspace-editor-agent-store-BQrMvAkL.js +0 -1
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { redactSensitiveOutput } from "../../utils/logger/redact.js";
|
|
2
|
+
import { init_logger } from "../../utils/logger.js";
|
|
3
|
+
import { init_connection, isXopcDatabaseOpen } from "../../storage/sqlite/connection.js";
|
|
4
|
+
import { DurableState } from "../../storage/sqlite/durable-state.js";
|
|
5
|
+
import { queueEmbeddedSteer } from "../embedded/runs.js";
|
|
6
|
+
//#region src/agent/orchestration/child-run-monitor.ts
|
|
7
|
+
init_connection();
|
|
8
|
+
init_logger();
|
|
9
|
+
const records = (owner) => new DurableState("child-run-monitor", owner);
|
|
10
|
+
const save = (view, messages) => {
|
|
11
|
+
if (!isXopcDatabaseOpen() || !view.parentConversationId) return;
|
|
12
|
+
const store = records(view.parentConversationId);
|
|
13
|
+
store.set(view.id, {
|
|
14
|
+
view: { ...view },
|
|
15
|
+
messages: messages ?? store.get(view.id)?.messages ?? []
|
|
16
|
+
});
|
|
17
|
+
};
|
|
18
|
+
const monitorKey = Symbol.for("xopc.child-run-monitor");
|
|
19
|
+
const entries = () => {
|
|
20
|
+
const store = globalThis;
|
|
21
|
+
return store[monitorKey] ??= /* @__PURE__ */ new Map();
|
|
22
|
+
};
|
|
23
|
+
function monitorChildRun(input) {
|
|
24
|
+
const view = {
|
|
25
|
+
id: input.id,
|
|
26
|
+
parentConversationId: input.parentConversationId ?? "",
|
|
27
|
+
workspace: input.workspace,
|
|
28
|
+
modelRef: input.modelRef,
|
|
29
|
+
agentId: input.agentId,
|
|
30
|
+
allowedTools: input.allowedTools,
|
|
31
|
+
maxIterations: input.maxIterations,
|
|
32
|
+
task: redactSensitiveOutput(input.task).slice(0, 1e3),
|
|
33
|
+
status: "running",
|
|
34
|
+
output: "",
|
|
35
|
+
startedAt: Date.now()
|
|
36
|
+
};
|
|
37
|
+
const store = entries();
|
|
38
|
+
if (view.parentConversationId) {
|
|
39
|
+
for (const [id, entry] of store) {
|
|
40
|
+
if (store.size < 200) break;
|
|
41
|
+
if (entry.view.status !== "running") store.delete(id);
|
|
42
|
+
}
|
|
43
|
+
store.set(view.id, {
|
|
44
|
+
view,
|
|
45
|
+
abort: input.abort
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
save(view);
|
|
49
|
+
let lastSavedAt = 0;
|
|
50
|
+
return {
|
|
51
|
+
snapshot(messages) {
|
|
52
|
+
save(view, messages);
|
|
53
|
+
},
|
|
54
|
+
append(text) {
|
|
55
|
+
view.output = (view.output + redactSensitiveOutput(text)).slice(-24e3);
|
|
56
|
+
if (Date.now() - lastSavedAt > 250) {
|
|
57
|
+
save(view);
|
|
58
|
+
lastSavedAt = Date.now();
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
finish(status, summary) {
|
|
62
|
+
view.status = status;
|
|
63
|
+
view.output = (view.output + "\n\n" + redactSensitiveOutput(summary)).slice(-24e3);
|
|
64
|
+
save(view);
|
|
65
|
+
},
|
|
66
|
+
dispose() {
|
|
67
|
+
if (view.status === "running") view.status = "failed";
|
|
68
|
+
save(view);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
function listChildRuns(parentConversationId) {
|
|
73
|
+
const views = /* @__PURE__ */ new Map();
|
|
74
|
+
if (isXopcDatabaseOpen()) for (const record of records(parentConversationId).values()) {
|
|
75
|
+
const view = { ...record.view };
|
|
76
|
+
if (view.status === "running" && !entries().has(view.id)) {
|
|
77
|
+
view.status = "interrupted";
|
|
78
|
+
save(view);
|
|
79
|
+
}
|
|
80
|
+
views.set(view.id, view);
|
|
81
|
+
}
|
|
82
|
+
for (const entry of entries().values()) if (entry.view.parentConversationId === parentConversationId) views.set(entry.view.id, { ...entry.view });
|
|
83
|
+
return [...views.values()].sort((a, b) => b.startedAt - a.startedAt);
|
|
84
|
+
}
|
|
85
|
+
function getChildRun(parentConversationId, id) {
|
|
86
|
+
const view = listChildRuns(parentConversationId).find((view) => view.id === id);
|
|
87
|
+
if (!view) throw new Error("Subagent not found in this conversation.");
|
|
88
|
+
return view;
|
|
89
|
+
}
|
|
90
|
+
function getChildRunMessages(parentConversationId, id) {
|
|
91
|
+
getChildRun(parentConversationId, id);
|
|
92
|
+
return isXopcDatabaseOpen() ? records(parentConversationId).get(id)?.messages ?? [] : [];
|
|
93
|
+
}
|
|
94
|
+
async function steerChildRun(parentConversationId, id, text) {
|
|
95
|
+
if (getChildRun(parentConversationId, id).status !== "running" || !text.trim() || text.length > 32e3) throw new Error("Steering requires a running child and 1–32000 characters.");
|
|
96
|
+
if (!await queueEmbeddedSteer(id, text)) throw new Error("Child is not ready to accept input; retry after it starts.");
|
|
97
|
+
}
|
|
98
|
+
function stopChildRun(parentConversationId, id) {
|
|
99
|
+
getChildRun(parentConversationId, id);
|
|
100
|
+
const entry = entries().get(id);
|
|
101
|
+
if (entry?.view.status === "running") entry.abort();
|
|
102
|
+
}
|
|
103
|
+
//#endregion
|
|
104
|
+
export { getChildRun, getChildRunMessages, listChildRuns, monitorChildRun, steerChildRun, stopChildRun };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { Config } from '../../config/schema.js';
|
|
2
|
+
/** Reconstruct tools from current configuration, intersected with the original delegation grant. */
|
|
3
|
+
export declare function resumeChildRun(parentConversationId: string, id: string, text: string, config: Config): Promise<void>;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { resolveEffectiveAgentProfile, resolveEffectiveAgentProfileForSession } from "../../config/agent-profile.js";
|
|
2
|
+
import { init_providers, resolveModel } from "../../providers/index.js";
|
|
3
|
+
import { getChildRun, getChildRunMessages, monitorChildRun } from "./child-run-monitor.js";
|
|
4
|
+
import { getSessionInteractionPolicy } from "../session/interaction-policy.js";
|
|
5
|
+
import { MessageBus } from "../../infra/bus/queue.js";
|
|
6
|
+
import "../../infra/bus/index.js";
|
|
7
|
+
//#region src/agent/orchestration/child-run-resume.ts
|
|
8
|
+
init_providers();
|
|
9
|
+
/** Reconstruct tools from current configuration, intersected with the original delegation grant. */
|
|
10
|
+
async function resumeChildRun(parentConversationId, id, text, config) {
|
|
11
|
+
const view = getChildRun(parentConversationId, id);
|
|
12
|
+
if (view.status === "running") throw new Error("Child is already running; use steer.");
|
|
13
|
+
if (!view.workspace || !view.modelRef || !view.allowedTools || !text.trim() || text.length > 32e3) throw new Error("Child has no resumable context or invalid input.");
|
|
14
|
+
const policy = getSessionInteractionPolicy(parentConversationId);
|
|
15
|
+
if (policy.mode === "plan" || policy.access === "read-only") throw new Error("Switch out of Plan and read-only modes before resuming delegated work.");
|
|
16
|
+
const [{ createDelegateChildHandle }, { AgentToolsFactory }, { InMemoryTranscriptRuntime }, { protectDelegatedTool }] = await Promise.all([
|
|
17
|
+
import("../child-agent-factory.js"),
|
|
18
|
+
import("../tools/factory.js"),
|
|
19
|
+
import("../embedded/transcript-runtime.js"),
|
|
20
|
+
import("../tools/delegation-policy.js")
|
|
21
|
+
]);
|
|
22
|
+
if (getChildRun(parentConversationId, id).status === "running") throw new Error("Child is already running.");
|
|
23
|
+
const model = resolveModel(view.modelRef);
|
|
24
|
+
const bus = new MessageBus();
|
|
25
|
+
const profile = view.agentId ? resolveEffectiveAgentProfile(view.agentId) : resolveEffectiveAgentProfileForSession(parentConversationId);
|
|
26
|
+
const runtime = new InMemoryTranscriptRuntime({
|
|
27
|
+
runtimeId: id,
|
|
28
|
+
cwd: view.workspace,
|
|
29
|
+
initialMessages: getChildRunMessages(parentConversationId, id)
|
|
30
|
+
});
|
|
31
|
+
const child = createDelegateChildHandle({
|
|
32
|
+
workspace: view.workspace,
|
|
33
|
+
goal: text,
|
|
34
|
+
context: view.task,
|
|
35
|
+
requesterConversationId: parentConversationId,
|
|
36
|
+
conversationId: id,
|
|
37
|
+
transcriptRuntime: runtime,
|
|
38
|
+
allowedToolNames: view.allowedTools,
|
|
39
|
+
maxIterations: view.maxIterations ?? 30,
|
|
40
|
+
model,
|
|
41
|
+
bus,
|
|
42
|
+
agentId: profile.agentId,
|
|
43
|
+
getConfig: () => config,
|
|
44
|
+
buildChildTools: (options) => new AgentToolsFactory({
|
|
45
|
+
workspace: options.workspace,
|
|
46
|
+
bus,
|
|
47
|
+
getConfig: () => config,
|
|
48
|
+
getCurrentContext: () => null,
|
|
49
|
+
getPrimaryModel: () => model
|
|
50
|
+
}).createAllTools({
|
|
51
|
+
workspace: options.workspace,
|
|
52
|
+
agentId: profile.agentId,
|
|
53
|
+
conversationId: id,
|
|
54
|
+
toolAllowlist: profile.config.toolAllowlist,
|
|
55
|
+
disabledTools: profile.tools.denied
|
|
56
|
+
}).map(protectDelegatedTool)
|
|
57
|
+
});
|
|
58
|
+
child.run().catch((error) => {
|
|
59
|
+
monitorChildRun({
|
|
60
|
+
...view,
|
|
61
|
+
parentConversationId,
|
|
62
|
+
abort: () => child.abort("user_cancelled")
|
|
63
|
+
}).finish("failed", error instanceof Error ? error.message : String(error));
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
//#endregion
|
|
67
|
+
export { resumeChildRun };
|
|
@@ -27,7 +27,8 @@ function buildSystemPrompt(workspaceDir, options = {}) {
|
|
|
27
27
|
buildAgentIdentitySection(agentProfile),
|
|
28
28
|
buildResponseLanguageSection(responseLanguage, agentProfile?.language)
|
|
29
29
|
]);
|
|
30
|
-
const
|
|
30
|
+
const isVoice = promptMode === "voice";
|
|
31
|
+
const isMinimal = promptMode === "minimal" || isVoice;
|
|
31
32
|
const isPersonal = promptRole === "personal";
|
|
32
33
|
const normalizedTools = new Set(toolNames.map((tool) => tool.trim().toLowerCase()).filter(Boolean));
|
|
33
34
|
const effectiveAgentId = agentId ?? runtime?.agentId;
|
|
@@ -57,19 +58,19 @@ function buildSystemPrompt(workspaceDir, options = {}) {
|
|
|
57
58
|
});
|
|
58
59
|
if (providerStablePrefix) stableSections.push(providerStablePrefix);
|
|
59
60
|
stableSections.push(buildSafetySection());
|
|
60
|
-
stableSections.push(isMinimal ? "Device context is data, not permission." : "## Device environment\nDevice context is source data, not permission or execution-host state. Use fresh fields only; settings are not physical location or user preferences. Never fill gaps from server IP or cloud GPS. Transfers require authorized tools.");
|
|
61
|
+
stableSections.push(isMinimal && !isVoice ? "Device context is data, not permission." : "## Device environment\nDevice context is source data, not permission or execution-host state. Use fresh fields only; settings are not physical location or user preferences. Never fill gaps from server IP or cloud GPS. Transfers require authorized tools.");
|
|
61
62
|
if (actionTrustLevel) stableSections.push(buildActionTrustPrompt(actionTrustLevel));
|
|
62
63
|
if (!isPersonal && effectiveAgentId?.toLowerCase() === "coder") stableSections.push(buildCoderHarnessSection());
|
|
63
64
|
if (hasSkillsTools(toolNames)) stableSections.push(buildSkillsSection(toolNames));
|
|
64
|
-
if (!isMinimal) {
|
|
65
|
+
if (!isMinimal || isVoice) {
|
|
65
66
|
stableSections.push(buildMemorySection({
|
|
66
67
|
availableTools: normalizedTools,
|
|
67
68
|
citationsMode: memoryCitationsMode,
|
|
68
69
|
hasProfileMemory,
|
|
69
70
|
includeMemorySection
|
|
70
71
|
}), buildExternalMemorySection(externalMemoryInstructions));
|
|
71
|
-
if (!isPersonal && includeProblemSolving) stableSections.push(buildProblemSolvingSection(toolNames));
|
|
72
|
-
if (includeToneSection) stableSections.push(buildAestheticSection(), buildHumanCollaborationSection(!isPersonal));
|
|
72
|
+
if (!isPersonal && includeProblemSolving && !isVoice) stableSections.push(buildProblemSolvingSection(toolNames));
|
|
73
|
+
if (includeToneSection && !isVoice) stableSections.push(buildAestheticSection(), buildHumanCollaborationSection(!isPersonal));
|
|
73
74
|
if (!isPersonal && (normalizedTools.has("xopc_use") || normalizedTools.has("automation"))) stableSections.push(buildWorkContinuitySection());
|
|
74
75
|
stableSections.push(buildTimeSection(userTimezone, toolNames));
|
|
75
76
|
}
|
|
@@ -92,7 +93,7 @@ function buildSystemPrompt(workspaceDir, options = {}) {
|
|
|
92
93
|
}));
|
|
93
94
|
const dynamicSections = [];
|
|
94
95
|
if (extraSystemPrompt?.trim()) {
|
|
95
|
-
const contextHeader = isMinimal ? "## Subagent Context" : "## Group Chat Context";
|
|
96
|
+
const contextHeader = isVoice ? "## Conversation Context" : isMinimal ? "## Subagent Context" : "## Group Chat Context";
|
|
96
97
|
dynamicSections.push(`${contextHeader}\n\n${extraSystemPrompt.trim()}`);
|
|
97
98
|
}
|
|
98
99
|
if (activeProjectContext?.trim()) dynamicSections.push(activeProjectContext.trim());
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* - "full": All sections (default, for main agent)
|
|
5
5
|
* - "minimal": Reduced sections (subagents, automations)
|
|
6
|
+
* - "voice": Spoken interaction with identity, trust, memory and coordination retained
|
|
6
7
|
* - "none": Just basic identity line, no sections
|
|
7
8
|
*/
|
|
8
|
-
export type PromptMode = 'full' | 'minimal' | 'none';
|
|
9
|
+
export type PromptMode = 'full' | 'minimal' | 'voice' | 'none';
|
|
9
10
|
/** Runtime responsibility, independent of prompt verbosity or the Agent's name. */
|
|
10
11
|
export type PromptRole = 'personal' | 'executor';
|
|
11
12
|
/** Controls the generic silent-reply section. Channel-aware callers can set "none". */
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Ephemeral request projection; complete user turns and current tool execution stay intact. */
|
|
2
|
+
export declare function projectVoiceHistory<T extends {
|
|
3
|
+
role: string;
|
|
4
|
+
timestamp?: number;
|
|
5
|
+
}>(messages: readonly T[], historyTokens: number, currentUserTimestamp?: number): {
|
|
6
|
+
messages: T[];
|
|
7
|
+
omittedMessages: number;
|
|
8
|
+
};
|
|
9
|
+
export declare const voiceHistoryNotice = "This live voice request includes recent complete turns and the entire current execution. Earlier conversation is still stored, but is not all in this request. Use the available conversation recall/search tools for missing past details. Do not guess earlier facts or treat omitted history as deleted.";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { estimateMessageTokens, estimateTextTokens } from "../memory/context-budget.js";
|
|
2
|
+
//#region src/agent/prompt/voice-history.ts
|
|
3
|
+
/** Ephemeral request projection; complete user turns and current tool execution stay intact. */
|
|
4
|
+
function projectVoiceHistory(messages, historyTokens, currentUserTimestamp) {
|
|
5
|
+
const userIndexes = messages.flatMap((message, index) => message.role === "user" ? [index] : []);
|
|
6
|
+
if (!userIndexes.length) return {
|
|
7
|
+
messages: [...messages],
|
|
8
|
+
omittedMessages: 0
|
|
9
|
+
};
|
|
10
|
+
const protectedFrom = (currentUserTimestamp === void 0 ? void 0 : userIndexes.find((index) => messages[index].timestamp === currentUserTimestamp)) ?? userIndexes.at(-1);
|
|
11
|
+
let start = protectedFrom;
|
|
12
|
+
const cost = (message) => message.role === "system" ? 0 : message.role === "compactionSummary" || message.role === "branchSummary" ? estimateTextTokens(JSON.stringify(message)) + 12 : estimateMessageTokens(message);
|
|
13
|
+
let used = messages.slice(start).reduce((sum, message) => sum + cost(message), 0);
|
|
14
|
+
for (let i = userIndexes.indexOf(protectedFrom) - 1; i >= 0; i--) {
|
|
15
|
+
const candidate = userIndexes[i];
|
|
16
|
+
const tokens = messages.slice(candidate, start).reduce((sum, message) => sum + cost(message), 0);
|
|
17
|
+
if (used + tokens > historyTokens) break;
|
|
18
|
+
start = candidate;
|
|
19
|
+
used += tokens;
|
|
20
|
+
}
|
|
21
|
+
if (used + messages.slice(0, start).reduce((sum, message) => sum + cost(message), 0) <= historyTokens) return {
|
|
22
|
+
messages: [...messages],
|
|
23
|
+
omittedMessages: 0
|
|
24
|
+
};
|
|
25
|
+
const summary = messages.slice(0, start).findLast((message) => message.role === "compactionSummary" || message.role === "branchSummary");
|
|
26
|
+
const retainSummary = summary && used + cost(summary) <= historyTokens;
|
|
27
|
+
const projected = messages.filter((message, index) => index >= start || message.role === "system" || retainSummary && message === summary);
|
|
28
|
+
return {
|
|
29
|
+
messages: projected,
|
|
30
|
+
omittedMessages: messages.length - projected.length
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
const voiceHistoryNotice = "This live voice request includes recent complete turns and the entire current execution. Earlier conversation is still stored, but is not all in this request. Use the available conversation recall/search tools for missing past details. Do not guess earlier facts or treat omitted history as deleted.";
|
|
34
|
+
//#endregion
|
|
35
|
+
export { projectVoiceHistory, voiceHistoryNotice };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Per-turn presentation only; never persisted as a user message or Agent identity. */
|
|
2
|
-
export declare const voicePresentationPrompt = "This turn is a live voice conversation in the same Chat.\nLead with the useful answer. Prefer one to three natural spoken sentences unless the user asks for detail.\nAllow silence. Do not repeatedly greet, recap unrelated old tasks, or end every reply with a question.\nFor work, briefly say what you are doing, use the available tools, then report the actual result.\nKeep code, long URLs, tables and detailed reference material in Chat; introduce them with a short spoken explanation.\nDo not imply a task continues in the background unless an existing task actually started it.\nAsk ordinary follow-up questions directly in speech, then let the user answer in the next turn; do not use a blocking clarification form. Keep formal action approvals in the existing approval mechanism. A background sound or ambiguous interjection is not permission for an action.\nStopping speech does not undo a completed tool action. State consequential results accurately.";
|
|
2
|
+
export declare const voicePresentationPrompt = "This turn is a live voice conversation in the same Chat.\nLead with the useful answer. Prefer one to three natural spoken sentences unless the user asks for detail.\nMake the first clause short and meaningful, with an early natural pause. Start with the answer or the specific action, not a generic acknowledgement. Do not expose hidden reasoning in speech.\nAllow silence. Do not repeatedly greet, recap unrelated old tasks, or end every reply with a question.\nFor work, briefly say what you are doing, use the available tools, then report the actual result.\nKeep code, long URLs, tables and detailed reference material in Chat; introduce them with a short spoken explanation.\nDo not imply a task continues in the background unless an existing task actually started it.\nAsk ordinary follow-up questions directly in speech, then let the user answer in the next turn; do not use a blocking clarification form. Keep formal action approvals in the existing approval mechanism. A background sound or ambiguous interjection is not permission for an action.\nStopping speech does not undo a completed tool action. State consequential results accurately.";
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/** Per-turn presentation only; never persisted as a user message or Agent identity. */
|
|
3
3
|
const voicePresentationPrompt = `This turn is a live voice conversation in the same Chat.
|
|
4
4
|
Lead with the useful answer. Prefer one to three natural spoken sentences unless the user asks for detail.
|
|
5
|
+
Make the first clause short and meaningful, with an early natural pause. Start with the answer or the specific action, not a generic acknowledgement. Do not expose hidden reasoning in speech.
|
|
5
6
|
Allow silence. Do not repeatedly greet, recap unrelated old tasks, or end every reply with a question.
|
|
6
7
|
For work, briefly say what you are doing, use the available tools, then report the actual result.
|
|
7
8
|
Keep code, long URLs, tables and detailed reference material in Chat; introduce them with a short spoken explanation.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type NativeCommandSandbox = {
|
|
2
|
+
access: 'read-only' | 'workspace-write';
|
|
3
|
+
network: boolean;
|
|
4
|
+
workspace: string;
|
|
5
|
+
};
|
|
6
|
+
/** The selected OS boundary must be available; execution never falls back to an unrestricted host. */
|
|
7
|
+
export declare function sandboxCommand(launch: {
|
|
8
|
+
executable: string;
|
|
9
|
+
args: string[];
|
|
10
|
+
shell: boolean;
|
|
11
|
+
}, sandbox: NativeCommandSandbox): Promise<{
|
|
12
|
+
executable: string;
|
|
13
|
+
args: string[];
|
|
14
|
+
shell: boolean;
|
|
15
|
+
}>;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { tmpdir } from "node:os";
|
|
2
|
+
import { delimiter } from "node:path";
|
|
3
|
+
import { access, realpath } from "node:fs/promises";
|
|
4
|
+
//#region src/agent/sandbox/native-command.ts
|
|
5
|
+
/** The selected OS boundary must be available; execution never falls back to an unrestricted host. */
|
|
6
|
+
async function sandboxCommand(launch, sandbox) {
|
|
7
|
+
const workspace = await realpath(sandbox.workspace);
|
|
8
|
+
const program = launch.shell ? "/bin/sh" : launch.executable;
|
|
9
|
+
const args = launch.shell ? ["-c", launch.executable] : launch.args;
|
|
10
|
+
if (process.platform === "darwin") {
|
|
11
|
+
await access("/usr/bin/sandbox-exec");
|
|
12
|
+
return {
|
|
13
|
+
executable: "/usr/bin/sandbox-exec",
|
|
14
|
+
args: [
|
|
15
|
+
"-p",
|
|
16
|
+
`(version 1) (allow default) (deny file-write*) ${(sandbox.access === "workspace-write" ? [workspace, await realpath(tmpdir())] : []).map((path) => `(allow file-write* (subpath ${JSON.stringify(path)}))`).join(" ")} ${sandbox.network ? "" : "(deny network*)"}`,
|
|
17
|
+
program,
|
|
18
|
+
...args
|
|
19
|
+
],
|
|
20
|
+
shell: false
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
if (process.platform === "linux") {
|
|
24
|
+
const candidates = (process.env.PATH ?? "/usr/bin:/bin").split(delimiter).map((path) => `${path}/bwrap`);
|
|
25
|
+
let bwrap;
|
|
26
|
+
for (const path of candidates) try {
|
|
27
|
+
await access(path);
|
|
28
|
+
bwrap = path;
|
|
29
|
+
break;
|
|
30
|
+
} catch {}
|
|
31
|
+
if (!bwrap) throw new Error("OS sandbox requires bubblewrap (bwrap) on Linux. Install it before selecting sandboxed execution.");
|
|
32
|
+
return {
|
|
33
|
+
executable: bwrap,
|
|
34
|
+
shell: false,
|
|
35
|
+
args: [
|
|
36
|
+
"--die-with-parent",
|
|
37
|
+
"--new-session",
|
|
38
|
+
"--unshare-pid",
|
|
39
|
+
"--unshare-uts",
|
|
40
|
+
"--unshare-ipc",
|
|
41
|
+
...sandbox.network ? [] : ["--unshare-net"],
|
|
42
|
+
"--ro-bind",
|
|
43
|
+
"/",
|
|
44
|
+
"/",
|
|
45
|
+
"--dev",
|
|
46
|
+
"/dev",
|
|
47
|
+
"--proc",
|
|
48
|
+
"/proc",
|
|
49
|
+
...sandbox.access === "workspace-write" ? [
|
|
50
|
+
"--bind",
|
|
51
|
+
workspace,
|
|
52
|
+
workspace,
|
|
53
|
+
"--tmpfs",
|
|
54
|
+
"/tmp"
|
|
55
|
+
] : [],
|
|
56
|
+
"--",
|
|
57
|
+
program,
|
|
58
|
+
...args
|
|
59
|
+
]
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
throw new Error(`Native OS sandbox is unavailable on ${process.platform}. Choose an available execution environment explicitly.`);
|
|
63
|
+
}
|
|
64
|
+
//#endregion
|
|
65
|
+
export { sandboxCommand };
|
|
@@ -13,6 +13,7 @@ export declare function runBtwQuery(opts: {
|
|
|
13
13
|
maxTokens?: number;
|
|
14
14
|
temperature?: number;
|
|
15
15
|
includeSessionContext?: boolean;
|
|
16
|
+
signal?: AbortSignal;
|
|
16
17
|
onTextDelta?: (delta: string) => void | Promise<void>;
|
|
17
18
|
credentialOptions?: CredentialResolverOptions;
|
|
18
19
|
}): Promise<{
|
|
@@ -102,7 +102,7 @@ async function runBtwQuery(opts) {
|
|
|
102
102
|
const modelMaxTokens = typeof model.maxTokens === "number" && Number.isFinite(model.maxTokens) ? Math.max(1, Math.trunc(model.maxTokens)) : void 0;
|
|
103
103
|
const modelCallOptions = {
|
|
104
104
|
maxTokens: modelMaxTokens ? Math.min(requestedMaxTokens, modelMaxTokens) : requestedMaxTokens,
|
|
105
|
-
signal: controller.signal,
|
|
105
|
+
signal: opts.signal ? AbortSignal.any([controller.signal, opts.signal]) : controller.signal,
|
|
106
106
|
apiKey,
|
|
107
107
|
...opts.temperature !== void 0 ? { temperature: opts.temperature } : {}
|
|
108
108
|
};
|
|
@@ -2,11 +2,11 @@ import { init_injector, injectSourceContextsIntoUserMessage } from "../source-co
|
|
|
2
2
|
import { getConnectionResumeInput, init_connection_wait_repository } from "../../storage/sqlite/connection-wait-repository.js";
|
|
3
3
|
import { getClarificationResumeInput } from "../../storage/sqlite/clarification-wait-repository.js";
|
|
4
4
|
import { isPersonalConversation } from "../../personal-agent/repository.js";
|
|
5
|
+
import { resolveImageHandlingStrategy } from "../image/vision-detection.js";
|
|
6
|
+
import { hydrateUserTurnForLlm } from "../inbound/attachment-pipeline.js";
|
|
5
7
|
import { phoneResumeForRun } from "../../phone/assistance.js";
|
|
6
8
|
import { buildDelegatedTaskDirective, buildTaskExecutionDirective } from "../../tasks/task-context-assembler.js";
|
|
7
9
|
import { getMcpSetupResumeInput } from "../mcp/continuation-input.js";
|
|
8
|
-
import { resolveImageHandlingStrategy } from "../image/vision-detection.js";
|
|
9
|
-
import { hydrateUserTurnForLlm } from "../inbound/attachment-pipeline.js";
|
|
10
10
|
import { shouldSkipResetOverlapCommand } from "../../session/reset-triggers.js";
|
|
11
11
|
import { parseSlashCommand } from "../../chat-commands/command-parse.js";
|
|
12
12
|
import { personalCommandRejection } from "../../chat-commands/personal-command-policy.js";
|
|
@@ -9,12 +9,12 @@ import { getClarificationResumeInput } from "../../storage/sqlite/clarification-
|
|
|
9
9
|
import { init_agent_scope, resolveDefaultAgentId } from "../agent-scope.js";
|
|
10
10
|
import { init_model_usage, modelUsageOriginFromTurn, withModelUsageOrigin } from "../../providers/model-usage.js";
|
|
11
11
|
import { init_agent_session_key, resolveAgentMainConversationId } from "../../routing/agent-session-key.js";
|
|
12
|
+
import { clearPendingTranscriptUserMessage, setPendingTranscriptUserMessage } from "../inbound/attachment-pipeline.js";
|
|
13
|
+
import { abortEmbeddedRun } from "../embedded/runs.js";
|
|
12
14
|
import { phoneResumeForRun } from "../../phone/assistance.js";
|
|
13
15
|
import { mergeSttConfigFromAppConfig } from "../../voice/stt/config.js";
|
|
14
16
|
import "../../voice/stt/index.js";
|
|
15
17
|
import { getMcpSetupResumeInput } from "../mcp/continuation-input.js";
|
|
16
|
-
import { clearPendingTranscriptUserMessage, setPendingTranscriptUserMessage } from "../inbound/attachment-pipeline.js";
|
|
17
|
-
import { abortEmbeddedRun } from "../embedded/runs.js";
|
|
18
18
|
import { formatAgentRunErrorForClient } from "../client-error-format.js";
|
|
19
19
|
import { resolveConfiguredActivityDetailDefault, resolveEffectiveReasoningLevel } from "../../session/thinking-resolve.js";
|
|
20
20
|
import { initSessionTurn } from "../../session/init-session-turn.js";
|
|
@@ -13,16 +13,16 @@ import { resolveAgentTurnTimeoutMs } from "./orchestration/run-agent-turn-with-t
|
|
|
13
13
|
import { applyConfigOverrides } from "../config/runtime-overrides.js";
|
|
14
14
|
import { effectiveWorkspacePathForSession } from "../session/session-workspace.js";
|
|
15
15
|
import { getProjectForSession } from "../projects/workspace.js";
|
|
16
|
-
import "../user-model/index.js";
|
|
17
16
|
import { onSessionTranscriptUpdate } from "../session/transcript-events.js";
|
|
17
|
+
import { persistInboundAttachments } from "../channels/attachments/inbound-persist.js";
|
|
18
|
+
import { buildTranscriptUserMessage, hydrateUserTurnForLlm } from "./inbound/attachment-pipeline.js";
|
|
18
19
|
import { runWithEmbeddedExecutionSession } from "./embedded/execution-context.js";
|
|
19
20
|
import { removeSkillsLockEntry } from "./skills/hub-lock.js";
|
|
20
21
|
import { installSkillFromZip } from "./skills/managed-store.js";
|
|
22
|
+
import "../user-model/index.js";
|
|
21
23
|
import { resolveWorkspaceSkillsDir, resolveWorkspaceSkillsLockPath } from "./skills/workspace-skills-dir.js";
|
|
22
24
|
import { pullSkillFromSource } from "./skills/hub-pull.js";
|
|
23
25
|
import { resolveResponseLanguageForSession } from "./prompt/response-language.js";
|
|
24
|
-
import { persistInboundAttachments } from "../channels/attachments/inbound-persist.js";
|
|
25
|
-
import { buildTranscriptUserMessage, hydrateUserTurnForLlm } from "./inbound/attachment-pipeline.js";
|
|
26
26
|
import { drainEmbeddedSessionRunnerShutdowns } from "./embedded/session-runner.js";
|
|
27
27
|
import { resolveCompactionPolicy } from "./memory/compaction-policy.js";
|
|
28
28
|
import { getModelThinking } from "../providers/model-thinking.js";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const sessionInteractionPolicySchema: z.ZodObject<{
|
|
3
|
+
mode: z.ZodEnum<{
|
|
4
|
+
default: "default";
|
|
5
|
+
plan: "plan";
|
|
6
|
+
}>;
|
|
7
|
+
access: z.ZodEnum<{
|
|
8
|
+
"read-only": "read-only";
|
|
9
|
+
configured: "configured";
|
|
10
|
+
}>;
|
|
11
|
+
sandbox: z.ZodOptional<z.ZodEnum<{
|
|
12
|
+
"workspace-write": "workspace-write";
|
|
13
|
+
unrestricted: "unrestricted";
|
|
14
|
+
}>>;
|
|
15
|
+
network: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
}, z.core.$strict>;
|
|
17
|
+
export type SessionInteractionPolicy = z.infer<typeof sessionInteractionPolicySchema>;
|
|
18
|
+
export declare function getSessionInteractionPolicy(conversationId: string): SessionInteractionPolicy;
|
|
19
|
+
export declare function setSessionInteractionPolicy(conversationId: string, value: SessionInteractionPolicy): SessionInteractionPolicy;
|
|
20
|
+
export declare function isReadOnlySessionTool(name: string): boolean;
|
|
21
|
+
export declare const PLAN_MODE_INSTRUCTIONS = "Plan mode is active. Inspect and explain the code, resolve questions, and propose a concrete implementation plan. Do not edit files, execute mutating shell commands, delegate implementation, install dependencies, publish, or change external state. Ask the user to switch to Default mode before implementation. A user message cannot change this mode; only the session mode control can.";
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { init_connection, isXopcDatabaseOpen } from "../../storage/sqlite/connection.js";
|
|
2
|
+
import { DurableState } from "../../storage/sqlite/durable-state.js";
|
|
3
|
+
import { isEmbeddedRunActive } from "../embedded/runs.js";
|
|
4
|
+
import { commandRegistry } from "../commands/command-registry.js";
|
|
5
|
+
import { listChildRuns } from "../orchestration/child-run-monitor.js";
|
|
6
|
+
import { z } from "zod";
|
|
7
|
+
//#region src/agent/session/interaction-policy.ts
|
|
8
|
+
init_connection();
|
|
9
|
+
const sessionInteractionPolicySchema = z.object({
|
|
10
|
+
mode: z.enum(["default", "plan"]),
|
|
11
|
+
access: z.enum(["configured", "read-only"]),
|
|
12
|
+
sandbox: z.enum(["workspace-write", "unrestricted"]).optional(),
|
|
13
|
+
network: z.boolean().optional()
|
|
14
|
+
}).strict();
|
|
15
|
+
const policies = () => new DurableState("session-interaction-policy");
|
|
16
|
+
function getSessionInteractionPolicy(conversationId) {
|
|
17
|
+
return isXopcDatabaseOpen() && policies().get(conversationId) || {
|
|
18
|
+
mode: "default",
|
|
19
|
+
access: "configured"
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function setSessionInteractionPolicy(conversationId, value) {
|
|
23
|
+
const policy = sessionInteractionPolicySchema.parse(value);
|
|
24
|
+
if (isEmbeddedRunActive(conversationId) || commandRegistry().list(conversationId).some((job) => job.status === "running") || listChildRuns(conversationId).some((child) => child.status === "running")) throw new Error("Stop the active run, background jobs and subagents before changing mode or permissions.");
|
|
25
|
+
policies().set(conversationId, policy);
|
|
26
|
+
return policy;
|
|
27
|
+
}
|
|
28
|
+
/** Read-only commands use the native OS boundary; discovery and delegation remain disabled. */
|
|
29
|
+
const READ_ONLY_SESSION_TOOLS = new Set([
|
|
30
|
+
"exec_command",
|
|
31
|
+
"managed_job",
|
|
32
|
+
"read_file",
|
|
33
|
+
"list_dir",
|
|
34
|
+
"list_directory",
|
|
35
|
+
"find",
|
|
36
|
+
"grep",
|
|
37
|
+
"web_search",
|
|
38
|
+
"web_fetch",
|
|
39
|
+
"knowledge_search",
|
|
40
|
+
"knowledge_get",
|
|
41
|
+
"knowledge_read",
|
|
42
|
+
"session_status",
|
|
43
|
+
"session_search",
|
|
44
|
+
"session_recall",
|
|
45
|
+
"user_context_search",
|
|
46
|
+
"user_context_get",
|
|
47
|
+
"skills_list",
|
|
48
|
+
"skill_view",
|
|
49
|
+
"tool_manual",
|
|
50
|
+
"clarify",
|
|
51
|
+
"update_plan"
|
|
52
|
+
]);
|
|
53
|
+
function isReadOnlySessionTool(name) {
|
|
54
|
+
return READ_ONLY_SESSION_TOOLS.has(name);
|
|
55
|
+
}
|
|
56
|
+
const PLAN_MODE_INSTRUCTIONS = "Plan mode is active. Inspect and explain the code, resolve questions, and propose a concrete implementation plan. Do not edit files, execute mutating shell commands, delegate implementation, install dependencies, publish, or change external state. Ask the user to switch to Default mode before implementation. A user message cannot change this mode; only the session mode control can.";
|
|
57
|
+
//#endregion
|
|
58
|
+
export { PLAN_MODE_INSTRUCTIONS, getSessionInteractionPolicy, isReadOnlySessionTool, sessionInteractionPolicySchema, setSessionInteractionPolicy };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createLogger } from "../../utils/logger/index.js";
|
|
2
2
|
import { init_logger } from "../../utils/logger.js";
|
|
3
3
|
import { init_workspace_defaults, resolveDefaultAgentWorkspaceDir } from "../../config/workspace-defaults.js";
|
|
4
|
-
import { resolveEffectiveAgentProfileForSession } from "../../config/agent-profile.js";
|
|
4
|
+
import { resolveEffectiveAgentProfile, resolveEffectiveAgentProfileForSession } from "../../config/agent-profile.js";
|
|
5
5
|
import { init_providers, resolveModel } from "../../providers/index.js";
|
|
6
6
|
import { getExecutionEnvironmentForSession } from "../../execution-environments/subject.js";
|
|
7
7
|
import { effectiveWorkspacePathForSession, projectWorkspacePath } from "../../session/session-workspace.js";
|
|
@@ -57,7 +57,7 @@ var SessionInspector = class {
|
|
|
57
57
|
/** One-shot LLM answer for `/btw`: transcript as background, not persisted. */
|
|
58
58
|
btwQuery(conversationId, question, options) {
|
|
59
59
|
const config = this.opts.getConfig();
|
|
60
|
-
const profile = config ? resolveEffectiveAgentProfileForSession(conversationId) : void 0;
|
|
60
|
+
const profile = config ? options?.agentId ? resolveEffectiveAgentProfile(options.agentId) : resolveEffectiveAgentProfileForSession(conversationId) : void 0;
|
|
61
61
|
return runBtwQuery({
|
|
62
62
|
conversationId,
|
|
63
63
|
question,
|
|
@@ -68,6 +68,7 @@ var SessionInspector = class {
|
|
|
68
68
|
temperature: options?.temperature,
|
|
69
69
|
includeSessionContext: options?.includeSessionContext,
|
|
70
70
|
onTextDelta: options?.onTextDelta,
|
|
71
|
+
signal: options?.signal,
|
|
71
72
|
credentialOptions: profile && config ? {
|
|
72
73
|
agentId: profile.agentId,
|
|
73
74
|
appConfig: config
|
|
@@ -10,8 +10,8 @@ import { extractAssistantText, getAssistantMessageErrorReason, isTransientProvid
|
|
|
10
10
|
import { canResumeAfterModelFailure } from "../orchestration/turn-recovery.js";
|
|
11
11
|
import { resolveTaskLocale } from "../../tasks/task-language.js";
|
|
12
12
|
import { TaskConversationRepository } from "../../tasks/task-conversation-repository.js";
|
|
13
|
-
import { readWorkspaceRevision } from "../coding/workspace-revision.js";
|
|
14
13
|
import { TaskCollaborationRepository } from "../../tasks/task-collaboration-repository.js";
|
|
14
|
+
import { readWorkspaceRevision } from "../coding/workspace-revision.js";
|
|
15
15
|
import { TaskApplicationService } from "../../tasks/task-application-service.js";
|
|
16
16
|
import { resolveResponseLanguageForSession } from "../prompt/response-language.js";
|
|
17
17
|
import { currentTaskResearchResult } from "../../tasks/task-research-result.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { turnOutcomeKindFromFileName } 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";
|
|
3
4
|
import { resolveReverseProxyPublicUrl } from "../../gateway/public-url.js";
|
|
4
5
|
import { assertWorkspaceTreeReadable, checkedFilePath } from "../sandbox/fileAccess.js";
|
|
5
|
-
import { resolvePathUnderWorkspace } from "./tool-paths.js";
|
|
6
6
|
import { resolveGatewayEffectiveHost } from "../../config/gateway-bind.js";
|
|
7
7
|
import { resolveShareConfig } from "../../share/share-config.js";
|
|
8
8
|
import { mergeWithDefaults } from "../../share/site-share-config.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { runProcess } from "../../process/run-process.js";
|
|
2
2
|
import { readWorkspaceRevision } from "../coding/workspace-revision.js";
|
|
3
3
|
import { commandRegistry, commandTimeout } from "../commands/command-registry.js";
|
|
4
|
+
import { getSessionInteractionPolicy } from "../session/interaction-policy.js";
|
|
4
5
|
import { evaluateExecPolicy } from "../sandbox/exec-policy.js";
|
|
5
6
|
import { formatSize, truncateTail } from "./truncate.js";
|
|
6
7
|
import { publishArtifactPaths } from "./publish-artifacts.js";
|
|
@@ -11,6 +12,7 @@ import { Type } from "@sinclair/typebox";
|
|
|
11
12
|
const DEFAULT_MAX_OUTPUT_CHARS = 5e4;
|
|
12
13
|
const ExecCommandSchema = Type.Object({
|
|
13
14
|
cmd: Type.String({ description: "Command for the default platform shell: /bin/sh on Unix and in Docker; cmd.exe on Windows hosts. Commands start in the workspace; use cwd instead of cd. For verification, invoke the existing test runner directly without shell chains, pipes, or output filters so its exit status and evidence remain unambiguous. Use maxOutputChars to limit output." }),
|
|
15
|
+
tty: Type.Optional(Type.Boolean({ description: "Allocate a terminal for interactive programs. Use managed_job stdin/resize and TUI /terminal to interact." })),
|
|
14
16
|
cwd: Type.Optional(Type.String({ description: "Working directory. Relative paths are resolved under the agent workspace." })),
|
|
15
17
|
timeoutMs: Type.Optional(Type.Number({ description: "Command timeout in milliseconds. Defaults to 1800000 (30m) and is capped at 14400000 (4h)." })),
|
|
16
18
|
maxOutputChars: Type.Optional(Type.Number({ description: "Maximum characters returned to the model. UI streaming still receives output deltas." })),
|
|
@@ -73,6 +75,8 @@ function createExecCommandTool(workspaceCwd, options) {
|
|
|
73
75
|
idempotent: false,
|
|
74
76
|
finalGuardRelevant: true,
|
|
75
77
|
async execute(toolCallId, params, signal, onUpdate) {
|
|
78
|
+
const interaction = getSessionInteractionPolicy(options?.getConversationId?.() ?? workspaceCwd);
|
|
79
|
+
if ((interaction.mode === "plan" || interaction.access === "read-only") && (params.outputs?.length || params.reuseVerification)) throw new Error("Artifact publishing is disabled in Plan and read-only modes.");
|
|
76
80
|
const command = (params.cmd ?? "").trim();
|
|
77
81
|
if (params.yieldTimeMs !== void 0 && params.outputs?.length) throw new Error("yieldTimeMs cannot be combined with outputs; publish files after the job completes.");
|
|
78
82
|
if (!command) return {
|
|
@@ -212,6 +216,7 @@ function createExecCommandTool(workspaceCwd, options) {
|
|
|
212
216
|
let commandResult = await registry.start({
|
|
213
217
|
workspace: workspaceCwd,
|
|
214
218
|
isolation,
|
|
219
|
+
tty: params.tty,
|
|
215
220
|
owner,
|
|
216
221
|
command,
|
|
217
222
|
cwd: policy.effectiveCwd,
|
|
@@ -13,8 +13,9 @@ import { getConversationRouting } from "../../storage/sqlite/conversation-reposi
|
|
|
13
13
|
import { init_session_key } from "../../routing/session-key.js";
|
|
14
14
|
import { resolveUserContextSessionAccess } from "../../user-context/access-policy.js";
|
|
15
15
|
import { resolveEffectiveAgentConfigForAgent } from "../../config/agent-profile.js";
|
|
16
|
-
import { PERSONAL_TOOL_DESCRIPTIONS } from "../../personal-agent/policy.js";
|
|
17
16
|
import { TaskConversationRepository } from "../../tasks/task-conversation-repository.js";
|
|
17
|
+
import { getActiveTranscriptUserText, getPendingTranscriptUserText } from "../inbound/attachment-pipeline.js";
|
|
18
|
+
import { PERSONAL_TOOL_DESCRIPTIONS } from "../../personal-agent/policy.js";
|
|
18
19
|
import { PERSONAL_REQUEST_TOOL_IDS, TASK_EXECUTION_TOOL_IDS, filterExecutionTools, resolveExecutionToolPolicy } from "../embedded/execution-tool-policy.js";
|
|
19
20
|
import { getPhoneRuntime, phoneExecutionContext } from "../../phone/runtime.js";
|
|
20
21
|
import { getEmbeddedExecutionRunId, getEmbeddedExecutionSession } from "../embedded/execution-context.js";
|
|
@@ -59,7 +60,6 @@ import { BrowserRuntime } from "../../browser/runtime/browser-runtime.js";
|
|
|
59
60
|
import { createBrowserDriver } from "../../browser/drivers/create-driver.js";
|
|
60
61
|
import { checkBrowserReadiness } from "../../browser/readiness.js";
|
|
61
62
|
import "../../browser/index.js";
|
|
62
|
-
import { getActiveTranscriptUserText, getPendingTranscriptUserText } from "../inbound/attachment-pipeline.js";
|
|
63
63
|
import { createDelegateTool } from "./delegate-tool.js";
|
|
64
64
|
import { createAutomationTool } from "./automation-tool.js";
|
|
65
65
|
import { createSkillViewTool, createSkillsListTool } from "./skills-tools.js";
|