@classytic/arc 2.45.2 → 2.47.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.
- package/README.md +1 -1
- package/dist/{EventTransport-DHb1tpu-.mjs → EventTransport-BHKy4_Bi.mjs} +5 -6
- package/dist/{EventTransport-CiicKz2Z.d.mts → EventTransport-CYEoCJGe.d.mts} +0 -2
- package/dist/{HookSystem-C1u0EUnt.mjs → HookSystem-CAIDVoKC.mjs} +3 -4
- package/dist/{QueryCache--5uAuYPW.d.mts → QueryCache-DdvrGG8Q.d.mts} +1 -3
- package/dist/{ResourceRegistry-D2jXWVN_.mjs → ResourceRegistry-23Ml6FNe.mjs} +15 -4
- package/dist/{acquire-DTkA8Lme.mjs → acquire-DoFX06fm.mjs} +2 -3
- package/dist/{actionPermissions-DRVk6m7x.mjs → actionPermissions-DXrlWHHK.mjs} +37 -42
- package/dist/audit/index.d.mts +2 -10
- package/dist/audit/index.mjs +8 -12
- package/dist/auth/audit.d.mts +0 -2
- package/dist/auth/audit.mjs +2 -3
- package/dist/auth/index.d.mts +9 -17
- package/dist/auth/index.mjs +26 -29
- package/dist/auth/redis-session.d.mts +2 -4
- package/dist/auth/redis-session.mjs +2 -3
- package/dist/{authorizationDecision-D48fUJv1.mjs → authorizationDecision-DYiubkYw.mjs} +5 -6
- package/dist/{base-CZyixEQR.d.mts → base-HXNgPQww.d.mts} +1 -7
- package/dist/{boundedMap-DkKiPifd.mjs → boundedMap-CtdzpJ3X.mjs} +2 -3
- package/dist/{buildHandler-BiZ4VATS.mjs → buildHandler-CARdmPNo.mjs} +5 -6
- package/dist/cache/index.d.mts +4 -10
- package/dist/cache/index.mjs +5 -6
- package/dist/{caching-Cj0as-P1.mjs → caching-QRiryDLs.mjs} +3 -4
- package/dist/{claimed-ChI13rUR.mjs → claimed-BLecr1j3.mjs} +2 -3
- package/dist/cleanup/index.d.mts +4 -18
- package/dist/cleanup/index.mjs +12 -20
- package/dist/cli/commands/describe.d.mts +1 -3
- package/dist/cli/commands/describe.mjs +4 -5
- package/dist/cli/commands/docs.d.mts +1 -3
- package/dist/cli/commands/docs.mjs +4 -5
- package/dist/cli/commands/doctor.d.mts +1 -3
- package/dist/cli/commands/doctor.mjs +2 -3
- package/dist/cli/commands/generate.d.mts +1 -1
- package/dist/cli/commands/generate.mjs +2 -2
- package/dist/cli/commands/init.d.mts +1 -1
- package/dist/cli/commands/init.mjs +2 -2
- package/dist/cli/commands/introspect.d.mts +1 -3
- package/dist/cli/commands/introspect.mjs +3 -4
- package/dist/cli/index.d.mts +2 -2
- package/dist/cli/index.mjs +3 -3
- package/dist/{constants-D_aiew34.mjs → constants-Cx7BcnHT.mjs} +2 -3
- package/dist/context/index.d.mts +0 -8
- package/dist/context/index.mjs +6 -7
- package/dist/core/index.d.mts +3 -3
- package/dist/core/index.mjs +8 -8
- package/dist/{core-QIZ2560Y.mjs → core-0WyMuo0f.mjs} +9 -12
- package/dist/{createActionRouter-CvH84dyx.mjs → createActionRouter-mLAGbpDV.mjs} +7 -8
- package/dist/{createAggregationRouter-DGyK2Hp6.mjs → createAggregationRouter-BEAjn3dA.mjs} +9 -10
- package/dist/{createApp-CKjZpmq9.mjs → createApp-QDP4vYWH.mjs} +49 -62
- package/dist/{createMcpServer-DSztofa9.d.mts → createMcpServer-DzXHX0SO.d.mts} +1 -3
- package/dist/{defineAggregation-BLza7Ca4.mjs → defineAggregation-CFNfvz-C.mjs} +2 -3
- package/dist/{defineResource-CEo0gDCb.mjs → defineResource-BROJmhzJ.mjs} +80 -29
- package/dist/discovery/index.d.mts +1 -3
- package/dist/discovery/index.mjs +2 -3
- package/dist/docs/index.d.mts +8 -8
- package/dist/docs/index.mjs +4 -5
- package/dist/{elevation-BW2J3tNj.d.mts → elevation-DPD0hcU-.d.mts} +0 -2
- package/dist/{elevation-BJTsSnke.mjs → elevation-DrXeEWWk.mjs} +9 -10
- package/dist/encryption/index.d.mts +1 -7
- package/dist/encryption/index.mjs +8 -13
- package/dist/{errorHandler--4rSMMvq.d.mts → errorHandler-B9r88jZV.d.mts} +8 -3
- package/dist/{errorHandler-2p4SL5zm.mjs → errorHandler-BiBXtxj4.mjs} +16 -6
- package/dist/{errors-JYc9vwqE.d.mts → errors-DTo0me1o.d.mts} +0 -2
- package/dist/{errors-grZkIA8N.mjs → errors-DnrUChAy.mjs} +2 -3
- package/dist/{eventPlugin-BtmA4-3P.d.mts → eventPlugin-BY38F6yK.d.mts} +1 -7
- package/dist/{eventPlugin-ItcYBGUs.mjs → eventPlugin-BhKLUe7H.mjs} +10 -12
- package/dist/{eventTypes-Ck6fD3ne.mjs → eventTypes-CCIRGakw.mjs} +5 -8
- package/dist/events/index.d.mts +5 -17
- package/dist/events/index.mjs +9 -9
- package/dist/events/transports/redis-stream-entry.d.mts +1 -1
- package/dist/events/transports/redis-stream-entry.mjs +5 -6
- package/dist/events/transports/redis.d.mts +2 -4
- package/dist/events/transports/redis.mjs +3 -4
- package/dist/{externalPaths-CmGOxOtD.d.mts → externalPaths-BOqdq5wr.d.mts} +0 -2
- package/dist/factory/index.d.mts +4 -14
- package/dist/factory/index.mjs +12 -18
- package/dist/{fastify-augmentation-DRlCIWE9.d.mts → fastify-augmentation-bzkWPt1f.d.mts} +4 -10
- package/dist/{fields-BRX0Krcj.mjs → fields-CYdpcV73.mjs} +2 -3
- package/dist/{fields-BBSpf8pS.d.mts → fields-JTkrtO-r.d.mts} +0 -2
- package/dist/{filter-merge-CDc7YMwX.mjs → filter-merge-6kasezRH.mjs} +2 -3
- package/dist/{generate-DCGuEbqI.d.mts → generate-C-g_KOkV.d.mts} +0 -4
- package/dist/{generate-hvg7V2g1.mjs → generate-DUkcbc4r.mjs} +7 -12
- package/dist/{headers-Cqkg4LzI.mjs → headers-KxhrKevA.mjs} +3 -4
- package/dist/{health-PVt0VjOx.mjs → health-CRJg3IIq.mjs} +2 -3
- package/dist/{health-DyeP3mTW.mjs → health-jkYNdobJ.mjs} +4 -7
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/http-cache/index.d.mts +211 -0
- package/dist/http-cache/index.mjs +605 -0
- package/dist/http-cache/purgers/cloudflare.d.mts +13 -0
- package/dist/http-cache/purgers/cloudflare.mjs +46 -0
- package/dist/http-cache/purgers/fastly.d.mts +12 -0
- package/dist/http-cache/purgers/fastly.mjs +47 -0
- package/dist/http-cache/testing/index.d.mts +68 -0
- package/dist/http-cache/testing/index.mjs +168 -0
- package/dist/idempotency/index.d.mts +3 -9
- package/dist/idempotency/index.mjs +11 -14
- package/dist/idempotency/redis.d.mts +1 -1
- package/dist/idempotency/redis.mjs +3 -4
- package/dist/{index-Bxriq3so.d.mts → index-B5i9-vuP.d.mts} +4 -26
- package/dist/{index-Chgz3d0i.d.mts → index-BAXDo5eE.d.mts} +1 -7
- package/dist/{index-Beg3aNnK.d.mts → index-BxZS-8So.d.mts} +67 -25
- package/dist/{index-WH7xgvxS.d.mts → index-Cy2-QffW.d.mts} +40 -92
- package/dist/{index-uhkUA5-U.d.mts → index-D1X_C_qz.d.mts} +13 -23
- package/dist/{index-CUJvoyw3.d.mts → index-DFCCQ9AE.d.mts} +2 -24
- package/dist/index.d.mts +7 -9
- package/dist/index.mjs +12 -13
- package/dist/{init-jC3rMPzb.mjs → init-CACwpktI.mjs} +18 -35
- package/dist/{init-Cscs4lab.d.mts → init-CV2_Fw3H.d.mts} +0 -4
- package/dist/integrations/event-gateway.d.mts +3 -5
- package/dist/integrations/event-gateway.mjs +3 -4
- package/dist/integrations/index.d.mts +3 -3
- package/dist/integrations/index.mjs +1 -1
- package/dist/integrations/jobs/index.d.mts +1 -1
- package/dist/integrations/jobs/index.mjs +7 -11
- package/dist/integrations/mcp/index.d.mts +7 -39
- package/dist/integrations/mcp/index.mjs +8 -14
- package/dist/integrations/mcp/testing.d.mts +3 -5
- package/dist/integrations/mcp/testing.mjs +3 -4
- package/dist/integrations/streamline.d.mts +1 -3
- package/dist/integrations/streamline.mjs +4 -5
- package/dist/integrations/webhooks.d.mts +2 -4
- package/dist/integrations/webhooks.mjs +5 -5
- package/dist/integrations/websocket-pushref-redis.d.mts +2 -4
- package/dist/integrations/websocket-pushref-redis.mjs +2 -3
- package/dist/integrations/websocket-redis.d.mts +2 -4
- package/dist/integrations/websocket-redis.mjs +2 -3
- package/dist/integrations/websocket.d.mts +2 -2
- package/dist/integrations/websocket.mjs +13 -24
- package/dist/{interface-JJzwH4Ro.d.mts → interface-BmExzQRD.d.mts} +0 -2
- package/dist/{interface-BOk3YnTz.d.mts → interface-WR1U0K7t.d.mts} +0 -2
- package/dist/{jsonBody-ptwyzZQ-.mjs → jsonBody-CzDBkCme.mjs} +3 -4
- package/dist/{keys-C1vFuSbv.mjs → keys-Cbwf6r1B.mjs} +2 -3
- package/dist/{loadResources-CHPDyIPn.mjs → loadResources-Kr6vuljv.mjs} +4 -5
- package/dist/{loadResourcesFromEntry-BkHHTu_B.mjs → loadResourcesFromEntry-D2e0qoDR.mjs} +3 -4
- package/dist/logger/index.d.mts +1 -3
- package/dist/logger/index.mjs +2 -2
- package/dist/{logger-C5bvCiAK.mjs → logger-C110X5Yz.mjs} +3 -5
- package/dist/{mcpPlugin-C9qohJCF.mjs → mcpPlugin-4lIPr9OJ.mjs} +41 -60
- package/dist/{memory-CxiTwT0j.mjs → memory-D9qkhXiB.mjs} +4 -5
- package/dist/{metrics-Ckp2zRy-.mjs → metrics-B-qrrWfI.mjs} +4 -5
- package/dist/middleware/index.d.mts +1 -5
- package/dist/middleware/index.mjs +4 -5
- package/dist/migrations/index.d.mts +0 -2
- package/dist/migrations/index.mjs +3 -4
- package/dist/{module-CfnKuIuH.mjs → module-BD8xHgrz.mjs} +2 -3
- package/dist/{multiTenant-CAtYlW6H.d.mts → multiTenant-KZj8j1uJ.d.mts} +1 -5
- package/dist/{multipartBody-BFasGtP9.mjs → multipartBody-qU7KCn1l.mjs} +2 -3
- package/dist/observeSend-BnPtTotW.mjs +20 -0
- package/dist/{openapi-DAPxjYHX.mjs → openapi-DoVa5SVP.mjs} +18 -28
- package/dist/outbox-admin/index.d.mts +2 -4
- package/dist/outbox-admin/index.mjs +6 -7
- package/dist/{outbox-module-gZCHoE4H.d.mts → outbox-module-5Mnwcycy.d.mts} +3 -9
- package/dist/outbox-module-DyITEIop.mjs +297 -0
- package/dist/permissions/index.d.mts +4 -4
- package/dist/permissions/index.mjs +7 -7
- package/dist/{permissions-B14c3OMp.mjs → permissions-BBy4bOGi.mjs} +19 -29
- package/dist/{pipe-CQv7PsAK.mjs → pipe-BOm2o4UA.mjs} +3 -4
- package/dist/pipeline/index.d.mts +1 -9
- package/dist/pipeline/index.mjs +5 -8
- package/dist/{plan-CpnTykjb.mjs → plan-DDIGwuxr.mjs} +5 -9
- package/dist/{plugin-DXTjVg_Q.mjs → plugin-Bn4D_0XK.mjs} +156 -64
- package/dist/plugins/index.d.mts +8 -16
- package/dist/plugins/index.mjs +22 -26
- package/dist/plugins/response-cache.d.mts +2 -4
- package/dist/plugins/response-cache.mjs +10 -10
- package/dist/plugins/tracing-entry.d.mts +1 -1
- package/dist/plugins/tracing-entry.mjs +3 -4
- package/dist/{pluralize-C3VJKRGp.mjs → pluralize-ClEjcKlG.mjs} +2 -3
- package/dist/policy.types-DPqToKG1.d.mts +50 -0
- package/dist/presets/filesUpload.d.mts +4 -6
- package/dist/presets/filesUpload.mjs +6 -7
- package/dist/presets/index.d.mts +3 -19
- package/dist/presets/index.mjs +2 -2
- package/dist/presets/multiTenant.d.mts +1 -1
- package/dist/presets/multiTenant.mjs +7 -7
- package/dist/presets/search.d.mts +3 -5
- package/dist/presets/search.mjs +3 -4
- package/dist/{presets-CquqYJPy.mjs → presets-DK2jh5YR.mjs} +11 -18
- package/dist/{projection-CgfSLOSM.mjs → projection-BHH-sXyS.mjs} +3 -4
- package/dist/purger.types-2wNJK_89.mjs +24 -0
- package/dist/purger.types-DvPp4-yd.d.mts +26 -0
- package/dist/{pushref-registry-UxCkoA4C.d.mts → pushref-registry-d86QUaSq.d.mts} +0 -6
- package/dist/{queryCachePlugin-D0HUISHJ.mjs → queryCachePlugin-Ckqe98AM.mjs} +8 -10
- package/dist/{queryCachePlugin-C2lZjTxk.d.mts → queryCachePlugin-DYQUyeJ9.d.mts} +2 -4
- package/dist/{rateLimitKey-AvkBOMkl.mjs → rateLimitKey-CWAjlqcN.mjs} +2 -3
- package/dist/{realtime-CbWtVbqK.mjs → realtime-BIJi9USY.mjs} +17 -19
- package/dist/{redis-BDgv9Glw.d.mts → redis-RpDMemdm.d.mts} +2 -4
- package/dist/{redis-stream-BMk-bpQS.d.mts → redis-stream-CS1N9dwM.d.mts} +1 -3
- package/dist/{redisShapes-CQksY67q.d.mts → redisShapes-CqBXTn_s.d.mts} +0 -2
- package/dist/registry/index.d.mts +2 -12
- package/dist/registry/index.mjs +3 -3
- package/dist/{registry-BVwpAuFI.mjs → registry-y9ZA-R_J.mjs} +7 -12
- package/dist/{outbox-module-B4FAkx3A.mjs → relay-BNrC1CEP.mjs} +8 -306
- package/dist/{renewingLease-CykpeNcQ.mjs → renewingLease-CS43br5E.mjs} +2 -3
- package/dist/{replyHelpers-DA51IZio.mjs → replyHelpers-oZDzakGb.mjs} +3 -4
- package/dist/{requestContext-DIWHKDtQ.mjs → requestContext-fWb_YaV2.mjs} +2 -3
- package/dist/{requirement-Cp_fsMDL.mjs → requirement--2hWyyHi.mjs} +2 -3
- package/dist/{requirement-CbiLdQ1n.d.mts → requirement-CTRQjjQx.d.mts} +0 -2
- package/dist/{resourceRateLimit-BFuluodF.mjs → resourceRateLimit-1WbcyMZY.mjs} +3 -4
- package/dist/{resourceRateLimit-Wf6d6FL9.d.mts → resourceRateLimit-DCWglD7V.d.mts} +1 -3
- package/dist/{rolldown-runtime-D_lMdYOd.mjs → rolldown-runtime-yH2lHMo_.mjs} +2 -3
- package/dist/{routeValidator-DuLonYwr.mjs → routeValidator-BSlRIA5c.mjs} +2 -3
- package/dist/{runtimeCapabilities-CydRfm0i.mjs → runtimeCapabilities-CYCEtU1W.mjs} +2 -3
- package/dist/{schedules-B693KXxa.mjs → schedules-B5WGlYIT.mjs} +132 -9
- package/dist/{schemaConverter-DNvZWTV6.mjs → schemaConverter-DtNvts-6.mjs} +3 -4
- package/dist/{schemaIR-REV2y7Wd.mjs → schemaIR-uS_RHqa3.mjs} +3 -4
- package/dist/schemas/index.d.mts +0 -2
- package/dist/schemas/index.mjs +2 -3
- package/dist/scim/index.d.mts +0 -12
- package/dist/scim/index.mjs +10 -18
- package/dist/scope/index.d.mts +2 -6
- package/dist/scope/index.mjs +5 -5
- package/dist/{scope-Bevxy_ST.mjs → scope-BwVLSyNG.mjs} +5 -6
- package/dist/{sessionManager-qimlKV0P.d.mts → sessionManager-CdvDF04x.d.mts} +2 -4
- package/dist/{shutdown-CfrqPR7A.mjs → shutdown-BJiJN7FT.mjs} +2 -3
- package/dist/{simpleEqualityMatcher-BJwfuRKP.mjs → simpleEqualityMatcher-DGRLq-1k.mjs} +2 -3
- package/dist/{sse-CuNNWr2z.mjs → sse-B_50llZu.mjs} +8 -9
- package/dist/{sseStream-C_2ujAVY.mjs → sseStream-BjSo9Ult.mjs} +3 -4
- package/dist/{storage-Cx9Sz3Ou.d.mts → storage-odC5MNKN.d.mts} +0 -2
- package/dist/{store-helpers-C8uBGCbb.mjs → store-helpers-D-n5cwy5.mjs} +2 -3
- package/dist/{streaming-Bdq_M4d5.mjs → streaming-Dcgqa-hH.mjs} +2 -3
- package/dist/{subscriberIdentity-B-KpZkdl.mjs → subscriberIdentity-C9KhIXTF.mjs} +2 -3
- package/dist/{tenancy-C5PCvm1h.mjs → tenancy-COrhjPRZ.mjs} +3 -4
- package/dist/{tenantPreparation-dYvWrgNa.mjs → tenantPreparation-BElWHytd.mjs} +5 -6
- package/dist/testing/cleanupStoreContract.d.mts +2 -4
- package/dist/testing/cleanupStoreContract.mjs +2 -3
- package/dist/testing/index.d.mts +6 -32
- package/dist/testing/index.mjs +24 -37
- package/dist/testing/outboxStoreContract.d.mts +1 -3
- package/dist/testing/outboxStoreContract.mjs +3 -4
- package/dist/testing/requiredPorts.d.mts +2 -4
- package/dist/testing/requiredPorts.mjs +3 -4
- package/dist/testing/storageContract.d.mts +2 -4
- package/dist/testing/storageContract.mjs +2 -3
- package/dist/{timing-DCqsezX8.mjs → timing-CaxKbRk_.mjs} +3 -5
- package/dist/{tracing-Dro5eH6j.d.mts → tracing-JSFiBl5r.d.mts} +0 -2
- package/dist/{transactionContext-DrcNyjpv.mjs → transactionContext-8qKON0Nk.mjs} +2 -3
- package/dist/{typeGuards-CEl10KPy.mjs → typeGuards-DVjVSsXO.mjs} +2 -3
- package/dist/types/index.d.mts +4 -4
- package/dist/types/index.mjs +1 -1
- package/dist/types/storage.d.mts +1 -1
- package/dist/types/storage.mjs +1 -1
- package/dist/{types-ByHn9rEO.d.mts → types-0Dqlbgn8.d.mts} +0 -2
- package/dist/{types-BJ-2XqVF.d.mts → types-BeEJm-DV.d.mts} +114 -14
- package/dist/{types-DVLddu2q.d.mts → types-C0YJAiL0.d.mts} +0 -2
- package/dist/{types-D9NWjpYc.mjs → types-DZHqOuJE.mjs} +5 -6
- package/dist/{types-D3Ixsh00.d.mts → types-DeLiuaNv.d.mts} +2 -4
- package/dist/{types-Ddl9OjmE.d.mts → types-DnkIALZ8.d.mts} +0 -4
- package/dist/usage/index.d.mts +2 -10
- package/dist/usage/index.mjs +8 -12
- package/dist/{userHelpers-BHig1kHq.mjs → userHelpers-_eGj6kf0.mjs} +2 -3
- package/dist/utils/index.d.mts +5 -39
- package/dist/utils/index.mjs +12 -12
- package/dist/{utils-BG5P7_Vb.mjs → utils-Dd6MWpye.mjs} +20 -30
- package/dist/{validate-D_mdOCir.mjs → validate-BaF5wd0x.mjs} +5 -7
- package/dist/{versioning-DBGHjPh7.mjs → versioning-DyV7mwtK.mjs} +4 -5
- package/dist/{versioning-Bqm_57Qt.d.mts → versioning-S18y2-0C.d.mts} +1 -15
- package/dist/{websocket-Cs4awVyD.d.mts → websocket-BGuc-WVZ.d.mts} +1 -15
- package/dist/{workScope-DPPfM4m6.mjs → workScope-CmCBUmPR.mjs} +3 -4
- package/llms.txt +37 -30
- package/package.json +51 -22
- package/skills/arc/SKILL.md +65 -844
- package/skills/arc/references/agent-auth.md +82 -193
- package/skills/arc/references/api-reference.md +41 -245
- package/skills/arc/references/auth-api-keys.md +99 -0
- package/skills/arc/references/auth-better-auth-overlay.md +87 -0
- package/skills/arc/references/auth-better-auth.md +78 -0
- package/skills/arc/references/auth-permissions.md +100 -0
- package/skills/arc/references/auth-strategies.md +122 -0
- package/skills/arc/references/boot.md +80 -0
- package/skills/arc/references/enterprise-auth.md +65 -81
- package/skills/arc/references/events-outbox.md +90 -0
- package/skills/arc/references/events.md +75 -440
- package/skills/arc/references/integrations-jobs.md +74 -0
- package/skills/arc/references/integrations-realtime.md +84 -0
- package/skills/arc/references/integrations-webhooks.md +71 -0
- package/skills/arc/references/integrations-workflows.md +47 -0
- package/skills/arc/references/mcp-auth.md +83 -0
- package/skills/arc/references/mcp-custom-tools.md +125 -0
- package/skills/arc/references/mcp-setup.md +115 -0
- package/skills/arc/references/mcp-testing.md +63 -0
- package/skills/arc/references/multi-tenancy.md +56 -230
- package/skills/arc/references/permissions-scope.md +81 -0
- package/skills/arc/references/production-api.md +119 -0
- package/skills/arc/references/production-audit.md +101 -0
- package/skills/arc/references/production-boot.md +91 -0
- package/skills/arc/references/production-caching.md +63 -0
- package/skills/arc/references/production-distributed.md +75 -0
- package/skills/arc/references/production-idempotency.md +83 -0
- package/skills/arc/references/production-observability.md +83 -0
- package/skills/arc/references/production-realtime.md +70 -0
- package/skills/arc/references/production-reliability.md +100 -0
- package/skills/arc/references/production-shutdown.md +43 -0
- package/skills/arc/references/querying.md +76 -0
- package/skills/arc/references/resources.md +97 -0
- package/skills/arc/references/schedules.md +79 -0
- package/skills/arc/references/scim.md +61 -208
- package/skills/arc/references/tenancy-scope-install.md +82 -0
- package/skills/arc/references/testing.md +101 -144
- package/skills/arc/references/usage-cleanup-capabilities.md +45 -0
- package/skills/arc/references/validation.md +91 -0
- package/skills/arc/references/writes-hooks-errors.md +80 -0
- package/skills/arc-code-review/SKILL.md +67 -114
- package/skills/arc-code-review/references/arc-cheatsheet.md +68 -167
- package/skills/arc-code-review/references/mongokit-repositories.md +104 -0
- package/skills/arc-code-review/references/recipe-events-cache-jobs.md +112 -0
- package/skills/arc-code-review/references/recipe-resource.md +100 -0
- package/skills/arc-code-review/references/recipe-schemas-fields.md +93 -0
- package/skills/arc-code-review/references/recipe-scope-permissions.md +82 -0
- package/skills/arc-code-review/references/scaffolding.md +61 -198
- package/skills/arc-code-review/references/severity.md +49 -102
- package/skills/arc-code-review/references/smells-auth-scope.md +80 -0
- package/skills/arc-code-review/references/smells-data-events.md +66 -0
- package/skills/arc-code-review/references/smells-imports-style.md +59 -0
- package/skills/arc-code-review/references/smells-platform.md +89 -0
- package/skills/arc-code-review/references/smells-routes-schemas.md +66 -0
- package/skills/arc-module-publishing/SKILL.md +82 -208
- package/skills/arc-module-publishing/references/action-presets-and-plugins.md +87 -0
- package/skills/arc-module-publishing/references/build-and-types.md +73 -0
- package/skills/arc-module-publishing/references/module-lifecycle.md +101 -0
- package/skills/arc-module-publishing/references/package-manifest.md +34 -122
- package/skills/arc-module-publishing/references/publishing-workflow.md +44 -140
- package/skills/arc-module-publishing/references/resource-assembly.md +102 -0
- package/skills/arc-module-publishing/references/testing-packages.md +82 -0
- package/skills/arc/references/auth.md +0 -729
- package/skills/arc/references/integrations.md +0 -452
- package/skills/arc/references/mcp.md +0 -691
- package/skills/arc/references/production.md +0 -835
- package/skills/arc-code-review/references/anti-patterns.md +0 -1008
- package/skills/arc-code-review/references/migration-recipes.md +0 -649
- package/skills/arc-code-review/references/mongokit-migration.md +0 -360
- package/skills/arc-module-publishing/references/authoring-modules.md +0 -327
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
import { i as RequestScope } from "../../types-
|
|
3
|
-
import { l as PermissionCheck } from "../../base-
|
|
4
|
-
import { F as ResourceDefinition, Gn as ServerAccessor, Hn as IRequestContext, Vn as IControllerResponse } from "../../index-
|
|
5
|
-
import { n as FieldPermissionMap } from "../../fields-
|
|
6
|
-
import "../../resourceRateLimit-
|
|
7
|
-
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, v as ToolInputSchema } from "../../types-
|
|
8
|
-
import { i as resolveToolCollisions, n as McpServerInstance, r as createMcpServer, t as AuthRef } from "../../createMcpServer-
|
|
2
|
+
import { i as RequestScope } from "../../types-DnkIALZ8.mjs";
|
|
3
|
+
import { l as PermissionCheck } from "../../base-HXNgPQww.mjs";
|
|
4
|
+
import { F as ResourceDefinition, Gn as ServerAccessor, Hn as IRequestContext, Vn as IControllerResponse } from "../../index-Cy2-QffW.mjs";
|
|
5
|
+
import { n as FieldPermissionMap } from "../../fields-JTkrtO-r.mjs";
|
|
6
|
+
import "../../resourceRateLimit-DCWglD7V.mjs";
|
|
7
|
+
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, v as ToolInputSchema } from "../../types-DeLiuaNv.mjs";
|
|
8
|
+
import { i as resolveToolCollisions, n as McpServerInstance, r as createMcpServer, t as AuthRef } from "../../createMcpServer-DzXHX0SO.mjs";
|
|
9
9
|
import { ErrorContract } from "@classytic/repo-core/errors";
|
|
10
10
|
import { FastifyPluginAsync } from "fastify";
|
|
11
11
|
import { z } from "zod";
|
|
12
|
-
//#region src/integrations/mcp/aiSdkBridge.d.ts
|
|
13
12
|
/** Minimal AI SDK tool shape we need to invoke. */
|
|
14
13
|
interface AiSdkExecutable {
|
|
15
14
|
execute: (input: unknown, options?: unknown) => Promise<unknown>;
|
|
@@ -56,8 +55,6 @@ interface BuildMcpToolsFromBridgesOptions {
|
|
|
56
55
|
* ```
|
|
57
56
|
*/
|
|
58
57
|
export declare function buildMcpToolsFromBridges(bridges: readonly McpBridge[], options?: BuildMcpToolsFromBridgesOptions): ToolDefinition[];
|
|
59
|
-
//#endregion
|
|
60
|
-
//#region src/integrations/mcp/betterAuthApiKey.d.ts
|
|
61
58
|
/** Minimal subset of Better Auth's API-key record the helper needs. */
|
|
62
59
|
interface BetterAuthKeyRecord {
|
|
63
60
|
id?: string;
|
|
@@ -97,8 +94,6 @@ interface CreateMcpAuthFromBetterAuthApiKeyOptions {
|
|
|
97
94
|
* Better Auth's API-key plugin. See module docstring for the rationale.
|
|
98
95
|
*/
|
|
99
96
|
export declare function createMcpAuthFromBetterAuthApiKey(auth: BetterAuthHandler, options?: CreateMcpAuthFromBetterAuthApiKeyOptions): McpAuthResolver;
|
|
100
|
-
//#endregion
|
|
101
|
-
//#region src/integrations/mcp/buildRequestContext.d.ts
|
|
102
97
|
type McpOperation = "list" | "get" | "create" | "update" | "delete" | "action";
|
|
103
98
|
/**
|
|
104
99
|
* Optional context extras — the pieces of `IRequestContext` that HTTP's
|
|
@@ -148,11 +143,7 @@ interface McpContextExtras {
|
|
|
148
143
|
* An authenticated session scope is never overwritten.
|
|
149
144
|
*/
|
|
150
145
|
export declare function buildRequestContext(input: Record<string, unknown>, auth: McpAuthResult | null, operation: McpOperation, policyFilters?: Record<string, unknown>, scopeOverride?: RequestScope, extras?: McpContextExtras): IRequestContext;
|
|
151
|
-
//#endregion
|
|
152
|
-
//#region src/integrations/mcp/http-parity.d.ts
|
|
153
146
|
type ToolAdmission = (session: McpAuthResult | null, scope?: RequestScope) => boolean | Promise<boolean>;
|
|
154
|
-
//#endregion
|
|
155
|
-
//#region src/integrations/mcp/crud-tools.d.ts
|
|
156
147
|
/**
|
|
157
148
|
* Default description for a CRUD tool. Enriches list descriptions with the
|
|
158
149
|
* configured filter/sort metadata so MCP clients can see what's queryable
|
|
@@ -175,8 +166,6 @@ export declare function defaultCrudDescription(op: CrudOperation, displayName: s
|
|
|
175
166
|
* Falls back to {@link defaultCrudDescription} when no override is set.
|
|
176
167
|
*/
|
|
177
168
|
export declare function resolveCrudDescription(override: CrudDescriptionOverride | undefined, meta: CrudDescriptionMeta): string;
|
|
178
|
-
//#endregion
|
|
179
|
-
//#region src/integrations/mcp/definePrompt.d.ts
|
|
180
169
|
/** definePrompt() config */
|
|
181
170
|
interface DefinePromptConfig<TArgs extends Record<string, z.ZodTypeAny>> {
|
|
182
171
|
description: string;
|
|
@@ -192,8 +181,6 @@ interface DefinePromptConfig<TArgs extends Record<string, z.ZodTypeAny>> {
|
|
|
192
181
|
* @param config - Description, args schema, handler
|
|
193
182
|
*/
|
|
194
183
|
export declare function definePrompt<TArgs extends Record<string, z.ZodTypeAny>>(name: string, config: DefinePromptConfig<TArgs>): PromptDefinition;
|
|
195
|
-
//#endregion
|
|
196
|
-
//#region src/integrations/mcp/defineTool.d.ts
|
|
197
184
|
/**
|
|
198
185
|
* defineTool() config — uses flat Zod shapes for SDK compatibility.
|
|
199
186
|
*
|
|
@@ -219,8 +206,6 @@ interface DefineToolConfig<TInput extends Record<string, z.ZodTypeAny>, TSession
|
|
|
219
206
|
* @param config - Tool description, input schema, annotations, handler
|
|
220
207
|
*/
|
|
221
208
|
export declare function defineTool<TInput extends Record<string, z.ZodTypeAny>, TSession = McpAuthResult>(name: string, config: DefineToolConfig<TInput, TSession>): ToolDefinition<TSession>;
|
|
222
|
-
//#endregion
|
|
223
|
-
//#region src/integrations/mcp/fieldRulesToZod.d.ts
|
|
224
209
|
interface FieldRulesToZodOptions {
|
|
225
210
|
/** create: required enforced. update: all optional. list: filters + pagination. */
|
|
226
211
|
mode?: "create" | "update" | "list";
|
|
@@ -268,8 +253,6 @@ interface FieldRuleEntry {
|
|
|
268
253
|
* @returns Flat shape `Record<string, z.ZodTypeAny>` — pass directly to defineTool() or registerTool()
|
|
269
254
|
*/
|
|
270
255
|
export declare function fieldRulesToZod(fieldRules: Record<string, FieldRuleEntry> | undefined, options?: FieldRulesToZodOptions): Record<string, z.ZodTypeAny>;
|
|
271
|
-
//#endregion
|
|
272
|
-
//#region src/integrations/mcp/guards.d.ts
|
|
273
256
|
/** Check if the tool context has an authenticated user (not anonymous/null) */
|
|
274
257
|
export declare function isAuthenticated(ctx: ToolContext): boolean;
|
|
275
258
|
/** Check if the tool context has an organization scope */
|
|
@@ -319,8 +302,6 @@ export declare function requireOrgId(orgId: string): McpGuard;
|
|
|
319
302
|
* ```
|
|
320
303
|
*/
|
|
321
304
|
export declare function customGuard(check: (ctx: ToolContext) => boolean | Promise<boolean>, errorMessage: string): McpGuard;
|
|
322
|
-
//#endregion
|
|
323
|
-
//#region src/integrations/mcp/invokeController.d.ts
|
|
324
305
|
/**
|
|
325
306
|
* Options threaded into {@link invokeController}. `session` is required so
|
|
326
307
|
* permission checks and scope resolution can both honor the caller's
|
|
@@ -441,8 +422,6 @@ export declare function invokeController(controller: unknown, op: McpOperation,
|
|
|
441
422
|
* ```
|
|
442
423
|
*/
|
|
443
424
|
export declare function mcpHandlerAdapter<TSession = McpAuthResult>(fn: (input: Record<string, unknown>, ctx: ToolContext<TSession>) => Promise<unknown>): ToolDefinition<TSession>["handler"];
|
|
444
|
-
//#endregion
|
|
445
|
-
//#region src/integrations/mcp/sessionCache.d.ts
|
|
446
425
|
declare class McpSessionCache {
|
|
447
426
|
private sessions;
|
|
448
427
|
private ttlMs;
|
|
@@ -471,8 +450,6 @@ declare class McpSessionCache {
|
|
|
471
450
|
/** Safely close a transport */
|
|
472
451
|
private closeTransport;
|
|
473
452
|
}
|
|
474
|
-
//#endregion
|
|
475
|
-
//#region src/integrations/mcp/mcpPlugin.d.ts
|
|
476
453
|
/**
|
|
477
454
|
* Per-prefix MCP registration info. A single fastify instance can register
|
|
478
455
|
* mcpPlugin multiple times under different prefixes (e.g. `/mcp/catalog`,
|
|
@@ -531,8 +508,6 @@ export declare function filterResourcesForMcp<T extends {
|
|
|
531
508
|
mcp?: boolean;
|
|
532
509
|
}>(resources: readonly T[], inputs: ResourceFilterInputs): T[];
|
|
533
510
|
export declare const mcpPlugin: FastifyPluginAsync<McpPluginOptions>;
|
|
534
|
-
//#endregion
|
|
535
|
-
//#region src/integrations/mcp/realtimeBridge.d.ts
|
|
536
511
|
/**
|
|
537
512
|
* Inbound tool-call shape — accepts both LiveKit Agents (`arguments`)
|
|
538
513
|
* and OpenAI Realtime (`arguments_json` string) variants. Other realtime
|
|
@@ -571,8 +546,6 @@ interface DispatchOptions<TSession = unknown> {
|
|
|
571
546
|
* responses to the original calls.
|
|
572
547
|
*/
|
|
573
548
|
export declare function dispatchRealtimeToolCall<TSession = unknown>(tools: readonly ToolDefinition[], calls: readonly RealtimeToolCall[], opts?: DispatchOptions<TSession>): Promise<RealtimeToolResponse[]>;
|
|
574
|
-
//#endregion
|
|
575
|
-
//#region src/integrations/mcp/resourceToTools.d.ts
|
|
576
549
|
interface ResourceToToolsConfig extends McpResourceConfig {
|
|
577
550
|
toolNamePrefix?: string;
|
|
578
551
|
/** Per-operation tool name overrides: `{ get: 'get_job_by_id' }` */
|
|
@@ -599,15 +572,11 @@ interface ResourceToToolsConfig extends McpResourceConfig {
|
|
|
599
572
|
* @param config - Optional overrides (operations, descriptions, hideFields, prefix, names)
|
|
600
573
|
*/
|
|
601
574
|
export declare function resourceToTools(resource: ResourceDefinition, config?: ResourceToToolsConfig): ToolDefinition[];
|
|
602
|
-
//#endregion
|
|
603
|
-
//#region src/integrations/mcp/route-input-schema.d.ts
|
|
604
575
|
/**
|
|
605
576
|
* The field shape a tool advertises — the flat record itself, or a whole object
|
|
606
577
|
* schema's `.shape`. `undefined` for a union, which has no single shape.
|
|
607
578
|
*/
|
|
608
579
|
export declare function toolInputShape(schema: ToolInputSchema | undefined): Record<string, z.ZodTypeAny> | undefined;
|
|
609
|
-
//#endregion
|
|
610
|
-
//#region src/integrations/mcp/tool-helpers.d.ts
|
|
611
580
|
/**
|
|
612
581
|
* Convert a controller response envelope into an MCP `CallToolResult`.
|
|
613
582
|
* Carries `meta` into the serialized payload so consumers see pagination
|
|
@@ -658,5 +627,4 @@ export declare function permissionDeniedResult(args: {
|
|
|
658
627
|
reason?: string;
|
|
659
628
|
session: McpAuthResult | null;
|
|
660
629
|
}): CallToolResult;
|
|
661
|
-
//#endregion
|
|
662
630
|
export { type AuthRef, type BetterAuthHandler, type BuildMcpToolsFromBridgesOptions, type CallToolResult, type CreateMcpAuthFromBetterAuthApiKeyOptions, type CreateMcpServerConfig, type CrudDescriptionMeta, type CrudDescriptionOverride, type CrudOperation, type DefinePromptConfig, type DefineToolConfig, type DispatchOptions, type FieldRuleEntry, type FieldRulesToZodOptions, type InvokeControllerOptions, type McpAuthResolver, type McpAuthResult, type McpBridge, type McpContextExtras, type McpGuard, type McpOperation, type McpPluginOptions, type McpResourceConfig, type McpServerInstance, type PromptDefinition, type PromptResult, type RealtimeToolCall, type RealtimeToolResponse, type ResourceToToolsConfig, type ToolAnnotations, type ToolContext, type ToolDefinition, type ToolInputSchema, createMcpServer, resolveToolCollisions };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @classytic/arc v2.
|
|
2
|
-
import { _ as resolveToolCollisions, a as toolInputShape, c as resolveCrudDescription, d as permissionDeniedResult, f as toCallToolError, g as createMcpServer, h as buildRequestContext, i as isZodTypeSchema, l as invokeController, m as toCallToolSuccess, n as mcpPlugin, o as fieldRulesToZod, p as toCallToolResult, r as resourceToTools, s as defaultCrudDescription, t as filterResourcesForMcp, u as mcpHandlerAdapter } from "../../mcpPlugin-
|
|
3
|
-
|
|
1
|
+
/*! @classytic/arc v2.47.0 | MIT | https://classytic.com */
|
|
2
|
+
import { _ as resolveToolCollisions, a as toolInputShape, c as resolveCrudDescription, d as permissionDeniedResult, f as toCallToolError, g as createMcpServer, h as buildRequestContext, i as isZodTypeSchema, l as invokeController, m as toCallToolSuccess, n as mcpPlugin, o as fieldRulesToZod, p as toCallToolResult, r as resourceToTools, s as defaultCrudDescription, t as filterResourcesForMcp, u as mcpHandlerAdapter } from "../../mcpPlugin-4lIPr9OJ.mjs";
|
|
3
|
+
// src/integrations/mcp/defineTool.ts
|
|
4
4
|
/**
|
|
5
5
|
* Define a type-safe MCP tool.
|
|
6
6
|
*
|
|
@@ -18,8 +18,7 @@ function defineTool(name, config) {
|
|
|
18
18
|
handler: config.handler
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
|
|
22
|
-
//#region src/integrations/mcp/guards.ts
|
|
21
|
+
// src/integrations/mcp/guards.ts
|
|
23
22
|
/** Check if the tool context has an authenticated user (not anonymous/null) */
|
|
24
23
|
function isAuthenticated(ctx) {
|
|
25
24
|
return !!ctx.session && ctx.session.userId !== "anonymous";
|
|
@@ -108,8 +107,7 @@ function customGuard(check, errorMessage) {
|
|
|
108
107
|
return await check(ctx) ? null : errorMessage;
|
|
109
108
|
};
|
|
110
109
|
}
|
|
111
|
-
|
|
112
|
-
//#region src/integrations/mcp/aiSdkBridge.ts
|
|
110
|
+
// src/integrations/mcp/aiSdkBridge.ts
|
|
113
111
|
/** Serialize an AI SDK tool result into MCP's text-content envelope. */
|
|
114
112
|
function toMcpEnvelope(result) {
|
|
115
113
|
if (result && typeof result === "object" && "error" in result) {
|
|
@@ -167,8 +165,7 @@ function buildMcpToolsFromBridges(bridges, options = {}) {
|
|
|
167
165
|
return true;
|
|
168
166
|
}).map(bridgeToMcp);
|
|
169
167
|
}
|
|
170
|
-
|
|
171
|
-
//#region src/integrations/mcp/betterAuthApiKey.ts
|
|
168
|
+
// src/integrations/mcp/betterAuthApiKey.ts
|
|
172
169
|
/**
|
|
173
170
|
* Build an {@link McpAuthResolver} that authenticates MCP requests against
|
|
174
171
|
* Better Auth's API-key plugin. See module docstring for the rationale.
|
|
@@ -258,8 +255,7 @@ function parseMetadata(value) {
|
|
|
258
255
|
}
|
|
259
256
|
return value;
|
|
260
257
|
}
|
|
261
|
-
|
|
262
|
-
//#region src/integrations/mcp/definePrompt.ts
|
|
258
|
+
// src/integrations/mcp/definePrompt.ts
|
|
263
259
|
/**
|
|
264
260
|
* Define a type-safe MCP prompt.
|
|
265
261
|
*
|
|
@@ -275,8 +271,7 @@ function definePrompt(name, config) {
|
|
|
275
271
|
handler: config.handler
|
|
276
272
|
};
|
|
277
273
|
}
|
|
278
|
-
|
|
279
|
-
//#region src/integrations/mcp/realtimeBridge.ts
|
|
274
|
+
// src/integrations/mcp/realtimeBridge.ts
|
|
280
275
|
function isPlainArgs(value) {
|
|
281
276
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
282
277
|
}
|
|
@@ -390,5 +385,4 @@ function normalizeResult(result) {
|
|
|
390
385
|
}
|
|
391
386
|
return {};
|
|
392
387
|
}
|
|
393
|
-
//#endregion
|
|
394
388
|
export { bridgeToMcp, buildMcpToolsFromBridges, buildRequestContext, createMcpAuthFromBetterAuthApiKey, createMcpServer, customGuard, defaultCrudDescription, definePrompt, defineTool, denied, dispatchRealtimeToolCall, fieldRulesToZod, filterResourcesForMcp, getOrgId, getUserId, guard, hasOrg, invokeController, isAuthenticated, isOrg, mcpHandlerAdapter, mcpPlugin, permissionDeniedResult, requireAuth, requireOrg, requireOrgId, requireRole, resolveCrudDescription, resolveToolCollisions, resourceToTools, toCallToolError, toCallToolResult, toCallToolSuccess, toolInputShape };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { c as McpAuthResult, u as McpPluginOptions } from "../../types-
|
|
3
|
-
import { n as McpServerInstance } from "../../createMcpServer-
|
|
2
|
+
import { c as McpAuthResult, u as McpPluginOptions } from "../../types-DeLiuaNv.mjs";
|
|
3
|
+
import { n as McpServerInstance } from "../../createMcpServer-DzXHX0SO.mjs";
|
|
4
4
|
import { Client } from "@modelcontextprotocol/client";
|
|
5
|
-
//#region src/integrations/mcp/testing.d.ts
|
|
6
5
|
/** An MCP client bound to a live loopback server, plus its teardown. */
|
|
7
6
|
export interface ConnectedMcpTestClient {
|
|
8
7
|
/** The connected SDK client — full `listTools` / `callTool` / `listPrompts` surface. */
|
|
@@ -68,5 +67,4 @@ export interface TestMcpClient {
|
|
|
68
67
|
* await client.close();
|
|
69
68
|
* ```
|
|
70
69
|
*/
|
|
71
|
-
export declare function createTestMcpClient(options?: TestMcpClientOptions): Promise<TestMcpClient>;
|
|
72
|
-
//#endregion
|
|
70
|
+
export declare function createTestMcpClient(options?: TestMcpClientOptions): Promise<TestMcpClient>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @classytic/arc v2.
|
|
2
|
-
import { g as createMcpServer, r as resourceToTools, t as filterResourcesForMcp } from "../../mcpPlugin-
|
|
3
|
-
|
|
1
|
+
/*! @classytic/arc v2.47.0 | MIT | https://classytic.com */
|
|
2
|
+
import { g as createMcpServer, r as resourceToTools, t as filterResourcesForMcp } from "../../mcpPlugin-4lIPr9OJ.mjs";
|
|
3
|
+
// src/integrations/mcp/testing.ts
|
|
4
4
|
/**
|
|
5
5
|
* Serve an already-built `McpServer` on an ephemeral loopback port and connect
|
|
6
6
|
* a client to it.
|
|
@@ -118,5 +118,4 @@ async function createTestMcpClient(options = {}) {
|
|
|
118
118
|
close
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
|
-
//#endregion
|
|
122
121
|
export { connectMcpTestClient, createTestMcpClient };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { FastifyPluginAsync, FastifyRequest } from "fastify";
|
|
3
|
-
//#region src/integrations/streamline.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Start options — matches streamline's `StartOptions`. `tenantId` /
|
|
6
5
|
* `bypassTenant` must come from auth context (`tenantResolver`), never the
|
|
@@ -223,5 +222,4 @@ export declare function isStreamTerminal(eventOrStatus: string, compensates: boo
|
|
|
223
222
|
* Streamline integration for Arc. Wrapped in `fastify-plugin` so `prefix` is
|
|
224
223
|
* a plain option, not an encapsulation prefix (which would apply it twice).
|
|
225
224
|
*/
|
|
226
|
-
export declare const streamlinePlugin: FastifyPluginAsync<StreamlinePluginOptions>;
|
|
227
|
-
//#endregion
|
|
225
|
+
export declare const streamlinePlugin: FastifyPluginAsync<StreamlinePluginOptions>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*! @classytic/arc v2.
|
|
2
|
-
import { f as createError, i as NotFoundError, r as ForbiddenError } from "../errors-
|
|
3
|
-
import { a as promoteStreamTokenToHeader, n as forwardedStreamHeaders } from "../streaming-
|
|
1
|
+
/*! @classytic/arc v2.47.0 | MIT | https://classytic.com */
|
|
2
|
+
import { f as createError, i as NotFoundError, r as ForbiddenError } from "../errors-DnrUChAy.mjs";
|
|
3
|
+
import { a as promoteStreamTokenToHeader, n as forwardedStreamHeaders } from "../streaming-Dcgqa-hH.mjs";
|
|
4
4
|
import { ARC_ERROR_CODES } from "@classytic/repo-core/errors";
|
|
5
5
|
import fp from "fastify-plugin";
|
|
6
|
-
|
|
6
|
+
// src/integrations/streamline.ts
|
|
7
7
|
/**
|
|
8
8
|
* Streamline integration — wires `@classytic/streamline` workflows into arc.
|
|
9
9
|
*
|
|
@@ -482,5 +482,4 @@ const streamlinePlugin = fp(streamlinePluginImpl, {
|
|
|
482
482
|
name: "streamline-routes",
|
|
483
483
|
fastify: "5.x"
|
|
484
484
|
});
|
|
485
|
-
//#endregion
|
|
486
485
|
export { STREAMLINE_BUS_EVENTS, STREAMLINE_FAILURE_CODES, STREAMLINE_STREAM_EVENTS, STREAMLINE_TERMINAL_EVENTS, TERMINAL_RUN_STATUSES, isStreamTerminal, streamlinePlugin };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
import { a as EventTransport, n as DomainEvent } from "../EventTransport-
|
|
3
|
-
import { i as createOutboxModule, r as OutboxModuleOptions } from "../outbox-module-
|
|
2
|
+
import { a as EventTransport, n as DomainEvent } from "../EventTransport-CYEoCJGe.mjs";
|
|
3
|
+
import { i as createOutboxModule, r as OutboxModuleOptions } from "../outbox-module-5Mnwcycy.mjs";
|
|
4
4
|
import { FastifyPluginAsync } from "fastify";
|
|
5
5
|
import { OutboxFailurePolicy, OutboxStore } from "@classytic/primitives/outbox";
|
|
6
|
-
//#region src/integrations/webhooks.d.ts
|
|
7
6
|
export interface WebhookSubscription {
|
|
8
7
|
/** Unique subscription ID */
|
|
9
8
|
id: string;
|
|
@@ -310,5 +309,4 @@ export interface DurableWebhookModuleOptions extends Omit<OutboxModuleOptions, "
|
|
|
310
309
|
* subscription store (boot-checked).
|
|
311
310
|
*/
|
|
312
311
|
export declare function createDurableWebhookModule(options: DurableWebhookModuleOptions): ReturnType<typeof createOutboxModule>;
|
|
313
|
-
//#endregion
|
|
314
312
|
export { _default as default, webhookPlugin };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
/*! @classytic/arc v2.
|
|
2
|
-
import { n as declareRuntimeCapability } from "../runtimeCapabilities-
|
|
3
|
-
import {
|
|
1
|
+
/*! @classytic/arc v2.47.0 | MIT | https://classytic.com */
|
|
2
|
+
import { n as declareRuntimeCapability } from "../runtimeCapabilities-CYCEtU1W.mjs";
|
|
3
|
+
import { r as exponentialBackoff } from "../relay-BNrC1CEP.mjs";
|
|
4
|
+
import { t as createOutboxModule } from "../outbox-module-DyITEIop.mjs";
|
|
4
5
|
import { createHmac, timingSafeEqual } from "node:crypto";
|
|
5
6
|
import fp from "fastify-plugin";
|
|
6
7
|
import { createChildEvent, matchEventPattern } from "@classytic/primitives/events";
|
|
7
|
-
|
|
8
|
+
// src/integrations/webhooks.ts
|
|
8
9
|
/**
|
|
9
10
|
* Outbound webhooks — auto-dispatch arc events to registered endpoints with
|
|
10
11
|
* HMAC-SHA256 signing, delivery logging, and a pluggable `WebhookStore`.
|
|
@@ -496,5 +497,4 @@ function assertWebhookHeaderOverrides(headers) {
|
|
|
496
497
|
const reserved = Object.keys(headers).find((name) => RESERVED_WEBHOOK_HEADERS.has(name.toLowerCase()));
|
|
497
498
|
if (reserved) throw new WebhookDeliveryError(`webhook authentication header '${reserved}' is reserved`, { transient: false });
|
|
498
499
|
}
|
|
499
|
-
//#endregion
|
|
500
500
|
export { WEBHOOK_DELIVERY_EVENT, WebhookDeliveryError, createDurableWebhookModule, createWebhookDeliveryTransport, webhooks_default as default, defaultWebhookUrlPolicy, signWebhook, verifySignature, verifyWebhook, webhookDeliveryFailurePolicy, webhookPlugin };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { c as SerializedEntry, i as Principal, n as FencedWriteOutcome, s as PushRefStore, t as EnvelopeSnapshot } from "../pushref-registry-
|
|
3
|
-
//#region src/integrations/websocket-pushref-redis.d.ts
|
|
2
|
+
import { c as SerializedEntry, i as Principal, n as FencedWriteOutcome, s as PushRefStore, t as EnvelopeSnapshot } from "../pushref-registry-d86QUaSq.mjs";
|
|
4
3
|
/**
|
|
5
4
|
* Minimal `ioredis` shape — typed structurally so this file doesn't
|
|
6
5
|
* take a typecheck-time dep on `ioredis`. The peer dep is declared
|
|
@@ -66,5 +65,4 @@ export declare class RedisPushRefStore implements PushRefStore {
|
|
|
66
65
|
}): Promise<"ok" | "missing" | "active" | "raw">;
|
|
67
66
|
gc(_now: number): Promise<number>;
|
|
68
67
|
size(): Promise<number>;
|
|
69
|
-
}
|
|
70
|
-
//#endregion
|
|
68
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! @classytic/arc v2.
|
|
2
|
-
|
|
1
|
+
/*! @classytic/arc v2.47.0 | MIT | https://classytic.com */
|
|
2
|
+
// src/integrations/websocket-pushref-redis.ts
|
|
3
3
|
/**
|
|
4
4
|
* Lua script for atomic claim. Runs server-side, single-roundtrip.
|
|
5
5
|
*
|
|
@@ -202,5 +202,4 @@ var RedisPushRefStore = class {
|
|
|
202
202
|
return count;
|
|
203
203
|
}
|
|
204
204
|
};
|
|
205
|
-
//#endregion
|
|
206
205
|
export { RedisPushRefStore };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { f as WebSocketAdapter } from "../websocket-
|
|
3
|
-
//#region src/integrations/websocket-redis.d.ts
|
|
2
|
+
import { f as WebSocketAdapter } from "../websocket-BGuc-WVZ.mjs";
|
|
4
3
|
export interface RedisLike {
|
|
5
4
|
publish(channel: string, message: string): Promise<number>;
|
|
6
5
|
subscribe(...channels: string[]): Promise<unknown>;
|
|
@@ -41,5 +40,4 @@ export declare class RedisWebSocketAdapter implements WebSocketAdapter {
|
|
|
41
40
|
publish(room: string, message: string): Promise<void>;
|
|
42
41
|
subscribe(callback: (room: string, message: string) => void): Promise<void>;
|
|
43
42
|
close(): Promise<void>;
|
|
44
|
-
}
|
|
45
|
-
//#endregion
|
|
43
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! @classytic/arc v2.
|
|
2
|
-
|
|
1
|
+
/*! @classytic/arc v2.47.0 | MIT | https://classytic.com */
|
|
2
|
+
// src/integrations/websocket-redis.ts
|
|
3
3
|
/**
|
|
4
4
|
* Redis Pub/Sub adapter for cross-instance WebSocket broadcast.
|
|
5
5
|
*
|
|
@@ -47,5 +47,4 @@ var RedisWebSocketAdapter = class {
|
|
|
47
47
|
await this.sub.quit();
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
-
//#endregion
|
|
51
50
|
export { RedisWebSocketAdapter };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
import { a as GeoRoomOptions, c as WebSocketClient, d as LocalWebSocketAdapter, f as WebSocketAdapter, i as GeoRoom, l as WebSocketMessage, n as GeoPoint, o as RoomManager, r as GeoPublishOpts, s as AuthResult, t as websocketPlugin, u as WebSocketPluginOptions } from "../websocket-
|
|
3
|
-
import { a as PushRefRegistry, c as SerializedEntry, i as Principal, o as PushRefRegistryOptions, r as MemoryPushRefStore, s as PushRefStore, u as DeadQueueEntry } from "../pushref-registry-
|
|
2
|
+
import { a as GeoRoomOptions, c as WebSocketClient, d as LocalWebSocketAdapter, f as WebSocketAdapter, i as GeoRoom, l as WebSocketMessage, n as GeoPoint, o as RoomManager, r as GeoPublishOpts, s as AuthResult, t as websocketPlugin, u as WebSocketPluginOptions } from "../websocket-BGuc-WVZ.mjs";
|
|
3
|
+
import { a as PushRefRegistry, c as SerializedEntry, i as Principal, o as PushRefRegistryOptions, r as MemoryPushRefStore, s as PushRefStore, u as DeadQueueEntry } from "../pushref-registry-d86QUaSq.mjs";
|
|
4
4
|
export { type AuthResult, type DeadQueueEntry, type GeoPoint, type GeoPublishOpts, GeoRoom, type GeoRoomOptions, LocalWebSocketAdapter, MemoryPushRefStore, type Principal, PushRefRegistry, type PushRefRegistryOptions, type PushRefStore, RoomManager, type SerializedEntry, type WebSocketAdapter, type WebSocketClient, type WebSocketMessage, type WebSocketPluginOptions, websocketPlugin };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*! @classytic/arc v2.
|
|
2
|
-
import { n as declareRuntimeCapability } from "../runtimeCapabilities-
|
|
1
|
+
/*! @classytic/arc v2.47.0 | MIT | https://classytic.com */
|
|
2
|
+
import { n as declareRuntimeCapability } from "../runtimeCapabilities-CYCEtU1W.mjs";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
import sjson from "secure-json-parse";
|
|
5
5
|
import fp from "fastify-plugin";
|
|
6
|
-
|
|
6
|
+
// src/integrations/websocket/adapter.ts
|
|
7
7
|
/**
|
|
8
8
|
* Default adapter — no cross-instance broadcast (single-instance only).
|
|
9
9
|
* All methods are no-ops. Used when no adapter is configured.
|
|
@@ -14,8 +14,7 @@ var LocalWebSocketAdapter = class {
|
|
|
14
14
|
async subscribe() {}
|
|
15
15
|
async close() {}
|
|
16
16
|
};
|
|
17
|
-
|
|
18
|
-
//#region src/integrations/websocket/geo-room.ts
|
|
17
|
+
// src/integrations/websocket/geo-room.ts
|
|
19
18
|
let h3Cached;
|
|
20
19
|
async function loadH3() {
|
|
21
20
|
if (h3Cached) return h3Cached;
|
|
@@ -95,8 +94,7 @@ var GeoRoom = class {
|
|
|
95
94
|
return this.h3;
|
|
96
95
|
}
|
|
97
96
|
};
|
|
98
|
-
|
|
99
|
-
//#region src/integrations/websocket/auth.ts
|
|
97
|
+
// src/integrations/websocket/auth.ts
|
|
100
98
|
function createCaptureReply() {
|
|
101
99
|
let rejected = false;
|
|
102
100
|
let capturedStatus;
|
|
@@ -225,8 +223,7 @@ var DeadQueue = class {
|
|
|
225
223
|
return out;
|
|
226
224
|
}
|
|
227
225
|
};
|
|
228
|
-
|
|
229
|
-
//#region src/integrations/websocket/envelope.ts
|
|
226
|
+
// src/integrations/websocket/envelope.ts
|
|
230
227
|
/**
|
|
231
228
|
* Per-pushRef envelope state. One instance per logical session — when
|
|
232
229
|
* a client reconnects under the same pushRef within TTL, the same
|
|
@@ -284,8 +281,7 @@ var EnvelopeWriter = class {
|
|
|
284
281
|
return this.dead.snapshot();
|
|
285
282
|
}
|
|
286
283
|
};
|
|
287
|
-
|
|
288
|
-
//#region src/integrations/websocket/pushref-registry.ts
|
|
284
|
+
// src/integrations/websocket/pushref-registry.ts
|
|
289
285
|
/**
|
|
290
286
|
* PushRef registry — owns the cross-connection state that has to outlive
|
|
291
287
|
* a single TCP socket: the per-pushRef envelope writer + dead queue
|
|
@@ -635,8 +631,7 @@ function derivePrincipal(args) {
|
|
|
635
631
|
if (!args.authMode) return "anon";
|
|
636
632
|
return null;
|
|
637
633
|
}
|
|
638
|
-
|
|
639
|
-
//#region src/integrations/websocket/safe-async.ts
|
|
634
|
+
// src/integrations/websocket/safe-async.ts
|
|
640
635
|
function safeAsync(p, logger, op, ctx) {
|
|
641
636
|
p.catch((err) => {
|
|
642
637
|
logger.warn({
|
|
@@ -806,8 +801,7 @@ var SendQueue = class {
|
|
|
806
801
|
}
|
|
807
802
|
}
|
|
808
803
|
};
|
|
809
|
-
|
|
810
|
-
//#region src/integrations/websocket/connection.ts
|
|
804
|
+
// src/integrations/websocket/connection.ts
|
|
811
805
|
/**
|
|
812
806
|
* Per-connection lifecycle handler.
|
|
813
807
|
*
|
|
@@ -1090,8 +1084,7 @@ async function handleConnection(ctx, socket, request) {
|
|
|
1090
1084
|
});
|
|
1091
1085
|
});
|
|
1092
1086
|
}
|
|
1093
|
-
|
|
1094
|
-
//#region src/integrations/websocket/event-bridge.ts
|
|
1087
|
+
// src/integrations/websocket/event-bridge.ts
|
|
1095
1088
|
/**
|
|
1096
1089
|
* Subscribe to `<resource>.created|updated|deleted` events for every
|
|
1097
1090
|
* resource in `resources` and fan them out to the matching room (same
|
|
@@ -1152,8 +1145,7 @@ function registerStatsRoute(fastify, rooms, path, expose) {
|
|
|
1152
1145
|
} else fastify.log.warn("arc-websocket: exposeStats is \"authenticated\" but fastify.authenticate is not registered — stats endpoint skipped");
|
|
1153
1146
|
}
|
|
1154
1147
|
}
|
|
1155
|
-
|
|
1156
|
-
//#region src/integrations/websocket/outbound-truncate.ts
|
|
1148
|
+
// src/integrations/websocket/outbound-truncate.ts
|
|
1157
1149
|
/**
|
|
1158
1150
|
* Outbound payload truncation — mirrors n8n's pattern of capping any
|
|
1159
1151
|
* single server→client frame at a sane upper bound, replacing oversize
|
|
@@ -1202,8 +1194,7 @@ function truncateOutbound(payload, max = DEFAULT_MAX_OUTBOUND_BYTES) {
|
|
|
1202
1194
|
function createTruncator(max = DEFAULT_MAX_OUTBOUND_BYTES) {
|
|
1203
1195
|
return (payload) => truncateOutbound(payload, max);
|
|
1204
1196
|
}
|
|
1205
|
-
|
|
1206
|
-
//#region src/integrations/websocket/room-manager.ts
|
|
1197
|
+
// src/integrations/websocket/room-manager.ts
|
|
1207
1198
|
/**
|
|
1208
1199
|
* RoomManager — subscription bookkeeping for the WebSocket plugin.
|
|
1209
1200
|
*
|
|
@@ -1473,8 +1464,7 @@ var RoomManager = class {
|
|
|
1473
1464
|
};
|
|
1474
1465
|
}
|
|
1475
1466
|
};
|
|
1476
|
-
|
|
1477
|
-
//#region src/integrations/websocket/plugin.ts
|
|
1467
|
+
// src/integrations/websocket/plugin.ts
|
|
1478
1468
|
const websocketPluginImpl = async (fastify, options) => {
|
|
1479
1469
|
const { path = "/ws", auth = true, resources = [], heartbeatInterval = 3e4, authenticate: customAuth, maxClientsPerRoom = 1e4, roomPolicy, maxMessageBytes = 16384, maxSubscriptionsPerClient = 100, reauthInterval = 0, adapter, exposeStats = false, onMessage, onConnect, onDisconnect, messageEnvelope = "raw", deadQueueSize = 128, pushRefTtlMs = 6e4, pushRefMaxEntries = 1e4, maxOutboundBytes = DEFAULT_MAX_OUTBOUND_BYTES } = options;
|
|
1480
1470
|
const truncate = createTruncator(maxOutboundBytes);
|
|
@@ -1605,5 +1595,4 @@ const websocketPlugin = fp(websocketPluginImpl, {
|
|
|
1605
1595
|
name: "arc-websocket",
|
|
1606
1596
|
fastify: "5.x"
|
|
1607
1597
|
});
|
|
1608
|
-
//#endregion
|
|
1609
1598
|
export { GeoRoom, LocalWebSocketAdapter, MemoryPushRefStore, PushRefRegistry, RoomManager, websocketPlugin };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
//#region src/idempotency/stores/interface.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Idempotency Store Interface
|
|
5
4
|
*
|
|
@@ -106,5 +105,4 @@ interface IdempotencyStore {
|
|
|
106
105
|
* Helper to create a result object
|
|
107
106
|
*/
|
|
108
107
|
declare function createIdempotencyResult(statusCode: number, body: unknown, headers: Record<string, string>, ttlMs: number, requestFingerprint?: string): Omit<IdempotencyResult, "key">;
|
|
109
|
-
//#endregion
|
|
110
108
|
export { createIdempotencyResult as a, IdempotencyStore as i, IdempotencyLock as n, IdempotencyResult as r, IdempotencyAcquisition as t };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { CacheAdapter } from "@classytic/repo-core/cache";
|
|
3
|
-
//#region src/cache/interface.d.ts
|
|
4
3
|
interface CacheLogger {
|
|
5
4
|
warn(message: string, ...args: unknown[]): void;
|
|
6
5
|
error(message: string, ...args: unknown[]): void;
|
|
@@ -67,5 +66,4 @@ interface CacheStore<TValue = unknown> extends CacheAdapter {
|
|
|
67
66
|
/** Cache statistics for observability. Optional. */
|
|
68
67
|
stats?(): CacheStats;
|
|
69
68
|
}
|
|
70
|
-
//#endregion
|
|
71
69
|
export { CacheStats as n, CacheStore as r, CacheLogger as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! @classytic/arc v2.
|
|
2
|
-
import { t as ArcError } from "./errors-
|
|
1
|
+
/*! @classytic/arc v2.47.0 | MIT | https://classytic.com */
|
|
2
|
+
import { t as ArcError } from "./errors-DnrUChAy.mjs";
|
|
3
3
|
import sjson from "secure-json-parse";
|
|
4
|
-
|
|
4
|
+
// src/utils/jsonBody.ts
|
|
5
5
|
/**
|
|
6
6
|
* Shared JSON request-body parsing for every arc content-type parser
|
|
7
7
|
* (`application/json`, `application/scim+json`, decrypted `application/jose`).
|
|
@@ -40,5 +40,4 @@ function parseJsonBody(raw, message = "Invalid JSON payload") {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
//#endregion
|
|
44
43
|
export { parseJsonBody as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @classytic/arc v2.
|
|
1
|
+
/*! @classytic/arc v2.47.0 | MIT | https://classytic.com */
|
|
2
2
|
import { contentHash } from "@classytic/repo-core/hash";
|
|
3
|
-
|
|
3
|
+
// src/cache/keys.ts
|
|
4
4
|
/**
|
|
5
5
|
* Cache Key Utilities
|
|
6
6
|
*
|
|
@@ -29,5 +29,4 @@ function tagVersionKey(tag) {
|
|
|
29
29
|
function hashParams(params) {
|
|
30
30
|
return contentHash(params, { encoding: "base64url" });
|
|
31
31
|
}
|
|
32
|
-
//#endregion
|
|
33
32
|
export { versionKey as i, hashParams as n, tagVersionKey as r, buildQueryKey as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! @classytic/arc v2.
|
|
2
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
3
|
-
import { t as arcLog } from "./logger-
|
|
1
|
+
/*! @classytic/arc v2.47.0 | MIT | https://classytic.com */
|
|
2
|
+
import { t as __exportAll } from "./rolldown-runtime-yH2lHMo_.mjs";
|
|
3
|
+
import { t as arcLog } from "./logger-C110X5Yz.mjs";
|
|
4
4
|
import { readdir } from "node:fs/promises";
|
|
5
5
|
import { dirname, join, resolve } from "node:path";
|
|
6
6
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
7
|
-
|
|
7
|
+
// src/factory/loadResources.ts
|
|
8
8
|
/**
|
|
9
9
|
* loadResources — Auto-discover resource files from a directory.
|
|
10
10
|
*
|
|
@@ -177,5 +177,4 @@ async function collectFiles(dir, pattern, recursive) {
|
|
|
177
177
|
function escapeRegex(str) {
|
|
178
178
|
return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
179
179
|
}
|
|
180
|
-
//#endregion
|
|
181
180
|
export { loadResources_exports as n, loadResources as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @classytic/arc v2.
|
|
2
|
-
import { t as ResourceRegistry } from "./ResourceRegistry-
|
|
1
|
+
/*! @classytic/arc v2.47.0 | MIT | https://classytic.com */
|
|
2
|
+
import { t as ResourceRegistry } from "./ResourceRegistry-23Ml6FNe.mjs";
|
|
3
3
|
import { resolve } from "node:path";
|
|
4
4
|
import { pathToFileURL } from "node:url";
|
|
5
|
-
|
|
5
|
+
// src/cli/utils/loadResourcesFromEntry.ts
|
|
6
6
|
/**
|
|
7
7
|
* Shared loader for CLI commands that need to read a host's resource graph
|
|
8
8
|
* from a built entry file (`introspect`, `docs`, `describe`).
|
|
@@ -48,5 +48,4 @@ async function loadResourcesFromEntry(entryPath) {
|
|
|
48
48
|
registered
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
//#endregion
|
|
52
51
|
export { loadResourcesFromEntry as t };
|
package/dist/logger/index.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
//#region src/logger/index.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Arc Logger — Centralized debug & warning system
|
|
5
4
|
*
|
|
@@ -114,5 +113,4 @@ export interface PinoLike {
|
|
|
114
113
|
* `createApp` installs this automatically so arc-internal warnings flow
|
|
115
114
|
* through the host's transports, level, and redaction config.
|
|
116
115
|
*/
|
|
117
|
-
export declare function createPinoWriter(logger: PinoLike): ArcLogWriter;
|
|
118
|
-
//#endregion
|
|
116
|
+
export declare function createPinoWriter(logger: PinoLike): ArcLogWriter;
|
package/dist/logger/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @classytic/arc v2.
|
|
2
|
-
export { t as arcLog, n as configureArcLogger, r as createPinoWriter, i as runWithArcLogger } from "../logger-
|
|
1
|
+
/*! @classytic/arc v2.47.0 | MIT | https://classytic.com */
|
|
2
|
+
export { t as arcLog, n as configureArcLogger, r as createPinoWriter, i as runWithArcLogger } from "../logger-C110X5Yz.mjs";
|