@xpert-ai/contracts 3.26.1 → 3.26.2
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/index.cjs.js +25 -0
- package/index.esm.js +24 -1
- package/package.json +1 -1
- package/src/ai/project-pipeline/commands.schema.d.ts +112 -0
- package/src/ai/project-pipeline/configuration-form.d.ts +376 -0
- package/src/ai/project-pipeline/configuration.schema.d.ts +96 -0
- package/src/ai/project-pipeline/contribution.schema.d.ts +128 -0
- package/src/ai/project-pipeline/definition.schema.d.ts +112 -0
- package/src/ai/project-pipeline/index.d.ts +1 -0
- package/src/ai/project-pipeline/project-types.d.ts +23 -0
- package/src/ai/project-pipeline/projection.schema.d.ts +96 -0
- package/src/data-retention.model.d.ts +24 -0
- package/src/index.d.ts +1 -0
- package/src/runtime-control.d.ts +18 -1
|
@@ -26,6 +26,22 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
|
|
|
26
26
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
27
27
|
version: z.ZodString;
|
|
28
28
|
title: z.ZodString;
|
|
29
|
+
projectTypes: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
30
|
+
applicationKey: z.ZodString;
|
|
31
|
+
projectTypeKey: z.ZodString;
|
|
32
|
+
}, "strict", z.ZodTypeAny, {
|
|
33
|
+
applicationKey: string;
|
|
34
|
+
projectTypeKey: string;
|
|
35
|
+
}, {
|
|
36
|
+
applicationKey: string;
|
|
37
|
+
projectTypeKey: string;
|
|
38
|
+
}>, "many">, {
|
|
39
|
+
applicationKey: string;
|
|
40
|
+
projectTypeKey: string;
|
|
41
|
+
}[], {
|
|
42
|
+
applicationKey: string;
|
|
43
|
+
projectTypeKey: string;
|
|
44
|
+
}[]>;
|
|
29
45
|
subjectResolverRef: z.ZodString;
|
|
30
46
|
roles: z.ZodArray<z.ZodObject<{
|
|
31
47
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -102,6 +118,10 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
|
|
|
102
118
|
};
|
|
103
119
|
version: string;
|
|
104
120
|
title: string;
|
|
121
|
+
projectTypes: {
|
|
122
|
+
applicationKey: string;
|
|
123
|
+
projectTypeKey: string;
|
|
124
|
+
}[];
|
|
105
125
|
subjectResolverRef: string;
|
|
106
126
|
roles: {
|
|
107
127
|
key: string;
|
|
@@ -143,6 +163,10 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
|
|
|
143
163
|
};
|
|
144
164
|
version: string;
|
|
145
165
|
title: string;
|
|
166
|
+
projectTypes: {
|
|
167
|
+
applicationKey: string;
|
|
168
|
+
projectTypeKey: string;
|
|
169
|
+
}[];
|
|
146
170
|
subjectResolverRef: string;
|
|
147
171
|
roles: {
|
|
148
172
|
key: string;
|
|
@@ -1077,6 +1101,22 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
|
|
|
1077
1101
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
1078
1102
|
version: z.ZodString;
|
|
1079
1103
|
title: z.ZodString;
|
|
1104
|
+
projectTypes: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1105
|
+
applicationKey: z.ZodString;
|
|
1106
|
+
projectTypeKey: z.ZodString;
|
|
1107
|
+
}, "strict", z.ZodTypeAny, {
|
|
1108
|
+
applicationKey: string;
|
|
1109
|
+
projectTypeKey: string;
|
|
1110
|
+
}, {
|
|
1111
|
+
applicationKey: string;
|
|
1112
|
+
projectTypeKey: string;
|
|
1113
|
+
}>, "many">, {
|
|
1114
|
+
applicationKey: string;
|
|
1115
|
+
projectTypeKey: string;
|
|
1116
|
+
}[], {
|
|
1117
|
+
applicationKey: string;
|
|
1118
|
+
projectTypeKey: string;
|
|
1119
|
+
}[]>;
|
|
1080
1120
|
subjectResolverRef: z.ZodString;
|
|
1081
1121
|
roles: z.ZodArray<z.ZodObject<{
|
|
1082
1122
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1151,6 +1191,10 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
|
|
|
1151
1191
|
};
|
|
1152
1192
|
version: string;
|
|
1153
1193
|
title: string;
|
|
1194
|
+
projectTypes: {
|
|
1195
|
+
applicationKey: string;
|
|
1196
|
+
projectTypeKey: string;
|
|
1197
|
+
}[];
|
|
1154
1198
|
subjectResolverRef: string;
|
|
1155
1199
|
roles: {
|
|
1156
1200
|
key: string;
|
|
@@ -1390,6 +1434,10 @@ export declare const projectPipelineDefinitionShapeSchema: z.ZodDiscriminatedUni
|
|
|
1390
1434
|
};
|
|
1391
1435
|
version: string;
|
|
1392
1436
|
title: string;
|
|
1437
|
+
projectTypes: {
|
|
1438
|
+
applicationKey: string;
|
|
1439
|
+
projectTypeKey: string;
|
|
1440
|
+
}[];
|
|
1393
1441
|
subjectResolverRef: string;
|
|
1394
1442
|
roles: {
|
|
1395
1443
|
key: string;
|
|
@@ -1650,6 +1698,22 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
1650
1698
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
1651
1699
|
version: z.ZodString;
|
|
1652
1700
|
title: z.ZodString;
|
|
1701
|
+
projectTypes: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1702
|
+
applicationKey: z.ZodString;
|
|
1703
|
+
projectTypeKey: z.ZodString;
|
|
1704
|
+
}, "strict", z.ZodTypeAny, {
|
|
1705
|
+
applicationKey: string;
|
|
1706
|
+
projectTypeKey: string;
|
|
1707
|
+
}, {
|
|
1708
|
+
applicationKey: string;
|
|
1709
|
+
projectTypeKey: string;
|
|
1710
|
+
}>, "many">, {
|
|
1711
|
+
applicationKey: string;
|
|
1712
|
+
projectTypeKey: string;
|
|
1713
|
+
}[], {
|
|
1714
|
+
applicationKey: string;
|
|
1715
|
+
projectTypeKey: string;
|
|
1716
|
+
}[]>;
|
|
1653
1717
|
subjectResolverRef: z.ZodString;
|
|
1654
1718
|
roles: z.ZodArray<z.ZodObject<{
|
|
1655
1719
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1726,6 +1790,10 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
1726
1790
|
};
|
|
1727
1791
|
version: string;
|
|
1728
1792
|
title: string;
|
|
1793
|
+
projectTypes: {
|
|
1794
|
+
applicationKey: string;
|
|
1795
|
+
projectTypeKey: string;
|
|
1796
|
+
}[];
|
|
1729
1797
|
subjectResolverRef: string;
|
|
1730
1798
|
roles: {
|
|
1731
1799
|
key: string;
|
|
@@ -1767,6 +1835,10 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
1767
1835
|
};
|
|
1768
1836
|
version: string;
|
|
1769
1837
|
title: string;
|
|
1838
|
+
projectTypes: {
|
|
1839
|
+
applicationKey: string;
|
|
1840
|
+
projectTypeKey: string;
|
|
1841
|
+
}[];
|
|
1770
1842
|
subjectResolverRef: string;
|
|
1771
1843
|
roles: {
|
|
1772
1844
|
key: string;
|
|
@@ -2701,6 +2773,22 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
2701
2773
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
2702
2774
|
version: z.ZodString;
|
|
2703
2775
|
title: z.ZodString;
|
|
2776
|
+
projectTypes: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
2777
|
+
applicationKey: z.ZodString;
|
|
2778
|
+
projectTypeKey: z.ZodString;
|
|
2779
|
+
}, "strict", z.ZodTypeAny, {
|
|
2780
|
+
applicationKey: string;
|
|
2781
|
+
projectTypeKey: string;
|
|
2782
|
+
}, {
|
|
2783
|
+
applicationKey: string;
|
|
2784
|
+
projectTypeKey: string;
|
|
2785
|
+
}>, "many">, {
|
|
2786
|
+
applicationKey: string;
|
|
2787
|
+
projectTypeKey: string;
|
|
2788
|
+
}[], {
|
|
2789
|
+
applicationKey: string;
|
|
2790
|
+
projectTypeKey: string;
|
|
2791
|
+
}[]>;
|
|
2704
2792
|
subjectResolverRef: z.ZodString;
|
|
2705
2793
|
roles: z.ZodArray<z.ZodObject<{
|
|
2706
2794
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -2775,6 +2863,10 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
2775
2863
|
};
|
|
2776
2864
|
version: string;
|
|
2777
2865
|
title: string;
|
|
2866
|
+
projectTypes: {
|
|
2867
|
+
applicationKey: string;
|
|
2868
|
+
projectTypeKey: string;
|
|
2869
|
+
}[];
|
|
2778
2870
|
subjectResolverRef: string;
|
|
2779
2871
|
roles: {
|
|
2780
2872
|
key: string;
|
|
@@ -3014,6 +3106,10 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
3014
3106
|
};
|
|
3015
3107
|
version: string;
|
|
3016
3108
|
title: string;
|
|
3109
|
+
projectTypes: {
|
|
3110
|
+
applicationKey: string;
|
|
3111
|
+
projectTypeKey: string;
|
|
3112
|
+
}[];
|
|
3017
3113
|
subjectResolverRef: string;
|
|
3018
3114
|
roles: {
|
|
3019
3115
|
key: string;
|
|
@@ -3255,6 +3351,10 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
3255
3351
|
};
|
|
3256
3352
|
version: string;
|
|
3257
3353
|
title: string;
|
|
3354
|
+
projectTypes: {
|
|
3355
|
+
applicationKey: string;
|
|
3356
|
+
projectTypeKey: string;
|
|
3357
|
+
}[];
|
|
3258
3358
|
subjectResolverRef: string;
|
|
3259
3359
|
roles: {
|
|
3260
3360
|
key: string;
|
|
@@ -3294,6 +3394,10 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
3294
3394
|
};
|
|
3295
3395
|
version: string;
|
|
3296
3396
|
title: string;
|
|
3397
|
+
projectTypes: {
|
|
3398
|
+
applicationKey: string;
|
|
3399
|
+
projectTypeKey: string;
|
|
3400
|
+
}[];
|
|
3297
3401
|
subjectResolverRef: string;
|
|
3298
3402
|
roles: {
|
|
3299
3403
|
key: string;
|
|
@@ -3535,6 +3639,10 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
3535
3639
|
};
|
|
3536
3640
|
version: string;
|
|
3537
3641
|
title: string;
|
|
3642
|
+
projectTypes: {
|
|
3643
|
+
applicationKey: string;
|
|
3644
|
+
projectTypeKey: string;
|
|
3645
|
+
}[];
|
|
3538
3646
|
subjectResolverRef: string;
|
|
3539
3647
|
roles: {
|
|
3540
3648
|
key: string;
|
|
@@ -3574,6 +3682,10 @@ export declare const projectPipelineDefinitionSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
3574
3682
|
};
|
|
3575
3683
|
version: string;
|
|
3576
3684
|
title: string;
|
|
3685
|
+
projectTypes: {
|
|
3686
|
+
applicationKey: string;
|
|
3687
|
+
projectTypeKey: string;
|
|
3688
|
+
}[];
|
|
3577
3689
|
subjectResolverRef: string;
|
|
3578
3690
|
roles: {
|
|
3579
3691
|
key: string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from 'zod/v3';
|
|
2
|
+
import type { ProjectPipelineDefinition } from './definition.schema';
|
|
3
|
+
/** Explicit application/type identities; plugin availability alone never implies applicability. */
|
|
4
|
+
export declare const projectPipelineProjectTypesSchema: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
5
|
+
applicationKey: z.ZodString;
|
|
6
|
+
projectTypeKey: z.ZodString;
|
|
7
|
+
}, "strict", z.ZodTypeAny, {
|
|
8
|
+
applicationKey: string;
|
|
9
|
+
projectTypeKey: string;
|
|
10
|
+
}, {
|
|
11
|
+
applicationKey: string;
|
|
12
|
+
projectTypeKey: string;
|
|
13
|
+
}>, "many">, {
|
|
14
|
+
applicationKey: string;
|
|
15
|
+
projectTypeKey: string;
|
|
16
|
+
}[], {
|
|
17
|
+
applicationKey: string;
|
|
18
|
+
projectTypeKey: string;
|
|
19
|
+
}[]>;
|
|
20
|
+
export declare function isProjectPipelineApplicable(definition: Pick<ProjectPipelineDefinition, 'projectTypes'>, project: {
|
|
21
|
+
applicationKey?: string | null;
|
|
22
|
+
projectTypeKey?: string | null;
|
|
23
|
+
}): boolean;
|
|
@@ -488,6 +488,22 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
488
488
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
489
489
|
version: z.ZodString;
|
|
490
490
|
title: z.ZodString;
|
|
491
|
+
projectTypes: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
492
|
+
applicationKey: z.ZodString;
|
|
493
|
+
projectTypeKey: z.ZodString;
|
|
494
|
+
}, "strict", z.ZodTypeAny, {
|
|
495
|
+
applicationKey: string;
|
|
496
|
+
projectTypeKey: string;
|
|
497
|
+
}, {
|
|
498
|
+
applicationKey: string;
|
|
499
|
+
projectTypeKey: string;
|
|
500
|
+
}>, "many">, {
|
|
501
|
+
applicationKey: string;
|
|
502
|
+
projectTypeKey: string;
|
|
503
|
+
}[], {
|
|
504
|
+
applicationKey: string;
|
|
505
|
+
projectTypeKey: string;
|
|
506
|
+
}[]>;
|
|
491
507
|
subjectResolverRef: z.ZodString;
|
|
492
508
|
roles: z.ZodArray<z.ZodObject<{
|
|
493
509
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -564,6 +580,10 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
564
580
|
};
|
|
565
581
|
version: string;
|
|
566
582
|
title: string;
|
|
583
|
+
projectTypes: {
|
|
584
|
+
applicationKey: string;
|
|
585
|
+
projectTypeKey: string;
|
|
586
|
+
}[];
|
|
567
587
|
subjectResolverRef: string;
|
|
568
588
|
roles: {
|
|
569
589
|
key: string;
|
|
@@ -605,6 +625,10 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
605
625
|
};
|
|
606
626
|
version: string;
|
|
607
627
|
title: string;
|
|
628
|
+
projectTypes: {
|
|
629
|
+
applicationKey: string;
|
|
630
|
+
projectTypeKey: string;
|
|
631
|
+
}[];
|
|
608
632
|
subjectResolverRef: string;
|
|
609
633
|
roles: {
|
|
610
634
|
key: string;
|
|
@@ -1539,6 +1563,22 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1539
1563
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
1540
1564
|
version: z.ZodString;
|
|
1541
1565
|
title: z.ZodString;
|
|
1566
|
+
projectTypes: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1567
|
+
applicationKey: z.ZodString;
|
|
1568
|
+
projectTypeKey: z.ZodString;
|
|
1569
|
+
}, "strict", z.ZodTypeAny, {
|
|
1570
|
+
applicationKey: string;
|
|
1571
|
+
projectTypeKey: string;
|
|
1572
|
+
}, {
|
|
1573
|
+
applicationKey: string;
|
|
1574
|
+
projectTypeKey: string;
|
|
1575
|
+
}>, "many">, {
|
|
1576
|
+
applicationKey: string;
|
|
1577
|
+
projectTypeKey: string;
|
|
1578
|
+
}[], {
|
|
1579
|
+
applicationKey: string;
|
|
1580
|
+
projectTypeKey: string;
|
|
1581
|
+
}[]>;
|
|
1542
1582
|
subjectResolverRef: z.ZodString;
|
|
1543
1583
|
roles: z.ZodArray<z.ZodObject<{
|
|
1544
1584
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1613,6 +1653,10 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1613
1653
|
};
|
|
1614
1654
|
version: string;
|
|
1615
1655
|
title: string;
|
|
1656
|
+
projectTypes: {
|
|
1657
|
+
applicationKey: string;
|
|
1658
|
+
projectTypeKey: string;
|
|
1659
|
+
}[];
|
|
1616
1660
|
subjectResolverRef: string;
|
|
1617
1661
|
roles: {
|
|
1618
1662
|
key: string;
|
|
@@ -1852,6 +1896,10 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1852
1896
|
};
|
|
1853
1897
|
version: string;
|
|
1854
1898
|
title: string;
|
|
1899
|
+
projectTypes: {
|
|
1900
|
+
applicationKey: string;
|
|
1901
|
+
projectTypeKey: string;
|
|
1902
|
+
}[];
|
|
1855
1903
|
subjectResolverRef: string;
|
|
1856
1904
|
roles: {
|
|
1857
1905
|
key: string;
|
|
@@ -2093,6 +2141,10 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2093
2141
|
};
|
|
2094
2142
|
version: string;
|
|
2095
2143
|
title: string;
|
|
2144
|
+
projectTypes: {
|
|
2145
|
+
applicationKey: string;
|
|
2146
|
+
projectTypeKey: string;
|
|
2147
|
+
}[];
|
|
2096
2148
|
subjectResolverRef: string;
|
|
2097
2149
|
roles: {
|
|
2098
2150
|
key: string;
|
|
@@ -2132,6 +2184,10 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2132
2184
|
};
|
|
2133
2185
|
version: string;
|
|
2134
2186
|
title: string;
|
|
2187
|
+
projectTypes: {
|
|
2188
|
+
applicationKey: string;
|
|
2189
|
+
projectTypeKey: string;
|
|
2190
|
+
}[];
|
|
2135
2191
|
subjectResolverRef: string;
|
|
2136
2192
|
roles: {
|
|
2137
2193
|
key: string;
|
|
@@ -2373,6 +2429,10 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2373
2429
|
};
|
|
2374
2430
|
version: string;
|
|
2375
2431
|
title: string;
|
|
2432
|
+
projectTypes: {
|
|
2433
|
+
applicationKey: string;
|
|
2434
|
+
projectTypeKey: string;
|
|
2435
|
+
}[];
|
|
2376
2436
|
subjectResolverRef: string;
|
|
2377
2437
|
roles: {
|
|
2378
2438
|
key: string;
|
|
@@ -2412,6 +2472,10 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2412
2472
|
};
|
|
2413
2473
|
version: string;
|
|
2414
2474
|
title: string;
|
|
2475
|
+
projectTypes: {
|
|
2476
|
+
applicationKey: string;
|
|
2477
|
+
projectTypeKey: string;
|
|
2478
|
+
}[];
|
|
2415
2479
|
subjectResolverRef: string;
|
|
2416
2480
|
roles: {
|
|
2417
2481
|
key: string;
|
|
@@ -3147,6 +3211,10 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3147
3211
|
};
|
|
3148
3212
|
version: string;
|
|
3149
3213
|
title: string;
|
|
3214
|
+
projectTypes: {
|
|
3215
|
+
applicationKey: string;
|
|
3216
|
+
projectTypeKey: string;
|
|
3217
|
+
}[];
|
|
3150
3218
|
subjectResolverRef: string;
|
|
3151
3219
|
roles: {
|
|
3152
3220
|
key: string;
|
|
@@ -3186,6 +3254,10 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3186
3254
|
};
|
|
3187
3255
|
version: string;
|
|
3188
3256
|
title: string;
|
|
3257
|
+
projectTypes: {
|
|
3258
|
+
applicationKey: string;
|
|
3259
|
+
projectTypeKey: string;
|
|
3260
|
+
}[];
|
|
3189
3261
|
subjectResolverRef: string;
|
|
3190
3262
|
roles: {
|
|
3191
3263
|
key: string;
|
|
@@ -3548,6 +3620,10 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3548
3620
|
};
|
|
3549
3621
|
version: string;
|
|
3550
3622
|
title: string;
|
|
3623
|
+
projectTypes: {
|
|
3624
|
+
applicationKey: string;
|
|
3625
|
+
projectTypeKey: string;
|
|
3626
|
+
}[];
|
|
3551
3627
|
subjectResolverRef: string;
|
|
3552
3628
|
roles: {
|
|
3553
3629
|
key: string;
|
|
@@ -3587,6 +3663,10 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3587
3663
|
};
|
|
3588
3664
|
version: string;
|
|
3589
3665
|
title: string;
|
|
3666
|
+
projectTypes: {
|
|
3667
|
+
applicationKey: string;
|
|
3668
|
+
projectTypeKey: string;
|
|
3669
|
+
}[];
|
|
3590
3670
|
subjectResolverRef: string;
|
|
3591
3671
|
roles: {
|
|
3592
3672
|
key: string;
|
|
@@ -3949,6 +4029,10 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3949
4029
|
};
|
|
3950
4030
|
version: string;
|
|
3951
4031
|
title: string;
|
|
4032
|
+
projectTypes: {
|
|
4033
|
+
applicationKey: string;
|
|
4034
|
+
projectTypeKey: string;
|
|
4035
|
+
}[];
|
|
3952
4036
|
subjectResolverRef: string;
|
|
3953
4037
|
roles: {
|
|
3954
4038
|
key: string;
|
|
@@ -3988,6 +4072,10 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3988
4072
|
};
|
|
3989
4073
|
version: string;
|
|
3990
4074
|
title: string;
|
|
4075
|
+
projectTypes: {
|
|
4076
|
+
applicationKey: string;
|
|
4077
|
+
projectTypeKey: string;
|
|
4078
|
+
}[];
|
|
3991
4079
|
subjectResolverRef: string;
|
|
3992
4080
|
roles: {
|
|
3993
4081
|
key: string;
|
|
@@ -4350,6 +4438,10 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4350
4438
|
};
|
|
4351
4439
|
version: string;
|
|
4352
4440
|
title: string;
|
|
4441
|
+
projectTypes: {
|
|
4442
|
+
applicationKey: string;
|
|
4443
|
+
projectTypeKey: string;
|
|
4444
|
+
}[];
|
|
4353
4445
|
subjectResolverRef: string;
|
|
4354
4446
|
roles: {
|
|
4355
4447
|
key: string;
|
|
@@ -4389,6 +4481,10 @@ export declare const projectPipelineProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4389
4481
|
};
|
|
4390
4482
|
version: string;
|
|
4391
4483
|
title: string;
|
|
4484
|
+
projectTypes: {
|
|
4485
|
+
applicationKey: string;
|
|
4486
|
+
projectTypeKey: string;
|
|
4487
|
+
}[];
|
|
4392
4488
|
subjectResolverRef: string;
|
|
4393
4489
|
roles: {
|
|
4394
4490
|
key: string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type ManualRetentionTarget = 'copilot_checkpoint' | 'model_gateway_call';
|
|
2
|
+
export interface ManualRetentionRange {
|
|
3
|
+
target: ManualRetentionTarget;
|
|
4
|
+
/** Inclusive ISO timestamp. */
|
|
5
|
+
start: string;
|
|
6
|
+
/** Exclusive ISO timestamp. */
|
|
7
|
+
end: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ManualRetentionPreview extends ManualRetentionRange {
|
|
10
|
+
previewToken: string;
|
|
11
|
+
expiresAt: string;
|
|
12
|
+
scope: 'all_tenants';
|
|
13
|
+
matchedCount: number;
|
|
14
|
+
protectedCount: number;
|
|
15
|
+
eligibleCount: number;
|
|
16
|
+
selectedCount: number;
|
|
17
|
+
relatedWriteCount: number;
|
|
18
|
+
batchLimit: number;
|
|
19
|
+
}
|
|
20
|
+
export interface ManualRetentionResult {
|
|
21
|
+
deletedCount: number;
|
|
22
|
+
deletedWriteCount: number;
|
|
23
|
+
skippedCount: number;
|
|
24
|
+
}
|
package/src/index.d.ts
CHANGED
package/src/runtime-control.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export interface IRuntimeStreamInterruption {
|
|
|
5
5
|
code: 'RUNTIME_RESTARTING';
|
|
6
6
|
message: string;
|
|
7
7
|
}
|
|
8
|
+
/** Process-supervisor execution modes; neither implies Pod/deployment orchestration. */
|
|
8
9
|
export type RuntimeRestartMode = 'self-signal' | 'rolling-self-signal';
|
|
9
10
|
export type RuntimeRestartStatus = 'in_progress' | 'completed' | 'failed' | 'awaiting_restart';
|
|
10
11
|
export interface IRuntimePluginRequirement {
|
|
@@ -48,9 +49,11 @@ export interface IRuntimeRestartResponse {
|
|
|
48
49
|
export interface IRuntimeRestartStatus {
|
|
49
50
|
restartId: string;
|
|
50
51
|
mode: RuntimeRestartMode;
|
|
52
|
+
/** completed confirms target runtime requirements and replacement readiness, not ingress acknowledgement. */
|
|
51
53
|
status: RuntimeRestartStatus;
|
|
52
54
|
requestedAt: string;
|
|
53
55
|
targetReplicaCount: number;
|
|
56
|
+
/** Includes already-current targets; not a count of ingress-confirmed serving replicas. */
|
|
54
57
|
completedReplicaCount: number;
|
|
55
58
|
failedReplicaCount: number;
|
|
56
59
|
pluginGeneration: number;
|
|
@@ -58,6 +61,7 @@ export interface IRuntimeRestartStatus {
|
|
|
58
61
|
}
|
|
59
62
|
export interface IPluginRuntimeConvergenceStatus {
|
|
60
63
|
generation: number;
|
|
64
|
+
/** Runtime convergence outcome; completed does not attest ingress routing or business acceptance. */
|
|
61
65
|
status: RuntimeRestartStatus;
|
|
62
66
|
restartId?: string;
|
|
63
67
|
targetReplicaCount: number;
|
|
@@ -65,10 +69,23 @@ export interface IPluginRuntimeConvergenceStatus {
|
|
|
65
69
|
failedReplicaCount: number;
|
|
66
70
|
error?: string;
|
|
67
71
|
}
|
|
72
|
+
export type RuntimeAdmissionReason = 'ready' | 'startup-not-listening' | 'plugin-not-admitted' | 'validation-expired' | 'lease-expired';
|
|
73
|
+
export interface IRuntimeAdmissionDiagnostics {
|
|
74
|
+
reason: RuntimeAdmissionReason;
|
|
75
|
+
validationAgeMs: number | null;
|
|
76
|
+
validationRemainingMs: number;
|
|
77
|
+
leaseRemainingMs?: number;
|
|
78
|
+
checkDurationMs: number | null;
|
|
79
|
+
checkInFlight: boolean;
|
|
80
|
+
lastCheckFailed: boolean;
|
|
81
|
+
eventLoopDelayMaxMs?: number;
|
|
82
|
+
eventLoopDelayP99Ms?: number;
|
|
83
|
+
}
|
|
68
84
|
export interface IRuntimeReadiness {
|
|
69
|
-
status: 'ready' | 'draining' | 'unready';
|
|
85
|
+
status: 'ready' | 'withdrawing' | 'draining' | 'unready';
|
|
70
86
|
instanceId: string;
|
|
71
87
|
activeRequests: number;
|
|
88
|
+
admission?: IRuntimeAdmissionDiagnostics;
|
|
72
89
|
restartId?: string;
|
|
73
90
|
requestedAt?: string;
|
|
74
91
|
}
|