@elevasis/ui 2.20.0 → 2.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/index.js +2 -2
- package/dist/app/index.js +4 -4
- package/dist/charts/index.js +3 -3
- package/dist/{chunk-FMFX4K6E.js → chunk-7GG6OSD7.js} +34 -9
- package/dist/{chunk-GTYUP7MB.js → chunk-ATEHYDL3.js} +5 -21
- package/dist/{chunk-AL23U6C3.js → chunk-BIWHHWCJ.js} +1 -2
- package/dist/{chunk-JR5WNTLA.js → chunk-BJWIKEQG.js} +6 -11
- package/dist/{chunk-GP3AFJYG.js → chunk-CZK67OHH.js} +6 -11
- package/dist/{chunk-TO7QXDBX.js → chunk-DMYELNGA.js} +2 -2
- package/dist/{chunk-2CFOFSSG.js → chunk-EDX6WIN3.js} +6 -11
- package/dist/{chunk-PJVG3ISO.js → chunk-EGKNRM6P.js} +6 -8
- package/dist/{chunk-ZE2KQSHL.js → chunk-I5WRKH25.js} +4 -4
- package/dist/chunk-KVW56ERD.js +24 -0
- package/dist/{chunk-YP6T426C.js → chunk-LQU62KHD.js} +144 -432
- package/dist/{chunk-OUYH2SBS.js → chunk-LVUCBY7X.js} +2 -2
- package/dist/chunk-S7RL77QS.js +48 -0
- package/dist/{chunk-OD7GWIZS.js → chunk-SGXXJE52.js} +1 -121
- package/dist/{chunk-R7OJCNL3.js → chunk-T6INEVX6.js} +1 -1
- package/dist/{chunk-CTTY6FUT.js → chunk-TSSKOQBX.js} +2 -2
- package/dist/{chunk-Q4QJOSVS.js → chunk-ULZ2B3NC.js} +1 -1
- package/dist/chunk-VQESMHQV.js +336 -0
- package/dist/{chunk-MZFJWCPH.js → chunk-XLZZOFGM.js} +5 -19
- package/dist/{chunk-BHR7IV72.js → chunk-XUYBOO32.js} +1 -1
- package/dist/{chunk-M7W7CGPL.js → chunk-Z6FAH4XV.js} +1 -1
- package/dist/components/index.d.ts +46 -87
- package/dist/components/index.js +27 -26
- package/dist/components/navigation/index.d.ts +1 -13
- package/dist/components/navigation/index.js +11 -1
- package/dist/execution/index.d.ts +27 -0
- package/dist/features/crm/index.d.ts +12 -35
- package/dist/features/crm/index.js +11 -10
- package/dist/features/dashboard/index.d.ts +25 -27
- package/dist/features/dashboard/index.js +12 -11
- package/dist/features/delivery/index.d.ts +12 -35
- package/dist/features/delivery/index.js +11 -10
- package/dist/features/lead-gen/index.d.ts +14 -37
- package/dist/features/lead-gen/index.js +11 -10
- package/dist/features/monitoring/index.d.ts +12 -35
- package/dist/features/monitoring/index.js +13 -12
- package/dist/features/monitoring/requests/index.d.ts +13 -36
- package/dist/features/monitoring/requests/index.js +11 -10
- package/dist/features/operations/index.d.ts +44 -65
- package/dist/features/operations/index.js +14 -13
- package/dist/features/seo/index.d.ts +12 -35
- package/dist/features/seo/index.js +1 -1
- package/dist/features/settings/index.d.ts +12 -35
- package/dist/features/settings/index.js +11 -10
- package/dist/hooks/delivery/index.js +2 -2
- package/dist/hooks/index.d.ts +46 -66
- package/dist/hooks/index.js +10 -9
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +92 -121
- package/dist/hooks/published.d.ts +46 -66
- package/dist/hooks/published.js +10 -9
- package/dist/index.d.ts +365 -452
- package/dist/index.js +10 -9
- package/dist/provider/index.d.ts +62 -125
- package/dist/provider/index.js +8 -7
- package/dist/provider/published.d.ts +62 -125
- package/dist/provider/published.js +6 -5
- package/dist/test-utils/index.js +2 -2
- package/dist/types/index.d.ts +108 -135
- package/dist/utils/index.d.ts +26 -59
- package/dist/utils/index.js +1 -1
- package/package.json +4 -4
- package/dist/chunk-LR5CRY5A.js +0 -514
- package/dist/chunk-MG3NF7QL.js +0 -63
package/dist/types/index.d.ts
CHANGED
|
@@ -259,84 +259,6 @@ interface FormSchema {
|
|
|
259
259
|
fields: FormField[];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
/**
|
|
263
|
-
* Command View Types
|
|
264
|
-
*
|
|
265
|
-
* Unified type definitions for the Command View graph visualization.
|
|
266
|
-
* These types are used by both backend serialization and frontend rendering.
|
|
267
|
-
*
|
|
268
|
-
* Command View shows the resource graph: agents, workflows, triggers, integrations,
|
|
269
|
-
* external resources, and human checkpoints with their relationships.
|
|
270
|
-
*/
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* Extended agent metadata for Command View
|
|
274
|
-
* Includes model and capability information for graph display
|
|
275
|
-
*/
|
|
276
|
-
interface CommandViewAgent extends ResourceDefinition {
|
|
277
|
-
type: 'agent';
|
|
278
|
-
modelProvider: string;
|
|
279
|
-
modelId: string;
|
|
280
|
-
toolCount: number;
|
|
281
|
-
hasKnowledgeMap: boolean;
|
|
282
|
-
hasMemory: boolean;
|
|
283
|
-
sessionCapable: boolean;
|
|
284
|
-
}
|
|
285
|
-
/**
|
|
286
|
-
* Extended workflow metadata for Command View
|
|
287
|
-
* Includes step information for graph display
|
|
288
|
-
*/
|
|
289
|
-
interface CommandViewWorkflow extends ResourceDefinition {
|
|
290
|
-
type: 'workflow';
|
|
291
|
-
stepCount: number;
|
|
292
|
-
entryPoint: string;
|
|
293
|
-
}
|
|
294
|
-
/**
|
|
295
|
-
* Node type categories for Command View
|
|
296
|
-
* Simplified categorization for UI rendering and layout
|
|
297
|
-
*/
|
|
298
|
-
type CommandViewNodeType = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human';
|
|
299
|
-
/**
|
|
300
|
-
* Union type for all node types in Command View
|
|
301
|
-
* Frontend can use this for type-safe node handling
|
|
302
|
-
*/
|
|
303
|
-
type CommandViewNode = CommandViewAgent | CommandViewWorkflow | TriggerDefinition | IntegrationDefinition | ExternalResourceDefinition | HumanCheckpointDefinition;
|
|
304
|
-
/**
|
|
305
|
-
* Relationship types between resources
|
|
306
|
-
*
|
|
307
|
-
* - triggers: Resource initiates/starts another resource (orange)
|
|
308
|
-
* - uses: Resource uses an integration (teal)
|
|
309
|
-
* - approval: Resource requires human approval (yellow)
|
|
310
|
-
*/
|
|
311
|
-
type RelationshipType = 'triggers' | 'uses' | 'approval';
|
|
312
|
-
/**
|
|
313
|
-
* Command View edge (relationship between resources)
|
|
314
|
-
*/
|
|
315
|
-
interface CommandViewEdge {
|
|
316
|
-
id: string;
|
|
317
|
-
source: string;
|
|
318
|
-
target: string;
|
|
319
|
-
relationship: RelationshipType;
|
|
320
|
-
label?: string;
|
|
321
|
-
}
|
|
322
|
-
/**
|
|
323
|
-
* Command View data structure
|
|
324
|
-
* Complete graph data for visualization
|
|
325
|
-
*
|
|
326
|
-
* Backend serializes this once at startup and serves it via /command-view endpoint.
|
|
327
|
-
* Frontend consumes this directly for graph rendering.
|
|
328
|
-
*/
|
|
329
|
-
interface CommandViewData {
|
|
330
|
-
workflows: CommandViewWorkflow[];
|
|
331
|
-
agents: CommandViewAgent[];
|
|
332
|
-
triggers: TriggerDefinition[];
|
|
333
|
-
integrations: IntegrationDefinition[];
|
|
334
|
-
externalResources: ExternalResourceDefinition[];
|
|
335
|
-
humanCheckpoints: HumanCheckpointDefinition[];
|
|
336
|
-
edges: CommandViewEdge[];
|
|
337
|
-
domainDefinitions?: DomainDefinition[];
|
|
338
|
-
}
|
|
339
|
-
|
|
340
262
|
/**
|
|
341
263
|
* Serialized Registry Types
|
|
342
264
|
*
|
|
@@ -417,6 +339,8 @@ interface SerializedAgentDefinition {
|
|
|
417
339
|
version: string;
|
|
418
340
|
type: 'agent';
|
|
419
341
|
status: 'dev' | 'prod';
|
|
342
|
+
links?: ResourceLink[];
|
|
343
|
+
category?: ResourceCategory;
|
|
420
344
|
/** Whether this resource is archived and should be excluded from registration and deployment */
|
|
421
345
|
archived?: boolean;
|
|
422
346
|
systemPrompt: string;
|
|
@@ -472,6 +396,8 @@ interface SerializedWorkflowDefinition {
|
|
|
472
396
|
version: string;
|
|
473
397
|
type: 'workflow';
|
|
474
398
|
status: 'dev' | 'prod';
|
|
399
|
+
links?: ResourceLink[];
|
|
400
|
+
category?: ResourceCategory;
|
|
475
401
|
/** Whether this resource is archived and should be excluded from registration and deployment */
|
|
476
402
|
archived?: boolean;
|
|
477
403
|
};
|
|
@@ -4257,8 +4183,10 @@ interface ResourceDefinition {
|
|
|
4257
4183
|
type: ResourceType;
|
|
4258
4184
|
/** Environment/deployment status */
|
|
4259
4185
|
status: ResourceStatus;
|
|
4260
|
-
/**
|
|
4261
|
-
|
|
4186
|
+
/** Graph links to Organization Model nodes */
|
|
4187
|
+
links?: ResourceLink[];
|
|
4188
|
+
/** Infrastructure category for filtering */
|
|
4189
|
+
category?: ResourceCategory;
|
|
4262
4190
|
/** Whether the agent supports multi-turn sessions (agents only) */
|
|
4263
4191
|
sessionCapable?: boolean;
|
|
4264
4192
|
/** Whether the resource is local (monorepo) or remote (externally deployed) */
|
|
@@ -4266,33 +4194,6 @@ interface ResourceDefinition {
|
|
|
4266
4194
|
/** Whether this resource is archived and should be excluded from registration and deployment */
|
|
4267
4195
|
archived?: boolean;
|
|
4268
4196
|
}
|
|
4269
|
-
/**
|
|
4270
|
-
* Domain definition for Command View filtering
|
|
4271
|
-
*
|
|
4272
|
-
* Domains are organizational metadata for UI filtering/grouping.
|
|
4273
|
-
* No execution impact - purely for visualization.
|
|
4274
|
-
*
|
|
4275
|
-
* @example
|
|
4276
|
-
* {
|
|
4277
|
-
* id: 'support',
|
|
4278
|
-
* name: 'Customer Support',
|
|
4279
|
-
* description: 'Ticket triage, knowledge base, escalations',
|
|
4280
|
-
* color: 'green',
|
|
4281
|
-
* icon: 'IconHeadset'
|
|
4282
|
-
* }
|
|
4283
|
-
*/
|
|
4284
|
-
interface DomainDefinition {
|
|
4285
|
-
/** Unique identifier (e.g., 'support') */
|
|
4286
|
-
id: string;
|
|
4287
|
-
/** Display name (e.g., 'Customer Support') */
|
|
4288
|
-
name: string;
|
|
4289
|
-
/** Purpose description */
|
|
4290
|
-
description: string;
|
|
4291
|
-
/** Optional Mantine color for UI (e.g., 'blue', 'green', 'orange') */
|
|
4292
|
-
color?: string;
|
|
4293
|
-
/** Optional Tabler icon name (e.g., 'IconHeadset') */
|
|
4294
|
-
icon?: string;
|
|
4295
|
-
}
|
|
4296
4197
|
/** Webhook provider identifiers */
|
|
4297
4198
|
type WebhookProviderType = 'cal-com' | 'stripe' | 'signature-api' | 'instantly' | 'apify' | 'test';
|
|
4298
4199
|
/** Webhook trigger configuration */
|
|
@@ -4329,7 +4230,7 @@ type TriggerConfig = WebhookTriggerConfig | ScheduleTriggerConfig | EventTrigger
|
|
|
4329
4230
|
* scheduled cron jobs, platform events, or manual user actions.
|
|
4330
4231
|
*
|
|
4331
4232
|
* BREAKING CHANGES (2025-11-30):
|
|
4332
|
-
* - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status,
|
|
4233
|
+
* - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, links, category)
|
|
4333
4234
|
* - Field renames: `id` -> `resourceId` (inherited), `type` -> `triggerType`
|
|
4334
4235
|
* - Relationship rename: `invokes` -> `triggers` (unified vocabulary)
|
|
4335
4236
|
* - New required fields: `version` (inherited), `type: 'trigger'` (inherited)
|
|
@@ -4374,7 +4275,7 @@ interface TriggerDefinition extends ResourceDefinition {
|
|
|
4374
4275
|
* stored here (queried at runtime from credentials table).
|
|
4375
4276
|
*
|
|
4376
4277
|
* BREAKING CHANGES (2025-11-30):
|
|
4377
|
-
* - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status,
|
|
4278
|
+
* - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, links, category)
|
|
4378
4279
|
* - Field renames: `id` -> `resourceId` (inherited)
|
|
4379
4280
|
* - New required field: `status` (inherited) - organizations must add status to all integrations
|
|
4380
4281
|
* - New required field: `version` (inherited) - organizations must add version to all integrations
|
|
@@ -4415,7 +4316,7 @@ type ExternalPlatform = 'n8n' | 'make' | 'zapier' | 'other';
|
|
|
4415
4316
|
* no API integration with external platforms, no status syncing.
|
|
4416
4317
|
*
|
|
4417
4318
|
* BREAKING CHANGES (2025-11-30):
|
|
4418
|
-
* - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status,
|
|
4319
|
+
* - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, links, category)
|
|
4419
4320
|
* - Field renames: `id` -> `resourceId` (inherited)
|
|
4420
4321
|
* - New required field: `version` (inherited) - organizations must add version to all external resources
|
|
4421
4322
|
* - New required field: `type: 'external'` (inherited) - resource type discriminator
|
|
@@ -4464,7 +4365,7 @@ interface ExternalResourceDefinition extends ResourceDefinition {
|
|
|
4464
4365
|
* Tasks with matching command_queue_group are routed to this checkpoint.
|
|
4465
4366
|
*
|
|
4466
4367
|
* BREAKING CHANGES (2025-11-30):
|
|
4467
|
-
* - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status,
|
|
4368
|
+
* - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, links, category)
|
|
4468
4369
|
* - Field renames: `id` -> `resourceId` (inherited)
|
|
4469
4370
|
* - description is now REQUIRED (was optional) - organizations must add description to all human checkpoints
|
|
4470
4371
|
* - New required field: `version` (inherited) - organizations must add version to all human checkpoints
|
|
@@ -4502,31 +4403,103 @@ interface HumanCheckpointDefinition extends ResourceDefinition {
|
|
|
4502
4403
|
}
|
|
4503
4404
|
|
|
4504
4405
|
/**
|
|
4505
|
-
*
|
|
4506
|
-
*
|
|
4406
|
+
* Command View Types
|
|
4407
|
+
*
|
|
4408
|
+
* Unified type definitions for the Command View graph visualization.
|
|
4409
|
+
* These types are used by both backend serialization and frontend rendering.
|
|
4410
|
+
*
|
|
4411
|
+
* Command View shows the resource graph: agents, workflows, triggers, integrations,
|
|
4412
|
+
* external resources, and human checkpoints with their relationships.
|
|
4507
4413
|
*/
|
|
4508
4414
|
|
|
4509
|
-
declare const DOMAINS: {
|
|
4510
|
-
readonly INBOUND_PIPELINE: "inbound-pipeline";
|
|
4511
|
-
readonly LEAD_GEN_PIPELINE: "lead-gen-pipeline";
|
|
4512
|
-
readonly SUPPORT: "support";
|
|
4513
|
-
readonly CLIENT_SUPPORT: "client-support";
|
|
4514
|
-
readonly DELIVERY: "delivery";
|
|
4515
|
-
readonly OPERATIONS: "operations";
|
|
4516
|
-
readonly FINANCE: "finance";
|
|
4517
|
-
readonly EXECUTIVE: "executive";
|
|
4518
|
-
readonly INSTANTLY: "instantly";
|
|
4519
|
-
readonly TESTING: "testing";
|
|
4520
|
-
readonly INTERNAL: "internal";
|
|
4521
|
-
readonly INTEGRATION: "integration";
|
|
4522
|
-
readonly UTILITY: "utility";
|
|
4523
|
-
readonly DIAGNOSTIC: "diagnostic";
|
|
4524
|
-
};
|
|
4525
4415
|
/**
|
|
4526
|
-
*
|
|
4527
|
-
*
|
|
4416
|
+
* Extended agent metadata for Command View
|
|
4417
|
+
* Includes model and capability information for graph display
|
|
4528
4418
|
*/
|
|
4529
|
-
|
|
4419
|
+
interface CommandViewAgent extends ResourceDefinition {
|
|
4420
|
+
type: 'agent';
|
|
4421
|
+
modelProvider: string;
|
|
4422
|
+
modelId: string;
|
|
4423
|
+
toolCount: number;
|
|
4424
|
+
hasKnowledgeMap: boolean;
|
|
4425
|
+
hasMemory: boolean;
|
|
4426
|
+
sessionCapable: boolean;
|
|
4427
|
+
}
|
|
4428
|
+
/**
|
|
4429
|
+
* Extended workflow metadata for Command View
|
|
4430
|
+
* Includes step information for graph display
|
|
4431
|
+
*/
|
|
4432
|
+
interface CommandViewWorkflow extends ResourceDefinition {
|
|
4433
|
+
type: 'workflow';
|
|
4434
|
+
stepCount: number;
|
|
4435
|
+
entryPoint: string;
|
|
4436
|
+
}
|
|
4437
|
+
/**
|
|
4438
|
+
* Node type categories for Command View
|
|
4439
|
+
* Simplified categorization for UI rendering and layout
|
|
4440
|
+
*/
|
|
4441
|
+
type CommandViewNodeType = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human';
|
|
4442
|
+
/**
|
|
4443
|
+
* Union type for all node types in Command View
|
|
4444
|
+
* Frontend can use this for type-safe node handling
|
|
4445
|
+
*/
|
|
4446
|
+
type CommandViewNode = CommandViewAgent | CommandViewWorkflow | TriggerDefinition | IntegrationDefinition | ExternalResourceDefinition | HumanCheckpointDefinition;
|
|
4447
|
+
/**
|
|
4448
|
+
* Relationship types between resources
|
|
4449
|
+
*
|
|
4450
|
+
* - triggers: Resource initiates/starts another resource (orange)
|
|
4451
|
+
* - uses: Resource uses an integration (teal)
|
|
4452
|
+
* - approval: Resource requires human approval (yellow)
|
|
4453
|
+
*/
|
|
4454
|
+
type RelationshipType = 'triggers' | 'uses' | 'approval';
|
|
4455
|
+
/**
|
|
4456
|
+
* Command View edge (relationship between resources)
|
|
4457
|
+
*/
|
|
4458
|
+
interface CommandViewEdge {
|
|
4459
|
+
id: string;
|
|
4460
|
+
source: string;
|
|
4461
|
+
target: string;
|
|
4462
|
+
relationship: RelationshipType;
|
|
4463
|
+
label?: string;
|
|
4464
|
+
}
|
|
4465
|
+
/**
|
|
4466
|
+
* Command View data structure
|
|
4467
|
+
* Complete graph data for visualization
|
|
4468
|
+
*
|
|
4469
|
+
* Backend serializes this once at startup and serves it via /command-view endpoint.
|
|
4470
|
+
* Frontend consumes this directly for graph rendering.
|
|
4471
|
+
*/
|
|
4472
|
+
interface CommandViewData {
|
|
4473
|
+
workflows: CommandViewWorkflow[];
|
|
4474
|
+
agents: CommandViewAgent[];
|
|
4475
|
+
triggers: TriggerDefinition[];
|
|
4476
|
+
integrations: IntegrationDefinition[];
|
|
4477
|
+
externalResources: ExternalResourceDefinition[];
|
|
4478
|
+
humanCheckpoints: HumanCheckpointDefinition[];
|
|
4479
|
+
edges: CommandViewEdge[];
|
|
4480
|
+
}
|
|
4481
|
+
|
|
4482
|
+
declare const LinkSchema: z.ZodObject<{
|
|
4483
|
+
nodeId: z.ZodString;
|
|
4484
|
+
kind: z.ZodEnum<{
|
|
4485
|
+
contains: "contains";
|
|
4486
|
+
references: "references";
|
|
4487
|
+
exposes: "exposes";
|
|
4488
|
+
maps_to: "maps_to";
|
|
4489
|
+
"operates-on": "operates-on";
|
|
4490
|
+
uses: "uses";
|
|
4491
|
+
}>;
|
|
4492
|
+
}, z.core.$strip>;
|
|
4493
|
+
type Link = z.infer<typeof LinkSchema>;
|
|
4494
|
+
|
|
4495
|
+
declare const ResourceCategorySchema: z.ZodEnum<{
|
|
4496
|
+
production: "production";
|
|
4497
|
+
diagnostic: "diagnostic";
|
|
4498
|
+
internal: "internal";
|
|
4499
|
+
testing: "testing";
|
|
4500
|
+
}>;
|
|
4501
|
+
type ResourceCategory = z.infer<typeof ResourceCategorySchema>;
|
|
4502
|
+
type ResourceLink = Link;
|
|
4530
4503
|
|
|
4531
4504
|
type ExecutionStatus = 'pending' | 'running' | 'completed' | 'failed' | 'warning';
|
|
4532
4505
|
/**
|
|
@@ -4829,9 +4802,9 @@ declare const ExecutionHistoryItemSchema: z.ZodObject<{
|
|
|
4829
4802
|
createdAt: z.ZodString;
|
|
4830
4803
|
status: z.ZodEnum<{
|
|
4831
4804
|
completed: "completed";
|
|
4805
|
+
cancelled: "cancelled";
|
|
4832
4806
|
failed: "failed";
|
|
4833
4807
|
running: "running";
|
|
4834
|
-
cancelled: "cancelled";
|
|
4835
4808
|
}>;
|
|
4836
4809
|
step: z.ZodNullable<z.ZodNumber>;
|
|
4837
4810
|
itemLabel: z.ZodNullable<z.ZodString>;
|
|
@@ -4848,9 +4821,9 @@ declare const ExecutionHistoryResponseSchema: z.ZodObject<{
|
|
|
4848
4821
|
createdAt: z.ZodString;
|
|
4849
4822
|
status: z.ZodEnum<{
|
|
4850
4823
|
completed: "completed";
|
|
4824
|
+
cancelled: "cancelled";
|
|
4851
4825
|
failed: "failed";
|
|
4852
4826
|
running: "running";
|
|
4853
|
-
cancelled: "cancelled";
|
|
4854
4827
|
}>;
|
|
4855
4828
|
step: z.ZodNullable<z.ZodNumber>;
|
|
4856
4829
|
itemLabel: z.ZodNullable<z.ZodString>;
|
|
@@ -5022,4 +4995,4 @@ declare const WebhookEndpointResponseSchema: z.ZodObject<{
|
|
|
5022
4995
|
}, z.core.$strip>;
|
|
5023
4996
|
type WebhookEndpointResponse = z.infer<typeof WebhookEndpointResponseSchema>;
|
|
5024
4997
|
|
|
5025
|
-
export type { AIResourceDefinition, APIExecutionDetail, APIExecutionListResponse, APIExecutionSummary, AbsoluteScheduleConfig, AbsoluteScheduleItem, ActionConfig, Activity, ActivitySSEEvent, ActivityStatus, ActivityType, AgentIterationData, AgentMemory, ApiKeyListItem, BusinessImpactMetrics, ChatMessage, CheckpointListResponse, CommandQueueSSEEvent, CommandViewAgent, CommandViewData, CommandViewNode, CommandViewNodeType, CommandViewStatsResponse, CommandViewWorkflow, CostBreakdownMetrics, CostByModelResponse, CostSummaryResponse, CostTrendsResponse, CreateWebhookEndpointRequest, CredentialField, CredentialListItem, CredentialSchema, DashboardMetrics, DealListItem, DealStage, Deployment, DeploymentStatus,
|
|
4998
|
+
export type { AIResourceDefinition, APIExecutionDetail, APIExecutionListResponse, APIExecutionSummary, AbsoluteScheduleConfig, AbsoluteScheduleItem, ActionConfig, Activity, ActivitySSEEvent, ActivityStatus, ActivityType, AgentIterationData, AgentMemory, ApiKeyListItem, BusinessImpactMetrics, ChatMessage, CheckpointListResponse, CommandQueueSSEEvent, CommandViewAgent, CommandViewData, CommandViewNode, CommandViewNodeType, CommandViewStatsResponse, CommandViewWorkflow, CostBreakdownMetrics, CostByModelResponse, CostSummaryResponse, CostTrendsResponse, CreateWebhookEndpointRequest, CredentialField, CredentialListItem, CredentialSchema, DashboardMetrics, DealListItem, DealStage, Deployment, DeploymentStatus, ErrorAnalysisMetrics, ErrorDetailFull, ErrorDetailResponse, ErrorTrend, ExecutionHealthMetrics, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogMessage, ExecutionMetricsDetail, ExecutionRunnerCatalogItem, ExecutionSSEEvent, ExecutionStatus, ExecutionSummary, FailingResource, HumanCheckpointDefinition, HumanCheckpointStats, KanbanBoardConfig, ListMembershipsParams, MembershipFeatureConfig, MembershipStatus, MembershipWithDetails, MessageEvent, MessageType, ModelConfig, NotificationDTO, NotificationSSEEvent, OAuthProviderConfig, PatchTaskParams, QueueTaskStatus, RecentExecutionsByResourceResponse, RecurringScheduleConfig, RelativeScheduleConfig, RelativeScheduleItem, ResourceCategory, ResourceDefinition, ResourceErrorsResponse, ResourceExecutionSummary, ResourceExecutionsResponse, ResourceHealth, ResourceIdentifier, ResourceLink, ResourceStats, ResourceStatus, ResourceType, ResourcesHealthResponse, SerializedAgentDefinition, SerializedExecutionInterface, SerializedWorkflowDefinition, SessionDTO, SessionTokenUsage, StatsTimeRange, SupabaseUserProfile, Task, TaskSchedule, TaskScheduleConfig, TimeRange, WorkflowNodeVisualizerData as TimelineData, UpdateWebhookEndpointRequest, UserConfig, WebhookEndpoint, WebhookEndpointResponse };
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IconBrain } from '@tabler/icons-react';
|
|
2
|
+
import { z } from 'zod';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* Date formatting utilities for consistent date display across the application
|
|
@@ -130,8 +131,10 @@ interface ResourceDefinition {
|
|
|
130
131
|
type: ResourceType;
|
|
131
132
|
/** Environment/deployment status */
|
|
132
133
|
status: ResourceStatus;
|
|
133
|
-
/**
|
|
134
|
-
|
|
134
|
+
/** Graph links to Organization Model nodes */
|
|
135
|
+
links?: ResourceLink[];
|
|
136
|
+
/** Infrastructure category for filtering */
|
|
137
|
+
category?: ResourceCategory;
|
|
135
138
|
/** Whether the agent supports multi-turn sessions (agents only) */
|
|
136
139
|
sessionCapable?: boolean;
|
|
137
140
|
/** Whether the resource is local (monorepo) or remote (externally deployed) */
|
|
@@ -139,64 +142,28 @@ interface ResourceDefinition {
|
|
|
139
142
|
/** Whether this resource is archived and should be excluded from registration and deployment */
|
|
140
143
|
archived?: boolean;
|
|
141
144
|
}
|
|
142
|
-
/**
|
|
143
|
-
* Domain definition for Command View filtering
|
|
144
|
-
*
|
|
145
|
-
* Domains are organizational metadata for UI filtering/grouping.
|
|
146
|
-
* No execution impact - purely for visualization.
|
|
147
|
-
*
|
|
148
|
-
* @example
|
|
149
|
-
* {
|
|
150
|
-
* id: 'support',
|
|
151
|
-
* name: 'Customer Support',
|
|
152
|
-
* description: 'Ticket triage, knowledge base, escalations',
|
|
153
|
-
* color: 'green',
|
|
154
|
-
* icon: 'IconHeadset'
|
|
155
|
-
* }
|
|
156
|
-
*/
|
|
157
|
-
interface DomainDefinition {
|
|
158
|
-
/** Unique identifier (e.g., 'support') */
|
|
159
|
-
id: string;
|
|
160
|
-
/** Display name (e.g., 'Customer Support') */
|
|
161
|
-
name: string;
|
|
162
|
-
/** Purpose description */
|
|
163
|
-
description: string;
|
|
164
|
-
/** Optional Mantine color for UI (e.g., 'blue', 'green', 'orange') */
|
|
165
|
-
color?: string;
|
|
166
|
-
/** Optional Tabler icon name (e.g., 'IconHeadset') */
|
|
167
|
-
icon?: string;
|
|
168
|
-
}
|
|
169
145
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
146
|
+
declare const LinkSchema: z.ZodObject<{
|
|
147
|
+
nodeId: z.ZodString;
|
|
148
|
+
kind: z.ZodEnum<{
|
|
149
|
+
contains: "contains";
|
|
150
|
+
references: "references";
|
|
151
|
+
exposes: "exposes";
|
|
152
|
+
maps_to: "maps_to";
|
|
153
|
+
"operates-on": "operates-on";
|
|
154
|
+
uses: "uses";
|
|
155
|
+
}>;
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
type Link = z.infer<typeof LinkSchema>;
|
|
174
158
|
|
|
175
|
-
declare const
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
readonly EXECUTIVE: "executive";
|
|
184
|
-
readonly INSTANTLY: "instantly";
|
|
185
|
-
readonly TESTING: "testing";
|
|
186
|
-
readonly INTERNAL: "internal";
|
|
187
|
-
readonly INTEGRATION: "integration";
|
|
188
|
-
readonly UTILITY: "utility";
|
|
189
|
-
readonly DIAGNOSTIC: "diagnostic";
|
|
190
|
-
};
|
|
191
|
-
/**
|
|
192
|
-
* ResourceDomain - Strongly typed domain identifier
|
|
193
|
-
* Use this type for all domain references to ensure compile-time validation.
|
|
194
|
-
*/
|
|
195
|
-
type ResourceDomain = (typeof DOMAINS)[keyof typeof DOMAINS];
|
|
196
|
-
/**
|
|
197
|
-
* Domain lookup map for O(1) access during serialization
|
|
198
|
-
*/
|
|
199
|
-
declare const DOMAIN_MAP: Record<ResourceDomain, DomainDefinition>;
|
|
159
|
+
declare const ResourceCategorySchema: z.ZodEnum<{
|
|
160
|
+
production: "production";
|
|
161
|
+
diagnostic: "diagnostic";
|
|
162
|
+
internal: "internal";
|
|
163
|
+
testing: "testing";
|
|
164
|
+
}>;
|
|
165
|
+
type ResourceCategory = z.infer<typeof ResourceCategorySchema>;
|
|
166
|
+
type ResourceLink = Link;
|
|
200
167
|
|
|
201
168
|
/**
|
|
202
169
|
* Resource Type Metadata
|
|
@@ -375,5 +342,5 @@ declare function restoreConsole(): void;
|
|
|
375
342
|
|
|
376
343
|
declare function setupBrowserMocks(): void;
|
|
377
344
|
|
|
378
|
-
export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER,
|
|
345
|
+
export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, ResourceStatusColors, 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 };
|
|
379
346
|
export type { TablerIcon };
|
package/dist/utils/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER,
|
|
1
|
+
export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, 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-SGXXJE52.js';
|
|
2
2
|
export { ResourceStatusColors } from '../chunk-KRWALB24.js';
|
|
3
3
|
import '../chunk-I2KLQ2HA.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elevasis/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.21.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",
|
|
@@ -225,9 +225,9 @@
|
|
|
225
225
|
"@testing-library/jest-dom": "^6.9.1",
|
|
226
226
|
"msw": "^2.11.0",
|
|
227
227
|
"vitest": "^3.2.4",
|
|
228
|
-
"@repo/core": "0.
|
|
229
|
-
"@repo/
|
|
230
|
-
"@repo/
|
|
228
|
+
"@repo/core": "0.11.0",
|
|
229
|
+
"@repo/eslint-config": "0.0.0",
|
|
230
|
+
"@repo/typescript-config": "0.0.0"
|
|
231
231
|
},
|
|
232
232
|
"dependencies": {
|
|
233
233
|
"@dagrejs/dagre": "^1.1.4",
|