@elevasis/ui 2.41.1 → 2.43.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 (57) hide show
  1. package/dist/api/index.js +3 -3
  2. package/dist/app/index.d.ts +74 -3
  3. package/dist/app/index.js +3 -3
  4. package/dist/auth/index.js +3 -3
  5. package/dist/charts/index.js +3 -3
  6. package/dist/{chunk-QDXTIQT4.js → chunk-FUKNHVUV.js} +205 -415
  7. package/dist/{chunk-7FJI76OH.js → chunk-NVVAQNKE.js} +1 -1
  8. package/dist/{chunk-V5HWC5EW.js → chunk-UECAFQKT.js} +1 -1
  9. package/dist/{chunk-5M4HSHQ5.js → chunk-XDEUR36B.js} +388 -25
  10. package/dist/components/index.d.ts +8 -1
  11. package/dist/components/index.js +3 -3
  12. package/dist/components/navigation/index.js +3 -3
  13. package/dist/features/auth/index.d.ts +3 -0
  14. package/dist/features/auth/index.js +4 -4
  15. package/dist/features/clients/index.d.ts +6 -3
  16. package/dist/features/clients/index.js +80 -19
  17. package/dist/features/crm/index.d.ts +3 -0
  18. package/dist/features/crm/index.js +3 -3
  19. package/dist/features/dashboard/index.d.ts +5 -1
  20. package/dist/features/dashboard/index.js +3 -3
  21. package/dist/features/delivery/index.d.ts +3 -0
  22. package/dist/features/delivery/index.js +3 -3
  23. package/dist/features/knowledge/index.js +3 -3
  24. package/dist/features/lead-gen/index.d.ts +77 -4
  25. package/dist/features/lead-gen/index.js +3 -3
  26. package/dist/features/monitoring/index.js +3 -3
  27. package/dist/features/monitoring/requests/index.js +4 -4
  28. package/dist/features/operations/index.d.ts +71 -3
  29. package/dist/features/operations/index.js +3 -3
  30. package/dist/features/settings/index.d.ts +3 -0
  31. package/dist/features/settings/index.js +3 -3
  32. package/dist/hooks/access/index.js +3 -3
  33. package/dist/hooks/delivery/index.d.ts +3 -0
  34. package/dist/hooks/delivery/index.js +3 -3
  35. package/dist/hooks/index.d.ts +38 -19
  36. package/dist/hooks/index.js +3 -3
  37. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +5 -1
  38. package/dist/hooks/published.d.ts +38 -19
  39. package/dist/hooks/published.js +3 -3
  40. package/dist/index.d.ts +104 -21
  41. package/dist/index.js +4 -4
  42. package/dist/initialization/index.d.ts +3 -0
  43. package/dist/knowledge/index.d.ts +76 -7
  44. package/dist/knowledge/index.js +68 -8
  45. package/dist/layout/index.js +3 -3
  46. package/dist/organization/index.js +3 -3
  47. package/dist/profile/index.d.ts +3 -0
  48. package/dist/provider/index.d.ts +74 -3
  49. package/dist/provider/index.js +3 -3
  50. package/dist/provider/published.d.ts +74 -3
  51. package/dist/provider/published.js +3 -3
  52. package/dist/supabase/index.d.ts +6 -0
  53. package/dist/test-utils/index.js +3 -3
  54. package/dist/types/index.d.ts +8 -1
  55. package/dist/utils/index.d.ts +5 -1
  56. package/dist/utils/index.js +1 -1
  57. package/package.json +5 -5
@@ -4,14 +4,14 @@ import { useSupabase } from './chunk-BRXELOHC.js';
4
4
  import { StyledMarkdown, ChatHeader, ChatSidebar } from './chunk-GUKY77FJ.js';
5
5
  import { CardHeader } from './chunk-S3XR4II4.js';
6
6
  import { useInitialization, InitializationContext, InitializationProvider } from './chunk-6DO4PE3O.js';
7
- import { HTTP_HEADERS, ApiClientProvider, useApiClient } from './chunk-7FJI76OH.js';
7
+ import { HTTP_HEADERS, ApiClientProvider, useApiClient } from './chunk-NVVAQNKE.js';
8
8
  import { OrganizationContext, useOrganization } from './chunk-DD3CCMCZ.js';
9
9
  import { sidebarItemGap, sidebarSubLinkPaddingY, sidebarSubLinkPaddingX, sidebarSubLinkIndent, sidebarHoverDelay, sidebarTransitionDuration, sidebarCollapsedWidth, sidebarWidth, topbarHeight, sidebarToggleIconSize, sidebarSectionPadding, sidebarItemPadding, sidebarItemHeight, sidebarIconSize, sidebarIconStroke, sidebarIconInnerSize, sidebarBottomSectionHeight, SubshellNavItem, sidebarGroupChevronSize, SubshellSidebarSection } from './chunk-GMXGDO3I.js';
10
10
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
11
11
  import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, useFitViewTrigger, useGraphHighlighting, calculateGraphHeight, GRAPH_CONSTANTS } from './chunk-HENXLGVD.js';
12
12
  import { STATUS_COLORS, getStatusIcon, formatDuration, getStatusColors, AGENT_CONSTANTS, shouldAnimateEdge, TIMELINE_CONSTANTS, calculateBarPosition, CONTAINER_CONSTANTS, useExecutionPath, useUnifiedWorkflowLayout, WORKFLOW_CONSTANTS, useReactFlowAgent, getResourceStatusColor, useMergedExecution, useTimelineData, useAgentIterationData } from './chunk-7FPLLSHN.js';
13
13
  import { useProfile, useUserProfile, ProfileProvider } from './chunk-W2SFTXMT.js';
14
- import { OntologyScopeSchema, OntologyIdSchema, DEFAULT_ONTOLOGY_SCOPE, listAllSystems, compileOrganizationOntology, listResolvedOntologyRecords, getErrorInfo, getErrorTitle, formatErrorMessage, defineDomainRecord, isAPIClientError, getResourceIcon, formatTimeAgo, getTimeRangeLabel, getTimeRangeDates, formatBucketTime, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, STALE_TIME_MONITORING, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, STALE_TIME_DEFAULT, STALE_TIME_ADMIN, APIClientError, GC_TIME_MEDIUM, GC_TIME_SHORT, formatDateTime, LEAD_GEN_API_INTERFACE, computeInterfaceReadiness, getSystem, getAllBuildTemplates, getLeadGenStageCatalog, formatDate, formatRelativeTime, getResourcesForSystem, ontologyGraphNodeId, parseOntologyId, getAllProspectingStages, getAllPipelines, getAllProjectStatuses, debounce, OAUTH_FLOW_TIMEOUT, devOnlyFor, requiresAdminFor, topLevel, parentOf, ancestorsOf, childrenOf, findById, findByPath, getSystemAncestors, resolveSystemConfig, defaultPathFor } from './chunk-5M4HSHQ5.js';
14
+ import { LabelSchema, DescriptionSchema, PathSchema, ModelIdSchema, IconNameSchema, SystemLifecycleSchema, OntologyIdSchema, SystemPathSchema, ActionInvocationSchema, SystemIdSchema, NodeIdStringSchema, JsonValueSchema, SystemInterfaceRefSchema, EntitiesDomainSchema, ActionsDomainSchema, DEFAULT_ORGANIZATION_MODEL_ACTIONS, OntologyScopeSchema, DEFAULT_ONTOLOGY_SCOPE, SystemsDomainSchema, DEFAULT_ORGANIZATION_MODEL_SYSTEMS, defineEntities, defineActions, listAllSystems, compileOrganizationOntology, listResolvedOntologyRecords, getErrorInfo, getErrorTitle, formatErrorMessage, isAPIClientError, getResourceIcon, formatTimeAgo, getTimeRangeLabel, getTimeRangeDates, formatBucketTime, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, STALE_TIME_MONITORING, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, STALE_TIME_DEFAULT, STALE_TIME_ADMIN, APIClientError, GC_TIME_MEDIUM, GC_TIME_SHORT, formatDateTime, LEAD_GEN_API_INTERFACE, computeInterfaceReadiness, getSystem, getAllBuildTemplates, getLeadGenStageCatalog, formatDate, formatRelativeTime, getResourcesForSystem, ontologyGraphNodeId, parseOntologyId, getAllProspectingStages, getAllPipelines, getAllProjectStatuses, debounce, OAUTH_FLOW_TIMEOUT, devOnlyFor, requiresAdminFor, topLevel, parentOf, ancestorsOf, childrenOf, findById, findByPath, getSystemAncestors, resolveSystemConfig, defaultPathFor } from './chunk-XDEUR36B.js';
15
15
  import { ResourceStatusColors, toWorkflowLogMessages } from './chunk-KRWALB24.js';
16
16
  import { useElevasisServices, ElevasisServiceContext, ElevasisServiceProvider } from './chunk-2FTX4WO2.js';
17
17
  import { brandSupabaseOrgId, brandWorkOsOrgId } from './chunk-MQZE7SUI.js';
@@ -369,353 +369,6 @@ function createAccessModel(organizationModel2) {
369
369
  checkAccess: (key, ctx) => checkAccess(key, { ...ctx, organizationModel: organizationModel2, accessCatalog: catalog })
370
370
  };
371
371
  }
372
- var ORGANIZATION_MODEL_ICON_TOKENS = [
373
- // Navigation / app areas
374
- "dashboard",
375
- "calendar",
376
- "sales",
377
- "crm",
378
- "lead-gen",
379
- "projects",
380
- "clients",
381
- "operations",
382
- "monitoring",
383
- "knowledge",
384
- "settings",
385
- "admin",
386
- "archive",
387
- "business",
388
- "finance",
389
- "platform",
390
- "seo",
391
- // Knowledge kinds
392
- "playbook",
393
- "strategy",
394
- "reference",
395
- // Resource kinds
396
- "agent",
397
- "workflow",
398
- "integration",
399
- "database",
400
- "user",
401
- "team",
402
- // Integration specifics
403
- "gmail",
404
- "google-sheets",
405
- "attio",
406
- // Surface / UI views
407
- "overview",
408
- "command-view",
409
- "command-queue",
410
- "pipeline",
411
- "lists",
412
- "resources",
413
- // Actions
414
- "approve",
415
- "reject",
416
- "retry",
417
- "edit",
418
- "view",
419
- "launch",
420
- "message",
421
- "message-plus",
422
- "escalate",
423
- "promote",
424
- "submit",
425
- "email",
426
- // Status
427
- "success",
428
- "error",
429
- "warning",
430
- "info",
431
- "pending",
432
- // OM / UI group icons
433
- "bolt",
434
- "building",
435
- "briefcase",
436
- "apps",
437
- "graph",
438
- "shield",
439
- "users",
440
- "chart-bar",
441
- "search"
442
- ];
443
- var CustomIconTokenSchema = z.string().trim().max(80).regex(
444
- /^custom\.[a-z0-9]+(?:[-._][a-z0-9]+)*$/,
445
- 'Custom icon tokens must start with "custom." followed by lowercase alphanumeric segments'
446
- );
447
- var OrganizationModelBuiltinIconTokenSchema = z.enum(ORGANIZATION_MODEL_ICON_TOKENS);
448
- var OrganizationModelIconTokenSchema = z.union([
449
- OrganizationModelBuiltinIconTokenSchema,
450
- CustomIconTokenSchema
451
- ]);
452
-
453
- // ../core/src/organization-model/domains/shared.ts
454
- var ModelIdSchema = z.string().trim().min(1).max(100).regex(/^[a-z0-9]+(?:[-._][a-z0-9]+)*$/, "IDs must be lowercase and use -, _, or . separators");
455
- var LabelSchema = z.string().trim().min(1).max(120);
456
- var DescriptionSchema = z.string().trim().min(1).max(2e3);
457
- var ColorTokenSchema = z.string().trim().min(1).max(50);
458
- var IconNameSchema = OrganizationModelIconTokenSchema;
459
- var PathSchema = z.string().trim().startsWith("/").max(300);
460
- var ReferenceIdsSchema = z.array(ModelIdSchema).default([]);
461
- var DisplayMetadataSchema = z.object({
462
- label: LabelSchema,
463
- description: DescriptionSchema.optional(),
464
- color: ColorTokenSchema.optional(),
465
- icon: IconNameSchema.optional()
466
- });
467
- var TechStackEntrySchema = z.object({
468
- /** Name of the external platform (e.g. "HubSpot", "Stripe", "Notion"). */
469
- platform: z.string().trim().min(1).max(200),
470
- /** Free-form description of what this integration is used for. */
471
- purpose: z.string().trim().min(1).max(500),
472
- /**
473
- * Health of the credential backing this integration.
474
- * - configured: credential present and valid
475
- * - pending: not yet set up
476
- * - expired: credential existed but has lapsed
477
- * - missing: expected but not present
478
- */
479
- credentialStatus: z.enum(["configured", "pending", "expired", "missing"]),
480
- /**
481
- * Whether this integration is the primary system of record for its domain
482
- * (e.g. HubSpot is SoR for contacts). Defaults to false.
483
- */
484
- isSystemOfRecord: z.boolean().default(false)
485
- });
486
- DisplayMetadataSchema.extend({
487
- id: ModelIdSchema,
488
- resourceId: z.string().trim().min(1).max(255),
489
- resourceType: z.enum(["workflow", "agent", "trigger", "integration", "external", "human_checkpoint"]),
490
- systemIds: ReferenceIdsSchema,
491
- entityIds: ReferenceIdsSchema,
492
- surfaceIds: ReferenceIdsSchema,
493
- actionIds: ReferenceIdsSchema,
494
- /** Optional tech-stack metadata for external-SaaS integrations. */
495
- techStack: TechStackEntrySchema.optional()
496
- });
497
-
498
- // ../core/src/organization-model/domains/entities.ts
499
- var EntityIdSchema = ModelIdSchema;
500
- var EntityLinkKindSchema = z.enum(["belongs-to", "has-many", "has-one", "many-to-many"]).meta({ label: "Link kind" });
501
- var EntityLinkSchema = z.object({
502
- toEntity: EntityIdSchema.meta({ ref: "entity" }),
503
- kind: EntityLinkKindSchema,
504
- via: z.string().trim().min(1).max(255).optional(),
505
- label: LabelSchema.optional()
506
- });
507
- var EntitySchema = z.object({
508
- id: EntityIdSchema,
509
- /** Domain-map iteration order. Convention: multiples of 10 (10, 20, 30, ...) to allow easy insertion. */
510
- order: z.number(),
511
- label: LabelSchema,
512
- description: DescriptionSchema.optional(),
513
- ownedBySystemId: ModelIdSchema.meta({ ref: "system" }),
514
- table: z.string().trim().min(1).max(255).optional(),
515
- rowSchema: ModelIdSchema.optional(),
516
- stateCatalogId: ModelIdSchema.optional(),
517
- links: z.array(EntityLinkSchema).optional()
518
- });
519
- var EntitiesDomainSchema = z.record(z.string(), EntitySchema).refine((record) => Object.entries(record).every(([key, entry]) => entry.id === key), {
520
- message: "Each entity entry id must match its map key"
521
- }).default({});
522
- function defineEntities(entries) {
523
- return defineDomainRecord(EntitySchema, entries);
524
- }
525
-
526
- // ../core/src/organization-model/domains/actions.ts
527
- var ActionResourceIdSchema = z.string().trim().min(1).max(255).regex(/^[A-Za-z0-9]+(?:[-._][A-Za-z0-9]+)*$/, "Resource IDs must use letters, numbers, -, _, or . separators");
528
- z.enum(["slash-command", "mcp-tool", "api-endpoint", "script-execution"]).meta({ label: "Invocation kind" });
529
- var ActionIdSchema = ModelIdSchema;
530
- var ActionScopeSchema = z.union([
531
- z.literal("global"),
532
- z.object({
533
- domain: ModelIdSchema
534
- })
535
- ]);
536
- var ActionRefSchema = z.object({
537
- actionId: ActionIdSchema.meta({ ref: "action" }),
538
- intent: z.enum(["exposes", "consumes"]).meta({ label: "Intent" })
539
- });
540
- var SlashCommandInvocationSchema = z.object({
541
- kind: z.literal("slash-command"),
542
- command: z.string().trim().min(1).max(200).regex(/^\/[^\s].*$/, "Slash commands must start with /"),
543
- toolFactory: ModelIdSchema.optional()
544
- });
545
- var McpToolInvocationSchema = z.object({
546
- kind: z.literal("mcp-tool"),
547
- server: ModelIdSchema,
548
- name: ModelIdSchema
549
- });
550
- var ApiEndpointInvocationSchema = z.object({
551
- kind: z.literal("api-endpoint"),
552
- method: z.enum(["GET", "POST", "PATCH", "DELETE"]).meta({ label: "HTTP method" }),
553
- path: z.string().trim().startsWith("/").max(500),
554
- requestSchema: ModelIdSchema.optional(),
555
- responseSchema: ModelIdSchema.optional()
556
- });
557
- var ScriptExecutionInvocationSchema = z.object({
558
- kind: z.literal("script-execution"),
559
- resourceId: ActionResourceIdSchema
560
- });
561
- var ActionInvocationSchema = z.discriminatedUnion("kind", [
562
- SlashCommandInvocationSchema,
563
- McpToolInvocationSchema,
564
- ApiEndpointInvocationSchema,
565
- ScriptExecutionInvocationSchema
566
- ]);
567
- var ActionSchema = z.object({
568
- id: ActionIdSchema,
569
- /** Domain-map iteration order. Convention: multiples of 10 (10, 20, 30, ...) to allow easy insertion. */
570
- order: z.number(),
571
- label: LabelSchema,
572
- description: DescriptionSchema.optional(),
573
- scope: ActionScopeSchema.default("global"),
574
- resourceId: ActionResourceIdSchema.optional(),
575
- affects: z.array(EntityIdSchema.meta({ ref: "entity" })).optional(),
576
- invocations: z.array(ActionInvocationSchema).default([]),
577
- knowledge: z.array(ModelIdSchema.meta({ ref: "knowledge" })).default([]).optional(),
578
- lifecycle: z.enum(["draft", "beta", "active", "deprecated", "archived"]).meta({ label: "Lifecycle", color: "teal" }).default("active")
579
- });
580
- var ActionsDomainSchema = z.record(z.string(), ActionSchema).refine((record) => Object.entries(record).every(([key, entry]) => entry.id === key), {
581
- message: "Each action entry id must match its map key"
582
- }).default({});
583
- var DEFAULT_ORGANIZATION_MODEL_ACTIONS = {};
584
- function defineActions(entries) {
585
- return defineDomainRecord(ActionSchema, entries);
586
- }
587
-
588
- // ../core/src/organization-model/domains/systems.ts
589
- var SystemKindSchema = z.enum(["product", "operational", "platform", "diagnostic"]).meta({ label: "System kind", color: "blue" });
590
- var SystemLifecycleSchema = z.enum(["draft", "beta", "active", "deprecated", "archived"]).meta({ label: "Lifecycle", color: "teal" });
591
- var SystemStatusSchema = z.enum(["active", "deprecated", "archived"]).meta({ label: "Status", color: "teal" });
592
- var SystemIdSchema = ModelIdSchema;
593
- var SystemPathSchema = z.string().trim().min(1).regex(
594
- /^[a-z0-9][a-z0-9-]*(?:\.[a-z0-9][a-z0-9-]*)*$/,
595
- 'must be a dotted lowercase path (e.g. "sales.lead-gen" or "sales.crm")'
596
- );
597
- var UiPositionSchema = z.enum(["sidebar-primary", "sidebar-bottom"]).meta({ label: "UI position" });
598
- var NodeIdStringSchema = z.string().trim().min(1).max(200).regex(
599
- /^[a-z][a-z-]*:([a-z0-9-]+)(\.[a-z0-9-]+)*(:[a-z0-9.-]+)*$/,
600
- "Node references must use kind:dotted-path (e.g. system:sales.crm or resource:lead-gen.company.qualify)"
601
- );
602
- var SystemUiSchema = z.object({
603
- path: PathSchema,
604
- surfaces: ReferenceIdsSchema,
605
- icon: IconNameSchema.optional(),
606
- order: z.number().int().optional()
607
- });
608
- var SystemInterfaceKeySchema = ModelIdSchema;
609
- var SystemInterfaceLifecycleSchema = z.enum(["draft", "active", "disabled", "deprecated", "archived"]).meta({ label: "System interface lifecycle", color: "teal" });
610
- var SystemInterfaceReadinessProfileSchema = z.string().trim().min(1).max(200).regex(
611
- /^[a-z0-9][a-z0-9-]*(?:\.[a-z0-9][a-z0-9-]*)*(?:\.[a-z0-9][a-z0-9-]*)?$/,
612
- 'Readiness profiles must use dotted lowercase identifiers (e.g. "sales.lead-gen.api")'
613
- );
614
- var SystemInterfaceResourceScopeSchema = z.array(ModelIdSchema).default([]);
615
- var SystemApiInterfaceSchema = z.object({
616
- lifecycle: SystemInterfaceLifecycleSchema.default("active"),
617
- readinessProfile: SystemInterfaceReadinessProfileSchema.optional(),
618
- /**
619
- * Resource ids that participate in this API interface. This scopes readiness
620
- * derivation without duplicating authored required/provided contract refs.
621
- */
622
- resourceIds: SystemInterfaceResourceScopeSchema.optional()
623
- }).strict();
624
- var SystemInterfaceRefSchema = z.object({
625
- systemPath: SystemPathSchema,
626
- interfaceKey: SystemInterfaceKeySchema
627
- }).strict();
628
- var JsonValueSchema = z.lazy(
629
- () => z.union([
630
- z.string(),
631
- z.number(),
632
- z.boolean(),
633
- z.null(),
634
- z.array(JsonValueSchema),
635
- z.record(z.string(), JsonValueSchema)
636
- ])
637
- );
638
- var SystemConfigSchema = z.record(z.string().trim().min(1).max(200), JsonValueSchema).default({}).optional();
639
- var SystemEntrySchema = z.object({
640
- /** Stable tenant-defined system id (e.g. "sys.lead-gen" or "sales.crm"). */
641
- id: SystemIdSchema,
642
- /** Human-readable system label shown in UI, governance, and operations surfaces. */
643
- label: LabelSchema.optional(),
644
- /** @deprecated Use label. Accepted for pre-consolidation System declarations. */
645
- title: LabelSchema.optional(),
646
- /** One-paragraph purpose statement for the bounded context. */
647
- description: DescriptionSchema.optional(),
648
- /** Closed system shape enum; catalog values remain tenant-defined. */
649
- kind: SystemKindSchema.optional(),
650
- /** Optional self-reference for System hierarchy. */
651
- parentSystemId: SystemIdSchema.optional(),
652
- /** Optional UI presence. Systems without UI omit this. */
653
- ui: SystemUiSchema.optional(),
654
- /** Canonical lifecycle state. Replaces Feature.enabled/devOnly and System.status. */
655
- lifecycle: SystemLifecycleSchema.optional(),
656
- /** Optional role responsible for this system. */
657
- responsibleRoleId: ModelIdSchema.meta({ ref: "role" }).optional(),
658
- /** Optional knowledge nodes that govern this system. */
659
- governedByKnowledge: z.array(ModelIdSchema.meta({ ref: "knowledge" })).default([]).optional(),
660
- /** Optional actions this system exposes or consumes. */
661
- actions: z.array(ActionRefSchema).optional(),
662
- /** Optional operational policies that apply to this system. */
663
- policies: z.array(ModelIdSchema.meta({ ref: "policy" })).default([]).optional(),
664
- /** Optional goals this system contributes to. */
665
- drivesGoals: z.array(ModelIdSchema.meta({ ref: "goal" })).default([]).optional(),
666
- /** Thin API runtime-boundary marker. Readiness is derived from scoped resources and topology. */
667
- apiInterface: SystemApiInterfaceSchema.optional(),
668
- /** @deprecated Use lifecycle. Accepted for one publish cycle. */
669
- status: SystemStatusSchema.optional(),
670
- /** @deprecated Use ui.path. Kept for one-cycle Feature compatibility. */
671
- path: PathSchema.optional(),
672
- /** @deprecated Use ui.icon. Kept for one-cycle Feature compatibility. */
673
- icon: IconNameSchema.optional(),
674
- /** @deprecated Feature color token, retained for one-cycle compatibility. */
675
- color: ColorTokenSchema.optional(),
676
- /** @deprecated UI placement hint, retained for one-cycle compatibility. */
677
- uiPosition: UiPositionSchema.optional(),
678
- /** @deprecated Use lifecycle. */
679
- enabled: z.boolean().optional(),
680
- /** @deprecated Use lifecycle: "beta". */
681
- devOnly: z.boolean().optional(),
682
- requiresAdmin: z.boolean().optional(),
683
- /** Domain-map iteration order. Convention: multiples of 10 (10, 20, 30, ...) to allow easy insertion. */
684
- order: z.number(),
685
- /**
686
- * System-local JSON settings and defaults. Strongly typed OM fields,
687
- * secrets, credentials, and runtime state stay outside this bucket.
688
- */
689
- config: SystemConfigSchema,
690
- /**
691
- * System-owned ontology declarations. `systems` is now the canonical child
692
- * key; this scope holds the object, action, catalog, link, event, and
693
- * shared contract records owned by this system.
694
- */
695
- ontology: OntologyScopeSchema.optional(),
696
- /**
697
- * Recursive child systems, authored via nesting (per L11).
698
- * The key is the local system id; the full path is computed by joining
699
- * ancestor keys with `.` (e.g. parent key `'sales'` + child key `'crm'` → `'sales.crm'`).
700
- * Per Phase 4: `id` and `parentSystemId` fields will be removed in favour of
701
- * position-derived paths. Both still exist on this schema for backward compat.
702
- */
703
- systems: z.lazy(() => z.record(z.string().trim().min(1).max(100), SystemEntrySchema)).optional(),
704
- /** @deprecated Use systems. Accepted as a compatibility alias during the ontology bridge. */
705
- subsystems: z.lazy(() => z.record(z.string().trim().min(1).max(100), SystemEntrySchema)).optional()
706
- }).strict().refine((system) => system.label !== void 0 || system.title !== void 0, {
707
- path: ["label"],
708
- message: "System must provide label or title"
709
- }).transform((system) => {
710
- const normalizedSystem = system.systems !== void 0 && system.subsystems === void 0 ? { ...system, subsystems: system.systems } : system;
711
- if (normalizedSystem.status === void 0) return normalizedSystem;
712
- console.warn("[organization-model] System.status is deprecated; use System.lifecycle instead.");
713
- return normalizedSystem.lifecycle === void 0 ? { ...normalizedSystem, lifecycle: normalizedSystem.status } : normalizedSystem;
714
- });
715
- var SystemsDomainSchema = z.record(z.string(), SystemEntrySchema).refine((record) => Object.entries(record).every(([key, entry]) => entry.id === key), {
716
- message: "Each system entry id must match its map key"
717
- }).default({});
718
- var DEFAULT_ORGANIZATION_MODEL_SYSTEMS = {};
719
372
  var OrganizationModelBrandingSchema = z.object({
720
373
  /**
721
374
  * @deprecated Prefer `identity.organizationName`; branding retains it for back-compat.
@@ -1268,6 +921,7 @@ var GoalsDomainSchema = z.record(z.string(), ObjectiveSchema).refine((record) =>
1268
921
  var DEFAULT_ORGANIZATION_MODEL_GOALS = {};
1269
922
  var KnowledgeTargetKindSchema = z.enum([
1270
923
  "system",
924
+ "client",
1271
925
  "resource",
1272
926
  "knowledge",
1273
927
  "stage",
@@ -1609,6 +1263,7 @@ function buildOmCrossRefIndex(model) {
1609
1263
  systemsById.set(system.id, system);
1610
1264
  }
1611
1265
  const resourceIds = new Set(Object.keys(model.resources ?? {}));
1266
+ const clientIds = new Set(Object.keys(model.clients ?? {}));
1612
1267
  const knowledgeIds = new Set(Object.keys(model.knowledge ?? {}));
1613
1268
  const roleIds = new Set(Object.keys(model.roles ?? {}));
1614
1269
  const goalIds = new Set(Object.keys(model.goals ?? {}));
@@ -1642,6 +1297,7 @@ function buildOmCrossRefIndex(model) {
1642
1297
  return {
1643
1298
  systemsById,
1644
1299
  resourceIds,
1300
+ clientIds,
1645
1301
  knowledgeIds,
1646
1302
  roleIds,
1647
1303
  goalIds,
@@ -1655,6 +1311,7 @@ function buildOmCrossRefIndex(model) {
1655
1311
  }
1656
1312
  function knowledgeTargetExists(index, kind, id) {
1657
1313
  if (kind === "system") return index.systemsById.has(id);
1314
+ if (kind === "client") return index.clientIds.has(id);
1658
1315
  if (kind === "resource") return index.resourceIds.has(id);
1659
1316
  if (kind === "knowledge") return index.knowledgeIds.has(id);
1660
1317
  if (kind === "stage") return index.stageIds.has(id);
@@ -1688,10 +1345,10 @@ function asRoleHolderArray(heldBy) {
1688
1345
  function isKnowledgeKindCompatibleWithTarget(knowledgeKind, targetKind) {
1689
1346
  if (knowledgeKind === "reference") return true;
1690
1347
  if (knowledgeKind === "playbook") {
1691
- return ["system", "resource", "stage", "action", "ontology"].includes(targetKind);
1348
+ return ["system", "client", "resource", "stage", "action", "ontology"].includes(targetKind);
1692
1349
  }
1693
1350
  if (knowledgeKind === "strategy") {
1694
- return ["system", "goal", "offering", "customer-segment", "ontology"].includes(targetKind);
1351
+ return ["system", "client", "goal", "offering", "customer-segment", "ontology"].includes(targetKind);
1695
1352
  }
1696
1353
  return false;
1697
1354
  }
@@ -2219,9 +1876,68 @@ function refineOrganizationModel(model, ctx) {
2219
1876
  }
2220
1877
 
2221
1878
  // ../core/src/organization-model/schema.ts
1879
+ var ClientProfileIdSchema = z.string().uuid();
1880
+ var ClientProfileStatusSchema = z.enum(["active", "onboarding", "paused", "completed", "churned"]);
1881
+ var ClientProfileSourceSchema = z.string().trim().min(1).max(64).regex(/^[a-z][a-z0-9_]*$/, "Source must use lowercase letters, numbers, and underscores");
1882
+ var ClientProfileIdentitySchema = z.object({
1883
+ organizationName: LabelSchema.optional(),
1884
+ shortName: z.string().trim().min(1).max(40).optional(),
1885
+ clientBrief: z.string().trim().max(4e3).default(""),
1886
+ geographicFocus: z.array(z.string().trim().min(1).max(200)).default([]),
1887
+ timeZone: z.string().trim().min(1).max(100).default("UTC")
1888
+ }).passthrough().default({
1889
+ clientBrief: "",
1890
+ geographicFocus: [],
1891
+ timeZone: "UTC"
1892
+ });
1893
+ var ClientProfileBrandingSchema = z.object({
1894
+ voice: z.string().trim().max(280).optional(),
1895
+ tagline: z.string().trim().max(200).optional(),
1896
+ values: z.array(z.string().trim().min(1).max(100)).default([])
1897
+ }).passthrough().default({
1898
+ values: []
1899
+ });
1900
+ var ClientProfileWorkspaceSchema = z.object({
1901
+ kind: z.enum(["external-project", "internal-project", "none"]).optional(),
1902
+ owner: z.enum(["developer", "client", "platform"]).optional(),
1903
+ projectId: z.string().trim().min(1).max(200).optional(),
1904
+ workspacePath: z.string().trim().min(1).max(500).optional()
1905
+ }).passthrough().default({});
1906
+ var ClientProfileLinksSchema = z.object({
1907
+ projectIds: z.array(z.string().uuid()).default([]),
1908
+ primaryCompanyId: z.string().uuid().optional(),
1909
+ primaryContactId: z.string().uuid().optional(),
1910
+ sourceDealId: z.string().uuid().optional()
1911
+ }).default({
1912
+ projectIds: []
1913
+ });
1914
+ var ClientProfilePromptsSchema = z.object({
1915
+ defaultContext: z.string().trim().max(8e3).default("")
1916
+ }).passthrough().default({
1917
+ defaultContext: ""
1918
+ });
1919
+ var ClientProfileSchema = z.object({
1920
+ id: ClientProfileIdSchema,
1921
+ slug: ModelIdSchema,
1922
+ name: LabelSchema,
1923
+ status: ClientProfileStatusSchema.default("onboarding"),
1924
+ source: ClientProfileSourceSchema.optional(),
1925
+ identity: ClientProfileIdentitySchema,
1926
+ branding: ClientProfileBrandingSchema,
1927
+ workspace: ClientProfileWorkspaceSchema,
1928
+ links: ClientProfileLinksSchema,
1929
+ prompts: ClientProfilePromptsSchema,
1930
+ config: z.record(z.string().trim().min(1).max(200), JsonValueSchema).default({}),
1931
+ customValues: z.record(z.string().trim().min(1).max(200), JsonValueSchema).default({})
1932
+ }).strict();
1933
+ var ClientProfilesDomainSchema = z.record(ClientProfileIdSchema, ClientProfileSchema).refine((record) => Object.entries(record).every(([key, entry]) => entry.id === key), {
1934
+ message: "Each client profile id must match its map key"
1935
+ }).default({});
1936
+ var DEFAULT_ORGANIZATION_MODEL_CLIENTS = {};
2222
1937
  z.enum([
2223
1938
  "branding",
2224
1939
  "identity",
1940
+ "clients",
2225
1941
  "customers",
2226
1942
  "offerings",
2227
1943
  "roles",
@@ -2242,6 +1958,7 @@ var OrganizationModelDomainMetadataSchema = z.object({
2242
1958
  var DEFAULT_ORGANIZATION_MODEL_DOMAIN_METADATA = {
2243
1959
  branding: { version: 1, lastModified: "2026-05-10" },
2244
1960
  identity: { version: 1, lastModified: "2026-05-10" },
1961
+ clients: { version: 1, lastModified: "2026-05-30" },
2245
1962
  customers: { version: 1, lastModified: "2026-05-10" },
2246
1963
  offerings: { version: 1, lastModified: "2026-05-10" },
2247
1964
  roles: { version: 1, lastModified: "2026-05-10" },
@@ -2258,6 +1975,7 @@ var DEFAULT_ORGANIZATION_MODEL_DOMAIN_METADATA = {
2258
1975
  var OrganizationModelDomainMetadataByDomainSchema = z.object({
2259
1976
  branding: OrganizationModelDomainMetadataSchema,
2260
1977
  identity: OrganizationModelDomainMetadataSchema,
1978
+ clients: OrganizationModelDomainMetadataSchema,
2261
1979
  customers: OrganizationModelDomainMetadataSchema,
2262
1980
  offerings: OrganizationModelDomainMetadataSchema,
2263
1981
  roles: OrganizationModelDomainMetadataSchema,
@@ -2273,10 +1991,23 @@ var OrganizationModelDomainMetadataByDomainSchema = z.object({
2273
1991
  }).partial().default(DEFAULT_ORGANIZATION_MODEL_DOMAIN_METADATA).transform((metadata) => ({ ...DEFAULT_ORGANIZATION_MODEL_DOMAIN_METADATA, ...metadata }));
2274
1992
  var OrganizationModelSchemaBase = z.object({
2275
1993
  version: z.literal(1).default(1),
1994
+ /**
1995
+ * Deterministic SHA-256 hex hash of the full resolved model, excluding this
1996
+ * field itself and volatile domainMetadata.lastModified values.
1997
+ *
1998
+ * Stamped at deploy time by the platform OM assembly and persisted alongside
1999
+ * the snapshot in the DB. Compared at API boot to detect stale deployed
2000
+ * snapshots (primary gate: deploy; secondary backstop: boot).
2001
+ *
2002
+ * Optional — absent on models that predate Step 2 versioning or that have
2003
+ * not been stamped (e.g. tenant partial overrides before re-deploy).
2004
+ */
2005
+ snapshotHash: z.string().optional(),
2276
2006
  domainMetadata: OrganizationModelDomainMetadataByDomainSchema,
2277
2007
  branding: OrganizationModelBrandingSchema.default(DEFAULT_ORGANIZATION_MODEL_BRANDING),
2278
2008
  navigation: OrganizationModelNavigationSchema,
2279
2009
  identity: IdentityDomainSchema.default(DEFAULT_ORGANIZATION_MODEL_IDENTITY),
2010
+ clients: ClientProfilesDomainSchema.default(DEFAULT_ORGANIZATION_MODEL_CLIENTS),
2280
2011
  customers: CustomersDomainSchema.default(DEFAULT_ORGANIZATION_MODEL_CUSTOMERS),
2281
2012
  offerings: OfferingsDomainSchema.default(DEFAULT_ORGANIZATION_MODEL_OFFERINGS),
2282
2013
  roles: RolesDomainSchema.default(DEFAULT_ORGANIZATION_MODEL_ROLES),
@@ -2297,6 +2028,7 @@ var OrganizationModelSchema = OrganizationModelSchemaBase.superRefine(refineOrga
2297
2028
  var OrganizationGraphNodeKindSchema = z.enum([
2298
2029
  "organization",
2299
2030
  "system",
2031
+ "client",
2300
2032
  "role",
2301
2033
  "action",
2302
2034
  "entity",
@@ -2704,6 +2436,7 @@ var DEFAULT_ORGANIZATION_MODEL = {
2704
2436
  branding: DEFAULT_ORGANIZATION_MODEL_BRANDING,
2705
2437
  navigation: DEFAULT_ORGANIZATION_MODEL_NAVIGATION,
2706
2438
  identity: DEFAULT_ORGANIZATION_MODEL_IDENTITY,
2439
+ clients: DEFAULT_ORGANIZATION_MODEL_CLIENTS,
2707
2440
  customers: DEFAULT_ORGANIZATION_MODEL_CUSTOMERS,
2708
2441
  offerings: DEFAULT_ORGANIZATION_MODEL_OFFERINGS,
2709
2442
  roles: DEFAULT_ORGANIZATION_MODEL_ROLES,
@@ -3043,6 +2776,22 @@ function buildOrganizationGraph(input) {
3043
2776
  }
3044
2777
  const validSystemRefs = new Set(systemPathByRef.keys());
3045
2778
  const systemNodeId = (systemRef) => nodeId("system", systemPathByRef.get(systemRef) ?? systemRef);
2779
+ for (const client of Object.values(organizationModel2.clients).sort((a, b) => a.slug.localeCompare(b.slug))) {
2780
+ const id = nodeId("client", client.id);
2781
+ pushUniqueNode(nodes, nodeIds, {
2782
+ id,
2783
+ kind: "client",
2784
+ label: client.name,
2785
+ sourceId: client.id,
2786
+ description: client.identity.clientBrief || void 0
2787
+ });
2788
+ pushUniqueEdge(edges, edgeIds, {
2789
+ id: edgeId("contains", organizationNode.id, id),
2790
+ kind: "contains",
2791
+ sourceId: organizationNode.id,
2792
+ targetId: id
2793
+ });
2794
+ }
3046
2795
  function topologyNodeId(ref) {
3047
2796
  if (ref.kind === "system") return systemNodeId(ref.id);
3048
2797
  if (ref.kind === "resource") return nodeId("resource", ref.id);
@@ -4118,6 +3867,7 @@ var DEFAULT_SEMANTIC_ICON_REGISTRY = {
4118
3867
  // UI-only om.* group tokens (not in the core enum — kept for registry lookup
4119
3868
  // by components that reference them directly via extendSemanticIconRegistry)
4120
3869
  "om.quick-access": IconBolt,
3870
+ "om.organization": IconBuilding,
4121
3871
  "om.profile": IconBuilding,
4122
3872
  "om.business-model": IconBriefcase,
4123
3873
  "om.systems": IconApps,
@@ -11723,9 +11473,10 @@ function useClients(filters = {}) {
11723
11473
  return useQuery({
11724
11474
  queryKey: clientsKeys.list(workOSOrganizationId ?? void 0, filters),
11725
11475
  queryFn: async () => {
11726
- const { status, search, limit, offset } = filters;
11476
+ const { status, source, search, limit, offset } = filters;
11727
11477
  const params = new URLSearchParams();
11728
11478
  if (status) params.set("status", status);
11479
+ if (source) params.set("source", source);
11729
11480
  if (search) params.set("search", search);
11730
11481
  if (limit !== void 0) params.set("limit", String(limit));
11731
11482
  if (offset !== void 0) params.set("offset", String(offset));
@@ -22930,9 +22681,9 @@ var mdxKnowledgeNodes = [
22930
22681
  {
22931
22682
  "target": {
22932
22683
  "kind": "system",
22933
- "id": "clients"
22684
+ "id": "client-management"
22934
22685
  },
22935
- "nodeId": "system:clients"
22686
+ "nodeId": "system:client-management"
22936
22687
  }
22937
22688
  ],
22938
22689
  "ownerIds": [
@@ -23839,7 +23590,7 @@ var platformNavigation = {
23839
23590
  surfaceType: "list",
23840
23591
  icon: "clients",
23841
23592
  order: 20,
23842
- targets: { systems: ["clients"] }
23593
+ targets: { systems: ["client-management"] }
23843
23594
  },
23844
23595
  projects: {
23845
23596
  type: "surface",
@@ -23871,7 +23622,7 @@ var platformNavigation = {
23871
23622
  path: "/operations/systems",
23872
23623
  surfaceType: "page",
23873
23624
  order: 20,
23874
- targets: { systems: ["sales", "clients", "projects", "seo", "platform"] }
23625
+ targets: { systems: ["sales", "client-management", "projects", "seo", "platform"] }
23875
23626
  },
23876
23627
  "operations-resources": {
23877
23628
  type: "surface",
@@ -24097,7 +23848,7 @@ function getPlatformOwnerRoleId(systemId) {
24097
23848
  return "role.crm-operator";
24098
23849
  case "seo":
24099
23850
  return "role.website-operator";
24100
- case "clients":
23851
+ case "client-management":
24101
23852
  return "role.client-support-operator";
24102
23853
  case "platform":
24103
23854
  return "role.operator";
@@ -24208,8 +23959,8 @@ var platformWorkflowResourceSeeds = [
24208
23959
  ["mnt-reddit-scan-workflow", "sales.lead-gen"],
24209
23960
  ["mnt-linkedin-monitor-workflow", "sales.lead-gen"],
24210
23961
  ["website-form-intake-handler-workflow", "seo"],
24211
- ["grsi-change-request-workflow", "clients"],
24212
- ["iss-submission-workflow", "clients", "clients.support-issue.review"],
23962
+ ["grsi-change-request-workflow", "client-management"],
23963
+ ["iss-submission-workflow", "client-management", "client-management.support-issue.review"],
24213
23964
  ["youtube-research-workflow", "platform"],
24214
23965
  ["send-email-workflow", "platform"],
24215
23966
  ["platform-status", "platform"],
@@ -24239,8 +23990,8 @@ var leadGenCampaignStatus = "sales.lead-gen:catalog/campaign-status";
24239
23990
  var crmDeal = "sales.crm:object/deal";
24240
23991
  var crmContact = "sales.crm:object/contact";
24241
23992
  var crmPipeline = "sales.crm:catalog/crm.pipeline";
24242
- var clientSupportIssue = "clients:object/support-issue";
24243
- var clientSupportIssueSeverity = "clients:catalog/support-issue-severity";
23993
+ var clientSupportIssue = "client-management:object/support-issue";
23994
+ var clientSupportIssueSeverity = "client-management:catalog/support-issue-severity";
24244
23995
  var workflowOntologyBindingsByBuildActionKey = {
24245
23996
  "lead-gen.company.source": {
24246
23997
  actions: ["sales.lead-gen:action/company.source"],
@@ -24388,12 +24139,12 @@ var workflowOntologyBindingsByBuildActionKey = {
24388
24139
  writes: [leadGenList],
24389
24140
  usesCatalogs: [leadGenBuildTemplate, leadGenCampaignStatus]
24390
24141
  },
24391
- "clients.support-issue.review": {
24392
- actions: ["clients:action/support-issue.review"],
24393
- primaryAction: "clients:action/support-issue.review",
24142
+ "client-management.support-issue.review": {
24143
+ actions: ["client-management:action/support-issue.review"],
24144
+ primaryAction: "client-management:action/support-issue.review",
24394
24145
  writes: [clientSupportIssue],
24395
24146
  usesCatalogs: [clientSupportIssueSeverity],
24396
- emits: ["clients:event/support-issue.submitted"]
24147
+ emits: ["client-management:event/support-issue.submitted"]
24397
24148
  },
24398
24149
  "lead-gen.company.cleanup": {
24399
24150
  actions: ["sales.lead-gen:action/company.qualify"],
@@ -25383,7 +25134,7 @@ var platformRoles = {
25383
25134
  "Own platform operations knowledge and keep operational playbooks aligned with active systems.",
25384
25135
  "Maintain platform utilities, diagnostics, and resource governance health."
25385
25136
  ],
25386
- responsibleFor: ["clients", "sales", "projects", "seo", "platform"]
25137
+ responsibleFor: ["client-management", "sales", "projects", "seo", "platform"]
25387
25138
  },
25388
25139
  "role.growth-operator": {
25389
25140
  id: "role.growth-operator",
@@ -25416,7 +25167,7 @@ var platformRoles = {
25416
25167
  order: 50,
25417
25168
  title: "Client Support Operator",
25418
25169
  responsibilities: ["Own client support request intake and issue-submission workflows."],
25419
- responsibleFor: ["clients"]
25170
+ responsibleFor: ["client-management"]
25420
25171
  }
25421
25172
  };
25422
25173
 
@@ -25729,11 +25480,11 @@ var platformSystems = {
25729
25480
  }
25730
25481
  }
25731
25482
  },
25732
- clients: {
25733
- id: "clients",
25483
+ "client-management": {
25484
+ id: "client-management",
25734
25485
  order: 50,
25735
- label: "Clients",
25736
- description: "Client relationships, accounts, and business context.",
25486
+ label: "Client Management",
25487
+ description: "Operational client relationships, accounts, support intake, and business context.",
25737
25488
  kind: "operational",
25738
25489
  governedByKnowledge: [],
25739
25490
  drivesGoals: [],
@@ -25745,38 +25496,38 @@ var platformSystems = {
25745
25496
  },
25746
25497
  ontology: {
25747
25498
  objectTypes: {
25748
- "clients:object/support-issue": {
25749
- id: "clients:object/support-issue",
25499
+ "client-management:object/support-issue": {
25500
+ id: "client-management:object/support-issue",
25750
25501
  label: "Support Issue",
25751
25502
  description: "A client-reported support issue routed to a human review checkpoint.",
25752
- ownerSystemId: "clients",
25503
+ ownerSystemId: "client-management",
25753
25504
  properties: {
25754
25505
  id: { valueType: "global:value-type/uuid", identity: true },
25755
25506
  title: { valueType: "global:value-type/text", required: true },
25756
- severity: { catalogType: "clients:catalog/support-issue-severity", required: true }
25507
+ severity: { catalogType: "client-management:catalog/support-issue-severity", required: true }
25757
25508
  }
25758
25509
  }
25759
25510
  },
25760
25511
  actionTypes: {
25761
- "clients:action/support-issue.review": {
25762
- id: "clients:action/support-issue.review",
25512
+ "client-management:action/support-issue.review": {
25513
+ id: "client-management:action/support-issue.review",
25763
25514
  label: "Review Support Issue",
25764
25515
  description: "Create a human review task for an inbound client support issue.",
25765
- ownerSystemId: "clients",
25766
- actsOn: ["clients:object/support-issue"],
25516
+ ownerSystemId: "client-management",
25517
+ actsOn: ["client-management:object/support-issue"],
25767
25518
  effects: [
25768
- { kind: "write", objectType: "clients:object/support-issue" },
25769
- { kind: "emitEvent", eventType: "clients:event/support-issue.submitted" }
25519
+ { kind: "write", objectType: "client-management:object/support-issue" },
25520
+ { kind: "emitEvent", eventType: "client-management:event/support-issue.submitted" }
25770
25521
  ]
25771
25522
  }
25772
25523
  },
25773
25524
  catalogTypes: {
25774
- "clients:catalog/support-issue-severity": {
25775
- id: "clients:catalog/support-issue-severity",
25525
+ "client-management:catalog/support-issue-severity": {
25526
+ id: "client-management:catalog/support-issue-severity",
25776
25527
  label: "Support Issue Severities",
25777
- ownerSystemId: "clients",
25528
+ ownerSystemId: "client-management",
25778
25529
  kind: "severity",
25779
- appliesTo: "clients:object/support-issue",
25530
+ appliesTo: "client-management:object/support-issue",
25780
25531
  entries: {
25781
25532
  low: { label: "Low", order: 10 },
25782
25533
  medium: { label: "Medium", order: 20 },
@@ -25786,13 +25537,13 @@ var platformSystems = {
25786
25537
  }
25787
25538
  },
25788
25539
  eventTypes: {
25789
- "clients:event/support-issue.submitted": {
25790
- id: "clients:event/support-issue.submitted",
25540
+ "client-management:event/support-issue.submitted": {
25541
+ id: "client-management:event/support-issue.submitted",
25791
25542
  label: "Support Issue Submitted",
25792
- ownerSystemId: "clients",
25543
+ ownerSystemId: "client-management",
25793
25544
  payload: {
25794
25545
  title: { valueType: "global:value-type/text" },
25795
- severity: { catalogType: "clients:catalog/support-issue-severity" }
25546
+ severity: { catalogType: "client-management:catalog/support-issue-severity" }
25796
25547
  }
25797
25548
  }
25798
25549
  }
@@ -26911,7 +26662,12 @@ var platformTopology = defineTopology(
26911
26662
  checkpointRoutesTo("inb-timeout-booked-routes-no-show", "inb-timeout-booked", "inb-pipeline-timeout-no-show-workflow", "sales.crm"),
26912
26663
  checkpointRoutesTo("inb-timeout-booked-routes-close-lost", "inb-timeout-booked", "inb-pipeline-timeout-close-lost-workflow", "sales.crm"),
26913
26664
  checkpointRoutesTo("inb-timeout-booked-routes-followup", "inb-timeout-booked", "inb-pipeline-timeout-followup-workflow", "sales.crm"),
26914
- requestsApproval("iss-submission-requests-support-review", "iss-submission-workflow", "iss-submissions", "clients")
26665
+ requestsApproval(
26666
+ "iss-submission-requests-support-review",
26667
+ "iss-submission-workflow",
26668
+ "iss-submissions",
26669
+ "client-management"
26670
+ )
26915
26671
  ])
26916
26672
  );
26917
26673
 
@@ -26921,7 +26677,7 @@ function assignResponsibleRoles(systems) {
26921
26677
  if (systemId === "sales.lead-gen") return "role.growth-operator";
26922
26678
  if (systemId === "sales.crm") return "role.crm-operator";
26923
26679
  if (systemId === "seo") return "role.website-operator";
26924
- if (systemId === "clients") return "role.client-support-operator";
26680
+ if (systemId === "client-management") return "role.client-support-operator";
26925
26681
  return "role.operator";
26926
26682
  }
26927
26683
  function applyToMap(map, prefix = "") {
@@ -36784,6 +36540,7 @@ function CommandQueueDetailPage({
36784
36540
  // src/features/operations/organization-graph/types.ts
36785
36541
  var ORGANIZATION_GRAPH_NODE_KIND_ORDER = [
36786
36542
  "organization",
36543
+ "client",
36787
36544
  "system",
36788
36545
  "role",
36789
36546
  "action",
@@ -36802,6 +36559,7 @@ var ORGANIZATION_GRAPH_NODE_KIND_ORDER = [
36802
36559
  ];
36803
36560
  var ORGANIZATION_GRAPH_NODE_KIND_LABELS = {
36804
36561
  organization: "Organization",
36562
+ client: "Client",
36805
36563
  system: "System",
36806
36564
  role: "Role",
36807
36565
  action: "Action",
@@ -36820,6 +36578,7 @@ var ORGANIZATION_GRAPH_NODE_KIND_LABELS = {
36820
36578
  };
36821
36579
  var ORGANIZATION_GRAPH_NODE_KIND_DETAIL_LABELS = {
36822
36580
  organization: "Organization root",
36581
+ client: "Client",
36823
36582
  system: "System",
36824
36583
  role: "Role",
36825
36584
  action: "Action",
@@ -36838,6 +36597,7 @@ var ORGANIZATION_GRAPH_NODE_KIND_DETAIL_LABELS = {
36838
36597
  };
36839
36598
  var ORGANIZATION_GRAPH_NODE_KIND_MEANINGS = {
36840
36599
  organization: "The root of the shared organization model and the parent for every derived node.",
36600
+ client: "A direct client profile represented under the Organization clients domain.",
36841
36601
  system: "A canonical Organization Model system for ownership, routing, and governance.",
36842
36602
  role: "An Organization Model role that owns responsibilities and may govern systems.",
36843
36603
  action: "A reusable action that can be attached to a system.",
@@ -39591,21 +39351,22 @@ function buildCommandViewDrillDownSections({
39591
39351
  // src/features/operations/organization-graph/path-tracing/trace.ts
39592
39352
  var NODE_KIND_ORDER = {
39593
39353
  organization: 0,
39594
- system: 1,
39595
- role: 2,
39596
- action: 3,
39597
- stage: 4,
39598
- entity: 5,
39599
- policy: 6,
39600
- resource: 7,
39601
- knowledge: 8,
39602
- event: 9,
39603
- "customer-segment": 10,
39604
- offering: 11,
39605
- goal: 12,
39606
- surface: 13,
39607
- "navigation-group": 14,
39608
- ontology: 15
39354
+ client: 1,
39355
+ system: 2,
39356
+ role: 3,
39357
+ action: 4,
39358
+ stage: 5,
39359
+ entity: 6,
39360
+ policy: 7,
39361
+ resource: 8,
39362
+ knowledge: 9,
39363
+ event: 10,
39364
+ "customer-segment": 11,
39365
+ offering: 12,
39366
+ goal: 13,
39367
+ surface: 14,
39368
+ "navigation-group": 15,
39369
+ ontology: 16
39609
39370
  };
39610
39371
  function getNodeLabel(node) {
39611
39372
  return node.label || node.sourceId || node.id;
@@ -41008,6 +40769,7 @@ function readGraphThemeTokens() {
41008
40769
  function getNodeThemeByKind(tokens2) {
41009
40770
  const accentByKind = {
41010
40771
  organization: mixColors(tokens2.primary, tokens2.text, 0.35),
40772
+ client: mixColors(tokens2.primary, tokens2.text, 0.5),
41011
40773
  system: mixColors(tokens2.primary, tokens2.success, 0.48),
41012
40774
  role: mixColors(tokens2.primary, tokens2.error, 0.4),
41013
40775
  action: mixColors(tokens2.primary, tokens2.success, 0.72),
@@ -48132,6 +47894,8 @@ function graphKindToFallbackToken(kind) {
48132
47894
  return "user";
48133
47895
  case "stage":
48134
47896
  return "pending";
47897
+ case "client":
47898
+ return "clients";
48135
47899
  case "organization":
48136
47900
  return "building";
48137
47901
  default:
@@ -48143,6 +47907,7 @@ var FAVORITE_PREFIX = "favorite:";
48143
47907
  var QUICK_ACCESS_GROUP_VALUE = `group:${QUICK_ACCESS_GROUP_KEY}`;
48144
47908
  var GROUP_ICON_TOKENS = {
48145
47909
  [QUICK_ACCESS_GROUP_KEY]: "om.quick-access",
47910
+ organization: "om.organization",
48146
47911
  profile: "om.profile",
48147
47912
  "business-model": "om.business-model",
48148
47913
  systems: "om.systems",
@@ -48188,8 +47953,7 @@ function findFavoritePathInTree(nodes, favorite) {
48188
47953
  return void 0;
48189
47954
  }
48190
47955
  var OM_TREE_GROUPS = [
48191
- { key: "profile", label: "Profile", domains: ["identity", "branding"] },
48192
- { key: "business-model", label: "Business Model", domains: ["customers", "offerings", "goals"] },
47956
+ { key: "organization", label: "Organization", domains: ["identity", "branding", "customers", "offerings", "goals", "clients"] },
48193
47957
  { key: "systems", label: "Systems", domains: ["systems", "sales", "prospecting", "projects"] },
48194
47958
  {
48195
47959
  key: "graph",
@@ -48225,6 +47989,8 @@ function domainKeyForKnowledgeTarget(targetKind) {
48225
47989
  return "goals";
48226
47990
  case "role":
48227
47991
  return "roles";
47992
+ case "client":
47993
+ return "clients";
48228
47994
  default:
48229
47995
  return void 0;
48230
47996
  }
@@ -48241,6 +48007,7 @@ function graphNodeIdForKnowledgeTarget(targetKind, targetId) {
48241
48007
  case "ontology":
48242
48008
  case "system":
48243
48009
  case "stage":
48010
+ case "client":
48244
48011
  return `${targetKind}:${targetId}`;
48245
48012
  default:
48246
48013
  return void 0;
@@ -48317,6 +48084,7 @@ var KNOWLEDGE_DOMAINS_WITH_PANELS = /* @__PURE__ */ new Set([
48317
48084
  "identity",
48318
48085
  "branding",
48319
48086
  "customers",
48087
+ "clients",
48320
48088
  "offerings",
48321
48089
  "goals",
48322
48090
  "roles",
@@ -48336,7 +48104,7 @@ var KNOWLEDGE_DOMAINS_WITH_PANELS = /* @__PURE__ */ new Set([
48336
48104
  "ontology-groups",
48337
48105
  "ontology-surfaces"
48338
48106
  ]);
48339
- var FILTERABLE_DOMAIN_KEYS = /* @__PURE__ */ new Set(["customers", "offerings", "goals", "roles", "policies"]);
48107
+ var FILTERABLE_DOMAIN_KEYS = /* @__PURE__ */ new Set(["customers", "clients", "offerings", "goals", "roles", "policies"]);
48340
48108
  function shouldRouteItemToDomainPanel(domainKey) {
48341
48109
  return FILTERABLE_DOMAIN_KEYS.has(domainKey);
48342
48110
  }
@@ -48912,7 +48680,7 @@ function buildBusinessModelGroup(organizationModel2, knowledgeByTarget, facetSta
48912
48680
  children: [
48913
48681
  createDomainNode({
48914
48682
  domainKey: "customers",
48915
- label: "Customers",
48683
+ label: "ICP",
48916
48684
  children: modelRecordValues(organizationModel2?.customers, (segment) => segment.name || segment.id).map(
48917
48685
  (segment) => createItemNode({
48918
48686
  domainKey: "customers",
@@ -48949,6 +48717,30 @@ function buildBusinessModelGroup(organizationModel2, knowledgeByTarget, facetSta
48949
48717
  ]
48950
48718
  });
48951
48719
  }
48720
+ function buildClientsDomain(graph, organizationModel2, knowledgeByTarget, facetStates) {
48721
+ const graphNodesById = new Map(graph.nodes.map((node) => [node.id, node]));
48722
+ const clientItems = modelRecordValues(organizationModel2?.clients, (client) => client.name || client.slug).map(
48723
+ (client) => createItemNode({
48724
+ domainKey: "clients",
48725
+ itemId: client.id,
48726
+ label: client.name || client.slug,
48727
+ graphNodeId: graphNodesById.get(`client:${client.id}`)?.id,
48728
+ knowledgeNodes: getTargetKnowledge(knowledgeByTarget, `clients:${client.id}`, facetStates)
48729
+ })
48730
+ );
48731
+ return createDomainNode({ domainKey: "clients", label: "Clients", children: clientItems });
48732
+ }
48733
+ function buildOrganizationGroup(graph, organizationModel2, knowledgeByTarget, facetStates) {
48734
+ return createGroupNode({
48735
+ groupKey: "organization",
48736
+ label: "Organization",
48737
+ children: [
48738
+ buildProfileGroup(organizationModel2, knowledgeByTarget, facetStates),
48739
+ buildBusinessModelGroup(organizationModel2, knowledgeByTarget, facetStates),
48740
+ buildClientsDomain(graph, organizationModel2, knowledgeByTarget, facetStates)
48741
+ ]
48742
+ });
48743
+ }
48952
48744
  function buildRolesDomain(graph, organizationModel2, knowledgeByTarget, facetStates) {
48953
48745
  const graphNodesById = new Map(graph.nodes.map((node) => [node.id, node]));
48954
48746
  const roleItems = modelRecordValues(organizationModel2?.roles, (role) => role.title || role.id).map(
@@ -49175,10 +48967,8 @@ function buildOrgTreeNode(graph, knowledgeNodes, facetStates, organizationModel2
49175
48967
  const visibleSpineIds = computeVisibleSpineIds(allBareIds, "system", facetStates, ctx, organizationModel2);
49176
48968
  const omGroups = OM_TREE_GROUPS.map((group) => {
49177
48969
  switch (group.key) {
49178
- case "profile":
49179
- return buildProfileGroup(organizationModel2, knowledgeByTarget, facetStates);
49180
- case "business-model":
49181
- return buildBusinessModelGroup(organizationModel2, knowledgeByTarget, facetStates);
48970
+ case "organization":
48971
+ return buildOrganizationGroup(graph, organizationModel2, knowledgeByTarget, facetStates);
49182
48972
  case "systems":
49183
48973
  return buildSystemsGroup(graph, organizationModel2, facetStates, ctx, visibleSpineIds);
49184
48974
  case "graph":
@@ -50631,4 +50421,4 @@ function useAccess(key) {
50631
50421
  };
50632
50422
  }
50633
50423
 
50634
- export { APIErrorAlert, AbsoluteScheduleForm, AccessGuard, AccessKeys, AccountSettings, ActionModal, ActionSchema, ActivityCard, ActivityFeed, ActivityFeedWidget, ActivityFilters, ActivityLog, ActivityTable, ActivityTimeline, ActivityTrendChart, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionPanel, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, AgentResourceEntrySchema, AgentSessionGroup, AllTasksPage, ApiKeyDisplayModal, ApiKeyList, ApiKeyService, ApiKeySettings, AppErrorBoundary, AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, AppearanceContext, AppearanceProvider, AppearanceSettings, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CRM_ITEMS, CenteredErrorState, ChartFrame, Checklist, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CollapsibleSidebarGroup, CombinedTrendChart, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewPage, CompanyDetailPage, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContactDetailPage, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, ConversationThread, CostAnalytics, CostBreakdownCard, CostByModelTable, CostMetricsCard, CostTrendChart, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateDeliveryEntityModal, CreateRoleModal, CreateScheduleModal, CreateWebhookEndpointModal, CredentialList, CredentialService, CredentialSettings, CrmActionsProvider, CrmOverview, CrmSettingsPage, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, CyberParticles, DEAL_STAGES, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DEFAULT_KANBAN_CONFIG, DEFAULT_SEMANTIC_ICON_REGISTRY, DELIVERY_COMMUNICATION_ITEMS, DELIVERY_PROJECT_ITEMS, DELIVERY_WORK_ITEMS, Dashboard, DashboardOperationsOverview, DealDetailPage, DealKanbanCard, DealsListPage, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentService, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, EMPTY_LIST_ACTIONS, EditApiKeyModal, EditCredentialModal, EditWebhookEndpointModal, ElevasisCoreProvider, ElevasisLoader, ElevasisSystemsProvider, ElevasisUIProvider, EmptyState, EmptyVisualizer, EntitySchema, ErrorAnalysisCard, ErrorBreakdownTable, ErrorDetailsModal, ErrorReportCard, ExecuteWorkflowModal, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealth, ExecutionHealthCard, ExecutionLogsFilters, ExecutionLogsPage, ExecutionLogsTable, ExecutionPanel, ExecutionStats, ExecutionStatusBadge, FeatureUnavailableState, FilterBar, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, HeroStatsRow, IdentityDomainSchema, IntegrationResourceEntrySchema, JsonViewer, KNOWLEDGE_DOMAINS_WITH_PANELS, KNOWLEDGE_ICON_TOKEN_BY_KIND, KanbanBoard, KnowledgeSearchBar, KnowledgeTree, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, LinksGroup, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MemberAccessModal, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyRolesPage, MyTasksPanel, NavigationButton, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, NoAccessState, NotificationBell, NotificationCenter, NotificationItem, NotificationList, NotificationPanel, NotificationProvider, OAuthConnectModal, OAuthIntegrationsCard, OM_TREE_GROUPS, ORPHAN_STAGE_ORDER, OperationsOverview, OperationsService, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrgMembersList, OrganizationGraphPage, OrganizationMembershipService, OrganizationMembershipsList, OrganizationProvider, OrganizationSettings, OrganizationSwitcher, OrganizationSwitcherConnected, PIPELINE_FUNNEL_ORDER, PageContainer, PageNotFound, PageTitleCaption, PermissionMatrix, PipelineFunnelWidget, PolicySchema, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, ProtectedRoute, QuickCreateActions, RecentExecutionsByResource, RecurringScheduleForm, RelativeScheduleForm, RequestActionIcon, RequestModal, ResourceCard, ResourceDefinitionSection, ResourceDetailPage, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, ResourceOverview, ResourcesPage, ResourcesSidebar, RichTextEditor, RoleBadge, RoleSchema, RunResourceButton, SAVED_VIEW_PRESETS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, ScriptResourceEntrySchema, SemanticIcon, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionMemory, SessionsPage, SessionsSidebar, Sidebar, SidebarContext, SidebarProvider, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StepConfigForm, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellNavList, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, SurfaceDefinitionSchema, SystemEntrySchema, SystemOpsView, SystemShell, TabCountBadge, TabSection, TableSelectionToolbar, TaskCard, TaskScheduler, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, Topbar, TopbarActions, TopbarContainer, TrendIndicator, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UnresolvedErrorsTeaser, UpcomingMilestonesPage, Vignette, VisualizerContainer, WebhookEndpointList, WebhookEndpointService, WebhookEndpointSettings, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionPanel, WorkflowExecutionTimeline, WorkflowResourceEntrySchema, ZodFormRenderer, acquisitionListKeys, aggregateSystemMetrics, buildErrorReport, calculateProgress, clientsKeys, collectResourceFilterFacets, companyKeys, contactKeys, createOrganizationsSlice, createTestSystemsProvider, createUseOrgInitialization, createUseOrganizations, crmManifest, crmPrioritySettingsKeys, dealKeys, dealNoteKeys, dealTaskKeys, deliveryManifest, deriveBusinessProgress, executionsKeys, extendSemanticIconRegistry, filterByDomainFilters, findListActionByAction, formatDate3 as formatDate, formatDealStageLabel, formatResourceAttribution, formatStatusLabel, getEnrichmentColor, getEnrichmentStatus, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getKnowledgeDomainFolderCommand, getKnowledgeGraphNodeCommand, getKnowledgeIconToken, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getKnowledgeTreeFolderCommand, getLeadGenApiInterfaceReadiness, getLeadGenExportWorkflowId, getListActionWorkflowId, getLogLevelConfig, getOntologyDomainLabel, getPrimaryOntologyItemsForDomain, getResourceFilterFacetIds, getSemanticIconComponent, getSeriesColor, getSharedOrganizationGraph, getStateKeyColor, getStatusColor4 as getStatusColor, getStepActionLabel, iconMap, isLeadGenExportAction, isSessionCapable, knowledgeManifest, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, mdxComponents, milestoneKeys, milestoneStatusColors, monitoringManifest, noteKeys, noteTypeColors, observabilityKeys, operationsKeys, operationsManifest, projectActivityKeys, projectKeys, projectNavigationGroups, projectNavigationSurfaces, projectStatusColors, requestTopbarActionManifest, requestsKeys, resolveBuildPlanSteps, resolveBuildState, resolveSemanticIconComponent, scheduleKeys, sessionsKeys, settingsManifest, showApiErrorNotification, showAuthError, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, sortData, sortStageKeys, subsidebarWidth, taskKeys, taskStatusColors, taskTypeColors, useAccess, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useAppearance, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBreadcrumbs, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateClient, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateProject, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useCrmActions, useCrmPipelineSummary, useCrmPrioritySettings, useCrmQuickMetrics, useCyberColors, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteLists, useDeleteMilestone, useDeleteOrgRole, useDeleteProject, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteTask2, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useElevasisSystems, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphBackgroundStyles, useGraphTheme, useInFlightExecutions, useLeadGenConfig, useList, useListActions, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMilestones, useNewKnowledgeMapLayout, useNotificationAdapter, useNotificationCount, useNotifications, useOptionalElevasisSystems, useOrgRoles, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactivateMembership, useRecentCrmActivity, useRecentExecutionsByResource, useRemoveCompaniesFromList, useRequest, useRequestsList, useResetCrmPrioritySettings, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResolvedOrganizationModel, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSidebar, useSidebarCollapse, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSubmitRequest, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateCrmPrioritySettings, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMilestone, useUpdateOrgRole, useUpdateProject, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution };
50424
+ export { APIErrorAlert, AbsoluteScheduleForm, AccessGuard, AccessKeys, AccountSettings, ActionModal, ActivityCard, ActivityFeed, ActivityFeedWidget, ActivityFilters, ActivityLog, ActivityTable, ActivityTimeline, ActivityTrendChart, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionPanel, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, AgentResourceEntrySchema, AgentSessionGroup, AllTasksPage, ApiKeyDisplayModal, ApiKeyList, ApiKeyService, ApiKeySettings, AppErrorBoundary, AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, AppearanceContext, AppearanceProvider, AppearanceSettings, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CRM_ITEMS, CenteredErrorState, ChartFrame, Checklist, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CollapsibleSidebarGroup, CombinedTrendChart, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewPage, CompanyDetailPage, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContactDetailPage, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, ConversationThread, CostAnalytics, CostBreakdownCard, CostByModelTable, CostMetricsCard, CostTrendChart, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateDeliveryEntityModal, CreateRoleModal, CreateScheduleModal, CreateWebhookEndpointModal, CredentialList, CredentialService, CredentialSettings, CrmActionsProvider, CrmOverview, CrmSettingsPage, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, CyberParticles, DEAL_STAGES, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DEFAULT_KANBAN_CONFIG, DEFAULT_SEMANTIC_ICON_REGISTRY, DELIVERY_COMMUNICATION_ITEMS, DELIVERY_PROJECT_ITEMS, DELIVERY_WORK_ITEMS, Dashboard, DashboardOperationsOverview, DealDetailPage, DealKanbanCard, DealsListPage, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentService, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, EMPTY_LIST_ACTIONS, EditApiKeyModal, EditCredentialModal, EditWebhookEndpointModal, ElevasisCoreProvider, ElevasisLoader, ElevasisSystemsProvider, ElevasisUIProvider, EmptyState, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ErrorDetailsModal, ErrorReportCard, ExecuteWorkflowModal, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealth, ExecutionHealthCard, ExecutionLogsFilters, ExecutionLogsPage, ExecutionLogsTable, ExecutionPanel, ExecutionStats, ExecutionStatusBadge, FeatureUnavailableState, FilterBar, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, HeroStatsRow, IdentityDomainSchema, IntegrationResourceEntrySchema, JsonViewer, KNOWLEDGE_DOMAINS_WITH_PANELS, KNOWLEDGE_ICON_TOKEN_BY_KIND, KanbanBoard, KnowledgeSearchBar, KnowledgeTree, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, LinksGroup, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MemberAccessModal, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyRolesPage, MyTasksPanel, NavigationButton, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, NoAccessState, NotificationBell, NotificationCenter, NotificationItem, NotificationList, NotificationPanel, NotificationProvider, OAuthConnectModal, OAuthIntegrationsCard, OM_TREE_GROUPS, ORPHAN_STAGE_ORDER, OperationsOverview, OperationsService, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrgMembersList, OrganizationGraphPage, OrganizationMembershipService, OrganizationMembershipsList, OrganizationProvider, OrganizationSettings, OrganizationSwitcher, OrganizationSwitcherConnected, PIPELINE_FUNNEL_ORDER, PageContainer, PageNotFound, PageTitleCaption, PermissionMatrix, PipelineFunnelWidget, PolicySchema, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, ProtectedRoute, QuickCreateActions, RecentExecutionsByResource, RecurringScheduleForm, RelativeScheduleForm, RequestActionIcon, RequestModal, ResourceCard, ResourceDefinitionSection, ResourceDetailPage, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, ResourceOverview, ResourcesPage, ResourcesSidebar, RichTextEditor, RoleBadge, RoleSchema, RunResourceButton, SAVED_VIEW_PRESETS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, ScriptResourceEntrySchema, SemanticIcon, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionMemory, SessionsPage, SessionsSidebar, Sidebar, SidebarContext, SidebarProvider, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StepConfigForm, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellNavList, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, SurfaceDefinitionSchema, SystemOpsView, SystemShell, TabCountBadge, TabSection, TableSelectionToolbar, TaskCard, TaskScheduler, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, Topbar, TopbarActions, TopbarContainer, TrendIndicator, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UnresolvedErrorsTeaser, UpcomingMilestonesPage, Vignette, VisualizerContainer, WebhookEndpointList, WebhookEndpointService, WebhookEndpointSettings, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionPanel, WorkflowExecutionTimeline, WorkflowResourceEntrySchema, ZodFormRenderer, acquisitionListKeys, aggregateSystemMetrics, buildErrorReport, calculateProgress, clientsKeys, collectResourceFilterFacets, companyKeys, contactKeys, createOrganizationsSlice, createTestSystemsProvider, createUseOrgInitialization, createUseOrganizations, crmManifest, crmPrioritySettingsKeys, dealKeys, dealNoteKeys, dealTaskKeys, deliveryManifest, deriveBusinessProgress, executionsKeys, extendSemanticIconRegistry, filterByDomainFilters, findListActionByAction, formatDate3 as formatDate, formatDealStageLabel, formatResourceAttribution, formatStatusLabel, getEnrichmentColor, getEnrichmentStatus, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getKnowledgeDomainFolderCommand, getKnowledgeGraphNodeCommand, getKnowledgeIconToken, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getKnowledgeTreeFolderCommand, getLeadGenApiInterfaceReadiness, getLeadGenExportWorkflowId, getListActionWorkflowId, getLogLevelConfig, getOntologyDomainLabel, getPrimaryOntologyItemsForDomain, getResourceFilterFacetIds, getSemanticIconComponent, getSeriesColor, getSharedOrganizationGraph, getStateKeyColor, getStatusColor4 as getStatusColor, getStepActionLabel, iconMap, isLeadGenExportAction, isSessionCapable, knowledgeManifest, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, mdxComponents, milestoneKeys, milestoneStatusColors, monitoringManifest, noteKeys, noteTypeColors, observabilityKeys, operationsKeys, operationsManifest, projectActivityKeys, projectKeys, projectNavigationGroups, projectNavigationSurfaces, projectStatusColors, requestTopbarActionManifest, requestsKeys, resolveBuildPlanSteps, resolveBuildState, resolveSemanticIconComponent, scheduleKeys, sessionsKeys, settingsManifest, showApiErrorNotification, showAuthError, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, sortData, sortStageKeys, subsidebarWidth, taskKeys, taskStatusColors, taskTypeColors, useAccess, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useAppearance, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBreadcrumbs, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateClient, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateProject, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useCrmActions, useCrmPipelineSummary, useCrmPrioritySettings, useCrmQuickMetrics, useCyberColors, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteLists, useDeleteMilestone, useDeleteOrgRole, useDeleteProject, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteTask2, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useElevasisSystems, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphBackgroundStyles, useGraphTheme, useInFlightExecutions, useLeadGenConfig, useList, useListActions, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMilestones, useNewKnowledgeMapLayout, useNotificationAdapter, useNotificationCount, useNotifications, useOptionalElevasisSystems, useOrgRoles, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactivateMembership, useRecentCrmActivity, useRecentExecutionsByResource, useRemoveCompaniesFromList, useRequest, useRequestsList, useResetCrmPrioritySettings, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResolvedOrganizationModel, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSidebar, useSidebarCollapse, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSubmitRequest, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateCrmPrioritySettings, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMilestone, useUpdateOrgRole, useUpdateProject, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution };