@xpert-ai/contracts 3.23.0 → 3.25.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 +5295 -368
- package/index.esm.js +5184 -369
- package/package.json +2 -2
- package/src/ai/agent-output-delivery.model.d.ts +10 -10
- package/src/ai/agent-runtime.model.d.ts +24 -24
- package/src/ai/assistant-model.model.d.ts +8 -0
- package/src/ai/assistant-template-dependencies.model.d.ts +1 -1
- package/src/ai/index.d.ts +2 -0
- package/src/ai/mcp-publication.model.d.ts +20 -0
- package/src/ai/model-discovery.model.d.ts +2 -0
- package/src/ai/project-pipeline/analytics.d.ts +1685 -0
- package/src/ai/project-pipeline/budget.schema.d.ts +78 -0
- package/src/ai/project-pipeline/catalog.schema.d.ts +188 -0
- package/src/ai/project-pipeline/catalog.validation.d.ts +4 -0
- package/src/ai/project-pipeline/commands.schema.d.ts +4381 -0
- package/src/ai/project-pipeline/compatibility.d.ts +5 -0
- package/src/ai/project-pipeline/compatibility.schema.d.ts +29 -0
- package/src/ai/project-pipeline/configuration-form.d.ts +17374 -0
- package/src/ai/project-pipeline/configuration.schema.d.ts +3774 -0
- package/src/ai/project-pipeline/contribution.schema.d.ts +6721 -0
- package/src/ai/project-pipeline/dataflow.validation.d.ts +6 -0
- package/src/ai/project-pipeline/definition.schema.d.ts +3808 -0
- package/src/ai/project-pipeline/definition.validation.d.ts +7 -0
- package/src/ai/project-pipeline/execution-statistics.d.ts +267 -0
- package/src/ai/project-pipeline/graph.model.d.ts +89 -0
- package/src/ai/project-pipeline/human-wait-statistics.d.ts +70 -0
- package/src/ai/project-pipeline/human-wait.schema.d.ts +26 -0
- package/src/ai/project-pipeline/index.d.ts +28 -0
- package/src/ai/project-pipeline/model-usage-statistics.d.ts +143 -0
- package/src/ai/project-pipeline/native-source.schema.d.ts +40 -0
- package/src/ai/project-pipeline/node.schema.d.ts +839 -0
- package/src/ai/project-pipeline/operation.schema.d.ts +800 -0
- package/src/ai/project-pipeline/portfolio.schema.d.ts +3817 -0
- package/src/ai/project-pipeline/primitives.schema.d.ts +138 -0
- package/src/ai/project-pipeline/projection.schema.d.ts +4715 -0
- package/src/ai/project-pipeline/provider-actions.schema.d.ts +2030 -0
- package/src/ai/project-pipeline/queue-statistics.d.ts +326 -0
- package/src/ai/project-pipeline/resources.schema.d.ts +73 -0
- package/src/ai/project-pipeline/runtime.schema.d.ts +934 -0
- package/src/ai/project-pipeline/statistics.d.ts +811 -0
- package/src/ai/project-task-graph.model.d.ts +18 -2
- package/src/ai/project-task-runtime.model.d.ts +924 -924
- package/src/ai/provider-credential-validation.model.d.ts +63 -0
- package/src/ai/template-installation.model.d.ts +27 -0
- package/src/ai/types.d.ts +6 -4
- package/src/ai/xpert-project-type.model.d.ts +15 -4
- package/src/ai/xpert-project.model.d.ts +9 -2
- package/src/analytics-query.model.d.ts +5 -0
- package/src/artifact-presentation.model.d.ts +28 -0
- package/src/index.d.ts +1 -0
- package/src/view-extension/model.d.ts +10 -1
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { z } from 'zod/v3';
|
|
2
|
+
/** Machine keys are independent of labels. Reserve mutation keys; record readers must still check own fields. */
|
|
3
|
+
export declare const projectPipelineKeySchema: z.ZodEffects<z.ZodString, string, string>;
|
|
4
|
+
export declare const projectPipelineRefSchema: z.ZodString;
|
|
5
|
+
export type ProjectPipelineJsonValue = string | number | boolean | null | ProjectPipelineJsonValue[] | {
|
|
6
|
+
[key: string]: ProjectPipelineJsonValue;
|
|
7
|
+
};
|
|
8
|
+
export declare const projectPipelineJsonSchema: z.ZodType<ProjectPipelineJsonValue, z.ZodTypeDef, ProjectPipelineJsonValue>;
|
|
9
|
+
export declare const projectPipelineParticipantKindSchema: z.ZodEnum<["assistant", "runtime_binding", "human", "service"]>;
|
|
10
|
+
export declare const projectPipelineRoleSchema: z.ZodObject<{
|
|
11
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
12
|
+
allowedKinds: z.ZodArray<z.ZodEnum<["assistant", "runtime_binding", "human", "service"]>, "many">;
|
|
13
|
+
}, "strict", z.ZodTypeAny, {
|
|
14
|
+
key: string;
|
|
15
|
+
allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
|
|
16
|
+
}, {
|
|
17
|
+
key: string;
|
|
18
|
+
allowedKinds: ("assistant" | "runtime_binding" | "human" | "service")[];
|
|
19
|
+
}>;
|
|
20
|
+
export declare const projectPipelineLaneSchema: z.ZodObject<{
|
|
21
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
22
|
+
roleKey: z.ZodEffects<z.ZodString, string, string>;
|
|
23
|
+
label: z.ZodString;
|
|
24
|
+
order: z.ZodNumber;
|
|
25
|
+
}, "strict", z.ZodTypeAny, {
|
|
26
|
+
key: string;
|
|
27
|
+
roleKey: string;
|
|
28
|
+
label: string;
|
|
29
|
+
order: number;
|
|
30
|
+
}, {
|
|
31
|
+
key: string;
|
|
32
|
+
roleKey: string;
|
|
33
|
+
label: string;
|
|
34
|
+
order: number;
|
|
35
|
+
}>;
|
|
36
|
+
/** Bundled presentation icons only; no executable content or external asset URLs. */
|
|
37
|
+
export declare const projectPipelineIconSchema: z.ZodEnum<["layers", "file-text", "folder-open", "list-checks", "search", "scan-search", "boxes", "package", "settings", "clipboard-check", "shield-check", "git-pull-request", "code", "test-tube", "git-merge", "calculator", "file-check", "truck"]>;
|
|
38
|
+
export declare const projectPipelineStageSchema: z.ZodObject<{
|
|
39
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
40
|
+
label: z.ZodString;
|
|
41
|
+
icon: z.ZodOptional<z.ZodEnum<["layers", "file-text", "folder-open", "list-checks", "search", "scan-search", "boxes", "package", "settings", "clipboard-check", "shield-check", "git-pull-request", "code", "test-tube", "git-merge", "calculator", "file-check", "truck"]>>;
|
|
42
|
+
order: z.ZodNumber;
|
|
43
|
+
}, "strict", z.ZodTypeAny, {
|
|
44
|
+
key: string;
|
|
45
|
+
label: string;
|
|
46
|
+
order: number;
|
|
47
|
+
icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
|
|
48
|
+
}, {
|
|
49
|
+
key: string;
|
|
50
|
+
label: string;
|
|
51
|
+
order: number;
|
|
52
|
+
icon?: "code" | "layers" | "file-text" | "folder-open" | "list-checks" | "search" | "scan-search" | "boxes" | "package" | "settings" | "clipboard-check" | "shield-check" | "git-pull-request" | "test-tube" | "git-merge" | "calculator" | "file-check" | "truck" | undefined;
|
|
53
|
+
}>;
|
|
54
|
+
export declare const projectPipelineOutputBindingSchema: z.ZodObject<{
|
|
55
|
+
from: z.ZodLiteral<"node_output">;
|
|
56
|
+
nodeKey: z.ZodEffects<z.ZodString, string, string>;
|
|
57
|
+
port: z.ZodEffects<z.ZodString, string, string>;
|
|
58
|
+
}, "strict", z.ZodTypeAny, {
|
|
59
|
+
from: "node_output";
|
|
60
|
+
nodeKey: string;
|
|
61
|
+
port: string;
|
|
62
|
+
}, {
|
|
63
|
+
from: "node_output";
|
|
64
|
+
nodeKey: string;
|
|
65
|
+
port: string;
|
|
66
|
+
}>;
|
|
67
|
+
export declare const projectPipelineInputBindingSchema: z.ZodDiscriminatedUnion<"from", [z.ZodObject<{
|
|
68
|
+
from: z.ZodLiteral<"subject">;
|
|
69
|
+
}, "strict", z.ZodTypeAny, {
|
|
70
|
+
from: "subject";
|
|
71
|
+
}, {
|
|
72
|
+
from: "subject";
|
|
73
|
+
}>, z.ZodObject<{
|
|
74
|
+
from: z.ZodLiteral<"parameter">;
|
|
75
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
76
|
+
}, "strict", z.ZodTypeAny, {
|
|
77
|
+
key: string;
|
|
78
|
+
from: "parameter";
|
|
79
|
+
}, {
|
|
80
|
+
key: string;
|
|
81
|
+
from: "parameter";
|
|
82
|
+
}>, z.ZodObject<{
|
|
83
|
+
from: z.ZodLiteral<"node_output">;
|
|
84
|
+
nodeKey: z.ZodEffects<z.ZodString, string, string>;
|
|
85
|
+
port: z.ZodEffects<z.ZodString, string, string>;
|
|
86
|
+
}, "strict", z.ZodTypeAny, {
|
|
87
|
+
from: "node_output";
|
|
88
|
+
nodeKey: string;
|
|
89
|
+
port: string;
|
|
90
|
+
}, {
|
|
91
|
+
from: "node_output";
|
|
92
|
+
nodeKey: string;
|
|
93
|
+
port: string;
|
|
94
|
+
}>, z.ZodObject<{
|
|
95
|
+
from: z.ZodLiteral<"collection">;
|
|
96
|
+
items: z.ZodArray<z.ZodObject<{
|
|
97
|
+
from: z.ZodLiteral<"node_output">;
|
|
98
|
+
nodeKey: z.ZodEffects<z.ZodString, string, string>;
|
|
99
|
+
port: z.ZodEffects<z.ZodString, string, string>;
|
|
100
|
+
}, "strict", z.ZodTypeAny, {
|
|
101
|
+
from: "node_output";
|
|
102
|
+
nodeKey: string;
|
|
103
|
+
port: string;
|
|
104
|
+
}, {
|
|
105
|
+
from: "node_output";
|
|
106
|
+
nodeKey: string;
|
|
107
|
+
port: string;
|
|
108
|
+
}>, "many">;
|
|
109
|
+
}, "strict", z.ZodTypeAny, {
|
|
110
|
+
from: "collection";
|
|
111
|
+
items: {
|
|
112
|
+
from: "node_output";
|
|
113
|
+
nodeKey: string;
|
|
114
|
+
port: string;
|
|
115
|
+
}[];
|
|
116
|
+
}, {
|
|
117
|
+
from: "collection";
|
|
118
|
+
items: {
|
|
119
|
+
from: "node_output";
|
|
120
|
+
nodeKey: string;
|
|
121
|
+
port: string;
|
|
122
|
+
}[];
|
|
123
|
+
}>]>;
|
|
124
|
+
export declare const projectPipelineEdgeSchema: z.ZodObject<{
|
|
125
|
+
from: z.ZodEffects<z.ZodString, string, string>;
|
|
126
|
+
to: z.ZodEffects<z.ZodString, string, string>;
|
|
127
|
+
outcome: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
128
|
+
}, "strict", z.ZodTypeAny, {
|
|
129
|
+
from: string;
|
|
130
|
+
to: string;
|
|
131
|
+
outcome?: string | undefined;
|
|
132
|
+
}, {
|
|
133
|
+
from: string;
|
|
134
|
+
to: string;
|
|
135
|
+
outcome?: string | undefined;
|
|
136
|
+
}>;
|
|
137
|
+
export type ProjectPipelineInputBinding = z.output<typeof projectPipelineInputBindingSchema>;
|
|
138
|
+
export type ProjectPipelineParticipantKind = z.output<typeof projectPipelineParticipantKindSchema>;
|