@frontmcp/sdk 1.11.3 → 1.12.0

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 (423) hide show
  1. package/answer/answer-meter.d.ts +2 -0
  2. package/answer/answer-meter.d.ts.map +1 -1
  3. package/app/instances/app.esm.instance.d.ts +4 -2
  4. package/app/instances/app.esm.instance.d.ts.map +1 -1
  5. package/app/instances/app.lazy.instance.d.ts.map +1 -1
  6. package/app/lazy/lazy-app.rules.d.ts +4 -0
  7. package/app/lazy/lazy-app.rules.d.ts.map +1 -1
  8. package/browser/answer/answer-meter.mjs +1 -0
  9. package/browser/app/instances/app.esm.instance.mjs +11 -3
  10. package/browser/app/instances/app.lazy.instance.mjs +7 -3
  11. package/browser/app/lazy/lazy-app.rules.mjs +4 -1
  12. package/browser/channel/channel-notification.service.mjs +20 -8
  13. package/browser/channel/channel.instance.mjs +10 -1
  14. package/browser/channel/channel.utils.mjs +22 -1
  15. package/browser/channel/sources/app-event.source.mjs +5 -2
  16. package/browser/channel/sources/file-watcher.source.mjs +66 -0
  17. package/browser/common/decorators/duty.decorator.mjs +3 -4
  18. package/browser/common/decorators/event.decorator.mjs +49 -0
  19. package/browser/common/decorators/index.mjs +2 -0
  20. package/browser/common/decorators/worker.decorator.mjs +23 -0
  21. package/browser/common/entries/event.entry.mjs +59 -0
  22. package/browser/common/entries/index.mjs +1 -0
  23. package/browser/common/index.mjs +7 -7
  24. package/browser/common/interfaces/event.interface.mjs +17 -0
  25. package/browser/common/interfaces/execution-context.interface.mjs +8 -0
  26. package/browser/common/interfaces/index.mjs +2 -0
  27. package/browser/common/interfaces/worker.interface.mjs +0 -0
  28. package/browser/common/metadata/app.metadata.mjs +2 -0
  29. package/browser/common/metadata/duty.metadata.mjs +28 -13
  30. package/browser/common/metadata/duty.resolved.mjs +13 -0
  31. package/browser/common/metadata/event.metadata.mjs +137 -0
  32. package/browser/common/metadata/front-mcp.metadata.mjs +3 -0
  33. package/browser/common/metadata/index.mjs +5 -1
  34. package/browser/common/metadata/worker.metadata.mjs +44 -0
  35. package/browser/common/metadata/worker.resolved.mjs +13 -0
  36. package/browser/common/metadata/workflow.metadata.mjs +7 -1
  37. package/browser/common/records/event.record.mjs +9 -0
  38. package/browser/common/records/index.mjs +1 -0
  39. package/browser/common/schemas/annotated-class.schema.mjs +10 -0
  40. package/browser/common/schemas/index.mjs +1 -1
  41. package/browser/common/tokens/app.tokens.mjs +1 -0
  42. package/browser/common/tokens/event.tokens.mjs +11 -0
  43. package/browser/common/tokens/front-mcp.tokens.mjs +2 -0
  44. package/browser/common/tokens/index.mjs +1 -0
  45. package/browser/common/tokens/workflow.tokens.mjs +1 -0
  46. package/browser/common/utils/offset-cursor.utils.mjs +23 -0
  47. package/browser/common/utils/principal.utils.mjs +1 -1
  48. package/browser/common/utils/time-zone.utils.mjs +12 -0
  49. package/browser/direct/create.mjs +3 -1
  50. package/browser/direct/direct-client.mjs +16 -2
  51. package/browser/direct/direct-events-transport.mjs +47 -0
  52. package/browser/direct/direct-server.mjs +5 -1
  53. package/browser/duty/cron-schedule.mjs +62 -0
  54. package/browser/duty/describe-thrown.mjs +12 -0
  55. package/browser/duty/duty.lifecycle.mjs +102 -97
  56. package/browser/duty/duty.runner.mjs +117 -115
  57. package/browser/duty/lazy-lease-store.mjs +60 -0
  58. package/browser/duty/lease-holder.mjs +132 -0
  59. package/browser/duty/lease-store.mjs +125 -0
  60. package/browser/elicitation/questions/question-subject.mjs +8 -2
  61. package/browser/errors/duty.errors.mjs +20 -0
  62. package/browser/errors/event.errors.mjs +128 -0
  63. package/browser/errors/index.mjs +36 -1
  64. package/browser/errors/worker.errors.mjs +14 -0
  65. package/browser/event/delivery/event-metrics.mjs +37 -0
  66. package/browser/event/delivery/event-outbox.mjs +251 -0
  67. package/browser/event/event-channel.mjs +30 -0
  68. package/browser/event/event-dialect.mjs +23 -0
  69. package/browser/event/event-gates.mjs +72 -0
  70. package/browser/event/event-outbound.mjs +8 -0
  71. package/browser/event/event-publisher.mjs +55 -0
  72. package/browser/event/event-reauthorization.mjs +48 -0
  73. package/browser/event/event-scope.helper.mjs +266 -0
  74. package/browser/event/event-subscriber.mjs +31 -0
  75. package/browser/event/event.instance.mjs +44 -0
  76. package/browser/event/event.registry.mjs +145 -0
  77. package/browser/event/event.utils.mjs +31 -0
  78. package/browser/event/flows/event-deliver.flow.mjs +175 -0
  79. package/browser/event/flows/event-poll.flow.mjs +308 -0
  80. package/browser/event/flows/event-publish-http.flow.mjs +288 -0
  81. package/browser/event/flows/event-publish.flow.mjs +371 -0
  82. package/browser/event/flows/event-stream.flow.mjs +222 -0
  83. package/browser/event/flows/event-subscribe.flow.mjs +351 -0
  84. package/browser/event/flows/event-unsubscribe.flow.mjs +120 -0
  85. package/browser/event/flows/list-events.flow.mjs +145 -0
  86. package/browser/event/index.mjs +104 -0
  87. package/browser/event/poll/event-buffer.mjs +77 -0
  88. package/browser/event/poll/event-poll-leases.mjs +118 -0
  89. package/browser/event/publish-endpoint/event-publish-endpoint.mjs +75 -0
  90. package/browser/event/publish-endpoint/event-publish-idempotency.mjs +54 -0
  91. package/browser/event/replay/event-replays.mjs +298 -0
  92. package/browser/event/stream/event-stream.mjs +279 -0
  93. package/browser/event/stream/event-streams.mjs +122 -0
  94. package/browser/event/subscription/event-callback-verifier.mjs +165 -0
  95. package/browser/event/subscription/event-subscription-store.factory.mjs +59 -0
  96. package/browser/event/subscription/event-subscription-termination.mjs +34 -0
  97. package/browser/event/subscription/event-subscription.store.mjs +167 -0
  98. package/browser/event/subscription/event-subscriptions.mjs +126 -0
  99. package/browser/event-client/event-client.errors.mjs +50 -0
  100. package/browser/event-client/event-webhook-receiver.mjs +155 -0
  101. package/browser/event-client/events-client.mjs +471 -0
  102. package/browser/event-client/index.mjs +28 -0
  103. package/browser/front-mcp/authorities-rules.check.mjs +15 -1
  104. package/browser/front-mcp/front-mcp.mjs +4 -6
  105. package/browser/index.cjs +23640 -16042
  106. package/browser/index.mjs +37 -2
  107. package/browser/job/execution/job-execution.manager.mjs +39 -5
  108. package/browser/job/job-scope.helper.mjs +21 -0
  109. package/browser/job/store/memory-job-state.store.mjs +5 -0
  110. package/browser/job/store/redis-job-state.store.mjs +11 -0
  111. package/browser/job/store/storage-job-state.store.mjs +18 -2
  112. package/browser/notification/notification.service.mjs +36 -6
  113. package/browser/provider/create-container.mjs +20 -9
  114. package/browser/provider/provider.lifecycle.mjs +4 -0
  115. package/browser/provider/provider.registry.mjs +55 -11
  116. package/browser/scope/event-publisher.providers.mjs +32 -0
  117. package/browser/scope/scope.instance.mjs +34 -21
  118. package/browser/skill/skill-instructions.helper.mjs +12 -6
  119. package/browser/subsystems.mjs +3 -0
  120. package/browser/tool/flows/tools-list.flow.mjs +3 -33
  121. package/browser/transport/adapters/transport.local.adapter.mjs +9 -2
  122. package/browser/transport/build-scoped-server-options.mjs +5 -1
  123. package/browser/transport/flows/handle.mcp-20260728.flow.mjs +76 -3
  124. package/browser/transport/in-memory-server.mjs +3 -0
  125. package/browser/transport/mcp-20260728/discover.mjs +1 -0
  126. package/browser/transport/mcp-20260728/event-stream-response.mjs +44 -0
  127. package/browser/transport/mcp-20260728/index.mjs +2 -1
  128. package/browser/transport/mcp-20260728/protocol-20260728.constants.mjs +8 -1
  129. package/browser/transport/mcp-20260728/request-validation.mjs +9 -5
  130. package/browser/transport/mcp-handlers/events-list-request.handler.mjs +23 -0
  131. package/browser/transport/mcp-handlers/events-poll-request.handler.mjs +23 -0
  132. package/browser/transport/mcp-handlers/events-stream-request.handler.mjs +44 -0
  133. package/browser/transport/mcp-handlers/events-subscribe-request.handler.mjs +23 -0
  134. package/browser/transport/mcp-handlers/events-unsubscribe-request.handler.mjs +25 -0
  135. package/browser/transport/mcp-handlers/index.mjs +13 -0
  136. package/browser/transport/mcp-handlers/initialize-request.handler.mjs +3 -1
  137. package/browser/transport/stdio-revision-router.mjs +29 -2
  138. package/browser/worker/worker.lifecycle.mjs +199 -0
  139. package/browser/worker/worker.supervisor.mjs +111 -0
  140. package/browser/workflow/tools/register-workflow.tool.mjs +3 -3
  141. package/browser/workflow/trigger/workflow-events.mjs +3 -1
  142. package/browser/workflow/trigger/workflow-schedules.mjs +173 -0
  143. package/browser/workflow/trigger/workflow-triggers.mjs +31 -0
  144. package/channel/channel-notification.service.d.ts +5 -2
  145. package/channel/channel-notification.service.d.ts.map +1 -1
  146. package/channel/channel-scope.helper.d.ts +4 -1
  147. package/channel/channel-scope.helper.d.ts.map +1 -1
  148. package/channel/channel.instance.d.ts +7 -1
  149. package/channel/channel.instance.d.ts.map +1 -1
  150. package/channel/channel.utils.d.ts +20 -0
  151. package/channel/channel.utils.d.ts.map +1 -1
  152. package/channel/sources/app-event.source.d.ts +11 -2
  153. package/channel/sources/app-event.source.d.ts.map +1 -1
  154. package/channel/sources/file-watcher.source.d.ts +21 -0
  155. package/channel/sources/file-watcher.source.d.ts.map +1 -0
  156. package/channel/sources/index.d.ts +1 -0
  157. package/channel/sources/index.d.ts.map +1 -1
  158. package/common/decorators/duty.decorator.d.ts +3 -2
  159. package/common/decorators/duty.decorator.d.ts.map +1 -1
  160. package/common/decorators/event.decorator.d.ts +38 -0
  161. package/common/decorators/event.decorator.d.ts.map +1 -0
  162. package/common/decorators/index.d.ts +2 -0
  163. package/common/decorators/index.d.ts.map +1 -1
  164. package/common/decorators/worker.decorator.d.ts +13 -0
  165. package/common/decorators/worker.decorator.d.ts.map +1 -0
  166. package/common/entries/event.entry.d.ts +34 -0
  167. package/common/entries/event.entry.d.ts.map +1 -0
  168. package/common/entries/index.d.ts +1 -0
  169. package/common/entries/index.d.ts.map +1 -1
  170. package/common/entries/scope.entry.d.ts +3 -0
  171. package/common/entries/scope.entry.d.ts.map +1 -1
  172. package/common/interfaces/event.interface.d.ts +124 -0
  173. package/common/interfaces/event.interface.d.ts.map +1 -0
  174. package/common/interfaces/execution-context.interface.d.ts +3 -0
  175. package/common/interfaces/execution-context.interface.d.ts.map +1 -1
  176. package/common/interfaces/index.d.ts +2 -0
  177. package/common/interfaces/index.d.ts.map +1 -1
  178. package/common/interfaces/internal/registry.interface.d.ts +3 -1
  179. package/common/interfaces/internal/registry.interface.d.ts.map +1 -1
  180. package/common/interfaces/worker.interface.d.ts +13 -0
  181. package/common/interfaces/worker.interface.d.ts.map +1 -0
  182. package/common/metadata/agent.metadata.d.ts +1 -1
  183. package/common/metadata/app.metadata.d.ts +4 -1
  184. package/common/metadata/app.metadata.d.ts.map +1 -1
  185. package/common/metadata/channel.metadata.d.ts +40 -8
  186. package/common/metadata/channel.metadata.d.ts.map +1 -1
  187. package/common/metadata/duty.metadata.d.ts +67 -13
  188. package/common/metadata/duty.metadata.d.ts.map +1 -1
  189. package/common/metadata/duty.resolved.d.ts +4 -0
  190. package/common/metadata/duty.resolved.d.ts.map +1 -0
  191. package/common/metadata/event.metadata.d.ts +451 -0
  192. package/common/metadata/event.metadata.d.ts.map +1 -0
  193. package/common/metadata/front-mcp.metadata.d.ts +1652 -16
  194. package/common/metadata/front-mcp.metadata.d.ts.map +1 -1
  195. package/common/metadata/index.d.ts +4 -0
  196. package/common/metadata/index.d.ts.map +1 -1
  197. package/common/metadata/job.metadata.d.ts +1 -1
  198. package/common/metadata/prompt.metadata.d.ts +1 -1
  199. package/common/metadata/resource.metadata.d.ts +2 -2
  200. package/common/metadata/skill.metadata.d.ts +1 -1
  201. package/common/metadata/tool.metadata.d.ts +1 -1
  202. package/common/metadata/worker.metadata.d.ts +69 -0
  203. package/common/metadata/worker.metadata.d.ts.map +1 -0
  204. package/common/metadata/worker.resolved.d.ts +4 -0
  205. package/common/metadata/worker.resolved.d.ts.map +1 -0
  206. package/common/metadata/workflow.metadata.d.ts +31 -3
  207. package/common/metadata/workflow.metadata.d.ts.map +1 -1
  208. package/common/records/event.record.d.ts +21 -0
  209. package/common/records/event.record.d.ts.map +1 -0
  210. package/common/records/index.d.ts +1 -0
  211. package/common/records/index.d.ts.map +1 -1
  212. package/common/schemas/annotated-class.schema.d.ts +1 -0
  213. package/common/schemas/annotated-class.schema.d.ts.map +1 -1
  214. package/common/tokens/app.tokens.d.ts.map +1 -1
  215. package/common/tokens/event.tokens.d.ts +9 -0
  216. package/common/tokens/event.tokens.d.ts.map +1 -0
  217. package/common/tokens/front-mcp.tokens.d.ts.map +1 -1
  218. package/common/tokens/index.d.ts +1 -0
  219. package/common/tokens/index.d.ts.map +1 -1
  220. package/common/tokens/workflow.tokens.d.ts +1 -0
  221. package/common/tokens/workflow.tokens.d.ts.map +1 -1
  222. package/common/utils/offset-cursor.utils.d.ts +5 -0
  223. package/common/utils/offset-cursor.utils.d.ts.map +1 -0
  224. package/common/utils/principal.utils.d.ts +11 -9
  225. package/common/utils/principal.utils.d.ts.map +1 -1
  226. package/common/utils/time-zone.utils.d.ts +3 -0
  227. package/common/utils/time-zone.utils.d.ts.map +1 -0
  228. package/direct/client.types.d.ts +8 -0
  229. package/direct/client.types.d.ts.map +1 -1
  230. package/direct/create.d.ts.map +1 -1
  231. package/direct/create.types.d.ts +3 -1
  232. package/direct/create.types.d.ts.map +1 -1
  233. package/direct/direct-events-transport.d.ts +20 -0
  234. package/direct/direct-events-transport.d.ts.map +1 -0
  235. package/direct/direct-server.d.ts +3 -0
  236. package/direct/direct-server.d.ts.map +1 -1
  237. package/direct/direct.types.d.ts +6 -0
  238. package/direct/direct.types.d.ts.map +1 -1
  239. package/duty/cron-schedule.d.ts +51 -0
  240. package/duty/cron-schedule.d.ts.map +1 -0
  241. package/duty/describe-thrown.d.ts +3 -0
  242. package/duty/describe-thrown.d.ts.map +1 -0
  243. package/duty/duty.lifecycle.d.ts +33 -4
  244. package/duty/duty.lifecycle.d.ts.map +1 -1
  245. package/duty/duty.runner.d.ts +49 -31
  246. package/duty/duty.runner.d.ts.map +1 -1
  247. package/duty/lazy-lease-store.d.ts +29 -0
  248. package/duty/lazy-lease-store.d.ts.map +1 -0
  249. package/duty/lease-holder.d.ts +73 -0
  250. package/duty/lease-holder.d.ts.map +1 -0
  251. package/duty/lease-store.d.ts +40 -0
  252. package/duty/lease-store.d.ts.map +1 -0
  253. package/elicitation/hooks/elicitation.hooks.d.ts +5 -5
  254. package/elicitation/questions/question-subject.d.ts +8 -3
  255. package/elicitation/questions/question-subject.d.ts.map +1 -1
  256. package/errors/duty.errors.d.ts +10 -0
  257. package/errors/duty.errors.d.ts.map +1 -1
  258. package/errors/event.errors.d.ts +73 -0
  259. package/errors/event.errors.d.ts.map +1 -0
  260. package/errors/index.d.ts +4 -1
  261. package/errors/index.d.ts.map +1 -1
  262. package/errors/worker.errors.d.ts +7 -0
  263. package/errors/worker.errors.d.ts.map +1 -0
  264. package/esm/index.mjs +38 -34
  265. package/event/delivery/event-metrics.d.ts +25 -0
  266. package/event/delivery/event-metrics.d.ts.map +1 -0
  267. package/event/delivery/event-outbox.d.ts +129 -0
  268. package/event/delivery/event-outbox.d.ts.map +1 -0
  269. package/event/event-channel.d.ts +21 -0
  270. package/event/event-channel.d.ts.map +1 -0
  271. package/event/event-dialect.d.ts +20 -0
  272. package/event/event-dialect.d.ts.map +1 -0
  273. package/event/event-gates.d.ts +23 -0
  274. package/event/event-gates.d.ts.map +1 -0
  275. package/event/event-outbound.d.ts +9 -0
  276. package/event/event-outbound.d.ts.map +1 -0
  277. package/event/event-publisher.d.ts +14 -0
  278. package/event/event-publisher.d.ts.map +1 -0
  279. package/event/event-reauthorization.d.ts +35 -0
  280. package/event/event-reauthorization.d.ts.map +1 -0
  281. package/event/event-scope.helper.d.ts +23 -0
  282. package/event/event-scope.helper.d.ts.map +1 -0
  283. package/event/event-subscriber.d.ts +12 -0
  284. package/event/event-subscriber.d.ts.map +1 -0
  285. package/event/event.instance.d.ts +15 -0
  286. package/event/event.instance.d.ts.map +1 -0
  287. package/event/event.registry.d.ts +97 -0
  288. package/event/event.registry.d.ts.map +1 -0
  289. package/event/event.utils.d.ts +6 -0
  290. package/event/event.utils.d.ts.map +1 -0
  291. package/event/flows/event-deliver.flow.d.ts +73 -0
  292. package/event/flows/event-deliver.flow.d.ts.map +1 -0
  293. package/event/flows/event-poll.flow.d.ts +105 -0
  294. package/event/flows/event-poll.flow.d.ts.map +1 -0
  295. package/event/flows/event-publish-http.flow.d.ts +114 -0
  296. package/event/flows/event-publish-http.flow.d.ts.map +1 -0
  297. package/event/flows/event-publish.flow.d.ts +109 -0
  298. package/event/flows/event-publish.flow.d.ts.map +1 -0
  299. package/event/flows/event-stream.flow.d.ts +78 -0
  300. package/event/flows/event-stream.flow.d.ts.map +1 -0
  301. package/event/flows/event-subscribe.flow.d.ts +132 -0
  302. package/event/flows/event-subscribe.flow.d.ts.map +1 -0
  303. package/event/flows/event-unsubscribe.flow.d.ts +71 -0
  304. package/event/flows/event-unsubscribe.flow.d.ts.map +1 -0
  305. package/event/flows/list-events.flow.d.ts +75 -0
  306. package/event/flows/list-events.flow.d.ts.map +1 -0
  307. package/event/index.d.ts +46 -0
  308. package/event/index.d.ts.map +1 -0
  309. package/event/poll/event-buffer.d.ts +54 -0
  310. package/event/poll/event-buffer.d.ts.map +1 -0
  311. package/event/poll/event-poll-leases.d.ts +63 -0
  312. package/event/poll/event-poll-leases.d.ts.map +1 -0
  313. package/event/publish-endpoint/event-publish-endpoint.d.ts +29 -0
  314. package/event/publish-endpoint/event-publish-endpoint.d.ts.map +1 -0
  315. package/event/publish-endpoint/event-publish-idempotency.d.ts +35 -0
  316. package/event/publish-endpoint/event-publish-idempotency.d.ts.map +1 -0
  317. package/event/replay/event-replays.d.ts +116 -0
  318. package/event/replay/event-replays.d.ts.map +1 -0
  319. package/event/stream/event-stream.d.ts +116 -0
  320. package/event/stream/event-stream.d.ts.map +1 -0
  321. package/event/stream/event-streams.d.ts +52 -0
  322. package/event/stream/event-streams.d.ts.map +1 -0
  323. package/event/subscription/event-callback-verifier.d.ts +58 -0
  324. package/event/subscription/event-callback-verifier.d.ts.map +1 -0
  325. package/event/subscription/event-subscription-store.factory.d.ts +31 -0
  326. package/event/subscription/event-subscription-store.factory.d.ts.map +1 -0
  327. package/event/subscription/event-subscription-termination.d.ts +25 -0
  328. package/event/subscription/event-subscription-termination.d.ts.map +1 -0
  329. package/event/subscription/event-subscription.store.d.ts +131 -0
  330. package/event/subscription/event-subscription.store.d.ts.map +1 -0
  331. package/event/subscription/event-subscriptions.d.ts +66 -0
  332. package/event/subscription/event-subscriptions.d.ts.map +1 -0
  333. package/event-client/event-client.errors.d.ts +35 -0
  334. package/event-client/event-client.errors.d.ts.map +1 -0
  335. package/event-client/event-webhook-receiver.d.ts +75 -0
  336. package/event-client/event-webhook-receiver.d.ts.map +1 -0
  337. package/event-client/events-client.d.ts +33 -0
  338. package/event-client/events-client.d.ts.map +1 -0
  339. package/event-client/events-client.types.d.ts +74 -0
  340. package/event-client/events-client.types.d.ts.map +1 -0
  341. package/event-client/index.d.ts +6 -0
  342. package/event-client/index.d.ts.map +1 -0
  343. package/front-mcp/authorities-rules.check.d.ts +5 -0
  344. package/front-mcp/authorities-rules.check.d.ts.map +1 -1
  345. package/front-mcp/front-mcp.d.ts.map +1 -1
  346. package/index.d.ts +70 -0
  347. package/index.d.ts.map +1 -1
  348. package/index.js +46 -42
  349. package/job/execution/job-execution.manager.d.ts +7 -0
  350. package/job/execution/job-execution.manager.d.ts.map +1 -1
  351. package/job/job-scope.helper.d.ts.map +1 -1
  352. package/job/store/job-state.interface.d.ts +2 -0
  353. package/job/store/job-state.interface.d.ts.map +1 -1
  354. package/job/store/memory-job-state.store.d.ts +1 -0
  355. package/job/store/memory-job-state.store.d.ts.map +1 -1
  356. package/job/store/redis-job-state.store.d.ts +3 -0
  357. package/job/store/redis-job-state.store.d.ts.map +1 -1
  358. package/job/store/storage-job-state.store.d.ts +1 -0
  359. package/job/store/storage-job-state.store.d.ts.map +1 -1
  360. package/notification/index.d.ts +1 -1
  361. package/notification/index.d.ts.map +1 -1
  362. package/notification/notification.service.d.ts +31 -2
  363. package/notification/notification.service.d.ts.map +1 -1
  364. package/package.json +11 -10
  365. package/provider/create-container.d.ts +14 -4
  366. package/provider/create-container.d.ts.map +1 -1
  367. package/provider/provider.lifecycle.d.ts +11 -1
  368. package/provider/provider.lifecycle.d.ts.map +1 -1
  369. package/provider/provider.registry.d.ts +18 -4
  370. package/provider/provider.registry.d.ts.map +1 -1
  371. package/scope/event-publisher.providers.d.ts +17 -0
  372. package/scope/event-publisher.providers.d.ts.map +1 -0
  373. package/scope/scope.instance.d.ts +6 -1
  374. package/scope/scope.instance.d.ts.map +1 -1
  375. package/shared/shared-attach.d.ts +3 -1
  376. package/shared/shared-attach.d.ts.map +1 -1
  377. package/shared/shared-server.lifecycle.d.ts +14 -5
  378. package/shared/shared-server.lifecycle.d.ts.map +1 -1
  379. package/skill/skill-instructions.helper.d.ts +10 -4
  380. package/skill/skill-instructions.helper.d.ts.map +1 -1
  381. package/subsystems.d.ts +1 -0
  382. package/subsystems.d.ts.map +1 -1
  383. package/tool/flows/tools-list.flow.d.ts +0 -11
  384. package/tool/flows/tools-list.flow.d.ts.map +1 -1
  385. package/transport/adapters/transport.local.adapter.d.ts.map +1 -1
  386. package/transport/build-scoped-server-options.d.ts.map +1 -1
  387. package/transport/flows/handle.mcp-20260728.flow.d.ts +8 -2
  388. package/transport/flows/handle.mcp-20260728.flow.d.ts.map +1 -1
  389. package/transport/in-memory-server.d.ts.map +1 -1
  390. package/transport/mcp-20260728/discover.d.ts.map +1 -1
  391. package/transport/mcp-20260728/event-stream-response.d.ts +12 -0
  392. package/transport/mcp-20260728/event-stream-response.d.ts.map +1 -0
  393. package/transport/mcp-20260728/index.d.ts +1 -0
  394. package/transport/mcp-20260728/index.d.ts.map +1 -1
  395. package/transport/mcp-20260728/protocol-20260728.constants.d.ts.map +1 -1
  396. package/transport/mcp-20260728/request-validation.d.ts +2 -0
  397. package/transport/mcp-20260728/request-validation.d.ts.map +1 -1
  398. package/transport/mcp-handlers/events-list-request.handler.d.ts +5 -0
  399. package/transport/mcp-handlers/events-list-request.handler.d.ts.map +1 -0
  400. package/transport/mcp-handlers/events-poll-request.handler.d.ts +5 -0
  401. package/transport/mcp-handlers/events-poll-request.handler.d.ts.map +1 -0
  402. package/transport/mcp-handlers/events-stream-request.handler.d.ts +8 -0
  403. package/transport/mcp-handlers/events-stream-request.handler.d.ts.map +1 -0
  404. package/transport/mcp-handlers/events-subscribe-request.handler.d.ts +5 -0
  405. package/transport/mcp-handlers/events-subscribe-request.handler.d.ts.map +1 -0
  406. package/transport/mcp-handlers/events-unsubscribe-request.handler.d.ts +5 -0
  407. package/transport/mcp-handlers/events-unsubscribe-request.handler.d.ts.map +1 -0
  408. package/transport/mcp-handlers/index.d.ts +162 -3
  409. package/transport/mcp-handlers/index.d.ts.map +1 -1
  410. package/transport/mcp-handlers/initialize-request.handler.d.ts.map +1 -1
  411. package/transport/stdio-revision-router.d.ts +2 -0
  412. package/transport/stdio-revision-router.d.ts.map +1 -1
  413. package/worker/worker.lifecycle.d.ts +63 -0
  414. package/worker/worker.lifecycle.d.ts.map +1 -0
  415. package/worker/worker.supervisor.d.ts +62 -0
  416. package/worker/worker.supervisor.d.ts.map +1 -0
  417. package/workflow/tools/register-workflow.tool.d.ts +2 -1
  418. package/workflow/tools/register-workflow.tool.d.ts.map +1 -1
  419. package/workflow/trigger/workflow-events.d.ts.map +1 -1
  420. package/workflow/trigger/workflow-schedules.d.ts +76 -0
  421. package/workflow/trigger/workflow-schedules.d.ts.map +1 -0
  422. package/workflow/trigger/workflow-triggers.d.ts +16 -1
  423. package/workflow/trigger/workflow-triggers.d.ts.map +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lease-store.d.ts","sourceRoot":"","sources":["../../src/duty/lease-store.ts"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,WAAW,EAChB,KAAK,aAAa,EACnB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAGL,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAE3B,MAAM,WAAW,CAAC;AAInB,OAAO,KAAK,gBAAgB,MAAM,+BAA+B,CAAC;AAGlE,2HAA2H;AAC3H,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;AAEvD,wHAAwH;AACxH,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;AAgB7D,sGAAsG;AACtG,wBAAgB,kBAAkB,IAAI,OAAO,CAG5C;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAExE;AAED,mHAAmH;AACnH,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,gBAAgB,EAAE,KAAK,EAAE,qBAAqB,GAAG,MAAM,IAAI,CAQ5G;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,GAAG,aAAa,CAkBpG;AAED,8FAA8F;AAC9F,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAKpF;AAED,uEAAuE;AACvE,wBAAsB,cAAc,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,WAAW,CAAC,CAGhF;AAkBD,kGAAkG;AAClG,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6E;IAEpG;;;;OAIG;IACH,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM,GAAG,SAAS;IAO9D,oFAAoF;IACpF,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;CAM3B"}
@@ -59,10 +59,10 @@ export declare const ElicitationRequestHook: {
59
59
  * ```
60
60
  */
61
61
  export declare const ElicitationResultHook: {
62
- Stage: (stage: "finalize" | "parseInput" | "lookupPending" | "validateContent" | "buildResult" | "publishResult", opts?: import("../../common").HookOptions<import("@frontmcp/sdk").ElicitationResultFlow>) => import("../../common").FlowHookDecorator<import("../../common").FlowHookMethod<import("@frontmcp/sdk").ElicitationResultFlow>>;
63
- Will: (stage: "finalize" | "parseInput" | "lookupPending" | "validateContent" | "buildResult" | "publishResult", opts?: import("../../common").HookOptions<import("@frontmcp/sdk").ElicitationResultFlow>) => import("../../common").FlowHookDecorator<import("../../common").FlowHookMethod<import("@frontmcp/sdk").ElicitationResultFlow>>;
64
- Did: (stage: "finalize" | "parseInput" | "lookupPending" | "validateContent" | "buildResult" | "publishResult", opts?: import("../../common").HookOptions<import("@frontmcp/sdk").ElicitationResultFlow>) => import("../../common").FlowHookDecorator<import("../../common").FlowHookMethod<import("@frontmcp/sdk").ElicitationResultFlow>>;
65
- Around: (stage: "finalize" | "parseInput" | "lookupPending" | "validateContent" | "buildResult" | "publishResult", opts?: import("../../common").HookOptions<import("@frontmcp/sdk").ElicitationResultFlow>) => import("../../common").FlowHookDecorator<import("../../common").AroundFlowHookMethod<import("@frontmcp/sdk").ElicitationResultFlow>>;
66
- Finally: (stage: "finalize" | "parseInput" | "lookupPending" | "validateContent" | "buildResult" | "publishResult", opts?: import("../../common").HookOptions<import("@frontmcp/sdk").ElicitationResultFlow>) => import("../../common").FlowHookDecorator<import("../../common").FlowHookMethod<import("@frontmcp/sdk").ElicitationResultFlow>>;
62
+ Stage: (stage: "finalize" | "parseInput" | "buildResult" | "lookupPending" | "validateContent" | "publishResult", opts?: import("../../common").HookOptions<import("@frontmcp/sdk").ElicitationResultFlow>) => import("../../common").FlowHookDecorator<import("../../common").FlowHookMethod<import("@frontmcp/sdk").ElicitationResultFlow>>;
63
+ Will: (stage: "finalize" | "parseInput" | "buildResult" | "lookupPending" | "validateContent" | "publishResult", opts?: import("../../common").HookOptions<import("@frontmcp/sdk").ElicitationResultFlow>) => import("../../common").FlowHookDecorator<import("../../common").FlowHookMethod<import("@frontmcp/sdk").ElicitationResultFlow>>;
64
+ Did: (stage: "finalize" | "parseInput" | "buildResult" | "lookupPending" | "validateContent" | "publishResult", opts?: import("../../common").HookOptions<import("@frontmcp/sdk").ElicitationResultFlow>) => import("../../common").FlowHookDecorator<import("../../common").FlowHookMethod<import("@frontmcp/sdk").ElicitationResultFlow>>;
65
+ Around: (stage: "finalize" | "parseInput" | "buildResult" | "lookupPending" | "validateContent" | "publishResult", opts?: import("../../common").HookOptions<import("@frontmcp/sdk").ElicitationResultFlow>) => import("../../common").FlowHookDecorator<import("../../common").AroundFlowHookMethod<import("@frontmcp/sdk").ElicitationResultFlow>>;
66
+ Finally: (stage: "finalize" | "parseInput" | "buildResult" | "lookupPending" | "validateContent" | "publishResult", opts?: import("../../common").HookOptions<import("@frontmcp/sdk").ElicitationResultFlow>) => import("../../common").FlowHookDecorator<import("../../common").FlowHookMethod<import("@frontmcp/sdk").ElicitationResultFlow>>;
67
67
  };
68
68
  //# sourceMappingURL=elicitation.hooks.d.ts.map
@@ -1,8 +1,13 @@
1
1
  import { type AuthInfo } from '@frontmcp/protocol';
2
2
  /**
3
- * Who a persistent question belongs to: `principal:<iss>#<sub>` for a signed-in caller (`principal:<sub>` when its token
4
- * names no issuer), so a later session of the same user gets the answer and a user of another issuer does not, else
5
- * `session:<id>` for the session the server verified, else nobody (undefined).
3
+ * The key of a signed-in caller: `principal:<iss>#<sub>`, or `principal:<sub>` when its token names no issuer, so a
4
+ * user of another issuer never shares it. Undefined for an anonymous caller.
5
+ */
6
+ export declare function principalKeyOf(authInfo: Partial<AuthInfo> | undefined): string | undefined;
7
+ /**
8
+ * Who a persistent question belongs to: the caller's {@link principalKeyOf}, so a later session of the same user gets
9
+ * the answer and a user of another issuer does not, else `session:<id>` for the session the server verified, else
10
+ * nobody (undefined).
6
11
  */
7
12
  export declare function questionSubjectOf(authInfo: Partial<AuthInfo> | undefined): string | undefined;
8
13
  //# sourceMappingURL=question-subject.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"question-subject.d.ts","sourceRoot":"","sources":["../../../src/elicitation/questions/question-subject.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAKnD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAM7F"}
1
+ {"version":3,"file":"question-subject.d.ts","sourceRoot":"","sources":["../../../src/elicitation/questions/question-subject.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAKnD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAK1F;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAK7F"}
@@ -3,6 +3,16 @@ import { InternalMcpError } from './mcp.error';
3
3
  export declare class DutyNameConflictError extends InternalMcpError {
4
4
  constructor(dutyName: string, serverName: string, firstClass: string, secondClass: string);
5
5
  }
6
+ /** Thrown at startup when a duty's cron expression can't be read. */
7
+ export declare class InvalidDutyCronError extends InternalMcpError {
8
+ /** Names the duty, its expression and why it can't be read. */
9
+ constructor(dutyName: string, expression: string, reason: string);
10
+ }
11
+ /** Thrown at startup when something with `scope: 'cluster'` has no Redis to keep its one lease for every machine in. */
12
+ export declare class ClusterScopeNeedsRedisError extends InternalMcpError {
13
+ /** Names what has the cluster scope, such as a duty or a worker. */
14
+ constructor(subject: string);
15
+ }
6
16
  /** Thrown when another user could write to the folder that holds the duty lease file, or to one above it. */
7
17
  export declare class UnsafeDutyStoreError extends InternalMcpError {
8
18
  constructor(directory: string, mode: number, ownerUid?: number);
@@ -1 +1 @@
1
- {"version":3,"file":"duty.errors.d.ts","sourceRoot":"","sources":["../../src/errors/duty.errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,wHAAwH;AACxH,qBAAa,qBAAsB,SAAQ,gBAAgB;gBAC7C,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;CAO1F;AAED,6GAA6G;AAC7G,qBAAa,oBAAqB,SAAQ,gBAAgB;gBAC5C,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM;CAS/D"}
1
+ {"version":3,"file":"duty.errors.d.ts","sourceRoot":"","sources":["../../src/errors/duty.errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,wHAAwH;AACxH,qBAAa,qBAAsB,SAAQ,gBAAgB;gBAC7C,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;CAO1F;AAED,qEAAqE;AACrE,qBAAa,oBAAqB,SAAQ,gBAAgB;IACxD,+DAA+D;gBACnD,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAMjE;AAED,wHAAwH;AACxH,qBAAa,2BAA4B,SAAQ,gBAAgB;IAC/D,oEAAoE;gBACxD,OAAO,EAAE,MAAM;CAO5B;AAED,6GAA6G;AAC7G,qBAAa,oBAAqB,SAAQ,gBAAgB;gBAC5C,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM;CAS/D"}
@@ -0,0 +1,73 @@
1
+ import type { EventDeliveryErrorCategory, EventsErrorName } from '@frontmcp/protocol';
2
+ import { InternalMcpError, PublicMcpError } from './mcp.error';
3
+ /** Thrown at startup when two events of a server declare the same name: a subscription names its event by it. */
4
+ export declare class EventNameConflictError extends InternalMcpError {
5
+ /** Names the event that is declared twice. */
6
+ constructor(eventName: string);
7
+ }
8
+ /** The JSON-RPC codes of the events errors in one dialect: `EVENTS_ERROR_CODES` or `EVENTS_SKETCH_ERROR_CODES`. */
9
+ export type EventErrorCodes = Readonly<Record<EventsErrorName, number>>;
10
+ /** An events error with the JSON-RPC code of the caller's dialect and the `data` the events protocol defines. */
11
+ export declare abstract class EventProtocolError extends PublicMcpError {
12
+ readonly jsonRpcCode: number;
13
+ readonly data: Record<string, unknown>;
14
+ /** Takes the public message, the HTTP status, and the JSON-RPC code and `data` the client receives. */
15
+ constructor(message: string, code: string, statusCode: number, jsonRpcCode: number, data: Record<string, unknown>);
16
+ /** The JSON-RPC error a client receives. */
17
+ toJsonRpcError(): {
18
+ code: number;
19
+ message: string;
20
+ data: Record<string, unknown>;
21
+ };
22
+ }
23
+ /** `NotFound`: the server serves no event, or the caller holds no subscription, of that name. */
24
+ export declare class EventNotFoundError extends EventProtocolError {
25
+ /** Names the event or subscription that does not exist, with the code of the caller's dialect. */
26
+ constructor(codes: EventErrorCodes, kind: 'event' | 'subscription', name: string);
27
+ }
28
+ /** `Forbidden`: the caller may not subscribe to the event. */
29
+ export declare class EventForbiddenError extends EventProtocolError {
30
+ /** Says why the caller may not use the event, with the code of the caller's dialect. */
31
+ constructor(codes: EventErrorCodes, name: string, reason: string);
32
+ }
33
+ /** `ResourceExhausted`: the caller reached a limit, such as its number of subscriptions. */
34
+ export declare class EventResourceExhaustedError extends EventProtocolError {
35
+ /** Names the limit that was reached and its ceiling. */
36
+ constructor(codes: EventErrorCodes, limit: 'subscriptions' | 'verifications', max: number);
37
+ }
38
+ /** `Unsupported`: the request asks for something this server or event does not offer, such as a delivery mode. */
39
+ export declare class EventUnsupportedError extends EventProtocolError {
40
+ /** Names the unsupported option, the value asked for and what is supported. */
41
+ constructor(codes: EventErrorCodes, feature: string, value: string, supported: readonly string[]);
42
+ }
43
+ /** `CallbackEndpointError`: the callback did not prove it accepts deliveries. Only the failure category is told. */
44
+ export declare class EventCallbackEndpointError extends EventProtocolError {
45
+ /** Carries the fixed category of the callback failure, never the endpoint's answer. */
46
+ constructor(codes: EventErrorCodes, reason: EventDeliveryErrorCategory);
47
+ }
48
+ /** The subscription store cannot be opened as configured, or a record could not be written. */
49
+ export declare class EventSubscriptionStoreError extends InternalMcpError {
50
+ /** An internal store failure, with its message. */
51
+ constructor(message: string);
52
+ }
53
+ /** The HTTP publish endpoint cannot be served as configured; thrown at startup. */
54
+ export declare class EventPublishEndpointError extends InternalMcpError {
55
+ /** Says what about the endpoint's configuration is wrong. */
56
+ constructor(message: string);
57
+ }
58
+ /** Publishing on a server that has no events: none is declared, or `events.enabled` is `false`. */
59
+ export declare class EventsNotEnabledError extends InternalMcpError {
60
+ /** Says that the server has events turned off or declares none. */
61
+ constructor();
62
+ }
63
+ /** Publishing an event the server does not have. */
64
+ export declare class EventNotRegisteredError extends InternalMcpError {
65
+ /** Names the event that was published but is not registered. */
66
+ constructor(eventName: string);
67
+ }
68
+ /** Publishing `data` that does not match the event's `payloadSchema`, or options that cannot be used. */
69
+ export declare class InvalidEventPublishError extends InternalMcpError {
70
+ /** Names the event and what is wrong with the data or options it was published with. */
71
+ constructor(eventName: string, problem: string);
72
+ }
73
+ //# sourceMappingURL=event.errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event.errors.d.ts","sourceRoot":"","sources":["../../src/errors/event.errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAEtF,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE/D,iHAAiH;AACjH,qBAAa,sBAAuB,SAAQ,gBAAgB;IAC1D,8CAA8C;gBAClC,SAAS,EAAE,MAAM;CAO9B;AAED,mHAAmH;AACnH,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC,CAAC;AAExE,iHAAiH;AACjH,8BAAsB,kBAAmB,SAAQ,cAAc;IAM3D,QAAQ,CAA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AQ,gBAAgB;IAC/D,mDAAmD;gBACvC,OAAO,EAAE,MAAM;CAG5B;AAED,mFAAmF;AACnF,qBAAa,yBAA0B,SAAQ,gBAAgB;IAC7D,6DAA6D;gBACjD,OAAO,EAAE,MAAM;CAG5B;AAED,mGAAmG;AACnG,qBAAa,qBAAsB,SAAQ,gBAAgB;IACzD,mEAAmE;;CAQpE;AAED,oDAAoD;AACpD,qBAAa,uBAAwB,SAAQ,gBAAgB;IAC3D,gEAAgE;gBACpD,SAAS,EAAE,MAAM;CAM9B;AAED,yGAAyG;AACzG,qBAAa,wBAAyB,SAAQ,gBAAgB;IAC5D,wFAAwF;gBAC5E,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;CAG/C"}
package/errors/index.d.ts CHANGED
@@ -18,7 +18,10 @@ export { MissingProvideError, InvalidUseClassError, InvalidUseFactoryError, Inva
18
18
  export { RegistryDefinitionNotFoundError, RegistryGraphEntryNotFoundError, RegistryDependencyNotRegisteredError, InvalidRegistryKindError, NameDisambiguationError, EntryValidationError, ToolNameConflictError, ToolAliasConflictError, ReservedAppIdError, DuplicateAppIdError, FlowNotRegisteredError, UnsupportedHookOwnerKindError, HookOrderCycleError, } from './registry.errors';
19
19
  export { ProviderNotRegisteredError, ProviderScopeMismatchError, ProviderNotInstantiatedError, DependencyCycleError, ProviderConstructionError, ProviderBootstrapError, ProviderDependencyError, ProviderScopedAccessError, ProviderNotAvailableError, PluginDependencyError, InvalidDependencyScopeError, } from './provider.errors';
20
20
  export { InvalidDecoratorMetadataError, HookTargetNotDefinedError } from './decorator.errors';
21
- export { DutyNameConflictError, UnsafeDutyStoreError } from './duty.errors';
21
+ export { ClusterScopeNeedsRedisError, DutyNameConflictError, InvalidDutyCronError, UnsafeDutyStoreError, } from './duty.errors';
22
+ export { EventNameConflictError, EventProtocolError, EventNotFoundError, EventForbiddenError, EventResourceExhaustedError, EventUnsupportedError, EventCallbackEndpointError, EventPublishEndpointError, EventSubscriptionStoreError, EventsNotEnabledError, EventNotRegisteredError, InvalidEventPublishError, } from './event.errors';
23
+ export type { EventErrorCodes } from './event.errors';
24
+ export { WorkerNameConflictError } from './worker.errors';
22
25
  export { BrowserStoreUnavailableError, type BrowserRefusedStore } from './browser-store.errors';
23
26
  export { StoreNotOpenedInBuildError } from './build-store.errors';
24
27
  export { BrowserEntryPointUnavailableError, type BrowserRefusedEntryPoint } from './browser-entry-point.errors';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,QAAQ,EACR,cAAc,EACd,gBAAgB,EAEhB,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,cAAc,EAEnB,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAElB,qBAAqB,EACrB,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EAEtB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EAEvB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EAEpB,cAAc,EACd,kBAAkB,EAElB,iBAAiB,EACjB,uBAAuB,EAEvB,mBAAmB,EACnB,6BAA6B,EAE7B,kBAAkB,EAClB,uBAAuB,EACvB,oBAAoB,EACpB,uBAAuB,EACvB,+BAA+B,EAE/B,sBAAsB,EACtB,yBAAyB,EAEzB,mBAAmB,EACnB,oBAAoB,EAEpB,kBAAkB,EAElB,aAAa,EACb,mBAAmB,EACnB,UAAU,EACV,sBAAsB,EACtB,oBAAoB,EAEpB,eAAe,EACf,KAAK,YAAY,GAClB,MAAM,aAAa,CAAC;AAGrB,OAAO,EAEL,+BAA+B,EAC/B,iCAAiC,EACjC,+BAA+B,EAE/B,0BAA0B,GAC3B,MAAM,gCAAgC,CAAC;AACxC,YAAY,EACV,yBAAyB,EACzB,2BAA2B,EAC3B,yBAAyB,GAC1B,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EAAE,4BAA4B,EAAE,MAAM,m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tB,0BAA0B,EAC1B,8BAA8B,EAC9B,KAAK,iBAAiB,GACvB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAGhF,OAAO,EACL,4BAA4B,EAC5B,mBAAmB,EACnB,mBAAmB,EACnB,8BAA8B,EAC9B,iCAAiC,EACjC,uBAAuB,EACvB,oBAAoB,EACpB,0BAA0B,EAC1B,iBAAiB,EACjB,iBAAiB,EACjB,0BAA0B,EAC1B,6BAA6B,EAC7B,+BAA+B,EAC/B,oCAAoC,EACpC,0BAA0B,EAC1B,uBAAuB,EACvB,2BAA2B,EAC3B,uBAAuB,EACvB,4BAA4B,EAC5B,yBAAyB,EACzB,8BAA8B,EAC9B,4BAA4B,EAC5B,2BAA2B,EAC3B,qBAAqB,EACrB,qBAAqB,EACrB,8BAA8B,EAC9B,8BAA8B,GAC/B,MAAM,cAAc,CAAC;AACtB,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { InternalMcpError } from './mcp.error';
2
+ /** Thrown when a worker starts with the lease of a worker of another class in this process: one would never run. */
3
+ export declare class WorkerNameConflictError extends InternalMcpError {
4
+ /** Names the worker, its server and the two classes that declare it. */
5
+ constructor(workerName: string, serverName: string, firstClass: string, secondClass: string);
6
+ }
7
+ //# sourceMappingURL=worker.errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"worker.errors.d.ts","sourceRoot":"","sources":["../../src/errors/worker.errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,oHAAoH;AACpH,qBAAa,uBAAwB,SAAQ,gBAAgB;IAC3D,wEAAwE;gBAC5D,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;CAO5F"}