@myagentroam/server 0.15.2 → 0.15.4
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/node_modules/@myagentroam/protocol/dist/index.d.ts +135 -102
- package/node_modules/@myagentroam/protocol/dist/index.js +15 -7
- package/node_modules/@myagentroam/protocol/dist/scheduled-time.d.ts +1126 -0
- package/node_modules/@myagentroam/protocol/dist/scheduled-time.js +92 -0
- package/node_modules/@myagentroam/protocol/dist/workbench-notification.d.ts +391 -0
- package/node_modules/@myagentroam/protocol/dist/workbench-notification.js +43 -0
- package/node_modules/@myagentroam/protocol/package.json +1 -1
- package/node_modules/@myagentroam/server-core/dist/domain-errors.js +6 -0
- package/node_modules/@myagentroam/server-core/dist/i18n/workbench-notifications.d.ts +4 -0
- package/node_modules/@myagentroam/server-core/dist/i18n/workbench-notifications.js +4 -0
- package/node_modules/@myagentroam/server-core/dist/marctl-session-routes.js +41 -35
- package/node_modules/@myagentroam/server-core/dist/mysql-node-identity.js +2 -0
- package/node_modules/@myagentroam/server-core/dist/mysql-schema.d.ts +11 -0
- package/node_modules/@myagentroam/server-core/dist/mysql-schema.js +79 -9
- package/node_modules/@myagentroam/server-core/dist/node-identity-control.d.ts +3 -0
- package/node_modules/@myagentroam/server-core/dist/node-identity-control.js +3 -0
- package/node_modules/@myagentroam/server-core/dist/node-projection.d.ts +3 -0
- package/node_modules/@myagentroam/server-core/dist/node-projection.js +4 -2
- package/node_modules/@myagentroam/server-core/dist/node-request-channel.d.ts +6 -0
- package/node_modules/@myagentroam/server-core/dist/node-request-channel.js +9 -0
- package/node_modules/@myagentroam/server-core/dist/run-control-routes.js +7 -1
- package/node_modules/@myagentroam/server-core/dist/scheduled-task-index.d.ts +139 -0
- package/node_modules/@myagentroam/server-core/dist/scheduled-task-index.js +304 -0
- package/node_modules/@myagentroam/server-core/dist/scheduled-task-pagination.d.ts +18 -0
- package/node_modules/@myagentroam/server-core/dist/scheduled-task-pagination.js +37 -0
- package/node_modules/@myagentroam/server-core/dist/scheduled-task-routes.d.ts +45 -0
- package/node_modules/@myagentroam/server-core/dist/scheduled-task-routes.js +449 -0
- package/node_modules/@myagentroam/server-core/dist/session-run-routes.js +1 -125
- package/node_modules/@myagentroam/server-core/dist/workbench-notification-service.d.ts +14 -0
- package/node_modules/@myagentroam/server-core/dist/workbench-notification-service.js +101 -33
- package/node_modules/@myagentroam/server-core/package.json +12 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/node-control-factory.js +1 -1
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/server-application.js +75 -4
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/mysql/server-database.js +3 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/node-control.d.ts +9 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/node-control.js +25 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-access-service.d.ts +1 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-access-service.js +6 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-management-directory.d.ts +3 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-mutation-service.d.ts +2 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-mutation-service.js +6 -1
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/background-execution-preparation-service.js +4 -5
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/node-request-broker.d.ts +5 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/node-request-broker.js +17 -4
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/node-resource-scope-index.js +10 -8
- package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
- package/package.json +5 -5
- package/web/assets/AuditManagementPage-D8KkS-oV.js +1 -0
- package/web/assets/AuthEntryPanel-BHf4PyTn.css +1 -0
- package/web/assets/{AuthEntryPanel-RpSNsqsT.js → AuthEntryPanel-BZr60V1Z.js} +4 -4
- package/web/assets/{CodeFileEditor-TzJ3jOGA.js → CodeFileEditor-D8VLnyG-.js} +3 -3
- package/web/assets/{ConversationTemplateManagementPage-miUTtT6V.js → ConversationTemplateManagementPage-BhaalILc.js} +1 -1
- package/web/assets/{ConversationTemplateManagementPage-C--lGXNy.js → ConversationTemplateManagementPage-DRuU-2mk.js} +1 -1
- package/web/assets/{EnterpriseUserManagementPage-Dm68_c5s.js → EnterpriseUserManagementPage-D3kBpmW_.js} +1 -1
- package/web/assets/{EnvironmentSecretManager-Bp2olk8z.js → EnvironmentSecretManager-BY6ibbTg.js} +1 -1
- package/web/assets/{FilePreviewLoading-BL1oKs9m.js → FilePreviewLoading-CW_-vYEv.js} +8 -8
- package/web/assets/{FilePreviewLoading-D-dkPLX0.css → FilePreviewLoading-TmVJkujC.css} +1 -1
- package/web/assets/{LicenseManagementPage-CJ1C6pf2.js → LicenseManagementPage-wjZ2x2aJ.js} +1 -1
- package/web/assets/{ManagementPagination-DkTr_2dI.js → ManagementPagination-CSbL103K.js} +1 -1
- package/web/assets/{MarAgentModelManagementPage-UozSh55S.js → MarAgentModelManagementPage-BB0hk-GQ.js} +1 -1
- package/web/assets/{MarAgentModelManagementPage-CRqwLBgG.js → MarAgentModelManagementPage-BUaPEWQM.js} +1 -1
- package/web/assets/{MarAlert-Lr_X23Xf.js → MarAlert-BIXqe6_J.js} +1 -1
- package/web/assets/{MarCascader-B8f9O-W8.js → MarCascader-C2J5GjBw.js} +1 -1
- package/web/assets/{MarCheckTag-Cs_2Ic64.js → MarCheckTag-01qHo807.js} +1 -1
- package/web/assets/{MarCheckboxGroup-Dj96fvDX.js → MarCheckboxGroup-CMBj1w0E.js} +1 -1
- package/web/assets/{MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-DdZeYu3J.js → MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-DRaEaSWG.js} +1 -1
- package/web/assets/{MarDatePicker-Cmc1INbS.js → MarDatePicker-CG5Cw-gM.js} +1 -1
- package/web/assets/{MarDescriptionsItem-DYC39XCa.js → MarDescriptionsItem-n0QciGpi.js} +1 -1
- package/web/assets/{MarFormItem.vue_vue_type_script_setup_true_lang-D_KcqYLl.js → MarFormItem.vue_vue_type_script_setup_true_lang-CYXLZBn3.js} +1 -1
- package/web/assets/{MarInputNumber-Dq0LVVJv.js → MarInputNumber-BcQXNSgW.js} +1 -1
- package/web/assets/{MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-DnnhJpdp.js → MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-wj3wqzBo.js} +1 -1
- package/web/assets/{MarSwitch-DV6p-Y-5.js → MarSwitch-BWpgpElR.js} +1 -1
- package/web/assets/{MarTableColumn.vue_vue_type_script_setup_true_lang--yNtKIAd.js → MarTableColumn.vue_vue_type_script_setup_true_lang-B9QX8gr9.js} +1 -1
- package/web/assets/{MarTabs-DJ1H-ZDd.js → MarTabs-IcUSEY93.js} +1 -1
- package/web/assets/{MarTag-Bbp9_kj1.js → MarTag-CxlYiX8t.js} +1 -1
- package/web/assets/{MarkdownFilePreview-B4n-d7EM.js → MarkdownFilePreview-CCxlGgom.js} +2 -2
- package/web/assets/{McpDetailsDialog-Ski-oukR.js → McpDetailsDialog-CvVbH242.js} +1 -1
- package/web/assets/{McpSourceManagementPage-DmI78H6E.js → McpSourceManagementPage-CU7iKF9i.js} +1 -1
- package/web/assets/{McpSourceManagementPage-TwZ-DdlS.js → McpSourceManagementPage-LFJCWxYW.js} +1 -1
- package/web/assets/{NodeDetailsDialogs-AgF7ybyu.js → NodeDetailsDialogs-CtM4oKNX.js} +1 -1
- package/web/assets/NodeManagementPage-BUjCQend.js +1 -0
- package/web/assets/NodeManagementPage-DScwQZqF.js +1 -0
- package/web/assets/{OAuthManagementPage-DXThAEQJ.js → OAuthManagementPage-DJs1vapJ.js} +1 -1
- package/web/assets/{OrganizationManagementPage-pZRo4Sf7.js → OrganizationManagementPage-BaoTVDUb.js} +1 -1
- package/web/assets/{RemoteDesktopPage-AcNtpkxN.js → RemoteDesktopPage-CE1LFfcC.js} +1 -1
- package/web/assets/{ResourceManagementPanel-D2McL5_c.js → ResourceManagementPanel-0NiKqBrv.js} +1 -1
- package/web/assets/{ResourceManagementPanel.vue_vue_type_script_setup_true_lang-DwWJM0SV.js → ResourceManagementPanel.vue_vue_type_script_setup_true_lang-B9o0bbzQ.js} +1 -1
- package/web/assets/SecretManagementPage-LO_IW0_0.js +1 -0
- package/web/assets/{SecretManagementPage-CtM1tiha.js → SecretManagementPage-w5pcLap2.js} +1 -1
- package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-D_en8CIq.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-DCoElfcw.js} +1 -1
- package/web/assets/{SessionSharePage-CjGSVRmm.js → SessionSharePage-CdS0fDU6.js} +2 -2
- package/web/assets/SettingsContent-BmGmgXyf.css +1 -0
- package/web/assets/{SettingsContent-CHkH7Njj.js → SettingsContent-CMjCWCcz.js} +1 -1
- package/web/assets/SettingsContent-CrxJvZXU.js +1 -0
- package/web/assets/SkillCenterPage-CbRHlo_3.js +1 -0
- package/web/assets/{SkillCenterPage-xZ5DCoNn.js → SkillCenterPage-D8fxeKqD.js} +1 -1
- package/web/assets/{SkillDetailsDialog-YKlGy43D.js → SkillDetailsDialog-CEsbW-2w.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-BAn5uFXh.js → SkillSourceManagementPage-Cpta95u0.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-BHh1-j2t.js → SkillSourceManagementPage-CqoJOBY3.js} +1 -1
- package/web/assets/{StandaloneFilePreviewPage-C8ouGbn0.js → StandaloneFilePreviewPage-Bl-A3-A3.js} +1 -1
- package/web/assets/{SystemConfigurationPage-CmH4-1Ye.js → SystemConfigurationPage-DWFiYNz_.js} +1 -1
- package/web/assets/{SystemConfigurationPage-DJY-5QMb.js → SystemConfigurationPage-Dm_kWCl2.js} +1 -1
- package/web/assets/{SystemInformationPage-sxQiYLvH.js → SystemInformationPage-QlZExx-c.js} +1 -1
- package/web/assets/{TerminalTabView-4SHi6Tuq.js → TerminalTabView-BP57trNC.js} +1 -1
- package/web/assets/WorkbenchPage-CP05FQUe.css +1 -0
- package/web/assets/WorkbenchPage-uEm4WN8I.js +22 -0
- package/web/assets/WorkspaceManagementPage-C-5lVy-g.js +1 -0
- package/web/assets/WorkspaceManagementPage-Cc5vGTWN.js +1 -0
- package/web/assets/{abnfDiagram-VCTEODGH-m4Ea8bFn.js → abnfDiagram-VCTEODGH-Du0MybKC.js} +1 -1
- package/web/assets/{arc-DoO7g-NH.js → arc-B5y5KmDt.js} +1 -1
- package/web/assets/{architectureDiagram-5GKGNRK7-CABBlHa6.js → architectureDiagram-5GKGNRK7-DhG7rDLG.js} +1 -1
- package/web/assets/{blockDiagram-OSKFZWR5-Dg5iZDQU.js → blockDiagram-OSKFZWR5-DCJ1wB-r.js} +1 -1
- package/web/assets/{c4Diagram-7LVT6UL2-DqM5H_AR.js → c4Diagram-7LVT6UL2-B1CP1sYt.js} +1 -1
- package/web/assets/{catalog-ownership-service-CCc_xh6G.js → catalog-ownership-service-BUFIMbci.js} +1 -1
- package/web/assets/{catalog-page-service-BrZZehVy.js → catalog-page-service-B_JepXTI.js} +1 -1
- package/web/assets/channel-D3rjMA5A.js +1 -0
- package/web/assets/{chunk-2Q5K7J3B-B4LMeEXe.js → chunk-2Q5K7J3B-DuRuX86Y.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-C2DWL55Y.js → chunk-5VM5RSS4-DBJ6aoTo.js} +1 -1
- package/web/assets/{chunk-F27PBJKO-CqTt6ISb.js → chunk-F27PBJKO-2f9iSjYP.js} +1 -1
- package/web/assets/{chunk-HLEWEB6X-1z5p4_HG.js → chunk-HLEWEB6X-CJOBbR1k.js} +1 -1
- package/web/assets/{chunk-JWPE2WC7-CIHKFKXh.js → chunk-JWPE2WC7-Dr98A5pY.js} +1 -1
- package/web/assets/{chunk-POPQ4Y6H-Cniji3a1.js → chunk-POPQ4Y6H-wjDvq3BN.js} +1 -1
- package/web/assets/{chunk-SVP7TREG-DM-kASM1.js → chunk-SVP7TREG-CClZQnxq.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-DXENRKpy.js → chunk-XXDRQBXY-DFtibmbb.js} +1 -1
- package/web/assets/{chunk-ZLD2IHE6-DqcJNgeV.js → chunk-ZLD2IHE6-C-lUW0FB.js} +1 -1
- package/web/assets/classDiagram-CYGNFDIV-Bcjd_47g.js +1 -0
- package/web/assets/classDiagram-v2-TLXNO2FR-Bcjd_47g.js +1 -0
- package/web/assets/{conversation-history-D68OKjrf.js → conversation-history-CpANgf3A.js} +1 -1
- package/web/assets/{cose-bilkent-JH36ORCC-J2gV8FWD.js → cose-bilkent-JH36ORCC-BKU7oQGN.js} +1 -1
- package/web/assets/{cynefin-OW5HDTMX-Cj2K8MCj.js → cynefin-OW5HDTMX-DumaFVqy.js} +1 -1
- package/web/assets/{cynefinDiagram-5FMLGOSQ-DKuKqP7Z.js → cynefinDiagram-5FMLGOSQ-CLP-sNpW.js} +1 -1
- package/web/assets/{dagre-OS7QT2EB-BK9LShWP.js → dagre-OS7QT2EB-Wi4imYgt.js} +1 -1
- package/web/assets/{diagram-S7CK7UJ4-DFkTm77t.js → diagram-S7CK7UJ4-D9BP3ZAo.js} +1 -1
- package/web/assets/{diagram-UQ7AKVKN-C-DY89xN.js → diagram-UQ7AKVKN-BJ1P4Mge.js} +1 -1
- package/web/assets/{diagram-VSXAHHWV-Cl29sqjL.js → diagram-VSXAHHWV-CdyIDgCH.js} +1 -1
- package/web/assets/{diagram-VX7I27RA-MtWmag2l.js → diagram-VX7I27RA-BXjFSNYv.js} +1 -1
- package/web/assets/{diagram-Z3DM3KII-C24-eWcv.js → diagram-Z3DM3KII-CPtB7ZmG.js} +1 -1
- package/web/assets/{ebnfDiagram-PWID7BFC-DDvylVdJ.js → ebnfDiagram-PWID7BFC-uA6gqyzY.js} +1 -1
- package/web/assets/{enterprise-management-service-BfQumzb5.js → enterprise-management-service-BX8NJuDk.js} +1 -1
- package/web/assets/{erDiagram-2YWLMYGG-DvHX3-Kq.js → erDiagram-2YWLMYGG-23iIB5QW.js} +1 -1
- package/web/assets/{error-presentation-Cc-ga4CF.js → error-presentation-XfbdSDGg.js} +1 -1
- package/web/assets/{flowDiagram-T62WH6J4-_phJAXzY.js → flowDiagram-T62WH6J4-Mbk77o-A.js} +1 -1
- package/web/assets/{ganttDiagram-EL5Y4UJY-Di8Qr97n.js → ganttDiagram-EL5Y4UJY-BlU3FoGq.js} +1 -1
- package/web/assets/{gitGraphDiagram-WWUBYQGX-CTqWRKVq.js → gitGraphDiagram-WWUBYQGX-D6Vo5lDX.js} +1 -1
- package/web/assets/{hosted-conversation-template-client-hHY_YnpG.js → hosted-conversation-template-client-CLYMEop0.js} +1 -1
- package/web/assets/{index-DaWB9eXu.js → index-0r8KZ1EM.js} +1 -1
- package/web/assets/{index-Bnw27ovL.css → index-B-bVIIi7.css} +1 -1
- package/web/assets/{index-BXLcqLkt.js → index-B4wYYpF_.js} +1 -1
- package/web/assets/{index-BCRlnY72.js → index-B7_0vFkh.js} +1 -1
- package/web/assets/{index-C9-5eS8t.js → index-BLwmotpi.js} +1 -1
- package/web/assets/{index-CmW2WAM3.js → index-BiXFIrDg.js} +1 -1
- package/web/assets/{index-CQTOWaqU.js → index-Bv73Gkvs.js} +1 -1
- package/web/assets/{index-BUD-N__H.js → index-C1M4rGeX.js} +1 -1
- package/web/assets/{index-B_a7cOVO.js → index-CFn4LQPs.js} +1 -1
- package/web/assets/{index-DruIlojG.js → index-CGi3RTUf.js} +1 -1
- package/web/assets/{index-Bg4IoSrJ.js → index-CKz27wi-.js} +1 -1
- package/web/assets/{index-vjJPPMBM.js → index-CSu7OC-_.js} +1 -1
- package/web/assets/{index-Bt-WVAVa.js → index-CZwpEOKz.js} +1 -1
- package/web/assets/{index-DMqs_YxU.js → index-CqB6PBOi.js} +1 -1
- package/web/assets/{index-xkAP2_TE.js → index-Cze0CH7J.js} +1 -1
- package/web/assets/{index-BrMti7Cp.js → index-D1yWQZFs.js} +1 -1
- package/web/assets/{index-BjPNbaNG.js → index-DSB2oKEj.js} +1 -1
- package/web/assets/{index-BMbYcdYx.js → index-DeWQ2Yz0.js} +1 -1
- package/web/assets/{index-BuOoMN5B.js → index-DheoeiF1.js} +1 -1
- package/web/assets/index-DoV6LpJ_.js +24 -0
- package/web/assets/{index-BZsI2C4r.js → index-Du7hD8W0.js} +1 -1
- package/web/assets/{index-B-tjxZvW.js → index-Dztpg-wO.js} +1 -1
- package/web/assets/{index-KgfDJ-TI.js → index-GmHBAdlI.js} +1 -1
- package/web/assets/{index-By5aG_Uu.js → index-Gp4KbdeM.js} +1 -1
- package/web/assets/{index-CKW4xJGF.js → index-TBUL-84O.js} +1 -1
- package/web/assets/{index-Dq6b7lFS.js → index-XhzHh3_N.js} +1 -1
- package/web/assets/{index-eeYo4pb1.js → index-lSgZTvIO.js} +1 -1
- package/web/assets/{index-_gAaEWum.js → index-qDTUZYRk.js} +1 -1
- package/web/assets/{infoDiagram-FKFFQAWI-6yTJ9WJM.js → infoDiagram-FKFFQAWI-DO351l4z.js} +1 -1
- package/web/assets/{ishikawaDiagram-5VMMS53U-BwPJzl1B.js → ishikawaDiagram-5VMMS53U-D9YiRNGM.js} +1 -1
- package/web/assets/{journeyDiagram-EYS64GPL-DqMTs5Li.js → journeyDiagram-EYS64GPL-sea-Dbqn.js} +1 -1
- package/web/assets/{kanban-definition-UXKFOSKX-DiUFmMVj.js → kanban-definition-UXKFOSKX-C2PU3Fae.js} +1 -1
- package/web/assets/{layout-RcK96nin.js → layout-D_Z1apep.js} +1 -1
- package/web/assets/{linear-D3rrvZV4.js → linear-CalIYjBa.js} +1 -1
- package/web/assets/{management-url-service-DgM256di.js → management-url-service-DVA6GKpw.js} +1 -1
- package/web/assets/{mar-agent-reasoning-effort-CQ9zMoX5.js → mar-agent-reasoning-effort-D4Vq-rFs.js} +1 -1
- package/web/assets/{mcp-center-service-q_iiWbEU.js → mcp-center-service-_QTumIMW.js} +1 -1
- package/web/assets/{mermaid.core-Bc4t5VlW.js → mermaid.core-d4RL5WfP.js} +5 -5
- package/web/assets/{mindmap-definition-THT77NOG-52tfD7rc.js → mindmap-definition-THT77NOG-BxJy_OV4.js} +1 -1
- package/web/assets/{mobile-dialog-return-service-vpMQmYkf.js → mobile-dialog-return-service-DysKDrQN.js} +1 -1
- package/web/assets/{oauth-callback-BW94qaVa.js → oauth-callback-CC4J0oeW.js} +1 -1
- package/web/assets/{pegDiagram-XKGWAZYB-Debg-R4C.js → pegDiagram-XKGWAZYB-DHubZ6bJ.js} +1 -1
- package/web/assets/{pieDiagram-E7YTZNPT-C-lm-u95.js → pieDiagram-E7YTZNPT-BMZyLzlV.js} +1 -1
- package/web/assets/{quadrantDiagram-AXDQQJYC-BRP8M3sB.js → quadrantDiagram-AXDQQJYC-ckqw-2qx.js} +1 -1
- package/web/assets/{railroadDiagram-O6MQD6OU-DpZO4-No.js → railroadDiagram-O6MQD6OU-Cn0fDcDC.js} +1 -1
- package/web/assets/{requirementDiagram-IS5BZ75X-lpy3P_xw.js → requirementDiagram-IS5BZ75X-QWv0_Ow2.js} +1 -1
- package/web/assets/runner-presentation-iiny0AkT.js +1 -0
- package/web/assets/{sankeyDiagram-P5KCCOFB-_FczU7Sw.js → sankeyDiagram-P5KCCOFB-DimfOq-9.js} +1 -1
- package/web/assets/{scoped-http-service-Bd86FIyT.js → scoped-http-service-BFcq9Zvc.js} +3 -3
- package/web/assets/{sequenceDiagram-WJ2MYXX4-DNZkXHPT.js → sequenceDiagram-WJ2MYXX4-gX0SwEWC.js} +1 -1
- package/web/assets/{session-share-client-service-6ttLTatD.js → session-share-client-service-D3FBWzBr.js} +1 -1
- package/web/assets/{sizeCapture-INFHLROL-CsSmqovy.js → sizeCapture-INFHLROL-BT5F5fTF.js} +1 -1
- package/web/assets/{stateDiagram-XQSTLZYL-BnWN1UFg.js → stateDiagram-XQSTLZYL-IroDqXZe.js} +1 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-BXKYzszG.js +1 -0
- package/web/assets/{swimlanes-V6O3JKXN-vRVxbYC3.js → swimlanes-V6O3JKXN-2eJ2xc8d.js} +1 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-Dzg0lR2v.js +8 -0
- package/web/assets/{time-presentation-BYNLpDeu.js → time-presentation-C8cg5brJ.js} +1 -1
- package/web/assets/{timeline-definition-24CTP7MA--zGxocM_.js → timeline-definition-24CTP7MA-Bj0QZw-p.js} +1 -1
- package/web/assets/{vennDiagram-4TSXK5OY-BIYmij6G.js → vennDiagram-4TSXK5OY-hvkC6G6B.js} +1 -1
- package/web/assets/{wardleyDiagram-VM6X3IG4-Bdfuw8M1.js → wardleyDiagram-VM6X3IG4-BdIuIixT.js} +1 -1
- package/web/assets/{workbench-live-service-CWtnQ07m.js → workbench-live-service-fxWoCh0C.js} +1 -1
- package/web/assets/{workbench-presentation-BhHBz6T1.js → workbench-presentation-B_OBr1FF.js} +1 -1
- package/web/assets/{xychartDiagram-S5SC5T6Z-A_mgRrXS.js → xychartDiagram-S5SC5T6Z-CW52lHg4.js} +1 -1
- package/web/docs/404.html +2 -2
- package/web/docs/administration/account.html +3 -3
- package/web/docs/administration/audit.html +3 -3
- package/web/docs/administration/conversation-templates.html +3 -3
- package/web/docs/administration/email-notifications.html +3 -3
- package/web/docs/administration/license.html +3 -3
- package/web/docs/administration/nodes-workspaces.html +3 -3
- package/web/docs/administration/oauth.html +3 -3
- package/web/docs/administration/secrets.html +3 -3
- package/web/docs/administration/template-workspace-maintenance.html +3 -3
- package/web/docs/administration/users-organizations.html +3 -3
- package/web/docs/assets/{app.BUFuPs97.js → app.wB-a6uw0.js} +1 -1
- package/web/docs/assets/chunks/@localSearchIndexen-US.DSjLYazS.js +1 -0
- package/web/docs/assets/chunks/@localSearchIndexroot.Dn2cxDJM.js +1 -0
- package/web/docs/assets/chunks/{VPLocalSearchBox.CC5FZLSr.js → VPLocalSearchBox.BLZg_5qy.js} +1 -1
- package/web/docs/assets/chunks/{theme.B7VEpUeg.js → theme.iCsbu-7D.js} +2 -2
- package/web/docs/assets/{concepts_node-and-workspace.md.D4_8X2QZ.js → concepts_node-and-workspace.md.kMVoeyoQ.js} +1 -1
- package/web/docs/assets/{concepts_node-and-workspace.md.D4_8X2QZ.lean.js → concepts_node-and-workspace.md.kMVoeyoQ.lean.js} +1 -1
- package/web/docs/assets/{en-US_concepts_node-and-workspace.md.BLl1KHPj.js → en-US_concepts_node-and-workspace.md.DXOEqvst.js} +1 -1
- package/web/docs/assets/{en-US_concepts_node-and-workspace.md.BLl1KHPj.lean.js → en-US_concepts_node-and-workspace.md.DXOEqvst.lean.js} +1 -1
- package/web/docs/assets/{en-US_operations_marctl.md.BwfEVzJW.js → en-US_operations_marctl.md.BFqJcU4O.js} +12 -7
- package/web/docs/assets/en-US_operations_marctl.md.BFqJcU4O.lean.js +1 -0
- package/web/docs/assets/en-US_workbench_navigation.md.BW-gfygd.js +1 -0
- package/web/docs/assets/{en-US_workbench_navigation.md.3W7bsQ4I.lean.js → en-US_workbench_navigation.md.BW-gfygd.lean.js} +1 -1
- package/web/docs/assets/{en-US_workbench_sessions.md.M9QKVl4Z.js → en-US_workbench_sessions.md.4DxY5XA7.js} +1 -1
- package/web/docs/assets/{en-US_workbench_sessions.md.M9QKVl4Z.lean.js → en-US_workbench_sessions.md.4DxY5XA7.lean.js} +1 -1
- package/web/docs/assets/operations_marctl.md.ZlO6mUvM.js +52 -0
- package/web/docs/assets/operations_marctl.md.ZlO6mUvM.lean.js +1 -0
- package/web/docs/assets/workbench_navigation.md.DUBx-MAk.js +1 -0
- package/web/docs/assets/{workbench_navigation.md.HvELxpD-.lean.js → workbench_navigation.md.DUBx-MAk.lean.js} +1 -1
- package/web/docs/assets/workbench_sessions.md.CeNjkWLp.js +1 -0
- package/web/docs/assets/workbench_sessions.md.CeNjkWLp.lean.js +1 -0
- package/web/docs/concepts/architecture.html +3 -3
- package/web/docs/concepts/data-and-security.html +3 -3
- package/web/docs/concepts/files-git-terminal.html +3 -3
- package/web/docs/concepts/node-and-workspace.html +5 -5
- package/web/docs/concepts/permissions-and-sharing.html +3 -3
- package/web/docs/concepts/runner-control.html +3 -3
- package/web/docs/concepts/secrets.html +3 -3
- package/web/docs/concepts/session-run-turn.html +3 -3
- package/web/docs/deployment/backup-restore.html +3 -3
- package/web/docs/deployment/network.html +3 -3
- package/web/docs/deployment/node-installation.html +3 -3
- package/web/docs/deployment/node-linux.html +3 -3
- package/web/docs/deployment/node-macos.html +3 -3
- package/web/docs/deployment/node-windows.html +3 -3
- package/web/docs/deployment/production.html +3 -3
- package/web/docs/deployment/security-checklist.html +3 -3
- package/web/docs/deployment/upgrade.html +3 -3
- package/web/docs/en-US/administration/account.html +3 -3
- package/web/docs/en-US/administration/audit.html +3 -3
- package/web/docs/en-US/administration/conversation-templates.html +3 -3
- package/web/docs/en-US/administration/email-notifications.html +3 -3
- package/web/docs/en-US/administration/license.html +3 -3
- package/web/docs/en-US/administration/nodes-workspaces.html +3 -3
- package/web/docs/en-US/administration/oauth.html +3 -3
- package/web/docs/en-US/administration/secrets.html +3 -3
- package/web/docs/en-US/administration/template-workspace-maintenance.html +3 -3
- package/web/docs/en-US/administration/users-organizations.html +3 -3
- package/web/docs/en-US/concepts/architecture.html +3 -3
- package/web/docs/en-US/concepts/data-and-security.html +3 -3
- package/web/docs/en-US/concepts/files-git-terminal.html +3 -3
- package/web/docs/en-US/concepts/node-and-workspace.html +5 -5
- package/web/docs/en-US/concepts/permissions-and-sharing.html +3 -3
- package/web/docs/en-US/concepts/runner-control.html +3 -3
- package/web/docs/en-US/concepts/secrets.html +3 -3
- package/web/docs/en-US/concepts/session-run-turn.html +3 -3
- package/web/docs/en-US/deployment/backup-restore.html +3 -3
- package/web/docs/en-US/deployment/network.html +3 -3
- package/web/docs/en-US/deployment/node-installation.html +3 -3
- package/web/docs/en-US/deployment/node-linux.html +3 -3
- package/web/docs/en-US/deployment/node-macos.html +3 -3
- package/web/docs/en-US/deployment/node-windows.html +3 -3
- package/web/docs/en-US/deployment/production.html +3 -3
- package/web/docs/en-US/deployment/security-checklist.html +3 -3
- package/web/docs/en-US/deployment/upgrade.html +3 -3
- package/web/docs/en-US/getting-started/connect-node.html +3 -3
- package/web/docs/en-US/getting-started/first-agent-session.html +3 -3
- package/web/docs/en-US/getting-started/first-login.html +3 -3
- package/web/docs/en-US/getting-started/next-steps.html +3 -3
- package/web/docs/en-US/getting-started/npm-quick-start.html +3 -3
- package/web/docs/en-US/getting-started/overview.html +3 -3
- package/web/docs/en-US/getting-started/prerequisites.html +3 -3
- package/web/docs/en-US/getting-started/register-workspace.html +3 -3
- package/web/docs/en-US/getting-started/server-installation.html +3 -3
- package/web/docs/en-US/operations/marctl.html +15 -10
- package/web/docs/en-US/reference/configuration.html +3 -3
- package/web/docs/en-US/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/en-US/reference/limits.html +3 -3
- package/web/docs/en-US/reference/ports-paths-data.html +3 -3
- package/web/docs/en-US/reference/status-and-errors.html +3 -3
- package/web/docs/en-US/runners/claude-code.html +3 -3
- package/web/docs/en-US/runners/codex.html +3 -3
- package/web/docs/en-US/runners/mar-agent.html +3 -3
- package/web/docs/en-US/runners/opencode.html +3 -3
- package/web/docs/en-US/runners/overview.html +3 -3
- package/web/docs/en-US/runners/runner-troubleshooting.html +3 -3
- package/web/docs/en-US/troubleshooting/node-offline.html +3 -3
- package/web/docs/en-US/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/en-US/troubleshooting/session-run.html +3 -3
- package/web/docs/en-US/troubleshooting/terminal.html +3 -3
- package/web/docs/en-US/troubleshooting/workspace-files.html +3 -3
- package/web/docs/en-US/workbench/browser.html +3 -3
- package/web/docs/en-US/workbench/composer.html +3 -3
- package/web/docs/en-US/workbench/context-and-plan.html +3 -3
- package/web/docs/en-US/workbench/conversation.html +3 -3
- package/web/docs/en-US/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/en-US/workbench/files.html +3 -3
- package/web/docs/en-US/workbench/git-changes.html +3 -3
- package/web/docs/en-US/workbench/git-history.html +3 -3
- package/web/docs/en-US/workbench/hosted-conversations.html +3 -3
- package/web/docs/en-US/workbench/mobile.html +3 -3
- package/web/docs/en-US/workbench/navigation.html +5 -5
- package/web/docs/en-US/workbench/remote-desktop.html +3 -3
- package/web/docs/en-US/workbench/sessions.html +5 -5
- package/web/docs/en-US/workbench/skills.html +3 -3
- package/web/docs/en-US/workbench/terminal.html +3 -3
- package/web/docs/getting-started/connect-node.html +3 -3
- package/web/docs/getting-started/first-agent-session.html +3 -3
- package/web/docs/getting-started/first-login.html +3 -3
- package/web/docs/getting-started/next-steps.html +3 -3
- package/web/docs/getting-started/npm-quick-start.html +3 -3
- package/web/docs/getting-started/overview.html +3 -3
- package/web/docs/getting-started/prerequisites.html +3 -3
- package/web/docs/getting-started/register-workspace.html +3 -3
- package/web/docs/getting-started/server-installation.html +3 -3
- package/web/docs/hashmap.json +1 -1
- package/web/docs/operations/marctl.html +15 -10
- package/web/docs/reference/configuration.html +3 -3
- package/web/docs/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/reference/limits.html +3 -3
- package/web/docs/reference/ports-paths-data.html +3 -3
- package/web/docs/reference/status-and-errors.html +3 -3
- package/web/docs/runners/claude-code.html +3 -3
- package/web/docs/runners/codex.html +3 -3
- package/web/docs/runners/mar-agent.html +3 -3
- package/web/docs/runners/opencode.html +3 -3
- package/web/docs/runners/overview.html +3 -3
- package/web/docs/runners/runner-troubleshooting.html +3 -3
- package/web/docs/troubleshooting/node-offline.html +3 -3
- package/web/docs/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/troubleshooting/session-run.html +3 -3
- package/web/docs/troubleshooting/terminal.html +3 -3
- package/web/docs/troubleshooting/workspace-files.html +3 -3
- package/web/docs/workbench/browser.html +3 -3
- package/web/docs/workbench/composer.html +3 -3
- package/web/docs/workbench/context-and-plan.html +3 -3
- package/web/docs/workbench/conversation.html +3 -3
- package/web/docs/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/workbench/files.html +3 -3
- package/web/docs/workbench/git-changes.html +3 -3
- package/web/docs/workbench/git-history.html +3 -3
- package/web/docs/workbench/hosted-conversations.html +3 -3
- package/web/docs/workbench/mobile.html +3 -3
- package/web/docs/workbench/navigation.html +5 -5
- package/web/docs/workbench/remote-desktop.html +3 -3
- package/web/docs/workbench/sessions.html +5 -5
- package/web/docs/workbench/skills.html +3 -3
- package/web/docs/workbench/terminal.html +3 -3
- package/web/index.html +3 -3
- package/web/service-worker.js +1 -1
- package/web/web-version.json +1 -1
- package/web/assets/AuditManagementPage-Ou9OevmX.js +0 -1
- package/web/assets/AuthEntryPanel-Ch5MOHmX.css +0 -1
- package/web/assets/NodeManagementPage-CsNl6Bdb.js +0 -1
- package/web/assets/NodeManagementPage-DWbsfg4x.js +0 -1
- package/web/assets/SecretManagementPage-zAobq9Av.js +0 -1
- package/web/assets/SettingsContent-BWU0mbbY.js +0 -1
- package/web/assets/SettingsContent-tt-arviP.css +0 -1
- package/web/assets/SkillCenterPage-DD14DyE9.js +0 -1
- package/web/assets/WorkbenchPage-BDX_tD2t.css +0 -1
- package/web/assets/WorkbenchPage-DmvLxhWf.js +0 -21
- package/web/assets/WorkspaceManagementPage-C6O8hMdR.js +0 -1
- package/web/assets/WorkspaceManagementPage-CcqcllcT.js +0 -1
- package/web/assets/channel-_CGdWSax.js +0 -1
- package/web/assets/classDiagram-CYGNFDIV-DRN5X-c0.js +0 -1
- package/web/assets/classDiagram-v2-TLXNO2FR-DRN5X-c0.js +0 -1
- package/web/assets/index-C7VV6Z1d.js +0 -24
- package/web/assets/runner-presentation-DWwS6EnO.js +0 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-DFVJ-LL2.js +0 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-Rv0g2ei4.js +0 -8
- package/web/docs/assets/chunks/@localSearchIndexen-US.eDuDyEqG.js +0 -1
- package/web/docs/assets/chunks/@localSearchIndexroot.DWFpgMpO.js +0 -1
- package/web/docs/assets/en-US_operations_marctl.md.BwfEVzJW.lean.js +0 -1
- package/web/docs/assets/en-US_workbench_navigation.md.3W7bsQ4I.js +0 -1
- package/web/docs/assets/operations_marctl.md.DViLDEoR.js +0 -47
- package/web/docs/assets/operations_marctl.md.DViLDEoR.lean.js +0 -1
- package/web/docs/assets/workbench_navigation.md.HvELxpD-.js +0 -1
- package/web/docs/assets/workbench_sessions.md.CwztGf0o.js +0 -1
- package/web/docs/assets/workbench_sessions.md.CwztGf0o.lean.js +0 -1
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
const integers = (min, max) => z
|
|
3
|
+
.array(z.number().int().min(min).max(max))
|
|
4
|
+
.min(1)
|
|
5
|
+
.max(max - min + 1);
|
|
6
|
+
export const scheduledClockTimeSchema = z.string().regex(/^([01]\d|2[0-3]):[0-5]\d$/);
|
|
7
|
+
const time = scheduledClockTimeSchema;
|
|
8
|
+
export const scheduledTriggerSchema = z.discriminatedUnion('kind', [
|
|
9
|
+
z.strictObject({ kind: z.literal('once'), time, date: z.string().date() }),
|
|
10
|
+
z.strictObject({ kind: z.literal('daily'), time }),
|
|
11
|
+
z.strictObject({ kind: z.literal('weekly'), time, weekdays: integers(0, 6) }),
|
|
12
|
+
z.strictObject({ kind: z.literal('monthly'), time, monthDays: integers(1, 31) })
|
|
13
|
+
]);
|
|
14
|
+
export const scheduledTriggerLimit = 1024;
|
|
15
|
+
export const scheduledTriggersSchema = z
|
|
16
|
+
.array(scheduledTriggerSchema)
|
|
17
|
+
.min(1)
|
|
18
|
+
.max(scheduledTriggerLimit);
|
|
19
|
+
export const scheduledPreviewFields = {
|
|
20
|
+
taskId: z.string().min(1).max(512).optional(),
|
|
21
|
+
triggers: scheduledTriggersSchema.optional(),
|
|
22
|
+
suggestTime: scheduledClockTimeSchema.optional()
|
|
23
|
+
};
|
|
24
|
+
export const scheduledTaskIdSchema = z.string().min(1).max(512);
|
|
25
|
+
export const scheduledTaskRevisionSchema = z.number().int().positive().max(Number.MAX_SAFE_INTEGER);
|
|
26
|
+
export const scheduledTaskTargetKindSchema = z.enum(['existing', 'newSession', 'unbound']);
|
|
27
|
+
export const scheduledTaskStateSchema = z.enum(['scheduled', 'paused', 'finished', 'unbound']);
|
|
28
|
+
/** Transport invalidation only; never carries a task or execution snapshot. */
|
|
29
|
+
export const scheduledTaskChangedSchema = z.strictObject({
|
|
30
|
+
workspaceId: scheduledTaskIdSchema,
|
|
31
|
+
topic: z.literal('schedule.changed')
|
|
32
|
+
});
|
|
33
|
+
export const scheduledOccurrenceChangedSchema = scheduledTaskChangedSchema.extend({
|
|
34
|
+
topic: z.literal('schedule.occurrence.changed')
|
|
35
|
+
});
|
|
36
|
+
export const scheduleInvalidationSchema = z.discriminatedUnion('topic', [
|
|
37
|
+
scheduledTaskChangedSchema,
|
|
38
|
+
scheduledOccurrenceChangedSchema
|
|
39
|
+
]);
|
|
40
|
+
export const scheduledTasksApiVersion = 2;
|
|
41
|
+
export const scheduledTasksCapabilitySchema = z.strictObject({
|
|
42
|
+
apiVersion: z.number().int().positive()
|
|
43
|
+
});
|
|
44
|
+
export const scheduledTaskFields = {
|
|
45
|
+
name: z.string().trim().min(1).max(160).describe('Short name for this task.'),
|
|
46
|
+
objective: z
|
|
47
|
+
.string()
|
|
48
|
+
.trim()
|
|
49
|
+
.min(1)
|
|
50
|
+
.max(20_000)
|
|
51
|
+
.describe('Instructions to execute at each trigger, not instructions to configure the schedule.'),
|
|
52
|
+
triggers: scheduledTriggersSchema.describe('One HH:mm per entry in the task time zone (Node time zone on creation). Once requires a concrete date. Weekdays are 0 (Sunday) to 6 (Saturday).')
|
|
53
|
+
};
|
|
54
|
+
export const scheduledTaskFieldsSchema = z.strictObject(scheduledTaskFields);
|
|
55
|
+
export const scheduledTaskPatchSchema = scheduledTaskFieldsSchema
|
|
56
|
+
.partial()
|
|
57
|
+
.refine((patch) => Object.keys(patch).length > 0);
|
|
58
|
+
export const scheduledNewSessionSchema = z.strictObject({
|
|
59
|
+
runner: z.enum(['mar-agent', 'codex', 'claude-code', 'opencode']),
|
|
60
|
+
model: z.discriminatedUnion('kind', [
|
|
61
|
+
z.strictObject({ kind: z.literal('default') }),
|
|
62
|
+
z.strictObject({ kind: z.literal('fixed'), modelId: z.string().trim().min(1).max(256) })
|
|
63
|
+
]),
|
|
64
|
+
effort: z.string().trim().min(1).max(32).optional()
|
|
65
|
+
});
|
|
66
|
+
export const scheduledTargetSchema = z.discriminatedUnion('kind', [
|
|
67
|
+
z.strictObject({ kind: z.literal('existing'), sessionId: scheduledTaskIdSchema }),
|
|
68
|
+
scheduledNewSessionSchema.extend({ kind: z.literal('newSession') })
|
|
69
|
+
]);
|
|
70
|
+
export const scheduledTaskWriteSchema = z.object({
|
|
71
|
+
...scheduledTaskFields,
|
|
72
|
+
enabled: z.boolean().optional(),
|
|
73
|
+
notifyOnTerminal: z.boolean().optional(),
|
|
74
|
+
graceMinutes: z.number().int().min(0).max(60).optional()
|
|
75
|
+
});
|
|
76
|
+
export const scheduledTaskOwnerPatchSchema = scheduledTaskWriteSchema
|
|
77
|
+
.extend({ target: scheduledTargetSchema })
|
|
78
|
+
.partial()
|
|
79
|
+
.strict();
|
|
80
|
+
const limit = z.number().int().min(1).max(30).optional();
|
|
81
|
+
const taskId = scheduledTaskIdSchema.describe('Task ID returned by create or list.');
|
|
82
|
+
export const scheduleToolInputs = {
|
|
83
|
+
list: z.strictObject({ cursor: z.string().min(1).max(4096).optional(), limit }),
|
|
84
|
+
get: z.strictObject({ taskId }),
|
|
85
|
+
create: scheduledTaskFieldsSchema,
|
|
86
|
+
update: z.strictObject({
|
|
87
|
+
taskId,
|
|
88
|
+
expectedRevision: scheduledTaskRevisionSchema,
|
|
89
|
+
patch: scheduledTaskPatchSchema
|
|
90
|
+
}),
|
|
91
|
+
runs: z.strictObject({ taskId, before: scheduledTaskRevisionSchema.optional(), limit })
|
|
92
|
+
};
|
|
@@ -1,4 +1,161 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const scheduledTaskNotificationPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
3
|
+
targetType: z.ZodLiteral<"SCHEDULED_TASK">;
|
|
4
|
+
workspaceId: z.ZodString;
|
|
5
|
+
taskId: z.ZodString;
|
|
6
|
+
taskName: z.ZodString;
|
|
7
|
+
} & {
|
|
8
|
+
userId: z.ZodNumber;
|
|
9
|
+
notificationId: z.ZodString;
|
|
10
|
+
runId: z.ZodString;
|
|
11
|
+
occurredAt: z.ZodNumber;
|
|
12
|
+
} & {
|
|
13
|
+
kind: z.ZodEnum<["SCHEDULE_SKIPPED", "SCHEDULE_FAILED"]>;
|
|
14
|
+
reference: z.ZodObject<{
|
|
15
|
+
kind: z.ZodLiteral<"occurrence">;
|
|
16
|
+
id: z.ZodString;
|
|
17
|
+
}, "strict", z.ZodTypeAny, {
|
|
18
|
+
id: string;
|
|
19
|
+
kind: "occurrence";
|
|
20
|
+
}, {
|
|
21
|
+
id: string;
|
|
22
|
+
kind: "occurrence";
|
|
23
|
+
}>;
|
|
24
|
+
code: z.ZodString;
|
|
25
|
+
}, "strict", z.ZodTypeAny, {
|
|
26
|
+
code: string;
|
|
27
|
+
workspaceId: string;
|
|
28
|
+
userId: number;
|
|
29
|
+
kind: "SCHEDULE_SKIPPED" | "SCHEDULE_FAILED";
|
|
30
|
+
reference: {
|
|
31
|
+
id: string;
|
|
32
|
+
kind: "occurrence";
|
|
33
|
+
};
|
|
34
|
+
targetType: "SCHEDULED_TASK";
|
|
35
|
+
occurredAt: number;
|
|
36
|
+
runId: string;
|
|
37
|
+
taskId: string;
|
|
38
|
+
notificationId: string;
|
|
39
|
+
taskName: string;
|
|
40
|
+
}, {
|
|
41
|
+
code: string;
|
|
42
|
+
workspaceId: string;
|
|
43
|
+
userId: number;
|
|
44
|
+
kind: "SCHEDULE_SKIPPED" | "SCHEDULE_FAILED";
|
|
45
|
+
reference: {
|
|
46
|
+
id: string;
|
|
47
|
+
kind: "occurrence";
|
|
48
|
+
};
|
|
49
|
+
targetType: "SCHEDULED_TASK";
|
|
50
|
+
occurredAt: number;
|
|
51
|
+
runId: string;
|
|
52
|
+
taskId: string;
|
|
53
|
+
notificationId: string;
|
|
54
|
+
taskName: string;
|
|
55
|
+
}>, z.ZodObject<{
|
|
56
|
+
targetType: z.ZodLiteral<"SCHEDULED_TASK">;
|
|
57
|
+
workspaceId: z.ZodString;
|
|
58
|
+
taskId: z.ZodString;
|
|
59
|
+
taskName: z.ZodString;
|
|
60
|
+
} & {
|
|
61
|
+
userId: z.ZodNumber;
|
|
62
|
+
notificationId: z.ZodString;
|
|
63
|
+
runId: z.ZodString;
|
|
64
|
+
occurredAt: z.ZodNumber;
|
|
65
|
+
} & {
|
|
66
|
+
kind: z.ZodLiteral<"SCHEDULE_PROPOSAL">;
|
|
67
|
+
reference: z.ZodObject<{
|
|
68
|
+
kind: z.ZodLiteral<"proposal">;
|
|
69
|
+
id: z.ZodString;
|
|
70
|
+
}, "strict", z.ZodTypeAny, {
|
|
71
|
+
id: string;
|
|
72
|
+
kind: "proposal";
|
|
73
|
+
}, {
|
|
74
|
+
id: string;
|
|
75
|
+
kind: "proposal";
|
|
76
|
+
}>;
|
|
77
|
+
}, "strict", z.ZodTypeAny, {
|
|
78
|
+
workspaceId: string;
|
|
79
|
+
userId: number;
|
|
80
|
+
kind: "SCHEDULE_PROPOSAL";
|
|
81
|
+
reference: {
|
|
82
|
+
id: string;
|
|
83
|
+
kind: "proposal";
|
|
84
|
+
};
|
|
85
|
+
targetType: "SCHEDULED_TASK";
|
|
86
|
+
occurredAt: number;
|
|
87
|
+
runId: string;
|
|
88
|
+
taskId: string;
|
|
89
|
+
notificationId: string;
|
|
90
|
+
taskName: string;
|
|
91
|
+
}, {
|
|
92
|
+
workspaceId: string;
|
|
93
|
+
userId: number;
|
|
94
|
+
kind: "SCHEDULE_PROPOSAL";
|
|
95
|
+
reference: {
|
|
96
|
+
id: string;
|
|
97
|
+
kind: "proposal";
|
|
98
|
+
};
|
|
99
|
+
targetType: "SCHEDULED_TASK";
|
|
100
|
+
occurredAt: number;
|
|
101
|
+
runId: string;
|
|
102
|
+
taskId: string;
|
|
103
|
+
notificationId: string;
|
|
104
|
+
taskName: string;
|
|
105
|
+
}>, z.ZodObject<{
|
|
106
|
+
targetType: z.ZodLiteral<"SCHEDULED_TASK">;
|
|
107
|
+
workspaceId: z.ZodString;
|
|
108
|
+
taskId: z.ZodString;
|
|
109
|
+
taskName: z.ZodString;
|
|
110
|
+
} & {
|
|
111
|
+
userId: z.ZodNumber;
|
|
112
|
+
notificationId: z.ZodString;
|
|
113
|
+
runId: z.ZodString;
|
|
114
|
+
occurredAt: z.ZodNumber;
|
|
115
|
+
} & {
|
|
116
|
+
kind: z.ZodLiteral<"SCHEDULE_TERMINAL">;
|
|
117
|
+
reference: z.ZodObject<{
|
|
118
|
+
kind: z.ZodLiteral<"occurrence">;
|
|
119
|
+
id: z.ZodString;
|
|
120
|
+
}, "strict", z.ZodTypeAny, {
|
|
121
|
+
id: string;
|
|
122
|
+
kind: "occurrence";
|
|
123
|
+
}, {
|
|
124
|
+
id: string;
|
|
125
|
+
kind: "occurrence";
|
|
126
|
+
}>;
|
|
127
|
+
outcome: z.ZodEnum<["SUCCEEDED", "FAILED", "CANCELLED", "INTERRUPTED"]>;
|
|
128
|
+
}, "strict", z.ZodTypeAny, {
|
|
129
|
+
workspaceId: string;
|
|
130
|
+
userId: number;
|
|
131
|
+
kind: "SCHEDULE_TERMINAL";
|
|
132
|
+
reference: {
|
|
133
|
+
id: string;
|
|
134
|
+
kind: "occurrence";
|
|
135
|
+
};
|
|
136
|
+
targetType: "SCHEDULED_TASK";
|
|
137
|
+
occurredAt: number;
|
|
138
|
+
runId: string;
|
|
139
|
+
taskId: string;
|
|
140
|
+
notificationId: string;
|
|
141
|
+
taskName: string;
|
|
142
|
+
outcome: "SUCCEEDED" | "FAILED" | "CANCELLED" | "INTERRUPTED";
|
|
143
|
+
}, {
|
|
144
|
+
workspaceId: string;
|
|
145
|
+
userId: number;
|
|
146
|
+
kind: "SCHEDULE_TERMINAL";
|
|
147
|
+
reference: {
|
|
148
|
+
id: string;
|
|
149
|
+
kind: "occurrence";
|
|
150
|
+
};
|
|
151
|
+
targetType: "SCHEDULED_TASK";
|
|
152
|
+
occurredAt: number;
|
|
153
|
+
runId: string;
|
|
154
|
+
taskId: string;
|
|
155
|
+
notificationId: string;
|
|
156
|
+
taskName: string;
|
|
157
|
+
outcome: "SUCCEEDED" | "FAILED" | "CANCELLED" | "INTERRUPTED";
|
|
158
|
+
}>]>;
|
|
2
159
|
export declare const notificationTargetSchema: z.ZodDiscriminatedUnion<"targetType", [z.ZodObject<{
|
|
3
160
|
targetType: z.ZodLiteral<"WORKSPACE_SESSION">;
|
|
4
161
|
nodeId: z.ZodString;
|
|
@@ -35,6 +192,58 @@ export declare const notificationTargetSchema: z.ZodDiscriminatedUnion<"targetTy
|
|
|
35
192
|
targetType: "HOSTED_CONVERSATION";
|
|
36
193
|
conversationId: string;
|
|
37
194
|
conversationName: string;
|
|
195
|
+
}>, z.ZodObject<{
|
|
196
|
+
targetType: z.ZodLiteral<"SCHEDULED_TASK">;
|
|
197
|
+
workspaceId: z.ZodString;
|
|
198
|
+
taskId: z.ZodString;
|
|
199
|
+
taskName: z.ZodString;
|
|
200
|
+
} & {
|
|
201
|
+
nodeId: z.ZodString;
|
|
202
|
+
reference: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
203
|
+
kind: z.ZodLiteral<"occurrence">;
|
|
204
|
+
id: z.ZodString;
|
|
205
|
+
}, "strict", z.ZodTypeAny, {
|
|
206
|
+
id: string;
|
|
207
|
+
kind: "occurrence";
|
|
208
|
+
}, {
|
|
209
|
+
id: string;
|
|
210
|
+
kind: "occurrence";
|
|
211
|
+
}>, z.ZodObject<{
|
|
212
|
+
kind: z.ZodLiteral<"proposal">;
|
|
213
|
+
id: z.ZodString;
|
|
214
|
+
}, "strict", z.ZodTypeAny, {
|
|
215
|
+
id: string;
|
|
216
|
+
kind: "proposal";
|
|
217
|
+
}, {
|
|
218
|
+
id: string;
|
|
219
|
+
kind: "proposal";
|
|
220
|
+
}>]>;
|
|
221
|
+
}, "strict", z.ZodTypeAny, {
|
|
222
|
+
workspaceId: string;
|
|
223
|
+
nodeId: string;
|
|
224
|
+
reference: {
|
|
225
|
+
id: string;
|
|
226
|
+
kind: "occurrence";
|
|
227
|
+
} | {
|
|
228
|
+
id: string;
|
|
229
|
+
kind: "proposal";
|
|
230
|
+
};
|
|
231
|
+
targetType: "SCHEDULED_TASK";
|
|
232
|
+
taskId: string;
|
|
233
|
+
taskName: string;
|
|
234
|
+
}, {
|
|
235
|
+
workspaceId: string;
|
|
236
|
+
nodeId: string;
|
|
237
|
+
reference: {
|
|
238
|
+
id: string;
|
|
239
|
+
kind: "occurrence";
|
|
240
|
+
} | {
|
|
241
|
+
id: string;
|
|
242
|
+
kind: "proposal";
|
|
243
|
+
};
|
|
244
|
+
targetType: "SCHEDULED_TASK";
|
|
245
|
+
taskId: string;
|
|
246
|
+
taskName: string;
|
|
38
247
|
}>]>;
|
|
39
248
|
export declare const serverNotificationSchema: z.ZodObject<{
|
|
40
249
|
id: z.ZodString;
|
|
@@ -81,6 +290,58 @@ export declare const serverNotificationSchema: z.ZodObject<{
|
|
|
81
290
|
targetType: "HOSTED_CONVERSATION";
|
|
82
291
|
conversationId: string;
|
|
83
292
|
conversationName: string;
|
|
293
|
+
}>, z.ZodObject<{
|
|
294
|
+
targetType: z.ZodLiteral<"SCHEDULED_TASK">;
|
|
295
|
+
workspaceId: z.ZodString;
|
|
296
|
+
taskId: z.ZodString;
|
|
297
|
+
taskName: z.ZodString;
|
|
298
|
+
} & {
|
|
299
|
+
nodeId: z.ZodString;
|
|
300
|
+
reference: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
301
|
+
kind: z.ZodLiteral<"occurrence">;
|
|
302
|
+
id: z.ZodString;
|
|
303
|
+
}, "strict", z.ZodTypeAny, {
|
|
304
|
+
id: string;
|
|
305
|
+
kind: "occurrence";
|
|
306
|
+
}, {
|
|
307
|
+
id: string;
|
|
308
|
+
kind: "occurrence";
|
|
309
|
+
}>, z.ZodObject<{
|
|
310
|
+
kind: z.ZodLiteral<"proposal">;
|
|
311
|
+
id: z.ZodString;
|
|
312
|
+
}, "strict", z.ZodTypeAny, {
|
|
313
|
+
id: string;
|
|
314
|
+
kind: "proposal";
|
|
315
|
+
}, {
|
|
316
|
+
id: string;
|
|
317
|
+
kind: "proposal";
|
|
318
|
+
}>]>;
|
|
319
|
+
}, "strict", z.ZodTypeAny, {
|
|
320
|
+
workspaceId: string;
|
|
321
|
+
nodeId: string;
|
|
322
|
+
reference: {
|
|
323
|
+
id: string;
|
|
324
|
+
kind: "occurrence";
|
|
325
|
+
} | {
|
|
326
|
+
id: string;
|
|
327
|
+
kind: "proposal";
|
|
328
|
+
};
|
|
329
|
+
targetType: "SCHEDULED_TASK";
|
|
330
|
+
taskId: string;
|
|
331
|
+
taskName: string;
|
|
332
|
+
}, {
|
|
333
|
+
workspaceId: string;
|
|
334
|
+
nodeId: string;
|
|
335
|
+
reference: {
|
|
336
|
+
id: string;
|
|
337
|
+
kind: "occurrence";
|
|
338
|
+
} | {
|
|
339
|
+
id: string;
|
|
340
|
+
kind: "proposal";
|
|
341
|
+
};
|
|
342
|
+
targetType: "SCHEDULED_TASK";
|
|
343
|
+
taskId: string;
|
|
344
|
+
taskName: string;
|
|
84
345
|
}>]>;
|
|
85
346
|
}, "strict", z.ZodTypeAny, {
|
|
86
347
|
message: string;
|
|
@@ -101,6 +362,19 @@ export declare const serverNotificationSchema: z.ZodObject<{
|
|
|
101
362
|
targetType: "HOSTED_CONVERSATION";
|
|
102
363
|
conversationId: string;
|
|
103
364
|
conversationName: string;
|
|
365
|
+
} | {
|
|
366
|
+
workspaceId: string;
|
|
367
|
+
nodeId: string;
|
|
368
|
+
reference: {
|
|
369
|
+
id: string;
|
|
370
|
+
kind: "occurrence";
|
|
371
|
+
} | {
|
|
372
|
+
id: string;
|
|
373
|
+
kind: "proposal";
|
|
374
|
+
};
|
|
375
|
+
targetType: "SCHEDULED_TASK";
|
|
376
|
+
taskId: string;
|
|
377
|
+
taskName: string;
|
|
104
378
|
};
|
|
105
379
|
createdAt: number;
|
|
106
380
|
updatedAt: number;
|
|
@@ -123,6 +397,19 @@ export declare const serverNotificationSchema: z.ZodObject<{
|
|
|
123
397
|
targetType: "HOSTED_CONVERSATION";
|
|
124
398
|
conversationId: string;
|
|
125
399
|
conversationName: string;
|
|
400
|
+
} | {
|
|
401
|
+
workspaceId: string;
|
|
402
|
+
nodeId: string;
|
|
403
|
+
reference: {
|
|
404
|
+
id: string;
|
|
405
|
+
kind: "occurrence";
|
|
406
|
+
} | {
|
|
407
|
+
id: string;
|
|
408
|
+
kind: "proposal";
|
|
409
|
+
};
|
|
410
|
+
targetType: "SCHEDULED_TASK";
|
|
411
|
+
taskId: string;
|
|
412
|
+
taskName: string;
|
|
126
413
|
};
|
|
127
414
|
createdAt: number;
|
|
128
415
|
updatedAt: number;
|
|
@@ -174,6 +461,58 @@ export declare const notificationCreatedSchema: z.ZodObject<{
|
|
|
174
461
|
targetType: "HOSTED_CONVERSATION";
|
|
175
462
|
conversationId: string;
|
|
176
463
|
conversationName: string;
|
|
464
|
+
}>, z.ZodObject<{
|
|
465
|
+
targetType: z.ZodLiteral<"SCHEDULED_TASK">;
|
|
466
|
+
workspaceId: z.ZodString;
|
|
467
|
+
taskId: z.ZodString;
|
|
468
|
+
taskName: z.ZodString;
|
|
469
|
+
} & {
|
|
470
|
+
nodeId: z.ZodString;
|
|
471
|
+
reference: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
472
|
+
kind: z.ZodLiteral<"occurrence">;
|
|
473
|
+
id: z.ZodString;
|
|
474
|
+
}, "strict", z.ZodTypeAny, {
|
|
475
|
+
id: string;
|
|
476
|
+
kind: "occurrence";
|
|
477
|
+
}, {
|
|
478
|
+
id: string;
|
|
479
|
+
kind: "occurrence";
|
|
480
|
+
}>, z.ZodObject<{
|
|
481
|
+
kind: z.ZodLiteral<"proposal">;
|
|
482
|
+
id: z.ZodString;
|
|
483
|
+
}, "strict", z.ZodTypeAny, {
|
|
484
|
+
id: string;
|
|
485
|
+
kind: "proposal";
|
|
486
|
+
}, {
|
|
487
|
+
id: string;
|
|
488
|
+
kind: "proposal";
|
|
489
|
+
}>]>;
|
|
490
|
+
}, "strict", z.ZodTypeAny, {
|
|
491
|
+
workspaceId: string;
|
|
492
|
+
nodeId: string;
|
|
493
|
+
reference: {
|
|
494
|
+
id: string;
|
|
495
|
+
kind: "occurrence";
|
|
496
|
+
} | {
|
|
497
|
+
id: string;
|
|
498
|
+
kind: "proposal";
|
|
499
|
+
};
|
|
500
|
+
targetType: "SCHEDULED_TASK";
|
|
501
|
+
taskId: string;
|
|
502
|
+
taskName: string;
|
|
503
|
+
}, {
|
|
504
|
+
workspaceId: string;
|
|
505
|
+
nodeId: string;
|
|
506
|
+
reference: {
|
|
507
|
+
id: string;
|
|
508
|
+
kind: "occurrence";
|
|
509
|
+
} | {
|
|
510
|
+
id: string;
|
|
511
|
+
kind: "proposal";
|
|
512
|
+
};
|
|
513
|
+
targetType: "SCHEDULED_TASK";
|
|
514
|
+
taskId: string;
|
|
515
|
+
taskName: string;
|
|
177
516
|
}>]>;
|
|
178
517
|
}, "strict", z.ZodTypeAny, {
|
|
179
518
|
message: string;
|
|
@@ -194,6 +533,19 @@ export declare const notificationCreatedSchema: z.ZodObject<{
|
|
|
194
533
|
targetType: "HOSTED_CONVERSATION";
|
|
195
534
|
conversationId: string;
|
|
196
535
|
conversationName: string;
|
|
536
|
+
} | {
|
|
537
|
+
workspaceId: string;
|
|
538
|
+
nodeId: string;
|
|
539
|
+
reference: {
|
|
540
|
+
id: string;
|
|
541
|
+
kind: "occurrence";
|
|
542
|
+
} | {
|
|
543
|
+
id: string;
|
|
544
|
+
kind: "proposal";
|
|
545
|
+
};
|
|
546
|
+
targetType: "SCHEDULED_TASK";
|
|
547
|
+
taskId: string;
|
|
548
|
+
taskName: string;
|
|
197
549
|
};
|
|
198
550
|
createdAt: number;
|
|
199
551
|
updatedAt: number;
|
|
@@ -216,6 +568,19 @@ export declare const notificationCreatedSchema: z.ZodObject<{
|
|
|
216
568
|
targetType: "HOSTED_CONVERSATION";
|
|
217
569
|
conversationId: string;
|
|
218
570
|
conversationName: string;
|
|
571
|
+
} | {
|
|
572
|
+
workspaceId: string;
|
|
573
|
+
nodeId: string;
|
|
574
|
+
reference: {
|
|
575
|
+
id: string;
|
|
576
|
+
kind: "occurrence";
|
|
577
|
+
} | {
|
|
578
|
+
id: string;
|
|
579
|
+
kind: "proposal";
|
|
580
|
+
};
|
|
581
|
+
targetType: "SCHEDULED_TASK";
|
|
582
|
+
taskId: string;
|
|
583
|
+
taskName: string;
|
|
219
584
|
};
|
|
220
585
|
createdAt: number;
|
|
221
586
|
updatedAt: number;
|
|
@@ -241,6 +606,19 @@ export declare const notificationCreatedSchema: z.ZodObject<{
|
|
|
241
606
|
targetType: "HOSTED_CONVERSATION";
|
|
242
607
|
conversationId: string;
|
|
243
608
|
conversationName: string;
|
|
609
|
+
} | {
|
|
610
|
+
workspaceId: string;
|
|
611
|
+
nodeId: string;
|
|
612
|
+
reference: {
|
|
613
|
+
id: string;
|
|
614
|
+
kind: "occurrence";
|
|
615
|
+
} | {
|
|
616
|
+
id: string;
|
|
617
|
+
kind: "proposal";
|
|
618
|
+
};
|
|
619
|
+
targetType: "SCHEDULED_TASK";
|
|
620
|
+
taskId: string;
|
|
621
|
+
taskName: string;
|
|
244
622
|
};
|
|
245
623
|
createdAt: number;
|
|
246
624
|
updatedAt: number;
|
|
@@ -266,6 +644,19 @@ export declare const notificationCreatedSchema: z.ZodObject<{
|
|
|
266
644
|
targetType: "HOSTED_CONVERSATION";
|
|
267
645
|
conversationId: string;
|
|
268
646
|
conversationName: string;
|
|
647
|
+
} | {
|
|
648
|
+
workspaceId: string;
|
|
649
|
+
nodeId: string;
|
|
650
|
+
reference: {
|
|
651
|
+
id: string;
|
|
652
|
+
kind: "occurrence";
|
|
653
|
+
} | {
|
|
654
|
+
id: string;
|
|
655
|
+
kind: "proposal";
|
|
656
|
+
};
|
|
657
|
+
targetType: "SCHEDULED_TASK";
|
|
658
|
+
taskId: string;
|
|
659
|
+
taskName: string;
|
|
269
660
|
};
|
|
270
661
|
createdAt: number;
|
|
271
662
|
updatedAt: number;
|
|
@@ -2,6 +2,43 @@ import { z } from 'zod';
|
|
|
2
2
|
import { sessionGroupSchema } from './session-group.js';
|
|
3
3
|
const identity = z.string().min(1).max(256);
|
|
4
4
|
const timestamp = z.number().int().nonnegative().safe();
|
|
5
|
+
const scheduleIdentity = z.string().min(1).max(128);
|
|
6
|
+
const occurrenceReference = z
|
|
7
|
+
.object({ kind: z.literal('occurrence'), id: scheduleIdentity })
|
|
8
|
+
.strict();
|
|
9
|
+
const proposalReference = z.object({ kind: z.literal('proposal'), id: scheduleIdentity }).strict();
|
|
10
|
+
const scheduleTarget = z.object({
|
|
11
|
+
targetType: z.literal('SCHEDULED_TASK'),
|
|
12
|
+
workspaceId: scheduleIdentity,
|
|
13
|
+
taskId: scheduleIdentity,
|
|
14
|
+
taskName: z.string().min(1).max(160)
|
|
15
|
+
});
|
|
16
|
+
const scheduledNotificationBase = scheduleTarget.extend({
|
|
17
|
+
userId: z.number().int().positive().safe(),
|
|
18
|
+
notificationId: z.string().min(1).max(512),
|
|
19
|
+
runId: scheduleIdentity,
|
|
20
|
+
occurredAt: timestamp
|
|
21
|
+
});
|
|
22
|
+
// Node schedule notifications without a canonical Session intentionally have no Session route.
|
|
23
|
+
export const scheduledTaskNotificationPayloadSchema = z.union([
|
|
24
|
+
scheduledNotificationBase
|
|
25
|
+
.extend({
|
|
26
|
+
kind: z.enum(['SCHEDULE_SKIPPED', 'SCHEDULE_FAILED']),
|
|
27
|
+
reference: occurrenceReference,
|
|
28
|
+
code: z.string().regex(/^[A-Z][A-Z0-9_]{0,127}$/u)
|
|
29
|
+
})
|
|
30
|
+
.strict(),
|
|
31
|
+
scheduledNotificationBase
|
|
32
|
+
.extend({ kind: z.literal('SCHEDULE_PROPOSAL'), reference: proposalReference })
|
|
33
|
+
.strict(),
|
|
34
|
+
scheduledNotificationBase
|
|
35
|
+
.extend({
|
|
36
|
+
kind: z.literal('SCHEDULE_TERMINAL'),
|
|
37
|
+
reference: occurrenceReference,
|
|
38
|
+
outcome: z.enum(['SUCCEEDED', 'FAILED', 'CANCELLED', 'INTERRUPTED'])
|
|
39
|
+
})
|
|
40
|
+
.strict()
|
|
41
|
+
]);
|
|
5
42
|
export const notificationTargetSchema = z.discriminatedUnion('targetType', [
|
|
6
43
|
z
|
|
7
44
|
.object({
|
|
@@ -19,6 +56,12 @@ export const notificationTargetSchema = z.discriminatedUnion('targetType', [
|
|
|
19
56
|
nodeId: identity,
|
|
20
57
|
conversationId: identity,
|
|
21
58
|
conversationName: z.string()
|
|
59
|
+
})
|
|
60
|
+
.strict(),
|
|
61
|
+
scheduleTarget
|
|
62
|
+
.extend({
|
|
63
|
+
nodeId: identity,
|
|
64
|
+
reference: z.discriminatedUnion('kind', [occurrenceReference, proposalReference])
|
|
22
65
|
})
|
|
23
66
|
.strict()
|
|
24
67
|
]);
|
|
@@ -2,6 +2,12 @@ import { safePublicError, sendError, errorResponseOptions } from './http-errors.
|
|
|
2
2
|
export function domainErrorStatus(code) {
|
|
3
3
|
if (code === 'NODE_RESPONSE_INVALID')
|
|
4
4
|
return 502;
|
|
5
|
+
if (code === 'SCHEDULE_NOT_FOUND')
|
|
6
|
+
return 404;
|
|
7
|
+
if (code === 'SCHEDULE_OWNER_REQUIRED')
|
|
8
|
+
return 403;
|
|
9
|
+
if (code === 'SCHEDULE_REVISION_CONFLICT')
|
|
10
|
+
return 409;
|
|
5
11
|
if (code === 'SESSION_SHARE_NOT_FOUND')
|
|
6
12
|
return 404;
|
|
7
13
|
if (code === 'SESSION_SHARE_EXPIRED')
|
|
@@ -13,6 +13,8 @@ export declare const workbenchNotificationMessages: {
|
|
|
13
13
|
readonly detail: "请打开";
|
|
14
14
|
};
|
|
15
15
|
readonly schedule: {
|
|
16
|
+
readonly completed: "定时任务已完成";
|
|
17
|
+
readonly taskDetail: "请打开定时任务查看";
|
|
16
18
|
readonly skipped: {
|
|
17
19
|
readonly title: "定时任务已跳过";
|
|
18
20
|
readonly detail: "请打开会话查看记录";
|
|
@@ -51,6 +53,8 @@ export declare const workbenchNotificationMessages: {
|
|
|
51
53
|
readonly detail: "open it.";
|
|
52
54
|
};
|
|
53
55
|
readonly schedule: {
|
|
56
|
+
readonly completed: "Scheduled task completed";
|
|
57
|
+
readonly taskDetail: "open the scheduled task for details.";
|
|
54
58
|
readonly skipped: {
|
|
55
59
|
readonly title: "Scheduled task skipped";
|
|
56
60
|
readonly detail: "open the session for details.";
|
|
@@ -4,6 +4,8 @@ export const workbenchNotificationMessages = {
|
|
|
4
4
|
plan: { title: '计划可实施', detail: '请打开' },
|
|
5
5
|
userInput: { title: '需要你的回答', detail: '请打开' },
|
|
6
6
|
schedule: {
|
|
7
|
+
completed: '定时任务已完成',
|
|
8
|
+
taskDetail: '请打开定时任务查看',
|
|
7
9
|
skipped: { title: '定时任务已跳过', detail: '请打开会话查看记录' },
|
|
8
10
|
failed: { title: '定时任务运行失败', detail: '请打开会话查看记录' },
|
|
9
11
|
proposal: { title: '定时任务有待确认修改', detail: '请打开会话查看' }
|
|
@@ -24,6 +26,8 @@ export const workbenchNotificationMessages = {
|
|
|
24
26
|
plan: { title: 'Plan ready to implement', detail: 'open it.' },
|
|
25
27
|
userInput: { title: 'Your answer is required', detail: 'open it.' },
|
|
26
28
|
schedule: {
|
|
29
|
+
completed: 'Scheduled task completed',
|
|
30
|
+
taskDetail: 'open the scheduled task for details.',
|
|
27
31
|
skipped: { title: 'Scheduled task skipped', detail: 'open the session for details.' },
|
|
28
32
|
failed: { title: 'Scheduled task failed', detail: 'open the session for details.' },
|
|
29
33
|
proposal: { title: 'Scheduled task edit proposed', detail: 'open the session to review it.' }
|