@classytic/arc 2.37.0 → 2.38.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 (175) hide show
  1. package/dist/{BaseController-B5GZfUBy.mjs → BaseController-CYaDvmOB.mjs} +16 -15
  2. package/dist/{EventTransport-BEVP50ka.d.mts → EventTransport-Cx60_s-6.d.mts} +37 -0
  3. package/dist/{EventTransport-pGNNDQ__.mjs → EventTransport-Gq7JWbWw.mjs} +39 -7
  4. package/dist/{HookSystem-CuhHvcyZ.mjs → HookSystem-C0ikzqQf.mjs} +2 -2
  5. package/dist/{ResourceRegistry-DFOmazXg.mjs → ResourceRegistry-DPcX--zk.mjs} +2 -2
  6. package/dist/{actionPermissions-CQQrR4tu.mjs → actionPermissions-jlFZ1it4.mjs} +6 -6
  7. package/dist/audit/index.d.mts +1 -1
  8. package/dist/audit/index.mjs +2 -2
  9. package/dist/auth/audit.mjs +1 -1
  10. package/dist/auth/index.d.mts +1 -1
  11. package/dist/auth/index.mjs +79 -28
  12. package/dist/auth/redis-session.mjs +1 -1
  13. package/dist/{authorizationDecision-DgyWdav8.mjs → authorizationDecision-BP8GHtjc.mjs} +2 -2
  14. package/dist/{buildHandler-D2DkqtiY.mjs → buildHandler-DjXOqIvX.mjs} +4 -4
  15. package/dist/cache/index.mjs +4 -4
  16. package/dist/{caching-BmC2T-pX.mjs → caching-a3ZEcJJs.mjs} +2 -2
  17. package/dist/cleanup/index.d.mts +2 -2
  18. package/dist/cleanup/index.mjs +4 -4
  19. package/dist/cli/commands/describe.d.mts +1 -1
  20. package/dist/cli/commands/describe.mjs +3 -3
  21. package/dist/cli/commands/docs.mjs +3 -3
  22. package/dist/cli/commands/doctor.mjs +1 -1
  23. package/dist/cli/commands/generate.mjs +2 -2
  24. package/dist/cli/commands/init.mjs +2 -2
  25. package/dist/cli/commands/introspect.mjs +2 -2
  26. package/dist/cli/index.mjs +3 -3
  27. package/dist/{constants-CUpamQMJ.mjs → constants-BONghE1Y.mjs} +1 -1
  28. package/dist/context/index.mjs +3 -3
  29. package/dist/core/index.d.mts +2 -2
  30. package/dist/core/index.mjs +7 -7
  31. package/dist/{core-C8GWw-Iu.mjs → core-8She7FgF.mjs} +3 -3
  32. package/dist/{createActionRouter-CwDU_j2S.mjs → createActionRouter-Bqi6Bhhx.mjs} +7 -7
  33. package/dist/{createAggregationRouter-d057xXX1.mjs → createAggregationRouter-BsYO7ktd.mjs} +7 -7
  34. package/dist/{defineAggregation-cCitY2FA.mjs → defineAggregation-0KBvqEEC.mjs} +1 -1
  35. package/dist/{defineResource-WcbE1kJL.mjs → defineResource-BMdyRelW.mjs} +18 -18
  36. package/dist/discovery/index.mjs +1 -1
  37. package/dist/docs/index.d.mts +1 -1
  38. package/dist/docs/index.mjs +3 -3
  39. package/dist/{elevation-Bc6Gafv9.mjs → elevation-C6woysGC.mjs} +4 -4
  40. package/dist/encryption/index.mjs +3 -3
  41. package/dist/{errorHandler-CB75oY5i.mjs → errorHandler-BdmIWPba.mjs} +4 -4
  42. package/dist/{errors-DsdZc1Xv.mjs → errors-2ExmOgIJ.mjs} +1 -1
  43. package/dist/{eventPlugin-B47sfCJ8.d.mts → eventPlugin-DFvHa4Nf.d.mts} +10 -1
  44. package/dist/{eventPlugin-DEIfV1iC.mjs → eventPlugin-DJwpGMzx.mjs} +6 -6
  45. package/dist/events/index.d.mts +4 -4
  46. package/dist/events/index.mjs +5 -5
  47. package/dist/events/transports/redis-stream-entry.d.mts +1 -1
  48. package/dist/events/transports/redis-stream-entry.mjs +1 -1
  49. package/dist/events/transports/redis.d.mts +1 -1
  50. package/dist/events/transports/redis.mjs +1 -1
  51. package/dist/factory/index.d.mts +4 -4
  52. package/dist/factory/index.mjs +5 -5
  53. package/dist/{fastify-augmentation-CdY8FINU.d.mts → fastify-augmentation-jYA2oHyL.d.mts} +3 -3
  54. package/dist/{fields-DvGz47Ul.mjs → fields-Cha2QCKH.mjs} +37 -2
  55. package/dist/{generate-D7CIIWhS.mjs → generate-BUP4Oydg.mjs} +2 -2
  56. package/dist/{headers-BFu1st_i.mjs → headers-DeXNifVj.mjs} +2 -2
  57. package/dist/{health-Cc_sb94d.mjs → health-Bh0N_FLk.mjs} +1 -1
  58. package/dist/hooks/index.d.mts +1 -1
  59. package/dist/hooks/index.mjs +2 -2
  60. package/dist/idempotency/index.mjs +4 -4
  61. package/dist/idempotency/redis.mjs +1 -1
  62. package/dist/{index-C01wWGJt.d.mts → index-B78WZom8.d.mts} +11 -2
  63. package/dist/{index-du18bJjH.d.mts → index-BRoDtjek.d.mts} +2 -4
  64. package/dist/{index-DCxxRwLC.d.mts → index-D2uIUSQk.d.mts} +1 -1
  65. package/dist/index.d.mts +3 -3
  66. package/dist/index.mjs +11 -11
  67. package/dist/{init-BMgU1wYR.mjs → init-Dg_Am2o_.mjs} +1 -1
  68. package/dist/integrations/event-gateway.d.mts +1 -1
  69. package/dist/integrations/event-gateway.mjs +2 -2
  70. package/dist/integrations/index.d.mts +1 -1
  71. package/dist/integrations/index.mjs +1 -1
  72. package/dist/integrations/jobs/index.mjs +2 -2
  73. package/dist/integrations/mcp/index.d.mts +2 -2
  74. package/dist/integrations/mcp/index.mjs +2 -2
  75. package/dist/integrations/mcp/testing.d.mts +1 -1
  76. package/dist/integrations/mcp/testing.mjs +2 -2
  77. package/dist/integrations/streamline.mjs +3 -3
  78. package/dist/integrations/webhooks.d.mts +2 -2
  79. package/dist/integrations/webhooks.mjs +3 -3
  80. package/dist/integrations/websocket-pushref-redis.mjs +1 -1
  81. package/dist/integrations/websocket-redis.mjs +1 -1
  82. package/dist/integrations/websocket.mjs +1 -1
  83. package/dist/{interface-CaPVHoVJ.mjs → interface-DYPVscCU.mjs} +1 -1
  84. package/dist/{jsonBody-BuzxOZV8.mjs → jsonBody-DVui0uJl.mjs} +2 -2
  85. package/dist/{keys-DoUI9-yP.mjs → keys-BSuxGS-B.mjs} +1 -1
  86. package/dist/{loadResources-CPlRWJCv.mjs → loadResources-CNd1DWnK.mjs} +2 -2
  87. package/dist/{loadResourcesFromEntry-CPCZiX9n.mjs → loadResourcesFromEntry-DNj8cpiY.mjs} +2 -2
  88. package/dist/logger/index.mjs +1 -1
  89. package/dist/{mcpPlugin-dxMxBPIg.mjs → mcpPlugin-KWsezMx7.mjs} +15 -15
  90. package/dist/{memory-BnafVem_.mjs → memory-BiPVaCPg.mjs} +2 -2
  91. package/dist/{metrics-CeAIcVMY.mjs → metrics-CsWaIVTa.mjs} +2 -2
  92. package/dist/middleware/index.d.mts +1 -1
  93. package/dist/middleware/index.mjs +3 -3
  94. package/dist/migrations/index.mjs +2 -2
  95. package/dist/{module-DIvG8qOg.mjs → module-BQXHxMEk.mjs} +1 -1
  96. package/dist/{multipartBody-BVCoaTwu.mjs → multipartBody-u6VrS_iH.mjs} +1 -1
  97. package/dist/{openapi-D_i6CifU.mjs → openapi-Dxc8RLy_.mjs} +6 -6
  98. package/dist/outbox-admin/index.d.mts +1 -1
  99. package/dist/outbox-admin/index.mjs +4 -4
  100. package/dist/{outbox-module-BbdaMyqy.d.mts → outbox-module-CQXu_O6o.d.mts} +2 -2
  101. package/dist/{outbox-module-CKaLL5BH.mjs → outbox-module-DyIqA5vo.mjs} +4 -4
  102. package/dist/permissions/index.mjs +5 -5
  103. package/dist/{permissions-DWkl60hx.mjs → permissions-H7Zcb82Z.mjs} +6 -6
  104. package/dist/{pipe-Dbs3GhOZ.mjs → pipe-SunhEaZ6.mjs} +2 -2
  105. package/dist/pipeline/index.d.mts +1 -1
  106. package/dist/pipeline/index.mjs +2 -2
  107. package/dist/plugins/index.d.mts +4 -4
  108. package/dist/plugins/index.mjs +16 -16
  109. package/dist/plugins/response-cache.mjs +2 -2
  110. package/dist/plugins/tracing-entry.mjs +2 -2
  111. package/dist/{pluralize-DgaYX91M.mjs → pluralize-Da7IT_qJ.mjs} +1 -1
  112. package/dist/{preloadResources-BYFfYnjZ.d.mts → preloadResources-BbBkNkqK.d.mts} +6 -6
  113. package/dist/{preloadResources-BUoGKPaS.mjs → preloadResources-DlhH81py.mjs} +21 -21
  114. package/dist/presets/filesUpload.d.mts +1 -1
  115. package/dist/presets/filesUpload.mjs +5 -5
  116. package/dist/presets/index.d.mts +1 -1
  117. package/dist/presets/index.mjs +2 -2
  118. package/dist/presets/multiTenant.d.mts +1 -1
  119. package/dist/presets/multiTenant.mjs +3 -3
  120. package/dist/presets/search.d.mts +1 -1
  121. package/dist/presets/search.mjs +2 -2
  122. package/dist/{presets-Gbv9mNKD.mjs → presets-CNyfaxGL.mjs} +4 -4
  123. package/dist/{projection-BunxoeON.mjs → projection-DSfEoooA.mjs} +2 -2
  124. package/dist/{queryCachePlugin-BYqmg89O.mjs → queryCachePlugin-oTsmVyEQ.mjs} +5 -5
  125. package/dist/{rateLimitKey-DlqmDHA5.mjs → rateLimitKey-CewdR-m6.mjs} +1 -1
  126. package/dist/{realtime-CiAp2-LH.mjs → realtime-CPmjjgqd.mjs} +9 -9
  127. package/dist/{redis-stream-mwLWlfHG.d.mts → redis-stream-eh0eOtjh.d.mts} +1 -1
  128. package/dist/{registerRoute-dnf-JJf-.mjs → registerRoute-XvcI_3sh.mjs} +10 -6
  129. package/dist/registry/index.d.mts +2 -2
  130. package/dist/registry/index.mjs +3 -3
  131. package/dist/{registry-ByC0UFNS.mjs → registry-UFEJQN8R.mjs} +2 -2
  132. package/dist/{renewingLease-C5Ta_ImD.mjs → renewingLease-DuRGVOMe.mjs} +1 -1
  133. package/dist/{replyHelpers-D1k0wHoO.mjs → replyHelpers-BHebarf0.mjs} +2 -2
  134. package/dist/{requestContext-DGM7EZRI.mjs → requestContext-DpmntRZy.mjs} +1 -1
  135. package/dist/{rolldown-runtime-DrZrabOW.mjs → rolldown-runtime-Add2L50I.mjs} +1 -1
  136. package/dist/{runtimeCapabilities-c4Sc85X-.mjs → runtimeCapabilities-D793Pxci.mjs} +1 -1
  137. package/dist/{schedules-CVtolEa-.mjs → schedules-DthM8Qag.mjs} +3 -3
  138. package/dist/{schemaConverter-C8zbW7tJ.mjs → schemaConverter-Db-MMsH6.mjs} +1 -1
  139. package/dist/{schemaIR-BfI425RH.mjs → schemaIR-CIXShch7.mjs} +2 -2
  140. package/dist/schemas/index.mjs +1 -1
  141. package/dist/scim/index.mjs +2 -2
  142. package/dist/scope/index.mjs +5 -5
  143. package/dist/{scope-DFSOKc4T.mjs → scope-D03sk17n.mjs} +4 -4
  144. package/dist/{simpleEqualityMatcher-Bhp7WrRF.mjs → simpleEqualityMatcher-B7qVjQBv.mjs} +1 -1
  145. package/dist/{sse-vRuwDd6N.mjs → sse-D4MYqkic.mjs} +5 -5
  146. package/dist/{sseStream-cWezGOk1.mjs → sseStream-BuMNPR6r.mjs} +2 -2
  147. package/dist/{store-helpers-bU8H5c-A.mjs → store-helpers-CIF4RG8s.mjs} +1 -1
  148. package/dist/{streaming-weWcFCk4.mjs → streaming-DkpW1HwJ.mjs} +1 -1
  149. package/dist/{subscribe-helpers-BrcG3NlV.mjs → subscribe-helpers-CBZOi6pk.mjs} +2 -2
  150. package/dist/sync/changelog.mjs +1 -1
  151. package/dist/testing/cleanupStoreContract.mjs +1 -1
  152. package/dist/testing/index.d.mts +4 -4
  153. package/dist/testing/index.mjs +10 -10
  154. package/dist/testing/outboxStoreContract.mjs +1 -1
  155. package/dist/testing/storageContract.mjs +1 -1
  156. package/dist/{transactionContext-Ca5peQpc.mjs → transactionContext-DMmvcfdo.mjs} +1 -1
  157. package/dist/{typeGuards-ALWme5WB.mjs → typeGuards-DHTnEs5X.mjs} +1 -1
  158. package/dist/types/index.d.mts +1 -1
  159. package/dist/types/index.mjs +1 -1
  160. package/dist/types/storage.mjs +1 -1
  161. package/dist/{types-BMa2EPtv.d.mts → types-BRU-Kd3t.d.mts} +1 -1
  162. package/dist/{types-lDs9oF4z.mjs → types-BqLyyH0o.mjs} +4 -4
  163. package/dist/{types-BXnTOsXP.d.mts → types-LQFwC37d.d.mts} +1 -1
  164. package/dist/usage/index.mjs +0 -0
  165. package/dist/{userHelpers-DU_Z5OBA.mjs → userHelpers-CXySQFRg.mjs} +1 -1
  166. package/dist/utils/index.d.mts +2 -2
  167. package/dist/utils/index.mjs +11 -11
  168. package/dist/{utils-sXGFLegw.mjs → utils-BbGG8XNT.mjs} +1230 -1230
  169. package/dist/{validate-qK_-7MVk.mjs → validate-CidSeUrx.mjs} +2 -2
  170. package/dist/{versioning-DEs-_hFi.d.mts → versioning-B843jOYX.d.mts} +1 -1
  171. package/dist/{versioning-Dtw0MyX4.mjs → versioning-C2r0eOZ4.mjs} +3 -3
  172. package/package.json +11 -9
  173. package/skills/arc/references/auth.md +5 -2
  174. package/skills/arc/references/production.md +733 -733
  175. package/skills/arc-code-review/references/migration-recipes.md +16 -7
@@ -1,5 +1,5 @@
1
1
 
2
- import { n as DomainEvent } from "../EventTransport-BEVP50ka.mjs";
2
+ import { n as DomainEvent } from "../EventTransport-Cx60_s-6.mjs";
3
3
  import { c as WebSocketClient, l as WebSocketMessage } from "../websocket-BOXVggMf.mjs";
4
4
  import { FastifyPluginAsync, FastifyRequest } from "fastify";
5
5
  //#region src/integrations/event-gateway.d.ts
@@ -1,11 +1,11 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.38.0 | 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-vRuwDd6N.mjs").then((n) => n.r);
8
+ const { default: ssePlugin } = await import("../sse-D4MYqkic.mjs").then((n) => n.r);
9
9
  await fastify.register(ssePlugin, {
10
10
  path: opts.sse?.path ?? "/events/stream",
11
11
  requireAuth: auth,
@@ -2,7 +2,7 @@
2
2
  import { c as WebSocketClient, l as WebSocketMessage, u as WebSocketPluginOptions } from "../websocket-BOXVggMf.mjs";
3
3
  import { EventGatewayOptions } from "./event-gateway.mjs";
4
4
  import { a as JobMeta, c as JobsPluginOptions, i as JobDispatcher, l as QueueStats, n as JobDefinition, r as JobDispatchOptions } from "../index-eyg5WEcy.mjs";
5
- import { _ as ToolDefinition, c as McpAuthResult, d as McpResourceConfig, f as PromptDefinition, g as ToolContext, h as ToolAnnotations, n as CallToolResult, o as CrudOperation, r as CreateMcpServerConfig, t as BetterAuthHandler, u as McpPluginOptions } from "../types-BXnTOsXP.mjs";
5
+ import { _ as ToolDefinition, c as McpAuthResult, d as McpResourceConfig, f as PromptDefinition, g as ToolContext, h as ToolAnnotations, n as CallToolResult, o as CrudOperation, r as CreateMcpServerConfig, t as BetterAuthHandler, u as McpPluginOptions } from "../types-LQFwC37d.mjs";
6
6
  import { StreamlinePluginOptions, WorkflowLike, WorkflowRunLike } from "./streamline.mjs";
7
7
  import { WebhookDeliveryRecord, WebhookManager, WebhookPluginOptions, WebhookStore, WebhookSubscription } from "./webhooks.mjs";
8
8
  export type { BetterAuthHandler, CallToolResult, CreateMcpServerConfig, CrudOperation, EventGatewayOptions, JobDefinition, JobDispatchOptions, JobDispatcher, JobMeta, JobsPluginOptions, McpAuthResult, McpPluginOptions, McpResourceConfig, PromptDefinition, QueueStats, StreamlinePluginOptions, ToolAnnotations, ToolContext, ToolDefinition, WebSocketClient, WebSocketMessage, WebSocketPluginOptions, WebhookDeliveryRecord, WebhookManager, WebhookPluginOptions, WebhookStore, WebhookSubscription, WorkflowLike, WorkflowRunLike };
@@ -1,2 +1,2 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
2
  export {};
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
2
- import { n as evaluateAndApplyPermission } from "../../authorizationDecision-DgyWdav8.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { n as evaluateAndApplyPermission } from "../../authorizationDecision-BP8GHtjc.mjs";
3
3
  import fp from "fastify-plugin";
4
4
  //#region src/integrations/jobs/execution.ts
5
5
  async function executeTimedHandler(options) {
@@ -1,9 +1,9 @@
1
1
 
2
2
  import { i as RequestScope } from "../../types-Ddl9OjmE.mjs";
3
3
  import { l as PermissionCheck } from "../../base-C-NL2fTi.mjs";
4
- import { Fn as IControllerResponse, In as IRequestContext, V as ResourceDefinition, zn as ServerAccessor } from "../../index-C01wWGJt.mjs";
4
+ import { Fn as IControllerResponse, In as IRequestContext, V as ResourceDefinition, zn as ServerAccessor } from "../../index-B78WZom8.mjs";
5
5
  import { n as FieldPermissionMap } from "../../fields-I_EeRWND.mjs";
6
- import { _ as ToolDefinition, a as CrudDescriptionOverride, c as McpAuthResult, d as McpResourceConfig, f as PromptDefinition, g as ToolContext, h as ToolAnnotations, i as CrudDescriptionMeta, l as McpExecutionWiring, m as SessionEntry, n as CallToolResult, o as CrudOperation, p as PromptResult, r as CreateMcpServerConfig, s as McpAuthResolver, t as BetterAuthHandler, u as McpPluginOptions } from "../../types-BXnTOsXP.mjs";
6
+ import { _ as ToolDefinition, a as CrudDescriptionOverride, c as McpAuthResult, d as McpResourceConfig, f as PromptDefinition, g as ToolContext, h as ToolAnnotations, i as CrudDescriptionMeta, l as McpExecutionWiring, m as SessionEntry, n as CallToolResult, o as CrudOperation, p as PromptResult, r as CreateMcpServerConfig, s as McpAuthResolver, t as BetterAuthHandler, u as McpPluginOptions } from "../../types-LQFwC37d.mjs";
7
7
  import { ErrorContract } from "@classytic/repo-core/errors";
8
8
  import { FastifyPluginAsync } from "fastify";
9
9
  import { z } from "zod";
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.37.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-dxMxBPIg.mjs";
1
+ /*! @classytic/arc v2.38.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-KWsezMx7.mjs";
3
3
  //#region src/integrations/mcp/defineTool.ts
4
4
  /**
5
5
  * Define a type-safe MCP tool.
@@ -1,5 +1,5 @@
1
1
 
2
- import { c as McpAuthResult, u as McpPluginOptions } from "../../types-BXnTOsXP.mjs";
2
+ import { c as McpAuthResult, u as McpPluginOptions } from "../../types-LQFwC37d.mjs";
3
3
  //#region src/integrations/mcp/testing.d.ts
4
4
  interface TestMcpClientOptions {
5
5
  /** MCP plugin options (resources, overrides, etc.) — same as mcpPlugin config */
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
2
- import { m as createMcpServer, r as resourceToTools, t as filterResourcesForMcp } from "../../mcpPlugin-dxMxBPIg.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { m as createMcpServer, r as resourceToTools, t as filterResourcesForMcp } from "../../mcpPlugin-KWsezMx7.mjs";
3
3
  //#region src/integrations/mcp/testing.ts
4
4
  /**
5
5
  * @classytic/arc/mcp/testing — MCP Test Utilities
@@ -1,6 +1,6 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
2
- import { f as createError, i as NotFoundError, r as ForbiddenError } from "../errors-DsdZc1Xv.mjs";
3
- import { a as promoteStreamTokenToHeader, n as forwardedStreamHeaders } from "../streaming-weWcFCk4.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { f as createError, i as NotFoundError, r as ForbiddenError } from "../errors-2ExmOgIJ.mjs";
3
+ import { a as promoteStreamTokenToHeader, n as forwardedStreamHeaders } from "../streaming-DkpW1HwJ.mjs";
4
4
  import fp from "fastify-plugin";
5
5
  //#region src/integrations/streamline.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { a as EventTransport, n as DomainEvent } from "../EventTransport-BEVP50ka.mjs";
3
- import { n as OutboxModuleOptions, r as createOutboxModule } from "../outbox-module-BbdaMyqy.mjs";
2
+ import { a as EventTransport, n as DomainEvent } from "../EventTransport-Cx60_s-6.mjs";
3
+ import { n as OutboxModuleOptions, r as createOutboxModule } from "../outbox-module-CQXu_O6o.mjs";
4
4
  import { FastifyPluginAsync } from "fastify";
5
5
  import { OutboxFailurePolicy, OutboxStore } from "@classytic/primitives/outbox";
6
6
  //#region src/integrations/webhooks.d.ts
@@ -1,6 +1,6 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
2
- import { n as declareRuntimeCapability } from "../runtimeCapabilities-c4Sc85X-.mjs";
3
- import { i as exponentialBackoff, t as createOutboxModule } from "../outbox-module-CKaLL5BH.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { n as declareRuntimeCapability } from "../runtimeCapabilities-D793Pxci.mjs";
3
+ import { i as exponentialBackoff, t as createOutboxModule } from "../outbox-module-DyIqA5vo.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.37.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.38.0 | 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.37.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.38.0 | 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,4 +1,4 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
2
  import { randomUUID } from "node:crypto";
3
3
  import sjson from "secure-json-parse";
4
4
  import fp from "fastify-plugin";
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.38.0 | 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.37.0 | MIT | https://classytic.com */
2
- import { t as ArcError } from "./errors-DsdZc1Xv.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { t as ArcError } from "./errors-2ExmOgIJ.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.37.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.38.0 | 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.37.0 | MIT | https://classytic.com */
2
- import { t as __exportAll } from "./rolldown-runtime-DrZrabOW.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { t as __exportAll } from "./rolldown-runtime-Add2L50I.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.37.0 | MIT | https://classytic.com */
2
- import { t as ResourceRegistry } from "./ResourceRegistry-DFOmazXg.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { t as ResourceRegistry } from "./ResourceRegistry-DPcX--zk.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.37.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.38.0 | 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.37.0 | MIT | https://classytic.com */
2
- import { r as evaluatePermissionDecision } from "./authorizationDecision-DgyWdav8.mjs";
3
- import { p as isArcError, t as ArcError } from "./errors-DsdZc1Xv.mjs";
4
- import { n as requireSingleHeaderValue } from "./headers-BFu1st_i.mjs";
5
- import { b as isElevated, c as getOrgId, g as getUserId, x as isMember } from "./types-lDs9oF4z.mjs";
6
- import { t as BaseController } from "./BaseController-B5GZfUBy.mjs";
7
- import { i as resolveEffectiveRoles, t as applyFieldReadPermissions } from "./fields-DvGz47Ul.mjs";
8
- import { t as executePipeline } from "./pipe-Dbs3GhOZ.mjs";
9
- import { t as buildRequestScopeProjection } from "./projection-BunxoeON.mjs";
10
- import { i as resolvePipelineSteps, t as resolveActionPermission } from "./actionPermissions-CQQrR4tu.mjs";
11
- import { n as validateAggregations } from "./validate-qK_-7MVk.mjs";
12
- import { n as executeAggregation } from "./buildHandler-D2DkqtiY.mjs";
13
- import { t as pluralize } from "./pluralize-DgaYX91M.mjs";
14
- import { t as createIdempotencyResult } from "./interface-CaPVHoVJ.mjs";
15
- import { r as shouldRejectAdditionalProperties, t as normalizeSchemaIR } from "./schemaIR-BfI425RH.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { r as evaluatePermissionDecision } from "./authorizationDecision-BP8GHtjc.mjs";
3
+ import { p as isArcError, t as ArcError } from "./errors-2ExmOgIJ.mjs";
4
+ import { n as requireSingleHeaderValue } from "./headers-DeXNifVj.mjs";
5
+ import { b as isElevated, c as getOrgId, g as getUserId, x as isMember } from "./types-BqLyyH0o.mjs";
6
+ import { t as BaseController } from "./BaseController-CYaDvmOB.mjs";
7
+ import { a as resolveEffectiveRoles, t as applyFieldReadPermissions } from "./fields-Cha2QCKH.mjs";
8
+ import { t as buildRequestScopeProjection } from "./projection-DSfEoooA.mjs";
9
+ import { i as resolvePipelineSteps, t as resolveActionPermission } from "./actionPermissions-jlFZ1it4.mjs";
10
+ import { t as executePipeline } from "./pipe-SunhEaZ6.mjs";
11
+ import { t as pluralize } from "./pluralize-Da7IT_qJ.mjs";
12
+ import { t as createIdempotencyResult } from "./interface-DYPVscCU.mjs";
13
+ import { r as shouldRejectAdditionalProperties, t as normalizeSchemaIR } from "./schemaIR-CIXShch7.mjs";
14
+ import { n as validateAggregations } from "./validate-CidSeUrx.mjs";
15
+ import { n as executeAggregation } from "./buildHandler-DjXOqIvX.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.37.0 | MIT | https://classytic.com */
2
- import { t as __exportAll } from "./rolldown-runtime-DrZrabOW.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { t as __exportAll } from "./rolldown-runtime-Add2L50I.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.37.0 | MIT | https://classytic.com */
2
- import { t as __exportAll } from "./rolldown-runtime-DrZrabOW.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { t as __exportAll } from "./rolldown-runtime-Add2L50I.mjs";
3
3
  import fp from "fastify-plugin";
4
4
  //#region src/plugins/metrics.ts
5
5
  var metrics_exports = /* @__PURE__ */ __exportAll({
@@ -1,5 +1,5 @@
1
1
 
2
- import { I as MiddlewareHandler, L as RequestWithExtras, Q as MiddlewareConfig } from "../index-C01wWGJt.mjs";
2
+ import { I as MiddlewareHandler, L as RequestWithExtras, Q as MiddlewareConfig } from "../index-B78WZom8.mjs";
3
3
  import { RouteHandlerMethod } from "fastify";
4
4
  //#region src/middleware/middleware.d.ts
5
5
  interface NamedMiddleware {
@@ -1,6 +1,6 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
2
- import { t as CRUD_OPERATIONS } from "../constants-CUpamQMJ.mjs";
3
- import { t as multipartBody } from "../multipartBody-BVCoaTwu.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { t as CRUD_OPERATIONS } from "../constants-BONghE1Y.mjs";
3
+ import { t as multipartBody } from "../multipartBody-u6VrS_iH.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.37.0 | MIT | https://classytic.com */
2
- import { t as startRenewingLease } from "../renewingLease-C5Ta_ImD.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { t as startRenewingLease } from "../renewingLease-DuRGVOMe.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.37.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.38.0 | 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.37.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.38.0 | 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.37.0 | MIT | https://classytic.com */
2
- import { n as getUserRoles } from "./userHelpers-DU_Z5OBA.mjs";
3
- import { n as convertRouteSchema } from "./schemaConverter-C8zbW7tJ.mjs";
4
- import { t as resolveActionPermission } from "./actionPermissions-CQQrR4tu.mjs";
5
- import { t as pluralize } from "./pluralize-DgaYX91M.mjs";
6
- import { t as buildActionBodySchema } from "./createActionRouter-CwDU_j2S.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { n as getUserRoles } from "./userHelpers-CXySQFRg.mjs";
3
+ import { n as convertRouteSchema } from "./schemaConverter-Db-MMsH6.mjs";
4
+ import { t as resolveActionPermission } from "./actionPermissions-jlFZ1it4.mjs";
5
+ import { t as pluralize } from "./pluralize-Da7IT_qJ.mjs";
6
+ import { t as buildActionBodySchema } from "./createActionRouter-Bqi6Bhhx.mjs";
7
7
  import fp from "fastify-plugin";
8
8
  //#region src/docs/openapi/canonical-schemas.ts
9
9
  /**
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { l as PermissionCheck } from "../base-C-NL2fTi.mjs";
3
- import { t as ArcModule } from "../types-BMa2EPtv.mjs";
3
+ import { t as ArcModule } from "../types-BRU-Kd3t.mjs";
4
4
  import { OutboxStore } from "@classytic/primitives/outbox";
5
5
  //#region src/outbox-admin/module.d.ts
6
6
  /**
@@ -1,7 +1,7 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
2
- import { i as NotFoundError, u as ValidationError } from "../errors-DsdZc1Xv.mjs";
3
- import { t as defineResource } from "../defineResource-WcbE1kJL.mjs";
4
- import { n as getModuleExports, t as defineModule } from "../module-DIvG8qOg.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { i as NotFoundError, u as ValidationError } from "../errors-2ExmOgIJ.mjs";
3
+ import { t as defineResource } from "../defineResource-BMdyRelW.mjs";
4
+ import { n as getModuleExports, t as defineModule } from "../module-BQXHxMEk.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,6 +1,6 @@
1
1
 
2
- import { a as EventTransport, n as DomainEvent, t as DeadLetteredEvent } from "./EventTransport-BEVP50ka.mjs";
3
- import { t as ArcModule } from "./types-BMa2EPtv.mjs";
2
+ import { a as EventTransport, n as DomainEvent, t as DeadLetteredEvent } from "./EventTransport-Cx60_s-6.mjs";
3
+ import { t as ArcModule } from "./types-BRU-Kd3t.mjs";
4
4
  import { FastifyInstance } from "fastify";
5
5
  import { MemoryOutboxStore } from "@classytic/primitives/memory-outbox";
6
6
  import { OutboxFailurePolicy, OutboxStore, OutboxWriteOptions } from "@classytic/primitives/outbox";
@@ -1,7 +1,7 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
2
- import { t as transactionContext } from "./transactionContext-Ca5peQpc.mjs";
3
- import { i as resolveEventTransport } from "./EventTransport-pGNNDQ__.mjs";
4
- import { n as createSafeGetOne, t as createIsDuplicateKeyError } from "./store-helpers-bU8H5c-A.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { t as transactionContext } from "./transactionContext-DMmvcfdo.mjs";
3
+ import { i as resolveEventTransport } from "./EventTransport-Gq7JWbWw.mjs";
4
+ import { n as createSafeGetOne, t as createIsDuplicateKeyError } from "./store-helpers-CIF4RG8s.mjs";
5
5
  import { and, anyOf, eq, lte, ne, or } from "@classytic/repo-core/filter";
6
6
  import { randomBytes } from "node:crypto";
7
7
  import { InvalidOutboxEventError, OutboxOwnershipError } from "@classytic/primitives/outbox";
@@ -1,6 +1,6 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
2
- import { a as conjoinPolicyFilters, i as normalizeToDecision, r as evaluatePermissionDecision, t as applyAuthorizationDecision } from "../authorizationDecision-DgyWdav8.mjs";
3
- import { n as getUserRoles, r as normalizeRoles } from "../userHelpers-DU_Z5OBA.mjs";
4
- import { i as resolveEffectiveRoles, n as applyFieldWritePermissions, r as fields, t as applyFieldReadPermissions } from "../fields-DvGz47Ul.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-DWkl60hx.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { a as conjoinPolicyFilters, i as normalizeToDecision, r as evaluatePermissionDecision, t as applyAuthorizationDecision } from "../authorizationDecision-BP8GHtjc.mjs";
3
+ import { n as getUserRoles, r as normalizeRoles } from "../userHelpers-CXySQFRg.mjs";
4
+ import { a as resolveEffectiveRoles, i as fields, n as applyFieldWritePermissions, t as applyFieldReadPermissions } from "../fields-Cha2QCKH.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-H7Zcb82Z.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,10 +1,10 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
2
- import { t as __exportAll } from "./rolldown-runtime-DrZrabOW.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { t as __exportAll } from "./rolldown-runtime-Add2L50I.mjs";
3
3
  import { arcLog } from "./logger/index.mjs";
4
- import { a as conjoinPolicyFilters, i as normalizeToDecision } from "./authorizationDecision-DgyWdav8.mjs";
5
- import { n as getUserRoles } from "./userHelpers-DU_Z5OBA.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-lDs9oF4z.mjs";
7
- import { t as MemoryCacheStore } from "./memory-BnafVem_.mjs";
4
+ import { a as conjoinPolicyFilters, i as normalizeToDecision } from "./authorizationDecision-BP8GHtjc.mjs";
5
+ import { n as getUserRoles } from "./userHelpers-CXySQFRg.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-BqLyyH0o.mjs";
7
+ import { t as MemoryCacheStore } from "./memory-BiPVaCPg.mjs";
8
8
  import { randomUUID } from "node:crypto";
9
9
  //#region src/permissions/context.ts
10
10
  /**
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
2
- import { r as ForbiddenError } from "./errors-DsdZc1Xv.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { r as ForbiddenError } from "./errors-2ExmOgIJ.mjs";
3
3
  //#region src/pipeline/pipe.ts
4
4
  /**
5
5
  * Compose pipeline steps into an ordered array.
@@ -1,5 +1,5 @@
1
1
 
2
- import { Ct as PipelineStep, Fn as IControllerResponse, St as PipelineContext, _t as Guard, bt as OperationFilter, vt as Interceptor, wt as Transform, xt as PipelineConfig, yt as NextFunction } from "../index-C01wWGJt.mjs";
2
+ import { Ct as PipelineStep, Fn as IControllerResponse, St as PipelineContext, _t as Guard, bt as OperationFilter, vt as Interceptor, wt as Transform, xt as PipelineConfig, yt as NextFunction } from "../index-B78WZom8.mjs";
3
3
  //#region src/pipeline/guard.d.ts
4
4
  interface GuardOptions {
5
5
  operations?: OperationFilter;
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
2
- import { n as pipe, t as executePipeline } from "../pipe-Dbs3GhOZ.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { n as pipe, t as executePipeline } from "../pipe-SunhEaZ6.mjs";
3
3
  //#region src/pipeline/guard.ts
4
4
  /**
5
5
  * Create a named guard.
@@ -1,10 +1,10 @@
1
1
 
2
2
  import { t as AnyRecord } from "../base-C-NL2fTi.mjs";
3
- import { At as RouteDefinition, J as PresetHook, Q as MiddlewareConfig, et as RouteSchemaOptions } from "../index-C01wWGJt.mjs";
3
+ import { At as RouteDefinition, J as PresetHook, Q as MiddlewareConfig, et as RouteSchemaOptions } from "../index-B78WZom8.mjs";
4
4
  import { i as errorHandlerPlugin, n as ErrorMapper, r as defaultIsDuplicateKeyError, t as ErrorHandlerOptions } from "../errorHandler-DI5AN2b5.mjs";
5
- import { _ as HealthCheck, b as healthPlugin, f as ScheduleDefinition, g as schedulesPlugin, h as _default$8, m as SchedulesPluginOptions, p as ScheduleStats, v as HealthOptions, y as _default$3 } from "../types-BMa2EPtv.mjs";
6
- import { a as arcCorePlugin, i as _default, n as ArcCorePluginOptions, r as PluginMeta, t as ArcCore } from "../fastify-augmentation-CdY8FINU.mjs";
7
- import { _ as CachingRule, a as MetricsCollector, c as metricsPlugin, d as _default$6, f as realtimePlugin, g as CachingOptions, h as ssePlugin, i as MetricEntry, l as ChangeOperation, m as _default$9, n as _default$10, o as MetricsOptions, p as SSEOptions, r as versioningPlugin, s as _default$4, t as VersioningOptions, u as RealtimeOptions, v as _default$1, y as cachingPlugin } from "../versioning-DEs-_hFi.mjs";
5
+ import { _ as HealthCheck, b as healthPlugin, f as ScheduleDefinition, g as schedulesPlugin, h as _default$8, m as SchedulesPluginOptions, p as ScheduleStats, v as HealthOptions, y as _default$3 } from "../types-BRU-Kd3t.mjs";
6
+ import { a as arcCorePlugin, i as _default, n as ArcCorePluginOptions, r as PluginMeta, t as ArcCore } from "../fastify-augmentation-jYA2oHyL.mjs";
7
+ import { _ as CachingRule, a as MetricsCollector, c as metricsPlugin, d as _default$6, f as realtimePlugin, g as CachingOptions, h as ssePlugin, i as MetricEntry, l as ChangeOperation, m as _default$9, n as _default$10, o as MetricsOptions, p as SSEOptions, r as versioningPlugin, s as _default$4, t as VersioningOptions, u as RealtimeOptions, v as _default$1, y as cachingPlugin } from "../versioning-B843jOYX.mjs";
8
8
  import { t as TracingOptions } from "../tracing-Dro5eH6j.mjs";
9
9
  import { PaginatedResult } from "@classytic/repo-core/pagination";
10
10
  import { FastifyInstance, FastifyPluginAsync } from "fastify";
@@ -1,20 +1,20 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
2
- import { p as MUTATION_OPERATIONS } from "../constants-CUpamQMJ.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { p as MUTATION_OPERATIONS } from "../constants-BONghE1Y.mjs";
3
3
  import { arcLog } from "../logger/index.mjs";
4
- import { c as getOrgId } from "../types-lDs9oF4z.mjs";
5
- import { n as requestContext } from "../requestContext-DGM7EZRI.mjs";
6
- import { t as hasEvents } from "../typeGuards-ALWme5WB.mjs";
7
- import { t as HookSystem } from "../HookSystem-CuhHvcyZ.mjs";
8
- import { t as ResourceRegistry } from "../ResourceRegistry-DFOmazXg.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-Cc_sb94d.mjs";
10
- import { n as caching_default, t as cachingPlugin } from "../caching-BmC2T-pX.mjs";
11
- import { n as errorHandlerPlugin, t as defaultIsDuplicateKeyError } from "../errorHandler-CB75oY5i.mjs";
12
- import { n as metrics_default, t as metricsPlugin } from "../metrics-CeAIcVMY.mjs";
13
- import { n as realtime_default, t as realtimePlugin } from "../realtime-CiAp2-LH.mjs";
14
- import { t as replyHelpersPlugin } from "../replyHelpers-D1k0wHoO.mjs";
15
- import { n as schedules_default, t as schedulesPlugin } from "../schedules-CVtolEa-.mjs";
16
- import { n as sse_default, t as ssePlugin } from "../sse-vRuwDd6N.mjs";
17
- import { n as versioning_default, t as versioningPlugin } from "../versioning-Dtw0MyX4.mjs";
4
+ import { c as getOrgId } from "../types-BqLyyH0o.mjs";
5
+ import { n as requestContext } from "../requestContext-DpmntRZy.mjs";
6
+ import { t as hasEvents } from "../typeGuards-DHTnEs5X.mjs";
7
+ import { t as HookSystem } from "../HookSystem-C0ikzqQf.mjs";
8
+ import { t as ResourceRegistry } from "../ResourceRegistry-DPcX--zk.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-Bh0N_FLk.mjs";
10
+ import { n as caching_default, t as cachingPlugin } from "../caching-a3ZEcJJs.mjs";
11
+ import { n as errorHandlerPlugin, t as defaultIsDuplicateKeyError } from "../errorHandler-BdmIWPba.mjs";
12
+ import { n as metrics_default, t as metricsPlugin } from "../metrics-CsWaIVTa.mjs";
13
+ import { n as realtime_default, t as realtimePlugin } from "../realtime-CPmjjgqd.mjs";
14
+ import { t as replyHelpersPlugin } from "../replyHelpers-BHebarf0.mjs";
15
+ import { n as schedules_default, t as schedulesPlugin } from "../schedules-DthM8Qag.mjs";
16
+ import { n as sse_default, t as ssePlugin } from "../sse-D4MYqkic.mjs";
17
+ import { n as versioning_default, t as versioningPlugin } from "../versioning-C2r0eOZ4.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,5 +1,5 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
2
- import { t as hasEvents } from "../typeGuards-ALWme5WB.mjs";
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
+ import { t as hasEvents } from "../typeGuards-DHTnEs5X.mjs";
3
3
  import fp from "fastify-plugin";
4
4
  //#region src/plugins/response-cache.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.37.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.38.0 | 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.37.0";
62
+ const resolvedVersion = serviceVersion ?? "2.38.0";
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.37.0 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.38.0 | MIT | https://classytic.com */
2
2
  //#region src/utils/pluralize.ts
3
3
  /**
4
4
  * Lightweight English pluralization for the Arc CLI.
@@ -1,15 +1,15 @@
1
1
 
2
- import { It as Authenticator } from "./index-C01wWGJt.mjs";
2
+ import { It as Authenticator } from "./index-B78WZom8.mjs";
3
3
  import { r as CacheStore } from "./interface-BOk3YnTz.mjs";
4
4
  import { n as ElevationOptions } from "./elevation-BXCfVcNG.mjs";
5
- import { a as EventTransport } from "./EventTransport-BEVP50ka.mjs";
5
+ import { a as EventTransport } from "./EventTransport-Cx60_s-6.mjs";
6
6
  import { t as ExternalOpenApiPaths } from "./externalPaths-CmGOxOtD.mjs";
7
7
  import { r as QueryCachePluginOptions } from "./queryCachePlugin-BzqxconG.mjs";
8
8
  import { t as ErrorHandlerOptions } from "./errorHandler-DI5AN2b5.mjs";
9
- import { l as ResourceLike, m as SchedulesPluginOptions, n as ArcModuleInput, v as HealthOptions } from "./types-BMa2EPtv.mjs";
10
- import "./index-DCxxRwLC.mjs";
11
- import { t as EventPluginOptions } from "./eventPlugin-B47sfCJ8.mjs";
12
- import { g as CachingOptions, o as MetricsOptions, p as SSEOptions, t as VersioningOptions, u as RealtimeOptions } from "./versioning-DEs-_hFi.mjs";
9
+ import { l as ResourceLike, m as SchedulesPluginOptions, n as ArcModuleInput, v as HealthOptions } from "./types-BRU-Kd3t.mjs";
10
+ import "./index-D2uIUSQk.mjs";
11
+ import { t as EventPluginOptions } from "./eventPlugin-DFvHa4Nf.mjs";
12
+ import { g as CachingOptions, o as MetricsOptions, p as SSEOptions, t as VersioningOptions, u as RealtimeOptions } from "./versioning-B843jOYX.mjs";
13
13
  import { r as IdempotencyStore } from "./interface-DEWNOMza.mjs";
14
14
  import { FastifyInstance, FastifyPluginAsync, FastifyReply, FastifyRequest, FastifyServerOptions } from "fastify";
15
15
  //#region src/factory/types/assets.d.ts