@capxul/observability 4.20.0-beta.36 → 4.20.0-beta.38

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/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as AuthVerifiedTelemetryEventSchema, $t as ChainAttemptSchema, A as BootstrapResolvedTelemetryEventSchema, At as OrganizationCreationReadyTelemetryEventSchema, B as CliCommandCompletedTelemetryEventSchema, Bt as DepositSettledTelemetryEventSchema, C as VerificationInformationRequestedTelemetryEventSchema, Ct as PermissionMirrorVerificationTelemetryEventSchema, D as VerificationSubmittedTelemetryEventSchema, Dt as OrgInviteProgressedTelemetryEventSchema, E as VerificationStartedTelemetryEventSchema, Et as OrgInviteExpiredTelemetryEventSchema, F as OnboardingIntentSelectedTelemetryEventSchema, Ft as OperationRetriedTelemetryEventSchema, G as CLI_COMMAND_NAMES, Gt as PaymentInitiatedTelemetryEventSchema, H as CliDiagnosticCompletedTelemetryEventSchema, Ht as FaucetFailedTelemetryEventSchema, I as OnboardingOrganizationSubmittedTelemetryEventSchema, It as ReceiptPendingTelemetryEventSchema, J as AuthFailedTelemetryEventSchema, Jt as PaymentVerificationRetryTelemetryEventSchema, K as CLI_INVOCATION_KINDS, Kt as PaymentLifecycleTransitionTelemetryEventSchema, L as OnboardingProfileSubmittedTelemetryEventSchema, Lt as AccountBalanceFailedTelemetryEventSchema, M as MemberActivationReadyTelemetryEventSchema, Mt as UiContactActionCompletedTelemetryEventSchema, N as MemberActivationStartedTelemetryEventSchema, Nt as BundlerErrorTelemetryEventSchema, O as VerificationTermsAcceptedTelemetryEventSchema, Ot as OrgInviteSentTelemetryEventSchema, P as OnboardingDashboardReachedTelemetryEventSchema, Pt as ChainUpstreamFallbackTelemetryEventSchema, Q as AuthSignedOutTelemetryEventSchema, Qt as CAPXUL_ENVS, R as ProvisioningSafeConfirmedTelemetryEventSchema, Rt as AccountBalanceReadTelemetryEventSchema, S as VerificationApprovedTelemetryEventSchema, St as MovementScanWindowTelemetryEventSchema, T as VerificationRejectedTelemetryEventSchema, Tt as OrgInviteAcceptedTelemetryEventSchema, U as CliFirstUsedTelemetryEventSchema, Ut as FaucetRequestedTelemetryEventSchema, V as CliCommandStartedTelemetryEventSchema, Vt as FaucetConfirmedTelemetryEventSchema, W as CLI_CAPABILITIES, Wt as PaymentFailedTelemetryEventSchema, X as AuthOtpExpiredTelemetryEventSchema, Xt as JOURNEYS, Y as AuthOtpDeliveredTelemetryEventSchema, Yt as QuickPayExternalAddressAcknowledgedTelemetryEventSchema, Z as AuthOtpRequestedTelemetryEventSchema, Zt as TELEMETRY_JOURNEYS, _ as CONTRACT_FIRST_TELEMETRY_EVENTS, _t as ActivityAnnotationSavedTelemetryEventSchema, a as initializeCapxulBrowserAnalytics, an as PII, at as NativeAuthorizationReviewedTelemetryEventSchema, b as RETIRED_TELEMETRY_EVENTS, bt as MovementScanCheckpointTelemetryEventSchema, c as utilityAppAnalytics, cn as SYNCABLE_CAPXUL_ENVS, ct as InvoiceIssuedTelemetryEventSchema, d as redactTelemetryEvent, dn as TELEMETRY_EVENT_NAMES, dt as PayrollRunTransitionedTelemetryEventSchema, en as ChainUpstreamSchema, et as IdentityRefusedTelemetryEventSchema, f as redactTelemetryProps, fn as CAPXUL_OPERATIONS, ft as UiApprovalSignInRequiredTelemetryEventSchema, g as BROWSER_GATED_TELEMETRY_EVENTS, gt as UiTreasuryStepCompletedTelemetryEventSchema, h as track, ht as UiReceiveStepCompletedTelemetryEventSchema, i as createPostHogBrowserPageviewTracker, in as JourneyVariantProps, it as NativeAuthorizationFailedTelemetryEventSchema, j as MemberActivationFailedTelemetryEventSchema, jt as OrganizationCreationStartedTelemetryEventSchema, k as BootstrapFailedTelemetryEventSchema, kt as OrganizationCreationFailedTelemetryEventSchema, l as sanitizePostHogBrowserEvent, ln as TELEMETRY_PRODUCERS, lt as InvoiceRequestTransitionedTelemetryEventSchema, m as setTrackHandler, mn as normalizeCapxulOperation, mt as UiPayrollActionCompletedTelemetryEventSchema, n as RecordingTelemetryAdapter, nn as EXPECTED_OUTCOME_EVENT_NAME, nt as NativeAuthorizationConnectedTelemetryEventSchema, o as initializePostHogBrowserAnalytics, on as ResponseHeadersSchema, ot as NativeAuthorizationStartedTelemetryEventSchema, p as getTrackHandler, pn as isCapxulOperation, pt as UiInvoiceStepCompletedTelemetryEventSchema, q as AccessRecoveryCompletedTelemetryEventSchema, qt as PaymentSettledTelemetryEventSchema, r as createCapxulBeforeSend, rn as FailureModeSchema, rt as NativeAuthorizationDeniedTelemetryEventSchema, s as productAppAnalytics, sn as SDK_EXPECTED_OUTCOME_EVENT_NAME, st as UiAccessStepCompletedTelemetryEventSchema, t as InMemoryTelemetryBusAdapter, tn as EXCEPTION_EVENT_NAME, tt as NativeAuthorizationAcceptedTelemetryEventSchema, u as maskCapturedNetworkRequest, un as stampTelemetryEnvelope, ut as PayrollGroupChangedTelemetryEventSchema, v as FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, vt as UiActivityActionCompletedTelemetryEventSchema, w as VerificationLivenessRequestedTelemetryEventSchema, wt as ContactRelationshipChangedTelemetryEventSchema, x as TELEMETRY_EVENT_SCHEMAS, xt as MovementScanIncidentTelemetryEventSchema, y as PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, yt as IndexerDriftCorrectedTelemetryEventSchema, z as ProvisioningSafeCreatedTelemetryEventSchema, zt as DepositInitiatedTelemetryEventSchema } from "./src-B2XswhQh.mjs";
2
- export { AccessRecoveryCompletedTelemetryEventSchema, AccountBalanceFailedTelemetryEventSchema, AccountBalanceReadTelemetryEventSchema, ActivityAnnotationSavedTelemetryEventSchema, AuthFailedTelemetryEventSchema, AuthOtpDeliveredTelemetryEventSchema, AuthOtpExpiredTelemetryEventSchema, AuthOtpRequestedTelemetryEventSchema, AuthSignedOutTelemetryEventSchema, AuthVerifiedTelemetryEventSchema, BROWSER_GATED_TELEMETRY_EVENTS, BootstrapFailedTelemetryEventSchema, BootstrapResolvedTelemetryEventSchema, BundlerErrorTelemetryEventSchema, CAPXUL_ENVS, CAPXUL_OPERATIONS, CLI_CAPABILITIES, CLI_COMMAND_NAMES, CLI_INVOCATION_KINDS, CONTRACT_FIRST_TELEMETRY_EVENTS, ChainAttemptSchema, ChainUpstreamFallbackTelemetryEventSchema, ChainUpstreamSchema, CliCommandCompletedTelemetryEventSchema, CliCommandStartedTelemetryEventSchema, CliDiagnosticCompletedTelemetryEventSchema, CliFirstUsedTelemetryEventSchema, ContactRelationshipChangedTelemetryEventSchema, DepositInitiatedTelemetryEventSchema, DepositSettledTelemetryEventSchema, EXCEPTION_EVENT_NAME, EXPECTED_OUTCOME_EVENT_NAME, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, FailureModeSchema, FaucetConfirmedTelemetryEventSchema, FaucetFailedTelemetryEventSchema, FaucetRequestedTelemetryEventSchema, IdentityRefusedTelemetryEventSchema, InMemoryTelemetryBusAdapter, IndexerDriftCorrectedTelemetryEventSchema, InvoiceIssuedTelemetryEventSchema, InvoiceRequestTransitionedTelemetryEventSchema, JOURNEYS, JourneyVariantProps, MemberActivationFailedTelemetryEventSchema, MemberActivationReadyTelemetryEventSchema, MemberActivationStartedTelemetryEventSchema, MovementScanCheckpointTelemetryEventSchema, MovementScanIncidentTelemetryEventSchema, MovementScanWindowTelemetryEventSchema, NativeAuthorizationAcceptedTelemetryEventSchema, NativeAuthorizationConnectedTelemetryEventSchema, NativeAuthorizationDeniedTelemetryEventSchema, NativeAuthorizationFailedTelemetryEventSchema, NativeAuthorizationReviewedTelemetryEventSchema, NativeAuthorizationStartedTelemetryEventSchema, OnboardingDashboardReachedTelemetryEventSchema, OnboardingIntentSelectedTelemetryEventSchema, OnboardingOrganizationSubmittedTelemetryEventSchema, OnboardingProfileSubmittedTelemetryEventSchema, OperationRetriedTelemetryEventSchema, OrgInviteAcceptedTelemetryEventSchema, OrgInviteExpiredTelemetryEventSchema, OrgInviteProgressedTelemetryEventSchema, OrgInviteSentTelemetryEventSchema, OrganizationCreationFailedTelemetryEventSchema, OrganizationCreationReadyTelemetryEventSchema, OrganizationCreationStartedTelemetryEventSchema, PII, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, PaymentFailedTelemetryEventSchema, PaymentInitiatedTelemetryEventSchema, PaymentLifecycleTransitionTelemetryEventSchema, PaymentSettledTelemetryEventSchema, PaymentVerificationRetryTelemetryEventSchema, PayrollGroupChangedTelemetryEventSchema, PayrollRunTransitionedTelemetryEventSchema, PermissionMirrorVerificationTelemetryEventSchema, ProvisioningSafeConfirmedTelemetryEventSchema, ProvisioningSafeCreatedTelemetryEventSchema, QuickPayExternalAddressAcknowledgedTelemetryEventSchema, RETIRED_TELEMETRY_EVENTS, ReceiptPendingTelemetryEventSchema, RecordingTelemetryAdapter, ResponseHeadersSchema, SDK_EXPECTED_OUTCOME_EVENT_NAME, SYNCABLE_CAPXUL_ENVS, TELEMETRY_EVENT_NAMES, TELEMETRY_EVENT_SCHEMAS, TELEMETRY_JOURNEYS, TELEMETRY_PRODUCERS, UiAccessStepCompletedTelemetryEventSchema, UiActivityActionCompletedTelemetryEventSchema, UiApprovalSignInRequiredTelemetryEventSchema, UiContactActionCompletedTelemetryEventSchema, UiInvoiceStepCompletedTelemetryEventSchema, UiPayrollActionCompletedTelemetryEventSchema, UiReceiveStepCompletedTelemetryEventSchema, UiTreasuryStepCompletedTelemetryEventSchema, VerificationApprovedTelemetryEventSchema, VerificationInformationRequestedTelemetryEventSchema, VerificationLivenessRequestedTelemetryEventSchema, VerificationRejectedTelemetryEventSchema, VerificationStartedTelemetryEventSchema, VerificationSubmittedTelemetryEventSchema, VerificationTermsAcceptedTelemetryEventSchema, createCapxulBeforeSend, createPostHogBrowserPageviewTracker, getTrackHandler, initializeCapxulBrowserAnalytics, initializePostHogBrowserAnalytics, isCapxulOperation, maskCapturedNetworkRequest, normalizeCapxulOperation, productAppAnalytics, redactTelemetryEvent, redactTelemetryProps, sanitizePostHogBrowserEvent, setTrackHandler, stampTelemetryEnvelope, track, utilityAppAnalytics };
1
+ import { $ as AuthSignedOutTelemetryEventSchema, $t as CAPXUL_ENVS, A as BootstrapResolvedTelemetryEventSchema, At as OrganizationCreationFailedTelemetryEventSchema, B as CliCommandCompletedTelemetryEventSchema, Bt as DepositInitiatedTelemetryEventSchema, C as VerificationInformationRequestedTelemetryEventSchema, Ct as MovementScanWindowTelemetryEventSchema, D as VerificationSubmittedTelemetryEventSchema, Dt as OrgInviteExpiredTelemetryEventSchema, E as VerificationStartedTelemetryEventSchema, Et as OrgInviteAcceptedTelemetryEventSchema, F as OnboardingIntentSelectedTelemetryEventSchema, Ft as ChainUpstreamFallbackTelemetryEventSchema, G as CLI_COMMAND_NAMES, Gt as PaymentFailedTelemetryEventSchema, H as CliDiagnosticCompletedTelemetryEventSchema, Ht as FaucetConfirmedTelemetryEventSchema, I as OnboardingOrganizationSubmittedTelemetryEventSchema, It as OperationRetriedTelemetryEventSchema, J as AccessRecoveryCompletedTelemetryEventSchema, Jt as PaymentSettledTelemetryEventSchema, K as CLI_INVOCATION_KINDS, Kt as PaymentInitiatedTelemetryEventSchema, L as OnboardingProfileSubmittedTelemetryEventSchema, Lt as ReceiptPendingTelemetryEventSchema, M as MemberActivationReadyTelemetryEventSchema, Mt as OrganizationCreationStartedTelemetryEventSchema, N as MemberActivationStartedTelemetryEventSchema, Nt as UiContactActionCompletedTelemetryEventSchema, O as VerificationTermsAcceptedTelemetryEventSchema, Ot as OrgInviteProgressedTelemetryEventSchema, P as OnboardingDashboardReachedTelemetryEventSchema, Pt as BundlerErrorTelemetryEventSchema, Q as AuthOtpRequestedTelemetryEventSchema, Qt as TELEMETRY_JOURNEYS, R as ProvisioningSafeConfirmedTelemetryEventSchema, Rt as AccountBalanceFailedTelemetryEventSchema, S as VerificationApprovedTelemetryEventSchema, St as MovementScanIncidentTelemetryEventSchema, T as VerificationRejectedTelemetryEventSchema, Tt as ContactRelationshipChangedTelemetryEventSchema, U as CliFirstUsedTelemetryEventSchema, Ut as FaucetFailedTelemetryEventSchema, V as CliCommandStartedTelemetryEventSchema, Vt as DepositSettledTelemetryEventSchema, W as CLI_CAPABILITIES, Wt as FaucetRequestedTelemetryEventSchema, X as AuthOtpDeliveredTelemetryEventSchema, Xt as QuickPayExternalAddressAcknowledgedTelemetryEventSchema, Y as AuthFailedTelemetryEventSchema, Yt as PaymentVerificationRetryTelemetryEventSchema, Z as AuthOtpExpiredTelemetryEventSchema, Zt as JOURNEYS, _ as CONTRACT_FIRST_TELEMETRY_EVENTS, _t as UiTreasuryStepCompletedTelemetryEventSchema, a as initializeCapxulBrowserAnalytics, an as JourneyVariantProps, at as NativeAuthorizationFailedTelemetryEventSchema, b as RETIRED_TELEMETRY_EVENTS, bt as IndexerDriftCorrectedTelemetryEventSchema, c as utilityAppAnalytics, cn as ResponseHeadersSchema, ct as UiAccessStepCompletedTelemetryEventSchema, d as redactTelemetryEvent, dn as TELEMETRY_PRODUCERS, dt as PayrollGroupChangedTelemetryEventSchema, en as ChainAttemptSchema, et as AuthVerifiedTelemetryEventSchema, f as redactTelemetryProps, fn as stampTelemetryEnvelope, ft as PayrollRunTransitionedTelemetryEventSchema, g as BROWSER_GATED_TELEMETRY_EVENTS, gn as normalizeCapxulOperation, gt as UiReceiveStepCompletedTelemetryEventSchema, h as track, hn as isCapxulOperation, ht as UiPayrollActionCompletedTelemetryEventSchema, i as createPostHogBrowserPageviewTracker, in as FailureModeSchema, it as NativeAuthorizationDeniedTelemetryEventSchema, j as MemberActivationFailedTelemetryEventSchema, jt as OrganizationCreationReadyTelemetryEventSchema, k as BootstrapFailedTelemetryEventSchema, kt as OrgInviteSentTelemetryEventSchema, l as sanitizePostHogBrowserEvent, ln as SDK_EXPECTED_OUTCOME_EVENT_NAME, lt as InvoiceIssuedTelemetryEventSchema, m as setTrackHandler, mn as CAPXUL_OPERATIONS, mt as UiInvoiceStepCompletedTelemetryEventSchema, n as RecordingTelemetryAdapter, nn as EXCEPTION_EVENT_NAME, nt as NativeAuthorizationAcceptedTelemetryEventSchema, o as initializePostHogBrowserAnalytics, on as MCP_EXPECTED_OUTCOME_EVENT_NAME, ot as NativeAuthorizationReviewedTelemetryEventSchema, p as getTrackHandler, pn as TELEMETRY_EVENT_NAMES, pt as UiApprovalSignInRequiredTelemetryEventSchema, qt as PaymentLifecycleTransitionTelemetryEventSchema, r as createCapxulBeforeSend, rn as EXPECTED_OUTCOME_EVENT_NAME, rt as NativeAuthorizationConnectedTelemetryEventSchema, s as productAppAnalytics, sn as PII, st as NativeAuthorizationStartedTelemetryEventSchema, t as InMemoryTelemetryBusAdapter, tn as ChainUpstreamSchema, tt as IdentityRefusedTelemetryEventSchema, u as maskCapturedNetworkRequest, un as SYNCABLE_CAPXUL_ENVS, ut as InvoiceRequestTransitionedTelemetryEventSchema, v as FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, vt as ActivityAnnotationSavedTelemetryEventSchema, w as VerificationLivenessRequestedTelemetryEventSchema, wt as PermissionMirrorVerificationTelemetryEventSchema, x as TELEMETRY_EVENT_SCHEMAS, xt as MovementScanCheckpointTelemetryEventSchema, y as PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, yt as UiActivityActionCompletedTelemetryEventSchema, z as ProvisioningSafeCreatedTelemetryEventSchema, zt as AccountBalanceReadTelemetryEventSchema } from "./src-DYrEWRMT.mjs";
2
+ export { AccessRecoveryCompletedTelemetryEventSchema, AccountBalanceFailedTelemetryEventSchema, AccountBalanceReadTelemetryEventSchema, ActivityAnnotationSavedTelemetryEventSchema, AuthFailedTelemetryEventSchema, AuthOtpDeliveredTelemetryEventSchema, AuthOtpExpiredTelemetryEventSchema, AuthOtpRequestedTelemetryEventSchema, AuthSignedOutTelemetryEventSchema, AuthVerifiedTelemetryEventSchema, BROWSER_GATED_TELEMETRY_EVENTS, BootstrapFailedTelemetryEventSchema, BootstrapResolvedTelemetryEventSchema, BundlerErrorTelemetryEventSchema, CAPXUL_ENVS, CAPXUL_OPERATIONS, CLI_CAPABILITIES, CLI_COMMAND_NAMES, CLI_INVOCATION_KINDS, CONTRACT_FIRST_TELEMETRY_EVENTS, ChainAttemptSchema, ChainUpstreamFallbackTelemetryEventSchema, ChainUpstreamSchema, CliCommandCompletedTelemetryEventSchema, CliCommandStartedTelemetryEventSchema, CliDiagnosticCompletedTelemetryEventSchema, CliFirstUsedTelemetryEventSchema, ContactRelationshipChangedTelemetryEventSchema, DepositInitiatedTelemetryEventSchema, DepositSettledTelemetryEventSchema, EXCEPTION_EVENT_NAME, EXPECTED_OUTCOME_EVENT_NAME, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, FailureModeSchema, FaucetConfirmedTelemetryEventSchema, FaucetFailedTelemetryEventSchema, FaucetRequestedTelemetryEventSchema, IdentityRefusedTelemetryEventSchema, InMemoryTelemetryBusAdapter, IndexerDriftCorrectedTelemetryEventSchema, InvoiceIssuedTelemetryEventSchema, InvoiceRequestTransitionedTelemetryEventSchema, JOURNEYS, JourneyVariantProps, MCP_EXPECTED_OUTCOME_EVENT_NAME, MemberActivationFailedTelemetryEventSchema, MemberActivationReadyTelemetryEventSchema, MemberActivationStartedTelemetryEventSchema, MovementScanCheckpointTelemetryEventSchema, MovementScanIncidentTelemetryEventSchema, MovementScanWindowTelemetryEventSchema, NativeAuthorizationAcceptedTelemetryEventSchema, NativeAuthorizationConnectedTelemetryEventSchema, NativeAuthorizationDeniedTelemetryEventSchema, NativeAuthorizationFailedTelemetryEventSchema, NativeAuthorizationReviewedTelemetryEventSchema, NativeAuthorizationStartedTelemetryEventSchema, OnboardingDashboardReachedTelemetryEventSchema, OnboardingIntentSelectedTelemetryEventSchema, OnboardingOrganizationSubmittedTelemetryEventSchema, OnboardingProfileSubmittedTelemetryEventSchema, OperationRetriedTelemetryEventSchema, OrgInviteAcceptedTelemetryEventSchema, OrgInviteExpiredTelemetryEventSchema, OrgInviteProgressedTelemetryEventSchema, OrgInviteSentTelemetryEventSchema, OrganizationCreationFailedTelemetryEventSchema, OrganizationCreationReadyTelemetryEventSchema, OrganizationCreationStartedTelemetryEventSchema, PII, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, PaymentFailedTelemetryEventSchema, PaymentInitiatedTelemetryEventSchema, PaymentLifecycleTransitionTelemetryEventSchema, PaymentSettledTelemetryEventSchema, PaymentVerificationRetryTelemetryEventSchema, PayrollGroupChangedTelemetryEventSchema, PayrollRunTransitionedTelemetryEventSchema, PermissionMirrorVerificationTelemetryEventSchema, ProvisioningSafeConfirmedTelemetryEventSchema, ProvisioningSafeCreatedTelemetryEventSchema, QuickPayExternalAddressAcknowledgedTelemetryEventSchema, RETIRED_TELEMETRY_EVENTS, ReceiptPendingTelemetryEventSchema, RecordingTelemetryAdapter, ResponseHeadersSchema, SDK_EXPECTED_OUTCOME_EVENT_NAME, SYNCABLE_CAPXUL_ENVS, TELEMETRY_EVENT_NAMES, TELEMETRY_EVENT_SCHEMAS, TELEMETRY_JOURNEYS, TELEMETRY_PRODUCERS, UiAccessStepCompletedTelemetryEventSchema, UiActivityActionCompletedTelemetryEventSchema, UiApprovalSignInRequiredTelemetryEventSchema, UiContactActionCompletedTelemetryEventSchema, UiInvoiceStepCompletedTelemetryEventSchema, UiPayrollActionCompletedTelemetryEventSchema, UiReceiveStepCompletedTelemetryEventSchema, UiTreasuryStepCompletedTelemetryEventSchema, VerificationApprovedTelemetryEventSchema, VerificationInformationRequestedTelemetryEventSchema, VerificationLivenessRequestedTelemetryEventSchema, VerificationRejectedTelemetryEventSchema, VerificationStartedTelemetryEventSchema, VerificationSubmittedTelemetryEventSchema, VerificationTermsAcceptedTelemetryEventSchema, createCapxulBeforeSend, createPostHogBrowserPageviewTracker, getTrackHandler, initializeCapxulBrowserAnalytics, initializePostHogBrowserAnalytics, isCapxulOperation, maskCapturedNetworkRequest, normalizeCapxulOperation, productAppAnalytics, redactTelemetryEvent, redactTelemetryProps, sanitizePostHogBrowserEvent, setTrackHandler, stampTelemetryEnvelope, track, utilityAppAnalytics };
@@ -62,11 +62,13 @@ const sessions = {
62
62
  //#endregion
63
63
  //#region ../protocol/src/errors/failure-modes.ts
64
64
  /**
65
- * Why an operation failed — the one flat vocabulary. The first four are the
66
- * auth/provider diagnoses that predate this file. The rest name the chain
67
- * path. `FailureMode` is derived from this list so a runtime membership check
68
- * (the SDK's `$exception` projection, the observability schema) and the type
69
- * can never drift apart.
65
+ * Why an operation failed — the one flat vocabulary. The first five are the
66
+ * auth and signer diagnoses that predate this file. The next eleven name the
67
+ * chain path. `refused` and `defect` name a provider refusal and a Capxul
68
+ * fault on any path (ADR-0039 D2). `FailureMode` is derived from this list so
69
+ * a runtime membership check (the SDK's `$exception` projection, the
70
+ * observability schema) and the type can never drift apart. Every word has a
71
+ * failure class in `classes.ts`.
70
72
  */
71
73
  const FAILURE_MODES = [
72
74
  "auth-origin-mismatch",
@@ -85,6 +87,8 @@ const FAILURE_MODES = [
85
87
  "forbidden",
86
88
  "bad-request",
87
89
  "method-unsupported",
90
+ "refused",
91
+ "defect",
88
92
  "unknown"
89
93
  ];
90
94
  function isFailureMode(value) {
@@ -119,6 +123,9 @@ var CapxulError = class extends Error {
119
123
  if (options.chain !== void 0) this.chain = options.chain;
120
124
  }
121
125
  };
126
+ function isCapxulError(value) {
127
+ return value instanceof CapxulError;
128
+ }
122
129
  //#endregion
123
130
  //#region ../protocol/src/primitives/absurd.ts
124
131
  /**
@@ -133,6 +140,48 @@ function absurd(value) {
133
140
  } });
134
141
  }
135
142
  //#endregion
143
+ //#region ../protocol/src/errors/provider-evidence.ts
144
+ /**
145
+ * The providers a failure can name: Capxul's integrations and the ports the
146
+ * SDK and the backend call. Closed, so `details.provider` is a known word and
147
+ * a projection with no free text can still send it (ADR-0039 D6).
148
+ */
149
+ const PROVIDERS = [
150
+ "account-abstraction",
151
+ "agent-exchange",
152
+ "auth-cache",
153
+ "auth-client",
154
+ "better-auth",
155
+ "bootstrap",
156
+ "bridge",
157
+ "browserBridge",
158
+ "capxul-backend",
159
+ "chain",
160
+ "chain-evidence",
161
+ "chain-rpc",
162
+ "clock",
163
+ "convex",
164
+ "convex-storage",
165
+ "credentials",
166
+ "indexer",
167
+ "invoice",
168
+ "openfort",
169
+ "openfort.shield",
170
+ "ponder",
171
+ "posthog",
172
+ "resend",
173
+ "sdk",
174
+ "sdk-react",
175
+ "signer",
176
+ "verification"
177
+ ];
178
+ /** What is wrong with the part of a provider's answer that `field` names (ADR-0039 D1). */
179
+ const PROVIDER_PROBLEMS = [
180
+ "missing",
181
+ "invalid",
182
+ "conflict"
183
+ ];
184
+ //#endregion
136
185
  //#region ../protocol/src/evm/model.ts
137
186
  const WEI_RE = /^[0-9]+$/;
138
187
  const EVM_ADDRESS_RE$1 = /^0x[0-9a-f]{40}$/i;
@@ -956,6 +1005,8 @@ const Payment = Schema.Struct({
956
1005
  notSent: Schema.optionalKey(Schema.Literal(true))
957
1006
  })),
958
1007
  requestedOutput: Schema.optionalKey(MoneySchema),
1008
+ /** What Bridge reports reached the recipient's bank. Present once delivery is done. */
1009
+ deliveredOutput: Schema.optionalKey(MoneySchema),
959
1010
  outputExact: Schema.optionalKey(Schema.Boolean),
960
1011
  recipientOnCapxul: Schema.optionalKey(Schema.Boolean),
961
1012
  recipientWarning: Schema.optionalKey(Schema.Boolean),
@@ -975,7 +1026,7 @@ const Payment = Schema.Struct({
975
1026
  })),
976
1027
  createdAt: EpochMsSchema$1,
977
1028
  updatedAt: EpochMsSchema$1
978
- }).pipe(Schema.check(Schema.makeFilter((payment) => payment.documents.every((document) => document.role !== "instruction" || document.kind === "memo" || paymentTypeForDocumentKind(document.kind) === payment.paymentType), { message: "document kind must map to paymentType" }), Schema.makeFilter((payment) => payment.recipient.kind === "party_account" ? payment.requestedOutput !== void 0 && payment.outputExact !== void 0 && payment.recipientOnCapxul !== void 0 && payment.recipientWarning !== void 0 && payment.links !== void 0 && payment.legs?.length === 2 && payment.legs[0]?.kind === "funding" && payment.legs[1]?.kind === "delivery" : payment.requestedOutput === void 0 && payment.outputExact === void 0 && payment.recipientOnCapxul === void 0 && payment.recipientWarning === void 0 && payment.links === void 0 && payment.legs === void 0, { message: "Bank payout Payments require their quote, output and two rail legs" })));
1029
+ }).pipe(Schema.check(Schema.makeFilter((payment) => payment.documents.every((document) => document.role !== "instruction" || document.kind === "memo" || paymentTypeForDocumentKind(document.kind) === payment.paymentType), { message: "document kind must map to paymentType" }), Schema.makeFilter((payment) => payment.recipient.kind === "party_account" ? payment.requestedOutput !== void 0 && payment.outputExact !== void 0 && payment.recipientOnCapxul !== void 0 && payment.recipientWarning !== void 0 && payment.links !== void 0 && payment.legs?.length === 2 && payment.legs[0]?.kind === "funding" && payment.legs[1]?.kind === "delivery" : payment.requestedOutput === void 0 && payment.deliveredOutput === void 0 && payment.outputExact === void 0 && payment.recipientOnCapxul === void 0 && payment.recipientWarning === void 0 && payment.links === void 0 && payment.legs === void 0, { message: "Bank payout Payments require their quote, output and two rail legs" })));
979
1030
  //#endregion
980
1031
  //#region ../protocol/src/payments/value-schema.ts
981
1032
  const PaymentIdSchema = nonEmpty("paymentId").pipe(Schema.refine((value) => value.length > 0));
@@ -1533,6 +1584,13 @@ const BankDepositCandidatesPageSchema = pageOf(Schema.Struct({
1533
1584
  payerLabel: optionalText$1
1534
1585
  }));
1535
1586
  //#endregion
1587
+ //#region ../protocol/src/primitives/warning.ts
1588
+ /** A warning as a client reads it: any code, and the sentence to show. */
1589
+ const WarningSchema = Schema.Struct({
1590
+ code: Schema.String,
1591
+ message: Schema.String
1592
+ });
1593
+ //#endregion
1536
1594
  //#region ../protocol/src/payments/payout-schema.ts
1537
1595
  const PartyAccountRefSchema = Schema.Struct({
1538
1596
  kind: Schema.Literal("party_account"),
@@ -1551,6 +1609,8 @@ const PaymentQuoteSchema = Schema.Struct({
1551
1609
  requestedOutput: MoneySchema,
1552
1610
  outputExact: Schema.Boolean,
1553
1611
  funding: AssetAmountSchema,
1612
+ /** The part of `funding` that covers rate movement before the transfer is funded. */
1613
+ slippage: Schema.optionalKey(AssetAmountSchema),
1554
1614
  expiresAt: Schema.Finite,
1555
1615
  recipient: Schema.Struct({
1556
1616
  label: Schema.String,
@@ -1560,10 +1620,8 @@ const PaymentQuoteSchema = Schema.Struct({
1560
1620
  onCapxul: Schema.Boolean
1561
1621
  }),
1562
1622
  rate: Schema.optionalKey(DecimalStringSchema),
1563
- warnings: Schema.Array(Schema.Struct({
1564
- code: Schema.Literal("RECIPIENT_ON_CAPXUL"),
1565
- message: Schema.String
1566
- }))
1623
+ /** Read with any code: an unknown one does not make the quote unreadable. */
1624
+ warnings: Schema.Array(WarningSchema)
1567
1625
  });
1568
1626
  //#endregion
1569
1627
  //#region ../protocol/src/permissions/value-schema.ts
@@ -2604,10 +2662,8 @@ const ApprovalSummarySchema = Schema.Struct({
2604
2662
  /** The total, when every item moves one asset; null when nothing moves (a Permission change). */
2605
2663
  amount: Schema.NullOr(AssetAmountSchema),
2606
2664
  network: ApprovalNetworkSchema,
2607
- warnings: Schema.optional(Schema.Array(Schema.Struct({
2608
- code: Schema.Literal("RECIPIENT_ON_CAPXUL"),
2609
- message: Schema.String
2610
- })))
2665
+ /** Read with any code: an unknown one does not make the approval unreadable. */
2666
+ warnings: Schema.optional(Schema.Array(WarningSchema))
2611
2667
  });
2612
2668
  /** The exact operation the signature covers: the digest is the one thing the key signs. */
2613
2669
  const ApprovalOperationSchema = Schema.Struct({
@@ -2649,6 +2705,8 @@ const ConsumedApprovalSchema = Schema.Struct({
2649
2705
  const CALL$10 = ["NOT_AUTHENTICATED", "INVALID_INPUT"];
2650
2706
  /** The chain or the bundler refused, timed out or was unreachable. */
2651
2707
  const CHAIN$5 = ["PROVIDER_ERROR"];
2708
+ /** The bundler or the paymaster answered with something Capxul cannot use. */
2709
+ const ANSWER$3 = ["PROVIDER_RESPONSE_INVALID"];
2652
2710
  /** The caller's Account binding: no Safe, no Account, or an Account bound to another Safe. */
2653
2711
  const BINDING = [
2654
2712
  "SMART_ACCOUNT_MISSING",
@@ -2736,6 +2794,7 @@ claim: Operation.action("accounts.claims.claim", {
2736
2794
  ...CALL$10,
2737
2795
  ...DEFECTS,
2738
2796
  ...CHAIN$5,
2797
+ ...ANSWER$3,
2739
2798
  "ACCOUNT_CLAIMED_BY_OTHER_SIGNER",
2740
2799
  "INSUFFICIENT_BALANCE",
2741
2800
  "PROFILE_NOT_FOUND",
@@ -2771,6 +2830,7 @@ faucetMint: Operation.action("accounts.grants.faucetMint", {
2771
2830
  ...CALL$10,
2772
2831
  ...DEFECTS,
2773
2832
  ...CHAIN$5,
2833
+ ...ANSWER$3,
2774
2834
  ...BINDING,
2775
2835
  "INSUFFICIENT_BALANCE",
2776
2836
  "NOT_IMPLEMENTED",
@@ -3928,6 +3988,7 @@ const CAPXUL_ERROR_CODES = [
3928
3988
  "WORK_DIED",
3929
3989
  "ACTOR_STOPPED"
3930
3990
  ];
3991
+ new Set(CAPXUL_ERROR_CODES);
3931
3992
  /** The existing Organization authority refusal vocabulary. */
3932
3993
  const ROLE_PERMISSION_DENIED_REASONS = [
3933
3994
  "over_cap",
@@ -4563,6 +4624,8 @@ const STATE$4 = ["WRONG_STATE"];
4563
4624
  const PARTICIPANT = ["ROLE_PERMISSION_DENIED"];
4564
4625
  /** The chain or the bundler refused, timed out or was unreachable. */
4565
4626
  const CHAIN$3 = ["PROVIDER_ERROR"];
4627
+ /** The bundler or the paymaster answered with something Capxul cannot use. */
4628
+ const ANSWER$2 = ["PROVIDER_RESPONSE_INVALID"];
4566
4629
  /** The founder has no Profile or no personal Account to found an Organization with. */
4567
4630
  const FOUNDER = ["PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING"];
4568
4631
  const invitations = {
@@ -4800,6 +4863,7 @@ const setups = {
4800
4863
  ...DEFECTS,
4801
4864
  ...STATE$4,
4802
4865
  ...CHAIN$3,
4866
+ ...ANSWER$2,
4803
4867
  "INSUFFICIENT_BALANCE"
4804
4868
  ]
4805
4869
  }),
@@ -4986,7 +5050,8 @@ const VERIFICATION_ERRORS = [
4986
5050
  ...DEFECTS,
4987
5051
  ...MEMBER$1,
4988
5052
  "WRONG_STATE",
4989
- "PROVIDER_ERROR"
5053
+ "PROVIDER_ERROR",
5054
+ "PROVIDER_RESPONSE_INVALID"
4990
5055
  ];
4991
5056
  const verificationTarget = {
4992
5057
  orgId: Schema.optionalKey(Schema.String),
@@ -5466,6 +5531,7 @@ const quotes = { quote: Operation.action("payments.quotes.quote", {
5466
5531
  "INSUFFICIENT_BALANCE",
5467
5532
  "WRONG_STATE",
5468
5533
  "PROVIDER_ERROR",
5534
+ "PROVIDER_RESPONSE_INVALID",
5469
5535
  ...DEFECTS
5470
5536
  ]
5471
5537
  }) };
@@ -5486,6 +5552,8 @@ const DENIED$1 = ["ROLE_PERMISSION_DENIED"];
5486
5552
  const STATE$3 = ["WRONG_STATE"];
5487
5553
  /** The chain, the bundler or the paymaster refused or failed to answer. */
5488
5554
  const CHAIN$2 = ["PROVIDER_ERROR"];
5555
+ /** The bundler or the paymaster answered with something Capxul cannot use. */
5556
+ const ANSWER$1 = ["PROVIDER_RESPONSE_INVALID"];
5489
5557
  /** The sender's balance, or the paymaster, cannot cover the UserOperation. */
5490
5558
  const FUNDING$1 = ["INSUFFICIENT_BALANCE"];
5491
5559
  /** This deployment has money writes switched off. */
@@ -5499,6 +5567,7 @@ const PREPARE = [
5499
5567
  ...DENIED$1,
5500
5568
  ...STATE$3,
5501
5569
  ...CHAIN$2,
5570
+ ...ANSWER$1,
5502
5571
  ...FUNDING$1,
5503
5572
  ...DISABLED$1
5504
5573
  ];
@@ -5510,6 +5579,7 @@ const SUBMIT$1 = [
5510
5579
  ...DENIED$1,
5511
5580
  ...STATE$3,
5512
5581
  ...CHAIN$2,
5582
+ ...ANSWER$1,
5513
5583
  ...RACE,
5514
5584
  ...DISABLED$1
5515
5585
  ];
@@ -5816,6 +5886,7 @@ const runs = {
5816
5886
  ...DENIED,
5817
5887
  ...STATE$2,
5818
5888
  "PROVIDER_ERROR",
5889
+ "PROVIDER_RESPONSE_INVALID",
5819
5890
  "INSUFFICIENT_BALANCE",
5820
5891
  "NOT_IMPLEMENTED"
5821
5892
  ]
@@ -6329,6 +6400,8 @@ const ADMIN$1 = ["ROLE_PERMISSION_DENIED", ...ACCOUNT];
6329
6400
  const STATE$1 = ["WRONG_STATE"];
6330
6401
  /** The chain or the bundler refused or failed to answer. */
6331
6402
  const CHAIN$1 = ["PROVIDER_ERROR"];
6403
+ /** The bundler or the paymaster answered with something Capxul cannot use. */
6404
+ const ANSWER = ["PROVIDER_RESPONSE_INVALID"];
6332
6405
  /** Building a sponsored UserOperation can find the paymaster unable to pay. */
6333
6406
  const SPONSOR = ["INSUFFICIENT_BALANCE"];
6334
6407
  /** Another submission of the same execution won the race. */
@@ -6371,6 +6444,7 @@ const commands = {
6371
6444
  ...ADMIN$1,
6372
6445
  ...STATE$1,
6373
6446
  ...CHAIN$1,
6447
+ ...ANSWER,
6374
6448
  ...SPONSOR
6375
6449
  ]
6376
6450
  }),
@@ -6384,6 +6458,7 @@ const commands = {
6384
6458
  ...ADMIN$1,
6385
6459
  ...STATE$1,
6386
6460
  ...CHAIN$1,
6461
+ ...ANSWER,
6387
6462
  ...SUBMIT
6388
6463
  ]
6389
6464
  })
@@ -6413,6 +6488,7 @@ const replacements = {
6413
6488
  ...ADMIN$1,
6414
6489
  ...STATE$1,
6415
6490
  ...CHAIN$1,
6491
+ ...ANSWER,
6416
6492
  ...SPONSOR
6417
6493
  ]
6418
6494
  })
@@ -6469,6 +6545,7 @@ const authorities = {
6469
6545
  ...CALL$2,
6470
6546
  ...DEFECTS,
6471
6547
  ...CHAIN$1,
6548
+ ...ANSWER,
6472
6549
  "ROLE_PERMISSION_DENIED"
6473
6550
  ]
6474
6551
  }),
@@ -6494,6 +6571,7 @@ const configurations = {
6494
6571
  ...ADMIN$1,
6495
6572
  ...STATE$1,
6496
6573
  ...CHAIN$1,
6574
+ ...ANSWER,
6497
6575
  ...SPONSOR
6498
6576
  ]
6499
6577
  }),
@@ -6507,6 +6585,7 @@ const configurations = {
6507
6585
  ...ADMIN$1,
6508
6586
  ...STATE$1,
6509
6587
  ...CHAIN$1,
6588
+ ...ANSWER,
6510
6589
  ...SUBMIT
6511
6590
  ]
6512
6591
  })
@@ -6733,6 +6812,15 @@ const CHAIN = ["PROVIDER_ERROR"];
6733
6812
  const DISABLED = ["NOT_IMPLEMENTED"];
6734
6813
  /** The sender's balance, or the paymaster, cannot cover the UserOperation. */
6735
6814
  const FUNDING = ["INSUFFICIENT_BALANCE"];
6815
+ /**
6816
+ * Building a sponsored UserOperation: the chain failed, the bundler or the
6817
+ * paymaster answered with something Capxul cannot use, or the funding fell short.
6818
+ */
6819
+ const SPONSORED = [
6820
+ ...CHAIN,
6821
+ "PROVIDER_RESPONSE_INVALID",
6822
+ ...FUNDING
6823
+ ];
6736
6824
  /** The issuer's side: what it sent, and its cancellation. */
6737
6825
  const receivables = {
6738
6826
  /** Ask a payer for money, or anyone who holds the link when no payer is named. */
@@ -7074,8 +7162,7 @@ const checkouts = {
7074
7162
  ...DEFECTS,
7075
7163
  ...MEMBER,
7076
7164
  ...STATE,
7077
- ...CHAIN,
7078
- ...FUNDING,
7165
+ ...SPONSORED,
7079
7166
  ...DISABLED
7080
7167
  ]
7081
7168
  }),
@@ -7278,7 +7365,17 @@ const PEOPLE_OPERATIONS = {
7278
7365
  },
7279
7366
  auth: {
7280
7367
  canSendOtp: "auth.canSendOtp",
7368
+ createEncryptionSession: "auth.createEncryptionSession",
7369
+ /** AUTH A3 (#2073): the SDK facade over the native continuation endpoints. */
7370
+ clientRequests: {
7371
+ accept: "auth.clientRequests.accept",
7372
+ cancel: "auth.clientRequests.cancel",
7373
+ read: "auth.clientRequests.read",
7374
+ sendOtp: "auth.clientRequests.sendOtp",
7375
+ verifyOtp: "auth.clientRequests.verifyOtp"
7376
+ },
7281
7377
  getSession: "auth.getSession",
7378
+ resumeOtp: "auth.resumeOtp",
7282
7379
  signIn: "auth.signIn",
7283
7380
  signOut: "auth.signOut",
7284
7381
  sendVerificationOtp: "auth.sendVerificationOTP",
@@ -7288,11 +7385,6 @@ const PEOPLE_OPERATIONS = {
7288
7385
  createOrg: "createOrg",
7289
7386
  orgs: "orgs"
7290
7387
  },
7291
- /** AUTH A3 (#2073): the SDK facade over the native continuation endpoints. */
7292
- clientRequests: {
7293
- decide: "clientRequests.decide",
7294
- read: "clientRequests.read"
7295
- },
7296
7388
  currentUser: { get: "currentUser.get" },
7297
7389
  identity: {
7298
7390
  accountAt: "identity.AccountAt",
@@ -7335,8 +7427,10 @@ const PEOPLE_OPERATIONS = {
7335
7427
  get: "me.get"
7336
7428
  },
7337
7429
  onboarding: {
7430
+ beginOrganization: "onboarding.beginOrganization",
7338
7431
  completeOrganization: "onboarding.completeOrganization",
7339
- completePerson: "onboarding.completePerson"
7432
+ completePerson: "onboarding.completePerson",
7433
+ listOrganizationSetups: "onboarding.listOrganizationSetups"
7340
7434
  },
7341
7435
  smartAccount: {
7342
7436
  claim: "smartAccount.claim",
@@ -7435,6 +7529,12 @@ const ORGANIZATION_OPERATIONS = {
7435
7529
  },
7436
7530
  retry: "org.retry",
7437
7531
  roles: "org.roles",
7532
+ /**
7533
+ * The host observer's name for `org(orgId).setup.subscribe`: a subscription
7534
+ * is named by its method path, as the others are (CAP-419). The other setup
7535
+ * methods name the row that failed, or `organization.setup`.
7536
+ */
7537
+ setup: { subscribe: "org.setup.subscribe" },
7438
7538
  treasury: "org.treasury"
7439
7539
  },
7440
7540
  organization: { setup: "organization.setup" },
@@ -7838,6 +7938,12 @@ const PLATFORM_OPERATIONS = {
7838
7938
  health: "system.health",
7839
7939
  ping: "system.ping"
7840
7940
  },
7941
+ /**
7942
+ * The MCP server's own HTTP door: one request that failed outside any tool,
7943
+ * in the body read, the gate or the MCP handler. A tool's failure is named
7944
+ * by the tool.
7945
+ */
7946
+ mcp: { request: "mcp.request" },
7841
7947
  _internal: {
7842
7948
  accounts: { fund: "_internal.accounts.fund" },
7843
7949
  close: "_internal.close",
@@ -8082,8 +8188,9 @@ const EXCEPTION_EVENT_NAME = "$exception";
8082
8188
  * same error evidence on its own stream, so expected versus unexpected stays a
8083
8189
  * routing choice inside PostHog. It is its own event kind, not a catalog event:
8084
8190
  * its properties are the error evidence, so no catalog schema validates it.
8085
- * The wide `capxul_backend_operation` log row of the same failure carries ids
8086
- * and classes only, not this evidence.
8191
+ * The wide `capxul_backend_operation` log row of the same failure carries the
8192
+ * same failure row (ADR-0039 D6) beside its ids, but not the masked `details`,
8193
+ * the cause's stack or the chain cause's properties.
8087
8194
  */
8088
8195
  const EXPECTED_OUTCOME_EVENT_NAME = "capxul_backend_expected_outcome";
8089
8196
  /**
@@ -8093,6 +8200,13 @@ const EXPECTED_OUTCOME_EVENT_NAME = "capxul_backend_expected_outcome";
8093
8200
  * validates it.
8094
8201
  */
8095
8202
  const SDK_EXPECTED_OUTCOME_EVENT_NAME = "capxul_sdk_expected_outcome";
8203
+ /**
8204
+ * The MCP server's twin of `capxul_backend_expected_outcome`: an expected
8205
+ * outcome of a tool call, as the closed facts of the failure projection. Like
8206
+ * the other twins, its properties are the error evidence, so no catalog schema
8207
+ * validates it.
8208
+ */
8209
+ const MCP_EXPECTED_OUTCOME_EVENT_NAME = "capxul_mcp_expected_outcome";
8096
8210
  const PII = Schema.String.pipe(Schema.brand("PII"));
8097
8211
  /**
8098
8212
  * Environment discriminator (ADR-0020 A1 amendment, 2026-08-07). PostHog
@@ -9617,6 +9731,21 @@ const UiAccessStepCompletedTelemetryEventSchema = Schema.Struct({
9617
9731
  })
9618
9732
  });
9619
9733
  //#endregion
9734
+ //#region ../protocol/src/errors/classes.ts
9735
+ /**
9736
+ * Who acts on a failure (ADR-0039 D2). A class is derived from code and mode
9737
+ * by the two tables below and is never stored, so it cannot disagree with
9738
+ * them. No layer rewrites it (ADR-0023 R10).
9739
+ */
9740
+ const FAILURE_CLASSES = [
9741
+ "input",
9742
+ "state",
9743
+ "provider-unavailable",
9744
+ "provider-refused",
9745
+ "provider-answer",
9746
+ "defect"
9747
+ ];
9748
+ //#endregion
9620
9749
  //#region src/catalog/cli.ts
9621
9750
  /** Every command path of the `capxul` tree, dot-separated, plus the root and `unknown`. */
9622
9751
  const CLI_COMMAND_NAMES = [
@@ -9818,6 +9947,28 @@ const CliCommandStartedTelemetryEventSchema = Schema.Struct({
9818
9947
  ])
9819
9948
  })
9820
9949
  });
9950
+ /** A bounded identifier the `none` text policy lets through (ADR-0039 D6). */
9951
+ const FailureIdentifier = Schema.String.check(Schema.isPattern(/^[A-Za-z0-9_][A-Za-z0-9_.:/[\]-]{0,127}$/u));
9952
+ /**
9953
+ * The closed facts of a failed command's failure row under the `none` text
9954
+ * policy (ADR-0039 D6): who acts, how it failed, which provider and call, and
9955
+ * the Convex request id. Never a message or a cause.
9956
+ */
9957
+ const CliFailureFacts = {
9958
+ failure_class: Schema.optional(Schema.Literals(FAILURE_CLASSES)),
9959
+ failure_mode: Schema.optional(Schema.Literals(FAILURE_MODES)),
9960
+ provider: Schema.optional(Schema.Literals(PROVIDERS)),
9961
+ provider_operation: Schema.optional(FailureIdentifier),
9962
+ provider_code: Schema.optional(FailureIdentifier),
9963
+ http_status: Schema.optional(Schema.Number.check(Schema.isInt(), Schema.isBetween({
9964
+ minimum: 100,
9965
+ maximum: 599
9966
+ }))),
9967
+ field: Schema.optional(FailureIdentifier),
9968
+ problem: Schema.optional(Schema.Literals(PROVIDER_PROBLEMS)),
9969
+ request_id: Schema.optional(Schema.String.check(Schema.isPattern(/^[0-9a-f]{16}$/u))),
9970
+ elapsed_ms: Schema.optional(Schema.Number.check(Schema.isInt(), Schema.isGreaterThanOrEqualTo(0)))
9971
+ };
9821
9972
  const CliCommandCompletedTelemetryEventSchema = Schema.Struct({
9822
9973
  name: Schema.Literal("cli_command_completed"),
9823
9974
  props: Schema.Struct({
@@ -9840,7 +9991,8 @@ const CliCommandCompletedTelemetryEventSchema = Schema.Struct({
9840
9991
  "CLI_STORAGE",
9841
9992
  "CLI_DEFECT",
9842
9993
  "CLI_DEADLINE"
9843
- ]))
9994
+ ])),
9995
+ ...CliFailureFacts
9844
9996
  })
9845
9997
  });
9846
9998
  const CliDiagnosticCompletedTelemetryEventSchema = Schema.Struct({
@@ -10713,4 +10865,4 @@ var InMemoryTelemetryBusAdapter = class extends EventOnlyPort {
10713
10865
  }
10714
10866
  };
10715
10867
  //#endregion
10716
- export { AuthVerifiedTelemetryEventSchema as $, ChainAttemptSchema as $t, BootstrapResolvedTelemetryEventSchema as A, OrganizationCreationReadyTelemetryEventSchema as At, CliCommandCompletedTelemetryEventSchema as B, DepositSettledTelemetryEventSchema as Bt, VerificationInformationRequestedTelemetryEventSchema as C, PermissionMirrorVerificationTelemetryEventSchema as Ct, VerificationSubmittedTelemetryEventSchema as D, OrgInviteProgressedTelemetryEventSchema as Dt, VerificationStartedTelemetryEventSchema as E, OrgInviteExpiredTelemetryEventSchema as Et, OnboardingIntentSelectedTelemetryEventSchema as F, OperationRetriedTelemetryEventSchema as Ft, CLI_COMMAND_NAMES as G, PaymentInitiatedTelemetryEventSchema as Gt, CliDiagnosticCompletedTelemetryEventSchema as H, FaucetFailedTelemetryEventSchema as Ht, OnboardingOrganizationSubmittedTelemetryEventSchema as I, ReceiptPendingTelemetryEventSchema as It, AuthFailedTelemetryEventSchema as J, PaymentVerificationRetryTelemetryEventSchema as Jt, CLI_INVOCATION_KINDS as K, PaymentLifecycleTransitionTelemetryEventSchema as Kt, OnboardingProfileSubmittedTelemetryEventSchema as L, AccountBalanceFailedTelemetryEventSchema as Lt, MemberActivationReadyTelemetryEventSchema as M, UiContactActionCompletedTelemetryEventSchema as Mt, MemberActivationStartedTelemetryEventSchema as N, BundlerErrorTelemetryEventSchema as Nt, VerificationTermsAcceptedTelemetryEventSchema as O, OrgInviteSentTelemetryEventSchema as Ot, OnboardingDashboardReachedTelemetryEventSchema as P, ChainUpstreamFallbackTelemetryEventSchema as Pt, AuthSignedOutTelemetryEventSchema as Q, CAPXUL_ENVS as Qt, ProvisioningSafeConfirmedTelemetryEventSchema as R, AccountBalanceReadTelemetryEventSchema as Rt, VerificationApprovedTelemetryEventSchema as S, MovementScanWindowTelemetryEventSchema as St, VerificationRejectedTelemetryEventSchema as T, OrgInviteAcceptedTelemetryEventSchema as Tt, CliFirstUsedTelemetryEventSchema as U, FaucetRequestedTelemetryEventSchema as Ut, CliCommandStartedTelemetryEventSchema as V, FaucetConfirmedTelemetryEventSchema as Vt, CLI_CAPABILITIES as W, PaymentFailedTelemetryEventSchema as Wt, AuthOtpExpiredTelemetryEventSchema as X, JOURNEYS as Xt, AuthOtpDeliveredTelemetryEventSchema as Y, QuickPayExternalAddressAcknowledgedTelemetryEventSchema as Yt, AuthOtpRequestedTelemetryEventSchema as Z, TELEMETRY_JOURNEYS as Zt, CONTRACT_FIRST_TELEMETRY_EVENTS as _, redactSecrets as _n, ActivityAnnotationSavedTelemetryEventSchema as _t, initializeCapxulBrowserAnalytics as a, PII as an, NativeAuthorizationReviewedTelemetryEventSchema as at, RETIRED_TELEMETRY_EVENTS as b, CAPXUL_ERROR_CODES as bn, MovementScanCheckpointTelemetryEventSchema as bt, utilityAppAnalytics as c, SYNCABLE_CAPXUL_ENVS as cn, InvoiceIssuedTelemetryEventSchema as ct, redactTelemetryEvent as d, TELEMETRY_EVENT_NAMES as dn, PayrollRunTransitionedTelemetryEventSchema as dt, ChainUpstreamSchema as en, IdentityRefusedTelemetryEventSchema as et, redactTelemetryProps as f, CAPXUL_OPERATIONS as fn, UiApprovalSignInRequiredTelemetryEventSchema as ft, BROWSER_GATED_TELEMETRY_EVENTS as g, ORGANIZATION_SETUP_STATUSES as gn, UiTreasuryStepCompletedTelemetryEventSchema as gt, track as h, ORGANIZATION_SETUP_REASONS as hn, UiReceiveStepCompletedTelemetryEventSchema as ht, createPostHogBrowserPageviewTracker as i, JourneyVariantProps as in, NativeAuthorizationFailedTelemetryEventSchema as it, MemberActivationFailedTelemetryEventSchema as j, OrganizationCreationStartedTelemetryEventSchema as jt, BootstrapFailedTelemetryEventSchema as k, OrganizationCreationFailedTelemetryEventSchema as kt, sanitizePostHogBrowserEvent as l, TELEMETRY_PRODUCERS as ln, InvoiceRequestTransitionedTelemetryEventSchema as lt, setTrackHandler as m, normalizeCapxulOperation as mn, UiPayrollActionCompletedTelemetryEventSchema as mt, RecordingTelemetryAdapter as n, EXPECTED_OUTCOME_EVENT_NAME as nn, NativeAuthorizationConnectedTelemetryEventSchema as nt, initializePostHogBrowserAnalytics as o, ResponseHeadersSchema as on, NativeAuthorizationStartedTelemetryEventSchema as ot, getTrackHandler as p, isCapxulOperation as pn, UiInvoiceStepCompletedTelemetryEventSchema as pt, AccessRecoveryCompletedTelemetryEventSchema as q, PaymentSettledTelemetryEventSchema as qt, createCapxulBeforeSend as r, FailureModeSchema as rn, NativeAuthorizationDeniedTelemetryEventSchema as rt, productAppAnalytics as s, SDK_EXPECTED_OUTCOME_EVENT_NAME as sn, UiAccessStepCompletedTelemetryEventSchema as st, InMemoryTelemetryBusAdapter as t, EXCEPTION_EVENT_NAME as tn, NativeAuthorizationAcceptedTelemetryEventSchema as tt, maskCapturedNetworkRequest as u, stampTelemetryEnvelope as un, PayrollGroupChangedTelemetryEventSchema as ut, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS as v, redactUrlSecrets as vn, UiActivityActionCompletedTelemetryEventSchema as vt, VerificationLivenessRequestedTelemetryEventSchema as w, ContactRelationshipChangedTelemetryEventSchema as wt, TELEMETRY_EVENT_SCHEMAS as x, FAILURE_MODES as xn, MovementScanIncidentTelemetryEventSchema as xt, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS as y, isCredentialField as yn, IndexerDriftCorrectedTelemetryEventSchema as yt, ProvisioningSafeCreatedTelemetryEventSchema as z, DepositInitiatedTelemetryEventSchema as zt };
10868
+ export { AuthSignedOutTelemetryEventSchema as $, CAPXUL_ENVS as $t, BootstrapResolvedTelemetryEventSchema as A, OrganizationCreationFailedTelemetryEventSchema as At, CliCommandCompletedTelemetryEventSchema as B, DepositInitiatedTelemetryEventSchema as Bt, VerificationInformationRequestedTelemetryEventSchema as C, PROVIDERS as Cn, MovementScanWindowTelemetryEventSchema as Ct, VerificationSubmittedTelemetryEventSchema as D, OrgInviteExpiredTelemetryEventSchema as Dt, VerificationStartedTelemetryEventSchema as E, FAILURE_MODES as En, OrgInviteAcceptedTelemetryEventSchema as Et, OnboardingIntentSelectedTelemetryEventSchema as F, ChainUpstreamFallbackTelemetryEventSchema as Ft, CLI_COMMAND_NAMES as G, PaymentFailedTelemetryEventSchema as Gt, CliDiagnosticCompletedTelemetryEventSchema as H, FaucetConfirmedTelemetryEventSchema as Ht, OnboardingOrganizationSubmittedTelemetryEventSchema as I, OperationRetriedTelemetryEventSchema as It, AccessRecoveryCompletedTelemetryEventSchema as J, PaymentSettledTelemetryEventSchema as Jt, CLI_INVOCATION_KINDS as K, PaymentInitiatedTelemetryEventSchema as Kt, OnboardingProfileSubmittedTelemetryEventSchema as L, ReceiptPendingTelemetryEventSchema as Lt, MemberActivationReadyTelemetryEventSchema as M, OrganizationCreationStartedTelemetryEventSchema as Mt, MemberActivationStartedTelemetryEventSchema as N, UiContactActionCompletedTelemetryEventSchema as Nt, VerificationTermsAcceptedTelemetryEventSchema as O, OrgInviteProgressedTelemetryEventSchema as Ot, OnboardingDashboardReachedTelemetryEventSchema as P, BundlerErrorTelemetryEventSchema as Pt, AuthOtpRequestedTelemetryEventSchema as Q, TELEMETRY_JOURNEYS as Qt, ProvisioningSafeConfirmedTelemetryEventSchema as R, AccountBalanceFailedTelemetryEventSchema as Rt, VerificationApprovedTelemetryEventSchema as S, CAPXUL_ERROR_CODES as Sn, MovementScanIncidentTelemetryEventSchema as St, VerificationRejectedTelemetryEventSchema as T, isCapxulError as Tn, ContactRelationshipChangedTelemetryEventSchema as Tt, CliFirstUsedTelemetryEventSchema as U, FaucetFailedTelemetryEventSchema as Ut, CliCommandStartedTelemetryEventSchema as V, DepositSettledTelemetryEventSchema as Vt, CLI_CAPABILITIES as W, FaucetRequestedTelemetryEventSchema as Wt, AuthOtpDeliveredTelemetryEventSchema as X, QuickPayExternalAddressAcknowledgedTelemetryEventSchema as Xt, AuthFailedTelemetryEventSchema as Y, PaymentVerificationRetryTelemetryEventSchema as Yt, AuthOtpExpiredTelemetryEventSchema as Z, JOURNEYS as Zt, CONTRACT_FIRST_TELEMETRY_EVENTS as _, ORGANIZATION_SETUP_REASONS as _n, UiTreasuryStepCompletedTelemetryEventSchema as _t, initializeCapxulBrowserAnalytics as a, JourneyVariantProps as an, NativeAuthorizationFailedTelemetryEventSchema as at, RETIRED_TELEMETRY_EVENTS as b, redactUrlSecrets as bn, IndexerDriftCorrectedTelemetryEventSchema as bt, utilityAppAnalytics as c, ResponseHeadersSchema as cn, UiAccessStepCompletedTelemetryEventSchema as ct, redactTelemetryEvent as d, TELEMETRY_PRODUCERS as dn, PayrollGroupChangedTelemetryEventSchema as dt, ChainAttemptSchema as en, AuthVerifiedTelemetryEventSchema as et, redactTelemetryProps as f, stampTelemetryEnvelope as fn, PayrollRunTransitionedTelemetryEventSchema as ft, BROWSER_GATED_TELEMETRY_EVENTS as g, normalizeCapxulOperation as gn, UiReceiveStepCompletedTelemetryEventSchema as gt, track as h, isCapxulOperation as hn, UiPayrollActionCompletedTelemetryEventSchema as ht, createPostHogBrowserPageviewTracker as i, FailureModeSchema as in, NativeAuthorizationDeniedTelemetryEventSchema as it, MemberActivationFailedTelemetryEventSchema as j, OrganizationCreationReadyTelemetryEventSchema as jt, BootstrapFailedTelemetryEventSchema as k, OrgInviteSentTelemetryEventSchema as kt, sanitizePostHogBrowserEvent as l, SDK_EXPECTED_OUTCOME_EVENT_NAME as ln, InvoiceIssuedTelemetryEventSchema as lt, setTrackHandler as m, CAPXUL_OPERATIONS as mn, UiInvoiceStepCompletedTelemetryEventSchema as mt, RecordingTelemetryAdapter as n, EXCEPTION_EVENT_NAME as nn, NativeAuthorizationAcceptedTelemetryEventSchema as nt, initializePostHogBrowserAnalytics as o, MCP_EXPECTED_OUTCOME_EVENT_NAME as on, NativeAuthorizationReviewedTelemetryEventSchema as ot, getTrackHandler as p, TELEMETRY_EVENT_NAMES as pn, UiApprovalSignInRequiredTelemetryEventSchema as pt, FAILURE_CLASSES as q, PaymentLifecycleTransitionTelemetryEventSchema as qt, createCapxulBeforeSend as r, EXPECTED_OUTCOME_EVENT_NAME as rn, NativeAuthorizationConnectedTelemetryEventSchema as rt, productAppAnalytics as s, PII as sn, NativeAuthorizationStartedTelemetryEventSchema as st, InMemoryTelemetryBusAdapter as t, ChainUpstreamSchema as tn, IdentityRefusedTelemetryEventSchema as tt, maskCapturedNetworkRequest as u, SYNCABLE_CAPXUL_ENVS as un, InvoiceRequestTransitionedTelemetryEventSchema as ut, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS as v, ORGANIZATION_SETUP_STATUSES as vn, ActivityAnnotationSavedTelemetryEventSchema as vt, VerificationLivenessRequestedTelemetryEventSchema as w, PROVIDER_PROBLEMS as wn, PermissionMirrorVerificationTelemetryEventSchema as wt, TELEMETRY_EVENT_SCHEMAS as x, isCredentialField as xn, MovementScanCheckpointTelemetryEventSchema as xt, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS as y, redactSecrets as yn, UiActivityActionCompletedTelemetryEventSchema as yt, ProvisioningSafeCreatedTelemetryEventSchema as z, AccountBalanceReadTelemetryEventSchema as zt };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capxul/observability",
3
- "version": "4.20.0-beta.36",
3
+ "version": "4.20.0-beta.38",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -46,7 +46,7 @@
46
46
  "vite": "npm:@voidzero-dev/vite-plus-core@1.0.0",
47
47
  "vite-plus": "1.0.0",
48
48
  "vitest": "5.0.1",
49
- "@capxul/protocol": "0.2.0-beta.7",
49
+ "@capxul/protocol": "0.2.0-beta.8",
50
50
  "@capxul/typescript-config": "0.0.0"
51
51
  },
52
52
  "scripts": {