@classytic/arc 2.41.0 → 2.41.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.
Files changed (132) hide show
  1. package/dist/{BaseController-DYJRZ0EJ.mjs → BaseController-CYEwjyjN.mjs} +13 -12
  2. package/dist/{EventTransport-n7qO5Cz3.mjs → EventTransport-DSqD_Xsg.mjs} +2 -2
  3. package/dist/{HookSystem-CxvZBo77.mjs → HookSystem-CMF94SEA.mjs} +2 -2
  4. package/dist/{ResourceRegistry-Cu7uTJp9.mjs → ResourceRegistry-MGpXoxHZ.mjs} +2 -2
  5. package/dist/{actionPermissions-DPwPWPOV.mjs → actionPermissions-BoPGQ5-4.mjs} +6 -6
  6. package/dist/audit/index.mjs +3 -3
  7. package/dist/auth/audit.mjs +1 -1
  8. package/dist/auth/index.mjs +7 -7
  9. package/dist/auth/redis-session.mjs +1 -1
  10. package/dist/{authorizationDecision-2YY_Kaj1.mjs → authorizationDecision-DawKGoXb.mjs} +2 -2
  11. package/dist/{buildHandler-CUhjGHGZ.mjs → buildHandler-CvxKOc0m.mjs} +4 -4
  12. package/dist/cache/index.mjs +4 -4
  13. package/dist/{caching-DsWDjIxx.mjs → caching-DbCBxlgw.mjs} +2 -2
  14. package/dist/cleanup/index.mjs +4 -4
  15. package/dist/cli/commands/describe.mjs +3 -3
  16. package/dist/cli/commands/docs.mjs +3 -3
  17. package/dist/cli/commands/doctor.mjs +1 -1
  18. package/dist/cli/commands/generate.mjs +2 -2
  19. package/dist/cli/commands/init.mjs +2 -2
  20. package/dist/cli/commands/introspect.mjs +2 -2
  21. package/dist/cli/index.mjs +3 -3
  22. package/dist/{constants-BxLgNFF7.mjs → constants-D5Ubn1fe.mjs} +1 -1
  23. package/dist/context/index.mjs +4 -4
  24. package/dist/core/index.mjs +7 -7
  25. package/dist/{core-iNGqYerO.mjs → core-5lazhva9.mjs} +3 -3
  26. package/dist/{createActionRouter-BBlbPs3k.mjs → createActionRouter-DNqoaK81.mjs} +7 -7
  27. package/dist/{createAggregationRouter-Dv5SuK2x.mjs → createAggregationRouter-BcbQJf10.mjs} +7 -7
  28. package/dist/{defineAggregation-UyeurGkp.mjs → defineAggregation-D_eJjm5A.mjs} +1 -1
  29. package/dist/{defineResource-DzGT-2LP.mjs → defineResource-DxkMTjRn.mjs} +18 -18
  30. package/dist/discovery/index.mjs +1 -1
  31. package/dist/docs/index.mjs +3 -3
  32. package/dist/{elevation-BF-vhGxY.mjs → elevation-CkvG0LG2.mjs} +4 -4
  33. package/dist/encryption/index.mjs +3 -3
  34. package/dist/{errorHandler-CIMkCOWm.mjs → errorHandler-D1GHKGlV.mjs} +3 -3
  35. package/dist/{errors-C_YhELhe.mjs → errors-BH7YU_9O.mjs} +1 -1
  36. package/dist/{eventPlugin-CmXaPWLv.mjs → eventPlugin-zZY-unhr.mjs} +5 -5
  37. package/dist/events/index.mjs +5 -5
  38. package/dist/events/transports/redis-stream-entry.mjs +2 -2
  39. package/dist/events/transports/redis.mjs +2 -2
  40. package/dist/factory/index.mjs +5 -5
  41. package/dist/{fields-BTyPLHK0.mjs → fields-BHrkoF5y.mjs} +1 -1
  42. package/dist/{generate-D_YmiCNf.mjs → generate-BLRf2m3y.mjs} +2 -2
  43. package/dist/{headers-CNECDE6q.mjs → headers-BIXWKrzQ.mjs} +2 -2
  44. package/dist/{health-CxQzbJmr.mjs → health-ZRHeDHXH.mjs} +1 -1
  45. package/dist/hooks/index.mjs +2 -2
  46. package/dist/idempotency/index.mjs +4 -4
  47. package/dist/idempotency/redis.mjs +1 -1
  48. package/dist/index.mjs +11 -11
  49. package/dist/{init-Y2MlSN9n.mjs → init-CpLkjU18.mjs} +1 -1
  50. package/dist/integrations/event-gateway.mjs +2 -2
  51. package/dist/integrations/index.mjs +1 -1
  52. package/dist/integrations/jobs/index.mjs +2 -2
  53. package/dist/integrations/mcp/index.mjs +2 -2
  54. package/dist/integrations/mcp/testing.mjs +2 -2
  55. package/dist/integrations/streamline.mjs +3 -3
  56. package/dist/integrations/webhooks.mjs +3 -3
  57. package/dist/integrations/websocket-pushref-redis.mjs +1 -1
  58. package/dist/integrations/websocket-redis.mjs +1 -1
  59. package/dist/integrations/websocket.mjs +2 -2
  60. package/dist/{interface-BIpgzbZl.mjs → interface-YzIbF7Ii.mjs} +1 -1
  61. package/dist/{jsonBody-Cq9KYl2Z.mjs → jsonBody-ELR9lfeU.mjs} +2 -2
  62. package/dist/{keys-Cmv4cBRa.mjs → keys-cpZCtcIE.mjs} +1 -1
  63. package/dist/{loadResources-CblF7xt2.mjs → loadResources-BPfWiI5s.mjs} +2 -2
  64. package/dist/{loadResourcesFromEntry-99fIMC3p.mjs → loadResourcesFromEntry-ixtfL3J2.mjs} +2 -2
  65. package/dist/logger/index.mjs +1 -1
  66. package/dist/{mcpPlugin-xF3Gw-HW.mjs → mcpPlugin-BX5PujI0.mjs} +15 -15
  67. package/dist/{memory-CpDZ9NPw.mjs → memory-Iotz0cCx.mjs} +2 -2
  68. package/dist/{metrics-BaKnq8ag.mjs → metrics-NMsmpRmY.mjs} +2 -2
  69. package/dist/middleware/index.mjs +3 -3
  70. package/dist/migrations/index.mjs +2 -2
  71. package/dist/{module-BkQEesNQ.mjs → module-DpLJG2_N.mjs} +1 -1
  72. package/dist/{multipartBody-C92aJ8am.mjs → multipartBody-DtRWM6_U.mjs} +1 -1
  73. package/dist/{openapi-C3LFRzPq.mjs → openapi-CmFf3yq_.mjs} +6 -6
  74. package/dist/outbox-admin/index.mjs +4 -4
  75. package/dist/{outbox-module-dsCyLxXH.mjs → outbox-module-D2z5WkDY.mjs} +5 -5
  76. package/dist/permissions/index.mjs +5 -5
  77. package/dist/{permissions-DiHXy8Ck.mjs → permissions-D8TBH44E.mjs} +7 -7
  78. package/dist/{pipe-CBVmUJ-j.mjs → pipe-FMWNheSO.mjs} +2 -2
  79. package/dist/pipeline/index.mjs +2 -2
  80. package/dist/plugins/index.mjs +16 -16
  81. package/dist/plugins/response-cache.mjs +3 -3
  82. package/dist/plugins/tracing-entry.mjs +2 -2
  83. package/dist/{pluralize-2_U6QZQg.mjs → pluralize-CXWZIzTv.mjs} +1 -1
  84. package/dist/{preloadResources-Bbp4QJ8V.mjs → preloadResources-f3boenVZ.mjs} +21 -21
  85. package/dist/presets/filesUpload.mjs +5 -5
  86. package/dist/presets/index.mjs +2 -2
  87. package/dist/presets/multiTenant.mjs +3 -3
  88. package/dist/presets/search.mjs +2 -2
  89. package/dist/{presets-BdlugYTc.mjs → presets-ZJSPgmT2.mjs} +4 -4
  90. package/dist/{projection-Uvgp-EEj.mjs → projection-BzIgzoKZ.mjs} +2 -2
  91. package/dist/{queryCachePlugin-B5F09bYr.mjs → queryCachePlugin-DZHPOm9p.mjs} +6 -6
  92. package/dist/{rateLimitKey-CK-EU2L8.mjs → rateLimitKey-BvOvcBDi.mjs} +1 -1
  93. package/dist/{realtime-FnnD0n3Z.mjs → realtime-8tIQWZz4.mjs} +9 -9
  94. package/dist/{registerRoute-DRsSHPSM.mjs → registerRoute-Bsnk6NiZ.mjs} +6 -6
  95. package/dist/registry/index.mjs +3 -3
  96. package/dist/{registry-D3y8VEJ1.mjs → registry-DNkgGQcK.mjs} +2 -2
  97. package/dist/{renewingLease-B3VYh5aU.mjs → renewingLease-yF8BdW4b.mjs} +1 -1
  98. package/dist/{replyHelpers-DPHsdw-5.mjs → replyHelpers-CNdvMfM4.mjs} +2 -2
  99. package/dist/{requestContext-cSVKnYPk.mjs → requestContext-cDkAUr-P.mjs} +1 -1
  100. package/dist/{rolldown-runtime-DjDuyglE.mjs → rolldown-runtime-eysyzFAF.mjs} +1 -1
  101. package/dist/{runtimeCapabilities-DSA_dH1_.mjs → runtimeCapabilities-CkhS6jn6.mjs} +1 -1
  102. package/dist/{schedules-BktJb3Y3.mjs → schedules-j6uXXAeJ.mjs} +4 -4
  103. package/dist/{schemaConverter-BLCSmNbr.mjs → schemaConverter-BVA7cFRG.mjs} +1 -1
  104. package/dist/{schemaIR-K16Bb5BX.mjs → schemaIR-CTvPDoPB.mjs} +2 -2
  105. package/dist/schemas/index.mjs +1 -1
  106. package/dist/scim/index.mjs +2 -2
  107. package/dist/scope/index.mjs +5 -5
  108. package/dist/{scope-jSxuBTFM.mjs → scope-BUi1xV1I.mjs} +4 -4
  109. package/dist/{simpleEqualityMatcher-BiOnyflP.mjs → simpleEqualityMatcher-C9bzq2gO.mjs} +1 -1
  110. package/dist/{sse-CH7Slxc1.mjs → sse-BeqVKQKu.mjs} +5 -5
  111. package/dist/{sseStream-CN-Lh1Tu.mjs → sseStream-Ppzo-WUH.mjs} +2 -2
  112. package/dist/{store-helpers-9DX9-1j_.mjs → store-helpers-dW71XVWL.mjs} +1 -1
  113. package/dist/{streaming-dvppnxsr.mjs → streaming-IcRFjWQU.mjs} +1 -1
  114. package/dist/{subscribe-helpers-AVYPgqTl.mjs → subscribe-helpers-DatDkcuG.mjs} +2 -2
  115. package/dist/sync/changelog.mjs +1 -1
  116. package/dist/testing/cleanupStoreContract.mjs +1 -1
  117. package/dist/testing/index.mjs +10 -10
  118. package/dist/testing/outboxStoreContract.mjs +1 -1
  119. package/dist/testing/storageContract.mjs +1 -1
  120. package/dist/{transactionContext-DCWMI6hV.mjs → transactionContext-CPbdlnVw.mjs} +1 -1
  121. package/dist/{typeGuards-D7tHFdH6.mjs → typeGuards-BLjPgVBm.mjs} +1 -1
  122. package/dist/types/index.mjs +1 -1
  123. package/dist/types/storage.mjs +1 -1
  124. package/dist/{types-CDy3-zw1.mjs → types-CgenB1gv.mjs} +4 -4
  125. package/dist/usage/index.mjs +4 -4
  126. package/dist/{userHelpers-DDMOZ_Pm.mjs → userHelpers-ChRvkuSZ.mjs} +1 -1
  127. package/dist/utils/index.mjs +11 -11
  128. package/dist/{utils-B-zj_b__.mjs → utils-CxcctrAh.mjs} +3 -3
  129. package/dist/{validate-R0G_JrnK.mjs → validate-DrYWnOzI.mjs} +2 -2
  130. package/dist/{versioning-DuVWcu-F.mjs → versioning-DKkT4hNJ.mjs} +3 -3
  131. package/dist/{workScope-BhsWde4k.mjs → workScope-CxKqoIFn.mjs} +2 -2
  132. package/package.json +574 -574
@@ -1,3 +1,3 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { a as beforeCreate, c as createHookSystem, i as afterUpdate, l as defineHook, n as afterCreate, o as beforeDelete, r as afterDelete, s as beforeUpdate, t as HookSystem } from "../HookSystem-CxvZBo77.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { a as beforeCreate, c as createHookSystem, i as afterUpdate, l as defineHook, n as afterCreate, o as beforeDelete, r as afterDelete, s as beforeUpdate, t as HookSystem } from "../HookSystem-CMF94SEA.mjs";
3
3
  export { HookSystem, afterCreate, afterDelete, afterUpdate, beforeCreate, beforeDelete, beforeUpdate, createHookSystem, defineHook };
@@ -1,7 +1,7 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { n as requireSingleHeaderValue } from "../headers-CNECDE6q.mjs";
3
- import { n as createSafeGetOne, t as createIsDuplicateKeyError } from "../store-helpers-9DX9-1j_.mjs";
4
- import { t as createIdempotencyResult } from "../interface-BIpgzbZl.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { n as requireSingleHeaderValue } from "../headers-BIXWKrzQ.mjs";
3
+ import { n as createSafeGetOne, t as createIsDuplicateKeyError } from "../store-helpers-dW71XVWL.mjs";
4
+ import { t as createIdempotencyResult } from "../interface-YzIbF7Ii.mjs";
5
5
  import { and, eq, exists, gt, lt, or, startsWith } from "@classytic/repo-core/filter";
6
6
  import { createHash } from "node:crypto";
7
7
  import fp from "fastify-plugin";
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
2
  //#region src/idempotency/stores/redis.ts
3
3
  var RedisIdempotencyStore = class {
4
4
  name = "redis";
package/dist/index.mjs CHANGED
@@ -1,14 +1,14 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { a as DEFAULT_SORT, c as HOOK_OPERATIONS, d as MAX_REGEX_LENGTH, f as MAX_SEARCH_LENGTH, h as SYSTEM_FIELDS, i as DEFAULT_MAX_LIMIT, l as HOOK_PHASES, m as RESERVED_QUERY_PARAMS, n as DEFAULT_ID_FIELD, o as DEFAULT_TENANT_FIELD, p as MUTATION_OPERATIONS, r as DEFAULT_LIMIT, s as DEFAULT_UPDATE_METHOD, t as CRUD_OPERATIONS, u as MAX_FILTER_DEPTH } from "./constants-BxLgNFF7.mjs";
3
- import { d as createDomainError, i as NotFoundError, l as UnauthorizedError, r as ForbiddenError, t as ArcError, u as ValidationError } from "./errors-C_YhELhe.mjs";
4
- import { a as BulkMixin, h as nativePolicyFilter, i as SlugMixin, n as TreeMixin, o as BaseCrudController, r as SoftDeleteMixin, t as BaseController } from "./BaseController-DYJRZ0EJ.mjs";
5
- import { t as defineAggregation } from "./defineAggregation-UyeurGkp.mjs";
6
- import { i as fields, n as applyFieldWritePermissions, t as applyFieldReadPermissions } from "./fields-BTyPLHK0.mjs";
7
- import { l as getControllerScope } from "./actionPermissions-DPwPWPOV.mjs";
8
- import { a as ResourceDefinition, t as defineResource } from "./defineResource-DzGT-2LP.mjs";
9
- import { a as mergeResourceConfig, i as defineResourceVariants, o as defineAction } from "./core-iNGqYerO.mjs";
10
- import { B as requireAuth, C as createOrgPermissions, D as requireScopeContext, E as requireOrgRole, F as allowPublic, G as when, I as anyOf, N as allOf, O as requireServiceScope, R as denyAll, S as createDynamicPermissionMatrix, T as requireOrgMembership, U as requireRoles, V as requireOwnership, a as adminOnly, c as ownerWithAdminBypass, d as publicRead, f as publicReadAdminWrite, k as requireTeamMembership, o as authenticated, p as readOnly, s as fullPublic, u as presets_exports, w as requireOrgInScope } from "./permissions-DiHXy8Ck.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { a as DEFAULT_SORT, c as HOOK_OPERATIONS, d as MAX_REGEX_LENGTH, f as MAX_SEARCH_LENGTH, h as SYSTEM_FIELDS, i as DEFAULT_MAX_LIMIT, l as HOOK_PHASES, m as RESERVED_QUERY_PARAMS, n as DEFAULT_ID_FIELD, o as DEFAULT_TENANT_FIELD, p as MUTATION_OPERATIONS, r as DEFAULT_LIMIT, s as DEFAULT_UPDATE_METHOD, t as CRUD_OPERATIONS, u as MAX_FILTER_DEPTH } from "./constants-D5Ubn1fe.mjs";
3
+ import { d as createDomainError, i as NotFoundError, l as UnauthorizedError, r as ForbiddenError, t as ArcError, u as ValidationError } from "./errors-BH7YU_9O.mjs";
4
+ import { a as BulkMixin, h as nativePolicyFilter, i as SlugMixin, n as TreeMixin, o as BaseCrudController, r as SoftDeleteMixin, t as BaseController } from "./BaseController-CYEwjyjN.mjs";
5
+ import { t as defineAggregation } from "./defineAggregation-D_eJjm5A.mjs";
6
+ import { i as fields, n as applyFieldWritePermissions, t as applyFieldReadPermissions } from "./fields-BHrkoF5y.mjs";
7
+ import { l as getControllerScope } from "./actionPermissions-BoPGQ5-4.mjs";
8
+ import { a as ResourceDefinition, t as defineResource } from "./defineResource-DxkMTjRn.mjs";
9
+ import { a as mergeResourceConfig, i as defineResourceVariants, o as defineAction } from "./core-5lazhva9.mjs";
10
+ import { B as requireAuth, C as createOrgPermissions, D as requireScopeContext, E as requireOrgRole, F as allowPublic, G as when, I as anyOf, N as allOf, O as requireServiceScope, R as denyAll, S as createDynamicPermissionMatrix, T as requireOrgMembership, U as requireRoles, V as requireOwnership, a as adminOnly, c as ownerWithAdminBypass, d as publicRead, f as publicReadAdminWrite, k as requireTeamMembership, o as authenticated, p as readOnly, s as fullPublic, u as presets_exports, w as requireOrgInScope } from "./permissions-D8TBH44E.mjs";
11
11
  //#region src/index.ts
12
- const version = "2.41.0";
12
+ const version = "2.41.1";
13
13
  //#endregion
14
14
  export { ArcError, BaseController, BaseCrudController, BulkMixin, CRUD_OPERATIONS, DEFAULT_ID_FIELD, DEFAULT_LIMIT, DEFAULT_MAX_LIMIT, DEFAULT_SORT, DEFAULT_TENANT_FIELD, DEFAULT_UPDATE_METHOD, ForbiddenError, HOOK_OPERATIONS, HOOK_PHASES, MAX_FILTER_DEPTH, MAX_REGEX_LENGTH, MAX_SEARCH_LENGTH, MUTATION_OPERATIONS, NotFoundError, RESERVED_QUERY_PARAMS, ResourceDefinition, SYSTEM_FIELDS, SlugMixin, SoftDeleteMixin, TreeMixin, UnauthorizedError, ValidationError, adminOnly, allOf, allowPublic, anyOf, applyFieldReadPermissions, applyFieldWritePermissions, authenticated, createDomainError, createDynamicPermissionMatrix, createOrgPermissions, defineAction, defineAggregation, defineResource, defineResourceVariants, denyAll, fields, fullPublic, getControllerScope, mergeResourceConfig, nativePolicyFilter, ownerWithAdminBypass, presets_exports as permissions, publicRead, publicReadAdminWrite, readOnly, requireAuth, requireOrgInScope, requireOrgMembership, requireOrgRole, requireOwnership, requireRoles, requireScopeContext, requireServiceScope, requireTeamMembership, version, when };
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
2
  import * as fs from "node:fs/promises";
3
3
  import * as path from "node:path";
4
4
  import { dirname, join } from "node:path";
@@ -1,11 +1,11 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
2
  import fp from "fastify-plugin";
3
3
  //#region src/integrations/event-gateway.ts
4
4
  const eventGatewayPluginImpl = async (fastify, opts = {}) => {
5
5
  const { auth = true, orgScoped = false, roomPolicy, maxMessageBytes, maxSubscriptionsPerClient, authenticate } = opts;
6
6
  if (auth && !authenticate && !fastify.hasDecorator("authenticate")) throw new Error("[arc-event-gateway] auth is true but fastify.authenticate is not registered. Register an auth plugin first, provide a custom authenticate function, or set auth: false.");
7
7
  if (opts.sse !== false) {
8
- const { default: ssePlugin } = await import("../sse-CH7Slxc1.mjs").then((n) => n.r);
8
+ const { default: ssePlugin } = await import("../sse-BeqVKQKu.mjs").then((n) => n.r);
9
9
  await fastify.register(ssePlugin, {
10
10
  path: opts.sse?.path ?? "/events/stream",
11
11
  requireAuth: auth,
@@ -1,2 +1,2 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
2
  export {};
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { n as evaluateAndApplyPermission } from "../../authorizationDecision-2YY_Kaj1.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { n as evaluateAndApplyPermission } from "../../authorizationDecision-DawKGoXb.mjs";
3
3
  import fp from "fastify-plugin";
4
4
  //#region src/integrations/jobs/execution.ts
5
5
  async function executeTimedHandler(options) {
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { a as defaultCrudDescription, c as mcpHandlerAdapter, d as toCallToolResult, f as toCallToolSuccess, h as resolveToolCollisions, i as fieldRulesToZod, l as permissionDeniedResult, m as createMcpServer, n as mcpPlugin, o as resolveCrudDescription, p as buildRequestContext, r as resourceToTools, s as invokeController, t as filterResourcesForMcp, u as toCallToolError } from "../../mcpPlugin-xF3Gw-HW.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { a as defaultCrudDescription, c as mcpHandlerAdapter, d as toCallToolResult, f as toCallToolSuccess, h as resolveToolCollisions, i as fieldRulesToZod, l as permissionDeniedResult, m as createMcpServer, n as mcpPlugin, o as resolveCrudDescription, p as buildRequestContext, r as resourceToTools, s as invokeController, t as filterResourcesForMcp, u as toCallToolError } from "../../mcpPlugin-BX5PujI0.mjs";
3
3
  //#region src/integrations/mcp/defineTool.ts
4
4
  /**
5
5
  * Define a type-safe MCP tool.
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { m as createMcpServer, r as resourceToTools, t as filterResourcesForMcp } from "../../mcpPlugin-xF3Gw-HW.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { m as createMcpServer, r as resourceToTools, t as filterResourcesForMcp } from "../../mcpPlugin-BX5PujI0.mjs";
3
3
  //#region src/integrations/mcp/testing.ts
4
4
  /**
5
5
  * Serve an already-built `McpServer` on an ephemeral loopback port and connect
@@ -1,6 +1,6 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { f as createError, i as NotFoundError, r as ForbiddenError } from "../errors-C_YhELhe.mjs";
3
- import { a as promoteStreamTokenToHeader, n as forwardedStreamHeaders } from "../streaming-dvppnxsr.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { f as createError, i as NotFoundError, r as ForbiddenError } from "../errors-BH7YU_9O.mjs";
3
+ import { a as promoteStreamTokenToHeader, n as forwardedStreamHeaders } from "../streaming-IcRFjWQU.mjs";
4
4
  import fp from "fastify-plugin";
5
5
  //#region src/integrations/streamline.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { n as declareRuntimeCapability } from "../runtimeCapabilities-DSA_dH1_.mjs";
3
- import { i as exponentialBackoff, t as createOutboxModule } from "../outbox-module-dsCyLxXH.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { n as declareRuntimeCapability } from "../runtimeCapabilities-CkhS6jn6.mjs";
3
+ import { i as exponentialBackoff, t as createOutboxModule } from "../outbox-module-D2z5WkDY.mjs";
4
4
  import { createHmac, timingSafeEqual } from "node:crypto";
5
5
  import fp from "fastify-plugin";
6
6
  import { createChildEvent } from "@classytic/primitives/events";
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
2
  //#region src/integrations/websocket-pushref-redis.ts
3
3
  /**
4
4
  * Lua script for atomic claim. Runs server-side, single-roundtrip.
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
2
  //#region src/integrations/websocket-redis.ts
3
3
  /**
4
4
  * Redis Pub/Sub adapter for cross-instance WebSocket broadcast.
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { n as declareRuntimeCapability } from "../runtimeCapabilities-DSA_dH1_.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { n as declareRuntimeCapability } from "../runtimeCapabilities-CkhS6jn6.mjs";
3
3
  import { randomUUID } from "node:crypto";
4
4
  import sjson from "secure-json-parse";
5
5
  import fp from "fastify-plugin";
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
2
  //#region src/idempotency/stores/interface.ts
3
3
  /**
4
4
  * Helper to create a result object
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { t as ArcError } from "./errors-C_YhELhe.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { t as ArcError } from "./errors-BH7YU_9O.mjs";
3
3
  import sjson from "secure-json-parse";
4
4
  //#region src/utils/jsonBody.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
2
  //#region src/cache/keys.ts
3
3
  /**
4
4
  * Cache Key Utilities
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { t as __exportAll } from "./rolldown-runtime-DjDuyglE.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { t as __exportAll } from "./rolldown-runtime-eysyzFAF.mjs";
3
3
  import { arcLog } from "./logger/index.mjs";
4
4
  import { readdir } from "node:fs/promises";
5
5
  import { dirname, join, resolve } from "node:path";
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { t as ResourceRegistry } from "./ResourceRegistry-Cu7uTJp9.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { t as ResourceRegistry } from "./ResourceRegistry-MGpXoxHZ.mjs";
3
3
  import { resolve } from "node:path";
4
4
  import { pathToFileURL } from "node:url";
5
5
  //#region src/cli/utils/loadResourcesFromEntry.ts
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
2
  import { AsyncLocalStorage } from "node:async_hooks";
3
3
  //#region src/logger/index.ts
4
4
  /**
@@ -1,18 +1,18 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { r as evaluatePermissionDecision } from "./authorizationDecision-2YY_Kaj1.mjs";
3
- import { p as isArcError, t as ArcError } from "./errors-C_YhELhe.mjs";
4
- import { n as requireSingleHeaderValue } from "./headers-CNECDE6q.mjs";
5
- import { b as isElevated, c as getOrgId, g as getUserId, x as isMember } from "./types-CDy3-zw1.mjs";
6
- import { t as BaseController } from "./BaseController-DYJRZ0EJ.mjs";
7
- import { a as resolveEffectiveRoles, t as applyFieldReadPermissions } from "./fields-BTyPLHK0.mjs";
8
- import { t as buildRequestScopeProjection } from "./projection-Uvgp-EEj.mjs";
9
- import { i as resolvePipelineSteps, t as resolveActionPermission } from "./actionPermissions-DPwPWPOV.mjs";
10
- import { t as executePipeline } from "./pipe-CBVmUJ-j.mjs";
11
- import { t as pluralize } from "./pluralize-2_U6QZQg.mjs";
12
- import { t as createIdempotencyResult } from "./interface-BIpgzbZl.mjs";
13
- import { r as shouldRejectAdditionalProperties, t as normalizeSchemaIR } from "./schemaIR-K16Bb5BX.mjs";
14
- import { n as validateAggregations } from "./validate-R0G_JrnK.mjs";
15
- import { n as executeAggregation } from "./buildHandler-CUhjGHGZ.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { r as evaluatePermissionDecision } from "./authorizationDecision-DawKGoXb.mjs";
3
+ import { p as isArcError, t as ArcError } from "./errors-BH7YU_9O.mjs";
4
+ import { n as requireSingleHeaderValue } from "./headers-BIXWKrzQ.mjs";
5
+ import { b as isElevated, c as getOrgId, g as getUserId, x as isMember } from "./types-CgenB1gv.mjs";
6
+ import { t as BaseController } from "./BaseController-CYEwjyjN.mjs";
7
+ import { a as resolveEffectiveRoles, t as applyFieldReadPermissions } from "./fields-BHrkoF5y.mjs";
8
+ import { t as buildRequestScopeProjection } from "./projection-BzIgzoKZ.mjs";
9
+ import { i as resolvePipelineSteps, t as resolveActionPermission } from "./actionPermissions-BoPGQ5-4.mjs";
10
+ import { t as executePipeline } from "./pipe-FMWNheSO.mjs";
11
+ import { t as pluralize } from "./pluralize-CXWZIzTv.mjs";
12
+ import { t as createIdempotencyResult } from "./interface-YzIbF7Ii.mjs";
13
+ import { r as shouldRejectAdditionalProperties, t as normalizeSchemaIR } from "./schemaIR-CTvPDoPB.mjs";
14
+ import { n as validateAggregations } from "./validate-DrYWnOzI.mjs";
15
+ import { n as executeAggregation } from "./buildHandler-CvxKOc0m.mjs";
16
16
  import { isHttpError, toErrorContract } from "@classytic/repo-core/errors";
17
17
  import { createHash, randomUUID } from "node:crypto";
18
18
  import fp from "fastify-plugin";
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { t as __exportAll } from "./rolldown-runtime-DjDuyglE.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { t as __exportAll } from "./rolldown-runtime-eysyzFAF.mjs";
3
3
  //#region src/cache/memory.ts
4
4
  var memory_exports = /* @__PURE__ */ __exportAll({ MemoryCacheStore: () => MemoryCacheStore });
5
5
  /**
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { t as __exportAll } from "./rolldown-runtime-DjDuyglE.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { t as __exportAll } from "./rolldown-runtime-eysyzFAF.mjs";
3
3
  import fp from "fastify-plugin";
4
4
  //#region src/plugins/metrics.ts
5
5
  var metrics_exports = /* @__PURE__ */ __exportAll({
@@ -1,6 +1,6 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { t as CRUD_OPERATIONS } from "../constants-BxLgNFF7.mjs";
3
- import { t as multipartBody } from "../multipartBody-C92aJ8am.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { t as CRUD_OPERATIONS } from "../constants-D5Ubn1fe.mjs";
3
+ import { t as multipartBody } from "../multipartBody-DtRWM6_U.mjs";
4
4
  //#region src/middleware/middleware.ts
5
5
  /**
6
6
  * Named Middleware — Priority-based, conditional middleware execution.
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { t as startRenewingLease } from "../renewingLease-B3VYh5aU.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { t as startRenewingLease } from "../renewingLease-yF8BdW4b.mjs";
3
3
  import { createHash, randomUUID } from "node:crypto";
4
4
  //#region src/migrations/index.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
2
  //#region src/factory/module/index.ts
3
3
  /**
4
4
  * Identity helper for authoring a typed module — mirrors `defineResource`.
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
2
  import sjson from "secure-json-parse";
3
3
  //#region src/middleware/multipartBody.ts
4
4
  const DEFAULT_MAX_FILE_SIZE = 10485760;
@@ -1,9 +1,9 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { n as getUserRoles } from "./userHelpers-DDMOZ_Pm.mjs";
3
- import { n as convertRouteSchema } from "./schemaConverter-BLCSmNbr.mjs";
4
- import { t as resolveActionPermission } from "./actionPermissions-DPwPWPOV.mjs";
5
- import { t as pluralize } from "./pluralize-2_U6QZQg.mjs";
6
- import { t as buildActionBodySchema } from "./createActionRouter-BBlbPs3k.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { n as getUserRoles } from "./userHelpers-ChRvkuSZ.mjs";
3
+ import { n as convertRouteSchema } from "./schemaConverter-BVA7cFRG.mjs";
4
+ import { t as resolveActionPermission } from "./actionPermissions-BoPGQ5-4.mjs";
5
+ import { t as pluralize } from "./pluralize-CXWZIzTv.mjs";
6
+ import { t as buildActionBodySchema } from "./createActionRouter-DNqoaK81.mjs";
7
7
  import fp from "fastify-plugin";
8
8
  //#region src/docs/openapi/canonical-schemas.ts
9
9
  /**
@@ -1,7 +1,7 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { i as NotFoundError, u as ValidationError } from "../errors-C_YhELhe.mjs";
3
- import { t as defineResource } from "../defineResource-DzGT-2LP.mjs";
4
- import { n as getModuleExports, t as defineModule } from "../module-BkQEesNQ.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { i as NotFoundError, u as ValidationError } from "../errors-BH7YU_9O.mjs";
3
+ import { t as defineResource } from "../defineResource-DxkMTjRn.mjs";
4
+ import { n as getModuleExports, t as defineModule } from "../module-DpLJG2_N.mjs";
5
5
  //#region src/outbox-admin/module.ts
6
6
  /**
7
7
  * Strip the domain payload and the stack unless explicitly opted in.
@@ -1,8 +1,8 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { t as transactionContext } from "./transactionContext-DCWMI6hV.mjs";
3
- import { n as requestContext } from "./requestContext-cSVKnYPk.mjs";
4
- import { i as resolveEventTransport } from "./EventTransport-n7qO5Cz3.mjs";
5
- import { n as createSafeGetOne, t as createIsDuplicateKeyError } from "./store-helpers-9DX9-1j_.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { t as transactionContext } from "./transactionContext-CPbdlnVw.mjs";
3
+ import { n as requestContext } from "./requestContext-cDkAUr-P.mjs";
4
+ import { i as resolveEventTransport } from "./EventTransport-DSqD_Xsg.mjs";
5
+ import { n as createSafeGetOne, t as createIsDuplicateKeyError } from "./store-helpers-dW71XVWL.mjs";
6
6
  import { and, anyOf, eq, lte, ne, or } from "@classytic/repo-core/filter";
7
7
  import { randomBytes } from "node:crypto";
8
8
  import { InvalidOutboxEventError, OutboxOwnershipError } from "@classytic/primitives/outbox";
@@ -1,6 +1,6 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { a as conjoinPolicyFilters, i as normalizeToDecision, r as evaluatePermissionDecision, t as applyAuthorizationDecision } from "../authorizationDecision-2YY_Kaj1.mjs";
3
- import { n as getUserRoles, r as normalizeRoles } from "../userHelpers-DDMOZ_Pm.mjs";
4
- import { a as resolveEffectiveRoles, i as fields, n as applyFieldWritePermissions, t as applyFieldReadPermissions } from "../fields-BTyPLHK0.mjs";
5
- import { A as requireAgentScope, B as requireAuth, C as createOrgPermissions, D as requireScopeContext, E as requireOrgRole, F as allowPublic, G as when, H as requirePlatformRole, I as anyOf, K as scopeOf, L as deny, M as requireMandate, N as allOf, O as requireServiceScope, P as allow, R as denyAll, S as createDynamicPermissionMatrix, T as requireOrgMembership, U as requireRoles, V as requireOwnership, W as roles, _ as requireGrant, a as adminOnly, b as describePermissionMap, c as ownerWithAdminBypass, d as publicRead, f as publicReadAdminWrite, g as modeSatisfies, h as GRANT_MODES, i as introspectRegistry, j as requireDPoP, k as requireTeamMembership, l as permissionMatrix, m as createRoleHierarchy, n as introspectCheck, o as authenticated, p as readOnly, r as introspectModule, s as fullPublic, t as buildPermissionMatrix, u as presets_exports, v as collectPublicSurface, w as requireOrgInScope, x as explainAccess, y as describePermission, z as not } from "../permissions-DiHXy8Ck.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { a as conjoinPolicyFilters, i as normalizeToDecision, r as evaluatePermissionDecision, t as applyAuthorizationDecision } from "../authorizationDecision-DawKGoXb.mjs";
3
+ import { n as getUserRoles, r as normalizeRoles } from "../userHelpers-ChRvkuSZ.mjs";
4
+ import { a as resolveEffectiveRoles, i as fields, n as applyFieldWritePermissions, t as applyFieldReadPermissions } from "../fields-BHrkoF5y.mjs";
5
+ import { A as requireAgentScope, B as requireAuth, C as createOrgPermissions, D as requireScopeContext, E as requireOrgRole, F as allowPublic, G as when, H as requirePlatformRole, I as anyOf, K as scopeOf, L as deny, M as requireMandate, N as allOf, O as requireServiceScope, P as allow, R as denyAll, S as createDynamicPermissionMatrix, T as requireOrgMembership, U as requireRoles, V as requireOwnership, W as roles, _ as requireGrant, a as adminOnly, b as describePermissionMap, c as ownerWithAdminBypass, d as publicRead, f as publicReadAdminWrite, g as modeSatisfies, h as GRANT_MODES, i as introspectRegistry, j as requireDPoP, k as requireTeamMembership, l as permissionMatrix, m as createRoleHierarchy, n as introspectCheck, o as authenticated, p as readOnly, r as introspectModule, s as fullPublic, t as buildPermissionMatrix, u as presets_exports, v as collectPublicSurface, w as requireOrgInScope, x as explainAccess, y as describePermission, z as not } from "../permissions-D8TBH44E.mjs";
6
6
  export { GRANT_MODES, adminOnly, allOf, allow, allowPublic, anyOf, applyAuthorizationDecision, applyFieldReadPermissions, applyFieldWritePermissions, authenticated, buildPermissionMatrix, collectPublicSurface, conjoinPolicyFilters, createDynamicPermissionMatrix, createOrgPermissions, createRoleHierarchy, deny, denyAll, describePermission, describePermissionMap, evaluatePermissionDecision, explainAccess, fields, fullPublic, getUserRoles, introspectCheck, introspectModule, introspectRegistry, modeSatisfies, normalizeRoles, normalizeToDecision, not, ownerWithAdminBypass, permissionMatrix, presets_exports as permissions, publicRead, publicReadAdminWrite, readOnly, requireAgentScope, requireAuth, requireDPoP, requireGrant, requireMandate, requireOrgInScope, requireOrgMembership, requireOrgRole, requireOwnership, requirePlatformRole, requireRoles, requireScopeContext, requireServiceScope, requireTeamMembership, resolveEffectiveRoles, roles, scopeOf, when };
@@ -1,11 +1,11 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { t as __exportAll } from "./rolldown-runtime-DjDuyglE.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { t as __exportAll } from "./rolldown-runtime-eysyzFAF.mjs";
3
3
  import { arcLog } from "./logger/index.mjs";
4
- import { a as conjoinPolicyFilters, i as normalizeToDecision } from "./authorizationDecision-2YY_Kaj1.mjs";
5
- import { n as getUserRoles } from "./userHelpers-DDMOZ_Pm.mjs";
6
- import { C as isService, S as isOrgInScope, a as getDPoPJkt, b as isElevated, d as getScopeContext, f as getScopeContextMap, g as getUserId, m as getTeamId, n as PUBLIC_SCOPE, o as getMandate, p as getServiceScopes, u as getRequestScope, v as hasOrgAccess, x as isMember } from "./types-CDy3-zw1.mjs";
7
- import { n as declareRuntimeCapability } from "./runtimeCapabilities-DSA_dH1_.mjs";
8
- import { t as MemoryCacheStore } from "./memory-CpDZ9NPw.mjs";
4
+ import { a as conjoinPolicyFilters, i as normalizeToDecision } from "./authorizationDecision-DawKGoXb.mjs";
5
+ import { n as getUserRoles } from "./userHelpers-ChRvkuSZ.mjs";
6
+ import { C as isService, S as isOrgInScope, a as getDPoPJkt, b as isElevated, d as getScopeContext, f as getScopeContextMap, g as getUserId, m as getTeamId, n as PUBLIC_SCOPE, o as getMandate, p as getServiceScopes, u as getRequestScope, v as hasOrgAccess, x as isMember } from "./types-CgenB1gv.mjs";
7
+ import { n as declareRuntimeCapability } from "./runtimeCapabilities-CkhS6jn6.mjs";
8
+ import { t as MemoryCacheStore } from "./memory-Iotz0cCx.mjs";
9
9
  import { randomUUID } from "node:crypto";
10
10
  //#region src/permissions/context.ts
11
11
  /**
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { r as ForbiddenError } from "./errors-C_YhELhe.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { r as ForbiddenError } from "./errors-BH7YU_9O.mjs";
3
3
  //#region src/pipeline/pipe.ts
4
4
  /**
5
5
  * Compose pipeline steps into an ordered array.
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { n as pipe, t as executePipeline } from "../pipe-CBVmUJ-j.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { n as pipe, t as executePipeline } from "../pipe-FMWNheSO.mjs";
3
3
  //#region src/pipeline/guard.ts
4
4
  /**
5
5
  * Create a named guard.
@@ -1,20 +1,20 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { p as MUTATION_OPERATIONS } from "../constants-BxLgNFF7.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { p as MUTATION_OPERATIONS } from "../constants-D5Ubn1fe.mjs";
3
3
  import { arcLog } from "../logger/index.mjs";
4
- import { c as getOrgId } from "../types-CDy3-zw1.mjs";
5
- import { n as requestContext } from "../requestContext-cSVKnYPk.mjs";
6
- import { t as hasEvents } from "../typeGuards-D7tHFdH6.mjs";
7
- import { t as HookSystem } from "../HookSystem-CxvZBo77.mjs";
8
- import { t as ResourceRegistry } from "../ResourceRegistry-Cu7uTJp9.mjs";
9
- import { a as requestIdPlugin, i as createRequestIdGenerator, n as health_default, o as requestId_default, s as sanitizeRequestId, t as healthPlugin } from "../health-CxQzbJmr.mjs";
10
- import { n as caching_default, t as cachingPlugin } from "../caching-DsWDjIxx.mjs";
11
- import { n as errorHandlerPlugin, t as defaultIsDuplicateKeyError } from "../errorHandler-CIMkCOWm.mjs";
12
- import { n as metrics_default, t as metricsPlugin } from "../metrics-BaKnq8ag.mjs";
13
- import { n as realtime_default, t as realtimePlugin } from "../realtime-FnnD0n3Z.mjs";
14
- import { t as replyHelpersPlugin } from "../replyHelpers-DPHsdw-5.mjs";
15
- import { n as schedules_default, t as schedulesPlugin } from "../schedules-BktJb3Y3.mjs";
16
- import { n as sse_default, t as ssePlugin } from "../sse-CH7Slxc1.mjs";
17
- import { n as versioning_default, t as versioningPlugin } from "../versioning-DuVWcu-F.mjs";
4
+ import { c as getOrgId } from "../types-CgenB1gv.mjs";
5
+ import { n as requestContext } from "../requestContext-cDkAUr-P.mjs";
6
+ import { t as hasEvents } from "../typeGuards-BLjPgVBm.mjs";
7
+ import { t as HookSystem } from "../HookSystem-CMF94SEA.mjs";
8
+ import { t as ResourceRegistry } from "../ResourceRegistry-MGpXoxHZ.mjs";
9
+ import { a as requestIdPlugin, i as createRequestIdGenerator, n as health_default, o as requestId_default, s as sanitizeRequestId, t as healthPlugin } from "../health-ZRHeDHXH.mjs";
10
+ import { n as caching_default, t as cachingPlugin } from "../caching-DbCBxlgw.mjs";
11
+ import { n as errorHandlerPlugin, t as defaultIsDuplicateKeyError } from "../errorHandler-D1GHKGlV.mjs";
12
+ import { n as metrics_default, t as metricsPlugin } from "../metrics-NMsmpRmY.mjs";
13
+ import { n as realtime_default, t as realtimePlugin } from "../realtime-8tIQWZz4.mjs";
14
+ import { t as replyHelpersPlugin } from "../replyHelpers-CNdvMfM4.mjs";
15
+ import { n as schedules_default, t as schedulesPlugin } from "../schedules-j6uXXAeJ.mjs";
16
+ import { n as sse_default, t as ssePlugin } from "../sse-BeqVKQKu.mjs";
17
+ import { n as versioning_default, t as versioningPlugin } from "../versioning-DKkT4hNJ.mjs";
18
18
  import fp from "fastify-plugin";
19
19
  import { performance as performance$1 } from "node:perf_hooks";
20
20
  //#region src/core/arcCorePlugin.ts
@@ -1,6 +1,6 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
2
- import { n as declareRuntimeCapability } from "../runtimeCapabilities-DSA_dH1_.mjs";
3
- import { t as hasEvents } from "../typeGuards-D7tHFdH6.mjs";
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
+ import { n as declareRuntimeCapability } from "../runtimeCapabilities-CkhS6jn6.mjs";
3
+ import { t as hasEvents } from "../typeGuards-BLjPgVBm.mjs";
4
4
  import fp from "fastify-plugin";
5
5
  //#region src/plugins/response-cache.ts
6
6
  /**
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
2
  import { createRequire } from "node:module";
3
3
  import fp from "fastify-plugin";
4
4
  //#region src/plugins/tracing.ts
@@ -59,7 +59,7 @@ try {
59
59
  function createTracerProvider(options) {
60
60
  if (!isAvailable || !NodeTracerProvider || !BatchSpanProcessor || !OTLPTraceExporter) return null;
61
61
  const { serviceName = "@classytic/arc", serviceVersion, exporterUrl = "http://localhost:4318/v1/traces" } = options;
62
- const resolvedVersion = serviceVersion ?? "2.41.0";
62
+ const resolvedVersion = serviceVersion ?? "2.41.1";
63
63
  const exporter = new OTLPTraceExporter({ url: exporterUrl });
64
64
  const provider = new NodeTracerProvider({ resource: { attributes: {
65
65
  "service.name": serviceName,
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.41.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
2
2
  //#region src/utils/pluralize.ts
3
3
  /**
4
4
  * Lightweight English pluralization for the Arc CLI.