@wildix/wilma-agents-client 1.0.27 → 1.0.28
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/dist-cjs/models/enums.js +28 -1
- package/dist-cjs/schemas/schemas_0.js +106 -21
- package/dist-es/models/enums.js +27 -0
- package/dist-es/schemas/schemas_0.js +102 -17
- package/dist-types/commands/CreateAgentCommand.d.ts +94 -4
- package/dist-types/commands/GetAgentCommand.d.ts +47 -2
- package/dist-types/commands/GetAgentVersionCommand.d.ts +47 -2
- package/dist-types/commands/ListAgentsCommand.d.ts +47 -2
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +47 -2
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +47 -2
- package/dist-types/commands/UpdateAgentCommand.d.ts +94 -4
- package/dist-types/models/enums.d.ts +91 -0
- package/dist-types/models/models_0.d.ts +302 -7
- package/dist-types/schemas/schemas_0.d.ts +11 -0
- package/package.json +1 -1
|
@@ -14,8 +14,20 @@ const _ADR = "AgentDeploymentRoute";
|
|
|
14
14
|
const _ADRL = "AgentDeploymentRoutesList";
|
|
15
15
|
const _ADS = "AgentDefinitionSnapshot";
|
|
16
16
|
const _AE = "AgentEngine";
|
|
17
|
+
const _AG = "AgentGuardrails";
|
|
18
|
+
const _AGA = "AgentGuardrailAction";
|
|
19
|
+
const _AGBA = "AgentGuardrailBlockAction";
|
|
20
|
+
const _AGC = "AgentGuardrailCheck";
|
|
21
|
+
const _AGCC = "AgentGuardrailCustomCheck";
|
|
22
|
+
const _AGCK = "AgentGuardrailCheckKind";
|
|
23
|
+
const _AGCL = "AgentGuardrailChecksList";
|
|
24
|
+
const _AGEA = "AgentGuardrailEndAction";
|
|
25
|
+
const _AGI = "AgentGuardrailInput";
|
|
26
|
+
const _AGOA = "AgentGuardrailObserveAction";
|
|
17
27
|
const _AGP = "AgentGrantPrincipal";
|
|
28
|
+
const _AGPC = "AgentGuardrailPresetCheck";
|
|
18
29
|
const _AGPL = "AgentGrantPrincipalList";
|
|
30
|
+
const _AGRA = "AgentGuardrailRedactAction";
|
|
19
31
|
const _AHC = "AgentHandoverCapability";
|
|
20
32
|
const _AHCg = "AgentHangupCapability";
|
|
21
33
|
const _AHP = "AgentHandoverPipeline";
|
|
@@ -194,6 +206,7 @@ const _ass = "assignments";
|
|
|
194
206
|
const _au = "auto";
|
|
195
207
|
const _b = "before";
|
|
196
208
|
const _bOV = "basedOnVersion";
|
|
209
|
+
const _bl = "block";
|
|
197
210
|
const _c = "client";
|
|
198
211
|
const _cA = "createdAt";
|
|
199
212
|
const _cB = "createdBy";
|
|
@@ -212,6 +225,7 @@ const _cha = "chat";
|
|
|
212
225
|
const _chan = "changelog";
|
|
213
226
|
const _chang = "changes";
|
|
214
227
|
const _chann = "channel";
|
|
228
|
+
const _che = "checks";
|
|
215
229
|
const _ci = "city";
|
|
216
230
|
const _co = "context";
|
|
217
231
|
const _com = "company";
|
|
@@ -223,6 +237,7 @@ const _cont = "content";
|
|
|
223
237
|
const _conv = "conversation";
|
|
224
238
|
const _cou = "country";
|
|
225
239
|
const _cu = "cursor";
|
|
240
|
+
const _cus = "custom";
|
|
226
241
|
const _d = "description";
|
|
227
242
|
const _dBV = "draftBaseVersion";
|
|
228
243
|
const _de = "deployment";
|
|
@@ -233,12 +248,14 @@ const _di = "discoverable";
|
|
|
233
248
|
const _e = "error";
|
|
234
249
|
const _eA = "expiresAt";
|
|
235
250
|
const _eC = "endCall";
|
|
251
|
+
const _eM = "errorMode";
|
|
236
252
|
const _en = "engine";
|
|
237
253
|
const _ena = "enabled";
|
|
238
254
|
const _end = "end";
|
|
239
255
|
const _ent = "entry";
|
|
240
|
-
const _ex = "
|
|
256
|
+
const _ex = "examples";
|
|
241
257
|
const _exp = "expression";
|
|
258
|
+
const _ext = "extension";
|
|
242
259
|
const _f = "fields";
|
|
243
260
|
const _fD = "fromDraft";
|
|
244
261
|
const _fTC = "forceToolCall";
|
|
@@ -250,7 +267,8 @@ const _gI = "groupId";
|
|
|
250
267
|
const _ge = "generate";
|
|
251
268
|
const _go = "goal";
|
|
252
269
|
const _gr = "greeting";
|
|
253
|
-
const _gu = "
|
|
270
|
+
const _gu = "guardrails";
|
|
271
|
+
const _gui = "guided";
|
|
254
272
|
const _h = "handler";
|
|
255
273
|
const _hE = "httpError";
|
|
256
274
|
const _hQ = "httpQuery";
|
|
@@ -259,12 +277,14 @@ const _han = "hangup";
|
|
|
259
277
|
const _ht = "http";
|
|
260
278
|
const _i = "id";
|
|
261
279
|
const _in = "instructions";
|
|
280
|
+
const _inp = "input";
|
|
262
281
|
const _int = "interruptions";
|
|
263
|
-
const _k = "
|
|
282
|
+
const _k = "kind";
|
|
264
283
|
const _kBI = "knowledgeBaseId";
|
|
265
284
|
const _kI = "keyId";
|
|
266
285
|
const _kb = "kb";
|
|
267
|
-
const _ke = "
|
|
286
|
+
const _ke = "key";
|
|
287
|
+
const _key = "keys";
|
|
268
288
|
const _ki = "kinds";
|
|
269
289
|
const _l = "layout";
|
|
270
290
|
const _lUA = "lastUsedAt";
|
|
@@ -277,11 +297,14 @@ const _mD = "maxDuration";
|
|
|
277
297
|
const _mT = "maxTransitions";
|
|
278
298
|
const _mW = "minWords";
|
|
279
299
|
const _mo = "model";
|
|
300
|
+
const _mod = "mode";
|
|
280
301
|
const _n = "name";
|
|
281
302
|
const _nC = "nextCursor";
|
|
282
303
|
const _ne = "network";
|
|
283
304
|
const _nes = "nested";
|
|
305
|
+
const _no = "notes";
|
|
284
306
|
const _o = "optional";
|
|
307
|
+
const _ob = "observe";
|
|
285
308
|
const _ou = "output";
|
|
286
309
|
const _p = "picture";
|
|
287
310
|
const _pA = "publishedAt";
|
|
@@ -293,10 +316,12 @@ const _ph = "phrases";
|
|
|
293
316
|
const _pi = "pipeline";
|
|
294
317
|
const _po = "position";
|
|
295
318
|
const _pr = "prefix";
|
|
296
|
-
const _pre = "
|
|
319
|
+
const _pre = "preset";
|
|
320
|
+
const _pred = "predefined";
|
|
297
321
|
const _pro = "prompt";
|
|
298
322
|
const _r = "revision";
|
|
299
323
|
const _re = "result";
|
|
324
|
+
const _red = "redact";
|
|
300
325
|
const _reg = "region";
|
|
301
326
|
const _rep = "reply";
|
|
302
327
|
const _s = "smithy.ts.sdk.synthetic.wildix.wilma.agents";
|
|
@@ -309,6 +334,7 @@ const _se = "settings";
|
|
|
309
334
|
const _sea = "search";
|
|
310
335
|
const _sec = "secret";
|
|
311
336
|
const _seco = "seconds";
|
|
337
|
+
const _sen = "sensitivity";
|
|
312
338
|
const _ser = "service";
|
|
313
339
|
const _si = "silent";
|
|
314
340
|
const _siz = "size";
|
|
@@ -319,7 +345,6 @@ const _st = "status";
|
|
|
319
345
|
const _sta = "stage";
|
|
320
346
|
const _ste = "steps";
|
|
321
347
|
const _su = "suggestions";
|
|
322
|
-
const _sum = "summary";
|
|
323
348
|
const _t = "type";
|
|
324
349
|
const _tD = "toDraft";
|
|
325
350
|
const _tV = "toolVersion";
|
|
@@ -353,6 +378,7 @@ const _wF = "webFetch";
|
|
|
353
378
|
const _wS = "webSearch";
|
|
354
379
|
const _wa = "wait";
|
|
355
380
|
const _we = "webhook";
|
|
381
|
+
const _wi = "window";
|
|
356
382
|
const _x = "x";
|
|
357
383
|
const _y = "y";
|
|
358
384
|
const n0 = "smithy.framework";
|
|
@@ -415,8 +441,8 @@ export var AgentAccess$ = [3, n2, _AA,
|
|
|
415
441
|
];
|
|
416
442
|
export var AgentAiEngine$ = [3, n2, _AAE,
|
|
417
443
|
0,
|
|
418
|
-
[_in, _w, _mo, _tZ, _ar, _sk, _cap, _va],
|
|
419
|
-
[0, () => AgentWorkflow$, 0, 0, 2, () => AgentSkillsList, () => AgentCapabilitiesList, () => AgentVariablesList], 1
|
|
444
|
+
[_in, _w, _gu, _mo, _tZ, _ar, _sk, _cap, _va],
|
|
445
|
+
[0, () => AgentWorkflow$, () => AgentGuardrails$, 0, 0, 2, () => AgentSkillsList, () => AgentCapabilitiesList, () => AgentVariablesList], 1
|
|
420
446
|
];
|
|
421
447
|
export var AgentApiKey$ = [3, n2, _AAK,
|
|
422
448
|
0,
|
|
@@ -453,6 +479,51 @@ export var AgentDeploymentRoute$ = [3, n2, _ADR,
|
|
|
453
479
|
[_ve, _pe],
|
|
454
480
|
[1, 1], 2
|
|
455
481
|
];
|
|
482
|
+
export var AgentGuardrailBlockAction$ = [3, n2, _AGBA,
|
|
483
|
+
0,
|
|
484
|
+
[_m],
|
|
485
|
+
[0]
|
|
486
|
+
];
|
|
487
|
+
export var AgentGuardrailCheck$ = [3, n2, _AGC,
|
|
488
|
+
0,
|
|
489
|
+
[_n, _k, _d, _sen, _ac],
|
|
490
|
+
[0, () => AgentGuardrailCheckKind$, 0, 0, () => AgentGuardrailAction$], 2
|
|
491
|
+
];
|
|
492
|
+
export var AgentGuardrailCustomCheck$ = [3, n2, _AGCC,
|
|
493
|
+
0,
|
|
494
|
+
[_in, _ex],
|
|
495
|
+
[0, 64 | 0], 1
|
|
496
|
+
];
|
|
497
|
+
export var AgentGuardrailEndAction$ = [3, n2, _AGEA,
|
|
498
|
+
0,
|
|
499
|
+
[_m],
|
|
500
|
+
[0]
|
|
501
|
+
];
|
|
502
|
+
export var AgentGuardrailInput$ = [3, n2, _AGI,
|
|
503
|
+
0,
|
|
504
|
+
[_che, _mo, _ac, _mod, _eM, _wi],
|
|
505
|
+
[() => AgentGuardrailChecksList, 0, () => AgentGuardrailAction$, 0, 0, 0]
|
|
506
|
+
];
|
|
507
|
+
export var AgentGuardrailObserveAction$ = [3, n2, _AGOA,
|
|
508
|
+
0,
|
|
509
|
+
[],
|
|
510
|
+
[]
|
|
511
|
+
];
|
|
512
|
+
export var AgentGuardrailPresetCheck$ = [3, n2, _AGPC,
|
|
513
|
+
0,
|
|
514
|
+
[_pre, _no],
|
|
515
|
+
[0, 0], 1
|
|
516
|
+
];
|
|
517
|
+
export var AgentGuardrailRedactAction$ = [3, n2, _AGRA,
|
|
518
|
+
0,
|
|
519
|
+
[],
|
|
520
|
+
[]
|
|
521
|
+
];
|
|
522
|
+
export var AgentGuardrails$ = [3, n2, _AG,
|
|
523
|
+
0,
|
|
524
|
+
[_inp],
|
|
525
|
+
[() => AgentGuardrailInput$]
|
|
526
|
+
];
|
|
456
527
|
export var AgentHandoverCapability$ = [3, n2, _AHC,
|
|
457
528
|
0,
|
|
458
529
|
[_n, _d, _var, _ag, _aV, _ser, _si, _pi, _an],
|
|
@@ -495,7 +566,7 @@ export var AgentSnapshotSandboxOptions$ = [3, n2, _ASSO,
|
|
|
495
566
|
];
|
|
496
567
|
export var AgentSqsEngine$ = [3, n2, _ASE,
|
|
497
568
|
0,
|
|
498
|
-
[_u,
|
|
569
|
+
[_u, _ke, _sec],
|
|
499
570
|
[0, 0, () => SecretRef$], 3
|
|
500
571
|
];
|
|
501
572
|
export var AgentSuggestionsCapability$ = [3, n2, _ASC,
|
|
@@ -575,7 +646,7 @@ export var AgentToolVariablesAnnotation$ = [3, n2, _ATVA,
|
|
|
575
646
|
];
|
|
576
647
|
export var AgentTransferCapability$ = [3, n2, _ATC,
|
|
577
648
|
0,
|
|
578
|
-
[_n, _d, _var, _co,
|
|
649
|
+
[_n, _d, _var, _co, _ext, _pi, _an],
|
|
579
650
|
[0, 0, 0, 0, 0, () => AgentTransferPipeline$, () => AgentToolAnnotationsList]
|
|
580
651
|
];
|
|
581
652
|
export var AgentTransferPipeline$ = [3, n2, _ATPg,
|
|
@@ -755,8 +826,8 @@ export var AgentWorkflowSettings$ = [3, n2, _AWS,
|
|
|
755
826
|
];
|
|
756
827
|
export var AgentWorkflowStep$ = [3, n2, _AWSg,
|
|
757
828
|
0,
|
|
758
|
-
[_i, _la, _h,
|
|
759
|
-
[0, 0, () => AgentWorkflowHandler$, 0,
|
|
829
|
+
[_i, _la, _h, _sta, _tr, _po],
|
|
830
|
+
[0, 0, () => AgentWorkflowHandler$, 0, () => AgentWorkflowTransitionsList, () => AgentWorkflowStepPosition$], 3
|
|
760
831
|
];
|
|
761
832
|
export var AgentWorkflowStepPosition$ = [3, n2, _AWSP,
|
|
762
833
|
0,
|
|
@@ -800,7 +871,7 @@ export var CreateAgentApiKeyInput$ = [3, n2, _CAAKI,
|
|
|
800
871
|
];
|
|
801
872
|
export var CreateAgentApiKeyOutput$ = [3, n2, _CAAKO,
|
|
802
873
|
0,
|
|
803
|
-
[
|
|
874
|
+
[_ke, _sec],
|
|
804
875
|
[() => AgentApiKey$, 0], 2
|
|
805
876
|
];
|
|
806
877
|
export var CreateAgentInput$ = [3, n2, _CAI,
|
|
@@ -870,7 +941,7 @@ export var ListAgentApiKeysInput$ = [3, n2, _LAAKI,
|
|
|
870
941
|
];
|
|
871
942
|
export var ListAgentApiKeysOutput$ = [3, n2, _LAAKO,
|
|
872
943
|
0,
|
|
873
|
-
[
|
|
944
|
+
[_key],
|
|
874
945
|
[() => AgentApiKeysList], 1
|
|
875
946
|
];
|
|
876
947
|
export var ListAgentsInput$ = [3, n2, _LAI,
|
|
@@ -990,7 +1061,7 @@ export var VoiceTerminateHangupAction$ = [3, n2, _VTHA,
|
|
|
990
1061
|
];
|
|
991
1062
|
export var VoiceTransferTarget$ = [3, n2, _VTT,
|
|
992
1063
|
0,
|
|
993
|
-
[_n, _co,
|
|
1064
|
+
[_n, _co, _ext, _d],
|
|
994
1065
|
[0, 0, 0, 0], 3
|
|
995
1066
|
];
|
|
996
1067
|
export var WebSearchUserLocation$ = [3, n2, _WSUL,
|
|
@@ -1030,6 +1101,10 @@ var AgentDeploymentRoutesList = [1, n2, _ADRL,
|
|
|
1030
1101
|
var AgentGrantPrincipalList = [1, n2, _AGPL,
|
|
1031
1102
|
0, () => AgentGrantPrincipal$
|
|
1032
1103
|
];
|
|
1104
|
+
var AgentGuardrailChecksList = [1, n2, _AGCL,
|
|
1105
|
+
0, () => AgentGuardrailCheck$
|
|
1106
|
+
];
|
|
1107
|
+
var AgentGuardrailExamplesList = 64 | 0;
|
|
1033
1108
|
var AgentsInfoList = [1, n2, _AIL,
|
|
1034
1109
|
0, () => AgentInfo$
|
|
1035
1110
|
];
|
|
@@ -1090,6 +1165,16 @@ export var AgentGrantPrincipal$ = [4, n2, _AGP,
|
|
|
1090
1165
|
[_uI, _gI],
|
|
1091
1166
|
[0, 0]
|
|
1092
1167
|
];
|
|
1168
|
+
export var AgentGuardrailAction$ = [4, n2, _AGA,
|
|
1169
|
+
0,
|
|
1170
|
+
[_ob, _red, _bl, _end],
|
|
1171
|
+
[() => AgentGuardrailObserveAction$, () => AgentGuardrailRedactAction$, () => AgentGuardrailBlockAction$, () => AgentGuardrailEndAction$]
|
|
1172
|
+
];
|
|
1173
|
+
export var AgentGuardrailCheckKind$ = [4, n2, _AGCK,
|
|
1174
|
+
0,
|
|
1175
|
+
[_pre, _cus],
|
|
1176
|
+
[() => AgentGuardrailPresetCheck$, () => AgentGuardrailCustomCheck$]
|
|
1177
|
+
];
|
|
1093
1178
|
export var AgentSandboxCapability$ = [4, n2, _ASCg,
|
|
1094
1179
|
0,
|
|
1095
1180
|
[_verc, _sn],
|
|
@@ -1102,12 +1187,12 @@ export var AgentToolAnnotation$ = [4, n2, _ATAg,
|
|
|
1102
1187
|
];
|
|
1103
1188
|
export var AgentToolFieldHandler$ = [4, n2, _ATFH,
|
|
1104
1189
|
0,
|
|
1105
|
-
[
|
|
1190
|
+
[_gui, _pred],
|
|
1106
1191
|
[() => AgentToolFieldGuidedHandler$, () => AgentToolFieldPredefinedHandler$]
|
|
1107
1192
|
];
|
|
1108
1193
|
export var AgentToolVariableHandler$ = [4, n2, _ATVH,
|
|
1109
1194
|
0,
|
|
1110
|
-
[_au,
|
|
1195
|
+
[_au, _gui, _pred],
|
|
1111
1196
|
[() => AgentToolVariableAutoHandler$, () => AgentToolVariableGuidedHandler$, () => AgentToolVariablePredefinedHandler$]
|
|
1112
1197
|
];
|
|
1113
1198
|
export var AgentWorkflowAction$ = [4, n2, _AWAg,
|
|
@@ -105,7 +105,6 @@ declare const CreateAgentCommand_base: {
|
|
|
105
105
|
* { // AgentWorkflowStep
|
|
106
106
|
* id: "STRING_VALUE", // required
|
|
107
107
|
* label: "STRING_VALUE", // required
|
|
108
|
-
* summary: "STRING_VALUE",
|
|
109
108
|
* stage: "STRING_VALUE",
|
|
110
109
|
* handler: { // AgentWorkflowHandler Union: only one key present
|
|
111
110
|
* conversation: { // AgentWorkflowConversationHandler
|
|
@@ -562,7 +561,6 @@ declare const CreateAgentCommand_base: {
|
|
|
562
561
|
* {
|
|
563
562
|
* id: "STRING_VALUE", // required
|
|
564
563
|
* label: "STRING_VALUE", // required
|
|
565
|
-
* summary: "STRING_VALUE",
|
|
566
564
|
* stage: "STRING_VALUE",
|
|
567
565
|
* handler: {// Union: only one key present
|
|
568
566
|
* conversation: {
|
|
@@ -722,6 +720,53 @@ declare const CreateAgentCommand_base: {
|
|
|
722
720
|
* layout: "flow" || "compact" || "stages",
|
|
723
721
|
* },
|
|
724
722
|
* },
|
|
723
|
+
* guardrails: { // AgentGuardrails
|
|
724
|
+
* input: { // AgentGuardrailInput
|
|
725
|
+
* checks: [ // AgentGuardrailChecksList
|
|
726
|
+
* { // AgentGuardrailCheck
|
|
727
|
+
* name: "STRING_VALUE", // required
|
|
728
|
+
* description: "STRING_VALUE",
|
|
729
|
+
* kind: { // AgentGuardrailCheckKind Union: only one key present
|
|
730
|
+
* preset: { // AgentGuardrailPresetCheck
|
|
731
|
+
* preset: "jailbreak" || "offTopic" || "abuse" || "harmful" || "selfHarm" || "pii" || "secrets" || "regulatedAdvice", // required
|
|
732
|
+
* notes: "STRING_VALUE",
|
|
733
|
+
* },
|
|
734
|
+
* custom: { // AgentGuardrailCustomCheck
|
|
735
|
+
* instructions: "STRING_VALUE", // required
|
|
736
|
+
* examples: [ // AgentGuardrailExamplesList
|
|
737
|
+
* "STRING_VALUE",
|
|
738
|
+
* ],
|
|
739
|
+
* },
|
|
740
|
+
* },
|
|
741
|
+
* sensitivity: "low" || "medium" || "high",
|
|
742
|
+
* action: { // AgentGuardrailAction Union: only one key present
|
|
743
|
+
* observe: {},
|
|
744
|
+
* redact: {},
|
|
745
|
+
* block: { // AgentGuardrailBlockAction
|
|
746
|
+
* message: "STRING_VALUE",
|
|
747
|
+
* },
|
|
748
|
+
* end: { // AgentGuardrailEndAction
|
|
749
|
+
* message: "STRING_VALUE",
|
|
750
|
+
* },
|
|
751
|
+
* },
|
|
752
|
+
* },
|
|
753
|
+
* ],
|
|
754
|
+
* model: "STRING_VALUE",
|
|
755
|
+
* action: {// Union: only one key present
|
|
756
|
+
* observe: {},
|
|
757
|
+
* redact: {},
|
|
758
|
+
* block: {
|
|
759
|
+
* message: "STRING_VALUE",
|
|
760
|
+
* },
|
|
761
|
+
* end: {
|
|
762
|
+
* message: "STRING_VALUE",
|
|
763
|
+
* },
|
|
764
|
+
* },
|
|
765
|
+
* mode: "blocking" || "parallel",
|
|
766
|
+
* errorMode: "open" || "closed",
|
|
767
|
+
* window: "lastMessage" || "lastWithPrior",
|
|
768
|
+
* },
|
|
769
|
+
* },
|
|
725
770
|
* model: "STRING_VALUE",
|
|
726
771
|
* timeZone: "STRING_VALUE",
|
|
727
772
|
* artifacts: true || false,
|
|
@@ -833,7 +878,6 @@ declare const CreateAgentCommand_base: {
|
|
|
833
878
|
* // { // AgentWorkflowStep
|
|
834
879
|
* // id: "STRING_VALUE", // required
|
|
835
880
|
* // label: "STRING_VALUE", // required
|
|
836
|
-
* // summary: "STRING_VALUE",
|
|
837
881
|
* // stage: "STRING_VALUE",
|
|
838
882
|
* // handler: { // AgentWorkflowHandler Union: only one key present
|
|
839
883
|
* // conversation: { // AgentWorkflowConversationHandler
|
|
@@ -1290,7 +1334,6 @@ declare const CreateAgentCommand_base: {
|
|
|
1290
1334
|
* // {
|
|
1291
1335
|
* // id: "STRING_VALUE", // required
|
|
1292
1336
|
* // label: "STRING_VALUE", // required
|
|
1293
|
-
* // summary: "STRING_VALUE",
|
|
1294
1337
|
* // stage: "STRING_VALUE",
|
|
1295
1338
|
* // handler: {// Union: only one key present
|
|
1296
1339
|
* // conversation: {
|
|
@@ -1450,6 +1493,53 @@ declare const CreateAgentCommand_base: {
|
|
|
1450
1493
|
* // layout: "flow" || "compact" || "stages",
|
|
1451
1494
|
* // },
|
|
1452
1495
|
* // },
|
|
1496
|
+
* // guardrails: { // AgentGuardrails
|
|
1497
|
+
* // input: { // AgentGuardrailInput
|
|
1498
|
+
* // checks: [ // AgentGuardrailChecksList
|
|
1499
|
+
* // { // AgentGuardrailCheck
|
|
1500
|
+
* // name: "STRING_VALUE", // required
|
|
1501
|
+
* // description: "STRING_VALUE",
|
|
1502
|
+
* // kind: { // AgentGuardrailCheckKind Union: only one key present
|
|
1503
|
+
* // preset: { // AgentGuardrailPresetCheck
|
|
1504
|
+
* // preset: "jailbreak" || "offTopic" || "abuse" || "harmful" || "selfHarm" || "pii" || "secrets" || "regulatedAdvice", // required
|
|
1505
|
+
* // notes: "STRING_VALUE",
|
|
1506
|
+
* // },
|
|
1507
|
+
* // custom: { // AgentGuardrailCustomCheck
|
|
1508
|
+
* // instructions: "STRING_VALUE", // required
|
|
1509
|
+
* // examples: [ // AgentGuardrailExamplesList
|
|
1510
|
+
* // "STRING_VALUE",
|
|
1511
|
+
* // ],
|
|
1512
|
+
* // },
|
|
1513
|
+
* // },
|
|
1514
|
+
* // sensitivity: "low" || "medium" || "high",
|
|
1515
|
+
* // action: { // AgentGuardrailAction Union: only one key present
|
|
1516
|
+
* // observe: {},
|
|
1517
|
+
* // redact: {},
|
|
1518
|
+
* // block: { // AgentGuardrailBlockAction
|
|
1519
|
+
* // message: "STRING_VALUE",
|
|
1520
|
+
* // },
|
|
1521
|
+
* // end: { // AgentGuardrailEndAction
|
|
1522
|
+
* // message: "STRING_VALUE",
|
|
1523
|
+
* // },
|
|
1524
|
+
* // },
|
|
1525
|
+
* // },
|
|
1526
|
+
* // ],
|
|
1527
|
+
* // model: "STRING_VALUE",
|
|
1528
|
+
* // action: {// Union: only one key present
|
|
1529
|
+
* // observe: {},
|
|
1530
|
+
* // redact: {},
|
|
1531
|
+
* // block: {
|
|
1532
|
+
* // message: "STRING_VALUE",
|
|
1533
|
+
* // },
|
|
1534
|
+
* // end: {
|
|
1535
|
+
* // message: "STRING_VALUE",
|
|
1536
|
+
* // },
|
|
1537
|
+
* // },
|
|
1538
|
+
* // mode: "blocking" || "parallel",
|
|
1539
|
+
* // errorMode: "open" || "closed",
|
|
1540
|
+
* // window: "lastMessage" || "lastWithPrior",
|
|
1541
|
+
* // },
|
|
1542
|
+
* // },
|
|
1453
1543
|
* // model: "STRING_VALUE",
|
|
1454
1544
|
* // timeZone: "STRING_VALUE",
|
|
1455
1545
|
* // artifacts: true || false,
|
|
@@ -112,7 +112,6 @@ declare const GetAgentCommand_base: {
|
|
|
112
112
|
* // { // AgentWorkflowStep
|
|
113
113
|
* // id: "STRING_VALUE", // required
|
|
114
114
|
* // label: "STRING_VALUE", // required
|
|
115
|
-
* // summary: "STRING_VALUE",
|
|
116
115
|
* // stage: "STRING_VALUE",
|
|
117
116
|
* // handler: { // AgentWorkflowHandler Union: only one key present
|
|
118
117
|
* // conversation: { // AgentWorkflowConversationHandler
|
|
@@ -569,7 +568,6 @@ declare const GetAgentCommand_base: {
|
|
|
569
568
|
* // {
|
|
570
569
|
* // id: "STRING_VALUE", // required
|
|
571
570
|
* // label: "STRING_VALUE", // required
|
|
572
|
-
* // summary: "STRING_VALUE",
|
|
573
571
|
* // stage: "STRING_VALUE",
|
|
574
572
|
* // handler: {// Union: only one key present
|
|
575
573
|
* // conversation: {
|
|
@@ -729,6 +727,53 @@ declare const GetAgentCommand_base: {
|
|
|
729
727
|
* // layout: "flow" || "compact" || "stages",
|
|
730
728
|
* // },
|
|
731
729
|
* // },
|
|
730
|
+
* // guardrails: { // AgentGuardrails
|
|
731
|
+
* // input: { // AgentGuardrailInput
|
|
732
|
+
* // checks: [ // AgentGuardrailChecksList
|
|
733
|
+
* // { // AgentGuardrailCheck
|
|
734
|
+
* // name: "STRING_VALUE", // required
|
|
735
|
+
* // description: "STRING_VALUE",
|
|
736
|
+
* // kind: { // AgentGuardrailCheckKind Union: only one key present
|
|
737
|
+
* // preset: { // AgentGuardrailPresetCheck
|
|
738
|
+
* // preset: "jailbreak" || "offTopic" || "abuse" || "harmful" || "selfHarm" || "pii" || "secrets" || "regulatedAdvice", // required
|
|
739
|
+
* // notes: "STRING_VALUE",
|
|
740
|
+
* // },
|
|
741
|
+
* // custom: { // AgentGuardrailCustomCheck
|
|
742
|
+
* // instructions: "STRING_VALUE", // required
|
|
743
|
+
* // examples: [ // AgentGuardrailExamplesList
|
|
744
|
+
* // "STRING_VALUE",
|
|
745
|
+
* // ],
|
|
746
|
+
* // },
|
|
747
|
+
* // },
|
|
748
|
+
* // sensitivity: "low" || "medium" || "high",
|
|
749
|
+
* // action: { // AgentGuardrailAction Union: only one key present
|
|
750
|
+
* // observe: {},
|
|
751
|
+
* // redact: {},
|
|
752
|
+
* // block: { // AgentGuardrailBlockAction
|
|
753
|
+
* // message: "STRING_VALUE",
|
|
754
|
+
* // },
|
|
755
|
+
* // end: { // AgentGuardrailEndAction
|
|
756
|
+
* // message: "STRING_VALUE",
|
|
757
|
+
* // },
|
|
758
|
+
* // },
|
|
759
|
+
* // },
|
|
760
|
+
* // ],
|
|
761
|
+
* // model: "STRING_VALUE",
|
|
762
|
+
* // action: {// Union: only one key present
|
|
763
|
+
* // observe: {},
|
|
764
|
+
* // redact: {},
|
|
765
|
+
* // block: {
|
|
766
|
+
* // message: "STRING_VALUE",
|
|
767
|
+
* // },
|
|
768
|
+
* // end: {
|
|
769
|
+
* // message: "STRING_VALUE",
|
|
770
|
+
* // },
|
|
771
|
+
* // },
|
|
772
|
+
* // mode: "blocking" || "parallel",
|
|
773
|
+
* // errorMode: "open" || "closed",
|
|
774
|
+
* // window: "lastMessage" || "lastWithPrior",
|
|
775
|
+
* // },
|
|
776
|
+
* // },
|
|
732
777
|
* // model: "STRING_VALUE",
|
|
733
778
|
* // timeZone: "STRING_VALUE",
|
|
734
779
|
* // artifacts: true || false,
|
|
@@ -119,7 +119,6 @@ declare const GetAgentVersionCommand_base: {
|
|
|
119
119
|
* // { // AgentWorkflowStep
|
|
120
120
|
* // id: "STRING_VALUE", // required
|
|
121
121
|
* // label: "STRING_VALUE", // required
|
|
122
|
-
* // summary: "STRING_VALUE",
|
|
123
122
|
* // stage: "STRING_VALUE",
|
|
124
123
|
* // handler: { // AgentWorkflowHandler Union: only one key present
|
|
125
124
|
* // conversation: { // AgentWorkflowConversationHandler
|
|
@@ -576,7 +575,6 @@ declare const GetAgentVersionCommand_base: {
|
|
|
576
575
|
* // {
|
|
577
576
|
* // id: "STRING_VALUE", // required
|
|
578
577
|
* // label: "STRING_VALUE", // required
|
|
579
|
-
* // summary: "STRING_VALUE",
|
|
580
578
|
* // stage: "STRING_VALUE",
|
|
581
579
|
* // handler: {// Union: only one key present
|
|
582
580
|
* // conversation: {
|
|
@@ -736,6 +734,53 @@ declare const GetAgentVersionCommand_base: {
|
|
|
736
734
|
* // layout: "flow" || "compact" || "stages",
|
|
737
735
|
* // },
|
|
738
736
|
* // },
|
|
737
|
+
* // guardrails: { // AgentGuardrails
|
|
738
|
+
* // input: { // AgentGuardrailInput
|
|
739
|
+
* // checks: [ // AgentGuardrailChecksList
|
|
740
|
+
* // { // AgentGuardrailCheck
|
|
741
|
+
* // name: "STRING_VALUE", // required
|
|
742
|
+
* // description: "STRING_VALUE",
|
|
743
|
+
* // kind: { // AgentGuardrailCheckKind Union: only one key present
|
|
744
|
+
* // preset: { // AgentGuardrailPresetCheck
|
|
745
|
+
* // preset: "jailbreak" || "offTopic" || "abuse" || "harmful" || "selfHarm" || "pii" || "secrets" || "regulatedAdvice", // required
|
|
746
|
+
* // notes: "STRING_VALUE",
|
|
747
|
+
* // },
|
|
748
|
+
* // custom: { // AgentGuardrailCustomCheck
|
|
749
|
+
* // instructions: "STRING_VALUE", // required
|
|
750
|
+
* // examples: [ // AgentGuardrailExamplesList
|
|
751
|
+
* // "STRING_VALUE",
|
|
752
|
+
* // ],
|
|
753
|
+
* // },
|
|
754
|
+
* // },
|
|
755
|
+
* // sensitivity: "low" || "medium" || "high",
|
|
756
|
+
* // action: { // AgentGuardrailAction Union: only one key present
|
|
757
|
+
* // observe: {},
|
|
758
|
+
* // redact: {},
|
|
759
|
+
* // block: { // AgentGuardrailBlockAction
|
|
760
|
+
* // message: "STRING_VALUE",
|
|
761
|
+
* // },
|
|
762
|
+
* // end: { // AgentGuardrailEndAction
|
|
763
|
+
* // message: "STRING_VALUE",
|
|
764
|
+
* // },
|
|
765
|
+
* // },
|
|
766
|
+
* // },
|
|
767
|
+
* // ],
|
|
768
|
+
* // model: "STRING_VALUE",
|
|
769
|
+
* // action: {// Union: only one key present
|
|
770
|
+
* // observe: {},
|
|
771
|
+
* // redact: {},
|
|
772
|
+
* // block: {
|
|
773
|
+
* // message: "STRING_VALUE",
|
|
774
|
+
* // },
|
|
775
|
+
* // end: {
|
|
776
|
+
* // message: "STRING_VALUE",
|
|
777
|
+
* // },
|
|
778
|
+
* // },
|
|
779
|
+
* // mode: "blocking" || "parallel",
|
|
780
|
+
* // errorMode: "open" || "closed",
|
|
781
|
+
* // window: "lastMessage" || "lastWithPrior",
|
|
782
|
+
* // },
|
|
783
|
+
* // },
|
|
739
784
|
* // model: "STRING_VALUE",
|
|
740
785
|
* // timeZone: "STRING_VALUE",
|
|
741
786
|
* // artifacts: true || false,
|
|
@@ -117,7 +117,6 @@ declare const ListAgentsCommand_base: {
|
|
|
117
117
|
* // { // AgentWorkflowStep
|
|
118
118
|
* // id: "STRING_VALUE", // required
|
|
119
119
|
* // label: "STRING_VALUE", // required
|
|
120
|
-
* // summary: "STRING_VALUE",
|
|
121
120
|
* // stage: "STRING_VALUE",
|
|
122
121
|
* // handler: { // AgentWorkflowHandler Union: only one key present
|
|
123
122
|
* // conversation: { // AgentWorkflowConversationHandler
|
|
@@ -574,7 +573,6 @@ declare const ListAgentsCommand_base: {
|
|
|
574
573
|
* // {
|
|
575
574
|
* // id: "STRING_VALUE", // required
|
|
576
575
|
* // label: "STRING_VALUE", // required
|
|
577
|
-
* // summary: "STRING_VALUE",
|
|
578
576
|
* // stage: "STRING_VALUE",
|
|
579
577
|
* // handler: {// Union: only one key present
|
|
580
578
|
* // conversation: {
|
|
@@ -734,6 +732,53 @@ declare const ListAgentsCommand_base: {
|
|
|
734
732
|
* // layout: "flow" || "compact" || "stages",
|
|
735
733
|
* // },
|
|
736
734
|
* // },
|
|
735
|
+
* // guardrails: { // AgentGuardrails
|
|
736
|
+
* // input: { // AgentGuardrailInput
|
|
737
|
+
* // checks: [ // AgentGuardrailChecksList
|
|
738
|
+
* // { // AgentGuardrailCheck
|
|
739
|
+
* // name: "STRING_VALUE", // required
|
|
740
|
+
* // description: "STRING_VALUE",
|
|
741
|
+
* // kind: { // AgentGuardrailCheckKind Union: only one key present
|
|
742
|
+
* // preset: { // AgentGuardrailPresetCheck
|
|
743
|
+
* // preset: "jailbreak" || "offTopic" || "abuse" || "harmful" || "selfHarm" || "pii" || "secrets" || "regulatedAdvice", // required
|
|
744
|
+
* // notes: "STRING_VALUE",
|
|
745
|
+
* // },
|
|
746
|
+
* // custom: { // AgentGuardrailCustomCheck
|
|
747
|
+
* // instructions: "STRING_VALUE", // required
|
|
748
|
+
* // examples: [ // AgentGuardrailExamplesList
|
|
749
|
+
* // "STRING_VALUE",
|
|
750
|
+
* // ],
|
|
751
|
+
* // },
|
|
752
|
+
* // },
|
|
753
|
+
* // sensitivity: "low" || "medium" || "high",
|
|
754
|
+
* // action: { // AgentGuardrailAction Union: only one key present
|
|
755
|
+
* // observe: {},
|
|
756
|
+
* // redact: {},
|
|
757
|
+
* // block: { // AgentGuardrailBlockAction
|
|
758
|
+
* // message: "STRING_VALUE",
|
|
759
|
+
* // },
|
|
760
|
+
* // end: { // AgentGuardrailEndAction
|
|
761
|
+
* // message: "STRING_VALUE",
|
|
762
|
+
* // },
|
|
763
|
+
* // },
|
|
764
|
+
* // },
|
|
765
|
+
* // ],
|
|
766
|
+
* // model: "STRING_VALUE",
|
|
767
|
+
* // action: {// Union: only one key present
|
|
768
|
+
* // observe: {},
|
|
769
|
+
* // redact: {},
|
|
770
|
+
* // block: {
|
|
771
|
+
* // message: "STRING_VALUE",
|
|
772
|
+
* // },
|
|
773
|
+
* // end: {
|
|
774
|
+
* // message: "STRING_VALUE",
|
|
775
|
+
* // },
|
|
776
|
+
* // },
|
|
777
|
+
* // mode: "blocking" || "parallel",
|
|
778
|
+
* // errorMode: "open" || "closed",
|
|
779
|
+
* // window: "lastMessage" || "lastWithPrior",
|
|
780
|
+
* // },
|
|
781
|
+
* // },
|
|
737
782
|
* // model: "STRING_VALUE",
|
|
738
783
|
* // timeZone: "STRING_VALUE",
|
|
739
784
|
* // artifacts: true || false,
|