@hotmeshio/long-tail 0.1.7 → 0.1.8
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/README.md +3 -1
- package/build/api/auth.d.ts +11 -0
- package/build/api/auth.js +11 -0
- package/build/api/bot-accounts.d.ts +87 -0
- package/build/api/bot-accounts.js +87 -0
- package/build/api/controlplane.d.ts +48 -0
- package/build/api/controlplane.js +48 -0
- package/build/api/dba.d.ts +27 -0
- package/build/api/dba.js +27 -0
- package/build/api/escalations.d.ts +201 -0
- package/build/api/escalations.js +236 -0
- package/build/api/exports.d.ts +58 -0
- package/build/api/exports.js +58 -0
- package/build/api/insight.d.ts +57 -0
- package/build/api/insight.js +57 -0
- package/build/api/maintenance.d.ts +15 -0
- package/build/api/maintenance.js +15 -0
- package/build/api/mcp-runs.d.ts +27 -0
- package/build/api/mcp-runs.js +27 -0
- package/build/api/mcp.d.ts +108 -0
- package/build/api/mcp.js +108 -0
- package/build/api/namespaces.d.ts +13 -0
- package/build/api/namespaces.js +13 -0
- package/build/api/roles.d.ts +63 -0
- package/build/api/roles.js +63 -5
- package/build/api/settings.d.ts +8 -0
- package/build/api/settings.js +8 -0
- package/build/api/tasks.d.ts +43 -0
- package/build/api/tasks.js +43 -0
- package/build/api/users.d.ts +71 -0
- package/build/api/users.js +71 -5
- package/build/api/workflow-sets.d.ts +51 -0
- package/build/api/workflow-sets.js +51 -0
- package/build/api/workflows.d.ts +110 -0
- package/build/api/workflows.js +109 -0
- package/build/api/yaml-workflows.d.ts +195 -0
- package/build/api/yaml-workflows.js +195 -0
- package/build/examples/types/envelopes.d.ts +27 -0
- package/build/examples/types/index.d.ts +1 -1
- package/build/examples/workers.js +8 -0
- package/build/examples/workflows/assembly-line/activities.d.ts +28 -0
- package/build/examples/workflows/assembly-line/activities.js +53 -0
- package/build/examples/workflows/assembly-line/index.d.ts +17 -0
- package/build/examples/workflows/assembly-line/index.js +60 -0
- package/build/examples/workflows/assembly-line/iterator.d.ts +12 -0
- package/build/examples/workflows/assembly-line/iterator.js +54 -0
- package/build/examples/workflows/assembly-line/reverter.d.ts +18 -0
- package/build/examples/workflows/assembly-line/reverter.js +89 -0
- package/build/examples/workflows/assembly-line/types.d.ts +25 -0
- package/build/examples/workflows/assembly-line/types.js +8 -0
- package/build/examples/workflows/assembly-line/worker.d.ts +13 -0
- package/build/examples/workflows/assembly-line/worker.js +81 -0
- package/build/routes/escalations/list.js +22 -0
- package/build/routes/workflows/invocation.js +15 -9
- package/build/sdk/index.d.ts +11 -0
- package/build/sdk/index.js +1 -0
- package/build/services/workflow-invocation.d.ts +15 -2
- package/build/services/workflow-invocation.js +11 -6
- package/build/tsconfig.tsbuildinfo +1 -1
- package/dashboard/dist/assets/{AdminDashboard-DRjkRSjJ.js → AdminDashboard-B15jSEV2.js} +2 -2
- package/dashboard/dist/assets/{AdminDashboard-DRjkRSjJ.js.map → AdminDashboard-B15jSEV2.js.map} +1 -1
- package/dashboard/dist/assets/{AvailableEscalationsPage-CnivX4Tz.js → AvailableEscalationsPage-0V2yvKak.js} +2 -2
- package/dashboard/dist/assets/{AvailableEscalationsPage-CnivX4Tz.js.map → AvailableEscalationsPage-0V2yvKak.js.map} +1 -1
- package/dashboard/dist/assets/{BotPicker-DwwaBhTH.js → BotPicker-B4UxHcek.js} +2 -2
- package/dashboard/dist/assets/{BotPicker-DwwaBhTH.js.map → BotPicker-B4UxHcek.js.map} +1 -1
- package/dashboard/dist/assets/{CollapsibleSection-DQpaVA0M.js → CollapsibleSection-BBexNWVd.js} +2 -2
- package/dashboard/dist/assets/{CollapsibleSection-DQpaVA0M.js.map → CollapsibleSection-BBexNWVd.js.map} +1 -1
- package/dashboard/dist/assets/{ConfirmDeleteModal-B7JoDNvt.js → ConfirmDeleteModal-DlPDJSq_.js} +2 -2
- package/dashboard/dist/assets/{ConfirmDeleteModal-B7JoDNvt.js.map → ConfirmDeleteModal-DlPDJSq_.js.map} +1 -1
- package/dashboard/dist/assets/{CopyableId-AqoZayBG.js → CopyableId-BxHW1ahb.js} +2 -2
- package/dashboard/dist/assets/{CopyableId-AqoZayBG.js.map → CopyableId-BxHW1ahb.js.map} +1 -1
- package/dashboard/dist/assets/{CredentialsPage-qGw1kQzi.js → CredentialsPage-Bp_Y1Szk.js} +2 -2
- package/dashboard/dist/assets/{CredentialsPage-qGw1kQzi.js.map → CredentialsPage-Bp_Y1Szk.js.map} +1 -1
- package/dashboard/dist/assets/{CustomDurationPicker-D1HUQcd0.js → CustomDurationPicker-ByBFqXSO.js} +2 -2
- package/dashboard/dist/assets/{CustomDurationPicker-D1HUQcd0.js.map → CustomDurationPicker-ByBFqXSO.js.map} +1 -1
- package/dashboard/dist/assets/{DataTable-DKvSKoVG.js → DataTable-DyIXg-tQ.js} +2 -2
- package/dashboard/dist/assets/{DataTable-DKvSKoVG.js.map → DataTable-DyIXg-tQ.js.map} +1 -1
- package/dashboard/dist/assets/{ElapsedCell-B0yrReGQ.js → ElapsedCell-BgnA0qpS.js} +2 -2
- package/dashboard/dist/assets/{ElapsedCell-B0yrReGQ.js.map → ElapsedCell-BgnA0qpS.js.map} +1 -1
- package/dashboard/dist/assets/{EmptyState-X0fIzYID.js → EmptyState-DlMImvgm.js} +2 -2
- package/dashboard/dist/assets/{EmptyState-X0fIzYID.js.map → EmptyState-DlMImvgm.js.map} +1 -1
- package/dashboard/dist/assets/{EscalationsOverview-BQAT9W7r.js → EscalationsOverview-D90kdfw1.js} +2 -2
- package/dashboard/dist/assets/{EscalationsOverview-BQAT9W7r.js.map → EscalationsOverview-D90kdfw1.js.map} +1 -1
- package/dashboard/dist/assets/{EventTable-CX1KNLhZ.js → EventTable-BNxtlgNz.js} +2 -2
- package/dashboard/dist/assets/{EventTable-CX1KNLhZ.js.map → EventTable-BNxtlgNz.js.map} +1 -1
- package/dashboard/dist/assets/{FilterBar-DMTvuQy-.js → FilterBar-BTiaAhCx.js} +2 -2
- package/dashboard/dist/assets/{FilterBar-DMTvuQy-.js.map → FilterBar-BTiaAhCx.js.map} +1 -1
- package/dashboard/dist/assets/{ListToolbar-DTOSxoEy.js → ListToolbar-BUcagSCn.js} +2 -2
- package/dashboard/dist/assets/{ListToolbar-DTOSxoEy.js.map → ListToolbar-BUcagSCn.js.map} +1 -1
- package/dashboard/dist/assets/{McpOverview-BaKTIWrG.js → McpOverview-B-tCvz8C.js} +2 -2
- package/dashboard/dist/assets/{McpOverview-BaKTIWrG.js.map → McpOverview-B-tCvz8C.js.map} +1 -1
- package/dashboard/dist/assets/{McpQueryDetailPage-CC08T5k8.js → McpQueryDetailPage-DPlF1wYb.js} +2 -2
- package/dashboard/dist/assets/{McpQueryDetailPage-CC08T5k8.js.map → McpQueryDetailPage-DPlF1wYb.js.map} +1 -1
- package/dashboard/dist/assets/{McpQueryPage-CVfF9dYg.js → McpQueryPage-Bz7AdcfR.js} +2 -2
- package/dashboard/dist/assets/{McpQueryPage-CVfF9dYg.js.map → McpQueryPage-Bz7AdcfR.js.map} +1 -1
- package/dashboard/dist/assets/{McpRunDetailPage-CKs1RWeV.js → McpRunDetailPage-Di_qpL2V.js} +2 -2
- package/dashboard/dist/assets/{McpRunDetailPage-CKs1RWeV.js.map → McpRunDetailPage-Di_qpL2V.js.map} +1 -1
- package/dashboard/dist/assets/{McpRunsPage-CcPD_tY1.js → McpRunsPage-BBgybBEa.js} +2 -2
- package/dashboard/dist/assets/{McpRunsPage-CcPD_tY1.js.map → McpRunsPage-BBgybBEa.js.map} +1 -1
- package/dashboard/dist/assets/{Modal-_2AbWxJT.js → Modal-CaJ0gTEa.js} +2 -2
- package/dashboard/dist/assets/{Modal-_2AbWxJT.js.map → Modal-CaJ0gTEa.js.map} +1 -1
- package/dashboard/dist/assets/{OperatorDashboard-BGiRaRDr.js → OperatorDashboard-DDfMmrmR.js} +2 -2
- package/dashboard/dist/assets/{OperatorDashboard-BGiRaRDr.js.map → OperatorDashboard-DDfMmrmR.js.map} +1 -1
- package/dashboard/dist/assets/{PageHeader-DVr5Qyzm.js → PageHeader-C5D-G5rp.js} +2 -2
- package/dashboard/dist/assets/{PageHeader-DVr5Qyzm.js.map → PageHeader-C5D-G5rp.js.map} +1 -1
- package/dashboard/dist/assets/{PageHeaderWithStats-D0KRASML.js → PageHeaderWithStats-DCa2eZh2.js} +2 -2
- package/dashboard/dist/assets/{PageHeaderWithStats-D0KRASML.js.map → PageHeaderWithStats-DCa2eZh2.js.map} +1 -1
- package/dashboard/dist/assets/{PriorityBadge-Bx2559OU.js → PriorityBadge-DTHq6OUZ.js} +2 -2
- package/dashboard/dist/assets/{PriorityBadge-Bx2559OU.js.map → PriorityBadge-DTHq6OUZ.js.map} +1 -1
- package/dashboard/dist/assets/{ProcessDetailPage-69I--sry.js → ProcessDetailPage-fC4dhrd0.js} +2 -2
- package/dashboard/dist/assets/{ProcessDetailPage-69I--sry.js.map → ProcessDetailPage-fC4dhrd0.js.map} +1 -1
- package/dashboard/dist/assets/{ProcessesListPage-BDpUbua2.js → ProcessesListPage-CL2MY8uD.js} +2 -2
- package/dashboard/dist/assets/{ProcessesListPage-BDpUbua2.js.map → ProcessesListPage-CL2MY8uD.js.map} +1 -1
- package/dashboard/dist/assets/{RolePill-CcAqEaSt.js → RolePill-kgKPANly.js} +2 -2
- package/dashboard/dist/assets/{RolePill-CcAqEaSt.js.map → RolePill-kgKPANly.js.map} +1 -1
- package/dashboard/dist/assets/{RolesPage-Cl23Hjet.js → RolesPage-Be2lXTHD.js} +2 -2
- package/dashboard/dist/assets/{RolesPage-Cl23Hjet.js.map → RolesPage-Be2lXTHD.js.map} +1 -1
- package/dashboard/dist/assets/{RowActions-B4mqIt3Z.js → RowActions-DIzJCwqR.js} +2 -2
- package/dashboard/dist/assets/{RowActions-B4mqIt3Z.js.map → RowActions-DIzJCwqR.js.map} +1 -1
- package/dashboard/dist/assets/{StatCard-Cz_2OjAZ.js → StatCard-CRi2Jy6t.js} +2 -2
- package/dashboard/dist/assets/{StatCard-Cz_2OjAZ.js.map → StatCard-CRi2Jy6t.js.map} +1 -1
- package/dashboard/dist/assets/{StatusBadge-Wi2FJZsn.js → StatusBadge-BETI_8Mr.js} +2 -2
- package/dashboard/dist/assets/{StatusBadge-Wi2FJZsn.js.map → StatusBadge-BETI_8Mr.js.map} +1 -1
- package/dashboard/dist/assets/{StepIndicator-PW5NRDMb.js → StepIndicator-DjpMqCjz.js} +2 -2
- package/dashboard/dist/assets/{StepIndicator-PW5NRDMb.js.map → StepIndicator-DjpMqCjz.js.map} +1 -1
- package/dashboard/dist/assets/{StickyPagination-Bl2Uzz65.js → StickyPagination-BZbExQ9t.js} +2 -2
- package/dashboard/dist/assets/{StickyPagination-Bl2Uzz65.js.map → StickyPagination-BZbExQ9t.js.map} +1 -1
- package/dashboard/dist/assets/{SwimlaneTimeline-CUPqMd0z.js → SwimlaneTimeline-DZthQyhR.js} +2 -2
- package/dashboard/dist/assets/{SwimlaneTimeline-CUPqMd0z.js.map → SwimlaneTimeline-DZthQyhR.js.map} +1 -1
- package/dashboard/dist/assets/{TagInput-BLtf86Ly.js → TagInput-CukbOfYn.js} +2 -2
- package/dashboard/dist/assets/{TagInput-BLtf86Ly.js.map → TagInput-CukbOfYn.js.map} +1 -1
- package/dashboard/dist/assets/{TaskDetailPage-BXJFX74D.js → TaskDetailPage-CIZHIKo9.js} +2 -2
- package/dashboard/dist/assets/{TaskDetailPage-BXJFX74D.js.map → TaskDetailPage-CIZHIKo9.js.map} +1 -1
- package/dashboard/dist/assets/{TaskQueuePill-CWYj3xKe.js → TaskQueuePill-Q7DGoysj.js} +2 -2
- package/dashboard/dist/assets/{TaskQueuePill-CWYj3xKe.js.map → TaskQueuePill-Q7DGoysj.js.map} +1 -1
- package/dashboard/dist/assets/{TasksListPage-C3cX94Mw.js → TasksListPage-CsC9wjb0.js} +2 -2
- package/dashboard/dist/assets/{TasksListPage-C3cX94Mw.js.map → TasksListPage-CsC9wjb0.js.map} +1 -1
- package/dashboard/dist/assets/{TimeAgo-B_5yDDHV.js → TimeAgo-BcOOnJeH.js} +2 -2
- package/dashboard/dist/assets/{TimeAgo-B_5yDDHV.js.map → TimeAgo-BcOOnJeH.js.map} +1 -1
- package/dashboard/dist/assets/{TimestampCell-DRX724uU.js → TimestampCell-CEMapYDQ.js} +2 -2
- package/dashboard/dist/assets/{TimestampCell-DRX724uU.js.map → TimestampCell-CEMapYDQ.js.map} +1 -1
- package/dashboard/dist/assets/{UserName-Ca8FA469.js → UserName-BHoN7iRL.js} +2 -2
- package/dashboard/dist/assets/{UserName-Ca8FA469.js.map → UserName-BHoN7iRL.js.map} +1 -1
- package/dashboard/dist/assets/{WorkflowExecutionPage-BBYWEV2P.js → WorkflowExecutionPage-DawKl1LT.js} +2 -2
- package/dashboard/dist/assets/{WorkflowExecutionPage-BBYWEV2P.js.map → WorkflowExecutionPage-DawKl1LT.js.map} +1 -1
- package/dashboard/dist/assets/{WorkflowPill-BXifAuLi.js → WorkflowPill-CP84Vqeg.js} +2 -2
- package/dashboard/dist/assets/{WorkflowPill-BXifAuLi.js.map → WorkflowPill-CP84Vqeg.js.map} +1 -1
- package/dashboard/dist/assets/{WorkflowsDashboard-Drl3juz9.js → WorkflowsDashboard-QrvVFxtQ.js} +2 -2
- package/dashboard/dist/assets/{WorkflowsDashboard-Drl3juz9.js.map → WorkflowsDashboard-QrvVFxtQ.js.map} +1 -1
- package/dashboard/dist/assets/{WorkflowsOverview-03IRrDLg.js → WorkflowsOverview-DuhAi_OY.js} +2 -2
- package/dashboard/dist/assets/{WorkflowsOverview-03IRrDLg.js.map → WorkflowsOverview-DuhAi_OY.js.map} +1 -1
- package/dashboard/dist/assets/{YamlWorkflowsPage-DC2cLxVi.js → YamlWorkflowsPage-Dc9xw82a.js} +2 -2
- package/dashboard/dist/assets/{YamlWorkflowsPage-DC2cLxVi.js.map → YamlWorkflowsPage-Dc9xw82a.js.map} +1 -1
- package/dashboard/dist/assets/{bots-DZEXcgiJ.js → bots-Dny-rmmI.js} +2 -2
- package/dashboard/dist/assets/{bots-DZEXcgiJ.js.map → bots-Dny-rmmI.js.map} +1 -1
- package/dashboard/dist/assets/{escalation-Cw48lNaF.js → escalation-CV0sKNH5.js} +2 -2
- package/dashboard/dist/assets/{escalation-Cw48lNaF.js.map → escalation-CV0sKNH5.js.map} +1 -1
- package/dashboard/dist/assets/{escalation-columns-NINpo3qf.js → escalation-columns-30CKyoWI.js} +2 -2
- package/dashboard/dist/assets/{escalation-columns-NINpo3qf.js.map → escalation-columns-30CKyoWI.js.map} +1 -1
- package/dashboard/dist/assets/{helpers-fk_qr729.js → helpers-C1-30CzH.js} +2 -2
- package/dashboard/dist/assets/{helpers-fk_qr729.js.map → helpers-C1-30CzH.js.map} +1 -1
- package/dashboard/dist/assets/{helpers-Cuu3xKfr.js → helpers-C1jaRD-d.js} +2 -2
- package/dashboard/dist/assets/{helpers-Cuu3xKfr.js.map → helpers-C1jaRD-d.js.map} +1 -1
- package/dashboard/dist/assets/{index-CNI7k7oB.js → index-BUVQ6wmy.js} +2 -2
- package/dashboard/dist/assets/{index-CNI7k7oB.js.map → index-BUVQ6wmy.js.map} +1 -1
- package/dashboard/dist/assets/{index-aRvL-dXp.js → index-CxVB7F4X.js} +2 -2
- package/dashboard/dist/assets/{index-aRvL-dXp.js.map → index-CxVB7F4X.js.map} +1 -1
- package/dashboard/dist/assets/{index-BIG3KooI.js → index-D-oCWCAS.js} +2 -2
- package/dashboard/dist/assets/{index-BIG3KooI.js.map → index-D-oCWCAS.js.map} +1 -1
- package/dashboard/dist/assets/{index-b03HlbnH.js → index-D0wPM3Ck.js} +2 -2
- package/dashboard/dist/assets/{index-b03HlbnH.js.map → index-D0wPM3Ck.js.map} +1 -1
- package/dashboard/dist/assets/{index-DwRytW9O.js → index-DHgnkykj.js} +2 -2
- package/dashboard/dist/assets/{index-DwRytW9O.js.map → index-DHgnkykj.js.map} +1 -1
- package/dashboard/dist/assets/{index-Dj-z-x8M.js → index-D_aJBEAG.js} +2 -2
- package/dashboard/dist/assets/{index-Dj-z-x8M.js.map → index-D_aJBEAG.js.map} +1 -1
- package/dashboard/dist/assets/{index-CORHB0WC.js → index-Dd_U4mLm.js} +2 -2
- package/dashboard/dist/assets/{index-CORHB0WC.js.map → index-Dd_U4mLm.js.map} +1 -1
- package/dashboard/dist/assets/{index-BwN3KP_L.js → index-DnmZbNxk.js} +7 -7
- package/dashboard/dist/assets/index-DnmZbNxk.js.map +1 -0
- package/dashboard/dist/assets/{index-B98ipWxE.js → index-_RBvi7s6.js} +2 -2
- package/dashboard/dist/assets/{index-B98ipWxE.js.map → index-_RBvi7s6.js.map} +1 -1
- package/dashboard/dist/assets/{index-Bxe8h1x4.js → index-n7td8zgX.js} +2 -2
- package/dashboard/dist/assets/{index-Bxe8h1x4.js.map → index-n7td8zgX.js.map} +1 -1
- package/dashboard/dist/assets/{mcp-BZoFryNc.js → mcp-CRFr4L9W.js} +2 -2
- package/dashboard/dist/assets/{mcp-BZoFryNc.js.map → mcp-CRFr4L9W.js.map} +1 -1
- package/dashboard/dist/assets/{mcp-query-wiw1kwm8.js → mcp-query-DHY2mZBQ.js} +2 -2
- package/dashboard/dist/assets/{mcp-query-wiw1kwm8.js.map → mcp-query-DHY2mZBQ.js.map} +1 -1
- package/dashboard/dist/assets/{mcp-runs-BaEKnf5v.js → mcp-runs-BqPHqwAO.js} +2 -2
- package/dashboard/dist/assets/{mcp-runs-BaEKnf5v.js.map → mcp-runs-BqPHqwAO.js.map} +1 -1
- package/dashboard/dist/assets/{namespaces-BwnZI4_A.js → namespaces-TG1aIpo_.js} +2 -2
- package/dashboard/dist/assets/{namespaces-BwnZI4_A.js.map → namespaces-TG1aIpo_.js.map} +1 -1
- package/dashboard/dist/assets/{roles-Bgn1K8zU.js → roles-DhhLTvXg.js} +2 -2
- package/dashboard/dist/assets/{roles-Bgn1K8zU.js.map → roles-DhhLTvXg.js.map} +1 -1
- package/dashboard/dist/assets/{settings-CizYiutL.js → settings-D9MBzEeB.js} +2 -2
- package/dashboard/dist/assets/{settings-CizYiutL.js.map → settings-D9MBzEeB.js.map} +1 -1
- package/dashboard/dist/assets/{tasks-Bmte_hc4.js → tasks-BxmcZoev.js} +2 -2
- package/dashboard/dist/assets/{tasks-Bmte_hc4.js.map → tasks-BxmcZoev.js.map} +1 -1
- package/dashboard/dist/assets/{useEventHooks-CUCxpiI2.js → useEventHooks-BylecvvI.js} +2 -2
- package/dashboard/dist/assets/{useEventHooks-CUCxpiI2.js.map → useEventHooks-BylecvvI.js.map} +1 -1
- package/dashboard/dist/assets/{useYamlActivityEvents-Cum02Ej9.js → useYamlActivityEvents-ocmj11e_.js} +2 -2
- package/dashboard/dist/assets/{useYamlActivityEvents-Cum02Ej9.js.map → useYamlActivityEvents-ocmj11e_.js.map} +1 -1
- package/dashboard/dist/assets/{users-NSDgTt-z.js → users-Ce5r-JAv.js} +2 -2
- package/dashboard/dist/assets/{users-NSDgTt-z.js.map → users-Ce5r-JAv.js.map} +1 -1
- package/dashboard/dist/assets/{workflows-k0XRdGXx.js → workflows-ykIeVbRJ.js} +2 -2
- package/dashboard/dist/assets/{workflows-k0XRdGXx.js.map → workflows-ykIeVbRJ.js.map} +1 -1
- package/dashboard/dist/assets/{yaml-workflows-DAre8I78.js → yaml-workflows-WypmKYht.js} +2 -2
- package/dashboard/dist/assets/{yaml-workflows-DAre8I78.js.map → yaml-workflows-WypmKYht.js.map} +1 -1
- package/dashboard/dist/index.html +1 -1
- package/docs/api/sdk/auth.md +27 -0
- package/docs/api/sdk/bot-accounts.md +243 -0
- package/docs/api/sdk/controlplane.md +103 -0
- package/docs/api/sdk/dba.md +52 -0
- package/docs/api/sdk/escalations.md +374 -0
- package/docs/api/sdk/events.md +68 -0
- package/docs/api/sdk/exports.md +124 -0
- package/docs/api/sdk/insight.md +112 -0
- package/docs/api/sdk/maintenance.md +54 -0
- package/docs/api/sdk/mcp-runs.md +71 -0
- package/docs/api/sdk/mcp.md +250 -0
- package/docs/api/sdk/namespaces.md +43 -0
- package/docs/api/sdk/roles.md +183 -0
- package/docs/api/sdk/settings.md +24 -0
- package/docs/api/sdk/tasks.md +120 -0
- package/docs/api/sdk/users.md +196 -0
- package/docs/api/sdk/workflow-sets.md +135 -0
- package/docs/api/sdk/workflows.md +271 -0
- package/docs/api/sdk/yaml-workflows.md +408 -0
- package/package.json +1 -1
- package/dashboard/dist/assets/index-BwN3KP_L.js.map +0 -1
- package/docs/epic-integration.md +0 -224
- package/docs/workflow-builder.md +0 -371
- /package/docs/api/{dba.md → http/dba.md} +0 -0
- /package/docs/api/{escalations.md → http/escalations.md} +0 -0
- /package/docs/api/{exports.md → http/exports.md} +0 -0
- /package/docs/api/{maintenance.md → http/maintenance.md} +0 -0
- /package/docs/api/{mcp-runs.md → http/mcp-runs.md} +0 -0
- /package/docs/api/{mcp-servers.md → http/mcp-servers.md} +0 -0
- /package/docs/api/{namespaces.md → http/namespaces.md} +0 -0
- /package/docs/api/{roles.md → http/roles.md} +0 -0
- /package/docs/api/{service-accounts.md → http/service-accounts.md} +0 -0
- /package/docs/api/{settings.md → http/settings.md} +0 -0
- /package/docs/api/{tasks.md → http/tasks.md} +0 -0
- /package/docs/api/{users.md → http/users.md} +0 -0
- /package/docs/api/{workflows.md → http/workflows.md} +0 -0
- /package/docs/api/{yaml-workflows.md → http/yaml-workflows.md} +0 -0
package/build/api/exports.js
CHANGED
|
@@ -40,6 +40,19 @@ exports.getWorkflowStatus = getWorkflowStatus;
|
|
|
40
40
|
exports.getWorkflowState = getWorkflowState;
|
|
41
41
|
const exportService = __importStar(require("../services/export"));
|
|
42
42
|
const resolve_1 = require("../services/task/resolve");
|
|
43
|
+
/**
|
|
44
|
+
* List export jobs with optional filtering, sorting, and pagination.
|
|
45
|
+
*
|
|
46
|
+
* @param input.limit — maximum number of jobs to return
|
|
47
|
+
* @param input.offset — number of jobs to skip for pagination
|
|
48
|
+
* @param input.entity — filter by entity/workflow type
|
|
49
|
+
* @param input.search — free-text search across job fields
|
|
50
|
+
* @param input.status — filter by job status
|
|
51
|
+
* @param input.sort_by — field name to sort results by
|
|
52
|
+
* @param input.order — sort direction (asc or desc)
|
|
53
|
+
* @param input.registered — filter by registration status
|
|
54
|
+
* @returns `{ status: 200, data: { jobs, total, ... } }` on success
|
|
55
|
+
*/
|
|
43
56
|
async function listJobs(input) {
|
|
44
57
|
try {
|
|
45
58
|
const result = await exportService.listJobs(input);
|
|
@@ -49,6 +62,19 @@ async function listJobs(input) {
|
|
|
49
62
|
return { status: 500, error: err.message };
|
|
50
63
|
}
|
|
51
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* Export the stored state (hash data) of a workflow.
|
|
67
|
+
*
|
|
68
|
+
* Resolves the workflow handle from its ID, then exports its state fields.
|
|
69
|
+
* Fields can be filtered via allow/block lists. Returns 404 if the workflow
|
|
70
|
+
* cannot be found or its data has expired.
|
|
71
|
+
*
|
|
72
|
+
* @param input.workflowId — the workflow's unique identifier
|
|
73
|
+
* @param input.allow — whitelist of field names to include in the export
|
|
74
|
+
* @param input.block — blacklist of field names to exclude from the export
|
|
75
|
+
* @param input.values — when true, include field values (not just field names)
|
|
76
|
+
* @returns `{ status: 200, data: ExportedState }` on success
|
|
77
|
+
*/
|
|
52
78
|
async function exportWorkflowState(input) {
|
|
53
79
|
try {
|
|
54
80
|
let resolved;
|
|
@@ -72,6 +98,20 @@ async function exportWorkflowState(input) {
|
|
|
72
98
|
return { status: 500, error: msg };
|
|
73
99
|
}
|
|
74
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* Export the full execution tree of a workflow.
|
|
103
|
+
*
|
|
104
|
+
* Resolves the workflow handle, then exports its execution graph including
|
|
105
|
+
* activity inputs and results. Returns 404 if the workflow cannot be found
|
|
106
|
+
* or its data has expired.
|
|
107
|
+
*
|
|
108
|
+
* @param input.workflowId — the workflow's unique identifier
|
|
109
|
+
* @param input.excludeSystem — when true, omit system-generated activities from the export
|
|
110
|
+
* @param input.omitResults — when true, exclude activity result payloads
|
|
111
|
+
* @param input.mode — export mode controlling output format (e.g., tree, flat)
|
|
112
|
+
* @param input.maxDepth — maximum depth to traverse in the execution tree
|
|
113
|
+
* @returns `{ status: 200, data: ExecutionExport }` on success
|
|
114
|
+
*/
|
|
75
115
|
async function exportWorkflowExecution(input) {
|
|
76
116
|
try {
|
|
77
117
|
let resolved;
|
|
@@ -100,6 +140,15 @@ async function exportWorkflowExecution(input) {
|
|
|
100
140
|
};
|
|
101
141
|
}
|
|
102
142
|
}
|
|
143
|
+
/**
|
|
144
|
+
* Get the current status of a workflow (e.g., running, completed, failed).
|
|
145
|
+
*
|
|
146
|
+
* Resolves the workflow handle, then queries its status. Returns 404 if the
|
|
147
|
+
* workflow cannot be found or its data has expired.
|
|
148
|
+
*
|
|
149
|
+
* @param input.workflowId — the workflow's unique identifier
|
|
150
|
+
* @returns `{ status: 200, data: WorkflowStatus }` on success
|
|
151
|
+
*/
|
|
103
152
|
async function getWorkflowStatus(input) {
|
|
104
153
|
try {
|
|
105
154
|
let resolved;
|
|
@@ -122,6 +171,15 @@ async function getWorkflowStatus(input) {
|
|
|
122
171
|
};
|
|
123
172
|
}
|
|
124
173
|
}
|
|
174
|
+
/**
|
|
175
|
+
* Get the current state data of a workflow.
|
|
176
|
+
*
|
|
177
|
+
* Resolves the workflow handle, then retrieves its full state. Returns 404
|
|
178
|
+
* if the workflow cannot be found or its data has expired.
|
|
179
|
+
*
|
|
180
|
+
* @param input.workflowId — the workflow's unique identifier
|
|
181
|
+
* @returns `{ status: 200, data: WorkflowState }` on success
|
|
182
|
+
*/
|
|
125
183
|
async function getWorkflowState(input) {
|
|
126
184
|
try {
|
|
127
185
|
let resolved;
|
package/build/api/insight.d.ts
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
import type { LTApiResult, LTApiAuth } from '../types/sdk';
|
|
2
|
+
/**
|
|
3
|
+
* Execute a natural-language query against connected MCP servers.
|
|
4
|
+
*
|
|
5
|
+
* Requires an LLM API key (OPENAI_API_KEY or ANTHROPIC_API_KEY) to be
|
|
6
|
+
* configured. Returns 503 if neither is set. Timeouts surface as 504.
|
|
7
|
+
*
|
|
8
|
+
* @param input.prompt — the natural-language query to execute (required)
|
|
9
|
+
* @param input.tags — optional tags to scope which MCP servers are queried
|
|
10
|
+
* @param input.wait — when true, blocks until the query completes; otherwise returns immediately
|
|
11
|
+
* @param input.direct — when true, bypasses workflow orchestration and queries the LLM directly
|
|
12
|
+
* @param input.context — optional additional context forwarded to the LLM
|
|
13
|
+
* @param auth — authenticated user context
|
|
14
|
+
* @returns `{ status: 200, data: { ... } }` query result from the MCP pipeline
|
|
15
|
+
*/
|
|
2
16
|
export declare function mcpQuery(input: {
|
|
3
17
|
prompt: string;
|
|
4
18
|
tags?: string[];
|
|
@@ -6,6 +20,23 @@ export declare function mcpQuery(input: {
|
|
|
6
20
|
direct?: boolean;
|
|
7
21
|
context?: any;
|
|
8
22
|
}, auth?: LTApiAuth): Promise<LTApiResult>;
|
|
23
|
+
/**
|
|
24
|
+
* Generate a workflow definition from a natural-language description.
|
|
25
|
+
*
|
|
26
|
+
* Uses an LLM to produce a YAML workflow from the given prompt. Supports
|
|
27
|
+
* iterative refinement by accepting prior YAML, feedback, and Q&A answers.
|
|
28
|
+
* Requires an LLM API key. Timeouts surface as 504.
|
|
29
|
+
*
|
|
30
|
+
* @param input.prompt — natural-language description of the desired workflow (required)
|
|
31
|
+
* @param input.tags — optional tags to scope available MCP tools
|
|
32
|
+
* @param input.wait — when true, blocks until generation completes
|
|
33
|
+
* @param input.feedback — optional refinement feedback on a previous generation
|
|
34
|
+
* @param input.prior_yaml — optional YAML from a previous generation to refine
|
|
35
|
+
* @param input.answers — optional answers to clarifying questions from a prior round
|
|
36
|
+
* @param input.prior_questions — optional questions from a prior round for context
|
|
37
|
+
* @param auth — authenticated user context
|
|
38
|
+
* @returns `{ status: 200, data: { ... } }` generated workflow definition
|
|
39
|
+
*/
|
|
9
40
|
export declare function buildWorkflow(input: {
|
|
10
41
|
prompt: string;
|
|
11
42
|
tags?: string[];
|
|
@@ -15,6 +46,20 @@ export declare function buildWorkflow(input: {
|
|
|
15
46
|
answers?: any;
|
|
16
47
|
prior_questions?: any;
|
|
17
48
|
}, auth?: LTApiAuth): Promise<LTApiResult>;
|
|
49
|
+
/**
|
|
50
|
+
* Refine an existing workflow definition using feedback.
|
|
51
|
+
*
|
|
52
|
+
* Takes a previously generated YAML workflow, the original prompt, and
|
|
53
|
+
* user feedback, then produces an updated workflow definition.
|
|
54
|
+
*
|
|
55
|
+
* @param input.prompt — original natural-language description (required)
|
|
56
|
+
* @param input.prior_yaml — the YAML workflow to refine (required)
|
|
57
|
+
* @param input.feedback — user feedback describing desired changes (required)
|
|
58
|
+
* @param input.tags — optional tags to scope available MCP tools
|
|
59
|
+
* @param input.wait — when true, blocks until refinement completes
|
|
60
|
+
* @param auth — authenticated user context
|
|
61
|
+
* @returns `{ status: 200, data: { ... } }` refined workflow definition
|
|
62
|
+
*/
|
|
18
63
|
export declare function refineWorkflow(input: {
|
|
19
64
|
prompt: string;
|
|
20
65
|
prior_yaml: string;
|
|
@@ -22,6 +67,18 @@ export declare function refineWorkflow(input: {
|
|
|
22
67
|
tags?: string[];
|
|
23
68
|
wait?: boolean;
|
|
24
69
|
}, auth?: LTApiAuth): Promise<LTApiResult>;
|
|
70
|
+
/**
|
|
71
|
+
* Generate a human-readable description and tags for a workflow.
|
|
72
|
+
*
|
|
73
|
+
* Uses an LLM to produce a concise description from the prompt and
|
|
74
|
+
* optional result metadata. Falls back to the raw prompt as the
|
|
75
|
+
* description if the LLM call fails.
|
|
76
|
+
*
|
|
77
|
+
* @param input.prompt — the workflow prompt or content to describe (required)
|
|
78
|
+
* @param input.result_title — optional title from the workflow result for additional context
|
|
79
|
+
* @param input.result_summary — optional summary from the workflow result for additional context
|
|
80
|
+
* @returns `{ status: 200, data: { description, tags } }` generated description and tag array
|
|
81
|
+
*/
|
|
25
82
|
export declare function describeWorkflow(input: {
|
|
26
83
|
prompt: string;
|
|
27
84
|
result_title?: string;
|
package/build/api/insight.js
CHANGED
|
@@ -5,6 +5,20 @@ exports.buildWorkflow = buildWorkflow;
|
|
|
5
5
|
exports.refineWorkflow = refineWorkflow;
|
|
6
6
|
exports.describeWorkflow = describeWorkflow;
|
|
7
7
|
const insight_1 = require("../services/insight");
|
|
8
|
+
/**
|
|
9
|
+
* Execute a natural-language query against connected MCP servers.
|
|
10
|
+
*
|
|
11
|
+
* Requires an LLM API key (OPENAI_API_KEY or ANTHROPIC_API_KEY) to be
|
|
12
|
+
* configured. Returns 503 if neither is set. Timeouts surface as 504.
|
|
13
|
+
*
|
|
14
|
+
* @param input.prompt — the natural-language query to execute (required)
|
|
15
|
+
* @param input.tags — optional tags to scope which MCP servers are queried
|
|
16
|
+
* @param input.wait — when true, blocks until the query completes; otherwise returns immediately
|
|
17
|
+
* @param input.direct — when true, bypasses workflow orchestration and queries the LLM directly
|
|
18
|
+
* @param input.context — optional additional context forwarded to the LLM
|
|
19
|
+
* @param auth — authenticated user context
|
|
20
|
+
* @returns `{ status: 200, data: { ... } }` query result from the MCP pipeline
|
|
21
|
+
*/
|
|
8
22
|
async function mcpQuery(input, auth) {
|
|
9
23
|
try {
|
|
10
24
|
if (!input.prompt || typeof input.prompt !== 'string') {
|
|
@@ -30,6 +44,23 @@ async function mcpQuery(input, auth) {
|
|
|
30
44
|
return { status: 500, error: err.message };
|
|
31
45
|
}
|
|
32
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* Generate a workflow definition from a natural-language description.
|
|
49
|
+
*
|
|
50
|
+
* Uses an LLM to produce a YAML workflow from the given prompt. Supports
|
|
51
|
+
* iterative refinement by accepting prior YAML, feedback, and Q&A answers.
|
|
52
|
+
* Requires an LLM API key. Timeouts surface as 504.
|
|
53
|
+
*
|
|
54
|
+
* @param input.prompt — natural-language description of the desired workflow (required)
|
|
55
|
+
* @param input.tags — optional tags to scope available MCP tools
|
|
56
|
+
* @param input.wait — when true, blocks until generation completes
|
|
57
|
+
* @param input.feedback — optional refinement feedback on a previous generation
|
|
58
|
+
* @param input.prior_yaml — optional YAML from a previous generation to refine
|
|
59
|
+
* @param input.answers — optional answers to clarifying questions from a prior round
|
|
60
|
+
* @param input.prior_questions — optional questions from a prior round for context
|
|
61
|
+
* @param auth — authenticated user context
|
|
62
|
+
* @returns `{ status: 200, data: { ... } }` generated workflow definition
|
|
63
|
+
*/
|
|
33
64
|
async function buildWorkflow(input, auth) {
|
|
34
65
|
try {
|
|
35
66
|
if (!input.prompt || typeof input.prompt !== 'string') {
|
|
@@ -57,6 +88,20 @@ async function buildWorkflow(input, auth) {
|
|
|
57
88
|
return { status: 500, error: err.message };
|
|
58
89
|
}
|
|
59
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* Refine an existing workflow definition using feedback.
|
|
93
|
+
*
|
|
94
|
+
* Takes a previously generated YAML workflow, the original prompt, and
|
|
95
|
+
* user feedback, then produces an updated workflow definition.
|
|
96
|
+
*
|
|
97
|
+
* @param input.prompt — original natural-language description (required)
|
|
98
|
+
* @param input.prior_yaml — the YAML workflow to refine (required)
|
|
99
|
+
* @param input.feedback — user feedback describing desired changes (required)
|
|
100
|
+
* @param input.tags — optional tags to scope available MCP tools
|
|
101
|
+
* @param input.wait — when true, blocks until refinement completes
|
|
102
|
+
* @param auth — authenticated user context
|
|
103
|
+
* @returns `{ status: 200, data: { ... } }` refined workflow definition
|
|
104
|
+
*/
|
|
60
105
|
async function refineWorkflow(input, auth) {
|
|
61
106
|
try {
|
|
62
107
|
if (!input.prompt || !input.prior_yaml || !input.feedback) {
|
|
@@ -76,6 +121,18 @@ async function refineWorkflow(input, auth) {
|
|
|
76
121
|
return { status: 500, error: err.message };
|
|
77
122
|
}
|
|
78
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* Generate a human-readable description and tags for a workflow.
|
|
126
|
+
*
|
|
127
|
+
* Uses an LLM to produce a concise description from the prompt and
|
|
128
|
+
* optional result metadata. Falls back to the raw prompt as the
|
|
129
|
+
* description if the LLM call fails.
|
|
130
|
+
*
|
|
131
|
+
* @param input.prompt — the workflow prompt or content to describe (required)
|
|
132
|
+
* @param input.result_title — optional title from the workflow result for additional context
|
|
133
|
+
* @param input.result_summary — optional summary from the workflow result for additional context
|
|
134
|
+
* @returns `{ status: 200, data: { description, tags } }` generated description and tag array
|
|
135
|
+
*/
|
|
79
136
|
async function describeWorkflow(input) {
|
|
80
137
|
try {
|
|
81
138
|
if (!input.prompt) {
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import type { LTMaintenanceConfig } from '../types/maintenance';
|
|
2
2
|
import type { LTApiResult } from '../types/sdk';
|
|
3
|
+
/**
|
|
4
|
+
* Return the current maintenance cron configuration and active state.
|
|
5
|
+
*
|
|
6
|
+
* @returns `{ status: 200, data: { config, active } }`
|
|
7
|
+
*/
|
|
3
8
|
export declare function getMaintenanceConfig(): LTApiResult;
|
|
9
|
+
/**
|
|
10
|
+
* Replace the maintenance configuration and restart the cron.
|
|
11
|
+
*
|
|
12
|
+
* Disconnects the current maintenance schedule, registers the new
|
|
13
|
+
* config, and reconnects. The cron begins executing immediately.
|
|
14
|
+
*
|
|
15
|
+
* @param input.schedule — cron expression (e.g. `"0 3 * * *"`)
|
|
16
|
+
* @param input.rules — maintenance rule definitions
|
|
17
|
+
* @returns `{ status: 200, data: { config, restarted: true } }`
|
|
18
|
+
*/
|
|
4
19
|
export declare function updateMaintenanceConfig(input: {
|
|
5
20
|
schedule: string;
|
|
6
21
|
rules: LTMaintenanceConfig['rules'];
|
package/build/api/maintenance.js
CHANGED
|
@@ -3,12 +3,27 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getMaintenanceConfig = getMaintenanceConfig;
|
|
4
4
|
exports.updateMaintenanceConfig = updateMaintenanceConfig;
|
|
5
5
|
const maintenance_1 = require("../services/maintenance");
|
|
6
|
+
/**
|
|
7
|
+
* Return the current maintenance cron configuration and active state.
|
|
8
|
+
*
|
|
9
|
+
* @returns `{ status: 200, data: { config, active } }`
|
|
10
|
+
*/
|
|
6
11
|
function getMaintenanceConfig() {
|
|
7
12
|
return {
|
|
8
13
|
status: 200,
|
|
9
14
|
data: { config: maintenance_1.maintenanceRegistry.config, active: maintenance_1.maintenanceRegistry.hasConfig },
|
|
10
15
|
};
|
|
11
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* Replace the maintenance configuration and restart the cron.
|
|
19
|
+
*
|
|
20
|
+
* Disconnects the current maintenance schedule, registers the new
|
|
21
|
+
* config, and reconnects. The cron begins executing immediately.
|
|
22
|
+
*
|
|
23
|
+
* @param input.schedule — cron expression (e.g. `"0 3 * * *"`)
|
|
24
|
+
* @param input.rules — maintenance rule definitions
|
|
25
|
+
* @returns `{ status: 200, data: { config, restarted: true } }`
|
|
26
|
+
*/
|
|
12
27
|
async function updateMaintenanceConfig(input) {
|
|
13
28
|
try {
|
|
14
29
|
if (!input.schedule || !Array.isArray(input.rules)) {
|
package/build/api/mcp-runs.d.ts
CHANGED
|
@@ -1,7 +1,24 @@
|
|
|
1
1
|
import type { LTApiResult } from '../types/sdk';
|
|
2
|
+
/**
|
|
3
|
+
* List distinct entity types for an app (HotMesh namespace).
|
|
4
|
+
*
|
|
5
|
+
* @param input.app_id — HotMesh app ID (e.g. `"durable"`)
|
|
6
|
+
* @returns `{ status: 200, data: { entities: string[] } }`
|
|
7
|
+
*/
|
|
2
8
|
export declare function listEntities(input: {
|
|
3
9
|
app_id: string;
|
|
4
10
|
}): Promise<LTApiResult>;
|
|
11
|
+
/**
|
|
12
|
+
* List jobs (workflow executions) for an app, with optional filters.
|
|
13
|
+
*
|
|
14
|
+
* @param input.app_id — HotMesh app ID
|
|
15
|
+
* @param input.limit — max results
|
|
16
|
+
* @param input.offset — pagination offset
|
|
17
|
+
* @param input.entity — filter by entity type
|
|
18
|
+
* @param input.search — full-text search
|
|
19
|
+
* @param input.status — filter by job status
|
|
20
|
+
* @returns `{ status: 200, data: { jobs, total } }`
|
|
21
|
+
*/
|
|
5
22
|
export declare function listJobs(input: {
|
|
6
23
|
app_id: string;
|
|
7
24
|
limit?: number;
|
|
@@ -10,6 +27,16 @@ export declare function listJobs(input: {
|
|
|
10
27
|
search?: string;
|
|
11
28
|
status?: string;
|
|
12
29
|
}): Promise<LTApiResult>;
|
|
30
|
+
/**
|
|
31
|
+
* Get the full execution history for a single job.
|
|
32
|
+
*
|
|
33
|
+
* Reconstructs the execution timeline from the HotMesh stream,
|
|
34
|
+
* including activity calls, signals, and state transitions.
|
|
35
|
+
*
|
|
36
|
+
* @param input.jobId — HotMesh job (workflow) ID
|
|
37
|
+
* @param input.app_id — HotMesh app ID
|
|
38
|
+
* @returns `{ status: 200, data: <execution timeline> }` or 404
|
|
39
|
+
*/
|
|
13
40
|
export declare function getJobExecution(input: {
|
|
14
41
|
jobId: string;
|
|
15
42
|
app_id: string;
|
package/build/api/mcp-runs.js
CHANGED
|
@@ -5,6 +5,12 @@ exports.listJobs = listJobs;
|
|
|
5
5
|
exports.getJobExecution = getJobExecution;
|
|
6
6
|
const hotmesh_utils_1 = require("../services/hotmesh-utils");
|
|
7
7
|
const mcp_runs_1 = require("../services/mcp-runs");
|
|
8
|
+
/**
|
|
9
|
+
* List distinct entity types for an app (HotMesh namespace).
|
|
10
|
+
*
|
|
11
|
+
* @param input.app_id — HotMesh app ID (e.g. `"durable"`)
|
|
12
|
+
* @returns `{ status: 200, data: { entities: string[] } }`
|
|
13
|
+
*/
|
|
8
14
|
async function listEntities(input) {
|
|
9
15
|
try {
|
|
10
16
|
if (!input.app_id) {
|
|
@@ -20,6 +26,17 @@ async function listEntities(input) {
|
|
|
20
26
|
return { status: 500, error: err.message };
|
|
21
27
|
}
|
|
22
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* List jobs (workflow executions) for an app, with optional filters.
|
|
31
|
+
*
|
|
32
|
+
* @param input.app_id — HotMesh app ID
|
|
33
|
+
* @param input.limit — max results
|
|
34
|
+
* @param input.offset — pagination offset
|
|
35
|
+
* @param input.entity — filter by entity type
|
|
36
|
+
* @param input.search — full-text search
|
|
37
|
+
* @param input.status — filter by job status
|
|
38
|
+
* @returns `{ status: 200, data: { jobs, total } }`
|
|
39
|
+
*/
|
|
23
40
|
async function listJobs(input) {
|
|
24
41
|
try {
|
|
25
42
|
if (!input.app_id) {
|
|
@@ -42,6 +59,16 @@ async function listJobs(input) {
|
|
|
42
59
|
return { status: 500, error: err.message };
|
|
43
60
|
}
|
|
44
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* Get the full execution history for a single job.
|
|
64
|
+
*
|
|
65
|
+
* Reconstructs the execution timeline from the HotMesh stream,
|
|
66
|
+
* including activity calls, signals, and state transitions.
|
|
67
|
+
*
|
|
68
|
+
* @param input.jobId — HotMesh job (workflow) ID
|
|
69
|
+
* @param input.app_id — HotMesh app ID
|
|
70
|
+
* @returns `{ status: 200, data: <execution timeline> }` or 404
|
|
71
|
+
*/
|
|
45
72
|
async function getJobExecution(input) {
|
|
46
73
|
try {
|
|
47
74
|
if (!input.app_id) {
|
package/build/api/mcp.d.ts
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
import type { LTApiResult, LTApiAuth } from '../types/sdk';
|
|
2
|
+
/**
|
|
3
|
+
* List registered MCP servers with optional filtering and pagination.
|
|
4
|
+
*
|
|
5
|
+
* @param input.status — filter by server status (e.g. 'active', 'inactive')
|
|
6
|
+
* @param input.auto_connect — filter by auto-connect setting
|
|
7
|
+
* @param input.search — free-text search across server names and descriptions
|
|
8
|
+
* @param input.tags — filter to servers matching any of these tags
|
|
9
|
+
* @param input.limit — maximum number of results to return
|
|
10
|
+
* @param input.offset — pagination offset
|
|
11
|
+
* @returns `{ status: 200, data: { ... } }` paginated list of MCP server records
|
|
12
|
+
*/
|
|
2
13
|
export declare function listMcpServers(input: {
|
|
3
14
|
status?: string;
|
|
4
15
|
auto_connect?: boolean;
|
|
@@ -7,6 +18,22 @@ export declare function listMcpServers(input: {
|
|
|
7
18
|
limit?: number;
|
|
8
19
|
offset?: number;
|
|
9
20
|
}): Promise<LTApiResult>;
|
|
21
|
+
/**
|
|
22
|
+
* Register a new MCP server.
|
|
23
|
+
*
|
|
24
|
+
* Returns 409 if a server with the same name already exists.
|
|
25
|
+
*
|
|
26
|
+
* @param input.name — unique display name for the server (required)
|
|
27
|
+
* @param input.description — optional human-readable description
|
|
28
|
+
* @param input.transport_type — transport protocol, e.g. 'sse', 'stdio' (required)
|
|
29
|
+
* @param input.transport_config — transport-specific connection settings (required)
|
|
30
|
+
* @param input.auto_connect — whether to connect automatically on startup
|
|
31
|
+
* @param input.metadata — arbitrary key-value metadata
|
|
32
|
+
* @param input.tags — tags for categorization and filtering
|
|
33
|
+
* @param input.compile_hints — optional hints used during tool compilation
|
|
34
|
+
* @param input.credential_providers — OAuth/credential provider identifiers required by this server
|
|
35
|
+
* @returns `{ status: 201, data: { ... } }` the created MCP server record
|
|
36
|
+
*/
|
|
10
37
|
export declare function createMcpServer(input: {
|
|
11
38
|
name: string;
|
|
12
39
|
description?: string;
|
|
@@ -18,32 +45,113 @@ export declare function createMcpServer(input: {
|
|
|
18
45
|
compile_hints?: any;
|
|
19
46
|
credential_providers?: string[];
|
|
20
47
|
}): Promise<LTApiResult>;
|
|
48
|
+
/**
|
|
49
|
+
* Test connectivity to an MCP server without persisting it.
|
|
50
|
+
*
|
|
51
|
+
* Attempts to establish a connection using the provided transport
|
|
52
|
+
* configuration and returns the result. On failure, returns a
|
|
53
|
+
* successful (200) response with `success: false` and the error message.
|
|
54
|
+
*
|
|
55
|
+
* @param input.transport_type — transport protocol to test (required)
|
|
56
|
+
* @param input.transport_config — transport-specific connection settings (required)
|
|
57
|
+
* @returns `{ status: 200, data: { success, error?, tools } }` connection test result
|
|
58
|
+
*/
|
|
21
59
|
export declare function testConnection(input: {
|
|
22
60
|
transport_type: string;
|
|
23
61
|
transport_config: Record<string, any>;
|
|
24
62
|
}): Promise<LTApiResult>;
|
|
63
|
+
/**
|
|
64
|
+
* Retrieve a single MCP server by ID.
|
|
65
|
+
*
|
|
66
|
+
* @param input.id — the MCP server identifier
|
|
67
|
+
* @returns `{ status: 200, data: { ... } }` the MCP server record, or 404 if not found
|
|
68
|
+
*/
|
|
25
69
|
export declare function getMcpServer(input: {
|
|
26
70
|
id: string;
|
|
27
71
|
}): Promise<LTApiResult>;
|
|
72
|
+
/**
|
|
73
|
+
* Update fields on an existing MCP server.
|
|
74
|
+
*
|
|
75
|
+
* Accepts any subset of mutable server fields alongside the required ID.
|
|
76
|
+
*
|
|
77
|
+
* @param input.id — the MCP server identifier (required)
|
|
78
|
+
* @param input.[key] — any mutable server field to update (name, description, transport_config, etc.)
|
|
79
|
+
* @returns `{ status: 200, data: { ... } }` the updated server record, or 404 if not found
|
|
80
|
+
*/
|
|
28
81
|
export declare function updateMcpServer(input: {
|
|
29
82
|
id: string;
|
|
30
83
|
[key: string]: any;
|
|
31
84
|
}): Promise<LTApiResult>;
|
|
85
|
+
/**
|
|
86
|
+
* Delete an MCP server by ID.
|
|
87
|
+
*
|
|
88
|
+
* @param input.id — the MCP server identifier
|
|
89
|
+
* @returns `{ status: 200, data: { deleted: true } }` on success, or 404 if not found
|
|
90
|
+
*/
|
|
32
91
|
export declare function deleteMcpServer(input: {
|
|
33
92
|
id: string;
|
|
34
93
|
}): Promise<LTApiResult>;
|
|
94
|
+
/**
|
|
95
|
+
* Establish a live connection to a registered MCP server.
|
|
96
|
+
*
|
|
97
|
+
* Requires the MCP adapter to be registered in the registry.
|
|
98
|
+
*
|
|
99
|
+
* @param input.id — the MCP server identifier to connect
|
|
100
|
+
* @returns `{ status: 200, data: { connected, serverId } }` confirmation of the connection
|
|
101
|
+
*/
|
|
35
102
|
export declare function connectMcpServer(input: {
|
|
36
103
|
id: string;
|
|
37
104
|
}): Promise<LTApiResult>;
|
|
105
|
+
/**
|
|
106
|
+
* Disconnect a live MCP server connection.
|
|
107
|
+
*
|
|
108
|
+
* Requires the MCP adapter to be registered in the registry.
|
|
109
|
+
*
|
|
110
|
+
* @param input.id — the MCP server identifier to disconnect
|
|
111
|
+
* @returns `{ status: 200, data: { disconnected, serverId } }` confirmation of the disconnection
|
|
112
|
+
*/
|
|
38
113
|
export declare function disconnectMcpServer(input: {
|
|
39
114
|
id: string;
|
|
40
115
|
}): Promise<LTApiResult>;
|
|
116
|
+
/**
|
|
117
|
+
* Check which credential providers are registered vs missing for an MCP server.
|
|
118
|
+
*
|
|
119
|
+
* Resolves each credential provider required by the server against the
|
|
120
|
+
* authenticated user's stored credentials.
|
|
121
|
+
*
|
|
122
|
+
* @param input.id — the MCP server identifier
|
|
123
|
+
* @param auth — authenticated user context used to resolve credentials
|
|
124
|
+
* @returns `{ status: 200, data: { required, registered, missing } }` credential status arrays
|
|
125
|
+
*/
|
|
41
126
|
export declare function getCredentialStatus(input: {
|
|
42
127
|
id: string;
|
|
43
128
|
}, auth?: LTApiAuth): Promise<LTApiResult>;
|
|
129
|
+
/**
|
|
130
|
+
* List all tools exposed by a connected MCP server.
|
|
131
|
+
*
|
|
132
|
+
* Requires the MCP adapter to be registered and the server to be connected.
|
|
133
|
+
*
|
|
134
|
+
* @param input.id — the MCP server identifier
|
|
135
|
+
* @returns `{ status: 200, data: { tools } }` array of tool descriptors
|
|
136
|
+
*/
|
|
44
137
|
export declare function listMcpServerTools(input: {
|
|
45
138
|
id: string;
|
|
46
139
|
}): Promise<LTApiResult>;
|
|
140
|
+
/**
|
|
141
|
+
* Invoke a specific tool on a connected MCP server.
|
|
142
|
+
*
|
|
143
|
+
* Passes the tool arguments and an optional auth context (derived from
|
|
144
|
+
* `execute_as` or the authenticated user) to the MCP adapter. Returns
|
|
145
|
+
* 422 with `missing_credential` if the tool requires a credential the
|
|
146
|
+
* user has not registered.
|
|
147
|
+
*
|
|
148
|
+
* @param input.id — the MCP server identifier
|
|
149
|
+
* @param input.toolName — name of the tool to invoke
|
|
150
|
+
* @param input.arguments — key-value arguments to pass to the tool
|
|
151
|
+
* @param input.execute_as — optional user ID to impersonate for the tool call
|
|
152
|
+
* @param auth — authenticated user context
|
|
153
|
+
* @returns `{ status: 200, data: { result } }` the tool execution result
|
|
154
|
+
*/
|
|
47
155
|
export declare function callMcpTool(input: {
|
|
48
156
|
id: string;
|
|
49
157
|
toolName: string;
|