@xopcai/xopc 0.0.435 → 0.0.437
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser-ext/manifest.json +1 -1
- package/dist/extensions/telegram/xopc.extension.json +1 -1
- package/dist/gateway/static/root/assets/{activity-store-Cwn_CNwl.js → activity-store-CXhhy7_9.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-avatar-dicebear-Cd23LnJJ.js → agent-avatar-dicebear-_h4GxzUK.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-avatar-display-ByzM7u9S.js → agent-avatar-display-B_QEDfMT.js} +2 -2
- package/dist/gateway/static/root/assets/{agent-defaults-settings-panel-B0i37diS.js → agent-defaults-settings-panel-DWIluCZB.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-plugin-dialog-XN-tZ-Ox.js → agent-plugin-dialog-lCWIS06R.js} +1 -1
- package/dist/gateway/static/root/assets/{agents-ZDA1OaLv.js → agents-C-tIn72l.js} +3 -3
- package/dist/gateway/static/root/assets/{agents-admin-api-B5lKH_ps.js → agents-admin-api-DIStX2e1.js} +1 -1
- package/dist/gateway/static/root/assets/{api-B9fZL-V8.js → api-C4xrqOKi.js} +1 -1
- package/dist/gateway/static/root/assets/{api-Djju8qIR.js → api-bT-kA268.js} +1 -1
- package/dist/gateway/static/root/assets/{app-management-settings-panel-IlyzDPJu.js → app-management-settings-panel-Dk75Bmi2.js} +1 -1
- package/dist/gateway/static/root/assets/{appearance-settings-BxdFGob3.js → appearance-settings-DTj1XI4v.js} +1 -1
- package/dist/gateway/static/root/assets/{apps-page-CxEKiOTA.js → apps-page-7iAULaEl.js} +1 -1
- package/dist/gateway/static/root/assets/{archive-plugin-4gEvotPr.js → archive-plugin-BADrW4yR.js} +1 -1
- package/dist/gateway/static/root/assets/{automation-api-4fVKv9PJ.js → automation-api-CRz5EE_c.js} +1 -1
- package/dist/gateway/static/root/assets/{automation-result-state-m7PeK2kl.js → automation-result-state-D0EHDk4V.js} +1 -1
- package/dist/gateway/static/root/assets/{automation-run-list-CJOdy_R2.js → automation-run-list-CnaV2j9R.js} +1 -1
- package/dist/gateway/static/root/assets/automation-task-card-DD4yjrI6.js +3 -0
- package/dist/gateway/static/root/assets/{automations-page-BjbM15eY.js → automations-page-DDNx4Gn3.js} +1 -1
- package/dist/gateway/static/root/assets/{automations-workspace-CqurzLYX.js → automations-workspace-CtidgXTX.js} +2 -2
- package/dist/gateway/static/root/assets/{binary-plugins-69WyJLNW.js → binary-plugins-hpeH8g5V.js} +1 -1
- package/dist/gateway/static/root/assets/{block-editor-DUONDIZR.js → block-editor-P_RGb2rE.js} +1 -1
- package/dist/gateway/static/root/assets/{browser-automation-inputs-DL4YPCuN.js → browser-automation-inputs-C3gQlgox.js} +1 -1
- package/dist/gateway/static/root/assets/{browser-automations-page-1Aq6XmRs.js → browser-automations-page-CsdyL6q5.js} +1 -1
- package/dist/gateway/static/root/assets/{browser-control-api-yjru8E7R.js → browser-control-api-Btwz8koK.js} +1 -1
- package/dist/gateway/static/root/assets/{browser-settings-page-CvwpT8Um.js → browser-settings-page-B-ks3b8r.js} +1 -1
- package/dist/gateway/static/root/assets/{capabilities-C7lnwKKm.js → capabilities-C4F2D1gH.js} +1 -1
- package/dist/gateway/static/root/assets/{capabilities-DaeQXJT4.js → capabilities-f0YyWX04.js} +1 -1
- package/dist/gateway/static/root/assets/{capabilities-page-B5avAOUM.js → capabilities-page-CJm5gNu8.js} +2 -2
- package/dist/gateway/static/root/assets/{capabilities-settings-panel-_9yCS78i.js → capabilities-settings-panel-BMg8DBa0.js} +1 -1
- package/dist/gateway/static/root/assets/{channels-CoQb4HOF.js → channels-DYgvP8sO.js} +1 -1
- package/dist/gateway/static/root/assets/{chat-agents-api-BUi_7GRo.js → chat-agents-api-BrsUEl3u.js} +1 -1
- package/dist/gateway/static/root/assets/{chat-chart-block-CcVcKsDZ.js → chat-chart-block-Cq3aoRzV.js} +1 -1
- package/dist/gateway/static/root/assets/{chat-page--wcFhTjW.js → chat-page-dh7ImvX8.js} +9 -9
- package/dist/gateway/static/root/assets/{chat-terminal-dock-BMXJpPuH.js → chat-terminal-dock-2eGZ5qZ7.js} +1 -1
- package/dist/gateway/static/root/assets/{command-palette-api-luUjQPsh.js → command-palette-api-BEqdX7Q-.js} +1 -1
- package/dist/gateway/static/root/assets/{composer-payload-handoff-B5XNxNCb.js → composer-payload-handoff-BBm3ypBb.js} +1 -1
- package/dist/gateway/static/root/assets/{computer-settings-page-CWtdyEJH.js → computer-settings-page-DUhsxs4l.js} +1 -1
- package/dist/gateway/static/root/assets/{connected-providers-grid-2idMtk65.js → connected-providers-grid-BsCLGLnw.js} +1 -1
- package/dist/gateway/static/root/assets/{connection-usage-guide-Ddh0bfkj.js → connection-usage-guide-BgvvHMc4.js} +1 -1
- package/dist/gateway/static/root/assets/{connector-service-page-C3msXaBk.js → connector-service-page-C3SmPK1c.js} +1 -1
- package/dist/gateway/static/root/assets/{connectors-api-NcWECWKg.js → connectors-api-Now9xXuA.js} +1 -1
- package/dist/gateway/static/root/assets/{connectors-page-Crb6DILX.js → connectors-page-CTMeC7Pt.js} +1 -1
- package/dist/gateway/static/root/assets/{date-picker-Cfjq1hD_.js → date-picker-CBoc2ETg.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-ChFn9v-3.js → desktop-pet-DS2dJydK.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-settings-DvnVIv25.js → desktop-pet-settings-CzGc9byI.js} +1 -1
- package/dist/gateway/static/root/assets/{dev-view-store-DQJ61P5L.js → dev-view-store-BXMp1Npf.js} +1 -1
- package/dist/gateway/static/root/assets/{device-pairing-wizard-KxaIL-OX.js → device-pairing-wizard--SCayxiS.js} +1 -1
- package/dist/gateway/static/root/assets/{directory-picker-path-field-Drv864uE.js → directory-picker-path-field-P_-tLtwi.js} +1 -1
- package/dist/gateway/static/root/assets/{discussion-annotation-sync-DfBRkWtw.js → discussion-annotation-sync-D_NJLur2.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-debug-page-DAlBIt_R.js → extension-debug-page-CE9KJpjL.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-iframe-host-Bds-5kY_.js → extension-iframe-host-ClbrQvGF.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-marketplace-api-CZg8nBwW.js → extension-marketplace-api-BNNQYLeu.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-page-ZTw-oucT.js → extension-page-C6qZ9pGs.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-provider-NKWfjpdP.js → extension-provider-KmpUveDY.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-settings-page-CT7PPt_q.js → extension-settings-page-DWKB4ETv.js} +1 -1
- package/dist/gateway/static/root/assets/{file-preview-surface-BcLeaSNe.js → file-preview-surface-CEDfehx5.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-config-swr-Cq-ByXL4.js → gateway-config-swr-CtEdaxOS.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-realtime-DwMd2PCt.js → gateway-realtime-SunJUMP3.js} +1 -1
- package/dist/gateway/static/root/assets/gateway-realtime-store-BywiC4CK.js +1 -0
- package/dist/gateway/static/root/assets/{gateway-restart-DdiVzbkL.js → gateway-restart-srJ9TMC5.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-settings-1QUdNwrZ.js → gateway-settings-DWVxjM9y.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-startup-retry-PMJi5mX4.js → gateway-startup-retry-xpHdw5uq.js} +1 -1
- package/dist/gateway/static/root/assets/{global-defaults-api-DgzZh3wX.js → global-defaults-api-C-ogBDn1.js} +1 -1
- package/dist/gateway/static/root/assets/{home-page-Chn7YTiD.js → home-page-2Uj--v_o.js} +2 -2
- package/dist/gateway/static/root/assets/{image-generation-api-CjVpsckq.js → image-generation-api-DFGE3Ait.js} +1 -1
- package/dist/gateway/static/root/assets/{imports-page-CJCvZFaQ.js → imports-page-BkslHrr5.js} +1 -1
- package/dist/gateway/static/root/assets/{index-8xLWo0Tt.js → index-BxHzmTJV.js} +5 -5
- package/dist/gateway/static/root/assets/index-CIYNPxDl.css +1 -0
- package/dist/gateway/static/root/assets/{install-connector-dialog-Bo06Ry3H.js → install-connector-dialog-Fctw32Lx.js} +1 -1
- package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-BylFJeGu.js → keyboard-shortcuts-settings-DFBpeaA_.js} +1 -1
- package/dist/gateway/static/root/assets/{local-app-workbench-page-B3MSSFsr.js → local-app-workbench-page-hJzkUVoK.js} +1 -1
- package/dist/gateway/static/root/assets/{local-apps-page-BeV86rMJ.js → local-apps-page-Bj-nywIv.js} +1 -1
- package/dist/gateway/static/root/assets/{local-session-drafts-jgw8UGsO.js → local-session-drafts-hodTdtvj.js} +1 -1
- package/dist/gateway/static/root/assets/{locale-store-CAZaC05J.js → locale-store-LhhHA2sK.js} +1 -1
- package/dist/gateway/static/root/assets/{logs-page-BMmSsUP5.js → logs-page-CcM2foZi.js} +1 -1
- package/dist/gateway/static/root/assets/{management-settings-Bu7T8ewk.js → management-settings-gwDIT7mY.js} +1 -1
- package/dist/gateway/static/root/assets/{markdown-view-BatP4qeK.js → markdown-view-usF9EoMp.js} +1 -1
- package/dist/gateway/static/root/assets/{mcp-conversation-setup-page-rROtr0UN.js → mcp-conversation-setup-page-CfHcS8aO.js} +1 -1
- package/dist/gateway/static/root/assets/{media-plugins-88OV72YE.js → media-plugins-Kpj3pQ3i.js} +1 -1
- package/dist/gateway/static/root/assets/messages-C3xqMM9W.js +3 -0
- package/dist/gateway/static/root/assets/{model-selector-raBRBkN_.js → model-selector-VVkCmNdS.js} +1 -1
- package/dist/gateway/static/root/assets/{models-hub-cache-CzC9y3D0.js → models-hub-cache-BfrcizHv.js} +1 -1
- package/dist/gateway/static/root/assets/{note-detail-panel-BvA8Vkbm.js → note-detail-panel-vvlPKLHz.js} +3 -3
- package/dist/gateway/static/root/assets/note-image-lightbox-BDZGHYaZ.js +1 -0
- package/dist/gateway/static/root/assets/{notes-api-zXpV6UXu.js → notes-api-DflS6I2c.js} +1 -1
- package/dist/gateway/static/root/assets/{notes-page-CjYH9Kle.js → notes-page-DKPHaszO.js} +1 -1
- package/dist/gateway/static/root/assets/{oauth-api-DmxSaxM1.js → oauth-api-CZiot_FY.js} +1 -1
- package/dist/gateway/static/root/assets/{oauth-provider-connect-D4Gfs-Ba.js → oauth-provider-connect-BjLEJ4az.js} +1 -1
- package/dist/gateway/static/root/assets/{page-context-capture-button-Mig3d0UX.js → page-context-capture-button-C3okR3ap.js} +1 -1
- package/dist/gateway/static/root/assets/{page-context-draft-C4IIZaKd.js → page-context-draft-DRE6i2wO.js} +1 -1
- package/dist/gateway/static/root/assets/page-header-store-BVj8nDdi.js +1 -0
- package/dist/gateway/static/root/assets/{personal-avatar-DLa-CpaK.js → personal-avatar-TZzkeDZK.js} +1 -1
- package/dist/gateway/static/root/assets/{personal-page-BhuT79Wd.js → personal-page-Cz-KnXHT.js} +1 -1
- package/dist/gateway/static/root/assets/{personal-settings-panel-XSUkgcr2.js → personal-settings-panel-BilBWHZ1.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-dependencies-card-DYwnuVh3.js → phone-dependencies-card-B_l_JCRy.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-model-connection-2F32QTHA.js → phone-model-connection-DmYRqxCF.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-model-picker-DCVzIr0s.js → phone-model-picker-wK2tRuj0.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-settings-page-DJttE4id.js → phone-settings-page-DWUZuu3k.js} +1 -1
- package/dist/gateway/static/root/assets/{phone-workspace-store-Dxp-KhFP.js → phone-workspace-store-CpH233TG.js} +1 -1
- package/dist/gateway/static/root/assets/{plugin-details-dialog-tyjAjFjA.js → plugin-details-dialog-DIQH12Ki.js} +1 -1
- package/dist/gateway/static/root/assets/{preference-select-fields-BVP3MhGK.js → preference-select-fields-DPXt3YyQ.js} +1 -1
- package/dist/gateway/static/root/assets/{product-automation-feedback-DbJvv92z.js → product-automation-feedback-BVkkAJkY.js} +1 -1
- package/dist/gateway/static/root/assets/{product-open-page-RImqlhCD.js → product-open-page-D-fwzOTB.js} +1 -1
- package/dist/gateway/static/root/assets/{product-preview-content-DxSqrKsg.js → product-preview-content-DLnOxTnn.js} +1 -1
- package/dist/gateway/static/root/assets/{product-preview-modal-Cw8Q8Uom.js → product-preview-modal-AeEtUDZQ.js} +2 -2
- package/dist/gateway/static/root/assets/{project-detail-page-CuugOYfe.js → project-detail-page-B7L3Kvhc.js} +1 -1
- package/dist/gateway/static/root/assets/{project-understanding-BMKcoUW5.js → project-understanding-tqZ0etEw.js} +1 -1
- package/dist/gateway/static/root/assets/{projects-page-CFsABLvs.js → projects-page-D65pw44g.js} +1 -1
- package/dist/gateway/static/root/assets/{providers-api-CAeXbJNF.js → providers-api-DzeStdCu.js} +1 -1
- package/dist/gateway/static/root/assets/{recording-upload-CfpllTe5.js → recording-upload-Id3p5Vyv.js} +1 -1
- package/dist/gateway/static/root/assets/{registry-api-fLOqFyrz.js → registry-api-B3YqZBhQ.js} +1 -1
- package/dist/gateway/static/root/assets/{remote-access-hub-BvKOxy0L.js → remote-access-hub-DxAInmWy.js} +1 -1
- package/dist/gateway/static/root/assets/{resource-unavailable-D15jzjV_.js → resource-unavailable-DH-GGLSM.js} +1 -1
- package/dist/gateway/static/root/assets/{route-preload-BQapekpy.js → route-preload-C22MIvup.js} +2 -2
- package/dist/gateway/static/root/assets/{runtime-tools-api-D0Nrvuqv.js → runtime-tools-api-8mXDTzc2.js} +1 -1
- package/dist/gateway/static/root/assets/{runtime-tools-settings-panel-CA27XgL2.js → runtime-tools-settings-panel-S2HxRVlT.js} +1 -1
- package/dist/gateway/static/root/assets/{service-recommendation-list-B0RoYLVT.js → service-recommendation-list-DFqBz8S6.js} +1 -1
- package/dist/gateway/static/root/assets/{session-api-CHRP5Lwf.js → session-api-DZ2Ov33K.js} +1 -1
- package/dist/gateway/static/root/assets/{session-manager-DRRWwKE4.js → session-manager-DSaoWM1F.js} +1 -1
- package/dist/gateway/static/root/assets/{sessions-page-uJHS3-6F.js → sessions-page-BpUbNplq.js} +1 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-CGgt1myW.js +1 -0
- package/dist/gateway/static/root/assets/{settings-advanced-section-D-llwfSj.js → settings-advanced-section-TJ8MAroB.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-mode-store-BspMKc9N.js → settings-mode-store-xhm6JIs-.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-CedwaHM0.js → settings-page-B_XKKvWr.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-header-LuOJvqNa.js → settings-page-header-BEDxq_lT.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-layout-CduQ8w4a.js → settings-page-layout-BftgkTYo.js} +1 -1
- package/dist/gateway/static/root/assets/{setup-interaction-page-ujpPGl84.js → setup-interaction-page-BtihoIoz.js} +1 -1
- package/dist/gateway/static/root/assets/{setup-status-panel-BN2aCJUN.js → setup-status-panel-DehYof2V.js} +1 -1
- package/dist/gateway/static/root/assets/{share-link-dialog-CTATUaa4.js → share-link-dialog-C-mhzvLF.js} +1 -1
- package/dist/gateway/static/root/assets/{share-preview-page-Dq0J3VgS.js → share-preview-page-Cnxfv66F.js} +1 -1
- package/dist/gateway/static/root/assets/{shares-api-zegE8pSE.js → shares-api-D2HTaQZH.js} +1 -1
- package/dist/gateway/static/root/assets/{shares-settings-DXpvsRXq.js → shares-settings-BLcnCGon.js} +1 -1
- package/dist/gateway/static/root/assets/{skill-api-DCL1EN7f.js → skill-api-DOISy5q8.js} +1 -1
- package/dist/gateway/static/root/assets/{skill-list-api-Bv0mmHbu.js → skill-list-api-LoIlcCDf.js} +1 -1
- package/dist/gateway/static/root/assets/{skill-reload-api-DPZbadiO.js → skill-reload-api-qSwB_mAH.js} +1 -1
- package/dist/gateway/static/root/assets/{skills-page-DMC7Gaku.js → skills-page-CJXLVK0U.js} +1 -1
- package/dist/gateway/static/root/assets/{system-settings-panel-BYFUhlqG.js → system-settings-panel-BT6_yFco.js} +1 -1
- package/dist/gateway/static/root/assets/{task-detail-page-_Og3plZL.js → task-detail-page-1AFyRTia.js} +1 -1
- package/dist/gateway/static/root/assets/{task-result-evidence-Bxm8-H0B.js → task-result-evidence-CkwEM0In.js} +1 -1
- package/dist/gateway/static/root/assets/{terminal-panel-store-Djf9l2qZ.js → terminal-panel-store-BP3dN3md.js} +1 -1
- package/dist/gateway/static/root/assets/{theme-store-8GFVtotZ.js → theme-store-BZ8YC33M.js} +1 -1
- package/dist/gateway/static/root/assets/{tracing-settings-page-oWW3SBZ4.js → tracing-settings-page-9YvEnES_.js} +1 -1
- package/dist/gateway/static/root/assets/{tunnel-api-D-mEsSGF.js → tunnel-api-CnPOg1pg.js} +1 -1
- package/dist/gateway/static/root/assets/{understanding-activity-store-CvDjsd0I.js → understanding-activity-store-3sOhoxX4.js} +1 -1
- package/dist/gateway/static/root/assets/{understanding-refresh-store-DzOZJm7A.js → understanding-refresh-store-BBXlbRLa.js} +1 -1
- package/dist/gateway/static/root/assets/{usage-page-z-o6Uuev.js → usage-page-6LW4yLy1.js} +1 -1
- package/dist/gateway/static/root/assets/{use-autosave-BVYS8UoK.js → use-autosave-CDy9yziL.js} +1 -1
- package/dist/gateway/static/root/assets/{use-composer-attachments-lecOV2q5.js → use-composer-attachments-C4eSyX-C.js} +1 -1
- package/dist/gateway/static/root/assets/{use-file-preview-expanded-nd_CuFsd.js → use-file-preview-expanded-SFqd8k7K.js} +2 -2
- package/dist/gateway/static/root/assets/{use-personal-profile-CQi2ZCxV.js → use-personal-profile-sQzaa6Dy.js} +1 -1
- package/dist/gateway/static/root/assets/{use-workspace-tree-BiaddkzX.js → use-workspace-tree-DKPvcyw1.js} +1 -1
- package/dist/gateway/static/root/assets/{user-model-page-Bks1n0Nj.js → user-model-page-DYVp7nA6.js} +1 -1
- package/dist/gateway/static/root/assets/{voice-api-key-field-BbW8NFeZ.js → voice-api-key-field-BKXWXCit.js} +1 -1
- package/dist/gateway/static/root/assets/{voice-config-api-jSMzZWWy.js → voice-config-api-DNxzs-eF.js} +1 -1
- package/dist/gateway/static/root/assets/{voice-input-shortcut-events-_SgYmx7X.js → voice-input-shortcut-events-3kcfHPrY.js} +1 -1
- package/dist/gateway/static/root/assets/{voice-transcribe-api-BJCfiRFU.js → voice-transcribe-api-CVVa_x99.js} +1 -1
- package/dist/gateway/static/root/assets/{work-discovery-overlay-DSTSNyU7.js → work-discovery-overlay-B4F3MACu.js} +1 -1
- package/dist/gateway/static/root/assets/{work-discovery-page-Dd_QJJvb.js → work-discovery-page-BuKTCGSR.js} +1 -1
- package/dist/gateway/static/root/assets/{working-directory-picker-modal-q39BUcJ6.js → working-directory-picker-modal-BiDK93J_.js} +1 -1
- package/dist/gateway/static/root/assets/{workspace-api-Di2OmCvz.js → workspace-api-S2aJOX7w.js} +2 -2
- package/dist/gateway/static/root/assets/workspace-editor-agent-store-oZKoWMdV.js +1 -0
- package/dist/gateway/static/root/assets/{workspace-file-preview-dialog-BUGNT765.js → workspace-file-preview-dialog-B9f3GN7l.js} +1 -1
- package/dist/gateway/static/root/assets/{workspace-open-location-menu-bMSvmQW7.js → workspace-open-location-menu-BNjipenH.js} +1 -1
- package/dist/gateway/static/root/assets/{xopc-cloud-account-card-Bbe19Del.js → xopc-cloud-account-card-Csye7zKU.js} +1 -1
- package/dist/gateway/static/root/index.html +81 -81
- package/dist/package.js +1 -1
- package/dist/src/agent/client-error-format.d.ts +1 -1
- package/dist/src/agent/client-error-format.js +3 -2
- package/dist/src/agent/orchestration/llm-turn-retry.js +8 -1
- package/dist/src/agent/tool-manuals/computer.d.ts +1 -1
- package/dist/src/agent/tool-manuals/computer.js +2 -2
- package/dist/src/cli/commands/platform.js +2 -2
- package/dist/src/computer/broker.d.ts +5 -1
- package/dist/src/computer/broker.js +34 -9
- package/dist/src/computer/diagnostics.d.ts +340 -0
- package/dist/src/computer/diagnostics.js +4 -0
- package/dist/src/computer/errors.d.ts +340 -0
- package/dist/src/computer/errors.js +122 -5
- package/dist/src/computer/evaluation.d.ts +186 -0
- package/dist/src/computer/model-adapter.js +47 -20
- package/dist/src/computer/runtime.d.ts +170 -0
- package/dist/src/computer/runtime.js +36 -8
- package/dist/src/computer/stability-diagnostics.d.ts +23 -0
- package/dist/src/computer/stability-diagnostics.js +71 -0
- package/dist/src/computer/validation-diagnostics.d.ts +9 -0
- package/dist/src/computer/validation-diagnostics.js +54 -0
- package/dist/src/providers/model-response.js +1 -0
- package/dist/src/realtime/runtime.js +13 -5
- package/dist/src/realtime/writer.d.ts +7 -0
- package/dist/src/realtime/writer.js +96 -30
- package/package.json +1 -1
- package/dist/gateway/static/root/assets/automation-task-card-DZWhCWJa.js +0 -3
- package/dist/gateway/static/root/assets/gateway-realtime-store-CHrf6-nR.js +0 -1
- package/dist/gateway/static/root/assets/index-iukJWzxG.css +0 -1
- package/dist/gateway/static/root/assets/messages-C7fckbyG.js +0 -3
- package/dist/gateway/static/root/assets/note-image-lightbox-D6kUDDd5.js +0 -1
- package/dist/gateway/static/root/assets/page-header-store-D7G5utVi.js +0 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-CZ4J3Kuy.js +0 -1
- package/dist/gateway/static/root/assets/workspace-editor-agent-store-B2r9wlix.js +0 -1
|
@@ -2,7 +2,8 @@ import { createLogger } from "../utils/logger/index.js";
|
|
|
2
2
|
import { init_logger } from "../utils/logger.js";
|
|
3
3
|
import { ComputerConfigSchema, init_config } from "./config.js";
|
|
4
4
|
import { ActionEnvelopeSchema, ComputerCommandSchema, computerActionInputCount, computerActionInputs, init_src } from "../../packages/computer-control-contract/src/index.js";
|
|
5
|
-
import { ComputerTargetError } from "./errors.js";
|
|
5
|
+
import { ComputerOperationError, ComputerTargetError, computerDiagnostic } from "./errors.js";
|
|
6
|
+
import { ComputerStabilityTracker } from "./stability-diagnostics.js";
|
|
6
7
|
import { createHash, randomUUID } from "node:crypto";
|
|
7
8
|
import { setTimeout } from "node:timers/promises";
|
|
8
9
|
//#region src/computer/broker.ts
|
|
@@ -221,7 +222,12 @@ var ComputerBroker = class {
|
|
|
221
222
|
s.controller.signal.removeEventListener("abort", abort);
|
|
222
223
|
}
|
|
223
224
|
}
|
|
224
|
-
async observe(s) {
|
|
225
|
+
async observe(s, afterAction) {
|
|
226
|
+
s.activity = {
|
|
227
|
+
phase: "observing",
|
|
228
|
+
...afterAction ? { action: afterAction } : {}
|
|
229
|
+
};
|
|
230
|
+
this.host.onStateChange?.();
|
|
225
231
|
let frame;
|
|
226
232
|
try {
|
|
227
233
|
frame = await this.driver.observe(s.target, s.controller.signal);
|
|
@@ -238,11 +244,14 @@ var ComputerBroker = class {
|
|
|
238
244
|
} catch {}
|
|
239
245
|
if (editable) {
|
|
240
246
|
let stable = false;
|
|
247
|
+
const stability = new ComputerStabilityTracker(afterAction ? "post_action" : "initial_capture", afterAction);
|
|
241
248
|
const fingerprint = () => JSON.stringify([frame.stateDigest, frame.target]);
|
|
242
249
|
const seen = new Set([fingerprint()]);
|
|
243
250
|
for (let sample = 0; sample < 5; sample++) {
|
|
244
251
|
this.active(s);
|
|
252
|
+
await setTimeout(100, void 0, { signal: s.controller.signal });
|
|
245
253
|
const next = await this.driver.observe(s.target, s.controller.signal);
|
|
254
|
+
stability.compare(frame, next);
|
|
246
255
|
const previous = frame;
|
|
247
256
|
frame = next;
|
|
248
257
|
previous.image.fill(0);
|
|
@@ -252,7 +261,7 @@ var ComputerBroker = class {
|
|
|
252
261
|
if (stable) break;
|
|
253
262
|
seen.add(current);
|
|
254
263
|
}
|
|
255
|
-
if (!stable) throw new
|
|
264
|
+
if (!stable) throw new ComputerOperationError(stability.diagnostic("COMPUTER_UI_UNSTABLE", 6));
|
|
256
265
|
}
|
|
257
266
|
validateFrame();
|
|
258
267
|
s.target = frame.target;
|
|
@@ -270,6 +279,10 @@ var ComputerBroker = class {
|
|
|
270
279
|
stateDigest: frame.stateDigest
|
|
271
280
|
};
|
|
272
281
|
s.touchedAt = this.now();
|
|
282
|
+
s.activity = {
|
|
283
|
+
phase: "ready",
|
|
284
|
+
...afterAction ? { action: afterAction } : {}
|
|
285
|
+
};
|
|
273
286
|
return {
|
|
274
287
|
...this.result(s),
|
|
275
288
|
observation: s.observation,
|
|
@@ -280,7 +293,7 @@ var ComputerBroker = class {
|
|
|
280
293
|
};
|
|
281
294
|
} catch (error) {
|
|
282
295
|
frame?.image.fill(0);
|
|
283
|
-
s.errorCode ??= error instanceof Error && /^COMPUTER_[A-Z_0-9]+$/.test(error.message) ? error.message : "COMPUTER_OBSERVE_FAILED";
|
|
296
|
+
s.errorCode ??= computerDiagnostic(error)?.errorCode ?? (error instanceof Error && /^COMPUTER_[A-Z_0-9]+$/.test(error.message) ? error.message : "COMPUTER_OBSERVE_FAILED");
|
|
284
297
|
await this.stop().catch(() => {
|
|
285
298
|
log.warn({
|
|
286
299
|
sessionId: s.id,
|
|
@@ -345,6 +358,7 @@ var ComputerBroker = class {
|
|
|
345
358
|
const precheckStarted = this.durationNow();
|
|
346
359
|
let matched = false;
|
|
347
360
|
let precheckSamples = 0;
|
|
361
|
+
const stability = new ComputerStabilityTracker("pre_dispatch", e.action.kind);
|
|
348
362
|
for (let sample = 0; sample < 4; sample++) {
|
|
349
363
|
precheckSamples++;
|
|
350
364
|
if (sample) await setTimeout(100, void 0, { signal: s.controller.signal });
|
|
@@ -352,12 +366,14 @@ var ComputerBroker = class {
|
|
|
352
366
|
try {
|
|
353
367
|
current = await this.driver.observe(s.target, s.controller.signal);
|
|
354
368
|
} catch (error) {
|
|
355
|
-
s.errorCode ??= error instanceof Error && /^COMPUTER_[A-Z_0-9]+$/.test(error.message) ? error.message : "COMPUTER_OBSERVE_FAILED";
|
|
369
|
+
s.errorCode ??= computerDiagnostic(error)?.errorCode ?? (error instanceof Error && /^COMPUTER_[A-Z_0-9]+$/.test(error.message) ? error.message : "COMPUTER_OBSERVE_FAILED");
|
|
356
370
|
await this.stop().catch(() => {});
|
|
357
371
|
throw error;
|
|
358
372
|
}
|
|
359
373
|
try {
|
|
360
374
|
this.active(s);
|
|
375
|
+
stability.compare(observed, current);
|
|
376
|
+
if (e.deadlineAt <= this.now()) stability.deadline();
|
|
361
377
|
if (!(JSON.stringify(current.target) === JSON.stringify(observed.target)) || e.deadlineAt <= this.now()) break;
|
|
362
378
|
if (current.stateDigest !== observed.stateDigest) continue;
|
|
363
379
|
this.driver.validateAction?.(e.action);
|
|
@@ -373,7 +389,8 @@ var ComputerBroker = class {
|
|
|
373
389
|
s.status = "ready";
|
|
374
390
|
return {
|
|
375
391
|
...this.result(s),
|
|
376
|
-
errorCode: "COMPUTER_OBSERVATION_CHANGED"
|
|
392
|
+
errorCode: "COMPUTER_OBSERVATION_CHANGED",
|
|
393
|
+
diagnostic: stability.diagnostic("COMPUTER_OBSERVATION_CHANGED", precheckSamples)
|
|
377
394
|
};
|
|
378
395
|
}
|
|
379
396
|
const nativeMs = {
|
|
@@ -403,6 +420,11 @@ var ComputerBroker = class {
|
|
|
403
420
|
s.actions += computerActionInputCount(e.action);
|
|
404
421
|
s.pending = void 0;
|
|
405
422
|
s.status = "running";
|
|
423
|
+
s.activity = {
|
|
424
|
+
phase: "acting",
|
|
425
|
+
action: e.action.kind
|
|
426
|
+
};
|
|
427
|
+
this.host.onStateChange?.();
|
|
406
428
|
try {
|
|
407
429
|
const inputStarted = this.durationNow();
|
|
408
430
|
try {
|
|
@@ -426,7 +448,7 @@ var ComputerBroker = class {
|
|
|
426
448
|
const observationStarted = this.durationNow();
|
|
427
449
|
let after;
|
|
428
450
|
try {
|
|
429
|
-
after = await this.observe(s);
|
|
451
|
+
after = await this.observe(s, e.action.kind);
|
|
430
452
|
} finally {
|
|
431
453
|
nativeMs.postObserveMs = Math.max(0, Math.round(this.durationNow() - observationStarted));
|
|
432
454
|
}
|
|
@@ -438,7 +460,8 @@ var ComputerBroker = class {
|
|
|
438
460
|
};
|
|
439
461
|
} catch (error) {
|
|
440
462
|
if (receipt.dispatch === "started") receipt.dispatch = "unknown";
|
|
441
|
-
|
|
463
|
+
const diagnostic = computerDiagnostic(error);
|
|
464
|
+
receipt.errorCode = diagnostic?.errorCode ?? (error instanceof Error && /^COMPUTER_[A-Z_0-9]+$/.test(error.message) ? error.message : receipt.dispatch === "completed" ? "COMPUTER_POST_ACTION_OBSERVATION_FAILED" : "COMPUTER_NATIVE_ACTION_FAILED");
|
|
442
465
|
s.errorCode = receipt.errorCode;
|
|
443
466
|
await this.stop().catch(() => {
|
|
444
467
|
log.warn({
|
|
@@ -450,7 +473,8 @@ var ComputerBroker = class {
|
|
|
450
473
|
return {
|
|
451
474
|
...this.result(s),
|
|
452
475
|
receipt,
|
|
453
|
-
nativeMs
|
|
476
|
+
nativeMs,
|
|
477
|
+
...diagnostic ? { diagnostic } : {}
|
|
454
478
|
};
|
|
455
479
|
}
|
|
456
480
|
}
|
|
@@ -494,6 +518,7 @@ var ComputerBroker = class {
|
|
|
494
518
|
brokerEpoch: this.epoch,
|
|
495
519
|
appName: this.apps.get(s.appRef)?.name ?? s.appId,
|
|
496
520
|
status: s.status,
|
|
521
|
+
activity: s.activity ? { ...s.activity } : void 0,
|
|
497
522
|
target: s.target ? { ...s.target } : void 0,
|
|
498
523
|
signal: s.controller.signal
|
|
499
524
|
};
|
|
@@ -67,6 +67,176 @@ export declare const ComputerFailureSchema: z.ZodObject<{
|
|
|
67
67
|
invalid_envelope: "invalid_envelope";
|
|
68
68
|
output_limit: "output_limit";
|
|
69
69
|
}>>;
|
|
70
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
71
|
+
action: z.ZodEnum<{
|
|
72
|
+
type: "type";
|
|
73
|
+
key: "key";
|
|
74
|
+
unknown: "unknown";
|
|
75
|
+
answer: "answer";
|
|
76
|
+
wait: "wait";
|
|
77
|
+
typeText: "typeText";
|
|
78
|
+
batch: "batch";
|
|
79
|
+
terminate: "terminate";
|
|
80
|
+
activate: "activate";
|
|
81
|
+
showMenu: "showMenu";
|
|
82
|
+
click: "click";
|
|
83
|
+
drag: "drag";
|
|
84
|
+
setValue: "setValue";
|
|
85
|
+
pressKeys: "pressKeys";
|
|
86
|
+
scroll: "scroll";
|
|
87
|
+
activateSequence: "activateSequence";
|
|
88
|
+
interact: "interact";
|
|
89
|
+
takeover: "takeover";
|
|
90
|
+
finished: "finished";
|
|
91
|
+
button_plan: "button_plan";
|
|
92
|
+
activate_sequence: "activate_sequence";
|
|
93
|
+
show_menu: "show_menu";
|
|
94
|
+
set_value: "set_value";
|
|
95
|
+
left_click: "left_click";
|
|
96
|
+
right_click: "right_click";
|
|
97
|
+
double_click: "double_click";
|
|
98
|
+
hscroll: "hscroll";
|
|
99
|
+
}>;
|
|
100
|
+
stage: z.ZodEnum<{
|
|
101
|
+
plan: "plan";
|
|
102
|
+
schema: "schema";
|
|
103
|
+
converted_action: "converted_action";
|
|
104
|
+
typing_target: "typing_target";
|
|
105
|
+
keyboard: "keyboard";
|
|
106
|
+
}>;
|
|
107
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
108
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
109
|
+
reason: "reason";
|
|
110
|
+
keys: "keys";
|
|
111
|
+
value: "value";
|
|
112
|
+
name: "name";
|
|
113
|
+
time: "time";
|
|
114
|
+
from: "from";
|
|
115
|
+
action: "action";
|
|
116
|
+
when: "when";
|
|
117
|
+
label: "label";
|
|
118
|
+
text: "text";
|
|
119
|
+
kind: "kind";
|
|
120
|
+
status: "status";
|
|
121
|
+
durationMs: "durationMs";
|
|
122
|
+
role: "role";
|
|
123
|
+
to: "to";
|
|
124
|
+
actions: "actions";
|
|
125
|
+
count: "count";
|
|
126
|
+
x: "x";
|
|
127
|
+
y: "y";
|
|
128
|
+
point: "point";
|
|
129
|
+
arguments: "arguments";
|
|
130
|
+
ref: "ref";
|
|
131
|
+
button: "button";
|
|
132
|
+
deltaX: "deltaX";
|
|
133
|
+
deltaY: "deltaY";
|
|
134
|
+
refs: "refs";
|
|
135
|
+
pixels: "pixels";
|
|
136
|
+
steps: "steps";
|
|
137
|
+
coordinate: "coordinate";
|
|
138
|
+
unknown_field: "unknown_field";
|
|
139
|
+
proposal: "proposal";
|
|
140
|
+
claimedSuccess: "claimedSuccess";
|
|
141
|
+
}>, z.ZodNumber]>>;
|
|
142
|
+
code: z.ZodEnum<{
|
|
143
|
+
custom: "custom";
|
|
144
|
+
invalid_type: "invalid_type";
|
|
145
|
+
unrecognized_keys: "unrecognized_keys";
|
|
146
|
+
invalid_union: "invalid_union";
|
|
147
|
+
invalid_value: "invalid_value";
|
|
148
|
+
invalid_format: "invalid_format";
|
|
149
|
+
too_big: "too_big";
|
|
150
|
+
too_small: "too_small";
|
|
151
|
+
not_multiple_of: "not_multiple_of";
|
|
152
|
+
missing_point: "missing_point";
|
|
153
|
+
outside_frame: "outside_frame";
|
|
154
|
+
editable_target_missing: "editable_target_missing";
|
|
155
|
+
editable_target_ambiguous: "editable_target_ambiguous";
|
|
156
|
+
invalid_context: "invalid_context";
|
|
157
|
+
unsupported_key: "unsupported_key";
|
|
158
|
+
plan_not_grounded: "plan_not_grounded";
|
|
159
|
+
}>;
|
|
160
|
+
action: z.ZodEnum<{
|
|
161
|
+
type: "type";
|
|
162
|
+
key: "key";
|
|
163
|
+
unknown: "unknown";
|
|
164
|
+
answer: "answer";
|
|
165
|
+
wait: "wait";
|
|
166
|
+
typeText: "typeText";
|
|
167
|
+
batch: "batch";
|
|
168
|
+
terminate: "terminate";
|
|
169
|
+
activate: "activate";
|
|
170
|
+
showMenu: "showMenu";
|
|
171
|
+
click: "click";
|
|
172
|
+
drag: "drag";
|
|
173
|
+
setValue: "setValue";
|
|
174
|
+
pressKeys: "pressKeys";
|
|
175
|
+
scroll: "scroll";
|
|
176
|
+
activateSequence: "activateSequence";
|
|
177
|
+
interact: "interact";
|
|
178
|
+
takeover: "takeover";
|
|
179
|
+
finished: "finished";
|
|
180
|
+
button_plan: "button_plan";
|
|
181
|
+
activate_sequence: "activate_sequence";
|
|
182
|
+
show_menu: "show_menu";
|
|
183
|
+
set_value: "set_value";
|
|
184
|
+
left_click: "left_click";
|
|
185
|
+
right_click: "right_click";
|
|
186
|
+
double_click: "double_click";
|
|
187
|
+
hscroll: "hscroll";
|
|
188
|
+
}>;
|
|
189
|
+
}, z.core.$strict>>;
|
|
190
|
+
}, z.core.$strict>>;
|
|
191
|
+
stability: z.ZodOptional<z.ZodObject<{
|
|
192
|
+
stage: z.ZodEnum<{
|
|
193
|
+
initial_capture: "initial_capture";
|
|
194
|
+
pre_dispatch: "pre_dispatch";
|
|
195
|
+
post_action: "post_action";
|
|
196
|
+
}>;
|
|
197
|
+
samples: z.ZodNumber;
|
|
198
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
199
|
+
type: "type";
|
|
200
|
+
key: "key";
|
|
201
|
+
unknown: "unknown";
|
|
202
|
+
answer: "answer";
|
|
203
|
+
wait: "wait";
|
|
204
|
+
typeText: "typeText";
|
|
205
|
+
batch: "batch";
|
|
206
|
+
terminate: "terminate";
|
|
207
|
+
activate: "activate";
|
|
208
|
+
showMenu: "showMenu";
|
|
209
|
+
click: "click";
|
|
210
|
+
drag: "drag";
|
|
211
|
+
setValue: "setValue";
|
|
212
|
+
pressKeys: "pressKeys";
|
|
213
|
+
scroll: "scroll";
|
|
214
|
+
activateSequence: "activateSequence";
|
|
215
|
+
interact: "interact";
|
|
216
|
+
takeover: "takeover";
|
|
217
|
+
finished: "finished";
|
|
218
|
+
button_plan: "button_plan";
|
|
219
|
+
activate_sequence: "activate_sequence";
|
|
220
|
+
show_menu: "show_menu";
|
|
221
|
+
set_value: "set_value";
|
|
222
|
+
left_click: "left_click";
|
|
223
|
+
right_click: "right_click";
|
|
224
|
+
double_click: "double_click";
|
|
225
|
+
hscroll: "hscroll";
|
|
226
|
+
}>>;
|
|
227
|
+
changes: z.ZodArray<z.ZodEnum<{
|
|
228
|
+
window_identity: "window_identity";
|
|
229
|
+
window_geometry: "window_geometry";
|
|
230
|
+
image_dimensions: "image_dimensions";
|
|
231
|
+
accessibility_structure: "accessibility_structure";
|
|
232
|
+
accessibility_text: "accessibility_text";
|
|
233
|
+
accessibility_state: "accessibility_state";
|
|
234
|
+
accessibility_geometry: "accessibility_geometry";
|
|
235
|
+
visual_or_unexposed_state: "visual_or_unexposed_state";
|
|
236
|
+
deadline: "deadline";
|
|
237
|
+
}>>;
|
|
238
|
+
changedElementIndices: z.ZodArray<z.ZodNumber>;
|
|
239
|
+
}, z.core.$strict>>;
|
|
70
240
|
serviceErrorCode: z.ZodOptional<z.ZodEnum<{
|
|
71
241
|
provider_error: "provider_error";
|
|
72
242
|
max_input_tokens_exceeded: "max_input_tokens_exceeded";
|
|
@@ -176,6 +346,176 @@ export declare const ComputerSessionReportSchema: z.ZodObject<{
|
|
|
176
346
|
invalid_envelope: "invalid_envelope";
|
|
177
347
|
output_limit: "output_limit";
|
|
178
348
|
}>>;
|
|
349
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
350
|
+
action: z.ZodEnum<{
|
|
351
|
+
type: "type";
|
|
352
|
+
key: "key";
|
|
353
|
+
unknown: "unknown";
|
|
354
|
+
answer: "answer";
|
|
355
|
+
wait: "wait";
|
|
356
|
+
typeText: "typeText";
|
|
357
|
+
batch: "batch";
|
|
358
|
+
terminate: "terminate";
|
|
359
|
+
activate: "activate";
|
|
360
|
+
showMenu: "showMenu";
|
|
361
|
+
click: "click";
|
|
362
|
+
drag: "drag";
|
|
363
|
+
setValue: "setValue";
|
|
364
|
+
pressKeys: "pressKeys";
|
|
365
|
+
scroll: "scroll";
|
|
366
|
+
activateSequence: "activateSequence";
|
|
367
|
+
interact: "interact";
|
|
368
|
+
takeover: "takeover";
|
|
369
|
+
finished: "finished";
|
|
370
|
+
button_plan: "button_plan";
|
|
371
|
+
activate_sequence: "activate_sequence";
|
|
372
|
+
show_menu: "show_menu";
|
|
373
|
+
set_value: "set_value";
|
|
374
|
+
left_click: "left_click";
|
|
375
|
+
right_click: "right_click";
|
|
376
|
+
double_click: "double_click";
|
|
377
|
+
hscroll: "hscroll";
|
|
378
|
+
}>;
|
|
379
|
+
stage: z.ZodEnum<{
|
|
380
|
+
plan: "plan";
|
|
381
|
+
schema: "schema";
|
|
382
|
+
converted_action: "converted_action";
|
|
383
|
+
typing_target: "typing_target";
|
|
384
|
+
keyboard: "keyboard";
|
|
385
|
+
}>;
|
|
386
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
387
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
388
|
+
reason: "reason";
|
|
389
|
+
keys: "keys";
|
|
390
|
+
value: "value";
|
|
391
|
+
name: "name";
|
|
392
|
+
time: "time";
|
|
393
|
+
from: "from";
|
|
394
|
+
action: "action";
|
|
395
|
+
when: "when";
|
|
396
|
+
label: "label";
|
|
397
|
+
text: "text";
|
|
398
|
+
kind: "kind";
|
|
399
|
+
status: "status";
|
|
400
|
+
durationMs: "durationMs";
|
|
401
|
+
role: "role";
|
|
402
|
+
to: "to";
|
|
403
|
+
actions: "actions";
|
|
404
|
+
count: "count";
|
|
405
|
+
x: "x";
|
|
406
|
+
y: "y";
|
|
407
|
+
point: "point";
|
|
408
|
+
arguments: "arguments";
|
|
409
|
+
ref: "ref";
|
|
410
|
+
button: "button";
|
|
411
|
+
deltaX: "deltaX";
|
|
412
|
+
deltaY: "deltaY";
|
|
413
|
+
refs: "refs";
|
|
414
|
+
pixels: "pixels";
|
|
415
|
+
steps: "steps";
|
|
416
|
+
coordinate: "coordinate";
|
|
417
|
+
unknown_field: "unknown_field";
|
|
418
|
+
proposal: "proposal";
|
|
419
|
+
claimedSuccess: "claimedSuccess";
|
|
420
|
+
}>, z.ZodNumber]>>;
|
|
421
|
+
code: z.ZodEnum<{
|
|
422
|
+
custom: "custom";
|
|
423
|
+
invalid_type: "invalid_type";
|
|
424
|
+
unrecognized_keys: "unrecognized_keys";
|
|
425
|
+
invalid_union: "invalid_union";
|
|
426
|
+
invalid_value: "invalid_value";
|
|
427
|
+
invalid_format: "invalid_format";
|
|
428
|
+
too_big: "too_big";
|
|
429
|
+
too_small: "too_small";
|
|
430
|
+
not_multiple_of: "not_multiple_of";
|
|
431
|
+
missing_point: "missing_point";
|
|
432
|
+
outside_frame: "outside_frame";
|
|
433
|
+
editable_target_missing: "editable_target_missing";
|
|
434
|
+
editable_target_ambiguous: "editable_target_ambiguous";
|
|
435
|
+
invalid_context: "invalid_context";
|
|
436
|
+
unsupported_key: "unsupported_key";
|
|
437
|
+
plan_not_grounded: "plan_not_grounded";
|
|
438
|
+
}>;
|
|
439
|
+
action: z.ZodEnum<{
|
|
440
|
+
type: "type";
|
|
441
|
+
key: "key";
|
|
442
|
+
unknown: "unknown";
|
|
443
|
+
answer: "answer";
|
|
444
|
+
wait: "wait";
|
|
445
|
+
typeText: "typeText";
|
|
446
|
+
batch: "batch";
|
|
447
|
+
terminate: "terminate";
|
|
448
|
+
activate: "activate";
|
|
449
|
+
showMenu: "showMenu";
|
|
450
|
+
click: "click";
|
|
451
|
+
drag: "drag";
|
|
452
|
+
setValue: "setValue";
|
|
453
|
+
pressKeys: "pressKeys";
|
|
454
|
+
scroll: "scroll";
|
|
455
|
+
activateSequence: "activateSequence";
|
|
456
|
+
interact: "interact";
|
|
457
|
+
takeover: "takeover";
|
|
458
|
+
finished: "finished";
|
|
459
|
+
button_plan: "button_plan";
|
|
460
|
+
activate_sequence: "activate_sequence";
|
|
461
|
+
show_menu: "show_menu";
|
|
462
|
+
set_value: "set_value";
|
|
463
|
+
left_click: "left_click";
|
|
464
|
+
right_click: "right_click";
|
|
465
|
+
double_click: "double_click";
|
|
466
|
+
hscroll: "hscroll";
|
|
467
|
+
}>;
|
|
468
|
+
}, z.core.$strict>>;
|
|
469
|
+
}, z.core.$strict>>;
|
|
470
|
+
stability: z.ZodOptional<z.ZodObject<{
|
|
471
|
+
stage: z.ZodEnum<{
|
|
472
|
+
initial_capture: "initial_capture";
|
|
473
|
+
pre_dispatch: "pre_dispatch";
|
|
474
|
+
post_action: "post_action";
|
|
475
|
+
}>;
|
|
476
|
+
samples: z.ZodNumber;
|
|
477
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
478
|
+
type: "type";
|
|
479
|
+
key: "key";
|
|
480
|
+
unknown: "unknown";
|
|
481
|
+
answer: "answer";
|
|
482
|
+
wait: "wait";
|
|
483
|
+
typeText: "typeText";
|
|
484
|
+
batch: "batch";
|
|
485
|
+
terminate: "terminate";
|
|
486
|
+
activate: "activate";
|
|
487
|
+
showMenu: "showMenu";
|
|
488
|
+
click: "click";
|
|
489
|
+
drag: "drag";
|
|
490
|
+
setValue: "setValue";
|
|
491
|
+
pressKeys: "pressKeys";
|
|
492
|
+
scroll: "scroll";
|
|
493
|
+
activateSequence: "activateSequence";
|
|
494
|
+
interact: "interact";
|
|
495
|
+
takeover: "takeover";
|
|
496
|
+
finished: "finished";
|
|
497
|
+
button_plan: "button_plan";
|
|
498
|
+
activate_sequence: "activate_sequence";
|
|
499
|
+
show_menu: "show_menu";
|
|
500
|
+
set_value: "set_value";
|
|
501
|
+
left_click: "left_click";
|
|
502
|
+
right_click: "right_click";
|
|
503
|
+
double_click: "double_click";
|
|
504
|
+
hscroll: "hscroll";
|
|
505
|
+
}>>;
|
|
506
|
+
changes: z.ZodArray<z.ZodEnum<{
|
|
507
|
+
window_identity: "window_identity";
|
|
508
|
+
window_geometry: "window_geometry";
|
|
509
|
+
image_dimensions: "image_dimensions";
|
|
510
|
+
accessibility_structure: "accessibility_structure";
|
|
511
|
+
accessibility_text: "accessibility_text";
|
|
512
|
+
accessibility_state: "accessibility_state";
|
|
513
|
+
accessibility_geometry: "accessibility_geometry";
|
|
514
|
+
visual_or_unexposed_state: "visual_or_unexposed_state";
|
|
515
|
+
deadline: "deadline";
|
|
516
|
+
}>>;
|
|
517
|
+
changedElementIndices: z.ZodArray<z.ZodNumber>;
|
|
518
|
+
}, z.core.$strict>>;
|
|
179
519
|
serviceErrorCode: z.ZodOptional<z.ZodEnum<{
|
|
180
520
|
provider_error: "provider_error";
|
|
181
521
|
max_input_tokens_exceeded: "max_input_tokens_exceeded";
|
|
@@ -41,6 +41,8 @@ const ComputerFailureSchema = z.object({
|
|
|
41
41
|
httpStatus: z.number().int().min(100).max(599).optional(),
|
|
42
42
|
requestId: z.string().regex(/^(?:[a-f0-9]{32}|[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12})$/i).optional(),
|
|
43
43
|
validationReason: ComputerDiagnosticSchema.shape.validationReason,
|
|
44
|
+
validation: ComputerDiagnosticSchema.shape.validation,
|
|
45
|
+
stability: ComputerDiagnosticSchema.shape.stability,
|
|
44
46
|
serviceErrorCode: ComputerDiagnosticSchema.shape.serviceErrorCode
|
|
45
47
|
}).strict();
|
|
46
48
|
const categories = Object.create(null);
|
|
@@ -211,6 +213,8 @@ function classifyComputerFailure(error, phase, dispatch = "notStarted", aborted
|
|
|
211
213
|
httpStatus: diagnostic.httpStatus,
|
|
212
214
|
requestId: diagnostic.requestId,
|
|
213
215
|
validationReason: diagnostic.validationReason,
|
|
216
|
+
validation: diagnostic.validation,
|
|
217
|
+
stability: diagnostic.stability,
|
|
214
218
|
serviceErrorCode: diagnostic.serviceErrorCode
|
|
215
219
|
} : {}
|
|
216
220
|
};
|