@elevasis/ui 2.30.0 → 2.31.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 (109) hide show
  1. package/dist/{CoreAuthKitInner-QC62UHTZ.js → CoreAuthKitInner-KSEGSB67.js} +1 -1
  2. package/dist/api/index.js +3 -3
  3. package/dist/app/index.d.ts +122 -1
  4. package/dist/app/index.js +7 -7
  5. package/dist/auth/context.js +1 -1
  6. package/dist/auth/index.js +1 -1
  7. package/dist/charts/index.js +4 -4
  8. package/dist/{chunk-T5Z7G2J2.js → chunk-3BAPR3KA.js} +1 -1
  9. package/dist/{chunk-4VQ2PXMI.js → chunk-3FV6HBXS.js} +4 -4
  10. package/dist/{chunk-2DIYILF7.js → chunk-542WPQU2.js} +2 -2
  11. package/dist/{chunk-SBCIB5TZ.js → chunk-5LJAEZMA.js} +5 -5
  12. package/dist/{chunk-T2PAD63Y.js → chunk-7HMCB26R.js} +1 -1
  13. package/dist/chunk-7KC4P3AU.js +357 -0
  14. package/dist/{chunk-AKOD52HS.js → chunk-CQZ3DNQY.js} +4 -3
  15. package/dist/{chunk-I2KLQ2HA.js → chunk-DZTG5IAC.js} +7 -1
  16. package/dist/{chunk-JCGD4GM6.js → chunk-GRDLB6LM.js} +1 -0
  17. package/dist/{chunk-JKTPRYGV.js → chunk-HQGF4ATG.js} +9 -55
  18. package/dist/{chunk-SKXXT3E2.js → chunk-HYNYEBHM.js} +4 -4
  19. package/dist/{chunk-6EFVZV6X.js → chunk-JKSUN5GN.js} +718 -64
  20. package/dist/{chunk-LRZFLK2F.js → chunk-L2NVFLXU.js} +3 -3
  21. package/dist/{chunk-6WXDE5LZ.js → chunk-L3BVJWML.js} +1 -1
  22. package/dist/{chunk-3MDNBHVB.js → chunk-MVFCLZSK.js} +690 -221
  23. package/dist/{chunk-HYLERWRO.js → chunk-ND42LPY4.js} +6 -6
  24. package/dist/{chunk-CLUP5H3C.js → chunk-O2QOPJI5.js} +360 -126
  25. package/dist/{chunk-X2SUMO3P.js → chunk-P55BJZZW.js} +2 -1
  26. package/dist/{chunk-4FZYEEPK.js → chunk-Q6OYNEGR.js} +5 -5
  27. package/dist/{chunk-4SY6BTVZ.js → chunk-QDEETKYT.js} +4 -1
  28. package/dist/{chunk-IKQ42WHU.js → chunk-QHEWXU7I.js} +1 -1
  29. package/dist/chunk-R2XR4FCV.js +48 -0
  30. package/dist/chunk-R66W5UDG.js +26 -0
  31. package/dist/{chunk-3GV5NHSS.js → chunk-SHQXMW4F.js} +39 -211
  32. package/dist/{chunk-A7B7HLDF.js → chunk-T3IPHEYJ.js} +1889 -301
  33. package/dist/{chunk-7E3FUTND.js → chunk-TOIXUWR6.js} +1 -1
  34. package/dist/{chunk-NITGGYH2.js → chunk-TVRQ6AQI.js} +1 -1
  35. package/dist/{chunk-CN2HC4D4.js → chunk-UFTM5SZZ.js} +2 -2
  36. package/dist/{chunk-KVJ3LFH2.js → chunk-VNFR57DF.js} +4 -24
  37. package/dist/{chunk-P5WYW2GI.js → chunk-Y4FWCG7Y.js} +150 -305
  38. package/dist/components/chat/index.js +1 -1
  39. package/dist/components/index.d.ts +205 -11
  40. package/dist/components/index.js +38 -35
  41. package/dist/components/navigation/index.js +1 -1
  42. package/dist/execution/index.d.ts +2 -1
  43. package/dist/execution/index.js +1 -1
  44. package/dist/features/auth/index.d.ts +121 -0
  45. package/dist/features/auth/index.js +1 -1
  46. package/dist/features/clients/index.css +611 -0
  47. package/dist/features/clients/index.d.ts +86 -0
  48. package/dist/features/clients/index.js +719 -0
  49. package/dist/features/crm/index.d.ts +148 -2
  50. package/dist/features/crm/index.js +18 -16
  51. package/dist/features/dashboard/index.d.ts +36 -1
  52. package/dist/features/dashboard/index.js +14 -14
  53. package/dist/features/delivery/index.d.ts +121 -0
  54. package/dist/features/delivery/index.js +18 -16
  55. package/dist/features/knowledge/index.js +43 -20
  56. package/dist/features/lead-gen/index.d.ts +17 -11
  57. package/dist/features/lead-gen/index.js +19 -17
  58. package/dist/features/monitoring/index.js +17 -16
  59. package/dist/features/monitoring/requests/index.js +14 -13
  60. package/dist/features/operations/index.d.ts +38 -2
  61. package/dist/features/operations/index.js +22 -21
  62. package/dist/features/seo/index.js +1 -1
  63. package/dist/features/settings/index.d.ts +121 -0
  64. package/dist/features/settings/index.js +16 -15
  65. package/dist/graph/index.js +1 -1
  66. package/dist/hooks/delivery/index.d.ts +140 -0
  67. package/dist/hooks/delivery/index.js +3 -3
  68. package/dist/hooks/index.d.ts +583 -19
  69. package/dist/hooks/index.js +12 -12
  70. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +82 -1
  71. package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
  72. package/dist/hooks/published.d.ts +583 -19
  73. package/dist/hooks/published.js +12 -12
  74. package/dist/index.d.ts +680 -21
  75. package/dist/index.js +13 -13
  76. package/dist/initialization/index.d.ts +121 -0
  77. package/dist/initialization/index.js +1 -1
  78. package/dist/knowledge/index.d.ts +97 -1
  79. package/dist/knowledge/index.js +1692 -1039
  80. package/dist/layout/index.d.ts +6 -0
  81. package/dist/layout/index.js +4 -4
  82. package/dist/organization/index.js +1 -1
  83. package/dist/profile/index.d.ts +121 -0
  84. package/dist/profile/index.js +1 -1
  85. package/dist/provider/ElevasisServiceContext.js +1 -1
  86. package/dist/provider/index.d.ts +218 -2
  87. package/dist/provider/index.js +10 -10
  88. package/dist/provider/published.d.ts +218 -2
  89. package/dist/provider/published.js +7 -7
  90. package/dist/router/context.js +1 -1
  91. package/dist/router/index.js +1 -1
  92. package/dist/sse/index.js +1 -1
  93. package/dist/supabase/index.d.ts +232 -0
  94. package/dist/supabase/index.js +1 -1
  95. package/dist/test-utils/index.js +3 -3
  96. package/dist/test-utils/setup-integration.js +1 -1
  97. package/dist/test-utils/setup.js +2 -2
  98. package/dist/theme/index.js +4 -4
  99. package/dist/theme/presets/index.js +2 -2
  100. package/dist/typeform/index.js +1 -1
  101. package/dist/typeform/schemas.js +1 -1
  102. package/dist/types/index.d.ts +204 -1
  103. package/dist/utils/index.d.ts +36 -1
  104. package/dist/utils/index.js +2 -2
  105. package/dist/vite/index.js +3 -3
  106. package/dist/vite-plugin-knowledge/index.js +2 -2
  107. package/dist/zustand/index.js +1 -1
  108. package/package.json +13 -4
  109. /package/dist/{chunk-HXZQWMKE.js → chunk-XQHZBA65.js} +0 -0
@@ -227,6 +227,7 @@ interface SerializedAgentDefinition {
227
227
  description: string;
228
228
  version: string;
229
229
  type: 'agent';
230
+ kind: 'orchestrator' | 'specialist' | 'utility' | 'system';
230
231
  status: 'dev' | 'prod';
231
232
  links?: ResourceLink[];
232
233
  category?: ResourceCategory;
@@ -410,6 +411,55 @@ interface ModelConfig {
410
411
  modelOptions?: ModelSpecificOptions;
411
412
  }
412
413
 
414
+ declare const ResourceGovernanceStatusSchema: z.ZodEnum<{
415
+ active: "active";
416
+ deprecated: "deprecated";
417
+ archived: "archived";
418
+ }>;
419
+ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
420
+ id: z.ZodString;
421
+ systemId: z.ZodString;
422
+ ownerRoleId: z.ZodOptional<z.ZodString>;
423
+ status: z.ZodEnum<{
424
+ active: "active";
425
+ deprecated: "deprecated";
426
+ archived: "archived";
427
+ }>;
428
+ kind: z.ZodLiteral<"workflow">;
429
+ capabilityKey: z.ZodOptional<z.ZodString>;
430
+ }, z.core.$strip>, z.ZodObject<{
431
+ id: z.ZodString;
432
+ systemId: z.ZodString;
433
+ ownerRoleId: z.ZodOptional<z.ZodString>;
434
+ status: z.ZodEnum<{
435
+ active: "active";
436
+ deprecated: "deprecated";
437
+ archived: "archived";
438
+ }>;
439
+ kind: z.ZodLiteral<"agent">;
440
+ agentKind: z.ZodEnum<{
441
+ orchestrator: "orchestrator";
442
+ specialist: "specialist";
443
+ utility: "utility";
444
+ system: "system";
445
+ }>;
446
+ actsAsRoleId: z.ZodOptional<z.ZodString>;
447
+ sessionCapable: z.ZodBoolean;
448
+ }, z.core.$strip>, z.ZodObject<{
449
+ id: z.ZodString;
450
+ systemId: z.ZodString;
451
+ ownerRoleId: z.ZodOptional<z.ZodString>;
452
+ status: z.ZodEnum<{
453
+ active: "active";
454
+ deprecated: "deprecated";
455
+ archived: "archived";
456
+ }>;
457
+ kind: z.ZodLiteral<"integration">;
458
+ provider: z.ZodString;
459
+ }, z.core.$strip>], "kind">;
460
+ type ResourceGovernanceStatus = z.infer<typeof ResourceGovernanceStatusSchema>;
461
+ type ResourceEntry = z.infer<typeof ResourceEntrySchema>;
462
+
413
463
  /**
414
464
  * Shared form field types for dynamic form generation
415
465
  * Used by: Command Queue, Execution Runner UI, future form-based features
@@ -588,6 +638,7 @@ type Database = {
588
638
  batch_id: string | null;
589
639
  category: string | null;
590
640
  category_pain: string | null;
641
+ client_id: string | null;
591
642
  created_at: string;
592
643
  domain: string | null;
593
644
  enrichment_data: Json | null;
@@ -614,6 +665,7 @@ type Database = {
614
665
  batch_id?: string | null;
615
666
  category?: string | null;
616
667
  category_pain?: string | null;
668
+ client_id?: string | null;
617
669
  created_at?: string;
618
670
  domain?: string | null;
619
671
  enrichment_data?: Json | null;
@@ -640,6 +692,7 @@ type Database = {
640
692
  batch_id?: string | null;
641
693
  category?: string | null;
642
694
  category_pain?: string | null;
695
+ client_id?: string | null;
643
696
  created_at?: string;
644
697
  domain?: string | null;
645
698
  enrichment_data?: Json | null;
@@ -663,6 +716,13 @@ type Database = {
663
716
  website?: string | null;
664
717
  };
665
718
  Relationships: [
719
+ {
720
+ foreignKeyName: "acq_companies_client_id_fkey";
721
+ columns: ["client_id"];
722
+ isOneToOne: false;
723
+ referencedRelation: "clients";
724
+ referencedColumns: ["id"];
725
+ },
666
726
  {
667
727
  foreignKeyName: "acq_companies_organization_id_fkey";
668
728
  columns: ["organization_id"];
@@ -677,6 +737,7 @@ type Database = {
677
737
  batch_id: string | null;
678
738
  brochure_first_viewed_at: string | null;
679
739
  brochure_view_count: number;
740
+ client_id: string | null;
680
741
  company_id: string | null;
681
742
  created_at: string;
682
743
  email: string;
@@ -705,6 +766,7 @@ type Database = {
705
766
  batch_id?: string | null;
706
767
  brochure_first_viewed_at?: string | null;
707
768
  brochure_view_count?: number;
769
+ client_id?: string | null;
708
770
  company_id?: string | null;
709
771
  created_at?: string;
710
772
  email: string;
@@ -733,6 +795,7 @@ type Database = {
733
795
  batch_id?: string | null;
734
796
  brochure_first_viewed_at?: string | null;
735
797
  brochure_view_count?: number;
798
+ client_id?: string | null;
736
799
  company_id?: string | null;
737
800
  created_at?: string;
738
801
  email?: string;
@@ -758,6 +821,13 @@ type Database = {
758
821
  updated_at?: string;
759
822
  };
760
823
  Relationships: [
824
+ {
825
+ foreignKeyName: "acq_contacts_client_id_fkey";
826
+ columns: ["client_id"];
827
+ isOneToOne: false;
828
+ referencedRelation: "clients";
829
+ referencedColumns: ["id"];
830
+ },
761
831
  {
762
832
  foreignKeyName: "acq_contacts_company_id_fkey";
763
833
  columns: ["company_id"];
@@ -1001,8 +1071,10 @@ type Database = {
1001
1071
  acq_deals: {
1002
1072
  Row: {
1003
1073
  activity_log: Json;
1074
+ client_id: string | null;
1004
1075
  closed_lost_at: string | null;
1005
1076
  closed_lost_reason: string | null;
1077
+ company_id: string | null;
1006
1078
  contact_email: string;
1007
1079
  contact_id: string | null;
1008
1080
  created_at: string;
@@ -1038,8 +1110,10 @@ type Database = {
1038
1110
  };
1039
1111
  Insert: {
1040
1112
  activity_log?: Json;
1113
+ client_id?: string | null;
1041
1114
  closed_lost_at?: string | null;
1042
1115
  closed_lost_reason?: string | null;
1116
+ company_id?: string | null;
1043
1117
  contact_email: string;
1044
1118
  contact_id?: string | null;
1045
1119
  created_at?: string;
@@ -1075,8 +1149,10 @@ type Database = {
1075
1149
  };
1076
1150
  Update: {
1077
1151
  activity_log?: Json;
1152
+ client_id?: string | null;
1078
1153
  closed_lost_at?: string | null;
1079
1154
  closed_lost_reason?: string | null;
1155
+ company_id?: string | null;
1080
1156
  contact_email?: string;
1081
1157
  contact_id?: string | null;
1082
1158
  created_at?: string;
@@ -1111,6 +1187,20 @@ type Database = {
1111
1187
  updated_at?: string;
1112
1188
  };
1113
1189
  Relationships: [
1190
+ {
1191
+ foreignKeyName: "acq_deals_client_id_fkey";
1192
+ columns: ["client_id"];
1193
+ isOneToOne: false;
1194
+ referencedRelation: "clients";
1195
+ referencedColumns: ["id"];
1196
+ },
1197
+ {
1198
+ foreignKeyName: "acq_deals_company_id_fkey";
1199
+ columns: ["company_id"];
1200
+ isOneToOne: false;
1201
+ referencedRelation: "acq_companies";
1202
+ referencedColumns: ["id"];
1203
+ },
1114
1204
  {
1115
1205
  foreignKeyName: "acq_deals_contact_id_fkey";
1116
1206
  columns: ["contact_id"];
@@ -1728,6 +1818,77 @@ type Database = {
1728
1818
  }
1729
1819
  ];
1730
1820
  };
1821
+ clients: {
1822
+ Row: {
1823
+ converted_at: string | null;
1824
+ created_at: string;
1825
+ id: string;
1826
+ metadata: Json;
1827
+ name: string;
1828
+ organization_id: string;
1829
+ primary_company_id: string | null;
1830
+ primary_contact_id: string | null;
1831
+ source_deal_id: string | null;
1832
+ status: string;
1833
+ updated_at: string;
1834
+ };
1835
+ Insert: {
1836
+ converted_at?: string | null;
1837
+ created_at?: string;
1838
+ id?: string;
1839
+ metadata?: Json;
1840
+ name: string;
1841
+ organization_id: string;
1842
+ primary_company_id?: string | null;
1843
+ primary_contact_id?: string | null;
1844
+ source_deal_id?: string | null;
1845
+ status?: string;
1846
+ updated_at?: string;
1847
+ };
1848
+ Update: {
1849
+ converted_at?: string | null;
1850
+ created_at?: string;
1851
+ id?: string;
1852
+ metadata?: Json;
1853
+ name?: string;
1854
+ organization_id?: string;
1855
+ primary_company_id?: string | null;
1856
+ primary_contact_id?: string | null;
1857
+ source_deal_id?: string | null;
1858
+ status?: string;
1859
+ updated_at?: string;
1860
+ };
1861
+ Relationships: [
1862
+ {
1863
+ foreignKeyName: "clients_organization_id_fkey";
1864
+ columns: ["organization_id"];
1865
+ isOneToOne: false;
1866
+ referencedRelation: "organizations";
1867
+ referencedColumns: ["id"];
1868
+ },
1869
+ {
1870
+ foreignKeyName: "clients_primary_company_id_fkey";
1871
+ columns: ["primary_company_id"];
1872
+ isOneToOne: false;
1873
+ referencedRelation: "acq_companies";
1874
+ referencedColumns: ["id"];
1875
+ },
1876
+ {
1877
+ foreignKeyName: "clients_primary_contact_id_fkey";
1878
+ columns: ["primary_contact_id"];
1879
+ isOneToOne: false;
1880
+ referencedRelation: "acq_contacts";
1881
+ referencedColumns: ["id"];
1882
+ },
1883
+ {
1884
+ foreignKeyName: "clients_source_deal_id_fkey";
1885
+ columns: ["source_deal_id"];
1886
+ isOneToOne: false;
1887
+ referencedRelation: "acq_deals";
1888
+ referencedColumns: ["id"];
1889
+ }
1890
+ ];
1891
+ };
1731
1892
  command_queue: {
1732
1893
  Row: {
1733
1894
  action_payload: Json | null;
@@ -2697,6 +2858,7 @@ type Database = {
2697
2858
  Row: {
2698
2859
  actual_end_date: string | null;
2699
2860
  client_company_id: string | null;
2861
+ client_id: string | null;
2700
2862
  contract_value: number | null;
2701
2863
  created_at: string;
2702
2864
  deal_id: string | null;
@@ -2714,6 +2876,7 @@ type Database = {
2714
2876
  Insert: {
2715
2877
  actual_end_date?: string | null;
2716
2878
  client_company_id?: string | null;
2879
+ client_id?: string | null;
2717
2880
  contract_value?: number | null;
2718
2881
  created_at?: string;
2719
2882
  deal_id?: string | null;
@@ -2731,6 +2894,7 @@ type Database = {
2731
2894
  Update: {
2732
2895
  actual_end_date?: string | null;
2733
2896
  client_company_id?: string | null;
2897
+ client_id?: string | null;
2734
2898
  contract_value?: number | null;
2735
2899
  created_at?: string;
2736
2900
  deal_id?: string | null;
@@ -2767,6 +2931,13 @@ type Database = {
2767
2931
  referencedRelation: "acq_companies";
2768
2932
  referencedColumns: ["id"];
2769
2933
  },
2934
+ {
2935
+ foreignKeyName: "prj_projects_client_id_fkey";
2936
+ columns: ["client_id"];
2937
+ isOneToOne: false;
2938
+ referencedRelation: "clients";
2939
+ referencedColumns: ["id"];
2940
+ },
2770
2941
  {
2771
2942
  foreignKeyName: "prj_projects_deal_id_fkey";
2772
2943
  columns: ["deal_id"];
@@ -4384,6 +4555,27 @@ type AIResourceDefinition = SerializedWorkflowDefinition | SerializedAgentDefini
4384
4555
  */
4385
4556
  type IntegrationType = 'gmail' | 'google-sheets' | 'slack' | 'github' | 'linear' | 'attio' | 'airtable' | 'salesforce' | 'hubspot' | 'stripe' | 'twilio' | 'sendgrid' | 'mailgun' | 'zapier' | 'webhook' | 'apify' | 'instantly' | 'resend' | 'signature-api' | 'dropbox' | 'anymailfinder' | 'tomba' | 'millionverifier';
4386
4557
 
4558
+ declare const SystemEntrySchema: z.ZodObject<{
4559
+ id: z.ZodString;
4560
+ title: z.ZodString;
4561
+ description: z.ZodString;
4562
+ kind: z.ZodEnum<{
4563
+ platform: "platform";
4564
+ product: "product";
4565
+ operational: "operational";
4566
+ diagnostic: "diagnostic";
4567
+ }>;
4568
+ responsibleRoleId: z.ZodOptional<z.ZodString>;
4569
+ governedByKnowledge: z.ZodDefault<z.ZodArray<z.ZodString>>;
4570
+ drivesGoals: z.ZodDefault<z.ZodArray<z.ZodString>>;
4571
+ status: z.ZodEnum<{
4572
+ active: "active";
4573
+ deprecated: "deprecated";
4574
+ archived: "archived";
4575
+ }>;
4576
+ }, z.core.$strip>;
4577
+ type SystemEntry = z.infer<typeof SystemEntrySchema>;
4578
+
4387
4579
  /**
4388
4580
  * Resource Registry type definitions
4389
4581
  */
@@ -4397,6 +4589,7 @@ type ResourceStatus = 'dev' | 'prod';
4397
4589
  * Used as the discriminator field in ResourceDefinition
4398
4590
  */
4399
4591
  type ResourceType = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human';
4592
+ type ResourceSystemSummary = Pick<SystemEntry, 'id' | 'title' | 'description' | 'kind' | 'status'>;
4400
4593
  /**
4401
4594
  * Base interface for ALL platform resources
4402
4595
  * Shared by both executable (agents, workflows) and non-executable (triggers, integrations, etc.) resources
@@ -4422,6 +4615,12 @@ interface ResourceDefinition {
4422
4615
  sessionCapable?: boolean;
4423
4616
  /** Whether the resource is local (monorepo) or remote (externally deployed) */
4424
4617
  origin?: 'local' | 'remote';
4618
+ /** OM System membership, when backed by a Resource descriptor */
4619
+ systemId?: string;
4620
+ /** Display metadata for the owning OM System */
4621
+ system?: ResourceSystemSummary;
4622
+ /** Governance lifecycle status from the OM Resource descriptor */
4623
+ governanceStatus?: ResourceGovernanceStatus;
4425
4624
  /** Whether this resource is archived and should be excluded from registration and deployment */
4426
4625
  archived?: boolean;
4427
4626
  }
@@ -4527,6 +4726,10 @@ interface TriggerDefinition extends ResourceDefinition {
4527
4726
  interface IntegrationDefinition extends ResourceDefinition {
4528
4727
  /** Resource type discriminator (narrowed from base union) */
4529
4728
  type: 'integration';
4729
+ /** OM descriptor that owns canonical identity and governance metadata. */
4730
+ resource?: Extract<ResourceEntry, {
4731
+ kind: 'integration';
4732
+ }>;
4530
4733
  /** Integration provider type */
4531
4734
  provider: IntegrationType;
4532
4735
  /** References credentials table (e.g., 'shopify-prod', 'zendesk-api') */
@@ -4725,8 +4928,8 @@ declare const LinkSchema: z.ZodObject<{
4725
4928
  type Link = z.infer<typeof LinkSchema>;
4726
4929
 
4727
4930
  declare const ResourceCategorySchema: z.ZodEnum<{
4728
- production: "production";
4729
4931
  diagnostic: "diagnostic";
4932
+ production: "production";
4730
4933
  internal: "internal";
4731
4934
  testing: "testing";
4732
4935
  }>;
@@ -79,6 +79,13 @@ declare function debounce<T extends (...args: Parameters<T>) => void>(fn: T, wai
79
79
  cancel: () => void;
80
80
  };
81
81
 
82
+ declare const ResourceGovernanceStatusSchema: z.ZodEnum<{
83
+ active: "active";
84
+ deprecated: "deprecated";
85
+ archived: "archived";
86
+ }>;
87
+ type ResourceGovernanceStatus = z.infer<typeof ResourceGovernanceStatusSchema>;
88
+
82
89
  /**
83
90
  * Time range selector for dashboard metrics
84
91
  */
@@ -101,6 +108,27 @@ declare const ResourceStatusColors: {
101
108
  readonly prod: "var(--color-success)";
102
109
  };
103
110
 
111
+ declare const SystemEntrySchema: z.ZodObject<{
112
+ id: z.ZodString;
113
+ title: z.ZodString;
114
+ description: z.ZodString;
115
+ kind: z.ZodEnum<{
116
+ platform: "platform";
117
+ product: "product";
118
+ operational: "operational";
119
+ diagnostic: "diagnostic";
120
+ }>;
121
+ responsibleRoleId: z.ZodOptional<z.ZodString>;
122
+ governedByKnowledge: z.ZodDefault<z.ZodArray<z.ZodString>>;
123
+ drivesGoals: z.ZodDefault<z.ZodArray<z.ZodString>>;
124
+ status: z.ZodEnum<{
125
+ active: "active";
126
+ deprecated: "deprecated";
127
+ archived: "archived";
128
+ }>;
129
+ }, z.core.$strip>;
130
+ type SystemEntry = z.infer<typeof SystemEntrySchema>;
131
+
104
132
  /**
105
133
  * Resource Registry type definitions
106
134
  */
@@ -114,6 +142,7 @@ type ResourceStatus = 'dev' | 'prod';
114
142
  * Used as the discriminator field in ResourceDefinition
115
143
  */
116
144
  type ResourceType = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human';
145
+ type ResourceSystemSummary = Pick<SystemEntry, 'id' | 'title' | 'description' | 'kind' | 'status'>;
117
146
  /**
118
147
  * Base interface for ALL platform resources
119
148
  * Shared by both executable (agents, workflows) and non-executable (triggers, integrations, etc.) resources
@@ -139,6 +168,12 @@ interface ResourceDefinition {
139
168
  sessionCapable?: boolean;
140
169
  /** Whether the resource is local (monorepo) or remote (externally deployed) */
141
170
  origin?: 'local' | 'remote';
171
+ /** OM System membership, when backed by a Resource descriptor */
172
+ systemId?: string;
173
+ /** Display metadata for the owning OM System */
174
+ system?: ResourceSystemSummary;
175
+ /** Governance lifecycle status from the OM Resource descriptor */
176
+ governanceStatus?: ResourceGovernanceStatus;
142
177
  /** Whether this resource is archived and should be excluded from registration and deployment */
143
178
  archived?: boolean;
144
179
  }
@@ -158,8 +193,8 @@ declare const LinkSchema: z.ZodObject<{
158
193
  type Link = z.infer<typeof LinkSchema>;
159
194
 
160
195
  declare const ResourceCategorySchema: z.ZodEnum<{
161
- production: "production";
162
196
  diagnostic: "diagnostic";
197
+ production: "production";
163
198
  internal: "internal";
164
199
  testing: "testing";
165
200
  }>;
@@ -1,3 +1,3 @@
1
- export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from '../chunk-HXZQWMKE.js';
1
+ export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from '../chunk-XQHZBA65.js';
2
2
  export { ResourceStatusColors } from '../chunk-KRWALB24.js';
3
- import '../chunk-I2KLQ2HA.js';
3
+ import '../chunk-DZTG5IAC.js';
@@ -1,6 +1,6 @@
1
- import { knowledgePlugin } from '../chunk-CN2HC4D4.js';
2
- export { knowledgePlugin } from '../chunk-CN2HC4D4.js';
3
- import '../chunk-I2KLQ2HA.js';
1
+ import { knowledgePlugin } from '../chunk-UFTM5SZZ.js';
2
+ export { knowledgePlugin } from '../chunk-UFTM5SZZ.js';
3
+ import '../chunk-DZTG5IAC.js';
4
4
 
5
5
  // src/vite/index.ts
6
6
  function elevasisVite() {
@@ -1,2 +1,2 @@
1
- export { knowledgePlugin } from '../chunk-CN2HC4D4.js';
2
- import '../chunk-I2KLQ2HA.js';
1
+ export { knowledgePlugin } from '../chunk-UFTM5SZZ.js';
2
+ import '../chunk-DZTG5IAC.js';
@@ -1,4 +1,4 @@
1
- import '../chunk-I2KLQ2HA.js';
1
+ import '../chunk-DZTG5IAC.js';
2
2
 
3
3
  // src/zustand/slices/sse.ts
4
4
  function resetSSEState(state) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/ui",
3
- "version": "2.30.0",
3
+ "version": "2.31.0",
4
4
  "description": "UI components and platform-aware hooks for building custom frontends on the Elevasis platform",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -48,6 +48,10 @@
48
48
  "types": "./dist/features/auth/index.d.ts",
49
49
  "import": "./dist/features/auth/index.js"
50
50
  },
51
+ "./features/clients": {
52
+ "types": "./dist/features/clients/index.d.ts",
53
+ "import": "./dist/features/clients/index.js"
54
+ },
51
55
  "./features/crm": {
52
56
  "types": "./dist/features/crm/index.d.ts",
53
57
  "import": "./dist/features/crm/index.js"
@@ -205,6 +209,7 @@
205
209
  "zod": "^4.1.0",
206
210
  "zustand": "^5.0.5",
207
211
  "cytoscape": "^3.33.1",
212
+ "cytoscape-fcose": "^2.2.0",
208
213
  "@mantine/core": "8.2.7",
209
214
  "@mantine/hooks": "8.2.7",
210
215
  "@mantine/charts": "8.2.7",
@@ -235,6 +240,7 @@
235
240
  "@types/react": "^19.2.2",
236
241
  "@types/react-dom": "^19.1.9",
237
242
  "cytoscape": "^3.33.1",
243
+ "cytoscape-fcose": "^2.2.0",
238
244
  "globals": "^16.3.0",
239
245
  "recharts": "^3.2.1",
240
246
  "remark-gfm": "^4.0.1",
@@ -247,11 +253,11 @@
247
253
  "@testing-library/jest-dom": "^6.9.1",
248
254
  "msw": "^2.11.0",
249
255
  "vitest": "^3.2.4",
250
- "@repo/core": "0.21.0",
251
256
  "@elevasis/sdk": "1.19.0",
257
+ "@repo/eslint-config": "0.0.0",
252
258
  "@repo/typescript-config": "0.0.0",
253
- "@repo/elevasis-core": "1.0.0",
254
- "@repo/eslint-config": "0.0.0"
259
+ "@repo/core": "0.22.0",
260
+ "@repo/elevasis-core": "1.0.0"
255
261
  },
256
262
  "dependencies": {
257
263
  "@dagrejs/dagre": "^1.1.4",
@@ -284,6 +290,9 @@
284
290
  "cytoscape": {
285
291
  "optional": true
286
292
  },
293
+ "cytoscape-fcose": {
294
+ "optional": true
295
+ },
287
296
  "recharts": {
288
297
  "optional": true
289
298
  },
File without changes