@plures/praxis 1.2.41 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/browser/{chunk-BBP2F7TT.js → chunk-MJK3IYTJ.js} +123 -5
  2. package/dist/browser/{chunk-FCEH7WMH.js → chunk-N63K4KWS.js} +1 -1
  3. package/dist/browser/{engine-65QDGCAN.js → engine-YIEGSX7U.js} +1 -1
  4. package/dist/browser/index.d.ts +2 -2
  5. package/dist/browser/index.js +10 -5
  6. package/dist/browser/integrations/svelte.d.ts +2 -2
  7. package/dist/browser/integrations/svelte.js +2 -2
  8. package/dist/browser/{reactive-engine.svelte-Cqd8Mod2.d.ts → reactive-engine.svelte-DjynI82A.d.ts} +83 -4
  9. package/dist/node/{chunk-32YFEEML.js → chunk-5JQJZADT.js} +1 -1
  10. package/dist/node/{chunk-BBP2F7TT.js → chunk-KMJWAFZV.js} +128 -5
  11. package/dist/node/cloud/index.d.cts +1 -1
  12. package/dist/node/cloud/index.d.ts +1 -1
  13. package/dist/node/{engine-7CXQV6RC.js → engine-FEN5IYZ5.js} +1 -1
  14. package/dist/node/index.cjs +522 -59
  15. package/dist/node/index.d.cts +271 -5
  16. package/dist/node/index.d.ts +271 -5
  17. package/dist/node/index.js +355 -39
  18. package/dist/node/integrations/svelte.cjs +123 -5
  19. package/dist/node/integrations/svelte.d.cts +3 -3
  20. package/dist/node/integrations/svelte.d.ts +3 -3
  21. package/dist/node/integrations/svelte.js +2 -2
  22. package/dist/node/{protocol-BocKczNv.d.ts → protocol-DcyGMmWY.d.cts} +7 -0
  23. package/dist/node/{protocol-BocKczNv.d.cts → protocol-DcyGMmWY.d.ts} +7 -0
  24. package/dist/node/{reactive-engine.svelte-D-xTDxT5.d.ts → reactive-engine.svelte-Cg0Yc2Hs.d.cts} +90 -6
  25. package/dist/node/{reactive-engine.svelte-CGe8SpVE.d.cts → reactive-engine.svelte-DekxqFu0.d.ts} +90 -6
  26. package/package.json +2 -2
  27. package/src/__tests__/engine-v2.test.ts +532 -0
  28. package/src/core/completeness.ts +274 -0
  29. package/src/core/engine.ts +47 -5
  30. package/src/core/pluresdb/store.ts +9 -3
  31. package/src/core/protocol.ts +7 -0
  32. package/src/core/rule-result.ts +130 -0
  33. package/src/core/rules.ts +12 -5
  34. package/src/core/ui-rules.ts +340 -0
  35. package/src/index.ts +27 -0
  36. package/src/vite/completeness-plugin.ts +72 -0
@@ -1,7 +1,7 @@
1
- import { P as PraxisState, a as PraxisEvent, b as PraxisFact } from './protocol-BocKczNv.cjs';
2
- export { f as PRAXIS_PROTOCOL_VERSION, e as PraxisDiagnostics, d as PraxisStepConfig, g as PraxisStepFn, c as PraxisStepResult } from './protocol-BocKczNv.cjs';
3
- import { L as LogicEngine, P as PraxisRegistry, b as RuleDescriptor, C as ConstraintDescriptor, d as ConstraintFn, e as Contract, f as RuleFn, g as PraxisModule, M as MissingArtifact, S as Severity, V as ValidationReport, A as Assumption } from './reactive-engine.svelte-CGe8SpVE.cjs';
4
- export { h as ConstraintId, i as ContractGap, D as DefineContractOptions, E as Example, j as PraxisEngineOptions, R as ReactiveEngineOptions, a as ReactiveLogicEngine, k as Reference, l as RuleId, m as createPraxisEngine, c as createReactiveEngine, n as defineContract, o as getContract, p as isContract } from './reactive-engine.svelte-CGe8SpVE.cjs';
1
+ import { P as PraxisState, a as PraxisEvent, b as PraxisFact } from './protocol-DcyGMmWY.cjs';
2
+ export { f as PRAXIS_PROTOCOL_VERSION, e as PraxisDiagnostics, d as PraxisStepConfig, g as PraxisStepFn, c as PraxisStepResult } from './protocol-DcyGMmWY.cjs';
3
+ import { L as LogicEngine, P as PraxisRegistry, b as RuleDescriptor, C as ConstraintDescriptor, d as ConstraintFn, e as Contract, f as RuleFn, g as PraxisModule, M as MissingArtifact, S as Severity, V as ValidationReport, A as Assumption } from './reactive-engine.svelte-Cg0Yc2Hs.cjs';
4
+ export { h as ConstraintId, i as ContractGap, D as DefineContractOptions, E as Example, j as PraxisEngineOptions, R as ReactiveEngineOptions, a as ReactiveLogicEngine, k as Reference, l as RuleId, m as RuleResult, T as TypedRuleFn, n as createPraxisEngine, c as createReactiveEngine, o as defineContract, p as fact, q as getContract, r as isContract } from './reactive-engine.svelte-Cg0Yc2Hs.cjs';
5
5
  import { P as PraxisDB, U as UnsubscribeFn$1 } from './terminal-adapter-Db-snPJ3.cjs';
6
6
  export { C as CommandExecutor, I as InMemoryPraxisDB, a as PluresDBAdapterConfig, b as PluresDBInstance, d as PluresDBPraxisAdapter, e as PraxisLocalFirstOptions, T as TerminalAdapter, f as TerminalAdapterOptions, g as TerminalExecutionResult, h as TerminalNodeState, i as createInMemoryDB, j as createMockExecutor, k as createPluresDB, l as createPraxisLocalFirst, c as createTerminalAdapter, r as runTerminalCommand } from './terminal-adapter-Db-snPJ3.cjs';
7
7
  import { PraxisSchema, ValidationResult, ModelDefinition, FieldDefinition, ComponentDefinition, LogicDefinition } from './schema.cjs';
@@ -3353,4 +3353,270 @@ declare function attachAllIntegrations<TContext = unknown>(engine: LogicEngine<T
3353
3353
  dispose: () => void;
3354
3354
  }>;
3355
3355
 
3356
- export { AcknowledgeContractGap, type ActivityState, type Actor, ActorManager, Assumption, BehaviorLedger, CHRONICLE_PATHS, type CanvasDocument, type CanvasEdge, type CanvasEdgeStyle, type CanvasEditorConfig, type CanvasNode, type CanvasNodeStyle, type Chronicle, ChronicleContext, type ChronicleEdge, type ChronicleEvent, type ChronicleNode, type ChronicleSpan, type ChronosMcpTools, type ChronosSearchParams, type ChronosTraceParams, ComponentDefinition, ConstraintDescriptor, ConstraintFn, type ConstraintNode, type ConstraintSchema, Contract, ContractAdded, ContractGapAcknowledged, ContractMissing, ContractUpdated, ContractValidated, type DefineConstraintOptions, type DefineModuleOptions, type DefineRuleOptions, type EdgeType, type EventDefinition, type EventStreamEntry, type FactDefinition, ReactiveLogicEngine as FrameworkAgnosticReactiveEngine, type ReactiveEngineOptions as FrameworkAgnosticReactiveEngineOptions, type GeneratedDoc, type GeneratedPluresDBFile, type GraphEdge, type GuardianError, type GuardianResult, type GuardianWarning, type LedgerEntry, type LedgerEntryStatus, type LifecycleState, type LoaderOptions, type LoaderResult, LogicDefinition, LogicEngine, type McpToolResult, MissingArtifact, ModelDefinition, PRAXIS_PATHS, type PluresDBAdapter, type PluresDBAdapterOptions, PluresDBGenerator, type PluresDBGeneratorOptions, PluresDbChronicle, PraxisDB, PraxisDBStore, type PraxisDBStoreOptions, PraxisEvent, PraxisFact, PraxisModule, PraxisRegistry, PraxisSchema, PraxisSchemaRegistry, PraxisState, type RegistryGraph, RegistryIntrospector, type RegistrySchema, type RegistryStats, RuleDescriptor, RuleFn, type RuleNode, type RuleSchema, Severity, type StateChangeCallback, type StateDoc, type StateDocsConfig, StateDocsGenerator, type StateMachineDoc, type StoredSchema, type TauriAppConfig, type TauriBridge, type TauriCommand, type TauriEvent, type TauriFS, type TauriFileEntry, type TauriMenuItem, type TauriNotification, type TauriNotificationOptions, type TauriPlugin, type TauriPraxisAdapter, type TauriSecurityConfig, type TauriTray, type TauriUpdateConfig, type TauriUpdateInfo, type TauriWindowConfig, type TraceDirection, type TransitionDoc, type UnifiedApp, type UnifiedAppConfig, UnsubscribeFn$1 as UnsubscribeFn, type UnumAdapter, type UnumAdapterConfig, type UnumChannel, type UnumIdentity, type UnumMessage, type UnumStore, ValidateContracts, type ValidateOptions, ValidationReport, ValidationResult, attachAllIntegrations, attachTauriToEngine, attachToEngine, attachUnumToEngine, canvasToMermaid, canvasToSchema, canvasToYaml, createBehaviorLedger, createCanvasEditor, createChronicle, createChronosMcpTools, createReactiveEngine as createFrameworkAgnosticReactiveEngine, createIntrospector, createMockTauriBridge, createPluresDBAdapter, createPluresDBGenerator, createPraxisDBStore, createSchemaRegistry, createStateDocsGenerator, createTauriPraxisAdapter, createTimerActor, createUnifiedApp, createUnumAdapter, defineConstraint, defineEvent, defineFact, defineModule, defineRule, filterEvents, filterFacts, findEvent, findFact, formatValidationReport, formatValidationReportJSON, formatValidationReportSARIF, generateDocs, generateId, generateTauriConfig, getEventPath, getFactPath, getSchemaPath, loadSchema, loadSchemaFromFile, loadSchemaFromJson, loadSchemaFromYaml, registerSchema, schemaToCanvas, validateContracts, validateForGeneration, validateWithGuardian };
3356
+ /**
3357
+ * Praxis UI Rules
3358
+ *
3359
+ * Lightweight, predefined UI-specific rules and constraints.
3360
+ * These govern UI behavior without muddying business logic rules.
3361
+ *
3362
+ * UI rules are separated from domain rules by convention:
3363
+ * - Domain rules: business decisions, data invariants, workflow logic
3364
+ * - UI rules: visibility, loading states, error display, navigation guards
3365
+ *
3366
+ * Ship predefined rules that apps can opt into. Every `if` in the UI
3367
+ * can be governed by Praxis — business rules stay clean, UI rules stay separate.
3368
+ */
3369
+
3370
+ /**
3371
+ * Standard UI state fields that UI rules can read from context.
3372
+ * Apps extend their context with these fields to enable UI rules.
3373
+ */
3374
+ interface UIContext {
3375
+ /** Whether the app is currently loading data */
3376
+ loading?: boolean;
3377
+ /** Current error message, if any */
3378
+ error?: string | null;
3379
+ /** Whether the app is in offline mode */
3380
+ offline?: boolean;
3381
+ /** Whether there are unsaved changes */
3382
+ dirty?: boolean;
3383
+ /** Current route/view name */
3384
+ route?: string;
3385
+ /** Whether the app has completed initialization */
3386
+ initialized?: boolean;
3387
+ /** Screen width category: 'mobile' | 'tablet' | 'desktop' */
3388
+ viewport?: 'mobile' | 'tablet' | 'desktop';
3389
+ /** Whether a modal/dialog is currently open */
3390
+ modalOpen?: boolean;
3391
+ /** Active panel/tab name */
3392
+ activePanel?: string | null;
3393
+ }
3394
+ /**
3395
+ * Loading gate: emits ui.loading-gate when data is loading.
3396
+ * UI components can subscribe to this fact to show loading indicators.
3397
+ */
3398
+ declare const loadingGateRule: RuleDescriptor<UIContext>;
3399
+ /**
3400
+ * Error display: emits ui.error-display with the error message.
3401
+ * Retracts when error clears.
3402
+ */
3403
+ declare const errorDisplayRule: RuleDescriptor<UIContext>;
3404
+ /**
3405
+ * Offline indicator: emits ui.offline-indicator when the app detects offline state.
3406
+ */
3407
+ declare const offlineIndicatorRule: RuleDescriptor<UIContext>;
3408
+ /**
3409
+ * Dirty guard: emits ui.unsaved-warning when there are unsaved changes.
3410
+ * Can be used to block navigation or show save prompts.
3411
+ */
3412
+ declare const dirtyGuardRule: RuleDescriptor<UIContext>;
3413
+ /**
3414
+ * Init gate: blocks UI interactions until app is initialized.
3415
+ */
3416
+ declare const initGateRule: RuleDescriptor<UIContext>;
3417
+ /**
3418
+ * Viewport-responsive: emits ui.viewport-class based on screen size.
3419
+ */
3420
+ declare const viewportRule: RuleDescriptor<UIContext>;
3421
+ /**
3422
+ * No interaction while loading: constraint that fails if actions are taken during loading.
3423
+ */
3424
+ declare const noInteractionWhileLoadingConstraint: ConstraintDescriptor<UIContext>;
3425
+ /**
3426
+ * Must be initialized: constraint that fails if app hasn't completed init.
3427
+ */
3428
+ declare const mustBeInitializedConstraint: ConstraintDescriptor<UIContext>;
3429
+ /**
3430
+ * The complete UI rules module.
3431
+ * Register this to get all predefined UI rules and constraints.
3432
+ *
3433
+ * @example
3434
+ * import { uiModule } from '@plures/praxis';
3435
+ * registry.registerModule(uiModule);
3436
+ */
3437
+ declare const uiModule: PraxisModule<UIContext>;
3438
+ /**
3439
+ * Create a customized UI module with only the rules you need.
3440
+ *
3441
+ * @example
3442
+ * const myUI = createUIModule({
3443
+ * rules: ['ui/loading-gate', 'ui/dirty-guard'],
3444
+ * constraints: ['ui/must-be-initialized'],
3445
+ * });
3446
+ * registry.registerModule(myUI);
3447
+ */
3448
+ declare function createUIModule<TContext extends UIContext>(options: {
3449
+ rules?: string[];
3450
+ constraints?: string[];
3451
+ extraRules?: RuleDescriptor<TContext>[];
3452
+ extraConstraints?: ConstraintDescriptor<TContext>[];
3453
+ }): PraxisModule<TContext>;
3454
+ /**
3455
+ * Create a UI state change event. Fire this when UIContext fields change.
3456
+ */
3457
+ declare function uiStateChanged(changes?: Record<string, unknown>): PraxisEvent;
3458
+ /**
3459
+ * Create a navigation request event. Used with dirty guard.
3460
+ */
3461
+ declare function navigationRequest(to: string): PraxisEvent;
3462
+ /**
3463
+ * Create a resize event. Used with viewport rule.
3464
+ */
3465
+ declare function resizeEvent(width: number, height: number): PraxisEvent;
3466
+
3467
+ /**
3468
+ * @plures/praxis — Completeness Analysis
3469
+ *
3470
+ * This module provides tools to measure and enforce "Praxis Completeness" —
3471
+ * the degree to which an application's logic is expressed through Praxis
3472
+ * rules, constraints, and contracts rather than scattered conditionals.
3473
+ *
3474
+ * ## Definition: Praxis Logic Completeness
3475
+ *
3476
+ * An application is "Praxis Complete" when:
3477
+ *
3478
+ * 1. **DOMAIN RULES (100%)** — Every business decision that produces user-visible
3479
+ * behavior change is expressed as a Praxis rule. "If the sprint is behind pace,
3480
+ * show a warning" is domain logic. It belongs in Praxis.
3481
+ *
3482
+ * 2. **INVARIANTS (100%)** — Every data validity assertion is a Praxis constraint.
3483
+ * "Sprint hours must not exceed 80" is an invariant. It belongs in Praxis.
3484
+ *
3485
+ * 3. **CONTRACTS (>80%)** — Rules that encode non-obvious behavior have contracts
3486
+ * (behavior description + examples + invariants). Contracts are documentation
3487
+ * AND test vectors — they prove the tool isn't the bug.
3488
+ *
3489
+ * 4. **CONTEXT COVERAGE (100%)** — Every piece of application state that rules
3490
+ * reason about is in the Praxis context. If a rule needs to know about
3491
+ * connection status, connection status must be in the context.
3492
+ *
3493
+ * 5. **EVENT COVERAGE (100%)** — Every state transition that should trigger rule
3494
+ * evaluation fires a Praxis event. If notes can be saved, there's a note.save
3495
+ * event. If sprint refreshes, there's a sprint.refresh event.
3496
+ *
3497
+ * ## What Is NOT Praxis Logic
3498
+ *
3499
+ * - **UI mechanics**: Panel toggle, scroll position, animation state, focus management
3500
+ * - **Data transport**: fetch() calls, WebSocket plumbing, file I/O
3501
+ * - **Framework wiring**: Svelte subscriptions, onMount, store creation
3502
+ * - **Data transformation**: Parsing, formatting, serialization
3503
+ * - **Routing/navigation**: URL handling, panel switching (unless it has business rules)
3504
+ *
3505
+ * The line: "Does this `if` statement encode a business decision or an app invariant?"
3506
+ * If yes → Praxis rule/constraint. If no → leave it.
3507
+ *
3508
+ * ## Measuring Completeness
3509
+ *
3510
+ * ### Quantitative Metrics
3511
+ * - **Rule Coverage**: (domain `if` branches in Praxis) / (total domain `if` branches)
3512
+ * - **Constraint Coverage**: (data invariants in Praxis) / (total data invariants)
3513
+ * - **Contract Coverage**: (rules with contracts) / (rules that need contracts)
3514
+ * - **Context Coverage**: (state fields wired to context) / (state fields rules need)
3515
+ * - **Event Coverage**: (state transitions with events) / (state transitions that matter)
3516
+ *
3517
+ * ### Qualitative Indicators
3518
+ * - Can you change a business rule by editing ONE rule definition? (single source of truth)
3519
+ * - Can you test a business rule without rendering UI? (Praxis engine is headless)
3520
+ * - Can you explain every business rule to a PM by reading the registry? (self-documenting)
3521
+ * - Does the PraxisPanel show all active concerns? (observable)
3522
+ *
3523
+ * ## The Completeness Score
3524
+ *
3525
+ * ```
3526
+ * Score = (
3527
+ * rulesCovered / totalDomainBranches * 40 + // Rules are king (40%)
3528
+ * constraintsCovered / totalInvariants * 20 + // Invariants matter (20%)
3529
+ * contractsCovered / rulesNeedingContracts * 15 + // Contracts prevent bugs (15%)
3530
+ * contextFieldsCovered / totalNeeded * 15 + // Context = visibility (15%)
3531
+ * eventsCovered / totalTransitions * 10 // Events = reactivity (10%)
3532
+ * )
3533
+ * ```
3534
+ *
3535
+ * 90+ = Complete | 70-89 = Good | 50-69 = Partial | <50 = Incomplete
3536
+ */
3537
+ interface LogicBranch {
3538
+ /** Source file + line */
3539
+ location: string;
3540
+ /** The condition expression */
3541
+ condition: string;
3542
+ /** Classification */
3543
+ kind: 'domain' | 'invariant' | 'ui' | 'transport' | 'wiring' | 'transform';
3544
+ /** If domain/invariant: the Praxis rule/constraint that covers it, or null */
3545
+ coveredBy: string | null;
3546
+ /** Human note */
3547
+ note?: string;
3548
+ }
3549
+ interface StateField {
3550
+ /** Store or source name */
3551
+ source: string;
3552
+ /** Field path */
3553
+ field: string;
3554
+ /** Whether it's in the Praxis context */
3555
+ inContext: boolean;
3556
+ /** Whether any rule references it */
3557
+ usedByRule: boolean;
3558
+ }
3559
+ interface StateTransition {
3560
+ /** What changes */
3561
+ description: string;
3562
+ /** The Praxis event tag, or null if missing */
3563
+ eventTag: string | null;
3564
+ /** Source location */
3565
+ location: string;
3566
+ }
3567
+ interface CompletenessReport {
3568
+ /** Overall score (0-100) */
3569
+ score: number;
3570
+ /** Rating */
3571
+ rating: 'complete' | 'good' | 'partial' | 'incomplete';
3572
+ rules: {
3573
+ total: number;
3574
+ covered: number;
3575
+ uncovered: LogicBranch[];
3576
+ };
3577
+ constraints: {
3578
+ total: number;
3579
+ covered: number;
3580
+ uncovered: LogicBranch[];
3581
+ };
3582
+ contracts: {
3583
+ total: number;
3584
+ withContracts: number;
3585
+ missing: string[];
3586
+ };
3587
+ context: {
3588
+ total: number;
3589
+ covered: number;
3590
+ missing: StateField[];
3591
+ };
3592
+ events: {
3593
+ total: number;
3594
+ covered: number;
3595
+ missing: StateTransition[];
3596
+ };
3597
+ }
3598
+ interface CompletenessConfig {
3599
+ /** Minimum score to pass (default: 90) */
3600
+ threshold?: number;
3601
+ /** Whether to throw on failure (for CI) */
3602
+ strict?: boolean;
3603
+ }
3604
+ /**
3605
+ * Run a completeness audit against a Praxis registry and app manifest.
3606
+ *
3607
+ * The manifest is a developer-authored declaration of all logic branches,
3608
+ * state fields, and state transitions in the app. The auditor checks which
3609
+ * ones are covered by Praxis.
3610
+ */
3611
+ declare function auditCompleteness(manifest: {
3612
+ branches: LogicBranch[];
3613
+ stateFields: StateField[];
3614
+ transitions: StateTransition[];
3615
+ rulesNeedingContracts: string[];
3616
+ }, registryRuleIds: string[], registryConstraintIds: string[], rulesWithContracts: string[], config?: CompletenessConfig): CompletenessReport;
3617
+ /**
3618
+ * Format a completeness report as human-readable text.
3619
+ */
3620
+ declare function formatReport(report: CompletenessReport): string;
3621
+
3622
+ export { AcknowledgeContractGap, type ActivityState, type Actor, ActorManager, Assumption, BehaviorLedger, CHRONICLE_PATHS, type CanvasDocument, type CanvasEdge, type CanvasEdgeStyle, type CanvasEditorConfig, type CanvasNode, type CanvasNodeStyle, type Chronicle, ChronicleContext, type ChronicleEdge, type ChronicleEvent, type ChronicleNode, type ChronicleSpan, type ChronosMcpTools, type ChronosSearchParams, type ChronosTraceParams, type CompletenessConfig, type CompletenessReport, ComponentDefinition, ConstraintDescriptor, ConstraintFn, type ConstraintNode, type ConstraintSchema, Contract, ContractAdded, ContractGapAcknowledged, ContractMissing, ContractUpdated, ContractValidated, type DefineConstraintOptions, type DefineModuleOptions, type DefineRuleOptions, type EdgeType, type EventDefinition, type EventStreamEntry, type FactDefinition, ReactiveLogicEngine as FrameworkAgnosticReactiveEngine, type ReactiveEngineOptions as FrameworkAgnosticReactiveEngineOptions, type GeneratedDoc, type GeneratedPluresDBFile, type GraphEdge, type GuardianError, type GuardianResult, type GuardianWarning, type LedgerEntry, type LedgerEntryStatus, type LifecycleState, type LoaderOptions, type LoaderResult, type LogicBranch, LogicDefinition, LogicEngine, type McpToolResult, MissingArtifact, ModelDefinition, PRAXIS_PATHS, type PluresDBAdapter, type PluresDBAdapterOptions, PluresDBGenerator, type PluresDBGeneratorOptions, PluresDbChronicle, PraxisDB, PraxisDBStore, type PraxisDBStoreOptions, PraxisEvent, PraxisFact, PraxisModule, PraxisRegistry, PraxisSchema, PraxisSchemaRegistry, PraxisState, type RegistryGraph, RegistryIntrospector, type RegistrySchema, type RegistryStats, RuleDescriptor, RuleFn, type RuleNode, type RuleSchema, Severity, type StateChangeCallback, type StateDoc, type StateDocsConfig, StateDocsGenerator, type StateField, type StateMachineDoc, type StateTransition, type StoredSchema, type TauriAppConfig, type TauriBridge, type TauriCommand, type TauriEvent, type TauriFS, type TauriFileEntry, type TauriMenuItem, type TauriNotification, type TauriNotificationOptions, type TauriPlugin, type TauriPraxisAdapter, type TauriSecurityConfig, type TauriTray, type TauriUpdateConfig, type TauriUpdateInfo, type TauriWindowConfig, type TraceDirection, type TransitionDoc, type UIContext, type UnifiedApp, type UnifiedAppConfig, UnsubscribeFn$1 as UnsubscribeFn, type UnumAdapter, type UnumAdapterConfig, type UnumChannel, type UnumIdentity, type UnumMessage, type UnumStore, ValidateContracts, type ValidateOptions, ValidationReport, ValidationResult, attachAllIntegrations, attachTauriToEngine, attachToEngine, attachUnumToEngine, auditCompleteness, canvasToMermaid, canvasToSchema, canvasToYaml, createBehaviorLedger, createCanvasEditor, createChronicle, createChronosMcpTools, createReactiveEngine as createFrameworkAgnosticReactiveEngine, createIntrospector, createMockTauriBridge, createPluresDBAdapter, createPluresDBGenerator, createPraxisDBStore, createSchemaRegistry, createStateDocsGenerator, createTauriPraxisAdapter, createTimerActor, createUIModule, createUnifiedApp, createUnumAdapter, defineConstraint, defineEvent, defineFact, defineModule, defineRule, dirtyGuardRule, errorDisplayRule, filterEvents, filterFacts, findEvent, findFact, formatReport, formatValidationReport, formatValidationReportJSON, formatValidationReportSARIF, generateDocs, generateId, generateTauriConfig, getEventPath, getFactPath, getSchemaPath, initGateRule, loadSchema, loadSchemaFromFile, loadSchemaFromJson, loadSchemaFromYaml, loadingGateRule, mustBeInitializedConstraint, navigationRequest, noInteractionWhileLoadingConstraint, offlineIndicatorRule, registerSchema, resizeEvent, schemaToCanvas, uiModule, uiStateChanged, validateContracts, validateForGeneration, validateWithGuardian, viewportRule };
@@ -1,7 +1,7 @@
1
- import { P as PraxisState, a as PraxisEvent, b as PraxisFact } from './protocol-BocKczNv.js';
2
- export { f as PRAXIS_PROTOCOL_VERSION, e as PraxisDiagnostics, d as PraxisStepConfig, g as PraxisStepFn, c as PraxisStepResult } from './protocol-BocKczNv.js';
3
- import { L as LogicEngine, P as PraxisRegistry, b as RuleDescriptor, C as ConstraintDescriptor, d as ConstraintFn, e as Contract, f as RuleFn, g as PraxisModule, M as MissingArtifact, S as Severity, V as ValidationReport, A as Assumption } from './reactive-engine.svelte-D-xTDxT5.js';
4
- export { h as ConstraintId, i as ContractGap, D as DefineContractOptions, E as Example, j as PraxisEngineOptions, R as ReactiveEngineOptions, a as ReactiveLogicEngine, k as Reference, l as RuleId, m as createPraxisEngine, c as createReactiveEngine, n as defineContract, o as getContract, p as isContract } from './reactive-engine.svelte-D-xTDxT5.js';
1
+ import { P as PraxisState, a as PraxisEvent, b as PraxisFact } from './protocol-DcyGMmWY.js';
2
+ export { f as PRAXIS_PROTOCOL_VERSION, e as PraxisDiagnostics, d as PraxisStepConfig, g as PraxisStepFn, c as PraxisStepResult } from './protocol-DcyGMmWY.js';
3
+ import { L as LogicEngine, P as PraxisRegistry, b as RuleDescriptor, C as ConstraintDescriptor, d as ConstraintFn, e as Contract, f as RuleFn, g as PraxisModule, M as MissingArtifact, S as Severity, V as ValidationReport, A as Assumption } from './reactive-engine.svelte-DekxqFu0.js';
4
+ export { h as ConstraintId, i as ContractGap, D as DefineContractOptions, E as Example, j as PraxisEngineOptions, R as ReactiveEngineOptions, a as ReactiveLogicEngine, k as Reference, l as RuleId, m as RuleResult, T as TypedRuleFn, n as createPraxisEngine, c as createReactiveEngine, o as defineContract, p as fact, q as getContract, r as isContract } from './reactive-engine.svelte-DekxqFu0.js';
5
5
  import { P as PraxisDB, U as UnsubscribeFn$1 } from './terminal-adapter-CvIvgTo4.js';
6
6
  export { C as CommandExecutor, I as InMemoryPraxisDB, a as PluresDBAdapterConfig, b as PluresDBInstance, d as PluresDBPraxisAdapter, e as PraxisLocalFirstOptions, T as TerminalAdapter, f as TerminalAdapterOptions, g as TerminalExecutionResult, h as TerminalNodeState, i as createInMemoryDB, j as createMockExecutor, k as createPluresDB, l as createPraxisLocalFirst, c as createTerminalAdapter, r as runTerminalCommand } from './terminal-adapter-CvIvgTo4.js';
7
7
  import { PraxisSchema, ValidationResult, ModelDefinition, FieldDefinition, ComponentDefinition, LogicDefinition } from './schema.js';
@@ -3353,4 +3353,270 @@ declare function attachAllIntegrations<TContext = unknown>(engine: LogicEngine<T
3353
3353
  dispose: () => void;
3354
3354
  }>;
3355
3355
 
3356
- export { AcknowledgeContractGap, type ActivityState, type Actor, ActorManager, Assumption, BehaviorLedger, CHRONICLE_PATHS, type CanvasDocument, type CanvasEdge, type CanvasEdgeStyle, type CanvasEditorConfig, type CanvasNode, type CanvasNodeStyle, type Chronicle, ChronicleContext, type ChronicleEdge, type ChronicleEvent, type ChronicleNode, type ChronicleSpan, type ChronosMcpTools, type ChronosSearchParams, type ChronosTraceParams, ComponentDefinition, ConstraintDescriptor, ConstraintFn, type ConstraintNode, type ConstraintSchema, Contract, ContractAdded, ContractGapAcknowledged, ContractMissing, ContractUpdated, ContractValidated, type DefineConstraintOptions, type DefineModuleOptions, type DefineRuleOptions, type EdgeType, type EventDefinition, type EventStreamEntry, type FactDefinition, ReactiveLogicEngine as FrameworkAgnosticReactiveEngine, type ReactiveEngineOptions as FrameworkAgnosticReactiveEngineOptions, type GeneratedDoc, type GeneratedPluresDBFile, type GraphEdge, type GuardianError, type GuardianResult, type GuardianWarning, type LedgerEntry, type LedgerEntryStatus, type LifecycleState, type LoaderOptions, type LoaderResult, LogicDefinition, LogicEngine, type McpToolResult, MissingArtifact, ModelDefinition, PRAXIS_PATHS, type PluresDBAdapter, type PluresDBAdapterOptions, PluresDBGenerator, type PluresDBGeneratorOptions, PluresDbChronicle, PraxisDB, PraxisDBStore, type PraxisDBStoreOptions, PraxisEvent, PraxisFact, PraxisModule, PraxisRegistry, PraxisSchema, PraxisSchemaRegistry, PraxisState, type RegistryGraph, RegistryIntrospector, type RegistrySchema, type RegistryStats, RuleDescriptor, RuleFn, type RuleNode, type RuleSchema, Severity, type StateChangeCallback, type StateDoc, type StateDocsConfig, StateDocsGenerator, type StateMachineDoc, type StoredSchema, type TauriAppConfig, type TauriBridge, type TauriCommand, type TauriEvent, type TauriFS, type TauriFileEntry, type TauriMenuItem, type TauriNotification, type TauriNotificationOptions, type TauriPlugin, type TauriPraxisAdapter, type TauriSecurityConfig, type TauriTray, type TauriUpdateConfig, type TauriUpdateInfo, type TauriWindowConfig, type TraceDirection, type TransitionDoc, type UnifiedApp, type UnifiedAppConfig, UnsubscribeFn$1 as UnsubscribeFn, type UnumAdapter, type UnumAdapterConfig, type UnumChannel, type UnumIdentity, type UnumMessage, type UnumStore, ValidateContracts, type ValidateOptions, ValidationReport, ValidationResult, attachAllIntegrations, attachTauriToEngine, attachToEngine, attachUnumToEngine, canvasToMermaid, canvasToSchema, canvasToYaml, createBehaviorLedger, createCanvasEditor, createChronicle, createChronosMcpTools, createReactiveEngine as createFrameworkAgnosticReactiveEngine, createIntrospector, createMockTauriBridge, createPluresDBAdapter, createPluresDBGenerator, createPraxisDBStore, createSchemaRegistry, createStateDocsGenerator, createTauriPraxisAdapter, createTimerActor, createUnifiedApp, createUnumAdapter, defineConstraint, defineEvent, defineFact, defineModule, defineRule, filterEvents, filterFacts, findEvent, findFact, formatValidationReport, formatValidationReportJSON, formatValidationReportSARIF, generateDocs, generateId, generateTauriConfig, getEventPath, getFactPath, getSchemaPath, loadSchema, loadSchemaFromFile, loadSchemaFromJson, loadSchemaFromYaml, registerSchema, schemaToCanvas, validateContracts, validateForGeneration, validateWithGuardian };
3356
+ /**
3357
+ * Praxis UI Rules
3358
+ *
3359
+ * Lightweight, predefined UI-specific rules and constraints.
3360
+ * These govern UI behavior without muddying business logic rules.
3361
+ *
3362
+ * UI rules are separated from domain rules by convention:
3363
+ * - Domain rules: business decisions, data invariants, workflow logic
3364
+ * - UI rules: visibility, loading states, error display, navigation guards
3365
+ *
3366
+ * Ship predefined rules that apps can opt into. Every `if` in the UI
3367
+ * can be governed by Praxis — business rules stay clean, UI rules stay separate.
3368
+ */
3369
+
3370
+ /**
3371
+ * Standard UI state fields that UI rules can read from context.
3372
+ * Apps extend their context with these fields to enable UI rules.
3373
+ */
3374
+ interface UIContext {
3375
+ /** Whether the app is currently loading data */
3376
+ loading?: boolean;
3377
+ /** Current error message, if any */
3378
+ error?: string | null;
3379
+ /** Whether the app is in offline mode */
3380
+ offline?: boolean;
3381
+ /** Whether there are unsaved changes */
3382
+ dirty?: boolean;
3383
+ /** Current route/view name */
3384
+ route?: string;
3385
+ /** Whether the app has completed initialization */
3386
+ initialized?: boolean;
3387
+ /** Screen width category: 'mobile' | 'tablet' | 'desktop' */
3388
+ viewport?: 'mobile' | 'tablet' | 'desktop';
3389
+ /** Whether a modal/dialog is currently open */
3390
+ modalOpen?: boolean;
3391
+ /** Active panel/tab name */
3392
+ activePanel?: string | null;
3393
+ }
3394
+ /**
3395
+ * Loading gate: emits ui.loading-gate when data is loading.
3396
+ * UI components can subscribe to this fact to show loading indicators.
3397
+ */
3398
+ declare const loadingGateRule: RuleDescriptor<UIContext>;
3399
+ /**
3400
+ * Error display: emits ui.error-display with the error message.
3401
+ * Retracts when error clears.
3402
+ */
3403
+ declare const errorDisplayRule: RuleDescriptor<UIContext>;
3404
+ /**
3405
+ * Offline indicator: emits ui.offline-indicator when the app detects offline state.
3406
+ */
3407
+ declare const offlineIndicatorRule: RuleDescriptor<UIContext>;
3408
+ /**
3409
+ * Dirty guard: emits ui.unsaved-warning when there are unsaved changes.
3410
+ * Can be used to block navigation or show save prompts.
3411
+ */
3412
+ declare const dirtyGuardRule: RuleDescriptor<UIContext>;
3413
+ /**
3414
+ * Init gate: blocks UI interactions until app is initialized.
3415
+ */
3416
+ declare const initGateRule: RuleDescriptor<UIContext>;
3417
+ /**
3418
+ * Viewport-responsive: emits ui.viewport-class based on screen size.
3419
+ */
3420
+ declare const viewportRule: RuleDescriptor<UIContext>;
3421
+ /**
3422
+ * No interaction while loading: constraint that fails if actions are taken during loading.
3423
+ */
3424
+ declare const noInteractionWhileLoadingConstraint: ConstraintDescriptor<UIContext>;
3425
+ /**
3426
+ * Must be initialized: constraint that fails if app hasn't completed init.
3427
+ */
3428
+ declare const mustBeInitializedConstraint: ConstraintDescriptor<UIContext>;
3429
+ /**
3430
+ * The complete UI rules module.
3431
+ * Register this to get all predefined UI rules and constraints.
3432
+ *
3433
+ * @example
3434
+ * import { uiModule } from '@plures/praxis';
3435
+ * registry.registerModule(uiModule);
3436
+ */
3437
+ declare const uiModule: PraxisModule<UIContext>;
3438
+ /**
3439
+ * Create a customized UI module with only the rules you need.
3440
+ *
3441
+ * @example
3442
+ * const myUI = createUIModule({
3443
+ * rules: ['ui/loading-gate', 'ui/dirty-guard'],
3444
+ * constraints: ['ui/must-be-initialized'],
3445
+ * });
3446
+ * registry.registerModule(myUI);
3447
+ */
3448
+ declare function createUIModule<TContext extends UIContext>(options: {
3449
+ rules?: string[];
3450
+ constraints?: string[];
3451
+ extraRules?: RuleDescriptor<TContext>[];
3452
+ extraConstraints?: ConstraintDescriptor<TContext>[];
3453
+ }): PraxisModule<TContext>;
3454
+ /**
3455
+ * Create a UI state change event. Fire this when UIContext fields change.
3456
+ */
3457
+ declare function uiStateChanged(changes?: Record<string, unknown>): PraxisEvent;
3458
+ /**
3459
+ * Create a navigation request event. Used with dirty guard.
3460
+ */
3461
+ declare function navigationRequest(to: string): PraxisEvent;
3462
+ /**
3463
+ * Create a resize event. Used with viewport rule.
3464
+ */
3465
+ declare function resizeEvent(width: number, height: number): PraxisEvent;
3466
+
3467
+ /**
3468
+ * @plures/praxis — Completeness Analysis
3469
+ *
3470
+ * This module provides tools to measure and enforce "Praxis Completeness" —
3471
+ * the degree to which an application's logic is expressed through Praxis
3472
+ * rules, constraints, and contracts rather than scattered conditionals.
3473
+ *
3474
+ * ## Definition: Praxis Logic Completeness
3475
+ *
3476
+ * An application is "Praxis Complete" when:
3477
+ *
3478
+ * 1. **DOMAIN RULES (100%)** — Every business decision that produces user-visible
3479
+ * behavior change is expressed as a Praxis rule. "If the sprint is behind pace,
3480
+ * show a warning" is domain logic. It belongs in Praxis.
3481
+ *
3482
+ * 2. **INVARIANTS (100%)** — Every data validity assertion is a Praxis constraint.
3483
+ * "Sprint hours must not exceed 80" is an invariant. It belongs in Praxis.
3484
+ *
3485
+ * 3. **CONTRACTS (>80%)** — Rules that encode non-obvious behavior have contracts
3486
+ * (behavior description + examples + invariants). Contracts are documentation
3487
+ * AND test vectors — they prove the tool isn't the bug.
3488
+ *
3489
+ * 4. **CONTEXT COVERAGE (100%)** — Every piece of application state that rules
3490
+ * reason about is in the Praxis context. If a rule needs to know about
3491
+ * connection status, connection status must be in the context.
3492
+ *
3493
+ * 5. **EVENT COVERAGE (100%)** — Every state transition that should trigger rule
3494
+ * evaluation fires a Praxis event. If notes can be saved, there's a note.save
3495
+ * event. If sprint refreshes, there's a sprint.refresh event.
3496
+ *
3497
+ * ## What Is NOT Praxis Logic
3498
+ *
3499
+ * - **UI mechanics**: Panel toggle, scroll position, animation state, focus management
3500
+ * - **Data transport**: fetch() calls, WebSocket plumbing, file I/O
3501
+ * - **Framework wiring**: Svelte subscriptions, onMount, store creation
3502
+ * - **Data transformation**: Parsing, formatting, serialization
3503
+ * - **Routing/navigation**: URL handling, panel switching (unless it has business rules)
3504
+ *
3505
+ * The line: "Does this `if` statement encode a business decision or an app invariant?"
3506
+ * If yes → Praxis rule/constraint. If no → leave it.
3507
+ *
3508
+ * ## Measuring Completeness
3509
+ *
3510
+ * ### Quantitative Metrics
3511
+ * - **Rule Coverage**: (domain `if` branches in Praxis) / (total domain `if` branches)
3512
+ * - **Constraint Coverage**: (data invariants in Praxis) / (total data invariants)
3513
+ * - **Contract Coverage**: (rules with contracts) / (rules that need contracts)
3514
+ * - **Context Coverage**: (state fields wired to context) / (state fields rules need)
3515
+ * - **Event Coverage**: (state transitions with events) / (state transitions that matter)
3516
+ *
3517
+ * ### Qualitative Indicators
3518
+ * - Can you change a business rule by editing ONE rule definition? (single source of truth)
3519
+ * - Can you test a business rule without rendering UI? (Praxis engine is headless)
3520
+ * - Can you explain every business rule to a PM by reading the registry? (self-documenting)
3521
+ * - Does the PraxisPanel show all active concerns? (observable)
3522
+ *
3523
+ * ## The Completeness Score
3524
+ *
3525
+ * ```
3526
+ * Score = (
3527
+ * rulesCovered / totalDomainBranches * 40 + // Rules are king (40%)
3528
+ * constraintsCovered / totalInvariants * 20 + // Invariants matter (20%)
3529
+ * contractsCovered / rulesNeedingContracts * 15 + // Contracts prevent bugs (15%)
3530
+ * contextFieldsCovered / totalNeeded * 15 + // Context = visibility (15%)
3531
+ * eventsCovered / totalTransitions * 10 // Events = reactivity (10%)
3532
+ * )
3533
+ * ```
3534
+ *
3535
+ * 90+ = Complete | 70-89 = Good | 50-69 = Partial | <50 = Incomplete
3536
+ */
3537
+ interface LogicBranch {
3538
+ /** Source file + line */
3539
+ location: string;
3540
+ /** The condition expression */
3541
+ condition: string;
3542
+ /** Classification */
3543
+ kind: 'domain' | 'invariant' | 'ui' | 'transport' | 'wiring' | 'transform';
3544
+ /** If domain/invariant: the Praxis rule/constraint that covers it, or null */
3545
+ coveredBy: string | null;
3546
+ /** Human note */
3547
+ note?: string;
3548
+ }
3549
+ interface StateField {
3550
+ /** Store or source name */
3551
+ source: string;
3552
+ /** Field path */
3553
+ field: string;
3554
+ /** Whether it's in the Praxis context */
3555
+ inContext: boolean;
3556
+ /** Whether any rule references it */
3557
+ usedByRule: boolean;
3558
+ }
3559
+ interface StateTransition {
3560
+ /** What changes */
3561
+ description: string;
3562
+ /** The Praxis event tag, or null if missing */
3563
+ eventTag: string | null;
3564
+ /** Source location */
3565
+ location: string;
3566
+ }
3567
+ interface CompletenessReport {
3568
+ /** Overall score (0-100) */
3569
+ score: number;
3570
+ /** Rating */
3571
+ rating: 'complete' | 'good' | 'partial' | 'incomplete';
3572
+ rules: {
3573
+ total: number;
3574
+ covered: number;
3575
+ uncovered: LogicBranch[];
3576
+ };
3577
+ constraints: {
3578
+ total: number;
3579
+ covered: number;
3580
+ uncovered: LogicBranch[];
3581
+ };
3582
+ contracts: {
3583
+ total: number;
3584
+ withContracts: number;
3585
+ missing: string[];
3586
+ };
3587
+ context: {
3588
+ total: number;
3589
+ covered: number;
3590
+ missing: StateField[];
3591
+ };
3592
+ events: {
3593
+ total: number;
3594
+ covered: number;
3595
+ missing: StateTransition[];
3596
+ };
3597
+ }
3598
+ interface CompletenessConfig {
3599
+ /** Minimum score to pass (default: 90) */
3600
+ threshold?: number;
3601
+ /** Whether to throw on failure (for CI) */
3602
+ strict?: boolean;
3603
+ }
3604
+ /**
3605
+ * Run a completeness audit against a Praxis registry and app manifest.
3606
+ *
3607
+ * The manifest is a developer-authored declaration of all logic branches,
3608
+ * state fields, and state transitions in the app. The auditor checks which
3609
+ * ones are covered by Praxis.
3610
+ */
3611
+ declare function auditCompleteness(manifest: {
3612
+ branches: LogicBranch[];
3613
+ stateFields: StateField[];
3614
+ transitions: StateTransition[];
3615
+ rulesNeedingContracts: string[];
3616
+ }, registryRuleIds: string[], registryConstraintIds: string[], rulesWithContracts: string[], config?: CompletenessConfig): CompletenessReport;
3617
+ /**
3618
+ * Format a completeness report as human-readable text.
3619
+ */
3620
+ declare function formatReport(report: CompletenessReport): string;
3621
+
3622
+ export { AcknowledgeContractGap, type ActivityState, type Actor, ActorManager, Assumption, BehaviorLedger, CHRONICLE_PATHS, type CanvasDocument, type CanvasEdge, type CanvasEdgeStyle, type CanvasEditorConfig, type CanvasNode, type CanvasNodeStyle, type Chronicle, ChronicleContext, type ChronicleEdge, type ChronicleEvent, type ChronicleNode, type ChronicleSpan, type ChronosMcpTools, type ChronosSearchParams, type ChronosTraceParams, type CompletenessConfig, type CompletenessReport, ComponentDefinition, ConstraintDescriptor, ConstraintFn, type ConstraintNode, type ConstraintSchema, Contract, ContractAdded, ContractGapAcknowledged, ContractMissing, ContractUpdated, ContractValidated, type DefineConstraintOptions, type DefineModuleOptions, type DefineRuleOptions, type EdgeType, type EventDefinition, type EventStreamEntry, type FactDefinition, ReactiveLogicEngine as FrameworkAgnosticReactiveEngine, type ReactiveEngineOptions as FrameworkAgnosticReactiveEngineOptions, type GeneratedDoc, type GeneratedPluresDBFile, type GraphEdge, type GuardianError, type GuardianResult, type GuardianWarning, type LedgerEntry, type LedgerEntryStatus, type LifecycleState, type LoaderOptions, type LoaderResult, type LogicBranch, LogicDefinition, LogicEngine, type McpToolResult, MissingArtifact, ModelDefinition, PRAXIS_PATHS, type PluresDBAdapter, type PluresDBAdapterOptions, PluresDBGenerator, type PluresDBGeneratorOptions, PluresDbChronicle, PraxisDB, PraxisDBStore, type PraxisDBStoreOptions, PraxisEvent, PraxisFact, PraxisModule, PraxisRegistry, PraxisSchema, PraxisSchemaRegistry, PraxisState, type RegistryGraph, RegistryIntrospector, type RegistrySchema, type RegistryStats, RuleDescriptor, RuleFn, type RuleNode, type RuleSchema, Severity, type StateChangeCallback, type StateDoc, type StateDocsConfig, StateDocsGenerator, type StateField, type StateMachineDoc, type StateTransition, type StoredSchema, type TauriAppConfig, type TauriBridge, type TauriCommand, type TauriEvent, type TauriFS, type TauriFileEntry, type TauriMenuItem, type TauriNotification, type TauriNotificationOptions, type TauriPlugin, type TauriPraxisAdapter, type TauriSecurityConfig, type TauriTray, type TauriUpdateConfig, type TauriUpdateInfo, type TauriWindowConfig, type TraceDirection, type TransitionDoc, type UIContext, type UnifiedApp, type UnifiedAppConfig, UnsubscribeFn$1 as UnsubscribeFn, type UnumAdapter, type UnumAdapterConfig, type UnumChannel, type UnumIdentity, type UnumMessage, type UnumStore, ValidateContracts, type ValidateOptions, ValidationReport, ValidationResult, attachAllIntegrations, attachTauriToEngine, attachToEngine, attachUnumToEngine, auditCompleteness, canvasToMermaid, canvasToSchema, canvasToYaml, createBehaviorLedger, createCanvasEditor, createChronicle, createChronosMcpTools, createReactiveEngine as createFrameworkAgnosticReactiveEngine, createIntrospector, createMockTauriBridge, createPluresDBAdapter, createPluresDBGenerator, createPraxisDBStore, createSchemaRegistry, createStateDocsGenerator, createTauriPraxisAdapter, createTimerActor, createUIModule, createUnifiedApp, createUnumAdapter, defineConstraint, defineEvent, defineFact, defineModule, defineRule, dirtyGuardRule, errorDisplayRule, filterEvents, filterFacts, findEvent, findFact, formatReport, formatValidationReport, formatValidationReportJSON, formatValidationReportSARIF, generateDocs, generateId, generateTauriConfig, getEventPath, getFactPath, getSchemaPath, initGateRule, loadSchema, loadSchemaFromFile, loadSchemaFromJson, loadSchemaFromYaml, loadingGateRule, mustBeInitializedConstraint, navigationRequest, noInteractionWhileLoadingConstraint, offlineIndicatorRule, registerSchema, resizeEvent, schemaToCanvas, uiModule, uiStateChanged, validateContracts, validateForGeneration, validateWithGuardian, viewportRule };