@hotmeshio/long-tail 0.4.18 → 0.4.19

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.
Files changed (350) hide show
  1. package/README.md +0 -2
  2. package/build/api/auth-sso.d.ts +12 -0
  3. package/build/api/auth-sso.js +54 -0
  4. package/build/api/escalations/bulk.js +2 -2
  5. package/build/api/escalations/claim.js +3 -13
  6. package/build/api/escalations/create.js +3 -2
  7. package/build/api/escalations/helpers.d.ts +1 -0
  8. package/build/api/escalations/helpers.js +6 -4
  9. package/build/api/escalations/list.d.ts +1 -0
  10. package/build/api/escalations/list.js +1 -0
  11. package/build/api/escalations/metadata.js +4 -4
  12. package/build/api/escalations/single.js +3 -2
  13. package/build/api/settings.js +5 -0
  14. package/build/api/topics.d.ts +9 -0
  15. package/build/api/topics.js +31 -2
  16. package/build/lib/events/index.d.ts +1 -0
  17. package/build/lib/events/index.js +4 -0
  18. package/build/lib/events/publish.d.ts +12 -9
  19. package/build/lib/events/publish.js +27 -17
  20. package/build/modules/auth.d.ts +7 -0
  21. package/build/modules/auth.js +104 -2
  22. package/build/modules/sso.d.ts +6 -0
  23. package/build/modules/sso.js +20 -0
  24. package/build/routes/auth-sso.d.ts +2 -0
  25. package/build/routes/auth-sso.js +51 -0
  26. package/build/routes/bot-accounts.js +1 -1
  27. package/build/routes/controlplane.js +6 -6
  28. package/build/routes/escalations/list.js +1 -0
  29. package/build/routes/index.js +2 -0
  30. package/build/routes/mcp-endpoint.d.ts +17 -0
  31. package/build/routes/mcp-endpoint.js +70 -0
  32. package/build/routes/roles.js +5 -5
  33. package/build/routes/topics.js +2 -0
  34. package/build/routes/users.js +31 -5
  35. package/build/sdk/index.d.ts +1 -0
  36. package/build/services/agent/input-mapper.js +17 -1
  37. package/build/services/escalation/crud.js +14 -1
  38. package/build/services/escalation/queries.d.ts +1 -0
  39. package/build/services/escalation/queries.js +7 -0
  40. package/build/services/mcp/exposure.d.ts +15 -0
  41. package/build/services/mcp/exposure.js +18 -0
  42. package/build/services/mcp/external-server.d.ts +15 -0
  43. package/build/services/mcp/external-server.js +125 -0
  44. package/build/services/mcp/seed-service-account.d.ts +11 -0
  45. package/build/services/mcp/seed-service-account.js +77 -0
  46. package/build/services/role/index.d.ts +1 -1
  47. package/build/services/role/index.js +2 -2
  48. package/build/services/topics/system-topics.js +29 -25
  49. package/build/services/user/index.d.ts +1 -1
  50. package/build/services/user/index.js +2 -1
  51. package/build/services/user/rbac.d.ts +11 -0
  52. package/build/services/user/rbac.js +17 -0
  53. package/build/services/user/sso-provision.d.ts +19 -0
  54. package/build/services/user/sso-provision.js +62 -0
  55. package/build/services/workflow-invocation.js +5 -3
  56. package/build/start/config.js +6 -0
  57. package/build/start/server.js +2 -0
  58. package/build/start/workers.js +15 -0
  59. package/build/system/index.js +53 -35
  60. package/build/system/mcp-servers/admin/agent-subscriptions.d.ts +5 -0
  61. package/build/system/mcp-servers/admin/agent-subscriptions.js +78 -0
  62. package/build/system/mcp-servers/admin/agents.d.ts +5 -0
  63. package/build/system/mcp-servers/admin/agents.js +103 -0
  64. package/build/system/mcp-servers/admin/bot-accounts.d.ts +5 -0
  65. package/build/system/mcp-servers/admin/bot-accounts.js +126 -0
  66. package/build/system/mcp-servers/admin/controlplane.d.ts +5 -0
  67. package/build/system/mcp-servers/admin/controlplane.js +107 -0
  68. package/build/system/mcp-servers/admin/escalations.js +88 -0
  69. package/build/system/mcp-servers/admin/exports.d.ts +5 -0
  70. package/build/system/mcp-servers/admin/exports.js +101 -0
  71. package/build/system/mcp-servers/admin/index.d.ts +16 -8
  72. package/build/system/mcp-servers/admin/index.js +36 -21
  73. package/build/system/mcp-servers/admin/pipelines.d.ts +5 -0
  74. package/build/system/mcp-servers/admin/pipelines.js +96 -0
  75. package/build/system/mcp-servers/admin/schemas.d.ts +614 -6
  76. package/build/system/mcp-servers/admin/schemas.js +239 -1
  77. package/build/system/mcp-servers/admin/settings.d.ts +5 -0
  78. package/build/system/mcp-servers/admin/settings.js +53 -0
  79. package/build/system/mcp-servers/admin/topics.d.ts +5 -0
  80. package/build/system/mcp-servers/admin/topics.js +101 -0
  81. package/build/system/seed/tool-manifests-admin.d.ts +5077 -188
  82. package/build/system/seed/tool-manifests-admin.js +79 -30
  83. package/build/system/seed/tool-manifests-data.d.ts +20 -0
  84. package/build/system/seed/tool-manifests-data.js +24 -6
  85. package/build/system/seed/tool-manifests-escalation.d.ts +5 -0
  86. package/build/system/seed/tool-manifests-escalation.js +5 -0
  87. package/build/system/seed/tool-manifests-events.d.ts +4 -0
  88. package/build/system/seed/tool-manifests-events.js +4 -0
  89. package/build/system/seed/tool-manifests-knowledge.d.ts +6 -0
  90. package/build/system/seed/tool-manifests-knowledge.js +7 -0
  91. package/build/system/seed/tool-manifests-workflows.d.ts +8 -0
  92. package/build/system/seed/tool-manifests-workflows.js +8 -0
  93. package/build/tsconfig.tsbuildinfo +1 -1
  94. package/build/types/auth.d.ts +71 -0
  95. package/build/types/events.d.ts +17 -6
  96. package/build/types/index.d.ts +1 -1
  97. package/build/types/startup.d.ts +22 -1
  98. package/dashboard/dist/assets/{AdminDashboard-Cfo0mwL2.js → AdminDashboard-BwUGcCxQ.js} +2 -2
  99. package/dashboard/dist/assets/{AdminDashboard-Cfo0mwL2.js.map → AdminDashboard-BwUGcCxQ.js.map} +1 -1
  100. package/dashboard/dist/assets/AgentConfigPage-DgrYzLwq.js +16 -0
  101. package/dashboard/dist/assets/AgentConfigPage-DgrYzLwq.js.map +1 -0
  102. package/dashboard/dist/assets/{AgentDetailPage-3mZA7SOb.js → AgentDetailPage-XJpl7wfJ.js} +4 -4
  103. package/dashboard/dist/assets/AgentDetailPage-XJpl7wfJ.js.map +1 -0
  104. package/dashboard/dist/assets/{AgentsPage-CTVocfBb.js → AgentsPage-CGpVG6r8.js} +2 -2
  105. package/dashboard/dist/assets/{AgentsPage-CTVocfBb.js.map → AgentsPage-CGpVG6r8.js.map} +1 -1
  106. package/dashboard/dist/assets/AvailableEscalationsPage-DR1e0TQZ.js +2 -0
  107. package/dashboard/dist/assets/{AvailableEscalationsPage-CA9x9o5s.js.map → AvailableEscalationsPage-DR1e0TQZ.js.map} +1 -1
  108. package/dashboard/dist/assets/BotPicker-BKtjl6IL.js +2 -0
  109. package/dashboard/dist/assets/{BotPicker-BQp_Vs73.js.map → BotPicker-BKtjl6IL.js.map} +1 -1
  110. package/dashboard/dist/assets/{CapabilitiesPage-wpVtkGeU.js → CapabilitiesPage-kCB8fyOj.js} +2 -2
  111. package/dashboard/dist/assets/{CapabilitiesPage-wpVtkGeU.js.map → CapabilitiesPage-kCB8fyOj.js.map} +1 -1
  112. package/dashboard/dist/assets/{CollapsibleSection-2eZMMZiG.js → CollapsibleSection-C3tU61hB.js} +2 -2
  113. package/dashboard/dist/assets/{CollapsibleSection-2eZMMZiG.js.map → CollapsibleSection-C3tU61hB.js.map} +1 -1
  114. package/dashboard/dist/assets/{CredentialsPage-DJGLssm0.js → CredentialsPage-Dt4nJs_B.js} +2 -2
  115. package/dashboard/dist/assets/{CredentialsPage-DJGLssm0.js.map → CredentialsPage-Dt4nJs_B.js.map} +1 -1
  116. package/dashboard/dist/assets/CronLabel-BdE6mHyA.js +2 -0
  117. package/dashboard/dist/assets/CronLabel-BdE6mHyA.js.map +1 -0
  118. package/dashboard/dist/assets/{CustomDurationPicker-DbyqfK35.js → CustomDurationPicker-B_Yxfb-u.js} +2 -2
  119. package/dashboard/dist/assets/{CustomDurationPicker-DbyqfK35.js.map → CustomDurationPicker-B_Yxfb-u.js.map} +1 -1
  120. package/dashboard/dist/assets/{DropZone-BkfRoUcm.js → DropZone-CptiQ0wc.js} +2 -2
  121. package/dashboard/dist/assets/{DropZone-BkfRoUcm.js.map → DropZone-CptiQ0wc.js.map} +1 -1
  122. package/dashboard/dist/assets/ElapsedCell-tcGx5PFI.js +2 -0
  123. package/dashboard/dist/assets/{ElapsedCell-BPYm8RA7.js.map → ElapsedCell-tcGx5PFI.js.map} +1 -1
  124. package/dashboard/dist/assets/{EscalationsOverview-kYGHfnLf.js → EscalationsOverview-1KO5dXzk.js} +2 -2
  125. package/dashboard/dist/assets/{EscalationsOverview-kYGHfnLf.js.map → EscalationsOverview-1KO5dXzk.js.map} +1 -1
  126. package/dashboard/dist/assets/{EventTable-DSDzJMer.js → EventTable-DnpsQ6Ew.js} +2 -2
  127. package/dashboard/dist/assets/{EventTable-DSDzJMer.js.map → EventTable-DnpsQ6Ew.js.map} +1 -1
  128. package/dashboard/dist/assets/HomePage-B2Jgo1J1.js +2 -0
  129. package/dashboard/dist/assets/HomePage-B2Jgo1J1.js.map +1 -0
  130. package/dashboard/dist/assets/ListToolbar-jrVba7QN.js +2 -0
  131. package/dashboard/dist/assets/{ListToolbar-DEef1_-T.js.map → ListToolbar-jrVba7QN.js.map} +1 -1
  132. package/dashboard/dist/assets/{McpOverview-CZFW5qMb.js → McpOverview-BzyxJyc9.js} +2 -2
  133. package/dashboard/dist/assets/{McpOverview-CZFW5qMb.js.map → McpOverview-BzyxJyc9.js.map} +1 -1
  134. package/dashboard/dist/assets/{McpQueryDetailPage-q9xH-QRo.js → McpQueryDetailPage-DXNseeKl.js} +2 -2
  135. package/dashboard/dist/assets/{McpQueryDetailPage-q9xH-QRo.js.map → McpQueryDetailPage-DXNseeKl.js.map} +1 -1
  136. package/dashboard/dist/assets/{McpQueryPage-D14466yi.js → McpQueryPage-WZfTY43_.js} +2 -2
  137. package/dashboard/dist/assets/{McpQueryPage-D14466yi.js.map → McpQueryPage-WZfTY43_.js.map} +1 -1
  138. package/dashboard/dist/assets/McpRunDetailPage-DKZp-p7S.js +2 -0
  139. package/dashboard/dist/assets/McpRunDetailPage-DKZp-p7S.js.map +1 -0
  140. package/dashboard/dist/assets/McpRunsPage-SXyiwc0d.js +2 -0
  141. package/dashboard/dist/assets/{McpRunsPage-aZg057y3.js.map → McpRunsPage-SXyiwc0d.js.map} +1 -1
  142. package/dashboard/dist/assets/OperatorDashboard-Cy7ySMXj.js +2 -0
  143. package/dashboard/dist/assets/OperatorDashboard-Cy7ySMXj.js.map +1 -0
  144. package/dashboard/dist/assets/{PageHeader-CR6TpJG_.js → PageHeader-BuJpMxyu.js} +2 -2
  145. package/dashboard/dist/assets/{PageHeader-CR6TpJG_.js.map → PageHeader-BuJpMxyu.js.map} +1 -1
  146. package/dashboard/dist/assets/{PageHeaderWithStats-CRcQEAO1.js → PageHeaderWithStats-yD_PTbOl.js} +2 -2
  147. package/dashboard/dist/assets/{PageHeaderWithStats-CRcQEAO1.js.map → PageHeaderWithStats-yD_PTbOl.js.map} +1 -1
  148. package/dashboard/dist/assets/{ProcessDetailPage-DyzNjwu8.js → ProcessDetailPage-DYIfvWyc.js} +2 -2
  149. package/dashboard/dist/assets/{ProcessDetailPage-DyzNjwu8.js.map → ProcessDetailPage-DYIfvWyc.js.map} +1 -1
  150. package/dashboard/dist/assets/{ProcessesListPage-CT_3b5Wt.js → ProcessesListPage-DR1RGaMl.js} +2 -2
  151. package/dashboard/dist/assets/{ProcessesListPage-CT_3b5Wt.js.map → ProcessesListPage-DR1RGaMl.js.map} +1 -1
  152. package/dashboard/dist/assets/{RolePill-BC54Vn-U.js → RolePill-SasQKc_B.js} +2 -2
  153. package/dashboard/dist/assets/{RolePill-BC54Vn-U.js.map → RolePill-SasQKc_B.js.map} +1 -1
  154. package/dashboard/dist/assets/{RolesPage-CpRJq-sg.js → RolesPage-pMERxj15.js} +2 -2
  155. package/dashboard/dist/assets/{RolesPage-CpRJq-sg.js.map → RolesPage-pMERxj15.js.map} +1 -1
  156. package/dashboard/dist/assets/{RunAsSelector-C20rdNsC.js → RunAsSelector-B-ksMoEj.js} +2 -2
  157. package/dashboard/dist/assets/{RunAsSelector-C20rdNsC.js.map → RunAsSelector-B-ksMoEj.js.map} +1 -1
  158. package/dashboard/dist/assets/ServerName-CHspudaC.js +2 -0
  159. package/dashboard/dist/assets/{ServerName-Q6okiv4f.js.map → ServerName-CHspudaC.js.map} +1 -1
  160. package/dashboard/dist/assets/{SwimlaneTimeline-CbFaU4bq.js → SwimlaneTimeline-Cr_K5qpu.js} +2 -2
  161. package/dashboard/dist/assets/{SwimlaneTimeline-CbFaU4bq.js.map → SwimlaneTimeline-Cr_K5qpu.js.map} +1 -1
  162. package/dashboard/dist/assets/{TagInput-D6l1SPWd.js → TagInput-DvF3j8MA.js} +2 -2
  163. package/dashboard/dist/assets/{TagInput-D6l1SPWd.js.map → TagInput-DvF3j8MA.js.map} +1 -1
  164. package/dashboard/dist/assets/{TaskDetailPage-22cJsFmM.js → TaskDetailPage-BO5p7AEe.js} +2 -2
  165. package/dashboard/dist/assets/{TaskDetailPage-22cJsFmM.js.map → TaskDetailPage-BO5p7AEe.js.map} +1 -1
  166. package/dashboard/dist/assets/{TaskQueuePill-iDBVCEQQ.js → TaskQueuePill-BCQrS2oK.js} +2 -2
  167. package/dashboard/dist/assets/{TaskQueuePill-iDBVCEQQ.js.map → TaskQueuePill-BCQrS2oK.js.map} +1 -1
  168. package/dashboard/dist/assets/{TasksListPage-BDmaUIKu.js → TasksListPage-BRg-uFtF.js} +2 -2
  169. package/dashboard/dist/assets/{TasksListPage-BDmaUIKu.js.map → TasksListPage-BRg-uFtF.js.map} +1 -1
  170. package/dashboard/dist/assets/{TimeAgo-7wqEp87-.js → TimeAgo-BSzN6rAH.js} +2 -2
  171. package/dashboard/dist/assets/{TimeAgo-7wqEp87-.js.map → TimeAgo-BSzN6rAH.js.map} +1 -1
  172. package/dashboard/dist/assets/{TimestampCell-BBCf8zsN.js → TimestampCell-DL6zMNEQ.js} +2 -2
  173. package/dashboard/dist/assets/{TimestampCell-BBCf8zsN.js.map → TimestampCell-DL6zMNEQ.js.map} +1 -1
  174. package/dashboard/dist/assets/{ToolPill-HcRTggHo.js → ToolPill-1aTqYtzp.js} +2 -2
  175. package/dashboard/dist/assets/{ToolPill-HcRTggHo.js.map → ToolPill-1aTqYtzp.js.map} +1 -1
  176. package/dashboard/dist/assets/{ToolTestPanel-Dosq1cqG.js → ToolTestPanel-fLzNp79U.js} +2 -2
  177. package/dashboard/dist/assets/{ToolTestPanel-Dosq1cqG.js.map → ToolTestPanel-fLzNp79U.js.map} +1 -1
  178. package/dashboard/dist/assets/TopicDetailPage-D7gCsPKB.js +9 -0
  179. package/dashboard/dist/assets/TopicDetailPage-D7gCsPKB.js.map +1 -0
  180. package/dashboard/dist/assets/{TopicsPage-tVPdz-k0.js → TopicsPage-B3Aa8Haz.js} +2 -2
  181. package/dashboard/dist/assets/{TopicsPage-tVPdz-k0.js.map → TopicsPage-B3Aa8Haz.js.map} +1 -1
  182. package/dashboard/dist/assets/{UserName-DX7IBjFn.js → UserName-BjHIJWgh.js} +2 -2
  183. package/dashboard/dist/assets/{UserName-DX7IBjFn.js.map → UserName-BjHIJWgh.js.map} +1 -1
  184. package/dashboard/dist/assets/{WorkflowExecutionPage-BjC0j9_L.js → WorkflowExecutionPage-BQ7AYlQA.js} +2 -2
  185. package/dashboard/dist/assets/{WorkflowExecutionPage-BjC0j9_L.js.map → WorkflowExecutionPage-BQ7AYlQA.js.map} +1 -1
  186. package/dashboard/dist/assets/{WorkflowPill-54px0YiY.js → WorkflowPill-Z-zHRKOK.js} +2 -2
  187. package/dashboard/dist/assets/{WorkflowPill-54px0YiY.js.map → WorkflowPill-Z-zHRKOK.js.map} +1 -1
  188. package/dashboard/dist/assets/WorkflowsDashboard-D-G8Xudz.js +2 -0
  189. package/dashboard/dist/assets/WorkflowsDashboard-D-G8Xudz.js.map +1 -0
  190. package/dashboard/dist/assets/{WorkflowsOverview-DaJRDkNy.js → WorkflowsOverview-B4DUcVxs.js} +2 -2
  191. package/dashboard/dist/assets/{WorkflowsOverview-DaJRDkNy.js.map → WorkflowsOverview-B4DUcVxs.js.map} +1 -1
  192. package/dashboard/dist/assets/{YamlWorkflowsPage-CkpQaUmz.js → YamlWorkflowsPage-CnTNOku0.js} +2 -2
  193. package/dashboard/dist/assets/{YamlWorkflowsPage-CkpQaUmz.js.map → YamlWorkflowsPage-CnTNOku0.js.map} +1 -1
  194. package/dashboard/dist/assets/{agents-B-P5MlEx.js → agents-CkvQDr9b.js} +2 -2
  195. package/dashboard/dist/assets/{agents-B-P5MlEx.js.map → agents-CkvQDr9b.js.map} +1 -1
  196. package/dashboard/dist/assets/{bots-CZz9iVys.js → bots-CzuMCVgU.js} +2 -2
  197. package/dashboard/dist/assets/{bots-CZz9iVys.js.map → bots-CzuMCVgU.js.map} +1 -1
  198. package/dashboard/dist/assets/{capabilities-DrZ8Vw_v.js → capabilities-CbGmS0ty.js} +2 -2
  199. package/dashboard/dist/assets/{capabilities-DrZ8Vw_v.js.map → capabilities-CbGmS0ty.js.map} +1 -1
  200. package/dashboard/dist/assets/{controlplane-cj-1c-1C.js → controlplane-DGvwkuYx.js} +2 -2
  201. package/dashboard/dist/assets/{controlplane-cj-1c-1C.js.map → controlplane-DGvwkuYx.js.map} +1 -1
  202. package/dashboard/dist/assets/{escalation-BEVFyQnE.js → escalation-B7ysVToF.js} +2 -2
  203. package/dashboard/dist/assets/{escalation-BEVFyQnE.js.map → escalation-B7ysVToF.js.map} +1 -1
  204. package/dashboard/dist/assets/{escalation-columns-Beox3TXH.js → escalation-columns-CHQEJU1j.js} +2 -2
  205. package/dashboard/dist/assets/{escalation-columns-Beox3TXH.js.map → escalation-columns-CHQEJU1j.js.map} +1 -1
  206. package/dashboard/dist/assets/{helpers-B4gzNq9h.js → helpers-BFOjXa4r.js} +2 -2
  207. package/dashboard/dist/assets/{helpers-B4gzNq9h.js.map → helpers-BFOjXa4r.js.map} +1 -1
  208. package/dashboard/dist/assets/index-B9_1AZaG.js +2 -0
  209. package/dashboard/dist/assets/{index-3n5VREXN.js.map → index-B9_1AZaG.js.map} +1 -1
  210. package/dashboard/dist/assets/{index-BCQ65lNu.js → index-BFaDxPxA.js} +2 -2
  211. package/dashboard/dist/assets/{index-BCQ65lNu.js.map → index-BFaDxPxA.js.map} +1 -1
  212. package/dashboard/dist/assets/index-BduDiGcw.js +15 -0
  213. package/dashboard/dist/assets/{index-UtAfnStw.js.map → index-BduDiGcw.js.map} +1 -1
  214. package/dashboard/dist/assets/{index-Bh-PnP17.js → index-BeLphL59.js} +2 -2
  215. package/dashboard/dist/assets/{index-Bh-PnP17.js.map → index-BeLphL59.js.map} +1 -1
  216. package/dashboard/dist/assets/index-C--SEsU7.css +1 -0
  217. package/dashboard/dist/assets/{index-_DfbFHXk.js → index-CRiBkHPb.js} +2 -2
  218. package/dashboard/dist/assets/{index-_DfbFHXk.js.map → index-CRiBkHPb.js.map} +1 -1
  219. package/dashboard/dist/assets/{index-DdKbIZNE.js → index-CbrMW-gM.js} +2 -2
  220. package/dashboard/dist/assets/{index-DdKbIZNE.js.map → index-CbrMW-gM.js.map} +1 -1
  221. package/dashboard/dist/assets/{index-aJRDh4zW.js → index-CvOGgvzP.js} +2 -2
  222. package/dashboard/dist/assets/{index-aJRDh4zW.js.map → index-CvOGgvzP.js.map} +1 -1
  223. package/dashboard/dist/assets/{index-D1MywQ2z.js → index-DDlrQeTj.js} +2 -2
  224. package/dashboard/dist/assets/{index-D1MywQ2z.js.map → index-DDlrQeTj.js.map} +1 -1
  225. package/dashboard/dist/assets/{index-BYXiz05a.js → index-DQHmfTPo.js} +2 -2
  226. package/dashboard/dist/assets/{index-BYXiz05a.js.map → index-DQHmfTPo.js.map} +1 -1
  227. package/dashboard/dist/assets/{index-BpN31nuC.js → index-_BRA9uFL.js} +25 -25
  228. package/dashboard/dist/assets/index-_BRA9uFL.js.map +1 -0
  229. package/dashboard/dist/assets/index-a98qWLB-.js +2 -0
  230. package/dashboard/dist/assets/index-a98qWLB-.js.map +1 -0
  231. package/dashboard/dist/assets/index-l_8R6U4r.js +6 -0
  232. package/dashboard/dist/assets/index-l_8R6U4r.js.map +1 -0
  233. package/dashboard/dist/assets/{index-D4KGadbW.js → index-v0OQpgXS.js} +2 -2
  234. package/dashboard/dist/assets/{index-D4KGadbW.js.map → index-v0OQpgXS.js.map} +1 -1
  235. package/dashboard/dist/assets/{knowledge-DhtKWMON.js → knowledge-BlF8UMrk.js} +2 -2
  236. package/dashboard/dist/assets/{knowledge-DhtKWMON.js.map → knowledge-BlF8UMrk.js.map} +1 -1
  237. package/dashboard/dist/assets/{mcp-BXN7-wGF.js → mcp-MtXuky8q.js} +2 -2
  238. package/dashboard/dist/assets/{mcp-BXN7-wGF.js.map → mcp-MtXuky8q.js.map} +1 -1
  239. package/dashboard/dist/assets/{mcp-query-BIJP4mQJ.js → mcp-query-DQ-J1Q0K.js} +2 -2
  240. package/dashboard/dist/assets/{mcp-query-BIJP4mQJ.js.map → mcp-query-DQ-J1Q0K.js.map} +1 -1
  241. package/dashboard/dist/assets/{namespaces-ne_yDQZX.js → namespaces-DtsT_GoV.js} +2 -2
  242. package/dashboard/dist/assets/{namespaces-ne_yDQZX.js.map → namespaces-DtsT_GoV.js.map} +1 -1
  243. package/dashboard/dist/assets/{pipelines-Bcz62DoS.js → pipelines-BjlCm9VH.js} +2 -2
  244. package/dashboard/dist/assets/{pipelines-Bcz62DoS.js.map → pipelines-BjlCm9VH.js.map} +1 -1
  245. package/dashboard/dist/assets/{roles-De2CzGCy.js → roles-D-LhJ82d.js} +2 -2
  246. package/dashboard/dist/assets/{roles-De2CzGCy.js.map → roles-D-LhJ82d.js.map} +1 -1
  247. package/dashboard/dist/assets/{tasks-4yL5EfxI.js → tasks-BrP_8uEN.js} +2 -2
  248. package/dashboard/dist/assets/{tasks-4yL5EfxI.js.map → tasks-BrP_8uEN.js.map} +1 -1
  249. package/dashboard/dist/assets/topics-DUk-zX5D.js +2 -0
  250. package/dashboard/dist/assets/{topics-DDKHpRwP.js.map → topics-DUk-zX5D.js.map} +1 -1
  251. package/dashboard/dist/assets/useEventHooks-XNNzwADV.js +2 -0
  252. package/dashboard/dist/assets/useEventHooks-XNNzwADV.js.map +1 -0
  253. package/dashboard/dist/assets/{useYamlActivityEvents-Dv6GhDkh.js → useYamlActivityEvents-DANQ5jIY.js} +2 -2
  254. package/dashboard/dist/assets/{useYamlActivityEvents-Dv6GhDkh.js.map → useYamlActivityEvents-DANQ5jIY.js.map} +1 -1
  255. package/dashboard/dist/assets/{users-pSMWP58G.js → users-vj0JgOkA.js} +2 -2
  256. package/dashboard/dist/assets/{users-pSMWP58G.js.map → users-vj0JgOkA.js.map} +1 -1
  257. package/dashboard/dist/assets/{vendor-icons-CrrAvF2g.js → vendor-icons-Doy0g69_.js} +116 -111
  258. package/dashboard/dist/assets/vendor-icons-Doy0g69_.js.map +1 -0
  259. package/dashboard/dist/assets/{workflows-COYPOe2I.js → workflows-CmqgGPzI.js} +2 -2
  260. package/dashboard/dist/assets/{workflows-COYPOe2I.js.map → workflows-CmqgGPzI.js.map} +1 -1
  261. package/dashboard/dist/assets/{yaml-workflows-1dF3ig6u.js → yaml-workflows-DNFyjBXH.js} +2 -2
  262. package/dashboard/dist/assets/{yaml-workflows-1dF3ig6u.js.map → yaml-workflows-DNFyjBXH.js.map} +1 -1
  263. package/dashboard/dist/index.html +3 -3
  264. package/docs/api/http/controlplane.md +1 -1
  265. package/docs/api/http/mcp-endpoint.md +133 -0
  266. package/docs/api/http/roles.md +46 -0
  267. package/docs/api/http/service-accounts.md +15 -0
  268. package/docs/api/http/settings.md +6 -0
  269. package/docs/api/mcp/admin.md +1187 -0
  270. package/docs/api/mcp/claude-code.md +47 -0
  271. package/docs/api/mcp/docs.md +54 -0
  272. package/docs/api/mcp/events.md +80 -0
  273. package/docs/api/mcp/file-storage.md +76 -0
  274. package/docs/api/mcp/http-fetch.md +64 -0
  275. package/docs/api/mcp/human-queue.md +101 -0
  276. package/docs/api/mcp/index.md +52 -0
  277. package/docs/api/mcp/knowledge.md +125 -0
  278. package/docs/api/mcp/oauth.md +62 -0
  279. package/docs/api/mcp/schema-exchange.md +56 -0
  280. package/docs/api/mcp/translation.md +28 -0
  281. package/docs/api/mcp/vision.md +46 -0
  282. package/docs/api/sdk/settings.md +3 -1
  283. package/docs/auth.md +109 -0
  284. package/docs/dashboard.md +1 -1
  285. package/package.json +1 -1
  286. package/build/system/mcp-servers/playwright/browser-lifecycle.d.ts +0 -26
  287. package/build/system/mcp-servers/playwright/browser-lifecycle.js +0 -125
  288. package/build/system/mcp-servers/playwright/index.d.ts +0 -25
  289. package/build/system/mcp-servers/playwright/index.js +0 -42
  290. package/build/system/mcp-servers/playwright/schemas.d.ts +0 -394
  291. package/build/system/mcp-servers/playwright/schemas.js +0 -90
  292. package/build/system/mcp-servers/playwright/tools-atomic.d.ts +0 -2
  293. package/build/system/mcp-servers/playwright/tools-atomic.js +0 -9
  294. package/build/system/mcp-servers/playwright/tools-navigation.d.ts +0 -2
  295. package/build/system/mcp-servers/playwright/tools-navigation.js +0 -153
  296. package/build/system/mcp-servers/playwright/tools-page-interaction.d.ts +0 -2
  297. package/build/system/mcp-servers/playwright/tools-page-interaction.js +0 -162
  298. package/build/system/mcp-servers/playwright/tools-run-script.d.ts +0 -2
  299. package/build/system/mcp-servers/playwright/tools-run-script.js +0 -207
  300. package/build/system/mcp-servers/playwright/types.d.ts +0 -8
  301. package/build/system/mcp-servers/playwright/types.js +0 -30
  302. package/build/system/mcp-servers/playwright/vision-helper.d.ts +0 -12
  303. package/build/system/mcp-servers/playwright/vision-helper.js +0 -81
  304. package/build/system/mcp-servers/playwright-cli/helpers.d.ts +0 -11
  305. package/build/system/mcp-servers/playwright-cli/helpers.js +0 -20
  306. package/build/system/mcp-servers/playwright-cli/index.d.ts +0 -4
  307. package/build/system/mcp-servers/playwright-cli/index.js +0 -15
  308. package/build/system/mcp-servers/playwright-cli/schemas.d.ts +0 -219
  309. package/build/system/mcp-servers/playwright-cli/schemas.js +0 -75
  310. package/build/system/mcp-servers/playwright-cli/tools-auth.d.ts +0 -2
  311. package/build/system/mcp-servers/playwright-cli/tools-auth.js +0 -183
  312. package/build/system/mcp-servers/playwright-cli/tools-capture.d.ts +0 -2
  313. package/build/system/mcp-servers/playwright-cli/tools-capture.js +0 -273
  314. package/build/system/seed/tool-manifests-browser.d.ts +0 -577
  315. package/build/system/seed/tool-manifests-browser.js +0 -158
  316. package/dashboard/dist/assets/AgentConfigPage-DBtvb2x5.js +0 -16
  317. package/dashboard/dist/assets/AgentConfigPage-DBtvb2x5.js.map +0 -1
  318. package/dashboard/dist/assets/AgentDetailPage-3mZA7SOb.js.map +0 -1
  319. package/dashboard/dist/assets/AvailableEscalationsPage-CA9x9o5s.js +0 -2
  320. package/dashboard/dist/assets/BotPicker-BQp_Vs73.js +0 -2
  321. package/dashboard/dist/assets/CronLabel-DY8VdTS9.js +0 -2
  322. package/dashboard/dist/assets/CronLabel-DY8VdTS9.js.map +0 -1
  323. package/dashboard/dist/assets/ElapsedCell-BPYm8RA7.js +0 -2
  324. package/dashboard/dist/assets/EventTopicPill-CCWCs07y.js +0 -2
  325. package/dashboard/dist/assets/EventTopicPill-CCWCs07y.js.map +0 -1
  326. package/dashboard/dist/assets/HomePage-CwRebzmO.js +0 -2
  327. package/dashboard/dist/assets/HomePage-CwRebzmO.js.map +0 -1
  328. package/dashboard/dist/assets/ListToolbar-DEef1_-T.js +0 -2
  329. package/dashboard/dist/assets/McpRunDetailPage-X0sfRFTk.js +0 -2
  330. package/dashboard/dist/assets/McpRunDetailPage-X0sfRFTk.js.map +0 -1
  331. package/dashboard/dist/assets/McpRunsPage-aZg057y3.js +0 -2
  332. package/dashboard/dist/assets/OperatorDashboard-iZEHnndU.js +0 -2
  333. package/dashboard/dist/assets/OperatorDashboard-iZEHnndU.js.map +0 -1
  334. package/dashboard/dist/assets/ServerName-Q6okiv4f.js +0 -2
  335. package/dashboard/dist/assets/TopicDetailPage-DW97-YHQ.js +0 -9
  336. package/dashboard/dist/assets/TopicDetailPage-DW97-YHQ.js.map +0 -1
  337. package/dashboard/dist/assets/WorkflowsDashboard-eCH4gpAk.js +0 -2
  338. package/dashboard/dist/assets/WorkflowsDashboard-eCH4gpAk.js.map +0 -1
  339. package/dashboard/dist/assets/index-3n5VREXN.js +0 -2
  340. package/dashboard/dist/assets/index-BAXzN-QB.js +0 -6
  341. package/dashboard/dist/assets/index-BAXzN-QB.js.map +0 -1
  342. package/dashboard/dist/assets/index-BpN31nuC.js.map +0 -1
  343. package/dashboard/dist/assets/index-C37LMzJa.css +0 -1
  344. package/dashboard/dist/assets/index-C5dHozmW.js +0 -2
  345. package/dashboard/dist/assets/index-C5dHozmW.js.map +0 -1
  346. package/dashboard/dist/assets/index-UtAfnStw.js +0 -15
  347. package/dashboard/dist/assets/topics-DDKHpRwP.js +0 -2
  348. package/dashboard/dist/assets/useEventHooks-NzIyvoGY.js +0 -2
  349. package/dashboard/dist/assets/useEventHooks-NzIyvoGY.js.map +0 -1
  350. package/dashboard/dist/assets/vendor-icons-CrrAvF2g.js.map +0 -1
@@ -0,0 +1,1187 @@
1
+ # Admin
2
+
3
+ Unified system management — tasks, escalations, workflows, agents, bot accounts, control plane, pipelines, topics, users, roles, and settings.
4
+
5
+ | Property | Value |
6
+ |----------|-------|
7
+ | Server ID | `long-tail-admin` |
8
+ | Category | System |
9
+ | AI required | No |
10
+ | Credential providers | — |
11
+
12
+ ## Compile Hints
13
+
14
+ Admin tools modify system configuration. certify_workflow and decertify_workflow change interceptor behavior.
15
+
16
+ ## Tasks
17
+
18
+ ### find_tasks
19
+
20
+ Search tasks with optional filters. Returns task records with workflow_id, status, workflow_type, and timestamps.
21
+
22
+ | | |
23
+ |---|---|
24
+ | Read-safe | Yes |
25
+
26
+ **Parameters:**
27
+
28
+ | Field | Type | Required | Description |
29
+ |-------|------|----------|-------------|
30
+ | status | string | No | Filter by status |
31
+ | workflow_type | string | No | Filter by workflow type |
32
+ | workflow_id | string | No | Filter by workflow ID |
33
+ | origin_id | string | No | Filter by origin ID |
34
+ | limit | integer | No | Max results |
35
+ | offset | integer | No | Pagination offset |
36
+
37
+ ### get_process_detail
38
+
39
+ Get all tasks and escalations for a process (origin_id).
40
+
41
+ | | |
42
+ |---|---|
43
+ | Read-safe | Yes |
44
+
45
+ **Parameters:**
46
+
47
+ | Field | Type | Required | Description |
48
+ |-------|------|----------|-------------|
49
+ | origin_id | string | Yes | The process origin ID |
50
+
51
+ ## Escalations
52
+
53
+ ### find_escalations
54
+
55
+ Search escalations with optional filters by status, role, type, priority.
56
+
57
+ | | |
58
+ |---|---|
59
+ | Read-safe | Yes |
60
+
61
+ **Parameters:**
62
+
63
+ | Field | Type | Required | Description |
64
+ |-------|------|----------|-------------|
65
+ | status | string | No | pending or resolved |
66
+ | role | string | No | Filter by role |
67
+ | type | string | No | Filter by type |
68
+ | priority | integer | No | Filter by priority |
69
+ | limit | integer | No | Max results |
70
+ | offset | integer | No | Pagination offset |
71
+
72
+ ### get_escalation_stats
73
+
74
+ Aggregated escalation statistics: pending, claimed, created, resolved counts with breakdown by role.
75
+
76
+ | | |
77
+ |---|---|
78
+ | Read-safe | Yes |
79
+
80
+ **Parameters:**
81
+
82
+ | Field | Type | Required | Description |
83
+ |-------|------|----------|-------------|
84
+ | period | string | No | Time period for stats |
85
+
86
+ ### claim_escalation
87
+
88
+ Claim an escalation for a time-boxed lock.
89
+
90
+ | | |
91
+ |---|---|
92
+ | Read-safe | No |
93
+
94
+ **Parameters:**
95
+
96
+ | Field | Type | Required | Description |
97
+ |-------|------|----------|-------------|
98
+ | id | string | Yes | Escalation ID |
99
+ | duration_minutes | integer | No | Lock duration |
100
+
101
+ ### release_expired_claims
102
+
103
+ Release all escalation claims that exceeded their lock duration.
104
+
105
+ | | |
106
+ |---|---|
107
+ | Read-safe | No |
108
+
109
+ **Parameters:** None.
110
+
111
+ ### bulk_triage
112
+
113
+ Resolve escalations for triage and start mcpTriage workflows.
114
+
115
+ | | |
116
+ |---|---|
117
+ | Read-safe | No |
118
+
119
+ **Parameters:**
120
+
121
+ | Field | Type | Required | Description |
122
+ |-------|------|----------|-------------|
123
+ | ids | string[] | Yes | Escalation IDs to triage |
124
+ | hint | string | No | Triage hint |
125
+
126
+ ### find_by_metadata
127
+
128
+ Find escalations by a metadata key-value pair.
129
+
130
+ | | |
131
+ |---|---|
132
+ | Read-safe | Yes |
133
+
134
+ **Parameters:**
135
+
136
+ | Field | Type | Required | Description |
137
+ |-------|------|----------|-------------|
138
+ | key | string | Yes | Metadata key |
139
+ | value | string | Yes | Metadata value |
140
+ | status | string | No | Filter by status |
141
+ | limit | integer | No | Max results |
142
+ | offset | integer | No | Pagination offset |
143
+
144
+ ### claim_by_metadata
145
+
146
+ Find and claim an escalation by metadata key-value pair.
147
+
148
+ | | |
149
+ |---|---|
150
+ | Read-safe | No |
151
+
152
+ **Parameters:**
153
+
154
+ | Field | Type | Required | Description |
155
+ |-------|------|----------|-------------|
156
+ | key | string | Yes | Metadata key |
157
+ | value | string | Yes | Metadata value |
158
+ | durationMinutes | integer | No | Lock duration |
159
+ | assignee | string | No | Assignee |
160
+ | metadata | object | No | Additional metadata |
161
+
162
+ ### resolve_by_metadata
163
+
164
+ Find and resolve an escalation by metadata key-value pair.
165
+
166
+ | | |
167
+ |---|---|
168
+ | Read-safe | No |
169
+
170
+ **Parameters:**
171
+
172
+ | Field | Type | Required | Description |
173
+ |-------|------|----------|-------------|
174
+ | key | string | Yes | Metadata key |
175
+ | value | string | Yes | Metadata value |
176
+ | resolverPayload | object | Yes | Resolution payload |
177
+ | assignee | string | No | Assignee |
178
+ | metadata | object | No | Additional metadata |
179
+
180
+ ### bulk_claim
181
+
182
+ Claim multiple escalations in a single operation.
183
+
184
+ | | |
185
+ |---|---|
186
+ | Read-safe | No |
187
+
188
+ **Parameters:**
189
+
190
+ | Field | Type | Required | Description |
191
+ |-------|------|----------|-------------|
192
+ | ids | string[] | Yes | Escalation IDs |
193
+ | durationMinutes | integer | No | Lock duration |
194
+
195
+ ### bulk_assign
196
+
197
+ Assign multiple escalations to a specific user.
198
+
199
+ | | |
200
+ |---|---|
201
+ | Read-safe | No |
202
+
203
+ **Parameters:**
204
+
205
+ | Field | Type | Required | Description |
206
+ |-------|------|----------|-------------|
207
+ | ids | string[] | Yes | Escalation IDs |
208
+ | targetUserId | string | Yes | User to assign to |
209
+ | durationMinutes | integer | No | Lock duration |
210
+
211
+ ### bulk_escalate
212
+
213
+ Escalate multiple escalations to a different role.
214
+
215
+ | | |
216
+ |---|---|
217
+ | Read-safe | No |
218
+
219
+ **Parameters:**
220
+
221
+ | Field | Type | Required | Description |
222
+ |-------|------|----------|-------------|
223
+ | ids | string[] | Yes | Escalation IDs |
224
+ | targetRole | string | Yes | Target role |
225
+
226
+ ### update_priority
227
+
228
+ Update the priority of multiple escalations.
229
+
230
+ | | |
231
+ |---|---|
232
+ | Read-safe | No |
233
+
234
+ **Parameters:**
235
+
236
+ | Field | Type | Required | Description |
237
+ |-------|------|----------|-------------|
238
+ | ids | string[] | Yes | Escalation IDs |
239
+ | priority | integer | Yes | New priority value |
240
+
241
+ ## Workflow Configuration
242
+
243
+ ### list_workflow_configs
244
+
245
+ List all certified workflow configurations with roles and settings.
246
+
247
+ | | |
248
+ |---|---|
249
+ | Read-safe | Yes |
250
+
251
+ **Parameters:** None.
252
+
253
+ ### upsert_workflow_config
254
+
255
+ Create or replace a workflow configuration (certify). Activates the interceptor for task tracking and escalation chains.
256
+
257
+ | | |
258
+ |---|---|
259
+ | Read-safe | No |
260
+
261
+ **Parameters:**
262
+
263
+ | Field | Type | Required | Description |
264
+ |-------|------|----------|-------------|
265
+ | workflow_type | string | Yes | Workflow type identifier |
266
+ | invocable | boolean | No | Whether the workflow can be invoked externally |
267
+ | task_queue | string | No | HotMesh task queue |
268
+ | default_role | string | No | Default escalation role |
269
+ | description | string | No | Workflow description |
270
+ | execute_as | string | No | Execution identity |
271
+ | roles | string[] | No | Allowed roles |
272
+ | invocation_roles | string[] | No | Roles allowed to invoke |
273
+ | consumes | string[] | No | Event topics consumed |
274
+ | tool_tags | string[] | No | Tool tags for routing |
275
+ | cron_schedule | string | No | Cron schedule expression |
276
+
277
+ ### delete_workflow_config
278
+
279
+ De-certify a workflow by removing its config entry.
280
+
281
+ | | |
282
+ |---|---|
283
+ | Read-safe | No |
284
+
285
+ **Parameters:**
286
+
287
+ | Field | Type | Required | Description |
288
+ |-------|------|----------|-------------|
289
+ | workflow_type | string | Yes | Workflow type to remove |
290
+
291
+ ## Workflows
292
+
293
+ ### list_discovered_workflows
294
+
295
+ Unified list of all known workflows: active workers, historical entities, and registered configs.
296
+
297
+ | | |
298
+ |---|---|
299
+ | Read-safe | Yes |
300
+
301
+ **Parameters:**
302
+
303
+ | Field | Type | Required | Description |
304
+ |-------|------|----------|-------------|
305
+ | include_system | boolean | No | Include system workflows |
306
+
307
+ ### invoke_workflow
308
+
309
+ Start a certified workflow by type. Returns workflow ID immediately.
310
+
311
+ | | |
312
+ |---|---|
313
+ | Read-safe | No |
314
+
315
+ **Parameters:**
316
+
317
+ | Field | Type | Required | Description |
318
+ |-------|------|----------|-------------|
319
+ | workflow_type | string | Yes | Workflow type to invoke |
320
+ | data | object | Yes | Input data |
321
+ | metadata | object | No | Workflow metadata |
322
+ | execute_as | string | No | Execution identity |
323
+
324
+ ### get_workflow_status
325
+
326
+ Check workflow status and result. Returns status (0=complete, positive=running) and result if complete.
327
+
328
+ | | |
329
+ |---|---|
330
+ | Read-safe | Yes |
331
+
332
+ **Parameters:**
333
+
334
+ | Field | Type | Required | Description |
335
+ |-------|------|----------|-------------|
336
+ | workflow_id | string | Yes | Workflow ID to check |
337
+
338
+ ## MCP Servers
339
+
340
+ ### list_mcp_servers
341
+
342
+ List registered MCP servers with optional filters by status, tags, or search.
343
+
344
+ | | |
345
+ |---|---|
346
+ | Read-safe | Yes |
347
+
348
+ **Parameters:**
349
+
350
+ | Field | Type | Required | Description |
351
+ |-------|------|----------|-------------|
352
+ | status | string | No | Filter by status |
353
+ | tags | string | No | Filter by tags |
354
+ | search | string | No | Search term |
355
+ | limit | integer | No | Max results |
356
+ | offset | integer | No | Pagination offset |
357
+
358
+ ### update_mcp_server
359
+
360
+ Update an MCP server registration (tags, description, auto_connect).
361
+
362
+ | | |
363
+ |---|---|
364
+ | Read-safe | No |
365
+
366
+ **Parameters:**
367
+
368
+ | Field | Type | Required | Description |
369
+ |-------|------|----------|-------------|
370
+ | id | string | Yes | Server ID |
371
+ | name | string | No | Server name |
372
+ | description | string | No | Description |
373
+ | tags | string[] | No | Tags |
374
+ | auto_connect | boolean | No | Auto-connect on startup |
375
+
376
+ ### connect_mcp_server
377
+
378
+ Connect to a registered MCP server.
379
+
380
+ | | |
381
+ |---|---|
382
+ | Read-safe | No |
383
+
384
+ **Parameters:**
385
+
386
+ | Field | Type | Required | Description |
387
+ |-------|------|----------|-------------|
388
+ | id | string | Yes | Server ID |
389
+
390
+ ### disconnect_mcp_server
391
+
392
+ Disconnect from an MCP server.
393
+
394
+ | | |
395
+ |---|---|
396
+ | Read-safe | No |
397
+
398
+ **Parameters:**
399
+
400
+ | Field | Type | Required | Description |
401
+ |-------|------|----------|-------------|
402
+ | id | string | Yes | Server ID |
403
+
404
+ ## YAML Workflows
405
+
406
+ ### list_yaml_workflows
407
+
408
+ List compiled YAML workflows with optional status, namespace, or search filter.
409
+
410
+ | | |
411
+ |---|---|
412
+ | Read-safe | Yes |
413
+
414
+ **Parameters:**
415
+
416
+ | Field | Type | Required | Description |
417
+ |-------|------|----------|-------------|
418
+ | status | string | No | Filter by status |
419
+ | app_id | string | No | Filter by namespace |
420
+ | search | string | No | Search term |
421
+ | source_workflow_id | string | No | Filter by source workflow |
422
+ | limit | integer | No | Max results |
423
+ | offset | integer | No | Pagination offset |
424
+
425
+ ### get_yaml_workflow
426
+
427
+ Inspect a compiled workflow by ID. Returns activity manifest, schemas, and YAML content.
428
+
429
+ | | |
430
+ |---|---|
431
+ | Read-safe | Yes |
432
+
433
+ **Parameters:**
434
+
435
+ | Field | Type | Required | Description |
436
+ |-------|------|----------|-------------|
437
+ | id | string | Yes | Workflow ID |
438
+
439
+ ### create_yaml_workflow
440
+
441
+ Compile a completed execution into a deterministic YAML workflow. Stored as a draft.
442
+
443
+ | | |
444
+ |---|---|
445
+ | Read-safe | No |
446
+
447
+ **Parameters:**
448
+
449
+ | Field | Type | Required | Description |
450
+ |-------|------|----------|-------------|
451
+ | workflow_id | string | Yes | Source execution workflow ID |
452
+ | task_queue | string | Yes | HotMesh task queue |
453
+ | workflow_name | string | Yes | Workflow name |
454
+ | name | string | Yes | Display name |
455
+ | description | string | No | Description |
456
+ | app_id | string | No | Namespace |
457
+ | tags | string[] | No | Tags |
458
+ | compilation_feedback | string | No | Compilation guidance |
459
+
460
+ ### deploy_yaml_workflow
461
+
462
+ Deploy a compiled YAML workflow, activate it, and register workers.
463
+
464
+ | | |
465
+ |---|---|
466
+ | Read-safe | No |
467
+
468
+ **Parameters:**
469
+
470
+ | Field | Type | Required | Description |
471
+ |-------|------|----------|-------------|
472
+ | id | string | Yes | Workflow ID to deploy |
473
+
474
+ ### invoke_yaml_workflow
475
+
476
+ Run a compiled YAML workflow. Deterministic — no LLM. Set sync=true to wait.
477
+
478
+ | | |
479
+ |---|---|
480
+ | Read-safe | No |
481
+
482
+ **Parameters:**
483
+
484
+ | Field | Type | Required | Description |
485
+ |-------|------|----------|-------------|
486
+ | id | string | Yes | Workflow ID to invoke |
487
+ | data | object | No | Input data |
488
+ | sync | boolean | No | Wait for result |
489
+ | timeout | integer | No | Max wait time in ms (sync mode) |
490
+
491
+ ## Users & Roles
492
+
493
+ ### list_users
494
+
495
+ List user accounts with optional role and status filters.
496
+
497
+ | | |
498
+ |---|---|
499
+ | Read-safe | Yes |
500
+
501
+ **Parameters:**
502
+
503
+ | Field | Type | Required | Description |
504
+ |-------|------|----------|-------------|
505
+ | role | string | No | Filter by role |
506
+ | status | string | No | Filter by status |
507
+ | limit | integer | No | Max results |
508
+ | offset | integer | No | Pagination offset |
509
+
510
+ ### create_user
511
+
512
+ Create a new user account with optional roles.
513
+
514
+ | | |
515
+ |---|---|
516
+ | Read-safe | No |
517
+
518
+ **Parameters:**
519
+
520
+ | Field | Type | Required | Description |
521
+ |-------|------|----------|-------------|
522
+ | external_id | string | Yes | External identifier |
523
+ | display_name | string | No | Display name |
524
+ | email | string | No | Email address |
525
+ | roles | object[] | No | Roles array (each: role, type: superadmin/admin/member) |
526
+
527
+ ### add_user_role
528
+
529
+ Assign a role to a user.
530
+
531
+ | | |
532
+ |---|---|
533
+ | Read-safe | No |
534
+
535
+ **Parameters:**
536
+
537
+ | Field | Type | Required | Description |
538
+ |-------|------|----------|-------------|
539
+ | user_id | string | Yes | User ID |
540
+ | role | string | Yes | Role name |
541
+ | type | string | Yes | Role type: superadmin, admin, or member |
542
+
543
+ ### remove_user_role
544
+
545
+ Remove a role from a user.
546
+
547
+ | | |
548
+ |---|---|
549
+ | Read-safe | No |
550
+
551
+ **Parameters:**
552
+
553
+ | Field | Type | Required | Description |
554
+ |-------|------|----------|-------------|
555
+ | user_id | string | Yes | User ID |
556
+ | role | string | Yes | Role name to remove |
557
+
558
+ ### list_roles
559
+
560
+ List all distinct roles known to the system.
561
+
562
+ | | |
563
+ |---|---|
564
+ | Read-safe | Yes |
565
+
566
+ **Parameters:** None.
567
+
568
+ ### create_role
569
+
570
+ Create a new role. Lowercase alphanumeric with hyphens/underscores.
571
+
572
+ | | |
573
+ |---|---|
574
+ | Read-safe | No |
575
+
576
+ **Parameters:**
577
+
578
+ | Field | Type | Required | Description |
579
+ |-------|------|----------|-------------|
580
+ | role | string | Yes | Role name |
581
+
582
+ ### add_escalation_chain
583
+
584
+ Define an escalation path from one role to another.
585
+
586
+ | | |
587
+ |---|---|
588
+ | Read-safe | No |
589
+
590
+ **Parameters:**
591
+
592
+ | Field | Type | Required | Description |
593
+ |-------|------|----------|-------------|
594
+ | source_role | string | Yes | Source role |
595
+ | target_role | string | Yes | Target role |
596
+
597
+ ## Maintenance
598
+
599
+ ### prune
600
+
601
+ Prune expired jobs, streams, and execution artifacts from the database.
602
+
603
+ | | |
604
+ |---|---|
605
+ | Read-safe | No |
606
+
607
+ **Parameters:**
608
+
609
+ | Field | Type | Required | Description |
610
+ |-------|------|----------|-------------|
611
+ | expire | string | No | Expiration threshold |
612
+ | jobs | boolean | No | Prune jobs |
613
+ | streams | boolean | No | Prune streams |
614
+ | entities | string[] | No | Specific entities to prune |
615
+ | prune_transient | boolean | No | Prune transient data |
616
+
617
+ ## Agents
618
+
619
+ ### list_agents
620
+
621
+ List agent automations with optional status and knowledge domain filters.
622
+
623
+ | | |
624
+ |---|---|
625
+ | Read-safe | Yes |
626
+
627
+ **Parameters:**
628
+
629
+ | Field | Type | Required | Description |
630
+ |-------|------|----------|-------------|
631
+ | status | string | No | Filter by status |
632
+ | knowledge_domain | string | No | Filter by knowledge domain |
633
+ | limit | integer | No | Max results |
634
+ | offset | integer | No | Pagination offset |
635
+
636
+ ### get_agent
637
+
638
+ Get a single agent automation by ID with aggregated stats.
639
+
640
+ | | |
641
+ |---|---|
642
+ | Read-safe | Yes |
643
+
644
+ **Parameters:**
645
+
646
+ | Field | Type | Required | Description |
647
+ |-------|------|----------|-------------|
648
+ | id | string | Yes | Agent ID |
649
+
650
+ ### create_agent
651
+
652
+ Create a new agent automation with identity, goals, rules, and subscriptions.
653
+
654
+ | | |
655
+ |---|---|
656
+ | Read-safe | No |
657
+
658
+ **Parameters:**
659
+
660
+ | Field | Type | Required | Description |
661
+ |-------|------|----------|-------------|
662
+ | id | string | Yes | Agent ID |
663
+ | description | string | No | Agent description |
664
+ | goals | string[] | No | Agent goals |
665
+ | rules | string[] | No | Agent rules |
666
+ | status | string | No | Initial status |
667
+ | knowledge_domain | string | No | Knowledge domain |
668
+ | schedules | array | No | Cron schedules |
669
+ | subscriptions | array | No | Event subscriptions |
670
+
671
+ ### update_agent
672
+
673
+ Update an existing agent automation.
674
+
675
+ | | |
676
+ |---|---|
677
+ | Read-safe | No |
678
+
679
+ **Parameters:**
680
+
681
+ | Field | Type | Required | Description |
682
+ |-------|------|----------|-------------|
683
+ | id | string | Yes | Agent ID |
684
+ | description | string | No | Agent description |
685
+ | goals | string[] | No | Agent goals |
686
+ | rules | string[] | No | Agent rules |
687
+ | status | string | No | Status |
688
+ | knowledge_domain | string | No | Knowledge domain |
689
+
690
+ ### delete_agent
691
+
692
+ Delete an agent automation and all its subscriptions.
693
+
694
+ | | |
695
+ |---|---|
696
+ | Read-safe | No |
697
+
698
+ **Parameters:**
699
+
700
+ | Field | Type | Required | Description |
701
+ |-------|------|----------|-------------|
702
+ | id | string | Yes | Agent ID |
703
+
704
+ ## Agent Subscriptions
705
+
706
+ ### list_agent_subscriptions
707
+
708
+ List all event subscriptions for an agent.
709
+
710
+ | | |
711
+ |---|---|
712
+ | Read-safe | Yes |
713
+
714
+ **Parameters:**
715
+
716
+ | Field | Type | Required | Description |
717
+ |-------|------|----------|-------------|
718
+ | agent_id | string | Yes | Agent ID |
719
+
720
+ ### create_agent_subscription
721
+
722
+ Create an event subscription for an agent.
723
+
724
+ | | |
725
+ |---|---|
726
+ | Read-safe | No |
727
+
728
+ **Parameters:**
729
+
730
+ | Field | Type | Required | Description |
731
+ |-------|------|----------|-------------|
732
+ | agent_id | string | Yes | Agent ID |
733
+ | topic | string | Yes | Event topic |
734
+ | reaction_type | string | Yes | Reaction type |
735
+ | workflow_type | string | No | Workflow to trigger |
736
+ | pipeline_id | string | No | Pipeline to trigger |
737
+ | mcp_prompt | string | No | MCP prompt for dynamic reaction |
738
+ | input_mapping | object | No | Input data mapping |
739
+ | filter | object | No | Event filter |
740
+ | execute_as | string | No | Execution identity |
741
+
742
+ ### delete_agent_subscription
743
+
744
+ Delete an event subscription by ID.
745
+
746
+ | | |
747
+ |---|---|
748
+ | Read-safe | No |
749
+
750
+ **Parameters:**
751
+
752
+ | Field | Type | Required | Description |
753
+ |-------|------|----------|-------------|
754
+ | id | string | Yes | Subscription ID |
755
+
756
+ ## Bot Accounts
757
+
758
+ ### list_bot_accounts
759
+
760
+ List all bot (service) accounts with pagination.
761
+
762
+ | | |
763
+ |---|---|
764
+ | Read-safe | Yes |
765
+
766
+ **Parameters:**
767
+
768
+ | Field | Type | Required | Description |
769
+ |-------|------|----------|-------------|
770
+ | limit | integer | No | Max results |
771
+ | offset | integer | No | Pagination offset |
772
+
773
+ ### get_bot_account
774
+
775
+ Get a single bot account by ID.
776
+
777
+ | | |
778
+ |---|---|
779
+ | Read-safe | Yes |
780
+
781
+ **Parameters:**
782
+
783
+ | Field | Type | Required | Description |
784
+ |-------|------|----------|-------------|
785
+ | id | string | Yes | Bot account ID |
786
+
787
+ ### create_bot_account
788
+
789
+ Create a new bot (service) account with optional roles.
790
+
791
+ | | |
792
+ |---|---|
793
+ | Read-safe | No |
794
+
795
+ **Parameters:**
796
+
797
+ | Field | Type | Required | Description |
798
+ |-------|------|----------|-------------|
799
+ | name | string | Yes | Bot account name |
800
+ | description | string | No | Description |
801
+ | display_name | string | No | Display name |
802
+ | roles | object[] | No | Roles (each: role, type) |
803
+
804
+ ### update_bot_account
805
+
806
+ Update a bot account (display name, description, status).
807
+
808
+ | | |
809
+ |---|---|
810
+ | Read-safe | No |
811
+
812
+ **Parameters:**
813
+
814
+ | Field | Type | Required | Description |
815
+ |-------|------|----------|-------------|
816
+ | id | string | Yes | Bot account ID |
817
+ | display_name | string | No | Display name |
818
+ | description | string | No | Description |
819
+ | status | string | No | Status |
820
+
821
+ ### delete_bot_account
822
+
823
+ Delete a bot account and all its API keys.
824
+
825
+ | | |
826
+ |---|---|
827
+ | Read-safe | No |
828
+
829
+ **Parameters:**
830
+
831
+ | Field | Type | Required | Description |
832
+ |-------|------|----------|-------------|
833
+ | id | string | Yes | Bot account ID |
834
+
835
+ ### create_bot_api_key
836
+
837
+ Generate a new API key for a bot account. Returns the raw key ONCE.
838
+
839
+ | | |
840
+ |---|---|
841
+ | Read-safe | No |
842
+
843
+ **Parameters:**
844
+
845
+ | Field | Type | Required | Description |
846
+ |-------|------|----------|-------------|
847
+ | id | string | Yes | Bot account ID |
848
+ | name | string | Yes | Key name |
849
+ | scopes | string[] | No | Access scopes |
850
+ | expires_at | string | No | Expiration timestamp |
851
+
852
+ ### revoke_bot_api_key
853
+
854
+ Revoke (delete) an API key for a bot account.
855
+
856
+ | | |
857
+ |---|---|
858
+ | Read-safe | No |
859
+
860
+ **Parameters:**
861
+
862
+ | Field | Type | Required | Description |
863
+ |-------|------|----------|-------------|
864
+ | key_id | string | Yes | API key ID |
865
+
866
+ ## Control Plane
867
+
868
+ ### list_apps
869
+
870
+ List available HotMesh application namespaces.
871
+
872
+ | | |
873
+ |---|---|
874
+ | Read-safe | Yes |
875
+
876
+ **Parameters:** None.
877
+
878
+ ### rollcall
879
+
880
+ Execute a roll call — discovers all engines and workers in the mesh.
881
+
882
+ | | |
883
+ |---|---|
884
+ | Read-safe | Yes |
885
+
886
+ **Parameters:**
887
+
888
+ | Field | Type | Required | Description |
889
+ |-------|------|----------|-------------|
890
+ | app_id | string | No | App namespace |
891
+ | delay | integer | No | Delay in ms |
892
+
893
+ ### apply_throttle
894
+
895
+ Apply a throttle to the mesh (-1=pause, 0=resume, >0=delay ms per message).
896
+
897
+ | | |
898
+ |---|---|
899
+ | Read-safe | No |
900
+
901
+ **Parameters:**
902
+
903
+ | Field | Type | Required | Description |
904
+ |-------|------|----------|-------------|
905
+ | throttle | integer | Yes | Throttle value (-1=pause, 0=resume, >0=delay ms) |
906
+ | appId | string | No | App namespace |
907
+ | topic | string | No | Topic to throttle |
908
+ | guid | string | No | Specific GUID |
909
+ | scope | string | No | Throttle scope |
910
+
911
+ ### get_stream_stats
912
+
913
+ Stream processing statistics — pending count and processed volume by time range.
914
+
915
+ | | |
916
+ |---|---|
917
+ | Read-safe | Yes |
918
+
919
+ **Parameters:**
920
+
921
+ | Field | Type | Required | Description |
922
+ |-------|------|----------|-------------|
923
+ | app_id | string | No | App namespace |
924
+ | duration | string | No | Time range |
925
+ | stream | string | No | Specific stream |
926
+
927
+ ### list_stream_messages
928
+
929
+ Browse stream messages with pagination, filtering, and sorting.
930
+
931
+ | | |
932
+ |---|---|
933
+ | Read-safe | Yes |
934
+
935
+ **Parameters:**
936
+
937
+ | Field | Type | Required | Description |
938
+ |-------|------|----------|-------------|
939
+ | namespace | string | Yes | App namespace |
940
+ | source | string | Yes | Stream source |
941
+ | limit | integer | No | Max results |
942
+ | offset | integer | No | Pagination offset |
943
+ | sort_by | string | No | Sort field |
944
+ | order | string | No | asc or desc |
945
+ | status | string | No | Filter by status |
946
+ | stream_name | string | No | Filter by stream name |
947
+ | msg_type | string | No | Filter by message type |
948
+ | topic | string | No | Filter by topic |
949
+ | workflow_name | string | No | Filter by workflow name |
950
+ | jid | string | No | Filter by job ID |
951
+ | aid | string | No | Filter by activity ID |
952
+
953
+ ## Pipelines
954
+
955
+ ### list_pipeline_entities
956
+
957
+ List distinct entity (tool) names from pipeline jobs.
958
+
959
+ | | |
960
+ |---|---|
961
+ | Read-safe | Yes |
962
+
963
+ **Parameters:**
964
+
965
+ | Field | Type | Required | Description |
966
+ |-------|------|----------|-------------|
967
+ | app_id | string | No | App namespace |
968
+
969
+ ### list_pipeline_jobs
970
+
971
+ List pipeline jobs with optional entity, search, and status filters.
972
+
973
+ | | |
974
+ |---|---|
975
+ | Read-safe | Yes |
976
+
977
+ **Parameters:**
978
+
979
+ | Field | Type | Required | Description |
980
+ |-------|------|----------|-------------|
981
+ | app_id | string | No | App namespace |
982
+ | limit | integer | No | Max results |
983
+ | offset | integer | No | Pagination offset |
984
+ | entity | string | No | Filter by entity |
985
+ | search | string | No | Search term |
986
+ | status | string | No | Filter by status |
987
+ | sort_by | string | No | Sort field |
988
+ | order | string | No | asc or desc |
989
+
990
+ ### get_pipeline_execution
991
+
992
+ Export execution details for a specific pipeline job.
993
+
994
+ | | |
995
+ |---|---|
996
+ | Read-safe | Yes |
997
+
998
+ **Parameters:**
999
+
1000
+ | Field | Type | Required | Description |
1001
+ |-------|------|----------|-------------|
1002
+ | job_id | string | Yes | Pipeline job ID |
1003
+ | app_id | string | No | App namespace |
1004
+
1005
+ ### interrupt_pipeline_job
1006
+
1007
+ Interrupt a running pipeline job.
1008
+
1009
+ | | |
1010
+ |---|---|
1011
+ | Read-safe | No |
1012
+
1013
+ **Parameters:**
1014
+
1015
+ | Field | Type | Required | Description |
1016
+ |-------|------|----------|-------------|
1017
+ | job_id | string | Yes | Pipeline job ID |
1018
+ | topic | string | Yes | Pipeline topic |
1019
+ | app_id | string | No | App namespace |
1020
+
1021
+ ## Topics
1022
+
1023
+ ### list_topics
1024
+
1025
+ List topics in the event catalog with optional category and search filters.
1026
+
1027
+ | | |
1028
+ |---|---|
1029
+ | Read-safe | Yes |
1030
+
1031
+ **Parameters:**
1032
+
1033
+ | Field | Type | Required | Description |
1034
+ |-------|------|----------|-------------|
1035
+ | category | string | No | Filter by category |
1036
+ | search | string | No | Search term |
1037
+ | limit | integer | No | Max results |
1038
+ | offset | integer | No | Pagination offset |
1039
+
1040
+ ### get_topic
1041
+
1042
+ Get a single topic by name, including schema and example payload.
1043
+
1044
+ | | |
1045
+ |---|---|
1046
+ | Read-safe | Yes |
1047
+
1048
+ **Parameters:**
1049
+
1050
+ | Field | Type | Required | Description |
1051
+ |-------|------|----------|-------------|
1052
+ | topic | string | Yes | Topic name |
1053
+
1054
+ ### create_topic
1055
+
1056
+ Register a new topic in the event catalog.
1057
+
1058
+ | | |
1059
+ |---|---|
1060
+ | Read-safe | No |
1061
+
1062
+ **Parameters:**
1063
+
1064
+ | Field | Type | Required | Description |
1065
+ |-------|------|----------|-------------|
1066
+ | topic | string | Yes | Topic name |
1067
+ | category | string | Yes | Topic category |
1068
+ | description | string | No | Description |
1069
+ | payload_schema | object | No | JSON Schema for payload |
1070
+ | example_payload | object | No | Example payload |
1071
+ | tags | string[] | No | Tags |
1072
+
1073
+ ### update_topic
1074
+
1075
+ Update a topic in the event catalog.
1076
+
1077
+ | | |
1078
+ |---|---|
1079
+ | Read-safe | No |
1080
+
1081
+ **Parameters:**
1082
+
1083
+ | Field | Type | Required | Description |
1084
+ |-------|------|----------|-------------|
1085
+ | topic | string | Yes | Topic name |
1086
+ | description | string | No | Description |
1087
+ | category | string | No | Category |
1088
+ | payload_schema | object | No | JSON Schema for payload |
1089
+ | example_payload | object | No | Example payload |
1090
+ | tags | string[] | No | Tags |
1091
+
1092
+ ### delete_topic
1093
+
1094
+ Delete a topic from the catalog (system topics are protected).
1095
+
1096
+ | | |
1097
+ |---|---|
1098
+ | Read-safe | No |
1099
+
1100
+ **Parameters:**
1101
+
1102
+ | Field | Type | Required | Description |
1103
+ |-------|------|----------|-------------|
1104
+ | topic | string | Yes | Topic name |
1105
+
1106
+ ## Settings
1107
+
1108
+ ### get_settings
1109
+
1110
+ Get frontend-relevant configuration (no secrets). Returns feature flags, enabled capabilities, and system metadata.
1111
+
1112
+ | | |
1113
+ |---|---|
1114
+ | Read-safe | Yes |
1115
+
1116
+ **Parameters:** None.
1117
+
1118
+ ## Exports
1119
+
1120
+ ### list_export_jobs
1121
+
1122
+ List workflow jobs with optional filtering and pagination.
1123
+
1124
+ | | |
1125
+ |---|---|
1126
+ | Read-safe | Yes |
1127
+
1128
+ **Parameters:**
1129
+
1130
+ | Field | Type | Required | Description |
1131
+ |-------|------|----------|-------------|
1132
+ | limit | integer | No | Max results |
1133
+ | offset | integer | No | Pagination offset |
1134
+ | entity | string | No | Filter by entity |
1135
+ | search | string | No | Search term |
1136
+ | status | string | No | Filter by status |
1137
+ | sort_by | string | No | Sort field |
1138
+ | order | string | No | asc or desc |
1139
+
1140
+ ### export_workflow_state
1141
+
1142
+ Export the full workflow state using HotMesh durable export.
1143
+
1144
+ | | |
1145
+ |---|---|
1146
+ | Read-safe | Yes |
1147
+
1148
+ **Parameters:**
1149
+
1150
+ | Field | Type | Required | Description |
1151
+ |-------|------|----------|-------------|
1152
+ | workflow_id | string | Yes | Workflow ID to export |
1153
+ | allow | string[] | No | Fields to include |
1154
+ | block | string[] | No | Fields to exclude |
1155
+ | values | object | No | Override values |
1156
+
1157
+ ### export_workflow_execution
1158
+
1159
+ Export workflow state as a structured execution event history.
1160
+
1161
+ | | |
1162
+ |---|---|
1163
+ | Read-safe | Yes |
1164
+
1165
+ **Parameters:**
1166
+
1167
+ | Field | Type | Required | Description |
1168
+ |-------|------|----------|-------------|
1169
+ | workflow_id | string | Yes | Workflow ID to export |
1170
+ | excludeSystem | boolean | No | Exclude system events |
1171
+ | omitResults | boolean | No | Omit result payloads |
1172
+ | mode | string | No | Export mode |
1173
+ | maxDepth | integer | No | Max traversal depth |
1174
+
1175
+ ### get_export_status
1176
+
1177
+ Return the numeric status semaphore for a workflow.
1178
+
1179
+ | | |
1180
+ |---|---|
1181
+ | Read-safe | Yes |
1182
+
1183
+ **Parameters:**
1184
+
1185
+ | Field | Type | Required | Description |
1186
+ |-------|------|----------|-------------|
1187
+ | workflow_id | string | Yes | Workflow ID |