@frontmcp/sdk 1.11.3 → 1.12.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/answer/answer-meter.d.ts +2 -0
- package/answer/answer-meter.d.ts.map +1 -1
- package/app/instances/app.esm.instance.d.ts +4 -2
- package/app/instances/app.esm.instance.d.ts.map +1 -1
- package/app/instances/app.lazy.instance.d.ts.map +1 -1
- package/app/lazy/lazy-app.rules.d.ts +4 -0
- package/app/lazy/lazy-app.rules.d.ts.map +1 -1
- package/browser/answer/answer-meter.mjs +1 -0
- package/browser/app/instances/app.esm.instance.mjs +11 -3
- package/browser/app/instances/app.lazy.instance.mjs +7 -3
- package/browser/app/lazy/lazy-app.rules.mjs +4 -1
- package/browser/channel/channel-notification.service.mjs +20 -8
- package/browser/channel/channel.instance.mjs +10 -1
- package/browser/channel/channel.utils.mjs +22 -1
- package/browser/channel/sources/app-event.source.mjs +5 -2
- package/browser/channel/sources/file-watcher.source.mjs +66 -0
- package/browser/common/decorators/duty.decorator.mjs +3 -4
- package/browser/common/decorators/event.decorator.mjs +49 -0
- package/browser/common/decorators/index.mjs +2 -0
- package/browser/common/decorators/worker.decorator.mjs +23 -0
- package/browser/common/entries/event.entry.mjs +59 -0
- package/browser/common/entries/index.mjs +1 -0
- package/browser/common/index.mjs +7 -7
- package/browser/common/interfaces/event.interface.mjs +17 -0
- package/browser/common/interfaces/execution-context.interface.mjs +8 -0
- package/browser/common/interfaces/index.mjs +2 -0
- package/browser/common/interfaces/worker.interface.mjs +0 -0
- package/browser/common/metadata/app.metadata.mjs +2 -0
- package/browser/common/metadata/duty.metadata.mjs +28 -13
- package/browser/common/metadata/duty.resolved.mjs +13 -0
- package/browser/common/metadata/event.metadata.mjs +137 -0
- package/browser/common/metadata/front-mcp.metadata.mjs +3 -0
- package/browser/common/metadata/index.mjs +5 -1
- package/browser/common/metadata/worker.metadata.mjs +44 -0
- package/browser/common/metadata/worker.resolved.mjs +13 -0
- package/browser/common/metadata/workflow.metadata.mjs +7 -1
- package/browser/common/records/event.record.mjs +9 -0
- package/browser/common/records/index.mjs +1 -0
- package/browser/common/schemas/annotated-class.schema.mjs +10 -0
- package/browser/common/schemas/index.mjs +1 -1
- package/browser/common/tokens/app.tokens.mjs +1 -0
- package/browser/common/tokens/event.tokens.mjs +11 -0
- package/browser/common/tokens/front-mcp.tokens.mjs +2 -0
- package/browser/common/tokens/index.mjs +1 -0
- package/browser/common/tokens/workflow.tokens.mjs +1 -0
- package/browser/common/utils/offset-cursor.utils.mjs +23 -0
- package/browser/common/utils/principal.utils.mjs +1 -1
- package/browser/common/utils/time-zone.utils.mjs +12 -0
- package/browser/direct/create.mjs +3 -1
- package/browser/direct/direct-client.mjs +16 -2
- package/browser/direct/direct-events-transport.mjs +47 -0
- package/browser/direct/direct-server.mjs +5 -1
- package/browser/duty/cron-schedule.mjs +62 -0
- package/browser/duty/describe-thrown.mjs +12 -0
- package/browser/duty/duty.lifecycle.mjs +102 -97
- package/browser/duty/duty.runner.mjs +117 -115
- package/browser/duty/lazy-lease-store.mjs +60 -0
- package/browser/duty/lease-holder.mjs +132 -0
- package/browser/duty/lease-store.mjs +125 -0
- package/browser/elicitation/questions/question-subject.mjs +8 -2
- package/browser/errors/duty.errors.mjs +20 -0
- package/browser/errors/event.errors.mjs +128 -0
- package/browser/errors/index.mjs +36 -1
- package/browser/errors/worker.errors.mjs +14 -0
- package/browser/event/delivery/event-metrics.mjs +37 -0
- package/browser/event/delivery/event-outbox.mjs +251 -0
- package/browser/event/event-channel.mjs +30 -0
- package/browser/event/event-dialect.mjs +23 -0
- package/browser/event/event-gates.mjs +72 -0
- package/browser/event/event-outbound.mjs +8 -0
- package/browser/event/event-publisher.mjs +55 -0
- package/browser/event/event-reauthorization.mjs +48 -0
- package/browser/event/event-scope.helper.mjs +266 -0
- package/browser/event/event-subscriber.mjs +31 -0
- package/browser/event/event.instance.mjs +44 -0
- package/browser/event/event.registry.mjs +145 -0
- package/browser/event/event.utils.mjs +31 -0
- package/browser/event/flows/event-deliver.flow.mjs +175 -0
- package/browser/event/flows/event-poll.flow.mjs +308 -0
- package/browser/event/flows/event-publish-http.flow.mjs +288 -0
- package/browser/event/flows/event-publish.flow.mjs +371 -0
- package/browser/event/flows/event-stream.flow.mjs +222 -0
- package/browser/event/flows/event-subscribe.flow.mjs +351 -0
- package/browser/event/flows/event-unsubscribe.flow.mjs +120 -0
- package/browser/event/flows/list-events.flow.mjs +145 -0
- package/browser/event/index.mjs +104 -0
- package/browser/event/poll/event-buffer.mjs +77 -0
- package/browser/event/poll/event-poll-leases.mjs +118 -0
- package/browser/event/publish-endpoint/event-publish-endpoint.mjs +75 -0
- package/browser/event/publish-endpoint/event-publish-idempotency.mjs +54 -0
- package/browser/event/replay/event-replays.mjs +298 -0
- package/browser/event/stream/event-stream.mjs +279 -0
- package/browser/event/stream/event-streams.mjs +122 -0
- package/browser/event/subscription/event-callback-verifier.mjs +165 -0
- package/browser/event/subscription/event-subscription-store.factory.mjs +59 -0
- package/browser/event/subscription/event-subscription-termination.mjs +34 -0
- package/browser/event/subscription/event-subscription.store.mjs +167 -0
- package/browser/event/subscription/event-subscriptions.mjs +126 -0
- package/browser/event-client/event-client.errors.mjs +50 -0
- package/browser/event-client/event-webhook-receiver.mjs +155 -0
- package/browser/event-client/events-client.mjs +471 -0
- package/browser/event-client/index.mjs +28 -0
- package/browser/front-mcp/authorities-rules.check.mjs +15 -1
- package/browser/front-mcp/front-mcp.mjs +4 -6
- package/browser/index.cjs +23640 -16042
- package/browser/index.mjs +37 -2
- package/browser/job/execution/job-execution.manager.mjs +39 -5
- package/browser/job/job-scope.helper.mjs +21 -0
- package/browser/job/store/memory-job-state.store.mjs +5 -0
- package/browser/job/store/redis-job-state.store.mjs +11 -0
- package/browser/job/store/storage-job-state.store.mjs +18 -2
- package/browser/notification/notification.service.mjs +36 -6
- package/browser/provider/create-container.mjs +20 -9
- package/browser/provider/provider.lifecycle.mjs +4 -0
- package/browser/provider/provider.registry.mjs +55 -11
- package/browser/scope/event-publisher.providers.mjs +32 -0
- package/browser/scope/scope.instance.mjs +34 -21
- package/browser/skill/skill-instructions.helper.mjs +12 -6
- package/browser/subsystems.mjs +3 -0
- package/browser/tool/flows/tools-list.flow.mjs +3 -33
- package/browser/transport/adapters/transport.local.adapter.mjs +9 -2
- package/browser/transport/build-scoped-server-options.mjs +5 -1
- package/browser/transport/flows/handle.mcp-20260728.flow.mjs +76 -3
- package/browser/transport/in-memory-server.mjs +3 -0
- package/browser/transport/mcp-20260728/discover.mjs +1 -0
- package/browser/transport/mcp-20260728/event-stream-response.mjs +44 -0
- package/browser/transport/mcp-20260728/index.mjs +2 -1
- package/browser/transport/mcp-20260728/protocol-20260728.constants.mjs +8 -1
- package/browser/transport/mcp-20260728/request-validation.mjs +9 -5
- package/browser/transport/mcp-handlers/events-list-request.handler.mjs +23 -0
- package/browser/transport/mcp-handlers/events-poll-request.handler.mjs +23 -0
- package/browser/transport/mcp-handlers/events-stream-request.handler.mjs +44 -0
- package/browser/transport/mcp-handlers/events-subscribe-request.handler.mjs +23 -0
- package/browser/transport/mcp-handlers/events-unsubscribe-request.handler.mjs +25 -0
- package/browser/transport/mcp-handlers/index.mjs +13 -0
- package/browser/transport/mcp-handlers/initialize-request.handler.mjs +3 -1
- package/browser/transport/stdio-revision-router.mjs +29 -2
- package/browser/worker/worker.lifecycle.mjs +199 -0
- package/browser/worker/worker.supervisor.mjs +111 -0
- package/browser/workflow/tools/register-workflow.tool.mjs +3 -3
- package/browser/workflow/trigger/workflow-events.mjs +3 -1
- package/browser/workflow/trigger/workflow-schedules.mjs +173 -0
- package/browser/workflow/trigger/workflow-triggers.mjs +31 -0
- package/channel/channel-notification.service.d.ts +5 -2
- package/channel/channel-notification.service.d.ts.map +1 -1
- package/channel/channel-scope.helper.d.ts +4 -1
- package/channel/channel-scope.helper.d.ts.map +1 -1
- package/channel/channel.instance.d.ts +7 -1
- package/channel/channel.instance.d.ts.map +1 -1
- package/channel/channel.utils.d.ts +20 -0
- package/channel/channel.utils.d.ts.map +1 -1
- package/channel/sources/app-event.source.d.ts +11 -2
- package/channel/sources/app-event.source.d.ts.map +1 -1
- package/channel/sources/file-watcher.source.d.ts +21 -0
- package/channel/sources/file-watcher.source.d.ts.map +1 -0
- package/channel/sources/index.d.ts +1 -0
- package/channel/sources/index.d.ts.map +1 -1
- package/common/decorators/duty.decorator.d.ts +3 -2
- package/common/decorators/duty.decorator.d.ts.map +1 -1
- package/common/decorators/event.decorator.d.ts +38 -0
- package/common/decorators/event.decorator.d.ts.map +1 -0
- package/common/decorators/index.d.ts +2 -0
- package/common/decorators/index.d.ts.map +1 -1
- package/common/decorators/worker.decorator.d.ts +13 -0
- package/common/decorators/worker.decorator.d.ts.map +1 -0
- package/common/entries/event.entry.d.ts +34 -0
- package/common/entries/event.entry.d.ts.map +1 -0
- package/common/entries/index.d.ts +1 -0
- package/common/entries/index.d.ts.map +1 -1
- package/common/entries/scope.entry.d.ts +3 -0
- package/common/entries/scope.entry.d.ts.map +1 -1
- package/common/interfaces/event.interface.d.ts +124 -0
- package/common/interfaces/event.interface.d.ts.map +1 -0
- package/common/interfaces/execution-context.interface.d.ts +3 -0
- package/common/interfaces/execution-context.interface.d.ts.map +1 -1
- package/common/interfaces/index.d.ts +2 -0
- package/common/interfaces/index.d.ts.map +1 -1
- package/common/interfaces/internal/registry.interface.d.ts +3 -1
- package/common/interfaces/internal/registry.interface.d.ts.map +1 -1
- package/common/interfaces/worker.interface.d.ts +13 -0
- package/common/interfaces/worker.interface.d.ts.map +1 -0
- package/common/metadata/agent.metadata.d.ts +1 -1
- package/common/metadata/app.metadata.d.ts +4 -1
- package/common/metadata/app.metadata.d.ts.map +1 -1
- package/common/metadata/channel.metadata.d.ts +40 -8
- package/common/metadata/channel.metadata.d.ts.map +1 -1
- package/common/metadata/duty.metadata.d.ts +67 -13
- package/common/metadata/duty.metadata.d.ts.map +1 -1
- package/common/metadata/duty.resolved.d.ts +4 -0
- package/common/metadata/duty.resolved.d.ts.map +1 -0
- package/common/metadata/event.metadata.d.ts +451 -0
- package/common/metadata/event.metadata.d.ts.map +1 -0
- package/common/metadata/front-mcp.metadata.d.ts +1652 -16
- package/common/metadata/front-mcp.metadata.d.ts.map +1 -1
- package/common/metadata/index.d.ts +4 -0
- package/common/metadata/index.d.ts.map +1 -1
- package/common/metadata/job.metadata.d.ts +1 -1
- package/common/metadata/prompt.metadata.d.ts +1 -1
- package/common/metadata/resource.metadata.d.ts +2 -2
- package/common/metadata/skill.metadata.d.ts +1 -1
- package/common/metadata/tool.metadata.d.ts +1 -1
- package/common/metadata/worker.metadata.d.ts +69 -0
- package/common/metadata/worker.metadata.d.ts.map +1 -0
- package/common/metadata/worker.resolved.d.ts +4 -0
- package/common/metadata/worker.resolved.d.ts.map +1 -0
- package/common/metadata/workflow.metadata.d.ts +31 -3
- package/common/metadata/workflow.metadata.d.ts.map +1 -1
- package/common/records/event.record.d.ts +21 -0
- package/common/records/event.record.d.ts.map +1 -0
- package/common/records/index.d.ts +1 -0
- package/common/records/index.d.ts.map +1 -1
- package/common/schemas/annotated-class.schema.d.ts +1 -0
- package/common/schemas/annotated-class.schema.d.ts.map +1 -1
- package/common/tokens/app.tokens.d.ts.map +1 -1
- package/common/tokens/event.tokens.d.ts +9 -0
- package/common/tokens/event.tokens.d.ts.map +1 -0
- package/common/tokens/front-mcp.tokens.d.ts.map +1 -1
- package/common/tokens/index.d.ts +1 -0
- package/common/tokens/index.d.ts.map +1 -1
- package/common/tokens/workflow.tokens.d.ts +1 -0
- package/common/tokens/workflow.tokens.d.ts.map +1 -1
- package/common/utils/offset-cursor.utils.d.ts +5 -0
- package/common/utils/offset-cursor.utils.d.ts.map +1 -0
- package/common/utils/principal.utils.d.ts +11 -9
- package/common/utils/principal.utils.d.ts.map +1 -1
- package/common/utils/time-zone.utils.d.ts +3 -0
- package/common/utils/time-zone.utils.d.ts.map +1 -0
- package/direct/client.types.d.ts +8 -0
- package/direct/client.types.d.ts.map +1 -1
- package/direct/create.d.ts.map +1 -1
- package/direct/create.types.d.ts +3 -1
- package/direct/create.types.d.ts.map +1 -1
- package/direct/direct-events-transport.d.ts +20 -0
- package/direct/direct-events-transport.d.ts.map +1 -0
- package/direct/direct-server.d.ts +3 -0
- package/direct/direct-server.d.ts.map +1 -1
- package/direct/direct.types.d.ts +6 -0
- package/direct/direct.types.d.ts.map +1 -1
- package/duty/cron-schedule.d.ts +51 -0
- package/duty/cron-schedule.d.ts.map +1 -0
- package/duty/describe-thrown.d.ts +3 -0
- package/duty/describe-thrown.d.ts.map +1 -0
- package/duty/duty.lifecycle.d.ts +33 -4
- package/duty/duty.lifecycle.d.ts.map +1 -1
- package/duty/duty.runner.d.ts +49 -31
- package/duty/duty.runner.d.ts.map +1 -1
- package/duty/lazy-lease-store.d.ts +29 -0
- package/duty/lazy-lease-store.d.ts.map +1 -0
- package/duty/lease-holder.d.ts +73 -0
- package/duty/lease-holder.d.ts.map +1 -0
- package/duty/lease-store.d.ts +40 -0
- package/duty/lease-store.d.ts.map +1 -0
- package/elicitation/hooks/elicitation.hooks.d.ts +5 -5
- package/elicitation/questions/question-subject.d.ts +8 -3
- package/elicitation/questions/question-subject.d.ts.map +1 -1
- package/errors/duty.errors.d.ts +10 -0
- package/errors/duty.errors.d.ts.map +1 -1
- package/errors/event.errors.d.ts +73 -0
- package/errors/event.errors.d.ts.map +1 -0
- package/errors/index.d.ts +4 -1
- package/errors/index.d.ts.map +1 -1
- package/errors/worker.errors.d.ts +7 -0
- package/errors/worker.errors.d.ts.map +1 -0
- package/esm/index.mjs +38 -34
- package/event/delivery/event-metrics.d.ts +25 -0
- package/event/delivery/event-metrics.d.ts.map +1 -0
- package/event/delivery/event-outbox.d.ts +129 -0
- package/event/delivery/event-outbox.d.ts.map +1 -0
- package/event/event-channel.d.ts +21 -0
- package/event/event-channel.d.ts.map +1 -0
- package/event/event-dialect.d.ts +20 -0
- package/event/event-dialect.d.ts.map +1 -0
- package/event/event-gates.d.ts +23 -0
- package/event/event-gates.d.ts.map +1 -0
- package/event/event-outbound.d.ts +9 -0
- package/event/event-outbound.d.ts.map +1 -0
- package/event/event-publisher.d.ts +14 -0
- package/event/event-publisher.d.ts.map +1 -0
- package/event/event-reauthorization.d.ts +35 -0
- package/event/event-reauthorization.d.ts.map +1 -0
- package/event/event-scope.helper.d.ts +23 -0
- package/event/event-scope.helper.d.ts.map +1 -0
- package/event/event-subscriber.d.ts +12 -0
- package/event/event-subscriber.d.ts.map +1 -0
- package/event/event.instance.d.ts +15 -0
- package/event/event.instance.d.ts.map +1 -0
- package/event/event.registry.d.ts +97 -0
- package/event/event.registry.d.ts.map +1 -0
- package/event/event.utils.d.ts +6 -0
- package/event/event.utils.d.ts.map +1 -0
- package/event/flows/event-deliver.flow.d.ts +73 -0
- package/event/flows/event-deliver.flow.d.ts.map +1 -0
- package/event/flows/event-poll.flow.d.ts +105 -0
- package/event/flows/event-poll.flow.d.ts.map +1 -0
- package/event/flows/event-publish-http.flow.d.ts +114 -0
- package/event/flows/event-publish-http.flow.d.ts.map +1 -0
- package/event/flows/event-publish.flow.d.ts +109 -0
- package/event/flows/event-publish.flow.d.ts.map +1 -0
- package/event/flows/event-stream.flow.d.ts +78 -0
- package/event/flows/event-stream.flow.d.ts.map +1 -0
- package/event/flows/event-subscribe.flow.d.ts +132 -0
- package/event/flows/event-subscribe.flow.d.ts.map +1 -0
- package/event/flows/event-unsubscribe.flow.d.ts +71 -0
- package/event/flows/event-unsubscribe.flow.d.ts.map +1 -0
- package/event/flows/list-events.flow.d.ts +75 -0
- package/event/flows/list-events.flow.d.ts.map +1 -0
- package/event/index.d.ts +46 -0
- package/event/index.d.ts.map +1 -0
- package/event/poll/event-buffer.d.ts +54 -0
- package/event/poll/event-buffer.d.ts.map +1 -0
- package/event/poll/event-poll-leases.d.ts +63 -0
- package/event/poll/event-poll-leases.d.ts.map +1 -0
- package/event/publish-endpoint/event-publish-endpoint.d.ts +29 -0
- package/event/publish-endpoint/event-publish-endpoint.d.ts.map +1 -0
- package/event/publish-endpoint/event-publish-idempotency.d.ts +35 -0
- package/event/publish-endpoint/event-publish-idempotency.d.ts.map +1 -0
- package/event/replay/event-replays.d.ts +116 -0
- package/event/replay/event-replays.d.ts.map +1 -0
- package/event/stream/event-stream.d.ts +116 -0
- package/event/stream/event-stream.d.ts.map +1 -0
- package/event/stream/event-streams.d.ts +52 -0
- package/event/stream/event-streams.d.ts.map +1 -0
- package/event/subscription/event-callback-verifier.d.ts +58 -0
- package/event/subscription/event-callback-verifier.d.ts.map +1 -0
- package/event/subscription/event-subscription-store.factory.d.ts +31 -0
- package/event/subscription/event-subscription-store.factory.d.ts.map +1 -0
- package/event/subscription/event-subscription-termination.d.ts +25 -0
- package/event/subscription/event-subscription-termination.d.ts.map +1 -0
- package/event/subscription/event-subscription.store.d.ts +131 -0
- package/event/subscription/event-subscription.store.d.ts.map +1 -0
- package/event/subscription/event-subscriptions.d.ts +66 -0
- package/event/subscription/event-subscriptions.d.ts.map +1 -0
- package/event-client/event-client.errors.d.ts +35 -0
- package/event-client/event-client.errors.d.ts.map +1 -0
- package/event-client/event-webhook-receiver.d.ts +75 -0
- package/event-client/event-webhook-receiver.d.ts.map +1 -0
- package/event-client/events-client.d.ts +33 -0
- package/event-client/events-client.d.ts.map +1 -0
- package/event-client/events-client.types.d.ts +74 -0
- package/event-client/events-client.types.d.ts.map +1 -0
- package/event-client/index.d.ts +6 -0
- package/event-client/index.d.ts.map +1 -0
- package/front-mcp/authorities-rules.check.d.ts +5 -0
- package/front-mcp/authorities-rules.check.d.ts.map +1 -1
- package/front-mcp/front-mcp.d.ts.map +1 -1
- package/index.d.ts +70 -0
- package/index.d.ts.map +1 -1
- package/index.js +46 -42
- package/job/execution/job-execution.manager.d.ts +7 -0
- package/job/execution/job-execution.manager.d.ts.map +1 -1
- package/job/job-scope.helper.d.ts.map +1 -1
- package/job/store/job-state.interface.d.ts +2 -0
- package/job/store/job-state.interface.d.ts.map +1 -1
- package/job/store/memory-job-state.store.d.ts +1 -0
- package/job/store/memory-job-state.store.d.ts.map +1 -1
- package/job/store/redis-job-state.store.d.ts +3 -0
- package/job/store/redis-job-state.store.d.ts.map +1 -1
- package/job/store/storage-job-state.store.d.ts +1 -0
- package/job/store/storage-job-state.store.d.ts.map +1 -1
- package/notification/index.d.ts +1 -1
- package/notification/index.d.ts.map +1 -1
- package/notification/notification.service.d.ts +31 -2
- package/notification/notification.service.d.ts.map +1 -1
- package/package.json +11 -10
- package/provider/create-container.d.ts +14 -4
- package/provider/create-container.d.ts.map +1 -1
- package/provider/provider.lifecycle.d.ts +11 -1
- package/provider/provider.lifecycle.d.ts.map +1 -1
- package/provider/provider.registry.d.ts +18 -4
- package/provider/provider.registry.d.ts.map +1 -1
- package/scope/event-publisher.providers.d.ts +17 -0
- package/scope/event-publisher.providers.d.ts.map +1 -0
- package/scope/scope.instance.d.ts +6 -1
- package/scope/scope.instance.d.ts.map +1 -1
- package/shared/shared-attach.d.ts +3 -1
- package/shared/shared-attach.d.ts.map +1 -1
- package/shared/shared-server.lifecycle.d.ts +14 -5
- package/shared/shared-server.lifecycle.d.ts.map +1 -1
- package/skill/skill-instructions.helper.d.ts +10 -4
- package/skill/skill-instructions.helper.d.ts.map +1 -1
- package/subsystems.d.ts +1 -0
- package/subsystems.d.ts.map +1 -1
- package/tool/flows/tools-list.flow.d.ts +0 -11
- package/tool/flows/tools-list.flow.d.ts.map +1 -1
- package/transport/adapters/transport.local.adapter.d.ts.map +1 -1
- package/transport/build-scoped-server-options.d.ts.map +1 -1
- package/transport/flows/handle.mcp-20260728.flow.d.ts +8 -2
- package/transport/flows/handle.mcp-20260728.flow.d.ts.map +1 -1
- package/transport/in-memory-server.d.ts.map +1 -1
- package/transport/mcp-20260728/discover.d.ts.map +1 -1
- package/transport/mcp-20260728/event-stream-response.d.ts +12 -0
- package/transport/mcp-20260728/event-stream-response.d.ts.map +1 -0
- package/transport/mcp-20260728/index.d.ts +1 -0
- package/transport/mcp-20260728/index.d.ts.map +1 -1
- package/transport/mcp-20260728/protocol-20260728.constants.d.ts.map +1 -1
- package/transport/mcp-20260728/request-validation.d.ts +2 -0
- package/transport/mcp-20260728/request-validation.d.ts.map +1 -1
- package/transport/mcp-handlers/events-list-request.handler.d.ts +5 -0
- package/transport/mcp-handlers/events-list-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/events-poll-request.handler.d.ts +5 -0
- package/transport/mcp-handlers/events-poll-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/events-stream-request.handler.d.ts +8 -0
- package/transport/mcp-handlers/events-stream-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/events-subscribe-request.handler.d.ts +5 -0
- package/transport/mcp-handlers/events-subscribe-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/events-unsubscribe-request.handler.d.ts +5 -0
- package/transport/mcp-handlers/events-unsubscribe-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/index.d.ts +162 -3
- package/transport/mcp-handlers/index.d.ts.map +1 -1
- package/transport/mcp-handlers/initialize-request.handler.d.ts.map +1 -1
- package/transport/stdio-revision-router.d.ts +2 -0
- package/transport/stdio-revision-router.d.ts.map +1 -1
- package/worker/worker.lifecycle.d.ts +63 -0
- package/worker/worker.lifecycle.d.ts.map +1 -0
- package/worker/worker.supervisor.d.ts +62 -0
- package/worker/worker.supervisor.d.ts.map +1 -0
- package/workflow/tools/register-workflow.tool.d.ts +2 -1
- package/workflow/tools/register-workflow.tool.d.ts.map +1 -1
- package/workflow/trigger/workflow-events.d.ts.map +1 -1
- package/workflow/trigger/workflow-schedules.d.ts +76 -0
- package/workflow/trigger/workflow-schedules.d.ts.map +1 -0
- package/workflow/trigger/workflow-triggers.d.ts +16 -1
- 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,K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}
|
|
@@ -59,10 +59,10 @@ export declare const ElicitationRequestHook: {
|
|
|
59
59
|
* ```
|
|
60
60
|
*/
|
|
61
61
|
export declare const ElicitationResultHook: {
|
|
62
|
-
Stage: (stage: "finalize" | "parseInput" | "
|
|
63
|
-
Will: (stage: "finalize" | "parseInput" | "
|
|
64
|
-
Did: (stage: "finalize" | "parseInput" | "
|
|
65
|
-
Around: (stage: "finalize" | "parseInput" | "
|
|
66
|
-
Finally: (stage: "finalize" | "parseInput" | "
|
|
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
|
-
*
|
|
4
|
-
*
|
|
5
|
-
|
|
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,
|
|
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"}
|
package/errors/duty.errors.d.ts
CHANGED
|
@@ -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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AkB;IAC3D,+EAA+E;gBACnE,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,MAAM,EAAE;CASjG;AAED,oHAAoH;AACpH,qBAAa,0BAA2B,SAAQ,kBAAkB;IAChE,uFAAuF;gBAC3E,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,0BAA0B;CAUvE;AAED,+FAA+F;AAC/F,qBAAa,2BAA4B,SAAQ,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';
|
package/errors/index.d.ts.map
CHANGED
|
@@ -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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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"}
|