@xpert-ai/contracts 3.33.1 → 3.35.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 +545 -168
- package/index.esm.js +517 -169
- package/package.json +2 -2
- package/src/ai/ai.model.d.ts +1 -1
- package/src/ai/chat-group-entity.model.d.ts +1 -1
- package/src/ai/chat-group.model.d.ts +116 -3
- package/src/ai/conversation-trail.model.d.ts +2 -2
- package/src/ai/evolution/baseline.d.ts +12 -0
- package/src/ai/evolution/candidate.d.ts +20 -0
- package/src/ai/evolution/capability-version.d.ts +12 -0
- package/src/ai/evolution/change.d.ts +40 -2
- package/src/ai/evolution/evaluation.d.ts +26 -0
- package/src/ai/evolution/example.d.ts +5 -0
- package/src/ai/evolution/experience.d.ts +3 -0
- package/src/ai/evolution/governance.d.ts +29 -3
- package/src/ai/evolution/index.d.ts +1 -0
- package/src/ai/evolution/learning-event.d.ts +13 -0
- package/src/ai/evolution/learning-review.d.ts +61 -0
- package/src/ai/evolution/persistence.d.ts +7 -2
- package/src/ai/evolution/provider.d.ts +38 -0
- package/src/ai/evolution/release.d.ts +24 -6
- package/src/ai/evolution/runtime.d.ts +19 -0
- package/src/ai/evolution/strategy.d.ts +10 -0
- package/src/ai/evolution/target.d.ts +34 -6
- package/src/ai/execution-control-evidence.schema.d.ts +46 -4
- package/src/ai/index.d.ts +4 -0
- package/src/ai/model-execution.model.d.ts +2 -0
- package/src/ai/project-configuration-view.model.d.ts +77 -0
- package/src/ai/project-pipeline/analytics.d.ts +5 -33
- package/src/ai/project-pipeline/budget.schema.d.ts +38 -0
- package/src/ai/project-pipeline/commands.schema.d.ts +10 -10
- package/src/ai/project-pipeline/configuration-form.d.ts +2 -2
- package/src/ai/project-pipeline/index.d.ts +1 -0
- package/src/ai/project-pipeline/model-usage-statistics.d.ts +6 -26
- package/src/ai/project-pipeline/operation.schema.d.ts +370 -40
- package/src/ai/project-pipeline/plugin-deployment.schema.d.ts +152 -0
- package/src/ai/project-pipeline/portfolio.schema.d.ts +14 -86
- package/src/ai/project-pipeline/provider-actions.schema.d.ts +12 -12
- package/src/ai/project-pipeline/runtime.schema.d.ts +2 -2
- package/src/ai/project-pipeline/statistics.d.ts +5 -33
- package/src/ai/project-task-runtime.model.d.ts +1329 -78
- package/src/ai/project-type-configuration.model.d.ts +48 -0
- package/src/ai/xpert-agent-execution.model.d.ts +16 -2
- package/src/ai/xpert-project-type.model.d.ts +3 -0
- package/src/ai/xpert-project.model.d.ts +3 -1
- package/src/ai/xpert-task.model.d.ts +16 -0
- package/src/ai/xpert.model.d.ts +2 -0
- package/src/app-platform.d.ts +36 -36
- package/src/artifact-group-reference.model.d.ts +71 -0
- package/src/artifact-use-grant-command.d.ts +54 -0
- package/src/artifact-use-grant.model.d.ts +62 -0
- package/src/content-resource.model.d.ts +3 -0
- package/src/conversation-resource.model.d.ts +63 -0
- package/src/desktop-shell.model.d.ts +13 -1
- package/src/icon-definition.schema.d.ts +24 -0
- package/src/index.d.ts +6 -0
- package/src/plugin-management.d.ts +13 -0
- package/src/plugin.d.ts +2 -0
- package/src/resource-analysis.model.d.ts +140 -0
- package/src/runtime-control.d.ts +6 -0
- package/src/types.d.ts +1 -2
- package/src/user-notification.schema.d.ts +29 -0
- package/src/user.model.d.ts +11 -0
- package/src/view-extension/client-commands.d.ts +176 -0
- package/src/view-extension/context-event.d.ts +66 -0
- package/src/view-extension/index.d.ts +2 -0
- package/src/view-extension/model.d.ts +2 -158
- package/src/view-extension/workbench-open.d.ts +17 -2
|
@@ -1406,9 +1406,9 @@ export declare const projectPipelineCatalogConfigureSchema: z.ZodObject<{
|
|
|
1406
1406
|
}>>;
|
|
1407
1407
|
parameters: z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodType<import("./primitives.schema").ProjectPipelineJsonValue, z.ZodTypeDef, import("./primitives.schema").ProjectPipelineJsonValue>>;
|
|
1408
1408
|
}, "strict", z.ZodTypeAny, {
|
|
1409
|
+
requestId: string;
|
|
1409
1410
|
templateRef: string;
|
|
1410
1411
|
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
1411
|
-
requestId: string;
|
|
1412
1412
|
contributionKey: string;
|
|
1413
1413
|
assistants: Record<string, string>;
|
|
1414
1414
|
nativeModelBudget?: {
|
|
@@ -1421,9 +1421,9 @@ export declare const projectPipelineCatalogConfigureSchema: z.ZodObject<{
|
|
|
1421
1421
|
bindingId: string;
|
|
1422
1422
|
}> | undefined;
|
|
1423
1423
|
}, {
|
|
1424
|
+
requestId: string;
|
|
1424
1425
|
templateRef: string;
|
|
1425
1426
|
parameters: Record<string, import("./primitives.schema").ProjectPipelineJsonValue>;
|
|
1426
|
-
requestId: string;
|
|
1427
1427
|
contributionKey: string;
|
|
1428
1428
|
assistants: Record<string, string>;
|
|
1429
1429
|
nativeModelBudget?: {
|
|
@@ -10,19 +10,7 @@ export declare const pipelineModelUsageStatisticsSchema: z.ZodObject<{
|
|
|
10
10
|
outputTokens: z.ZodNullable<z.ZodNumber>;
|
|
11
11
|
totalTokens: z.ZodNullable<z.ZodNumber>;
|
|
12
12
|
unpricedCalls: z.ZodNumber;
|
|
13
|
-
|
|
14
|
-
currency: z.ZodString;
|
|
15
|
-
amount: z.ZodNumber;
|
|
16
|
-
calls: z.ZodNumber;
|
|
17
|
-
}, "strict", z.ZodTypeAny, {
|
|
18
|
-
calls: number;
|
|
19
|
-
currency: string;
|
|
20
|
-
amount: number;
|
|
21
|
-
}, {
|
|
22
|
-
calls: number;
|
|
23
|
-
currency: string;
|
|
24
|
-
amount: number;
|
|
25
|
-
}>, "many">;
|
|
13
|
+
chargedPoints: z.ZodNullable<z.ZodNumber>;
|
|
26
14
|
byModel: z.ZodArray<z.ZodObject<{
|
|
27
15
|
provider: z.ZodString;
|
|
28
16
|
model: z.ZodString;
|
|
@@ -56,11 +44,7 @@ export declare const pipelineModelUsageStatisticsSchema: z.ZodObject<{
|
|
|
56
44
|
outputTokens: number | null;
|
|
57
45
|
totalTokens: number | null;
|
|
58
46
|
unpricedCalls: number;
|
|
59
|
-
|
|
60
|
-
calls: number;
|
|
61
|
-
currency: string;
|
|
62
|
-
amount: number;
|
|
63
|
-
}[];
|
|
47
|
+
chargedPoints: number | null;
|
|
64
48
|
byModel: {
|
|
65
49
|
provider: string;
|
|
66
50
|
calls: number;
|
|
@@ -80,11 +64,7 @@ export declare const pipelineModelUsageStatisticsSchema: z.ZodObject<{
|
|
|
80
64
|
outputTokens: number | null;
|
|
81
65
|
totalTokens: number | null;
|
|
82
66
|
unpricedCalls: number;
|
|
83
|
-
|
|
84
|
-
calls: number;
|
|
85
|
-
currency: string;
|
|
86
|
-
amount: number;
|
|
87
|
-
}[];
|
|
67
|
+
chargedPoints: number | null;
|
|
88
68
|
byModel: {
|
|
89
69
|
provider: string;
|
|
90
70
|
calls: number;
|
|
@@ -112,11 +92,11 @@ export declare const pipelineModelUsageFactSchema: z.ZodObject<{
|
|
|
112
92
|
priceAmount: z.ZodNullable<z.ZodNumber>;
|
|
113
93
|
}, "strip", z.ZodTypeAny, {
|
|
114
94
|
provider: string;
|
|
95
|
+
requestId: string;
|
|
115
96
|
totalTokens: number | null;
|
|
116
97
|
model: string;
|
|
117
98
|
originExecutionId: string;
|
|
118
99
|
providerScopeId: string;
|
|
119
|
-
requestId: string;
|
|
120
100
|
metricKey: string;
|
|
121
101
|
revision: number;
|
|
122
102
|
promptTokens: number | null;
|
|
@@ -126,11 +106,11 @@ export declare const pipelineModelUsageFactSchema: z.ZodObject<{
|
|
|
126
106
|
priceAmount: number | null;
|
|
127
107
|
}, {
|
|
128
108
|
provider: string;
|
|
109
|
+
requestId: string;
|
|
129
110
|
totalTokens: number | null;
|
|
130
111
|
model: string;
|
|
131
112
|
originExecutionId: string;
|
|
132
113
|
providerScopeId: string;
|
|
133
|
-
requestId: string;
|
|
134
114
|
metricKey: string;
|
|
135
115
|
revision: number;
|
|
136
116
|
promptTokens: number | null;
|
|
@@ -140,4 +120,4 @@ export declare const pipelineModelUsageFactSchema: z.ZodObject<{
|
|
|
140
120
|
priceAmount: number | null;
|
|
141
121
|
}>;
|
|
142
122
|
export type PipelineModelUsageFact = z.output<typeof pipelineModelUsageFactSchema>;
|
|
143
|
-
export declare function pipelineModelUsageStatistics(facts: readonly PipelineModelUsageFact[], coverage: Pick<PipelineModelUsageStatistics, 'requestedExecutions' | 'executionsWithRecords' | 'truncated' | 'rejectedRecords'
|
|
123
|
+
export declare function pipelineModelUsageStatistics(facts: readonly PipelineModelUsageFact[], coverage: Pick<PipelineModelUsageStatistics, 'requestedExecutions' | 'executionsWithRecords' | 'truncated' | 'rejectedRecords'>, chargedPoints?: number | null): PipelineModelUsageStatistics;
|