@xpert-ai/contracts 3.36.0 → 3.37.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/index.cjs.js +818 -450
- package/index.esm.js +806 -451
- package/package.json +2 -2
- package/src/ai/agent-runtime.model.d.ts +2 -2
- package/src/ai/assistant-template-manifest.model.d.ts +328 -328
- package/src/ai/assistant-template-setup.model.d.ts +8 -8
- package/src/ai/chat-activity.model.d.ts +5 -0
- package/src/ai/chat.model.d.ts +2 -0
- package/src/ai/conversation-trail.model.d.ts +66 -66
- package/src/ai/execution-activity.model.d.ts +10 -10
- package/src/ai/execution-control-evidence.schema.d.ts +30 -30
- package/src/ai/execution-observability.model.d.ts +96 -96
- package/src/ai/mcp-execution-control.schema.d.ts +2 -2
- package/src/ai/model-replacement.model.d.ts +6 -6
- package/src/ai/project-pipeline/analytics.d.ts +154 -154
- package/src/ai/project-pipeline/budget.schema.d.ts +4 -4
- package/src/ai/project-pipeline/commands.schema.d.ts +68 -68
- package/src/ai/project-pipeline/configuration-declaration.schema.d.ts +3815 -0
- package/src/ai/project-pipeline/configuration-form.d.ts +215 -215
- package/src/ai/project-pipeline/configuration.schema.d.ts +50 -50
- package/src/ai/project-pipeline/contribution.schema.d.ts +173 -70
- package/src/ai/project-pipeline/definition.schema.d.ts +50 -50
- package/src/ai/project-pipeline/execution-statistics.d.ts +18 -18
- package/src/ai/project-pipeline/graph.model.d.ts +2 -2
- package/src/ai/project-pipeline/index.d.ts +1 -0
- package/src/ai/project-pipeline/model-usage-statistics.d.ts +2 -2
- package/src/ai/project-pipeline/node.schema.d.ts +2 -2
- package/src/ai/project-pipeline/operation.schema.d.ts +344 -344
- package/src/ai/project-pipeline/portfolio.schema.d.ts +348 -348
- package/src/ai/project-pipeline/primitives.schema.d.ts +4 -4
- package/src/ai/project-pipeline/projection.schema.d.ts +260 -260
- package/src/ai/project-pipeline/provider-actions.schema.d.ts +28 -28
- package/src/ai/project-pipeline/queue-statistics.d.ts +24 -24
- package/src/ai/project-pipeline/runtime.schema.d.ts +50 -50
- package/src/ai/project-pipeline/statistics.d.ts +74 -74
- package/src/ai/project-task-runtime.model.d.ts +23 -23
- package/src/ai/sandbox-execution-control.schema.d.ts +6 -6
- package/src/ai/template-installation.model.d.ts +16 -16
- package/src/ai/template-lifecycle.model.d.ts +2 -2
- package/src/ai/thread-control-view.schema.d.ts +4 -4
- package/src/ai/xpert-agent-execution.model.d.ts +29 -0
- package/src/ai/xpert-tool.model.d.ts +12 -0
- package/src/{agent-event.model.d.ts → always-on/agent-event.model.d.ts} +37 -4
- package/src/{agent-event.schema.d.ts → always-on/agent-event.schema.d.ts} +19 -0
- package/src/always-on/agent-output-reference.schema.d.ts +27 -0
- package/src/always-on/agent-output.model.d.ts +411 -0
- package/src/always-on/human-decision.model.d.ts +204 -0
- package/src/always-on/index.d.ts +3 -0
- package/src/always-on/output-workbench.schema.d.ts +154 -0
- package/src/analytics/analytics-diagnostic.d.ts +4 -4
- package/src/app-platform.d.ts +18 -18
- package/src/artifacts/artifact.model.d.ts +2 -0
- package/src/content/content-resource.model.d.ts +2 -1
- package/src/icon-definition.schema.d.ts +6 -10
- package/src/index.d.ts +1 -1
- package/src/secret-token.model.d.ts +4 -4
- package/src/user-notification.schema.d.ts +1290 -479
|
@@ -181,6 +181,8 @@ export declare const projectPipelineProjectBindingSchema: z.ZodObject<{
|
|
|
181
181
|
projectId: z.ZodString;
|
|
182
182
|
}, "strict", z.ZodTypeAny, {
|
|
183
183
|
revision: number;
|
|
184
|
+
organizationId: string | null;
|
|
185
|
+
projectId: string;
|
|
184
186
|
id: string;
|
|
185
187
|
definition: {
|
|
186
188
|
templateRef: string;
|
|
@@ -218,10 +220,10 @@ export declare const projectPipelineProjectBindingSchema: z.ZodObject<{
|
|
|
218
220
|
}[] | undefined;
|
|
219
221
|
};
|
|
220
222
|
tenantId: string;
|
|
221
|
-
organizationId: string | null;
|
|
222
|
-
projectId: string;
|
|
223
223
|
}, {
|
|
224
224
|
revision: number;
|
|
225
|
+
organizationId: string | null;
|
|
226
|
+
projectId: string;
|
|
225
227
|
id: string;
|
|
226
228
|
definition: {
|
|
227
229
|
templateRef: string;
|
|
@@ -259,8 +261,6 @@ export declare const projectPipelineProjectBindingSchema: z.ZodObject<{
|
|
|
259
261
|
}[] | undefined;
|
|
260
262
|
};
|
|
261
263
|
tenantId: string;
|
|
262
|
-
organizationId: string | null;
|
|
263
|
-
projectId: string;
|
|
264
264
|
}>;
|
|
265
265
|
export declare const projectPipelineInstanceSchema: z.ZodDiscriminatedUnion<"executionAuthority", [z.ZodObject<{
|
|
266
266
|
executionAuthority: z.ZodLiteral<"provider">;
|
|
@@ -297,6 +297,8 @@ export declare const projectPipelineInstanceSchema: z.ZodDiscriminatedUnion<"exe
|
|
|
297
297
|
objectKey: string;
|
|
298
298
|
};
|
|
299
299
|
revision: number;
|
|
300
|
+
organizationId: string | null;
|
|
301
|
+
projectId: string;
|
|
300
302
|
id: string;
|
|
301
303
|
executionAuthority: "provider";
|
|
302
304
|
providerRef: string;
|
|
@@ -305,8 +307,6 @@ export declare const projectPipelineInstanceSchema: z.ZodDiscriminatedUnion<"exe
|
|
|
305
307
|
digest: string;
|
|
306
308
|
};
|
|
307
309
|
tenantId: string;
|
|
308
|
-
organizationId: string | null;
|
|
309
|
-
projectId: string;
|
|
310
310
|
sourceKey: string;
|
|
311
311
|
}, {
|
|
312
312
|
subject: {
|
|
@@ -314,6 +314,8 @@ export declare const projectPipelineInstanceSchema: z.ZodDiscriminatedUnion<"exe
|
|
|
314
314
|
objectKey: string;
|
|
315
315
|
};
|
|
316
316
|
revision: number;
|
|
317
|
+
organizationId: string | null;
|
|
318
|
+
projectId: string;
|
|
317
319
|
id: string;
|
|
318
320
|
executionAuthority: "provider";
|
|
319
321
|
providerRef: string;
|
|
@@ -322,8 +324,6 @@ export declare const projectPipelineInstanceSchema: z.ZodDiscriminatedUnion<"exe
|
|
|
322
324
|
digest: string;
|
|
323
325
|
};
|
|
324
326
|
tenantId: string;
|
|
325
|
-
organizationId: string | null;
|
|
326
|
-
projectId: string;
|
|
327
327
|
sourceKey: string;
|
|
328
328
|
}>, z.ZodObject<{
|
|
329
329
|
executionAuthority: z.ZodLiteral<"platform">;
|
|
@@ -360,6 +360,8 @@ export declare const projectPipelineInstanceSchema: z.ZodDiscriminatedUnion<"exe
|
|
|
360
360
|
objectKey: string;
|
|
361
361
|
};
|
|
362
362
|
revision: number;
|
|
363
|
+
organizationId: string | null;
|
|
364
|
+
projectId: string;
|
|
363
365
|
id: string;
|
|
364
366
|
executionAuthority: "platform";
|
|
365
367
|
definition: {
|
|
@@ -367,8 +369,6 @@ export declare const projectPipelineInstanceSchema: z.ZodDiscriminatedUnion<"exe
|
|
|
367
369
|
digest: string;
|
|
368
370
|
};
|
|
369
371
|
tenantId: string;
|
|
370
|
-
organizationId: string | null;
|
|
371
|
-
projectId: string;
|
|
372
372
|
sourceKey: string;
|
|
373
373
|
bindingId: string;
|
|
374
374
|
}, {
|
|
@@ -377,6 +377,8 @@ export declare const projectPipelineInstanceSchema: z.ZodDiscriminatedUnion<"exe
|
|
|
377
377
|
objectKey: string;
|
|
378
378
|
};
|
|
379
379
|
revision: number;
|
|
380
|
+
organizationId: string | null;
|
|
381
|
+
projectId: string;
|
|
380
382
|
id: string;
|
|
381
383
|
executionAuthority: "platform";
|
|
382
384
|
definition: {
|
|
@@ -384,8 +386,6 @@ export declare const projectPipelineInstanceSchema: z.ZodDiscriminatedUnion<"exe
|
|
|
384
386
|
digest: string;
|
|
385
387
|
};
|
|
386
388
|
tenantId: string;
|
|
387
|
-
organizationId: string | null;
|
|
388
|
-
projectId: string;
|
|
389
389
|
sourceKey: string;
|
|
390
390
|
bindingId: string;
|
|
391
391
|
}>]>;
|
|
@@ -576,6 +576,9 @@ export declare const projectPipelineRunSchema: z.ZodObject<{
|
|
|
576
576
|
projectId: z.ZodString;
|
|
577
577
|
}, "strict", z.ZodTypeAny, {
|
|
578
578
|
revision: number;
|
|
579
|
+
state: "pending" | "failed" | "cancelled" | "superseded" | "waiting" | "cancelling" | "completed" | "active";
|
|
580
|
+
organizationId: string | null;
|
|
581
|
+
projectId: string;
|
|
579
582
|
id: string;
|
|
580
583
|
startedAt: string | null;
|
|
581
584
|
definition: {
|
|
@@ -584,8 +587,6 @@ export declare const projectPipelineRunSchema: z.ZodObject<{
|
|
|
584
587
|
};
|
|
585
588
|
instanceId: string;
|
|
586
589
|
tenantId: string;
|
|
587
|
-
organizationId: string | null;
|
|
588
|
-
projectId: string;
|
|
589
590
|
triggerKey: string;
|
|
590
591
|
bindingSnapshot: {
|
|
591
592
|
templateRef: string;
|
|
@@ -618,10 +619,12 @@ export declare const projectPipelineRunSchema: z.ZodObject<{
|
|
|
618
619
|
events: string[];
|
|
619
620
|
}[] | undefined;
|
|
620
621
|
};
|
|
621
|
-
state: "pending" | "waiting" | "cancelling" | "failed" | "completed" | "cancelled" | "active" | "superseded";
|
|
622
622
|
completedAt: string | null;
|
|
623
623
|
}, {
|
|
624
624
|
revision: number;
|
|
625
|
+
state: "pending" | "failed" | "cancelled" | "superseded" | "waiting" | "cancelling" | "completed" | "active";
|
|
626
|
+
organizationId: string | null;
|
|
627
|
+
projectId: string;
|
|
625
628
|
id: string;
|
|
626
629
|
startedAt: string | null;
|
|
627
630
|
definition: {
|
|
@@ -630,8 +633,6 @@ export declare const projectPipelineRunSchema: z.ZodObject<{
|
|
|
630
633
|
};
|
|
631
634
|
instanceId: string;
|
|
632
635
|
tenantId: string;
|
|
633
|
-
organizationId: string | null;
|
|
634
|
-
projectId: string;
|
|
635
636
|
triggerKey: string;
|
|
636
637
|
bindingSnapshot: {
|
|
637
638
|
templateRef: string;
|
|
@@ -664,7 +665,6 @@ export declare const projectPipelineRunSchema: z.ZodObject<{
|
|
|
664
665
|
events: string[];
|
|
665
666
|
}[] | undefined;
|
|
666
667
|
};
|
|
667
|
-
state: "pending" | "waiting" | "cancelling" | "failed" | "completed" | "cancelled" | "active" | "superseded";
|
|
668
668
|
completedAt: string | null;
|
|
669
669
|
}>;
|
|
670
670
|
export declare const projectPipelineSubjectVersionSchema: z.ZodObject<{
|
|
@@ -714,17 +714,17 @@ export declare const projectPipelineNodeStateSchema: z.ZodObject<{
|
|
|
714
714
|
freshness: z.ZodEnum<["current", "superseded"]>;
|
|
715
715
|
runtime: z.ZodEnum<["none", "queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
|
|
716
716
|
}, "strict", z.ZodTypeAny, {
|
|
717
|
-
lifecycle: "pending" | "failed" | "
|
|
717
|
+
lifecycle: "pending" | "failed" | "cancelled" | "completed" | "active";
|
|
718
718
|
readiness: "blocked" | "waiting" | "ready";
|
|
719
719
|
applicability: "undetermined" | "selected" | "excluded";
|
|
720
720
|
freshness: "superseded" | "current";
|
|
721
|
-
runtime: "unknown" | "
|
|
721
|
+
runtime: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued" | "none";
|
|
722
722
|
}, {
|
|
723
|
-
lifecycle: "pending" | "failed" | "
|
|
723
|
+
lifecycle: "pending" | "failed" | "cancelled" | "completed" | "active";
|
|
724
724
|
readiness: "blocked" | "waiting" | "ready";
|
|
725
725
|
applicability: "undetermined" | "selected" | "excluded";
|
|
726
726
|
freshness: "superseded" | "current";
|
|
727
|
-
runtime: "unknown" | "
|
|
727
|
+
runtime: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued" | "none";
|
|
728
728
|
}>;
|
|
729
729
|
export declare const projectPipelineWorkContextSchema: z.ZodObject<{
|
|
730
730
|
instanceId: z.ZodString;
|
|
@@ -779,11 +779,11 @@ export declare const projectPipelineRoundSchema: z.ZodObject<{
|
|
|
779
779
|
organizationId: z.ZodNullable<z.ZodString>;
|
|
780
780
|
projectId: z.ZodString;
|
|
781
781
|
}, "strict", z.ZodTypeAny, {
|
|
782
|
-
|
|
783
|
-
tenantId: string;
|
|
782
|
+
state: "failed" | "cancelled" | "superseded" | "completed" | "active" | "awaiting_new_subject";
|
|
784
783
|
organizationId: string | null;
|
|
785
784
|
projectId: string;
|
|
786
|
-
|
|
785
|
+
id: string;
|
|
786
|
+
tenantId: string;
|
|
787
787
|
runId: string;
|
|
788
788
|
inputDigest: string;
|
|
789
789
|
generation: number;
|
|
@@ -796,11 +796,11 @@ export declare const projectPipelineRoundSchema: z.ZodObject<{
|
|
|
796
796
|
}[];
|
|
797
797
|
supersedes: string | null;
|
|
798
798
|
}, {
|
|
799
|
-
|
|
800
|
-
tenantId: string;
|
|
799
|
+
state: "failed" | "cancelled" | "superseded" | "completed" | "active" | "awaiting_new_subject";
|
|
801
800
|
organizationId: string | null;
|
|
802
801
|
projectId: string;
|
|
803
|
-
|
|
802
|
+
id: string;
|
|
803
|
+
tenantId: string;
|
|
804
804
|
runId: string;
|
|
805
805
|
inputDigest: string;
|
|
806
806
|
generation: number;
|
|
@@ -827,17 +827,17 @@ export declare const projectPipelineNodeInstanceSchema: z.ZodObject<{
|
|
|
827
827
|
freshness: z.ZodEnum<["current", "superseded"]>;
|
|
828
828
|
runtime: z.ZodEnum<["none", "queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
|
|
829
829
|
}, "strict", z.ZodTypeAny, {
|
|
830
|
-
lifecycle: "pending" | "failed" | "
|
|
830
|
+
lifecycle: "pending" | "failed" | "cancelled" | "completed" | "active";
|
|
831
831
|
readiness: "blocked" | "waiting" | "ready";
|
|
832
832
|
applicability: "undetermined" | "selected" | "excluded";
|
|
833
833
|
freshness: "superseded" | "current";
|
|
834
|
-
runtime: "unknown" | "
|
|
834
|
+
runtime: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued" | "none";
|
|
835
835
|
}, {
|
|
836
|
-
lifecycle: "pending" | "failed" | "
|
|
836
|
+
lifecycle: "pending" | "failed" | "cancelled" | "completed" | "active";
|
|
837
837
|
readiness: "blocked" | "waiting" | "ready";
|
|
838
838
|
applicability: "undetermined" | "selected" | "excluded";
|
|
839
839
|
freshness: "superseded" | "current";
|
|
840
|
-
runtime: "unknown" | "
|
|
840
|
+
runtime: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued" | "none";
|
|
841
841
|
}>;
|
|
842
842
|
taskIds: z.ZodArray<z.ZodString, "many">;
|
|
843
843
|
evidence: z.ZodArray<z.ZodObject<{
|
|
@@ -870,20 +870,20 @@ export declare const projectPipelineNodeInstanceSchema: z.ZodObject<{
|
|
|
870
870
|
projectId: z.ZodString;
|
|
871
871
|
}, "strict", z.ZodTypeAny, {
|
|
872
872
|
revision: number;
|
|
873
|
-
id: string;
|
|
874
|
-
nodeKey: string;
|
|
875
|
-
laneKey: string | null;
|
|
876
|
-
stageKey: string;
|
|
877
|
-
tenantId: string;
|
|
878
|
-
organizationId: string | null;
|
|
879
|
-
projectId: string;
|
|
880
873
|
state: {
|
|
881
|
-
lifecycle: "pending" | "failed" | "
|
|
874
|
+
lifecycle: "pending" | "failed" | "cancelled" | "completed" | "active";
|
|
882
875
|
readiness: "blocked" | "waiting" | "ready";
|
|
883
876
|
applicability: "undetermined" | "selected" | "excluded";
|
|
884
877
|
freshness: "superseded" | "current";
|
|
885
|
-
runtime: "unknown" | "
|
|
878
|
+
runtime: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued" | "none";
|
|
886
879
|
};
|
|
880
|
+
organizationId: string | null;
|
|
881
|
+
projectId: string;
|
|
882
|
+
id: string;
|
|
883
|
+
nodeKey: string;
|
|
884
|
+
laneKey: string | null;
|
|
885
|
+
stageKey: string;
|
|
886
|
+
tenantId: string;
|
|
887
887
|
roundId: string;
|
|
888
888
|
expansionKey: string;
|
|
889
889
|
taskIds: string[];
|
|
@@ -897,20 +897,20 @@ export declare const projectPipelineNodeInstanceSchema: z.ZodObject<{
|
|
|
897
897
|
}[];
|
|
898
898
|
}, {
|
|
899
899
|
revision: number;
|
|
900
|
-
id: string;
|
|
901
|
-
nodeKey: string;
|
|
902
|
-
laneKey: string | null;
|
|
903
|
-
stageKey: string;
|
|
904
|
-
tenantId: string;
|
|
905
|
-
organizationId: string | null;
|
|
906
|
-
projectId: string;
|
|
907
900
|
state: {
|
|
908
|
-
lifecycle: "pending" | "failed" | "
|
|
901
|
+
lifecycle: "pending" | "failed" | "cancelled" | "completed" | "active";
|
|
909
902
|
readiness: "blocked" | "waiting" | "ready";
|
|
910
903
|
applicability: "undetermined" | "selected" | "excluded";
|
|
911
904
|
freshness: "superseded" | "current";
|
|
912
|
-
runtime: "unknown" | "
|
|
905
|
+
runtime: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "cancelling" | "succeeded" | "queued" | "none";
|
|
913
906
|
};
|
|
907
|
+
organizationId: string | null;
|
|
908
|
+
projectId: string;
|
|
909
|
+
id: string;
|
|
910
|
+
nodeKey: string;
|
|
911
|
+
laneKey: string | null;
|
|
912
|
+
stageKey: string;
|
|
913
|
+
tenantId: string;
|
|
914
914
|
roundId: string;
|
|
915
915
|
expansionKey: string;
|
|
916
916
|
taskIds: string[];
|