@camunda8/orchestration-cluster-api 10.0.0-alpha.35 → 10.0.0-alpha.36
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/CHANGELOG.md +7 -0
- package/dist/{CamundaClient-Dc_Mlc8U.d.ts → CamundaClient-BdKNRD2i.d.ts} +105 -272
- package/dist/{CamundaClient-4QsvzZPR.d.cts → CamundaClient-DKCeKUmK.d.cts} +105 -272
- package/dist/{chunk-2SYK2XZI.js → chunk-TC46CX7T.js} +3 -74
- package/dist/chunk-TC46CX7T.js.map +1 -0
- package/dist/effect/index.cjs +25 -150
- package/dist/effect/index.cjs.map +1 -1
- package/dist/effect/index.d.cts +1 -1
- package/dist/effect/index.d.ts +1 -1
- package/dist/effect/index.js +1 -1
- package/dist/index.cjs +26 -151
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/{zod.gen-JARMY5IR.js → zod.gen-FH5QFVZD.js} +24 -78
- package/dist/zod.gen-FH5QFVZD.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-2SYK2XZI.js.map +0 -1
- package/dist/zod.gen-JARMY5IR.js.map +0 -1
|
@@ -9,19 +9,6 @@ var zAgentDefinitionTypeEnum = z.enum([
|
|
|
9
9
|
]).register(z.globalRegistry, {
|
|
10
10
|
description: "The kind of agent an agent definition describes."
|
|
11
11
|
});
|
|
12
|
-
var zAgentInstanceDefinition = z.object({
|
|
13
|
-
model: z.string().register(z.globalRegistry, {
|
|
14
|
-
description: "The LLM model identifier (for example, gpt-4o)."
|
|
15
|
-
}),
|
|
16
|
-
provider: z.string().register(z.globalRegistry, {
|
|
17
|
-
description: "The LLM provider (for example, openai or anthropic)."
|
|
18
|
-
}),
|
|
19
|
-
systemPrompt: z.string().register(z.globalRegistry, {
|
|
20
|
-
description: "The system prompt configured for this agent instance."
|
|
21
|
-
})
|
|
22
|
-
}).register(z.globalRegistry, {
|
|
23
|
-
description: "The definition of an agent instance, as submitted at creation. The systemPrompt is a plain\nstring here for backwards compatibility with existing create requests; the read side\n(AgentInstanceDefinitionResult) exposes it as content blocks instead. This write-side\nstring is deprecated and will be removed as part of #58795.\n"
|
|
24
|
-
});
|
|
25
12
|
var zAgentTool = z.object({
|
|
26
13
|
name: z.string().register(z.globalRegistry, {
|
|
27
14
|
description: "The tool name as visible to the LLM."
|
|
@@ -79,22 +66,6 @@ var zAgentInstanceUpdateStatusEnum = z.enum([
|
|
|
79
66
|
]).register(z.globalRegistry, {
|
|
80
67
|
description: "The status values that can be set on an agent instance via an update request.\n"
|
|
81
68
|
});
|
|
82
|
-
var zAgentInstanceMetricsDelta = z.object({
|
|
83
|
-
inputTokens: z.coerce.number().int().gte(0).max(9223372036854776e3, { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).register(z.globalRegistry, {
|
|
84
|
-
description: "Increment to apply to the total input token counter."
|
|
85
|
-
}).optional(),
|
|
86
|
-
outputTokens: z.coerce.number().int().gte(0).max(9223372036854776e3, { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).register(z.globalRegistry, {
|
|
87
|
-
description: "Increment to apply to the total output token counter."
|
|
88
|
-
}).optional(),
|
|
89
|
-
modelCalls: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).register(z.globalRegistry, {
|
|
90
|
-
description: "Increment to apply to the total model call counter."
|
|
91
|
-
}).optional(),
|
|
92
|
-
toolCalls: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).register(z.globalRegistry, {
|
|
93
|
-
description: "Increment to apply to the total tool call counter."
|
|
94
|
-
}).optional()
|
|
95
|
-
}).register(z.globalRegistry, {
|
|
96
|
-
description: "Metric increments to apply to the agent instance aggregate counters. The engine\naccumulates these deltas into running totals on each UPDATED event. All fields\nare optional; omit a field to leave the corresponding counter unchanged.\n"
|
|
97
|
-
});
|
|
98
69
|
var zAgentInstanceHistoryRoleEnum = z.enum([
|
|
99
70
|
"USER",
|
|
100
71
|
"ASSISTANT",
|
|
@@ -2746,43 +2717,26 @@ var zElementInstanceResult = z.object({
|
|
|
2746
2717
|
var zJobKey = zLongKey;
|
|
2747
2718
|
var zAgentInstanceCreationRequest = z.object({
|
|
2748
2719
|
elementInstanceKey: zElementInstanceKey,
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
history: z.array(zAgentInstanceHistoryItem).
|
|
2720
|
+
jobKey: zJobKey,
|
|
2721
|
+
jobLease: z.string().register(z.globalRegistry, {
|
|
2722
|
+
description: "Opaque lease token received from the job activation response. Disambiguates\nthis activation from any other activation of the same job: if the job is\nlater retried, history items submitted under a superseded lease are discarded\nrather than committed.\n"
|
|
2723
|
+
}),
|
|
2724
|
+
history: z.array(zAgentInstanceHistoryItem).min(1).register(z.globalRegistry, {
|
|
2725
|
+
description: "A batch of history items to append to the agent instance's conversation\nhistory, in request order. Each created item is echoed back in the\nresponse's createdHistory, positionally correlated. Must include a\nCONFIGURATION item establishing model, provider, and systemPrompt (and,\nif needed, limits).\n"
|
|
2726
|
+
})
|
|
2754
2727
|
}).register(z.globalRegistry, {
|
|
2755
2728
|
description: "Request to create a new agent instance."
|
|
2756
2729
|
});
|
|
2757
2730
|
var zAgentInstanceUpdateRequest = z.object({
|
|
2758
2731
|
elementInstanceKey: zElementInstanceKey,
|
|
2759
2732
|
status: zAgentInstanceUpdateStatusEnum.optional(),
|
|
2760
|
-
metrics: zAgentInstanceMetricsDelta.optional(),
|
|
2761
|
-
tools: z.array(zAgentTool).nullish(),
|
|
2762
|
-
jobKey: zJobKey.nullish(),
|
|
2763
|
-
jobLease: z.string().nullish(),
|
|
2764
|
-
history: z.array(zAgentInstanceHistoryItem).nullish()
|
|
2765
|
-
}).register(z.globalRegistry, {
|
|
2766
|
-
description: "Request to update the mutable state of an agent instance.\n"
|
|
2767
|
-
});
|
|
2768
|
-
var zAgentInstanceHistoryItemRequest = z.object({
|
|
2769
|
-
elementInstanceKey: zElementInstanceKey,
|
|
2770
2733
|
jobKey: zJobKey,
|
|
2771
2734
|
jobLease: z.string().register(z.globalRegistry, {
|
|
2772
|
-
description: "Opaque lease token received from the job activation response."
|
|
2773
|
-
}),
|
|
2774
|
-
loopIteration: zLoopIterationId.nullish(),
|
|
2775
|
-
role: zAgentInstanceHistoryRoleEnum,
|
|
2776
|
-
content: z.array(zAgentInstanceMessageContent).register(z.globalRegistry, {
|
|
2777
|
-
description: "The content blocks of this history item."
|
|
2735
|
+
description: "Opaque lease token received from the job activation response. Disambiguates\nthis activation from any other activation of the same job: if the job is\nlater retried, history items submitted under a superseded lease are discarded\nrather than committed.\n"
|
|
2778
2736
|
}),
|
|
2779
|
-
|
|
2780
|
-
metrics: zAgentInstanceHistoryItemMetrics.nullish(),
|
|
2781
|
-
producedAt: z.iso.datetime().register(z.globalRegistry, {
|
|
2782
|
-
description: "The agent-side timestamp of when this message was produced."
|
|
2783
|
-
})
|
|
2737
|
+
history: z.array(zAgentInstanceHistoryItem).nullish()
|
|
2784
2738
|
}).register(z.globalRegistry, {
|
|
2785
|
-
description: "Request to
|
|
2739
|
+
description: "Request to update the mutable state of an agent instance.\n"
|
|
2786
2740
|
});
|
|
2787
2741
|
var zJobWaitStateDetails = zBaseWaitStateDetails.and(z.object({
|
|
2788
2742
|
jobKey: zJobKey,
|
|
@@ -3363,7 +3317,7 @@ var zAgentInstanceCreatedHistoryItem = z.object({
|
|
|
3363
3317
|
var zAgentInstanceCreationResult = z.object({
|
|
3364
3318
|
agentInstanceKey: zAgentInstanceKey,
|
|
3365
3319
|
createdHistory: z.array(zAgentInstanceCreatedHistoryItem).register(z.globalRegistry, {
|
|
3366
|
-
description: "One entry per history item submitted in the request, in request order.\
|
|
3320
|
+
description: "One entry per history item submitted in the request, in request order.\n"
|
|
3367
3321
|
})
|
|
3368
3322
|
}).register(z.globalRegistry, {
|
|
3369
3323
|
description: "Response returned after successfully creating an agent instance."
|
|
@@ -3375,11 +3329,6 @@ var zAgentInstanceUpdateResult = z.object({
|
|
|
3375
3329
|
}).register(z.globalRegistry, {
|
|
3376
3330
|
description: "Response returned after successfully updating an agent instance."
|
|
3377
3331
|
});
|
|
3378
|
-
var zAgentInstanceHistoryItemCreationResult = z.object({
|
|
3379
|
-
historyItemKey: zAgentHistoryItemKey
|
|
3380
|
-
}).register(z.globalRegistry, {
|
|
3381
|
-
description: "Response returned after successfully appending a history item."
|
|
3382
|
-
});
|
|
3383
3332
|
var zAgentInstanceHistoryItemResult = z.object({
|
|
3384
3333
|
historyItemKey: zAgentHistoryItemKey,
|
|
3385
3334
|
historyItemId: z.string().register(z.globalRegistry, {
|
|
@@ -3821,6 +3770,7 @@ var zAdvancedMessageSubscriptionStateFilter = z.object({
|
|
|
3821
3770
|
});
|
|
3822
3771
|
var zMessageSubscriptionKey = zLongKey;
|
|
3823
3772
|
var zMessageSubscriptionResult = z.object({
|
|
3773
|
+
businessId: zBusinessId.nullable(),
|
|
3824
3774
|
messageSubscriptionKey: zMessageSubscriptionKey,
|
|
3825
3775
|
processDefinitionId: zProcessDefinitionId,
|
|
3826
3776
|
processDefinitionKey: zProcessDefinitionKey.nullable(),
|
|
@@ -4888,6 +4838,7 @@ var zMappingRuleSearchQueryRequest = zSearchQueryRequest.and(z.object({
|
|
|
4888
4838
|
}));
|
|
4889
4839
|
var zMessageSubscriptionSearchQuerySortRequest = z.object({
|
|
4890
4840
|
field: z.enum([
|
|
4841
|
+
"businessId",
|
|
4891
4842
|
"messageSubscriptionKey",
|
|
4892
4843
|
"processDefinitionId",
|
|
4893
4844
|
"processDefinitionName",
|
|
@@ -5553,7 +5504,7 @@ var zTenantSearchQuerySortRequest = z.object({
|
|
|
5553
5504
|
"name",
|
|
5554
5505
|
"tenantId"
|
|
5555
5506
|
]).register(z.globalRegistry, {
|
|
5556
|
-
description: "The field to sort by."
|
|
5507
|
+
description: "The field to sort by. `key` is deprecated and should not be used anymore."
|
|
5557
5508
|
}),
|
|
5558
5509
|
order: zSortOrderEnum.optional()
|
|
5559
5510
|
});
|
|
@@ -6610,6 +6561,7 @@ var zMessageSubscriptionKeyFilterProperty = z.union([
|
|
|
6610
6561
|
zAdvancedMessageSubscriptionKeyFilter
|
|
6611
6562
|
]);
|
|
6612
6563
|
var zMessageSubscriptionFilter = z.object({
|
|
6564
|
+
businessId: zStringFilterProperty.optional(),
|
|
6613
6565
|
messageSubscriptionKey: zMessageSubscriptionKeyFilterProperty.optional(),
|
|
6614
6566
|
processDefinitionKey: zProcessDefinitionKeyFilterProperty.optional(),
|
|
6615
6567
|
processDefinitionId: zStringFilterProperty.optional(),
|
|
@@ -6780,7 +6732,7 @@ var zUserTaskStateFilterProperty = z.union([
|
|
|
6780
6732
|
zUserTaskStateExactMatch,
|
|
6781
6733
|
zAdvancedUserTaskStateFilter
|
|
6782
6734
|
]);
|
|
6783
|
-
var
|
|
6735
|
+
var zUserTaskFilterFields = z.object({
|
|
6784
6736
|
state: zUserTaskStateFilterProperty.optional(),
|
|
6785
6737
|
assignee: zStringFilterProperty.optional(),
|
|
6786
6738
|
businessId: zStringFilterProperty.optional(),
|
|
@@ -6807,8 +6759,13 @@ var zUserTaskFilter = z.object({
|
|
|
6807
6759
|
elementInstanceKey: zElementInstanceKey.optional(),
|
|
6808
6760
|
tags: zTagSet.optional()
|
|
6809
6761
|
}).register(z.globalRegistry, {
|
|
6810
|
-
description: "User task filter
|
|
6762
|
+
description: "User task filter fields."
|
|
6811
6763
|
});
|
|
6764
|
+
var zUserTaskFilter = zUserTaskFilterFields.and(z.object({
|
|
6765
|
+
$or: z.array(zUserTaskFilterFields).register(z.globalRegistry, {
|
|
6766
|
+
description: 'Defines a list of alternative filter groups combined using OR logic. Each object in the array is evaluated independently, and the filter matches if any one of them is satisfied.\n\nTop-level fields and the `$or` clause are combined using AND logic \u2014 meaning: (top-level filters) AND (any of the `$or` filters) must match.\n<br>\n<em>Example:</em>\n\n```json\n{\n "assignee": "user1",\n "$or": [\n { "candidateGroup": "groupA" },\n { "candidateUser": "user2" }\n ]\n}\n```\nThis matches user tasks that:\n\n<ul style="padding-left: 20px; margin-left: 20px;">\n <li style="list-style-type: disc;">are assigned to <em>user1</em></li>\n <li style="list-style-type: disc;">and match either:\n <ul style="padding-left: 20px; margin-left: 20px;">\n <li style="list-style-type: circle;"><code>candidateGroup</code> is <em>groupA</em>, or</li>\n <li style="list-style-type: circle;"><code>candidateUser</code> is <em>user2</em></li>\n </ul>\n </li>\n</ul>\n<br>\n<p>Note: Using complex <code>$or</code> conditions may impact performance, use with caution in high-volume environments.\n'
|
|
6767
|
+
}).optional()
|
|
6768
|
+
}));
|
|
6812
6769
|
var zUserTaskSearchQuery = zSearchQueryRequest.and(z.object({
|
|
6813
6770
|
sort: z.array(zUserTaskSearchQuerySortRequest).register(z.globalRegistry, {
|
|
6814
6771
|
description: "Sort field criteria."
|
|
@@ -6981,11 +6938,6 @@ var zUpdateAgentInstancePath = z.object({
|
|
|
6981
6938
|
var zUpdateAgentInstanceResponse = zAgentInstanceUpdateResult;
|
|
6982
6939
|
var zSearchAgentInstancesBody = zAgentInstanceSearchQuery;
|
|
6983
6940
|
var zSearchAgentInstancesResponse = zAgentInstanceSearchQueryResult;
|
|
6984
|
-
var zCreateAgentInstanceHistoryItemBody = zAgentInstanceHistoryItemRequest;
|
|
6985
|
-
var zCreateAgentInstanceHistoryItemPath = z.object({
|
|
6986
|
-
agentInstanceKey: zAgentInstanceKeyWritable
|
|
6987
|
-
});
|
|
6988
|
-
var zCreateAgentInstanceHistoryItemResponse = zAgentInstanceHistoryItemCreationResult;
|
|
6989
6941
|
var zSearchAgentInstanceHistoryBody = zAgentInstanceHistorySearchQuery;
|
|
6990
6942
|
var zSearchAgentInstanceHistoryPath = z.object({
|
|
6991
6943
|
agentInstanceKey: zAgentInstanceKeyWritable
|
|
@@ -8236,7 +8188,6 @@ export {
|
|
|
8236
8188
|
zAgentInstanceCreatedHistoryItem,
|
|
8237
8189
|
zAgentInstanceCreationRequest,
|
|
8238
8190
|
zAgentInstanceCreationResult,
|
|
8239
|
-
zAgentInstanceDefinition,
|
|
8240
8191
|
zAgentInstanceDefinitionResult,
|
|
8241
8192
|
zAgentInstanceDocumentContent,
|
|
8242
8193
|
zAgentInstanceFilter,
|
|
@@ -8246,9 +8197,7 @@ export {
|
|
|
8246
8197
|
zAgentInstanceHistoryCommitStatusFilterProperty,
|
|
8247
8198
|
zAgentInstanceHistoryFilter,
|
|
8248
8199
|
zAgentInstanceHistoryItem,
|
|
8249
|
-
zAgentInstanceHistoryItemCreationResult,
|
|
8250
8200
|
zAgentInstanceHistoryItemMetrics,
|
|
8251
|
-
zAgentInstanceHistoryItemRequest,
|
|
8252
8201
|
zAgentInstanceHistoryItemResult,
|
|
8253
8202
|
zAgentInstanceHistoryRoleEnum,
|
|
8254
8203
|
zAgentInstanceHistoryRoleExactMatch,
|
|
@@ -8266,7 +8215,6 @@ export {
|
|
|
8266
8215
|
zAgentInstanceMessageContent,
|
|
8267
8216
|
zAgentInstanceMessageContentTypeEnum,
|
|
8268
8217
|
zAgentInstanceMetrics,
|
|
8269
|
-
zAgentInstanceMetricsDelta,
|
|
8270
8218
|
zAgentInstanceObjectContent,
|
|
8271
8219
|
zAgentInstanceResult,
|
|
8272
8220
|
zAgentInstanceSearchQuery,
|
|
@@ -8488,9 +8436,6 @@ export {
|
|
|
8488
8436
|
zCreateAdminUserBody,
|
|
8489
8437
|
zCreateAdminUserResponse,
|
|
8490
8438
|
zCreateAgentInstanceBody,
|
|
8491
|
-
zCreateAgentInstanceHistoryItemBody,
|
|
8492
|
-
zCreateAgentInstanceHistoryItemPath,
|
|
8493
|
-
zCreateAgentInstanceHistoryItemResponse,
|
|
8494
8439
|
zCreateAgentInstanceResponse,
|
|
8495
8440
|
zCreateAuthorizationBody,
|
|
8496
8441
|
zCreateAuthorizationResponse,
|
|
@@ -9487,6 +9432,7 @@ export {
|
|
|
9487
9432
|
zUserTaskCompletionRequest,
|
|
9488
9433
|
zUserTaskEffectiveVariableSearchQueryRequest,
|
|
9489
9434
|
zUserTaskFilter,
|
|
9435
|
+
zUserTaskFilterFields,
|
|
9490
9436
|
zUserTaskKey,
|
|
9491
9437
|
zUserTaskKeyWritable,
|
|
9492
9438
|
zUserTaskProperties,
|
|
@@ -9530,4 +9476,4 @@ export {
|
|
|
9530
9476
|
zWaitStateTypeFilterProperty,
|
|
9531
9477
|
zWebappComponent
|
|
9532
9478
|
};
|
|
9533
|
-
//# sourceMappingURL=zod.gen-
|
|
9479
|
+
//# sourceMappingURL=zod.gen-FH5QFVZD.js.map
|