@xpert-ai/contracts 3.38.0 → 3.39.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 +191 -35
- package/index.esm.js +168 -37
- package/package.json +2 -2
- package/src/ai/assistant-capability.model.d.ts +21 -0
- package/src/ai/chat-event.model.d.ts +2 -1
- package/src/ai/chat-message-envelope.model.d.ts +2 -1
- package/src/ai/chat-message.model.d.ts +1 -1
- package/src/ai/chat.model.d.ts +14 -3
- package/src/ai/conversation-trail.model.d.ts +12 -12
- package/src/ai/execution-activity.model.d.ts +10 -10
- package/src/ai/index.d.ts +2 -1
- package/src/ai/project-pipeline/analytics.d.ts +4 -4
- package/src/ai/project-pipeline/commands.schema.d.ts +17 -11
- package/src/ai/project-pipeline/configuration-declaration.schema.d.ts +6 -6
- package/src/ai/project-pipeline/configuration-form.d.ts +47 -47
- package/src/ai/project-pipeline/configuration.schema.d.ts +8 -8
- package/src/ai/project-pipeline/contribution.schema.d.ts +18 -18
- 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/operation-actions.schema.d.ts +112 -0
- package/src/ai/project-pipeline/operation.schema.d.ts +3 -0
- package/src/ai/project-pipeline/portfolio.schema.d.ts +8 -8
- package/src/ai/project-pipeline/provider-actions.schema.d.ts +74 -74
- package/src/ai/project-pipeline/runtime.schema.d.ts +28 -28
- package/src/ai/project-task-graph.model.d.ts +2 -0
- package/src/ai/project-task-runtime.model.d.ts +39 -35
- package/src/ai/template-lifecycle.model.d.ts +2 -2
- package/src/ai/xpert-agent-execution.model.d.ts +3 -0
- package/src/ai/xpert-tool.model.d.ts +3 -3
- package/src/ai/xpert-toolset.model.d.ts +2 -0
- package/src/always-on/agent-output.model.d.ts +8 -7
- package/src/always-on/output-workbench.schema.d.ts +13 -10
- package/src/artifacts/artifact-presentation.model.d.ts +5 -1
- package/src/plugin-application.d.ts +83 -0
- package/src/user-notification.schema.d.ts +689 -97
- package/src/view-extension/index.d.ts +2 -0
- package/src/view-extension/project-workbench.d.ts +5 -0
- package/src/view-extension/workbench-entry.schema.d.ts +218 -0
- package/src/view-extension/workbench.d.ts +2 -0
|
@@ -103,13 +103,13 @@ export declare const projectPipelineBindingSchema: z.ZodObject<{
|
|
|
103
103
|
events: string[];
|
|
104
104
|
}>, "many">>;
|
|
105
105
|
}, "strict", z.ZodTypeAny, {
|
|
106
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
106
107
|
templateRef: string;
|
|
107
108
|
roleBindings: Record<string, {
|
|
108
109
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
109
110
|
selectionKey: string;
|
|
110
111
|
requiredCapabilities?: string[] | undefined;
|
|
111
112
|
}>;
|
|
112
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
113
113
|
executorBindings?: Record<string, {
|
|
114
114
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
115
115
|
roleKey: string;
|
|
@@ -133,13 +133,13 @@ export declare const projectPipelineBindingSchema: z.ZodObject<{
|
|
|
133
133
|
events: string[];
|
|
134
134
|
}[] | undefined;
|
|
135
135
|
}, {
|
|
136
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
136
137
|
templateRef: string;
|
|
137
138
|
roleBindings: Record<string, {
|
|
138
139
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
139
140
|
selectionKey: string;
|
|
140
141
|
requiredCapabilities?: string[] | undefined;
|
|
141
142
|
}>;
|
|
142
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
143
143
|
executorBindings?: Record<string, {
|
|
144
144
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
145
145
|
roleKey: string;
|
|
@@ -2542,13 +2542,13 @@ export declare const projectPipelineConfigurationSchema: z.ZodEffects<z.ZodObjec
|
|
|
2542
2542
|
events: string[];
|
|
2543
2543
|
}>, "many">>;
|
|
2544
2544
|
}, "strict", z.ZodTypeAny, {
|
|
2545
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
2545
2546
|
templateRef: string;
|
|
2546
2547
|
roleBindings: Record<string, {
|
|
2547
2548
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
2548
2549
|
selectionKey: string;
|
|
2549
2550
|
requiredCapabilities?: string[] | undefined;
|
|
2550
2551
|
}>;
|
|
2551
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
2552
2552
|
executorBindings?: Record<string, {
|
|
2553
2553
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
2554
2554
|
roleKey: string;
|
|
@@ -2572,13 +2572,13 @@ export declare const projectPipelineConfigurationSchema: z.ZodEffects<z.ZodObjec
|
|
|
2572
2572
|
events: string[];
|
|
2573
2573
|
}[] | undefined;
|
|
2574
2574
|
}, {
|
|
2575
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
2575
2576
|
templateRef: string;
|
|
2576
2577
|
roleBindings: Record<string, {
|
|
2577
2578
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
2578
2579
|
selectionKey: string;
|
|
2579
2580
|
requiredCapabilities?: string[] | undefined;
|
|
2580
2581
|
}>;
|
|
2581
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
2582
2582
|
executorBindings?: Record<string, {
|
|
2583
2583
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
2584
2584
|
roleKey: string;
|
|
@@ -2605,13 +2605,13 @@ export declare const projectPipelineConfigurationSchema: z.ZodEffects<z.ZodObjec
|
|
|
2605
2605
|
}, "strict", z.ZodTypeAny, {
|
|
2606
2606
|
schemaVersion: 1;
|
|
2607
2607
|
binding: {
|
|
2608
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
2608
2609
|
templateRef: string;
|
|
2609
2610
|
roleBindings: Record<string, {
|
|
2610
2611
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
2611
2612
|
selectionKey: string;
|
|
2612
2613
|
requiredCapabilities?: string[] | undefined;
|
|
2613
2614
|
}>;
|
|
2614
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
2615
2615
|
executorBindings?: Record<string, {
|
|
2616
2616
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
2617
2617
|
roleKey: string;
|
|
@@ -2930,13 +2930,13 @@ export declare const projectPipelineConfigurationSchema: z.ZodEffects<z.ZodObjec
|
|
|
2930
2930
|
}, {
|
|
2931
2931
|
schemaVersion: 1;
|
|
2932
2932
|
binding: {
|
|
2933
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
2933
2934
|
templateRef: string;
|
|
2934
2935
|
roleBindings: Record<string, {
|
|
2935
2936
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
2936
2937
|
selectionKey: string;
|
|
2937
2938
|
requiredCapabilities?: string[] | undefined;
|
|
2938
2939
|
}>;
|
|
2939
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
2940
2940
|
executorBindings?: Record<string, {
|
|
2941
2941
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
2942
2942
|
roleKey: string;
|
|
@@ -3255,13 +3255,13 @@ export declare const projectPipelineConfigurationSchema: z.ZodEffects<z.ZodObjec
|
|
|
3255
3255
|
}>, {
|
|
3256
3256
|
schemaVersion: 1;
|
|
3257
3257
|
binding: {
|
|
3258
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
3258
3259
|
templateRef: string;
|
|
3259
3260
|
roleBindings: Record<string, {
|
|
3260
3261
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
3261
3262
|
selectionKey: string;
|
|
3262
3263
|
requiredCapabilities?: string[] | undefined;
|
|
3263
3264
|
}>;
|
|
3264
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
3265
3265
|
executorBindings?: Record<string, {
|
|
3266
3266
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
3267
3267
|
roleKey: string;
|
|
@@ -3580,13 +3580,13 @@ export declare const projectPipelineConfigurationSchema: z.ZodEffects<z.ZodObjec
|
|
|
3580
3580
|
}, {
|
|
3581
3581
|
schemaVersion: 1;
|
|
3582
3582
|
binding: {
|
|
3583
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
3583
3584
|
templateRef: string;
|
|
3584
3585
|
roleBindings: Record<string, {
|
|
3585
3586
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
3586
3587
|
selectionKey: string;
|
|
3587
3588
|
requiredCapabilities?: string[] | undefined;
|
|
3588
3589
|
}>;
|
|
3589
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
3590
3590
|
executorBindings?: Record<string, {
|
|
3591
3591
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
3592
3592
|
roleKey: string;
|
|
@@ -2379,13 +2379,13 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
2379
2379
|
events: string[];
|
|
2380
2380
|
}>, "many">>;
|
|
2381
2381
|
}, "strict", z.ZodTypeAny, {
|
|
2382
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
2382
2383
|
templateRef: string;
|
|
2383
2384
|
roleBindings: Record<string, {
|
|
2384
2385
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
2385
2386
|
selectionKey: string;
|
|
2386
2387
|
requiredCapabilities?: string[] | undefined;
|
|
2387
2388
|
}>;
|
|
2388
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
2389
2389
|
executorBindings?: Record<string, {
|
|
2390
2390
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
2391
2391
|
roleKey: string;
|
|
@@ -2409,13 +2409,13 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
2409
2409
|
events: string[];
|
|
2410
2410
|
}[] | undefined;
|
|
2411
2411
|
}, {
|
|
2412
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
2412
2413
|
templateRef: string;
|
|
2413
2414
|
roleBindings: Record<string, {
|
|
2414
2415
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
2415
2416
|
selectionKey: string;
|
|
2416
2417
|
requiredCapabilities?: string[] | undefined;
|
|
2417
2418
|
}>;
|
|
2418
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
2419
2419
|
executorBindings?: Record<string, {
|
|
2420
2420
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
2421
2421
|
roleKey: string;
|
|
@@ -2481,13 +2481,13 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
2481
2481
|
}, "strict", z.ZodTypeAny, {
|
|
2482
2482
|
schemaVersion: 1;
|
|
2483
2483
|
binding: {
|
|
2484
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
2484
2485
|
templateRef: string;
|
|
2485
2486
|
roleBindings: Record<string, {
|
|
2486
2487
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
2487
2488
|
selectionKey: string;
|
|
2488
2489
|
requiredCapabilities?: string[] | undefined;
|
|
2489
2490
|
}>;
|
|
2490
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
2491
2491
|
executorBindings?: Record<string, {
|
|
2492
2492
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
2493
2493
|
roleKey: string;
|
|
@@ -2814,13 +2814,13 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
2814
2814
|
}, {
|
|
2815
2815
|
schemaVersion: 1;
|
|
2816
2816
|
binding: {
|
|
2817
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
2817
2818
|
templateRef: string;
|
|
2818
2819
|
roleBindings: Record<string, {
|
|
2819
2820
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
2820
2821
|
selectionKey: string;
|
|
2821
2822
|
requiredCapabilities?: string[] | undefined;
|
|
2822
2823
|
}>;
|
|
2823
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
2824
2824
|
executorBindings?: Record<string, {
|
|
2825
2825
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
2826
2826
|
roleKey: string;
|
|
@@ -3147,13 +3147,13 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
3147
3147
|
}>, {
|
|
3148
3148
|
schemaVersion: 1;
|
|
3149
3149
|
binding: {
|
|
3150
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
3150
3151
|
templateRef: string;
|
|
3151
3152
|
roleBindings: Record<string, {
|
|
3152
3153
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
3153
3154
|
selectionKey: string;
|
|
3154
3155
|
requiredCapabilities?: string[] | undefined;
|
|
3155
3156
|
}>;
|
|
3156
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
3157
3157
|
executorBindings?: Record<string, {
|
|
3158
3158
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
3159
3159
|
roleKey: string;
|
|
@@ -3480,13 +3480,13 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
3480
3480
|
}, {
|
|
3481
3481
|
schemaVersion: 1;
|
|
3482
3482
|
binding: {
|
|
3483
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
3483
3484
|
templateRef: string;
|
|
3484
3485
|
roleBindings: Record<string, {
|
|
3485
3486
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
3486
3487
|
selectionKey: string;
|
|
3487
3488
|
requiredCapabilities?: string[] | undefined;
|
|
3488
3489
|
}>;
|
|
3489
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
3490
3490
|
executorBindings?: Record<string, {
|
|
3491
3491
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
3492
3492
|
roleKey: string;
|
|
@@ -4464,7 +4464,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
4464
4464
|
} | undefined;
|
|
4465
4465
|
}>]>, "many">;
|
|
4466
4466
|
}, "strict", z.ZodTypeAny, {
|
|
4467
|
-
templateRef: string;
|
|
4468
4467
|
parameters: ({
|
|
4469
4468
|
key: string;
|
|
4470
4469
|
type: "boolean";
|
|
@@ -4554,6 +4553,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
4554
4553
|
zh_Hans?: string | undefined;
|
|
4555
4554
|
} | undefined;
|
|
4556
4555
|
})[];
|
|
4556
|
+
templateRef: string;
|
|
4557
4557
|
description: {
|
|
4558
4558
|
en_US: string;
|
|
4559
4559
|
zh_Hans?: string | undefined;
|
|
@@ -4586,7 +4586,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
4586
4586
|
} | undefined;
|
|
4587
4587
|
}[] | undefined;
|
|
4588
4588
|
}, {
|
|
4589
|
-
templateRef: string;
|
|
4590
4589
|
parameters: ({
|
|
4591
4590
|
key: string;
|
|
4592
4591
|
type: "boolean";
|
|
@@ -4676,6 +4675,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
4676
4675
|
zh_Hans?: string | undefined;
|
|
4677
4676
|
} | undefined;
|
|
4678
4677
|
})[];
|
|
4678
|
+
templateRef: string;
|
|
4679
4679
|
description: {
|
|
4680
4680
|
en_US: string;
|
|
4681
4681
|
zh_Hans?: string | undefined;
|
|
@@ -4708,7 +4708,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
4708
4708
|
} | undefined;
|
|
4709
4709
|
}[] | undefined;
|
|
4710
4710
|
}>, {
|
|
4711
|
-
templateRef: string;
|
|
4712
4711
|
parameters: ({
|
|
4713
4712
|
key: string;
|
|
4714
4713
|
type: "boolean";
|
|
@@ -4798,6 +4797,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
4798
4797
|
zh_Hans?: string | undefined;
|
|
4799
4798
|
} | undefined;
|
|
4800
4799
|
})[];
|
|
4800
|
+
templateRef: string;
|
|
4801
4801
|
description: {
|
|
4802
4802
|
en_US: string;
|
|
4803
4803
|
zh_Hans?: string | undefined;
|
|
@@ -4830,7 +4830,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
4830
4830
|
} | undefined;
|
|
4831
4831
|
}[] | undefined;
|
|
4832
4832
|
}, {
|
|
4833
|
-
templateRef: string;
|
|
4834
4833
|
parameters: ({
|
|
4835
4834
|
key: string;
|
|
4836
4835
|
type: "boolean";
|
|
@@ -4920,6 +4919,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
4920
4919
|
zh_Hans?: string | undefined;
|
|
4921
4920
|
} | undefined;
|
|
4922
4921
|
})[];
|
|
4922
|
+
templateRef: string;
|
|
4923
4923
|
description: {
|
|
4924
4924
|
en_US: string;
|
|
4925
4925
|
zh_Hans?: string | undefined;
|
|
@@ -4957,13 +4957,13 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
4957
4957
|
configurations: {
|
|
4958
4958
|
schemaVersion: 1;
|
|
4959
4959
|
binding: {
|
|
4960
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
4960
4961
|
templateRef: string;
|
|
4961
4962
|
roleBindings: Record<string, {
|
|
4962
4963
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
4963
4964
|
selectionKey: string;
|
|
4964
4965
|
requiredCapabilities?: string[] | undefined;
|
|
4965
4966
|
}>;
|
|
4966
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
4967
4967
|
executorBindings?: Record<string, {
|
|
4968
4968
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
4969
4969
|
roleKey: string;
|
|
@@ -5341,7 +5341,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
5341
5341
|
outputs: Record<string, string>;
|
|
5342
5342
|
})[];
|
|
5343
5343
|
forms?: {
|
|
5344
|
-
templateRef: string;
|
|
5345
5344
|
parameters: ({
|
|
5346
5345
|
key: string;
|
|
5347
5346
|
type: "boolean";
|
|
@@ -5431,6 +5430,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
5431
5430
|
zh_Hans?: string | undefined;
|
|
5432
5431
|
} | undefined;
|
|
5433
5432
|
})[];
|
|
5433
|
+
templateRef: string;
|
|
5434
5434
|
description: {
|
|
5435
5435
|
en_US: string;
|
|
5436
5436
|
zh_Hans?: string | undefined;
|
|
@@ -5468,13 +5468,13 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
5468
5468
|
configurations: {
|
|
5469
5469
|
schemaVersion: 1;
|
|
5470
5470
|
binding: {
|
|
5471
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
5471
5472
|
templateRef: string;
|
|
5472
5473
|
roleBindings: Record<string, {
|
|
5473
5474
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
5474
5475
|
selectionKey: string;
|
|
5475
5476
|
requiredCapabilities?: string[] | undefined;
|
|
5476
5477
|
}>;
|
|
5477
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
5478
5478
|
executorBindings?: Record<string, {
|
|
5479
5479
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
5480
5480
|
roleKey: string;
|
|
@@ -5852,7 +5852,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
5852
5852
|
outputs: Record<string, string>;
|
|
5853
5853
|
})[];
|
|
5854
5854
|
forms?: {
|
|
5855
|
-
templateRef: string;
|
|
5856
5855
|
parameters: ({
|
|
5857
5856
|
key: string;
|
|
5858
5857
|
type: "boolean";
|
|
@@ -5942,6 +5941,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
5942
5941
|
zh_Hans?: string | undefined;
|
|
5943
5942
|
} | undefined;
|
|
5944
5943
|
})[];
|
|
5944
|
+
templateRef: string;
|
|
5945
5945
|
description: {
|
|
5946
5946
|
en_US: string;
|
|
5947
5947
|
zh_Hans?: string | undefined;
|
|
@@ -5979,13 +5979,13 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
5979
5979
|
configurations: {
|
|
5980
5980
|
schemaVersion: 1;
|
|
5981
5981
|
binding: {
|
|
5982
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
5982
5983
|
templateRef: string;
|
|
5983
5984
|
roleBindings: Record<string, {
|
|
5984
5985
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
5985
5986
|
selectionKey: string;
|
|
5986
5987
|
requiredCapabilities?: string[] | undefined;
|
|
5987
5988
|
}>;
|
|
5988
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
5989
5989
|
executorBindings?: Record<string, {
|
|
5990
5990
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
5991
5991
|
roleKey: string;
|
|
@@ -6363,7 +6363,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
6363
6363
|
outputs: Record<string, string>;
|
|
6364
6364
|
})[];
|
|
6365
6365
|
forms?: {
|
|
6366
|
-
templateRef: string;
|
|
6367
6366
|
parameters: ({
|
|
6368
6367
|
key: string;
|
|
6369
6368
|
type: "boolean";
|
|
@@ -6453,6 +6452,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
6453
6452
|
zh_Hans?: string | undefined;
|
|
6454
6453
|
} | undefined;
|
|
6455
6454
|
})[];
|
|
6455
|
+
templateRef: string;
|
|
6456
6456
|
description: {
|
|
6457
6457
|
en_US: string;
|
|
6458
6458
|
zh_Hans?: string | undefined;
|
|
@@ -6490,13 +6490,13 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
6490
6490
|
configurations: {
|
|
6491
6491
|
schemaVersion: 1;
|
|
6492
6492
|
binding: {
|
|
6493
|
+
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
6493
6494
|
templateRef: string;
|
|
6494
6495
|
roleBindings: Record<string, {
|
|
6495
6496
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
6496
6497
|
selectionKey: string;
|
|
6497
6498
|
requiredCapabilities?: string[] | undefined;
|
|
6498
6499
|
}>;
|
|
6499
|
-
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
6500
6500
|
executorBindings?: Record<string, {
|
|
6501
6501
|
kind: "assistant" | "runtime_binding" | "human" | "service";
|
|
6502
6502
|
roleKey: string;
|
|
@@ -6874,7 +6874,6 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
6874
6874
|
outputs: Record<string, string>;
|
|
6875
6875
|
})[];
|
|
6876
6876
|
forms?: {
|
|
6877
|
-
templateRef: string;
|
|
6878
6877
|
parameters: ({
|
|
6879
6878
|
key: string;
|
|
6880
6879
|
type: "boolean";
|
|
@@ -6964,6 +6963,7 @@ export declare const projectPipelineContributionSchema: z.ZodEffects<z.ZodObject
|
|
|
6964
6963
|
zh_Hans?: string | undefined;
|
|
6965
6964
|
} | undefined;
|
|
6966
6965
|
})[];
|
|
6966
|
+
templateRef: string;
|
|
6967
6967
|
description: {
|
|
6968
6968
|
en_US: string;
|
|
6969
6969
|
zh_Hans?: string | undefined;
|
|
@@ -92,8 +92,8 @@ export declare const pipelineModelUsageFactSchema: z.ZodObject<{
|
|
|
92
92
|
priceAmount: z.ZodNullable<z.ZodNumber>;
|
|
93
93
|
}, "strip", z.ZodTypeAny, {
|
|
94
94
|
revision: number;
|
|
95
|
-
requestId: string;
|
|
96
95
|
provider: string;
|
|
96
|
+
requestId: string;
|
|
97
97
|
totalTokens: number | null;
|
|
98
98
|
model: string;
|
|
99
99
|
originExecutionId: string;
|
|
@@ -106,8 +106,8 @@ export declare const pipelineModelUsageFactSchema: z.ZodObject<{
|
|
|
106
106
|
priceAmount: number | null;
|
|
107
107
|
}, {
|
|
108
108
|
revision: number;
|
|
109
|
-
requestId: string;
|
|
110
109
|
provider: string;
|
|
110
|
+
requestId: string;
|
|
111
111
|
totalTokens: number | null;
|
|
112
112
|
model: string;
|
|
113
113
|
originExecutionId: string;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { z } from 'zod/v3';
|
|
2
|
+
/** Human actions belong to the operation's owning domain, independently of pipeline decisions. */
|
|
3
|
+
export declare const projectPipelineOperationActionsSchema: z.ZodObject<{
|
|
4
|
+
operationId: z.ZodNullable<z.ZodString>;
|
|
5
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
6
|
+
en_US: z.ZodString;
|
|
7
|
+
zh_Hans: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, "strict", z.ZodTypeAny, {
|
|
9
|
+
en_US: string;
|
|
10
|
+
zh_Hans?: string | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
en_US: string;
|
|
13
|
+
zh_Hans?: string | undefined;
|
|
14
|
+
}>, "many">;
|
|
15
|
+
items: z.ZodArray<z.ZodObject<{
|
|
16
|
+
key: z.ZodString;
|
|
17
|
+
version: z.ZodString;
|
|
18
|
+
title: z.ZodObject<{
|
|
19
|
+
en_US: z.ZodString;
|
|
20
|
+
zh_Hans: z.ZodOptional<z.ZodString>;
|
|
21
|
+
}, "strict", z.ZodTypeAny, {
|
|
22
|
+
en_US: string;
|
|
23
|
+
zh_Hans?: string | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
en_US: string;
|
|
26
|
+
zh_Hans?: string | undefined;
|
|
27
|
+
}>;
|
|
28
|
+
confirmation: z.ZodObject<{
|
|
29
|
+
en_US: z.ZodString;
|
|
30
|
+
zh_Hans: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, "strict", z.ZodTypeAny, {
|
|
32
|
+
en_US: string;
|
|
33
|
+
zh_Hans?: string | undefined;
|
|
34
|
+
}, {
|
|
35
|
+
en_US: string;
|
|
36
|
+
zh_Hans?: string | undefined;
|
|
37
|
+
}>;
|
|
38
|
+
}, "strict", z.ZodTypeAny, {
|
|
39
|
+
key: string;
|
|
40
|
+
title: {
|
|
41
|
+
en_US: string;
|
|
42
|
+
zh_Hans?: string | undefined;
|
|
43
|
+
};
|
|
44
|
+
version: string;
|
|
45
|
+
confirmation: {
|
|
46
|
+
en_US: string;
|
|
47
|
+
zh_Hans?: string | undefined;
|
|
48
|
+
};
|
|
49
|
+
}, {
|
|
50
|
+
key: string;
|
|
51
|
+
title: {
|
|
52
|
+
en_US: string;
|
|
53
|
+
zh_Hans?: string | undefined;
|
|
54
|
+
};
|
|
55
|
+
version: string;
|
|
56
|
+
confirmation: {
|
|
57
|
+
en_US: string;
|
|
58
|
+
zh_Hans?: string | undefined;
|
|
59
|
+
};
|
|
60
|
+
}>, "many">;
|
|
61
|
+
}, "strict", z.ZodTypeAny, {
|
|
62
|
+
items: {
|
|
63
|
+
key: string;
|
|
64
|
+
title: {
|
|
65
|
+
en_US: string;
|
|
66
|
+
zh_Hans?: string | undefined;
|
|
67
|
+
};
|
|
68
|
+
version: string;
|
|
69
|
+
confirmation: {
|
|
70
|
+
en_US: string;
|
|
71
|
+
zh_Hans?: string | undefined;
|
|
72
|
+
};
|
|
73
|
+
}[];
|
|
74
|
+
operationId: string | null;
|
|
75
|
+
messages: {
|
|
76
|
+
en_US: string;
|
|
77
|
+
zh_Hans?: string | undefined;
|
|
78
|
+
}[];
|
|
79
|
+
}, {
|
|
80
|
+
items: {
|
|
81
|
+
key: string;
|
|
82
|
+
title: {
|
|
83
|
+
en_US: string;
|
|
84
|
+
zh_Hans?: string | undefined;
|
|
85
|
+
};
|
|
86
|
+
version: string;
|
|
87
|
+
confirmation: {
|
|
88
|
+
en_US: string;
|
|
89
|
+
zh_Hans?: string | undefined;
|
|
90
|
+
};
|
|
91
|
+
}[];
|
|
92
|
+
operationId: string | null;
|
|
93
|
+
messages: {
|
|
94
|
+
en_US: string;
|
|
95
|
+
zh_Hans?: string | undefined;
|
|
96
|
+
}[];
|
|
97
|
+
}>;
|
|
98
|
+
export declare const projectPipelineOperationActionSchema: z.ZodObject<{
|
|
99
|
+
operationId: z.ZodString;
|
|
100
|
+
key: z.ZodString;
|
|
101
|
+
version: z.ZodString;
|
|
102
|
+
}, "strict", z.ZodTypeAny, {
|
|
103
|
+
key: string;
|
|
104
|
+
version: string;
|
|
105
|
+
operationId: string;
|
|
106
|
+
}, {
|
|
107
|
+
key: string;
|
|
108
|
+
version: string;
|
|
109
|
+
operationId: string;
|
|
110
|
+
}>;
|
|
111
|
+
export type ProjectPipelineOperationActions = z.output<typeof projectPipelineOperationActionsSchema>;
|
|
112
|
+
export type ProjectPipelineOperationAction = z.output<typeof projectPipelineOperationActionSchema>;
|
|
@@ -207,6 +207,7 @@ export declare const projectPipelineRuntimeExecutionSchema: z.ZodObject<{
|
|
|
207
207
|
}>;
|
|
208
208
|
export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
209
209
|
status: z.ZodLiteral<"pending">;
|
|
210
|
+
code: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
210
211
|
control: z.ZodOptional<z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
211
212
|
source: z.ZodLiteral<"unavailable">;
|
|
212
213
|
subject: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
@@ -558,6 +559,7 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
|
|
|
558
559
|
}, "strict", z.ZodTypeAny, {
|
|
559
560
|
status: "pending";
|
|
560
561
|
receiptKey: string;
|
|
562
|
+
code?: string | undefined;
|
|
561
563
|
execution?: {
|
|
562
564
|
kind: "assistant_task";
|
|
563
565
|
status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
|
|
@@ -658,6 +660,7 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
|
|
|
658
660
|
}, {
|
|
659
661
|
status: "pending";
|
|
660
662
|
receiptKey: string;
|
|
663
|
+
code?: string | undefined;
|
|
661
664
|
execution?: {
|
|
662
665
|
kind: "assistant_task";
|
|
663
666
|
status: "unknown" | "failed" | "cancelled" | "running" | "waiting" | "succeeded" | "queued";
|
|
@@ -516,8 +516,8 @@ export declare const projectPipelinePortfolioSchema: z.ZodObject<{
|
|
|
516
516
|
};
|
|
517
517
|
}>;
|
|
518
518
|
}, "strict", z.ZodTypeAny, {
|
|
519
|
-
title: string;
|
|
520
519
|
id: string;
|
|
520
|
+
title: string;
|
|
521
521
|
current: {
|
|
522
522
|
work: {
|
|
523
523
|
unknown: number;
|
|
@@ -569,8 +569,8 @@ export declare const projectPipelinePortfolioSchema: z.ZodObject<{
|
|
|
569
569
|
authority: "provider" | "platform";
|
|
570
570
|
runState: string;
|
|
571
571
|
}, {
|
|
572
|
-
title: string;
|
|
573
572
|
id: string;
|
|
573
|
+
title: string;
|
|
574
574
|
current: {
|
|
575
575
|
work: {
|
|
576
576
|
unknown: number;
|
|
@@ -1887,8 +1887,8 @@ export declare const projectPipelinePortfolioSchema: z.ZodObject<{
|
|
|
1887
1887
|
};
|
|
1888
1888
|
}>;
|
|
1889
1889
|
}, "strict", z.ZodTypeAny, {
|
|
1890
|
-
title: string;
|
|
1891
1890
|
id: string;
|
|
1891
|
+
title: string;
|
|
1892
1892
|
current: {
|
|
1893
1893
|
work: {
|
|
1894
1894
|
unknown: number;
|
|
@@ -1940,8 +1940,8 @@ export declare const projectPipelinePortfolioSchema: z.ZodObject<{
|
|
|
1940
1940
|
authority: "provider" | "platform";
|
|
1941
1941
|
runState: string;
|
|
1942
1942
|
}, {
|
|
1943
|
-
title: string;
|
|
1944
1943
|
id: string;
|
|
1944
|
+
title: string;
|
|
1945
1945
|
current: {
|
|
1946
1946
|
work: {
|
|
1947
1947
|
unknown: number;
|
|
@@ -2658,8 +2658,8 @@ export declare const projectPipelinePortfolioSchema: z.ZodObject<{
|
|
|
2658
2658
|
to: string;
|
|
2659
2659
|
};
|
|
2660
2660
|
byInstance: {
|
|
2661
|
-
title: string;
|
|
2662
2661
|
id: string;
|
|
2662
|
+
title: string;
|
|
2663
2663
|
current: {
|
|
2664
2664
|
work: {
|
|
2665
2665
|
unknown: number;
|
|
@@ -2890,8 +2890,8 @@ export declare const projectPipelinePortfolioSchema: z.ZodObject<{
|
|
|
2890
2890
|
to: string;
|
|
2891
2891
|
};
|
|
2892
2892
|
byInstance: {
|
|
2893
|
-
title: string;
|
|
2894
2893
|
id: string;
|
|
2894
|
+
title: string;
|
|
2895
2895
|
current: {
|
|
2896
2896
|
work: {
|
|
2897
2897
|
unknown: number;
|
|
@@ -3245,8 +3245,8 @@ export declare const projectPipelinePortfolioSchema: z.ZodObject<{
|
|
|
3245
3245
|
to: string;
|
|
3246
3246
|
};
|
|
3247
3247
|
byInstance: {
|
|
3248
|
-
title: string;
|
|
3249
3248
|
id: string;
|
|
3249
|
+
title: string;
|
|
3250
3250
|
current: {
|
|
3251
3251
|
work: {
|
|
3252
3252
|
unknown: number;
|
|
@@ -3600,8 +3600,8 @@ export declare const projectPipelinePortfolioSchema: z.ZodObject<{
|
|
|
3600
3600
|
to: string;
|
|
3601
3601
|
};
|
|
3602
3602
|
byInstance: {
|
|
3603
|
-
title: string;
|
|
3604
3603
|
id: string;
|
|
3604
|
+
title: string;
|
|
3605
3605
|
current: {
|
|
3606
3606
|
work: {
|
|
3607
3607
|
unknown: number;
|