@capxul/observability 2.0.1 → 2.1.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 CHANGED
@@ -22,14 +22,14 @@ optional and snake_case; the camelCase spellings are retired.
22
22
  One boundary, two named postures, both built on the same sanitizer, slim
23
23
  bundle, token guard and missing-key opt-out:
24
24
 
25
- | | `utilityAppAnalytics` | `productAppAnalytics` |
26
- | --------------- | ------------------------------------------ | --------------------------------- |
27
- | For | capability-URL apps (approval links, docs) | the Capxul product web app |
28
- | Persistence | off | **on** — J1 spans an OTP reload |
29
- | Person profiles | identified-only, nothing identifies | identified-only, identify-driven |
30
- | Autocapture | off | off |
31
- | Session replay | off | **production only**, fully masked |
32
- | Exceptions | off | on |
25
+ | | `utilityAppAnalytics` | `productAppAnalytics` |
26
+ | --------------- | ------------------------------------------ | -------------------------------- |
27
+ | For | capability-URL apps (approval links, docs) | the Capxul product web app |
28
+ | Persistence | off | **on** — J1 spans an OTP reload |
29
+ | Person profiles | identified-only, nothing identifies | identified-only, identify-driven |
30
+ | Autocapture | off | off |
31
+ | Session replay | off | **production only**, OTP masked |
32
+ | Exceptions | off | on |
33
33
 
34
34
  Both stamp `capxul_env` and `producer: "browser"` through `before_send`, which
35
35
  also recursively removes URL query strings/fragments (including exception-frame
@@ -37,6 +37,8 @@ filenames) and promoted campaign/search values. Pair either with PostHog's
37
37
  toolbar-free slim module and `createPostHogBrowserPageviewTracker`, which
38
38
  reports pathname-only initial loads and SPA route changes. Vendor
39
39
  initialization and pageview capture failures degrade to disabled analytics.
40
+ The product profile records ordinary text and input values. It masks inputs
41
+ whose `autocomplete` attribute is `one-time-code`.
40
42
 
41
43
  ```ts
42
44
  import {
@@ -3,7 +3,7 @@ import { OtlpExporter } from "effect/unstable/observability";
3
3
 
4
4
  //#region src/engineering.d.ts
5
5
  type EngineeringProducer = "browser" | "server";
6
- type EngineeringCapxulEnv = "development" | "e2e" | "staging" | "production";
6
+ type EngineeringCapxulEnv = "development" | "staging" | "production";
7
7
  interface EngineeringTelemetryConfig {
8
8
  readonly host: string;
9
9
  readonly headers: Readonly<Record<string, string>>;
@@ -26,7 +26,6 @@ const postHogOtlpEndpoints = (host) => {
26
26
  };
27
27
  const ENGINEERING_CAPXUL_ENVS = new Set([
28
28
  "development",
29
- "e2e",
30
29
  "staging",
31
30
  "production"
32
31
  ]);
package/dist/index.d.mts CHANGED
@@ -284,10 +284,10 @@ type PII = Schema.Schema.Type<typeof PII>;
284
284
  * a present `unknown` is loud), and sync v2 never synthesizes an artifact for
285
285
  * it.
286
286
  */
287
- declare const CAPXUL_ENVS: readonly ["development", "e2e", "staging", "production", "unknown"];
287
+ declare const CAPXUL_ENVS: readonly ["development", "staging", "production", "unknown"];
288
288
  type CapxulEnv = (typeof CAPXUL_ENVS)[number];
289
289
  /** Environments a synced product surface may be built for (`unknown` cannot). */
290
- declare const SYNCABLE_CAPXUL_ENVS: readonly ["development", "e2e", "staging", "production"];
290
+ declare const SYNCABLE_CAPXUL_ENVS: readonly ["development", "staging", "production"];
291
291
  /**
292
292
  * Which half of the system emitted the event. REQUIRED alongside `capxul_env`
293
293
  * so a name that two halves can produce (settlement, auth) stays attributable.
@@ -308,7 +308,7 @@ declare function stampTelemetryEnvelope(event: TelemetryEvent, defaults: Telemet
308
308
  declare const AuthOtpRequestedTelemetryEventSchema: Schema.Struct<{
309
309
  readonly name: Schema.Literal<"auth_otp_requested">;
310
310
  readonly props: Schema.Struct<{
311
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
311
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
312
312
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
313
313
  readonly journey_id: Schema.optional<Schema.String>;
314
314
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -320,7 +320,7 @@ declare const AuthOtpRequestedTelemetryEventSchema: Schema.Struct<{
320
320
  declare const AuthOtpDeliveredTelemetryEventSchema: Schema.Struct<{
321
321
  readonly name: Schema.Literal<"auth_otp_delivered">;
322
322
  readonly props: Schema.Struct<{
323
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
323
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
324
324
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
325
325
  readonly journey_id: Schema.optional<Schema.String>;
326
326
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -334,7 +334,7 @@ declare const AuthOtpDeliveredTelemetryEventSchema: Schema.Struct<{
334
334
  declare const AuthOtpExpiredTelemetryEventSchema: Schema.Struct<{
335
335
  readonly name: Schema.Literal<"auth_otp_expired">;
336
336
  readonly props: Schema.Struct<{
337
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
337
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
338
338
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
339
339
  readonly journey_id: Schema.optional<Schema.String>;
340
340
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -346,7 +346,7 @@ declare const AuthOtpExpiredTelemetryEventSchema: Schema.Struct<{
346
346
  declare const AuthVerifiedTelemetryEventSchema: Schema.Struct<{
347
347
  readonly name: Schema.Literal<"auth_verified">;
348
348
  readonly props: Schema.Struct<{
349
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
349
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
350
350
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
351
351
  readonly journey_id: Schema.optional<Schema.String>;
352
352
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -357,7 +357,7 @@ declare const AuthVerifiedTelemetryEventSchema: Schema.Struct<{
357
357
  declare const AuthFailedTelemetryEventSchema: Schema.Struct<{
358
358
  readonly name: Schema.Literal<"auth_failed">;
359
359
  readonly props: Schema.Struct<{
360
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
360
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
361
361
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
362
362
  readonly journey_id: Schema.optional<Schema.String>;
363
363
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -370,7 +370,7 @@ declare const AuthFailedTelemetryEventSchema: Schema.Struct<{
370
370
  declare const AuthSignedOutTelemetryEventSchema: Schema.Struct<{
371
371
  readonly name: Schema.Literal<"auth_signed_out">;
372
372
  readonly props: Schema.Struct<{
373
- capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
373
+ capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
374
374
  producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
375
375
  journey_id: Schema.optional<Schema.String>;
376
376
  correlation_id: Schema.optional<Schema.String>;
@@ -380,7 +380,7 @@ declare const AuthSignedOutTelemetryEventSchema: Schema.Struct<{
380
380
  declare const OnboardingIntentSelectedTelemetryEventSchema: Schema.Struct<{
381
381
  readonly name: Schema.Literal<"onboarding_intent_selected">;
382
382
  readonly props: Schema.Struct<{
383
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
383
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
384
384
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
385
385
  readonly correlation_id: Schema.optional<Schema.String>;
386
386
  readonly sdk_version: Schema.optional<Schema.String>;
@@ -392,7 +392,7 @@ declare const OnboardingIntentSelectedTelemetryEventSchema: Schema.Struct<{
392
392
  declare const OnboardingProfileSubmittedTelemetryEventSchema: Schema.Struct<{
393
393
  readonly name: Schema.Literal<"onboarding_profile_submitted">;
394
394
  readonly props: Schema.Struct<{
395
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
395
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
396
396
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
397
397
  readonly correlation_id: Schema.optional<Schema.String>;
398
398
  readonly sdk_version: Schema.optional<Schema.String>;
@@ -403,7 +403,7 @@ declare const OnboardingProfileSubmittedTelemetryEventSchema: Schema.Struct<{
403
403
  declare const OnboardingOrganizationSubmittedTelemetryEventSchema: Schema.Struct<{
404
404
  readonly name: Schema.Literal<"onboarding_organization_submitted">;
405
405
  readonly props: Schema.Struct<{
406
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
406
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
407
407
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
408
408
  readonly correlation_id: Schema.optional<Schema.String>;
409
409
  readonly sdk_version: Schema.optional<Schema.String>;
@@ -413,7 +413,7 @@ declare const OnboardingOrganizationSubmittedTelemetryEventSchema: Schema.Struct
413
413
  declare const OnboardingDashboardReachedTelemetryEventSchema: Schema.Struct<{
414
414
  readonly name: Schema.Literal<"onboarding_dashboard_reached">;
415
415
  readonly props: Schema.Struct<{
416
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
416
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
417
417
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
418
418
  readonly correlation_id: Schema.optional<Schema.String>;
419
419
  readonly sdk_version: Schema.optional<Schema.String>;
@@ -425,7 +425,7 @@ declare const OnboardingDashboardReachedTelemetryEventSchema: Schema.Struct<{
425
425
  declare const ProvisioningSafeCreatedTelemetryEventSchema: Schema.Struct<{
426
426
  readonly name: Schema.Literal<"provisioning_safe_created">;
427
427
  readonly props: Schema.Struct<{
428
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
428
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
429
429
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
430
430
  readonly journey_id: Schema.optional<Schema.String>;
431
431
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -436,7 +436,7 @@ declare const ProvisioningSafeCreatedTelemetryEventSchema: Schema.Struct<{
436
436
  declare const ProvisioningSafeConfirmedTelemetryEventSchema: Schema.Struct<{
437
437
  readonly name: Schema.Literal<"provisioning_safe_confirmed">;
438
438
  readonly props: Schema.Struct<{
439
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
439
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
440
440
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
441
441
  readonly journey_id: Schema.optional<Schema.String>;
442
442
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -453,7 +453,7 @@ declare const ProvisioningSafeConfirmedTelemetryEventSchema: Schema.Struct<{
453
453
  declare const BootstrapResolvedTelemetryEventSchema: Schema.Struct<{
454
454
  readonly name: Schema.Literal<"bootstrap_resolved">;
455
455
  readonly props: Schema.Struct<{
456
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
456
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
457
457
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
458
458
  readonly journey_id: Schema.optional<Schema.String>;
459
459
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -468,7 +468,7 @@ declare const BootstrapResolvedTelemetryEventSchema: Schema.Struct<{
468
468
  declare const BootstrapFailedTelemetryEventSchema: Schema.Struct<{
469
469
  readonly name: Schema.Literal<"bootstrap_failed">;
470
470
  readonly props: Schema.Struct<{
471
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
471
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
472
472
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
473
473
  readonly journey_id: Schema.optional<Schema.String>;
474
474
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -482,7 +482,7 @@ declare const BootstrapFailedTelemetryEventSchema: Schema.Struct<{
482
482
  declare const MemberActivationStartedTelemetryEventSchema: Schema.Struct<{
483
483
  readonly name: Schema.Literal<"member_activation_started">;
484
484
  readonly props: Schema.Struct<{
485
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
485
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
486
486
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
487
487
  readonly journey_id: Schema.optional<Schema.String>;
488
488
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -493,7 +493,7 @@ declare const MemberActivationStartedTelemetryEventSchema: Schema.Struct<{
493
493
  declare const MemberActivationReadyTelemetryEventSchema: Schema.Struct<{
494
494
  readonly name: Schema.Literal<"member_activation_ready">;
495
495
  readonly props: Schema.Struct<{
496
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
496
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
497
497
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
498
498
  readonly journey_id: Schema.optional<Schema.String>;
499
499
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -505,7 +505,7 @@ declare const MemberActivationReadyTelemetryEventSchema: Schema.Struct<{
505
505
  declare const MemberActivationFailedTelemetryEventSchema: Schema.Struct<{
506
506
  readonly name: Schema.Literal<"member_activation_failed">;
507
507
  readonly props: Schema.Struct<{
508
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
508
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
509
509
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
510
510
  readonly journey_id: Schema.optional<Schema.String>;
511
511
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -519,7 +519,7 @@ declare const MemberActivationFailedTelemetryEventSchema: Schema.Struct<{
519
519
  declare const OrganizationCreationStartedTelemetryEventSchema: Schema.Struct<{
520
520
  readonly name: Schema.Literal<"organization_creation_started">;
521
521
  readonly props: Schema.Struct<{
522
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
522
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
523
523
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
524
524
  readonly journey_id: Schema.optional<Schema.String>;
525
525
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -532,7 +532,7 @@ declare const OrganizationCreationStartedTelemetryEventSchema: Schema.Struct<{
532
532
  declare const OrganizationCreationReadyTelemetryEventSchema: Schema.Struct<{
533
533
  readonly name: Schema.Literal<"organization_creation_ready">;
534
534
  readonly props: Schema.Struct<{
535
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
535
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
536
536
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
537
537
  readonly journey_id: Schema.optional<Schema.String>;
538
538
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -546,7 +546,7 @@ declare const OrganizationCreationReadyTelemetryEventSchema: Schema.Struct<{
546
546
  declare const OrganizationCreationFailedTelemetryEventSchema: Schema.Struct<{
547
547
  readonly name: Schema.Literal<"organization_creation_failed">;
548
548
  readonly props: Schema.Struct<{
549
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
549
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
550
550
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
551
551
  readonly journey_id: Schema.optional<Schema.String>;
552
552
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -557,12 +557,13 @@ declare const OrganizationCreationFailedTelemetryEventSchema: Schema.Struct<{
557
557
  readonly stage: Schema.Literals<readonly ["profile", "accountProvisioning", "accountClaim", "preparingFounderAccount", "awaitingFounderAuthorization", "submittingBootstrap", "confirmingBootstrap"]>;
558
558
  readonly error_code: Schema.String;
559
559
  readonly retryable: Schema.Boolean;
560
+ readonly failure_reason: Schema.optional<Schema.Literals<readonly ["deterministic_address_mismatch", "receipt_provider_unavailable", "receipt_mismatch", "block_provider_unavailable", "authority_event_mismatch", "allowance_timestamp_mismatch", "receipt_identity_unavailable", "receipt_identity_mismatch", "contract_code_unavailable", "contract_state_mismatch", "permission_projection_mismatch"]>>;
560
561
  }>;
561
562
  }>;
562
563
  declare const AccountBalanceReadTelemetryEventSchema: Schema.Struct<{
563
564
  readonly name: Schema.Literal<"account_balance_read">;
564
565
  readonly props: Schema.Struct<{
565
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
566
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
566
567
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
567
568
  readonly journey_id: Schema.optional<Schema.String>;
568
569
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -576,7 +577,7 @@ declare const AccountBalanceReadTelemetryEventSchema: Schema.Struct<{
576
577
  declare const AccountBalanceFailedTelemetryEventSchema: Schema.Struct<{
577
578
  readonly name: Schema.Literal<"account_balance_failed">;
578
579
  readonly props: Schema.Struct<{
579
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
580
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
580
581
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
581
582
  readonly journey_id: Schema.optional<Schema.String>;
582
583
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -587,7 +588,7 @@ declare const AccountBalanceFailedTelemetryEventSchema: Schema.Struct<{
587
588
  declare const FaucetRequestedTelemetryEventSchema: Schema.Struct<{
588
589
  readonly name: Schema.Literal<"faucet_requested">;
589
590
  readonly props: Schema.Struct<{
590
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
591
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
591
592
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
592
593
  readonly journey_id: Schema.optional<Schema.String>;
593
594
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -599,7 +600,7 @@ declare const FaucetRequestedTelemetryEventSchema: Schema.Struct<{
599
600
  declare const FaucetConfirmedTelemetryEventSchema: Schema.Struct<{
600
601
  readonly name: Schema.Literal<"faucet_confirmed">;
601
602
  readonly props: Schema.Struct<{
602
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
603
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
603
604
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
604
605
  readonly journey_id: Schema.optional<Schema.String>;
605
606
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -613,7 +614,7 @@ declare const FaucetConfirmedTelemetryEventSchema: Schema.Struct<{
613
614
  declare const FaucetFailedTelemetryEventSchema: Schema.Struct<{
614
615
  readonly name: Schema.Literal<"faucet_failed">;
615
616
  readonly props: Schema.Struct<{
616
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
617
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
617
618
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
618
619
  readonly journey_id: Schema.optional<Schema.String>;
619
620
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -624,7 +625,7 @@ declare const FaucetFailedTelemetryEventSchema: Schema.Struct<{
624
625
  declare const OrgCreateStartedTelemetryEventSchema: Schema.Struct<{
625
626
  readonly name: Schema.Literal<"org_create_started">;
626
627
  readonly props: Schema.Struct<{
627
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
628
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
628
629
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
629
630
  readonly journey_id: Schema.optional<Schema.String>;
630
631
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -637,7 +638,7 @@ declare const OrgCreateStartedTelemetryEventSchema: Schema.Struct<{
637
638
  declare const OrgSafeCreatedTelemetryEventSchema: Schema.Struct<{
638
639
  readonly name: Schema.Literal<"org_safe_created">;
639
640
  readonly props: Schema.Struct<{
640
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
641
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
641
642
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
642
643
  readonly journey_id: Schema.optional<Schema.String>;
643
644
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -650,7 +651,7 @@ declare const OrgSafeCreatedTelemetryEventSchema: Schema.Struct<{
650
651
  declare const OrgSafeConfirmedTelemetryEventSchema: Schema.Struct<{
651
652
  readonly name: Schema.Literal<"org_safe_confirmed">;
652
653
  readonly props: Schema.Struct<{
653
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
654
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
654
655
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
655
656
  readonly journey_id: Schema.optional<Schema.String>;
656
657
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -664,7 +665,7 @@ declare const OrgSafeConfirmedTelemetryEventSchema: Schema.Struct<{
664
665
  declare const OrgRolesSeededTelemetryEventSchema: Schema.Struct<{
665
666
  readonly name: Schema.Literal<"org_roles_seeded">;
666
667
  readonly props: Schema.Struct<{
667
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
668
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
668
669
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
669
670
  readonly journey_id: Schema.optional<Schema.String>;
670
671
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -678,7 +679,7 @@ declare const OrgRolesSeededTelemetryEventSchema: Schema.Struct<{
678
679
  declare const OrgCreatedTelemetryEventSchema: Schema.Struct<{
679
680
  readonly name: Schema.Literal<"org_created">;
680
681
  readonly props: Schema.Struct<{
681
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
682
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
682
683
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
683
684
  readonly journey_id: Schema.optional<Schema.String>;
684
685
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -692,7 +693,7 @@ declare const OrgCreatedTelemetryEventSchema: Schema.Struct<{
692
693
  declare const OrgCreateFailedTelemetryEventSchema: Schema.Struct<{
693
694
  readonly name: Schema.Literal<"org_create_failed">;
694
695
  readonly props: Schema.Struct<{
695
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
696
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
696
697
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
697
698
  readonly journey_id: Schema.optional<Schema.String>;
698
699
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -704,7 +705,7 @@ declare const OrgCreateFailedTelemetryEventSchema: Schema.Struct<{
704
705
  declare const OrgInviteSentTelemetryEventSchema: Schema.Struct<{
705
706
  readonly name: Schema.Literal<"org_invite_sent">;
706
707
  readonly props: Schema.Struct<{
707
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
708
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
708
709
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
709
710
  readonly journey_id: Schema.optional<Schema.String>;
710
711
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -718,7 +719,7 @@ declare const OrgInviteSentTelemetryEventSchema: Schema.Struct<{
718
719
  declare const OrgInviteAcceptedTelemetryEventSchema: Schema.Struct<{
719
720
  readonly name: Schema.Literal<"org_invite_accepted">;
720
721
  readonly props: Schema.Struct<{
721
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
722
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
722
723
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
723
724
  readonly journey_id: Schema.optional<Schema.String>;
724
725
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -731,7 +732,7 @@ declare const OrgInviteAcceptedTelemetryEventSchema: Schema.Struct<{
731
732
  declare const OrgInviteExpiredTelemetryEventSchema: Schema.Struct<{
732
733
  readonly name: Schema.Literal<"org_invite_expired">;
733
734
  readonly props: Schema.Struct<{
734
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
735
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
735
736
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
736
737
  readonly journey_id: Schema.optional<Schema.String>;
737
738
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -746,7 +747,7 @@ declare const OrgInviteExpiredTelemetryEventSchema: Schema.Struct<{
746
747
  declare const PaymentInitiatedTelemetryEventSchema: Schema.Struct<{
747
748
  readonly name: Schema.Literal<"payment_initiated">;
748
749
  readonly props: Schema.Struct<{
749
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
750
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
750
751
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
751
752
  readonly journey_id: Schema.optional<Schema.String>;
752
753
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -758,7 +759,7 @@ declare const PaymentInitiatedTelemetryEventSchema: Schema.Struct<{
758
759
  declare const PaymentSettledTelemetryEventSchema: Schema.Struct<{
759
760
  readonly name: Schema.Literal<"payment_settled">;
760
761
  readonly props: Schema.Struct<{
761
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
762
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
762
763
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
763
764
  readonly journey_id: Schema.optional<Schema.String>;
764
765
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -771,7 +772,7 @@ declare const PaymentSettledTelemetryEventSchema: Schema.Struct<{
771
772
  declare const PaymentFailedTelemetryEventSchema: Schema.Struct<{
772
773
  readonly name: Schema.Literal<"payment_failed">;
773
774
  readonly props: Schema.Struct<{
774
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
775
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
775
776
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
776
777
  readonly journey_id: Schema.optional<Schema.String>;
777
778
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -784,7 +785,7 @@ declare const PaymentFailedTelemetryEventSchema: Schema.Struct<{
784
785
  declare const DepositInitiatedTelemetryEventSchema: Schema.Struct<{
785
786
  readonly name: Schema.Literal<"deposit_initiated">;
786
787
  readonly props: Schema.Struct<{
787
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
788
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
788
789
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
789
790
  readonly journey_id: Schema.optional<Schema.String>;
790
791
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -794,7 +795,7 @@ declare const DepositInitiatedTelemetryEventSchema: Schema.Struct<{
794
795
  declare const DepositSettledTelemetryEventSchema: Schema.Struct<{
795
796
  readonly name: Schema.Literal<"deposit_settled">;
796
797
  readonly props: Schema.Struct<{
797
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
798
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
798
799
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
799
800
  readonly journey_id: Schema.optional<Schema.String>;
800
801
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -807,7 +808,7 @@ declare const DepositSettledTelemetryEventSchema: Schema.Struct<{
807
808
  declare const PermissionMirrorVerificationTelemetryEventSchema: Schema.Struct<{
808
809
  readonly name: Schema.Literal<"permission_mirror_verification">;
809
810
  readonly props: Schema.Struct<{
810
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
811
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
811
812
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
812
813
  readonly journey_id: Schema.optional<Schema.String>;
813
814
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -823,7 +824,7 @@ declare const PermissionMirrorVerificationTelemetryEventSchema: Schema.Struct<{
823
824
  declare const MovementScanWindowTelemetryEventSchema: Schema.Struct<{
824
825
  readonly name: Schema.Literal<"movement_scan_window">;
825
826
  readonly props: Schema.Struct<{
826
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
827
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
827
828
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
828
829
  readonly journey_id: Schema.optional<Schema.String>;
829
830
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -840,7 +841,7 @@ declare const MovementScanWindowTelemetryEventSchema: Schema.Struct<{
840
841
  declare const MovementScanCheckpointTelemetryEventSchema: Schema.Struct<{
841
842
  readonly name: Schema.Literal<"movement_scan_checkpoint">;
842
843
  readonly props: Schema.Struct<{
843
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
844
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
844
845
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
845
846
  readonly journey_id: Schema.optional<Schema.String>;
846
847
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -854,7 +855,7 @@ declare const MovementScanCheckpointTelemetryEventSchema: Schema.Struct<{
854
855
  declare const MovementScanIncidentTelemetryEventSchema: Schema.Struct<{
855
856
  readonly name: Schema.Literal<"movement_scan_incident">;
856
857
  readonly props: Schema.Struct<{
857
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
858
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
858
859
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
859
860
  readonly journey_id: Schema.optional<Schema.String>;
860
861
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -869,7 +870,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
869
870
  readonly auth_otp_requested: Schema.Struct<{
870
871
  readonly name: Schema.Literal<"auth_otp_requested">;
871
872
  readonly props: Schema.Struct<{
872
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
873
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
873
874
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
874
875
  readonly journey_id: Schema.optional<Schema.String>;
875
876
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -881,7 +882,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
881
882
  readonly auth_otp_delivered: Schema.Struct<{
882
883
  readonly name: Schema.Literal<"auth_otp_delivered">;
883
884
  readonly props: Schema.Struct<{
884
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
885
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
885
886
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
886
887
  readonly journey_id: Schema.optional<Schema.String>;
887
888
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -895,7 +896,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
895
896
  readonly auth_otp_expired: Schema.Struct<{
896
897
  readonly name: Schema.Literal<"auth_otp_expired">;
897
898
  readonly props: Schema.Struct<{
898
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
899
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
899
900
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
900
901
  readonly journey_id: Schema.optional<Schema.String>;
901
902
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -907,7 +908,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
907
908
  readonly auth_verified: Schema.Struct<{
908
909
  readonly name: Schema.Literal<"auth_verified">;
909
910
  readonly props: Schema.Struct<{
910
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
911
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
911
912
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
912
913
  readonly journey_id: Schema.optional<Schema.String>;
913
914
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -918,7 +919,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
918
919
  readonly auth_failed: Schema.Struct<{
919
920
  readonly name: Schema.Literal<"auth_failed">;
920
921
  readonly props: Schema.Struct<{
921
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
922
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
922
923
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
923
924
  readonly journey_id: Schema.optional<Schema.String>;
924
925
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -931,7 +932,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
931
932
  readonly auth_signed_out: Schema.Struct<{
932
933
  readonly name: Schema.Literal<"auth_signed_out">;
933
934
  readonly props: Schema.Struct<{
934
- capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
935
+ capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
935
936
  producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
936
937
  journey_id: Schema.optional<Schema.String>;
937
938
  correlation_id: Schema.optional<Schema.String>;
@@ -941,7 +942,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
941
942
  readonly onboarding_intent_selected: Schema.Struct<{
942
943
  readonly name: Schema.Literal<"onboarding_intent_selected">;
943
944
  readonly props: Schema.Struct<{
944
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
945
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
945
946
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
946
947
  readonly correlation_id: Schema.optional<Schema.String>;
947
948
  readonly sdk_version: Schema.optional<Schema.String>;
@@ -953,7 +954,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
953
954
  readonly onboarding_profile_submitted: Schema.Struct<{
954
955
  readonly name: Schema.Literal<"onboarding_profile_submitted">;
955
956
  readonly props: Schema.Struct<{
956
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
957
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
957
958
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
958
959
  readonly correlation_id: Schema.optional<Schema.String>;
959
960
  readonly sdk_version: Schema.optional<Schema.String>;
@@ -964,7 +965,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
964
965
  readonly onboarding_organization_submitted: Schema.Struct<{
965
966
  readonly name: Schema.Literal<"onboarding_organization_submitted">;
966
967
  readonly props: Schema.Struct<{
967
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
968
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
968
969
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
969
970
  readonly correlation_id: Schema.optional<Schema.String>;
970
971
  readonly sdk_version: Schema.optional<Schema.String>;
@@ -974,7 +975,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
974
975
  readonly onboarding_dashboard_reached: Schema.Struct<{
975
976
  readonly name: Schema.Literal<"onboarding_dashboard_reached">;
976
977
  readonly props: Schema.Struct<{
977
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
978
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
978
979
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
979
980
  readonly correlation_id: Schema.optional<Schema.String>;
980
981
  readonly sdk_version: Schema.optional<Schema.String>;
@@ -986,7 +987,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
986
987
  readonly provisioning_safe_created: Schema.Struct<{
987
988
  readonly name: Schema.Literal<"provisioning_safe_created">;
988
989
  readonly props: Schema.Struct<{
989
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
990
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
990
991
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
991
992
  readonly journey_id: Schema.optional<Schema.String>;
992
993
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -997,7 +998,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
997
998
  readonly provisioning_safe_confirmed: Schema.Struct<{
998
999
  readonly name: Schema.Literal<"provisioning_safe_confirmed">;
999
1000
  readonly props: Schema.Struct<{
1000
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1001
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1001
1002
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1002
1003
  readonly journey_id: Schema.optional<Schema.String>;
1003
1004
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1014,7 +1015,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1014
1015
  readonly bootstrap_resolved: Schema.Struct<{
1015
1016
  readonly name: Schema.Literal<"bootstrap_resolved">;
1016
1017
  readonly props: Schema.Struct<{
1017
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1018
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1018
1019
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1019
1020
  readonly journey_id: Schema.optional<Schema.String>;
1020
1021
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1029,7 +1030,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1029
1030
  readonly bootstrap_failed: Schema.Struct<{
1030
1031
  readonly name: Schema.Literal<"bootstrap_failed">;
1031
1032
  readonly props: Schema.Struct<{
1032
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1033
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1033
1034
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1034
1035
  readonly journey_id: Schema.optional<Schema.String>;
1035
1036
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1043,7 +1044,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1043
1044
  readonly member_activation_started: Schema.Struct<{
1044
1045
  readonly name: Schema.Literal<"member_activation_started">;
1045
1046
  readonly props: Schema.Struct<{
1046
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1047
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1047
1048
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1048
1049
  readonly journey_id: Schema.optional<Schema.String>;
1049
1050
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1054,7 +1055,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1054
1055
  readonly member_activation_ready: Schema.Struct<{
1055
1056
  readonly name: Schema.Literal<"member_activation_ready">;
1056
1057
  readonly props: Schema.Struct<{
1057
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1058
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1058
1059
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1059
1060
  readonly journey_id: Schema.optional<Schema.String>;
1060
1061
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1066,7 +1067,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1066
1067
  readonly member_activation_failed: Schema.Struct<{
1067
1068
  readonly name: Schema.Literal<"member_activation_failed">;
1068
1069
  readonly props: Schema.Struct<{
1069
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1070
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1070
1071
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1071
1072
  readonly journey_id: Schema.optional<Schema.String>;
1072
1073
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1080,7 +1081,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1080
1081
  readonly organization_creation_started: Schema.Struct<{
1081
1082
  readonly name: Schema.Literal<"organization_creation_started">;
1082
1083
  readonly props: Schema.Struct<{
1083
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1084
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1084
1085
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1085
1086
  readonly journey_id: Schema.optional<Schema.String>;
1086
1087
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1093,7 +1094,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1093
1094
  readonly organization_creation_ready: Schema.Struct<{
1094
1095
  readonly name: Schema.Literal<"organization_creation_ready">;
1095
1096
  readonly props: Schema.Struct<{
1096
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1097
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1097
1098
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1098
1099
  readonly journey_id: Schema.optional<Schema.String>;
1099
1100
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1107,7 +1108,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1107
1108
  readonly organization_creation_failed: Schema.Struct<{
1108
1109
  readonly name: Schema.Literal<"organization_creation_failed">;
1109
1110
  readonly props: Schema.Struct<{
1110
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1111
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1111
1112
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1112
1113
  readonly journey_id: Schema.optional<Schema.String>;
1113
1114
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1118,12 +1119,13 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1118
1119
  readonly stage: Schema.Literals<readonly ["profile", "accountProvisioning", "accountClaim", "preparingFounderAccount", "awaitingFounderAuthorization", "submittingBootstrap", "confirmingBootstrap"]>;
1119
1120
  readonly error_code: Schema.String;
1120
1121
  readonly retryable: Schema.Boolean;
1122
+ readonly failure_reason: Schema.optional<Schema.Literals<readonly ["deterministic_address_mismatch", "receipt_provider_unavailable", "receipt_mismatch", "block_provider_unavailable", "authority_event_mismatch", "allowance_timestamp_mismatch", "receipt_identity_unavailable", "receipt_identity_mismatch", "contract_code_unavailable", "contract_state_mismatch", "permission_projection_mismatch"]>>;
1121
1123
  }>;
1122
1124
  }>;
1123
1125
  readonly account_balance_read: Schema.Struct<{
1124
1126
  readonly name: Schema.Literal<"account_balance_read">;
1125
1127
  readonly props: Schema.Struct<{
1126
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1128
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1127
1129
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1128
1130
  readonly journey_id: Schema.optional<Schema.String>;
1129
1131
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1137,7 +1139,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1137
1139
  readonly account_balance_failed: Schema.Struct<{
1138
1140
  readonly name: Schema.Literal<"account_balance_failed">;
1139
1141
  readonly props: Schema.Struct<{
1140
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1142
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1141
1143
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1142
1144
  readonly journey_id: Schema.optional<Schema.String>;
1143
1145
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1148,7 +1150,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1148
1150
  readonly faucet_requested: Schema.Struct<{
1149
1151
  readonly name: Schema.Literal<"faucet_requested">;
1150
1152
  readonly props: Schema.Struct<{
1151
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1153
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1152
1154
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1153
1155
  readonly journey_id: Schema.optional<Schema.String>;
1154
1156
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1160,7 +1162,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1160
1162
  readonly faucet_confirmed: Schema.Struct<{
1161
1163
  readonly name: Schema.Literal<"faucet_confirmed">;
1162
1164
  readonly props: Schema.Struct<{
1163
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1165
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1164
1166
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1165
1167
  readonly journey_id: Schema.optional<Schema.String>;
1166
1168
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1174,7 +1176,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1174
1176
  readonly faucet_failed: Schema.Struct<{
1175
1177
  readonly name: Schema.Literal<"faucet_failed">;
1176
1178
  readonly props: Schema.Struct<{
1177
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1179
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1178
1180
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1179
1181
  readonly journey_id: Schema.optional<Schema.String>;
1180
1182
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1185,7 +1187,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1185
1187
  readonly org_create_started: Schema.Struct<{
1186
1188
  readonly name: Schema.Literal<"org_create_started">;
1187
1189
  readonly props: Schema.Struct<{
1188
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1190
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1189
1191
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1190
1192
  readonly journey_id: Schema.optional<Schema.String>;
1191
1193
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1198,7 +1200,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1198
1200
  readonly org_safe_created: Schema.Struct<{
1199
1201
  readonly name: Schema.Literal<"org_safe_created">;
1200
1202
  readonly props: Schema.Struct<{
1201
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1203
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1202
1204
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1203
1205
  readonly journey_id: Schema.optional<Schema.String>;
1204
1206
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1211,7 +1213,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1211
1213
  readonly org_safe_confirmed: Schema.Struct<{
1212
1214
  readonly name: Schema.Literal<"org_safe_confirmed">;
1213
1215
  readonly props: Schema.Struct<{
1214
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1216
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1215
1217
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1216
1218
  readonly journey_id: Schema.optional<Schema.String>;
1217
1219
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1225,7 +1227,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1225
1227
  readonly org_roles_seeded: Schema.Struct<{
1226
1228
  readonly name: Schema.Literal<"org_roles_seeded">;
1227
1229
  readonly props: Schema.Struct<{
1228
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1230
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1229
1231
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1230
1232
  readonly journey_id: Schema.optional<Schema.String>;
1231
1233
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1239,7 +1241,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1239
1241
  readonly org_created: Schema.Struct<{
1240
1242
  readonly name: Schema.Literal<"org_created">;
1241
1243
  readonly props: Schema.Struct<{
1242
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1244
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1243
1245
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1244
1246
  readonly journey_id: Schema.optional<Schema.String>;
1245
1247
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1253,7 +1255,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1253
1255
  readonly org_create_failed: Schema.Struct<{
1254
1256
  readonly name: Schema.Literal<"org_create_failed">;
1255
1257
  readonly props: Schema.Struct<{
1256
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1258
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1257
1259
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1258
1260
  readonly journey_id: Schema.optional<Schema.String>;
1259
1261
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1265,7 +1267,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1265
1267
  readonly org_invite_sent: Schema.Struct<{
1266
1268
  readonly name: Schema.Literal<"org_invite_sent">;
1267
1269
  readonly props: Schema.Struct<{
1268
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1270
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1269
1271
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1270
1272
  readonly journey_id: Schema.optional<Schema.String>;
1271
1273
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1279,7 +1281,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1279
1281
  readonly org_invite_accepted: Schema.Struct<{
1280
1282
  readonly name: Schema.Literal<"org_invite_accepted">;
1281
1283
  readonly props: Schema.Struct<{
1282
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1284
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1283
1285
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1284
1286
  readonly journey_id: Schema.optional<Schema.String>;
1285
1287
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1292,7 +1294,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1292
1294
  readonly org_invite_expired: Schema.Struct<{
1293
1295
  readonly name: Schema.Literal<"org_invite_expired">;
1294
1296
  readonly props: Schema.Struct<{
1295
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1297
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1296
1298
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1297
1299
  readonly journey_id: Schema.optional<Schema.String>;
1298
1300
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1307,7 +1309,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1307
1309
  readonly payment_initiated: Schema.Struct<{
1308
1310
  readonly name: Schema.Literal<"payment_initiated">;
1309
1311
  readonly props: Schema.Struct<{
1310
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1312
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1311
1313
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1312
1314
  readonly journey_id: Schema.optional<Schema.String>;
1313
1315
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1319,7 +1321,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1319
1321
  readonly payment_settled: Schema.Struct<{
1320
1322
  readonly name: Schema.Literal<"payment_settled">;
1321
1323
  readonly props: Schema.Struct<{
1322
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1324
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1323
1325
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1324
1326
  readonly journey_id: Schema.optional<Schema.String>;
1325
1327
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1332,7 +1334,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1332
1334
  readonly payment_failed: Schema.Struct<{
1333
1335
  readonly name: Schema.Literal<"payment_failed">;
1334
1336
  readonly props: Schema.Struct<{
1335
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1337
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1336
1338
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1337
1339
  readonly journey_id: Schema.optional<Schema.String>;
1338
1340
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1345,7 +1347,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1345
1347
  readonly deposit_initiated: Schema.Struct<{
1346
1348
  readonly name: Schema.Literal<"deposit_initiated">;
1347
1349
  readonly props: Schema.Struct<{
1348
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1350
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1349
1351
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1350
1352
  readonly journey_id: Schema.optional<Schema.String>;
1351
1353
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1355,7 +1357,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1355
1357
  readonly deposit_settled: Schema.Struct<{
1356
1358
  readonly name: Schema.Literal<"deposit_settled">;
1357
1359
  readonly props: Schema.Struct<{
1358
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1360
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1359
1361
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1360
1362
  readonly journey_id: Schema.optional<Schema.String>;
1361
1363
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1368,7 +1370,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1368
1370
  readonly permission_mirror_verification: Schema.Struct<{
1369
1371
  readonly name: Schema.Literal<"permission_mirror_verification">;
1370
1372
  readonly props: Schema.Struct<{
1371
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1373
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1372
1374
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1373
1375
  readonly journey_id: Schema.optional<Schema.String>;
1374
1376
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1384,7 +1386,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1384
1386
  readonly movement_scan_window: Schema.Struct<{
1385
1387
  readonly name: Schema.Literal<"movement_scan_window">;
1386
1388
  readonly props: Schema.Struct<{
1387
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1389
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1388
1390
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1389
1391
  readonly journey_id: Schema.optional<Schema.String>;
1390
1392
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1401,7 +1403,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1401
1403
  readonly movement_scan_checkpoint: Schema.Struct<{
1402
1404
  readonly name: Schema.Literal<"movement_scan_checkpoint">;
1403
1405
  readonly props: Schema.Struct<{
1404
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1406
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1405
1407
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1406
1408
  readonly journey_id: Schema.optional<Schema.String>;
1407
1409
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1415,7 +1417,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1415
1417
  readonly movement_scan_incident: Schema.Struct<{
1416
1418
  readonly name: Schema.Literal<"movement_scan_incident">;
1417
1419
  readonly props: Schema.Struct<{
1418
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1420
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1419
1421
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1420
1422
  readonly journey_id: Schema.optional<Schema.String>;
1421
1423
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1532,10 +1534,10 @@ type PostHogBrowserOptions = PostHogUtilityAppOptions;
1532
1534
  * step 1 and step 3 are different anonymous "users" and every multi-page
1533
1535
  * funnel lies.
1534
1536
  * - identify-driven person profiles (ADR-0020 A2 wires the calls at L1).
1535
- * - session replay, PRODUCTION only, fully masked (inputs, all text, no
1536
- * canvas, no header/body capture). Below production it stays off, which is
1537
- * also why external dependency loading (the recorder script) stays blocked
1538
- * there.
1537
+ * - session replay, PRODUCTION only. Ordinary text and input values remain
1538
+ * visible. Inputs with `autocomplete="one-time-code"` are masked. Canvas and
1539
+ * header/body capture stay off. Below production replay stays off, which is
1540
+ * also why external dependency loading (the recorder script) stays blocked.
1539
1541
  *
1540
1542
  * Autocapture stays OFF: funnels run on catalog events, not on DOM guesses.
1541
1543
  */
@@ -1561,7 +1563,9 @@ interface PostHogProductAppOptions {
1561
1563
  readonly save_referrer: false;
1562
1564
  readonly session_recording: {
1563
1565
  readonly maskAllInputs: true;
1564
- readonly maskTextSelector: "*";
1566
+ readonly maskInputFn: (text: string, element?: {
1567
+ readonly getAttribute: (name: string) => string | null;
1568
+ } | null) => string;
1565
1569
  readonly captureCanvas: {
1566
1570
  readonly recordCanvas: false;
1567
1571
  };
package/dist/index.mjs CHANGED
@@ -330,7 +330,6 @@ const OptionalTxHash = Schema.optional(TxHashSchema);
330
330
  */
331
331
  const CAPXUL_ENVS = [
332
332
  "development",
333
- "e2e",
334
333
  "staging",
335
334
  "production",
336
335
  "unknown"
@@ -338,7 +337,6 @@ const CAPXUL_ENVS = [
338
337
  /** Environments a synced product surface may be built for (`unknown` cannot). */
339
338
  const SYNCABLE_CAPXUL_ENVS = [
340
339
  "development",
341
- "e2e",
342
340
  "staging",
343
341
  "production"
344
342
  ];
@@ -515,7 +513,20 @@ const OrganizationCreationFailedProps = Schema.Struct({
515
513
  attempt_number: AttemptNumberSchema,
516
514
  stage: OnboardingStageSchema,
517
515
  error_code: Schema.String,
518
- retryable: Schema.Boolean
516
+ retryable: Schema.Boolean,
517
+ failure_reason: Schema.optional(Schema.Literals([
518
+ "deterministic_address_mismatch",
519
+ "receipt_provider_unavailable",
520
+ "receipt_mismatch",
521
+ "block_provider_unavailable",
522
+ "authority_event_mismatch",
523
+ "allowance_timestamp_mismatch",
524
+ "receipt_identity_unavailable",
525
+ "receipt_identity_mismatch",
526
+ "contract_code_unavailable",
527
+ "contract_state_mismatch",
528
+ "permission_projection_mismatch"
529
+ ]))
519
530
  });
520
531
  const OnboardingIntentSchema = Schema.Literals(["personal", "organization"]);
521
532
  const OnboardingIntentSelectedProps = Schema.Struct({
@@ -1001,7 +1012,7 @@ function productAppAnalytics(input) {
1001
1012
  save_referrer: false,
1002
1013
  session_recording: {
1003
1014
  maskAllInputs: true,
1004
- maskTextSelector: "*",
1015
+ maskInputFn: (text, element) => element?.getAttribute("autocomplete")?.toLowerCase().split(/\s+/u).includes("one-time-code") ? "*".repeat(text.length) : text,
1005
1016
  captureCanvas: { recordCanvas: false },
1006
1017
  recordHeaders: false,
1007
1018
  recordBody: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capxul/observability",
3
- "version": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,7 +33,7 @@
33
33
  "@typescript/native": "npm:typescript@7.0.2",
34
34
  "@vitest/coverage-v8": "4.1.7",
35
35
  "jsdom": "^29.1.1",
36
- "posthog-js": "^1.399.2",
36
+ "posthog-js": "^1.418.10",
37
37
  "vite-plus": "0.1.23",
38
38
  "vitest": "npm:@voidzero-dev/vite-plus-test@0.1.23",
39
39
  "@capxul/errors": "0.0.1",