@burdenoff/be-sdk 2026.602.2 → 2026.618.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/index.d.ts +2 -2
- package/dist/auth/index.js +3 -3
- package/dist/cache/index.d.ts +2 -2
- package/dist/cache/index.js +2 -2
- package/dist/{chunk-RDGQEBNS.js → chunk-5FEOFBQ4.js} +4 -4
- package/dist/{chunk-RDGQEBNS.js.map → chunk-5FEOFBQ4.js.map} +1 -1
- package/dist/chunk-DXX6C6X6.js +210 -0
- package/dist/chunk-DXX6C6X6.js.map +1 -0
- package/dist/{chunk-KKCC3Z4I.js → chunk-FKSMQLIV.js} +3 -3
- package/dist/{chunk-KKCC3Z4I.js.map → chunk-FKSMQLIV.js.map} +1 -1
- package/dist/{chunk-BNJFEOGH.js → chunk-FTDQ6NY5.js} +4 -4
- package/dist/{chunk-BNJFEOGH.js.map → chunk-FTDQ6NY5.js.map} +1 -1
- package/dist/{chunk-VWCN5PMD.js → chunk-HRCWJLCZ.js} +8 -3
- package/dist/chunk-HRCWJLCZ.js.map +1 -0
- package/dist/{chunk-5SD7DU3L.js → chunk-IC7YDBGE.js} +3 -3
- package/dist/{chunk-5SD7DU3L.js.map → chunk-IC7YDBGE.js.map} +1 -1
- package/dist/{chunk-4NFZOFRS.js → chunk-L2P4CJUR.js} +2 -2
- package/dist/{chunk-4NFZOFRS.js.map → chunk-L2P4CJUR.js.map} +1 -1
- package/dist/{chunk-OJWJVZY5.js → chunk-N7UJFZQH.js} +24 -25
- package/dist/chunk-N7UJFZQH.js.map +1 -0
- package/dist/{chunk-VWNL2O3G.js → chunk-OQLDXOZ3.js} +5 -4
- package/dist/chunk-OQLDXOZ3.js.map +1 -0
- package/dist/{chunk-O6RHB2YP.js → chunk-SMGTXYFR.js} +2 -2
- package/dist/chunk-SMGTXYFR.js.map +1 -0
- package/dist/{chunk-GSEPF2B6.js → chunk-UIMPJNWC.js} +3 -3
- package/dist/{chunk-GSEPF2B6.js.map → chunk-UIMPJNWC.js.map} +1 -1
- package/dist/{chunk-7NYCLQFJ.js → chunk-UYE4IEPT.js} +3 -3
- package/dist/{chunk-7NYCLQFJ.js.map → chunk-UYE4IEPT.js.map} +1 -1
- package/dist/{chunk-5HL47UH2.js → chunk-X7QMT2P6.js} +3 -3
- package/dist/{chunk-5HL47UH2.js.map → chunk-X7QMT2P6.js.map} +1 -1
- package/dist/{chunk-UFQQSQG6.js → chunk-XNQUN3AE.js} +3 -3
- package/dist/{chunk-UFQQSQG6.js.map → chunk-XNQUN3AE.js.map} +1 -1
- package/dist/{chunk-TIINMQSD.js → chunk-XR3KUHJ5.js} +3 -3
- package/dist/{chunk-TIINMQSD.js.map → chunk-XR3KUHJ5.js.map} +1 -1
- package/dist/{chunk-HP6JTFNR.js → chunk-YFOHAHZE.js} +2 -2
- package/dist/{chunk-HP6JTFNR.js.map → chunk-YFOHAHZE.js.map} +1 -1
- package/dist/{chunk-RMDKB5O7.js → chunk-ZHQUXD6S.js} +3 -3
- package/dist/{chunk-RMDKB5O7.js.map → chunk-ZHQUXD6S.js.map} +1 -1
- package/dist/{chunk-PPIDJP2W.js → chunk-ZPEDC5V3.js} +5 -5
- package/dist/{chunk-PPIDJP2W.js.map → chunk-ZPEDC5V3.js.map} +1 -1
- package/dist/database/index.js +3 -3
- package/dist/event-queue/index.d.ts +4 -4
- package/dist/export/index.d.ts +2 -2
- package/dist/export/index.js +6 -5
- package/dist/feature-flags/index.js +2 -1
- package/dist/gateway/index.d.ts +2 -2
- package/dist/gateway/index.js +5 -4
- package/dist/gateway/security/index.js +1 -1
- package/dist/graph/index.d.ts +3 -3
- package/dist/graph/index.js +3 -3
- package/dist/{graphql-DH3L5Hj7.d.ts → graphql-CNhiZ89U.d.ts} +1 -1
- package/dist/{index-DLyc5o_K.d.ts → index-B-w7NWpD.d.ts} +1 -1
- package/dist/{index-BqSh1K8I.d.ts → index-B0ebYV9W.d.ts} +1 -1
- package/dist/{index-Dg4kH1VJ.d.ts → index-B4ciT3OZ.d.ts} +1 -1
- package/dist/{index-BVjR9llq.d.ts → index-BCUkR8sC.d.ts} +1 -1
- package/dist/{index-KA3gg4es.d.ts → index-BKjt3X8L.d.ts} +1 -1
- package/dist/{index-fhOvuvlv.d.ts → index-CVFEyBvK.d.ts} +1 -1
- package/dist/{index-C7T0Xx19.d.ts → index-D7BJuXP3.d.ts} +3 -3
- package/dist/{index-Caqvetqq.d.ts → index-D9RN6jp1.d.ts} +2 -0
- package/dist/{index-Cz9_vPi7.d.ts → index-DYQF_AIz.d.ts} +2 -2
- package/dist/{index-DBF8VqIf.d.ts → index-DkObbJD_.d.ts} +1 -1
- package/dist/{index-BZPEyVOl.d.ts → index-DohlGQGw.d.ts} +3 -3
- package/dist/{index-DohaJRZP.d.ts → index-DraeealK.d.ts} +2 -2
- package/dist/index.d.ts +23 -19
- package/dist/index.js +35 -161
- package/dist/index.js.map +1 -1
- package/dist/init/index.d.ts +2 -2
- package/dist/init/index.js +6 -5
- package/dist/instrumentation/index.d.ts +3 -3
- package/dist/layer/index.d.ts +2 -2
- package/dist/layer/index.js +2 -2
- package/dist/{layer-CUu_cZ7d.d.ts → layer-GNAVXBMf.d.ts} +2 -0
- package/dist/logger/index.d.ts +2 -2
- package/dist/notifications/index.d.ts +3 -3
- package/dist/notifications/index.js +3 -3
- package/dist/rbac/index.d.ts +3 -3
- package/dist/rbac/index.js +3 -3
- package/dist/resource-caps/index.d.ts +2 -2
- package/dist/server/index.js +5 -3
- package/dist/server/index.js.map +1 -1
- package/dist/telemetry/index.d.ts +4 -4
- package/dist/temporal/index.d.ts +1 -1
- package/dist/temporal/index.js +2 -2
- package/dist/tracker/index.d.ts +4 -4
- package/dist/tracker/index.js +5 -5
- package/dist/workspace-guard-4BUG4ZP2.js +5 -0
- package/dist/{workspace-guard-3JLBFAMH.js.map → workspace-guard-4BUG4ZP2.js.map} +1 -1
- package/package.json +3 -7
- package/dist/chunk-O6RHB2YP.js.map +0 -1
- package/dist/chunk-OJWJVZY5.js.map +0 -1
- package/dist/chunk-VWCN5PMD.js.map +0 -1
- package/dist/chunk-VWNL2O3G.js.map +0 -1
- package/dist/workspace-guard-3JLBFAMH.js +0 -5
package/dist/init/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as AnalyticsConfig, B as BurdenoffSDKInitConfig, C as ClickHouseConfig, D as DatabaseConfig, E as EventQueueConfig, G as GraphSyncConfig, I as InitializedSDKState, L as LayerInitConfig, a as LoggingConfig, M as MetricsConfig, O as ObservabilityConfig, b as OpenTelemetryConfig, S as SDKCacheConfig, c as SDKValkeyCacheConfig, g as getSDKState, d as initializeBurdenoffSDK, e as isSDKInitialized, r as resetSDK } from '../index-
|
|
2
|
-
import '../layer-
|
|
1
|
+
export { A as AnalyticsConfig, B as BurdenoffSDKInitConfig, C as ClickHouseConfig, D as DatabaseConfig, E as EventQueueConfig, G as GraphSyncConfig, I as InitializedSDKState, L as LayerInitConfig, a as LoggingConfig, M as MetricsConfig, O as ObservabilityConfig, b as OpenTelemetryConfig, S as SDKCacheConfig, c as SDKValkeyCacheConfig, g as getSDKState, d as initializeBurdenoffSDK, e as isSDKInitialized, r as resetSDK } from '../index-B0ebYV9W.js';
|
|
2
|
+
import '../layer-GNAVXBMf.js';
|
package/dist/init/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { getSDKState, initializeBurdenoffSDK, isSDKInitialized, resetSDK } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
1
|
+
export { getSDKState, initializeBurdenoffSDK, isSDKInitialized, resetSDK } from '../chunk-5FEOFBQ4.js';
|
|
2
|
+
import '../chunk-N7UJFZQH.js';
|
|
3
|
+
import '../chunk-L2P4CJUR.js';
|
|
4
|
+
import '../chunk-UIMPJNWC.js';
|
|
5
|
+
import '../chunk-DXX6C6X6.js';
|
|
6
|
+
import '../chunk-YFOHAHZE.js';
|
|
6
7
|
import '../chunk-CBZNP6RF.js';
|
|
7
8
|
import '../chunk-XE4OXN2W.js';
|
|
8
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as ApolloInlineTraceOptions, C as CacheInstrumentationConfig, b as Counter, D as DEFAULT_CACHE_CONFIG, c as DEFAULT_DATABASE_CONFIG, d as DEFAULT_EVENT_QUEUE_CONFIG, e as DEFAULT_FEATURE_FLAGS, f as DEFAULT_GRAPHQL_CONFIG, g as DEFAULT_HTTP_CONFIG, h as DEFAULT_LOGGING_CONFIG, j as DEFAULT_METRICS_CONFIG, k as DEFAULT_TRACING_CONFIG, l as DatabaseInstrumentationConfig, E as ENV_VARS, m as EventQueueInstrumentationConfig, G as Gauge, n as GraphQLInstrumentationConfig, o as GraphQLOperationInfo, p as GraphQLOperationType, H as HTTPInstrumentationConfig, q as Histogram, r as InitializeInstrumentationOptions, t as Instrument, u as InstrumentationConfig, v as InstrumentationContextExtension, w as InstrumentationFeatureFlags, I as InstrumentationSetupResult, L as Log, x as LoggingConfig, M as Metric, y as MetricDefinition, z as MetricLabels, B as MetricsConfig, F as MetricsRegistry, O as OperationContext, P as PrometheusPluginOptions, J as STANDARD_METRICS, S as SetupInstrumentationOptions, K as Span, N as SpanAttributes, Q as SpanContext, R as SpanEvent, T as SpanKind, U as SpanStatus, V as Trace, W as TraceContext, X as Tracer, Y as TracingConfig, Z as UpDownCounter, _ as buildDatabaseConfig, $ as buildFeatureFlags, a0 as buildGraphQLConfig, a1 as buildInstrumentationConfig, a2 as buildMetricsConfig, a3 as buildTracingConfig, a4 as createApolloInlineTracePlugin, a5 as createCounter, a6 as createGauge, a7 as createGraphQLInstrumentationPlugin, a8 as createHistogram, a9 as createPrometheusPlugin, aa as createUpDownCounter, ab as extractOperationInfo, ac as extractTraceContext, ad as getGraphQLOperationFromContext, ae as getGraphQLSpanFromContext, af as getInstrumentationConfig, ag as getLogger, ah as getMetricsRegistry, ai as getTraceContext, aj as getTracer, i as initializeInstrumentation, ak as initializeInstrumentationConfig, al as initializeMetricsRegistry, am as initializeTracer, an as injectTraceContext, ao as instrumentResolver, ap as instrumentResolverMap, aq as instrumented, ar as isApolloInlineTraceAvailable, as as isFeatureEnabled, at as isInstrumentationConfigInitialized, au as isInstrumentationInitialized, av as isMetricsRegistryInitialized, aw as isPrometheusAvailable, ax as isTracerInitialized, ay as resetInstrumentation, az as resetInstrumentationConfig, aA as resetMetricsRegistry, s as setupInstrumentation, aB as startSpan, aC as traced, aD as updateInstrumentationConfig, aE as withSpan } from '../index-
|
|
2
|
-
export { l as logger } from '../index-
|
|
3
|
-
import '../index-
|
|
1
|
+
export { A as ApolloInlineTraceOptions, C as CacheInstrumentationConfig, b as Counter, D as DEFAULT_CACHE_CONFIG, c as DEFAULT_DATABASE_CONFIG, d as DEFAULT_EVENT_QUEUE_CONFIG, e as DEFAULT_FEATURE_FLAGS, f as DEFAULT_GRAPHQL_CONFIG, g as DEFAULT_HTTP_CONFIG, h as DEFAULT_LOGGING_CONFIG, j as DEFAULT_METRICS_CONFIG, k as DEFAULT_TRACING_CONFIG, l as DatabaseInstrumentationConfig, E as ENV_VARS, m as EventQueueInstrumentationConfig, G as Gauge, n as GraphQLInstrumentationConfig, o as GraphQLOperationInfo, p as GraphQLOperationType, H as HTTPInstrumentationConfig, q as Histogram, r as InitializeInstrumentationOptions, t as Instrument, u as InstrumentationConfig, v as InstrumentationContextExtension, w as InstrumentationFeatureFlags, I as InstrumentationSetupResult, L as Log, x as LoggingConfig, M as Metric, y as MetricDefinition, z as MetricLabels, B as MetricsConfig, F as MetricsRegistry, O as OperationContext, P as PrometheusPluginOptions, J as STANDARD_METRICS, S as SetupInstrumentationOptions, K as Span, N as SpanAttributes, Q as SpanContext, R as SpanEvent, T as SpanKind, U as SpanStatus, V as Trace, W as TraceContext, X as Tracer, Y as TracingConfig, Z as UpDownCounter, _ as buildDatabaseConfig, $ as buildFeatureFlags, a0 as buildGraphQLConfig, a1 as buildInstrumentationConfig, a2 as buildMetricsConfig, a3 as buildTracingConfig, a4 as createApolloInlineTracePlugin, a5 as createCounter, a6 as createGauge, a7 as createGraphQLInstrumentationPlugin, a8 as createHistogram, a9 as createPrometheusPlugin, aa as createUpDownCounter, ab as extractOperationInfo, ac as extractTraceContext, ad as getGraphQLOperationFromContext, ae as getGraphQLSpanFromContext, af as getInstrumentationConfig, ag as getLogger, ah as getMetricsRegistry, ai as getTraceContext, aj as getTracer, i as initializeInstrumentation, ak as initializeInstrumentationConfig, al as initializeMetricsRegistry, am as initializeTracer, an as injectTraceContext, ao as instrumentResolver, ap as instrumentResolverMap, aq as instrumented, ar as isApolloInlineTraceAvailable, as as isFeatureEnabled, at as isInstrumentationConfigInitialized, au as isInstrumentationInitialized, av as isMetricsRegistryInitialized, aw as isPrometheusAvailable, ax as isTracerInitialized, ay as resetInstrumentation, az as resetInstrumentationConfig, aA as resetMetricsRegistry, s as setupInstrumentation, aB as startSpan, aC as traced, aD as updateInstrumentationConfig, aE as withSpan } from '../index-CVFEyBvK.js';
|
|
2
|
+
export { l as logger } from '../index-B-w7NWpD.js';
|
|
3
|
+
import '../index-D9RN6jp1.js';
|
package/dist/layer/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { D as DEFAULT_GATEWAY_ROUTING, b as DEFAULT_LAYER_RESOURCES, c as DEFAULT_LAYER_STREAMS, G as GatewayRoutingConfig, L as LayerConfig, a as LayerFullConfig, d as LayerGatewayConfig, e as LayerResourceUrls, S as ServiceLayer } from '../layer-
|
|
2
|
-
export { L as LayerManager, c as createLayerManagerFromEnv, d as detectLayerFromServiceName, g as getGatewayUrlForLayer, v as validateLayerConfig } from '../index-
|
|
1
|
+
export { D as DEFAULT_GATEWAY_ROUTING, b as DEFAULT_LAYER_RESOURCES, c as DEFAULT_LAYER_STREAMS, G as GatewayRoutingConfig, L as LayerConfig, a as LayerFullConfig, d as LayerGatewayConfig, e as LayerResourceUrls, S as ServiceLayer } from '../layer-GNAVXBMf.js';
|
|
2
|
+
export { L as LayerManager, c as createLayerManagerFromEnv, d as detectLayerFromServiceName, g as getGatewayUrlForLayer, v as validateLayerConfig } from '../index-BCUkR8sC.js';
|
package/dist/layer/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { LayerManager, createLayerManagerFromEnv, detectLayerFromServiceName, getGatewayUrlForLayer, validateLayerConfig } from '../chunk-
|
|
2
|
-
export { DEFAULT_GATEWAY_ROUTING, DEFAULT_LAYER_RESOURCES, DEFAULT_LAYER_STREAMS } from '../chunk-
|
|
1
|
+
export { LayerManager, createLayerManagerFromEnv, detectLayerFromServiceName, getGatewayUrlForLayer, validateLayerConfig } from '../chunk-UIMPJNWC.js';
|
|
2
|
+
export { DEFAULT_GATEWAY_ROUTING, DEFAULT_LAYER_RESOURCES, DEFAULT_LAYER_STREAMS } from '../chunk-YFOHAHZE.js';
|
|
3
3
|
import '../chunk-CBZNP6RF.js';
|
|
4
4
|
import '../chunk-XE4OXN2W.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -62,6 +62,8 @@ interface GatewayRequestHeaders {
|
|
|
62
62
|
'x-rbac-bypass'?: 'true' | 'false';
|
|
63
63
|
'x-bypass-source'?: string;
|
|
64
64
|
'x-bypass-timestamp'?: string;
|
|
65
|
+
'cf-access-client-id'?: string;
|
|
66
|
+
'cf-access-client-secret'?: string;
|
|
65
67
|
}
|
|
66
68
|
|
|
67
69
|
export { type CircuitBreakerConfig as C, DEFAULT_GATEWAY_ROUTING as D, type GatewayRoutingConfig as G, type LayerConfig as L, type ServiceLayer as S, type LayerFullConfig as a, DEFAULT_LAYER_RESOURCES as b, DEFAULT_LAYER_STREAMS as c, type LayerGatewayConfig as d, type LayerResourceUrls as e, type GatewayRequestHeaders as f, type GatewayRetryConfig as g, DEFAULT_CIRCUIT_BREAKER_CONFIG as h, DEFAULT_GATEWAY_RETRY_CONFIG as i };
|
package/dist/logger/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../index-
|
|
2
|
-
export { a as LogLevel, b as LogMeta, L as Logger, c as LoggerConfig, d as LoggerTransport, e as debug, f as error, g as log, l as logger, r as redactSensitiveFields, w as warn } from '../index-
|
|
1
|
+
import '../index-D9RN6jp1.js';
|
|
2
|
+
export { a as LogLevel, b as LogMeta, L as Logger, c as LoggerConfig, d as LoggerTransport, e as debug, f as error, g as log, l as logger, r as redactSensitiveFields, w as warn } from '../index-B-w7NWpD.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '../graphql-
|
|
2
|
-
import '../index-
|
|
3
|
-
export { G as GetNotificationsOptions, b as Notification, c as NotificationChannel, d as NotificationPriority, e as NotificationResponse, N as NotificationType, a as NotificationsModule, R as RecipientInput, S as SendChannelNotificationOptions, f as SendNotificationOptions, g as SendTemplateNotificationOptions, T as TenantNotificationsModule } from '../index-
|
|
1
|
+
import '../graphql-CNhiZ89U.js';
|
|
2
|
+
import '../index-D9RN6jp1.js';
|
|
3
|
+
export { G as GetNotificationsOptions, b as Notification, c as NotificationChannel, d as NotificationPriority, e as NotificationResponse, N as NotificationType, a as NotificationsModule, R as RecipientInput, S as SendChannelNotificationOptions, f as SendNotificationOptions, g as SendTemplateNotificationOptions, T as TenantNotificationsModule } from '../index-DraeealK.js';
|
|
4
4
|
import 'graphql-request';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { NotificationChannel, NotificationPriority, NotificationType, NotificationsModule, TenantNotificationsModule } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { NotificationChannel, NotificationPriority, NotificationType, NotificationsModule, TenantNotificationsModule } from '../chunk-ZHQUXD6S.js';
|
|
2
|
+
import '../chunk-SMGTXYFR.js';
|
|
3
|
+
import '../chunk-YFOHAHZE.js';
|
|
4
4
|
import '../chunk-CBZNP6RF.js';
|
|
5
5
|
import '../chunk-XE4OXN2W.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/dist/rbac/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as BurdenoffGraphQLClient } from '../graphql-
|
|
2
|
-
import { S as SDKContext } from '../index-
|
|
1
|
+
import { B as BurdenoffGraphQLClient } from '../graphql-CNhiZ89U.js';
|
|
2
|
+
import { S as SDKContext } from '../index-D9RN6jp1.js';
|
|
3
3
|
import { Plugin } from '@envelop/core';
|
|
4
|
-
import { S as ServiceLayer } from '../layer-
|
|
4
|
+
import { S as ServiceLayer } from '../layer-GNAVXBMf.js';
|
|
5
5
|
import 'graphql-request';
|
|
6
6
|
|
|
7
7
|
type ActorType = 'USER' | 'BOT' | 'INTEGRATION' | 'DELEGATED_AGENT';
|
package/dist/rbac/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { RBACClient, RBACModule, createRBACClientFromEnv, createRBACDirective, createRBACDirectiveForLayer, createRBACDirectiveFromEnv } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { RBACClient, RBACModule, createRBACClientFromEnv, createRBACDirective, createRBACDirectiveForLayer, createRBACDirectiveFromEnv } from '../chunk-FTDQ6NY5.js';
|
|
2
|
+
import '../chunk-SMGTXYFR.js';
|
|
3
|
+
import '../chunk-YFOHAHZE.js';
|
|
4
4
|
import '../chunk-CBZNP6RF.js';
|
|
5
5
|
import '../chunk-XE4OXN2W.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GraphQLError } from 'graphql';
|
|
2
|
-
import { B as BurdenoffGraphQLClient } from '../graphql-
|
|
2
|
+
import { B as BurdenoffGraphQLClient } from '../graphql-CNhiZ89U.js';
|
|
3
3
|
import 'graphql-request';
|
|
4
|
-
import '../index-
|
|
4
|
+
import '../index-D9RN6jp1.js';
|
|
5
5
|
|
|
6
6
|
type ResourceName = 'workspace' | 'workspaceMember' | 'sandbox' | 'vibe' | 'agent' | 'conversation' | 'message' | 'tag' | 'file' | 'group' | 'calendar' | 'scheduledTask' | 'form' | 'apiKey' | 'webhook';
|
|
7
7
|
type PlanTier = 'free' | 'paid';
|
package/dist/server/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { createHumanReadableErrorPlugin, formatHttpError, normalizeGraphQLResponse, createHttpErrorResponse } from '../chunk-
|
|
2
|
-
export { UserFacingGraphQLError, createHttpErrorResponse, createHumanReadableErrorPlugin, createWorkspaceGuardPlugin, formatHttpError, normalizeError, normalizeExecutionResultErrors, normalizeGraphQLResponse, normalizeGraphQLResponsePayload, toUserFacingGraphQLError } from '../chunk-
|
|
1
|
+
import { createHumanReadableErrorPlugin, formatHttpError, normalizeGraphQLResponse, createHttpErrorResponse } from '../chunk-OQLDXOZ3.js';
|
|
2
|
+
export { UserFacingGraphQLError, createHttpErrorResponse, createHumanReadableErrorPlugin, createWorkspaceGuardPlugin, formatHttpError, normalizeError, normalizeExecutionResultErrors, normalizeGraphQLResponse, normalizeGraphQLResponsePayload, toUserFacingGraphQLError } from '../chunk-OQLDXOZ3.js';
|
|
3
3
|
import { setWorkspaceContext } from '../chunk-GTEMQXCA.js';
|
|
4
4
|
import { I18n } from '../chunk-ULFFX3YE.js';
|
|
5
|
+
import { ContextManager } from '../chunk-DXX6C6X6.js';
|
|
5
6
|
import { logger } from '../chunk-CBZNP6RF.js';
|
|
6
7
|
import { __name } from '../chunk-XE4OXN2W.js';
|
|
7
8
|
import crypto from 'crypto';
|
|
@@ -402,6 +403,7 @@ async function buildContext(request) {
|
|
|
402
403
|
rawHeader: getHeader(request, "x-workspace-id") ?? "MISSING"
|
|
403
404
|
});
|
|
404
405
|
setWorkspaceContext(wsCtxPayload);
|
|
406
|
+
ContextManager.setCfAccessContext(getHeader(request, "cf-access-client-id"), getHeader(request, "cf-access-client-secret"));
|
|
405
407
|
return {
|
|
406
408
|
request,
|
|
407
409
|
actor,
|
|
@@ -473,7 +475,7 @@ async function createServer(definition) {
|
|
|
473
475
|
const { initializeDatabase, getDb: getDb2, getDatabaseManager } = await import('../prisma/index.js');
|
|
474
476
|
const { createSecurityPlugin } = await import('../middleware/index.js');
|
|
475
477
|
const { createMetricsPlugin } = await import('../observability/index.js');
|
|
476
|
-
const { createWorkspaceGuardPlugin: createWorkspaceGuardPlugin2 } = await import('../workspace-guard-
|
|
478
|
+
const { createWorkspaceGuardPlugin: createWorkspaceGuardPlugin2 } = await import('../workspace-guard-4BUG4ZP2.js');
|
|
477
479
|
logger.info(`[Server] Initializing ${config.serviceName}...`);
|
|
478
480
|
const boundary = config.boundary ?? (config.serviceName.startsWith("wspace-") ? "wspace" : config.serviceName.startsWith("global-") ? "global" : "wspace");
|
|
479
481
|
const shouldEnableWorkspaceExtension = disableWorkspaceExtension === true ? false : disableWorkspaceExtension === false ? true : boundary === "wspace";
|