@elevasis/ui 2.31.0 → 2.32.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/{CoreAuthKitInner-KSEGSB67.js → CoreAuthKitInner-QC62UHTZ.js} +1 -1
- package/dist/api/index.js +3 -3
- package/dist/app/index.css +38 -0
- package/dist/app/index.d.ts +69 -9
- package/dist/app/index.js +7 -6
- package/dist/auth/context.js +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/charts/index.js +5 -6
- package/dist/{chunk-XQHZBA65.js → chunk-2RJMVWFJ.js} +1 -6
- package/dist/{chunk-CW3UNAF2.js → chunk-4DYOXEH6.js} +410 -5
- package/dist/{chunk-HQGF4ATG.js → chunk-4MFNGNHF.js} +118 -141
- package/dist/{chunk-ND42LPY4.js → chunk-4QK76KIF.js} +6 -6
- package/dist/chunk-5FJJ72HU.js +13 -0
- package/dist/chunk-5J4PDX26.js +112 -0
- package/dist/{chunk-QDEETKYT.js → chunk-6DWD423K.js} +9 -9
- package/dist/{chunk-SHQXMW4F.js → chunk-7KZINJLP.js} +46 -28
- package/dist/{chunk-L3BVJWML.js → chunk-EPTHX4VZ.js} +1 -1
- package/dist/{chunk-JKSUN5GN.js → chunk-GCOQ3TBG.js} +81 -746
- package/dist/{chunk-DZTG5IAC.js → chunk-I2KLQ2HA.js} +1 -7
- package/dist/{chunk-L2NVFLXU.js → chunk-IQHU7O5Y.js} +4 -4
- package/dist/{chunk-P55BJZZW.js → chunk-IZWTVFJ2.js} +16 -4
- package/dist/{chunk-QHEWXU7I.js → chunk-JFL3GRD4.js} +1 -1
- package/dist/{chunk-Q6OYNEGR.js → chunk-LLRXA7D7.js} +5 -6
- package/dist/{chunk-7KC4P3AU.js → chunk-MOY4VOHF.js} +2 -12
- package/dist/{chunk-XQQEKWTL.js → chunk-N55DVMAG.js} +6 -2
- package/dist/{chunk-TOIXUWR6.js → chunk-ND5TDV2J.js} +1 -1
- package/dist/{chunk-WF227UBV.js → chunk-QQHOKTJA.js} +4 -4
- package/dist/{chunk-T3IPHEYJ.js → chunk-QTI3KC7D.js} +4335 -554
- package/dist/chunk-QXCDKE2O.js +486 -0
- package/dist/{chunk-3BAPR3KA.js → chunk-RQA2EVN3.js} +5 -15
- package/dist/{chunk-HYNYEBHM.js → chunk-RQTWIXJ5.js} +3 -3
- package/dist/chunk-T35FWDAB.js +4342 -0
- package/dist/{chunk-DWK2QIAK.js → chunk-TYRUKGGD.js} +1 -1
- package/dist/{chunk-GRDLB6LM.js → chunk-UROTM5OR.js} +13 -1
- package/dist/{chunk-6YT4IKJ7.js → chunk-VNAZTCHA.js} +15 -0
- package/dist/{chunk-5LJAEZMA.js → chunk-VRNMNB3O.js} +5 -6
- package/dist/chunk-WQPX44YM.js +1626 -0
- package/dist/{chunk-7HMCB26R.js → chunk-XZGSCABI.js} +1 -1
- package/dist/chunk-YLQEVSOR.js +299 -0
- package/dist/{chunk-Y4FWCG7Y.js → chunk-ZQOKIGZP.js} +8 -7
- package/dist/components/chat/index.js +1 -1
- package/dist/components/index.css +38 -0
- package/dist/components/index.d.ts +152 -50
- package/dist/components/index.js +36 -39
- package/dist/components/navigation/index.css +38 -0
- package/dist/components/navigation/index.js +4 -3
- package/dist/execution/index.d.ts +7 -2
- package/dist/execution/index.js +1 -1
- package/dist/features/auth/index.css +38 -0
- package/dist/features/auth/index.d.ts +91 -14
- package/dist/features/auth/index.js +42 -10
- package/dist/features/clients/index.css +38 -0
- package/dist/features/clients/index.d.ts +1 -1
- package/dist/features/clients/index.js +16 -15
- package/dist/features/crm/index.css +38 -0
- package/dist/features/crm/index.d.ts +80 -18
- package/dist/features/crm/index.js +16 -15
- package/dist/features/dashboard/index.css +38 -0
- package/dist/features/dashboard/index.d.ts +65 -25
- package/dist/features/dashboard/index.js +16 -16
- package/dist/features/delivery/index.css +38 -0
- package/dist/features/delivery/index.d.ts +80 -18
- package/dist/features/delivery/index.js +15 -15
- package/dist/features/knowledge/index.css +38 -0
- package/dist/features/knowledge/index.d.ts +20 -18
- package/dist/features/knowledge/index.js +112 -597
- package/dist/features/lead-gen/index.css +38 -0
- package/dist/features/lead-gen/index.d.ts +45 -43
- package/dist/features/lead-gen/index.js +16 -16
- package/dist/features/monitoring/index.css +38 -0
- package/dist/features/monitoring/index.d.ts +20 -18
- package/dist/features/monitoring/index.js +17 -17
- package/dist/features/monitoring/requests/index.css +38 -0
- package/dist/features/monitoring/requests/index.d.ts +21 -19
- package/dist/features/monitoring/requests/index.js +15 -14
- package/dist/features/operations/index.css +38 -0
- package/dist/features/operations/index.d.ts +930 -66
- package/dist/features/operations/index.js +21 -24
- package/dist/features/seo/index.d.ts +20 -18
- package/dist/features/seo/index.js +2 -2
- package/dist/features/settings/index.css +38 -0
- package/dist/features/settings/index.d.ts +80 -18
- package/dist/features/settings/index.js +16 -15
- package/dist/graph/index.js +1 -1
- package/dist/hooks/delivery/index.css +38 -0
- package/dist/hooks/delivery/index.d.ts +60 -0
- package/dist/hooks/delivery/index.js +3 -3
- package/dist/hooks/index.css +38 -0
- package/dist/hooks/index.d.ts +301 -87
- package/dist/hooks/index.js +14 -13
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +143 -33
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
- package/dist/hooks/published.css +38 -0
- package/dist/hooks/published.d.ts +301 -87
- package/dist/hooks/published.js +14 -13
- package/dist/index.css +38 -0
- package/dist/index.d.ts +976 -1341
- package/dist/index.js +15 -14
- package/dist/initialization/index.d.ts +60 -0
- package/dist/initialization/index.js +1 -1
- package/dist/knowledge/index.d.ts +809 -1160
- package/dist/knowledge/index.js +5988 -2140
- package/dist/{chunk-O2QOPJI5.js → knowledge-search-index-5KYPO746.js} +96 -852
- package/dist/layout/index.js +3 -4
- package/dist/organization/index.css +38 -0
- package/dist/organization/index.js +1 -1
- package/dist/profile/index.d.ts +60 -0
- package/dist/profile/index.js +1 -1
- package/dist/provider/ElevasisServiceContext.js +1 -1
- package/dist/provider/index.css +38 -0
- package/dist/provider/index.d.ts +786 -1249
- package/dist/provider/index.js +11 -10
- package/dist/provider/published.css +38 -0
- package/dist/provider/published.d.ts +783 -1246
- package/dist/provider/published.js +8 -7
- package/dist/router/context.js +1 -1
- package/dist/router/index.js +1 -1
- package/dist/sse/index.js +1 -1
- package/dist/supabase/index.d.ts +117 -0
- package/dist/supabase/index.js +1 -1
- package/dist/test-utils/index.d.ts +16 -9
- package/dist/test-utils/index.js +40 -33
- package/dist/test-utils/setup-integration.js +1 -1
- package/dist/test-utils/setup.js +1 -1
- package/dist/theme/index.js +3 -3
- package/dist/theme/presets/index.js +1 -1
- package/dist/typeform/index.js +1 -1
- package/dist/typeform/schemas.js +1 -1
- package/dist/types/index.d.ts +205 -35
- package/dist/utils/index.d.ts +65 -25
- package/dist/utils/index.js +2 -2
- package/dist/vite/index.js +1 -1
- package/dist/vite-plugin-knowledge/index.js +1 -1
- package/dist/zustand/index.js +1 -1
- package/package.json +39 -38
- package/src/provider/README.md +5 -5
- package/dist/chunk-542WPQU2.js +0 -413
- package/dist/chunk-6IXOKUBC.js +0 -347
- package/dist/chunk-CQZ3DNQY.js +0 -740
- package/dist/chunk-ECNNI3NT.js +0 -6
- package/dist/chunk-JDNEWB5F.js +0 -10
- package/dist/chunk-MVFCLZSK.js +0 -4337
- package/dist/chunk-OAVTMITG.js +0 -13
- package/dist/chunk-TVRQ6AQI.js +0 -476
package/dist/types/index.d.ts
CHANGED
|
@@ -412,50 +412,120 @@ interface ModelConfig {
|
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
declare const ResourceGovernanceStatusSchema: z.ZodEnum<{
|
|
415
|
-
active: "active";
|
|
416
415
|
deprecated: "deprecated";
|
|
416
|
+
active: "active";
|
|
417
417
|
archived: "archived";
|
|
418
418
|
}>;
|
|
419
419
|
declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
420
420
|
id: z.ZodString;
|
|
421
|
-
|
|
421
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
422
|
+
systemPath: z.ZodString;
|
|
422
423
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
423
424
|
status: z.ZodEnum<{
|
|
424
|
-
active: "active";
|
|
425
425
|
deprecated: "deprecated";
|
|
426
|
+
active: "active";
|
|
426
427
|
archived: "archived";
|
|
427
428
|
}>;
|
|
428
429
|
kind: z.ZodLiteral<"workflow">;
|
|
429
|
-
|
|
430
|
+
actionKey: z.ZodOptional<z.ZodString>;
|
|
431
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
432
|
+
eventKey: z.ZodString;
|
|
433
|
+
label: z.ZodString;
|
|
434
|
+
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
435
|
+
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
436
|
+
deprecated: "deprecated";
|
|
437
|
+
draft: "draft";
|
|
438
|
+
beta: "beta";
|
|
439
|
+
active: "active";
|
|
440
|
+
archived: "archived";
|
|
441
|
+
}>>;
|
|
442
|
+
}, z.core.$strip>>>;
|
|
430
443
|
}, z.core.$strip>, z.ZodObject<{
|
|
431
444
|
id: z.ZodString;
|
|
432
|
-
|
|
445
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
446
|
+
systemPath: z.ZodString;
|
|
433
447
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
434
448
|
status: z.ZodEnum<{
|
|
435
|
-
active: "active";
|
|
436
449
|
deprecated: "deprecated";
|
|
450
|
+
active: "active";
|
|
437
451
|
archived: "archived";
|
|
438
452
|
}>;
|
|
439
453
|
kind: z.ZodLiteral<"agent">;
|
|
440
454
|
agentKind: z.ZodEnum<{
|
|
455
|
+
platform: "platform";
|
|
441
456
|
orchestrator: "orchestrator";
|
|
442
457
|
specialist: "specialist";
|
|
443
458
|
utility: "utility";
|
|
444
|
-
system: "system";
|
|
445
459
|
}>;
|
|
446
460
|
actsAsRoleId: z.ZodOptional<z.ZodString>;
|
|
447
461
|
sessionCapable: z.ZodBoolean;
|
|
462
|
+
invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
463
|
+
kind: z.ZodLiteral<"slash-command">;
|
|
464
|
+
command: z.ZodString;
|
|
465
|
+
toolFactory: z.ZodOptional<z.ZodString>;
|
|
466
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
467
|
+
kind: z.ZodLiteral<"mcp-tool">;
|
|
468
|
+
server: z.ZodString;
|
|
469
|
+
name: z.ZodString;
|
|
470
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
471
|
+
kind: z.ZodLiteral<"api-endpoint">;
|
|
472
|
+
method: z.ZodEnum<{
|
|
473
|
+
GET: "GET";
|
|
474
|
+
POST: "POST";
|
|
475
|
+
PATCH: "PATCH";
|
|
476
|
+
DELETE: "DELETE";
|
|
477
|
+
}>;
|
|
478
|
+
path: z.ZodString;
|
|
479
|
+
requestSchema: z.ZodOptional<z.ZodString>;
|
|
480
|
+
responseSchema: z.ZodOptional<z.ZodString>;
|
|
481
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
482
|
+
kind: z.ZodLiteral<"script-execution">;
|
|
483
|
+
resourceId: z.ZodString;
|
|
484
|
+
}, z.core.$strip>], "kind">>>;
|
|
485
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
486
|
+
eventKey: z.ZodString;
|
|
487
|
+
label: z.ZodString;
|
|
488
|
+
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
489
|
+
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
490
|
+
deprecated: "deprecated";
|
|
491
|
+
draft: "draft";
|
|
492
|
+
beta: "beta";
|
|
493
|
+
active: "active";
|
|
494
|
+
archived: "archived";
|
|
495
|
+
}>>;
|
|
496
|
+
}, z.core.$strip>>>;
|
|
448
497
|
}, z.core.$strip>, z.ZodObject<{
|
|
449
498
|
id: z.ZodString;
|
|
450
|
-
|
|
499
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
500
|
+
systemPath: z.ZodString;
|
|
451
501
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
452
502
|
status: z.ZodEnum<{
|
|
453
|
-
active: "active";
|
|
454
503
|
deprecated: "deprecated";
|
|
504
|
+
active: "active";
|
|
455
505
|
archived: "archived";
|
|
456
506
|
}>;
|
|
457
507
|
kind: z.ZodLiteral<"integration">;
|
|
458
508
|
provider: z.ZodString;
|
|
509
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
510
|
+
id: z.ZodString;
|
|
511
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
512
|
+
systemPath: z.ZodString;
|
|
513
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
514
|
+
status: z.ZodEnum<{
|
|
515
|
+
deprecated: "deprecated";
|
|
516
|
+
active: "active";
|
|
517
|
+
archived: "archived";
|
|
518
|
+
}>;
|
|
519
|
+
kind: z.ZodLiteral<"script">;
|
|
520
|
+
language: z.ZodEnum<{
|
|
521
|
+
shell: "shell";
|
|
522
|
+
sql: "sql";
|
|
523
|
+
typescript: "typescript";
|
|
524
|
+
python: "python";
|
|
525
|
+
}>;
|
|
526
|
+
source: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
527
|
+
file: z.ZodString;
|
|
528
|
+
}, z.core.$strip>]>;
|
|
459
529
|
}, z.core.$strip>], "kind">;
|
|
460
530
|
type ResourceGovernanceStatus = z.infer<typeof ResourceGovernanceStatusSchema>;
|
|
461
531
|
type ResourceEntry = z.infer<typeof ResourceEntrySchema>;
|
|
@@ -3342,6 +3412,66 @@ type Database = {
|
|
|
3342
3412
|
}
|
|
3343
3413
|
];
|
|
3344
3414
|
};
|
|
3415
|
+
user_notes: {
|
|
3416
|
+
Row: {
|
|
3417
|
+
content: string;
|
|
3418
|
+
created_at: string;
|
|
3419
|
+
created_by: string;
|
|
3420
|
+
id: string;
|
|
3421
|
+
metadata: Json;
|
|
3422
|
+
organization_id: string | null;
|
|
3423
|
+
pinned: boolean;
|
|
3424
|
+
priority: string;
|
|
3425
|
+
source: string | null;
|
|
3426
|
+
title: string | null;
|
|
3427
|
+
updated_at: string;
|
|
3428
|
+
user_id: string;
|
|
3429
|
+
};
|
|
3430
|
+
Insert: {
|
|
3431
|
+
content: string;
|
|
3432
|
+
created_at?: string;
|
|
3433
|
+
created_by?: string;
|
|
3434
|
+
id?: string;
|
|
3435
|
+
metadata?: Json;
|
|
3436
|
+
organization_id?: string | null;
|
|
3437
|
+
pinned?: boolean;
|
|
3438
|
+
priority?: string;
|
|
3439
|
+
source?: string | null;
|
|
3440
|
+
title?: string | null;
|
|
3441
|
+
updated_at?: string;
|
|
3442
|
+
user_id: string;
|
|
3443
|
+
};
|
|
3444
|
+
Update: {
|
|
3445
|
+
content?: string;
|
|
3446
|
+
created_at?: string;
|
|
3447
|
+
created_by?: string;
|
|
3448
|
+
id?: string;
|
|
3449
|
+
metadata?: Json;
|
|
3450
|
+
organization_id?: string | null;
|
|
3451
|
+
pinned?: boolean;
|
|
3452
|
+
priority?: string;
|
|
3453
|
+
source?: string | null;
|
|
3454
|
+
title?: string | null;
|
|
3455
|
+
updated_at?: string;
|
|
3456
|
+
user_id?: string;
|
|
3457
|
+
};
|
|
3458
|
+
Relationships: [
|
|
3459
|
+
{
|
|
3460
|
+
foreignKeyName: "user_notes_organization_id_fkey";
|
|
3461
|
+
columns: ["organization_id"];
|
|
3462
|
+
isOneToOne: false;
|
|
3463
|
+
referencedRelation: "organizations";
|
|
3464
|
+
referencedColumns: ["id"];
|
|
3465
|
+
},
|
|
3466
|
+
{
|
|
3467
|
+
foreignKeyName: "user_notes_user_id_fkey";
|
|
3468
|
+
columns: ["user_id"];
|
|
3469
|
+
isOneToOne: false;
|
|
3470
|
+
referencedRelation: "users";
|
|
3471
|
+
referencedColumns: ["id"];
|
|
3472
|
+
}
|
|
3473
|
+
];
|
|
3474
|
+
};
|
|
3345
3475
|
users: {
|
|
3346
3476
|
Row: {
|
|
3347
3477
|
config: Json;
|
|
@@ -4555,26 +4685,61 @@ type AIResourceDefinition = SerializedWorkflowDefinition | SerializedAgentDefini
|
|
|
4555
4685
|
*/
|
|
4556
4686
|
type IntegrationType = 'gmail' | 'google-sheets' | 'slack' | 'github' | 'linear' | 'attio' | 'airtable' | 'salesforce' | 'hubspot' | 'stripe' | 'twilio' | 'sendgrid' | 'mailgun' | 'zapier' | 'webhook' | 'apify' | 'instantly' | 'resend' | 'signature-api' | 'dropbox' | 'anymailfinder' | 'tomba' | 'millionverifier';
|
|
4557
4687
|
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
deprecated: "deprecated";
|
|
4574
|
-
archived: "archived";
|
|
4575
|
-
}>;
|
|
4688
|
+
/**
|
|
4689
|
+
* Placeholder discriminated union for ContentNode (Wave 1A).
|
|
4690
|
+
* Wave 2A wires concrete (kind, type) pairs via the registry.
|
|
4691
|
+
*
|
|
4692
|
+
* Per D2: unregistered (kind, type) pairs are allowed and pass through validation.
|
|
4693
|
+
* Per L14: every node carries BOTH `kind` and `type`.
|
|
4694
|
+
*/
|
|
4695
|
+
declare const ContentNodeSchema: z.ZodObject<{
|
|
4696
|
+
label: z.ZodString;
|
|
4697
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4698
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
4699
|
+
parentContentId: z.ZodOptional<z.ZodString>;
|
|
4700
|
+
kind: z.ZodString;
|
|
4701
|
+
type: z.ZodString;
|
|
4702
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4576
4703
|
}, z.core.$strip>;
|
|
4577
|
-
type
|
|
4704
|
+
type ContentNode = z.infer<typeof ContentNodeSchema>;
|
|
4705
|
+
|
|
4706
|
+
/** Explicit interface needed to annotate the recursive SystemEntrySchema. */
|
|
4707
|
+
interface SystemEntry {
|
|
4708
|
+
id: string;
|
|
4709
|
+
label?: string;
|
|
4710
|
+
title?: string;
|
|
4711
|
+
description?: string;
|
|
4712
|
+
kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
|
|
4713
|
+
parentSystemId?: string;
|
|
4714
|
+
ui?: {
|
|
4715
|
+
path: string;
|
|
4716
|
+
surfaces: string[];
|
|
4717
|
+
icon?: string;
|
|
4718
|
+
order?: number;
|
|
4719
|
+
};
|
|
4720
|
+
lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
|
|
4721
|
+
responsibleRoleId?: string;
|
|
4722
|
+
governedByKnowledge?: string[];
|
|
4723
|
+
actions?: {
|
|
4724
|
+
actionId: string;
|
|
4725
|
+
intent: 'exposes' | 'consumes';
|
|
4726
|
+
invocation?: unknown;
|
|
4727
|
+
}[];
|
|
4728
|
+
policies?: string[];
|
|
4729
|
+
drivesGoals?: string[];
|
|
4730
|
+
/** @deprecated Use lifecycle. Accepted for one publish cycle. */
|
|
4731
|
+
status?: 'active' | 'deprecated' | 'archived';
|
|
4732
|
+
path?: string;
|
|
4733
|
+
icon?: string;
|
|
4734
|
+
color?: string;
|
|
4735
|
+
uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
|
|
4736
|
+
enabled?: boolean;
|
|
4737
|
+
devOnly?: boolean;
|
|
4738
|
+
requiresAdmin?: boolean;
|
|
4739
|
+
order: number;
|
|
4740
|
+
content?: Record<string, ContentNode>;
|
|
4741
|
+
subsystems?: Record<string, SystemEntry>;
|
|
4742
|
+
}
|
|
4578
4743
|
|
|
4579
4744
|
/**
|
|
4580
4745
|
* Resource Registry type definitions
|
|
@@ -4589,7 +4754,7 @@ type ResourceStatus = 'dev' | 'prod';
|
|
|
4589
4754
|
* Used as the discriminator field in ResourceDefinition
|
|
4590
4755
|
*/
|
|
4591
4756
|
type ResourceType = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human';
|
|
4592
|
-
type ResourceSystemSummary = Pick<SystemEntry, 'id' | 'title' | 'description' | 'kind' | '
|
|
4757
|
+
type ResourceSystemSummary = Pick<SystemEntry, 'id' | 'title' | 'description' | 'kind' | 'lifecycle'>;
|
|
4593
4758
|
/**
|
|
4594
4759
|
* Base interface for ALL platform resources
|
|
4595
4760
|
* Shared by both executable (agents, workflows) and non-executable (triggers, integrations, etc.) resources
|
|
@@ -4615,8 +4780,8 @@ interface ResourceDefinition {
|
|
|
4615
4780
|
sessionCapable?: boolean;
|
|
4616
4781
|
/** Whether the resource is local (monorepo) or remote (externally deployed) */
|
|
4617
4782
|
origin?: 'local' | 'remote';
|
|
4618
|
-
/** OM System membership, when backed by a Resource descriptor */
|
|
4619
|
-
|
|
4783
|
+
/** OM System membership — dot-separated system path (e.g. "sys.lead-gen"), when backed by a Resource descriptor */
|
|
4784
|
+
systemPath?: string;
|
|
4620
4785
|
/** Display metadata for the owning OM System */
|
|
4621
4786
|
system?: ResourceSystemSummary;
|
|
4622
4787
|
/** Governance lifecycle status from the OM Resource descriptor */
|
|
@@ -4916,13 +5081,18 @@ interface CommandViewData {
|
|
|
4916
5081
|
declare const LinkSchema: z.ZodObject<{
|
|
4917
5082
|
nodeId: z.ZodString;
|
|
4918
5083
|
kind: z.ZodEnum<{
|
|
5084
|
+
links: "links";
|
|
5085
|
+
affects: "affects";
|
|
5086
|
+
emits: "emits";
|
|
4919
5087
|
contains: "contains";
|
|
4920
5088
|
references: "references";
|
|
4921
|
-
exposes: "exposes";
|
|
4922
5089
|
maps_to: "maps_to";
|
|
4923
|
-
"operates-on": "operates-on";
|
|
4924
5090
|
uses: "uses";
|
|
4925
5091
|
governs: "governs";
|
|
5092
|
+
originates_from: "originates_from";
|
|
5093
|
+
triggers: "triggers";
|
|
5094
|
+
applies_to: "applies_to";
|
|
5095
|
+
effects: "effects";
|
|
4926
5096
|
}>;
|
|
4927
5097
|
}, z.core.$strip>;
|
|
4928
5098
|
type Link = z.infer<typeof LinkSchema>;
|
|
@@ -5228,9 +5398,9 @@ declare const ExecutionHistoryItemSchema: z.ZodObject<{
|
|
|
5228
5398
|
createdAt: z.ZodString;
|
|
5229
5399
|
status: z.ZodEnum<{
|
|
5230
5400
|
completed: "completed";
|
|
5231
|
-
cancelled: "cancelled";
|
|
5232
5401
|
failed: "failed";
|
|
5233
5402
|
running: "running";
|
|
5403
|
+
cancelled: "cancelled";
|
|
5234
5404
|
}>;
|
|
5235
5405
|
step: z.ZodNullable<z.ZodNumber>;
|
|
5236
5406
|
itemLabel: z.ZodNullable<z.ZodString>;
|
|
@@ -5247,9 +5417,9 @@ declare const ExecutionHistoryResponseSchema: z.ZodObject<{
|
|
|
5247
5417
|
createdAt: z.ZodString;
|
|
5248
5418
|
status: z.ZodEnum<{
|
|
5249
5419
|
completed: "completed";
|
|
5250
|
-
cancelled: "cancelled";
|
|
5251
5420
|
failed: "failed";
|
|
5252
5421
|
running: "running";
|
|
5422
|
+
cancelled: "cancelled";
|
|
5253
5423
|
}>;
|
|
5254
5424
|
step: z.ZodNullable<z.ZodNumber>;
|
|
5255
5425
|
itemLabel: z.ZodNullable<z.ZodString>;
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -80,8 +80,8 @@ declare function debounce<T extends (...args: Parameters<T>) => void>(fn: T, wai
|
|
|
80
80
|
};
|
|
81
81
|
|
|
82
82
|
declare const ResourceGovernanceStatusSchema: z.ZodEnum<{
|
|
83
|
-
active: "active";
|
|
84
83
|
deprecated: "deprecated";
|
|
84
|
+
active: "active";
|
|
85
85
|
archived: "archived";
|
|
86
86
|
}>;
|
|
87
87
|
type ResourceGovernanceStatus = z.infer<typeof ResourceGovernanceStatusSchema>;
|
|
@@ -108,26 +108,61 @@ declare const ResourceStatusColors: {
|
|
|
108
108
|
readonly prod: "var(--color-success)";
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
deprecated: "deprecated";
|
|
127
|
-
archived: "archived";
|
|
128
|
-
}>;
|
|
111
|
+
/**
|
|
112
|
+
* Placeholder discriminated union for ContentNode (Wave 1A).
|
|
113
|
+
* Wave 2A wires concrete (kind, type) pairs via the registry.
|
|
114
|
+
*
|
|
115
|
+
* Per D2: unregistered (kind, type) pairs are allowed and pass through validation.
|
|
116
|
+
* Per L14: every node carries BOTH `kind` and `type`.
|
|
117
|
+
*/
|
|
118
|
+
declare const ContentNodeSchema: z.ZodObject<{
|
|
119
|
+
label: z.ZodString;
|
|
120
|
+
description: z.ZodOptional<z.ZodString>;
|
|
121
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
122
|
+
parentContentId: z.ZodOptional<z.ZodString>;
|
|
123
|
+
kind: z.ZodString;
|
|
124
|
+
type: z.ZodString;
|
|
125
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
129
126
|
}, z.core.$strip>;
|
|
130
|
-
type
|
|
127
|
+
type ContentNode = z.infer<typeof ContentNodeSchema>;
|
|
128
|
+
|
|
129
|
+
/** Explicit interface needed to annotate the recursive SystemEntrySchema. */
|
|
130
|
+
interface SystemEntry {
|
|
131
|
+
id: string;
|
|
132
|
+
label?: string;
|
|
133
|
+
title?: string;
|
|
134
|
+
description?: string;
|
|
135
|
+
kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
|
|
136
|
+
parentSystemId?: string;
|
|
137
|
+
ui?: {
|
|
138
|
+
path: string;
|
|
139
|
+
surfaces: string[];
|
|
140
|
+
icon?: string;
|
|
141
|
+
order?: number;
|
|
142
|
+
};
|
|
143
|
+
lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
|
|
144
|
+
responsibleRoleId?: string;
|
|
145
|
+
governedByKnowledge?: string[];
|
|
146
|
+
actions?: {
|
|
147
|
+
actionId: string;
|
|
148
|
+
intent: 'exposes' | 'consumes';
|
|
149
|
+
invocation?: unknown;
|
|
150
|
+
}[];
|
|
151
|
+
policies?: string[];
|
|
152
|
+
drivesGoals?: string[];
|
|
153
|
+
/** @deprecated Use lifecycle. Accepted for one publish cycle. */
|
|
154
|
+
status?: 'active' | 'deprecated' | 'archived';
|
|
155
|
+
path?: string;
|
|
156
|
+
icon?: string;
|
|
157
|
+
color?: string;
|
|
158
|
+
uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
|
|
159
|
+
enabled?: boolean;
|
|
160
|
+
devOnly?: boolean;
|
|
161
|
+
requiresAdmin?: boolean;
|
|
162
|
+
order: number;
|
|
163
|
+
content?: Record<string, ContentNode>;
|
|
164
|
+
subsystems?: Record<string, SystemEntry>;
|
|
165
|
+
}
|
|
131
166
|
|
|
132
167
|
/**
|
|
133
168
|
* Resource Registry type definitions
|
|
@@ -142,7 +177,7 @@ type ResourceStatus = 'dev' | 'prod';
|
|
|
142
177
|
* Used as the discriminator field in ResourceDefinition
|
|
143
178
|
*/
|
|
144
179
|
type ResourceType = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human';
|
|
145
|
-
type ResourceSystemSummary = Pick<SystemEntry, 'id' | 'title' | 'description' | 'kind' | '
|
|
180
|
+
type ResourceSystemSummary = Pick<SystemEntry, 'id' | 'title' | 'description' | 'kind' | 'lifecycle'>;
|
|
146
181
|
/**
|
|
147
182
|
* Base interface for ALL platform resources
|
|
148
183
|
* Shared by both executable (agents, workflows) and non-executable (triggers, integrations, etc.) resources
|
|
@@ -168,8 +203,8 @@ interface ResourceDefinition {
|
|
|
168
203
|
sessionCapable?: boolean;
|
|
169
204
|
/** Whether the resource is local (monorepo) or remote (externally deployed) */
|
|
170
205
|
origin?: 'local' | 'remote';
|
|
171
|
-
/** OM System membership, when backed by a Resource descriptor */
|
|
172
|
-
|
|
206
|
+
/** OM System membership — dot-separated system path (e.g. "sys.lead-gen"), when backed by a Resource descriptor */
|
|
207
|
+
systemPath?: string;
|
|
173
208
|
/** Display metadata for the owning OM System */
|
|
174
209
|
system?: ResourceSystemSummary;
|
|
175
210
|
/** Governance lifecycle status from the OM Resource descriptor */
|
|
@@ -181,13 +216,18 @@ interface ResourceDefinition {
|
|
|
181
216
|
declare const LinkSchema: z.ZodObject<{
|
|
182
217
|
nodeId: z.ZodString;
|
|
183
218
|
kind: z.ZodEnum<{
|
|
219
|
+
links: "links";
|
|
220
|
+
affects: "affects";
|
|
221
|
+
emits: "emits";
|
|
184
222
|
contains: "contains";
|
|
185
223
|
references: "references";
|
|
186
|
-
exposes: "exposes";
|
|
187
224
|
maps_to: "maps_to";
|
|
188
|
-
"operates-on": "operates-on";
|
|
189
225
|
uses: "uses";
|
|
190
226
|
governs: "governs";
|
|
227
|
+
originates_from: "originates_from";
|
|
228
|
+
triggers: "triggers";
|
|
229
|
+
applies_to: "applies_to";
|
|
230
|
+
effects: "effects";
|
|
191
231
|
}>;
|
|
192
232
|
}, z.core.$strip>;
|
|
193
233
|
type Link = z.infer<typeof LinkSchema>;
|
package/dist/utils/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from '../chunk-
|
|
1
|
+
export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from '../chunk-2RJMVWFJ.js';
|
|
2
2
|
export { ResourceStatusColors } from '../chunk-KRWALB24.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-I2KLQ2HA.js';
|
package/dist/vite/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { knowledgePlugin } from '../chunk-UFTM5SZZ.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-I2KLQ2HA.js';
|
package/dist/zustand/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elevasis/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.32.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",
|
|
@@ -11,6 +11,44 @@
|
|
|
11
11
|
"dist",
|
|
12
12
|
"src/**/README.md"
|
|
13
13
|
],
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"@mantine/charts": "8.2.7",
|
|
16
|
+
"@mantine/notifications": "8.2.7",
|
|
17
|
+
"@mantine/tiptap": "8.2.7",
|
|
18
|
+
"@mdx-js/mdx": "^3.1.1",
|
|
19
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
20
|
+
"@testing-library/react": "^16.3.0",
|
|
21
|
+
"@tiptap/extension-link": "^2.11.7",
|
|
22
|
+
"@tiptap/extension-placeholder": "^2.11.7",
|
|
23
|
+
"@tiptap/react": "^2.11.7",
|
|
24
|
+
"@tiptap/starter-kit": "^2.11.7",
|
|
25
|
+
"@types/react": "^19.2.2",
|
|
26
|
+
"@types/react-dom": "^19.1.9",
|
|
27
|
+
"cytoscape": "^3.33.1",
|
|
28
|
+
"cytoscape-fcose": "^2.2.0",
|
|
29
|
+
"globals": "^16.3.0",
|
|
30
|
+
"msw": "^2.11.0",
|
|
31
|
+
"recharts": "^3.2.1",
|
|
32
|
+
"remark-gfm": "^4.0.1",
|
|
33
|
+
"rollup": "^4.59.0",
|
|
34
|
+
"rollup-plugin-dts": "^6.3.0",
|
|
35
|
+
"tsup": "^8.0.0",
|
|
36
|
+
"typescript": "5.9.2",
|
|
37
|
+
"vite": "^7.0.0",
|
|
38
|
+
"vitest": "^3.2.4",
|
|
39
|
+
"@elevasis/sdk": "1.20.2",
|
|
40
|
+
"@repo/elevasis-core": "1.0.0",
|
|
41
|
+
"@repo/eslint-config": "0.0.0",
|
|
42
|
+
"@repo/core": "0.23.0",
|
|
43
|
+
"@repo/typescript-config": "0.0.0"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@dagrejs/dagre": "^1.1.4",
|
|
47
|
+
"@microsoft/fetch-event-source": "^2.0.1",
|
|
48
|
+
"mantine-form-zod-resolver": "^1.3.0",
|
|
49
|
+
"prism-react-renderer": "^2.4.1",
|
|
50
|
+
"react-json-pretty": "^2.2.0"
|
|
51
|
+
},
|
|
14
52
|
"exports": {
|
|
15
53
|
"./provider": {
|
|
16
54
|
"types": "./dist/provider/published.d.ts",
|
|
@@ -228,43 +266,6 @@
|
|
|
228
266
|
"@testing-library/jest-dom": "^6.9.1",
|
|
229
267
|
"msw": "^2.11.0"
|
|
230
268
|
},
|
|
231
|
-
"devDependencies": {
|
|
232
|
-
"@mantine/charts": "8.2.7",
|
|
233
|
-
"@mantine/notifications": "8.2.7",
|
|
234
|
-
"@mantine/tiptap": "8.2.7",
|
|
235
|
-
"@tiptap/extension-link": "^2.11.7",
|
|
236
|
-
"@tiptap/extension-placeholder": "^2.11.7",
|
|
237
|
-
"@tiptap/react": "^2.11.7",
|
|
238
|
-
"@tiptap/starter-kit": "^2.11.7",
|
|
239
|
-
"@mdx-js/mdx": "^3.1.1",
|
|
240
|
-
"@types/react": "^19.2.2",
|
|
241
|
-
"@types/react-dom": "^19.1.9",
|
|
242
|
-
"cytoscape": "^3.33.1",
|
|
243
|
-
"cytoscape-fcose": "^2.2.0",
|
|
244
|
-
"globals": "^16.3.0",
|
|
245
|
-
"recharts": "^3.2.1",
|
|
246
|
-
"remark-gfm": "^4.0.1",
|
|
247
|
-
"rollup": "^4.59.0",
|
|
248
|
-
"rollup-plugin-dts": "^6.3.0",
|
|
249
|
-
"tsup": "^8.0.0",
|
|
250
|
-
"typescript": "5.9.2",
|
|
251
|
-
"vite": "^7.0.0",
|
|
252
|
-
"@testing-library/react": "^16.3.0",
|
|
253
|
-
"@testing-library/jest-dom": "^6.9.1",
|
|
254
|
-
"msw": "^2.11.0",
|
|
255
|
-
"vitest": "^3.2.4",
|
|
256
|
-
"@elevasis/sdk": "1.19.0",
|
|
257
|
-
"@repo/eslint-config": "0.0.0",
|
|
258
|
-
"@repo/typescript-config": "0.0.0",
|
|
259
|
-
"@repo/core": "0.22.0",
|
|
260
|
-
"@repo/elevasis-core": "1.0.0"
|
|
261
|
-
},
|
|
262
|
-
"dependencies": {
|
|
263
|
-
"@dagrejs/dagre": "^1.1.4",
|
|
264
|
-
"@microsoft/fetch-event-source": "^2.0.1",
|
|
265
|
-
"mantine-form-zod-resolver": "^1.3.0",
|
|
266
|
-
"react-json-pretty": "^2.2.0"
|
|
267
|
-
},
|
|
268
269
|
"peerDependenciesMeta": {
|
|
269
270
|
"@mantine/core": {
|
|
270
271
|
"optional": true
|
package/src/provider/README.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# Provider
|
|
2
2
|
|
|
3
|
-
The provider surface composes the shared Elevasis service,
|
|
3
|
+
The provider surface composes the shared Elevasis service, system, appearance, notification, and UI providers.
|
|
4
4
|
|
|
5
5
|
## Exports
|
|
6
6
|
|
|
7
7
|
The following are exported from `published.ts`, which is the external consumer surface for `@elevasis/ui/provider`:
|
|
8
8
|
|
|
9
9
|
- `ElevasisCoreProvider`
|
|
10
|
-
- `
|
|
11
|
-
- `
|
|
12
|
-
- `
|
|
13
|
-
- `
|
|
10
|
+
- `ElevasisSystemsProvider`
|
|
11
|
+
- `useElevasisSystems`
|
|
12
|
+
- `useOptionalElevasisSystems`
|
|
13
|
+
- `SystemShell`
|
|
14
14
|
- `AppearanceProvider`
|
|
15
15
|
- `useAppearance`
|
|
16
16
|
- `ElevasisServiceProvider`
|