@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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChannelType = exports.AgentStatus = exports.AgentWorkflowLayout = exports.AgentWorkflowFailureKind = exports.AgentWorkflowMessageButtonVariant = exports.AgentWorkflowEntryBehavior = exports.AgentVariableType = exports.WebSearchContextSize = exports.AgentTransferVariant = exports.AgentTransferPipelineType = exports.SandboxSize = exports.SandboxNetworkAccess = exports.AgentHangupPipelineType = exports.AgentHandoverVariant = exports.AgentHandoverPipelineType = exports.AgentToolPipelineType = exports.ActorType = exports.AgentVisibility = void 0;
3
+ exports.ChannelType = exports.AgentStatus = exports.AgentWorkflowLayout = exports.AgentWorkflowFailureKind = exports.AgentWorkflowMessageButtonVariant = exports.AgentWorkflowEntryBehavior = exports.AgentVariableType = exports.AgentGuardrailWindow = exports.AgentGuardrailMode = exports.AgentGuardrailErrorMode = exports.AgentGuardrailSensitivity = exports.AgentGuardrailPreset = exports.WebSearchContextSize = exports.AgentTransferVariant = exports.AgentTransferPipelineType = exports.SandboxSize = exports.SandboxNetworkAccess = exports.AgentHangupPipelineType = exports.AgentHandoverVariant = exports.AgentHandoverPipelineType = exports.AgentToolPipelineType = exports.ActorType = exports.AgentVisibility = void 0;
4
4
  exports.AgentVisibility = {
5
5
  EXPLICIT: "explicit",
6
6
  ORGANIZATION: "organization",
@@ -56,6 +56,33 @@ exports.WebSearchContextSize = {
56
56
  LOW: "low",
57
57
  MEDIUM: "medium",
58
58
  };
59
+ exports.AgentGuardrailPreset = {
60
+ ABUSE: "abuse",
61
+ HARMFUL: "harmful",
62
+ JAILBREAK: "jailbreak",
63
+ OFF_TOPIC: "offTopic",
64
+ PII: "pii",
65
+ REGULATED_ADVICE: "regulatedAdvice",
66
+ SECRETS: "secrets",
67
+ SELF_HARM: "selfHarm",
68
+ };
69
+ exports.AgentGuardrailSensitivity = {
70
+ HIGH: "high",
71
+ LOW: "low",
72
+ MEDIUM: "medium",
73
+ };
74
+ exports.AgentGuardrailErrorMode = {
75
+ CLOSED: "closed",
76
+ OPEN: "open",
77
+ };
78
+ exports.AgentGuardrailMode = {
79
+ BLOCKING: "blocking",
80
+ PARALLEL: "parallel",
81
+ };
82
+ exports.AgentGuardrailWindow = {
83
+ LAST_MESSAGE: "lastMessage",
84
+ LAST_WITH_PRIOR: "lastWithPrior",
85
+ };
59
86
  exports.AgentVariableType = {
60
87
  BOOLEAN: "boolean",
61
88
  NUMBER: "number",
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AgentWebFetchCapability$ = exports.AgentWaitCapability$ = exports.AgentVersionInfo$ = exports.AgentVersionChange$ = exports.AgentVersion$ = exports.AgentVercelSandboxOptions$ = exports.AgentVariable$ = exports.AgentTransferPipeline$ = exports.AgentTransferCapability$ = exports.AgentToolVariablesAnnotation$ = exports.AgentToolVariablePredefinedHandler$ = exports.AgentToolVariableGuidedHandler$ = exports.AgentToolVariableAutoHandler$ = exports.AgentToolVariable$ = exports.AgentToolTagAnnotation$ = exports.AgentToolResultAnnotation$ = exports.AgentToolPipeline$ = exports.AgentToolFieldPredefinedHandler$ = exports.AgentToolFieldGuidedHandler$ = exports.AgentToolField$ = exports.AgentToolCommentAnnotation$ = exports.AgentToolApproval$ = exports.AgentTool$ = exports.AgentSuggestionsCapability$ = exports.AgentSqsEngine$ = exports.AgentSnapshotSandboxOptions$ = exports.AgentSettings$ = exports.AgentKnowledgeBase$ = exports.AgentInfo$ = exports.AgentHangupPipeline$ = exports.AgentHangupCapability$ = exports.AgentHandoverPipeline$ = exports.AgentHandoverCapability$ = exports.AgentDeploymentRoute$ = exports.AgentDelegationCapability$ = exports.AgentDefinitionSnapshot$ = exports.AgentConnectorCapability$ = exports.AgentChannels$ = exports.AgentCallCapability$ = exports.AgentApiKey$ = exports.AgentAiEngine$ = exports.AgentAccess$ = exports.Agent$ = exports.errorTypeRegistries = exports.RevisionConflictException$ = exports.NothingToPublishException$ = exports.ValidationException$ = exports.NotFoundException$ = exports.ConflictException$ = exports.WilmaAgentsServiceException$ = void 0;
4
- exports.ListAgentApiKeysInput$ = exports.GetAgentVersionOutput$ = exports.GetAgentVersionInput$ = exports.GetAgentOutput$ = exports.GetAgentInput$ = exports.GetAgentDeploymentOutput$ = exports.GetAgentDeploymentInput$ = exports.DeleteAgentOutput$ = exports.DeleteAgentInput$ = exports.DeleteAgentApiKeyOutput$ = exports.DeleteAgentApiKeyInput$ = exports.CreateAgentOutput$ = exports.CreateAgentInput$ = exports.CreateAgentApiKeyOutput$ = exports.CreateAgentApiKeyInput$ = exports.CompareAgentVersionsOutput$ = exports.CompareAgentVersionsInput$ = exports.ChatChannelSettings$ = exports.AssistantChannelSettings$ = exports.AgentWorkflowVariablesHandler$ = exports.AgentWorkflowTransition$ = exports.AgentWorkflowStepPosition$ = exports.AgentWorkflowStep$ = exports.AgentWorkflowSettings$ = exports.AgentWorkflowResultHandler$ = exports.AgentWorkflowResultCondition$ = exports.AgentWorkflowPromptCondition$ = exports.AgentWorkflowNested$ = exports.AgentWorkflowMessageVoiceSettings$ = exports.AgentWorkflowMessageHandler$ = exports.AgentWorkflowMessageGeneration$ = exports.AgentWorkflowMessageChatSettings$ = exports.AgentWorkflowMessageChannelsSettings$ = exports.AgentWorkflowMessageButtonReplyHandler$ = exports.AgentWorkflowMessageButtonLinkHandler$ = exports.AgentWorkflowMessageButton$ = exports.AgentWorkflowInvokeHandler$ = exports.AgentWorkflowFallbackCondition$ = exports.AgentWorkflowFailureCondition$ = exports.AgentWorkflowExpressionCondition$ = exports.AgentWorkflowEndHandler$ = exports.AgentWorkflowConversationVoiceSettings$ = exports.AgentWorkflowConversationHandler$ = exports.AgentWorkflowConversationChannelsSettings$ = exports.AgentWorkflowAssignment$ = exports.AgentWorkflowAlwaysCondition$ = exports.AgentWorkflowActionHandler$ = exports.AgentWorkflow$ = exports.AgentWebSearchCapability$ = exports.AgentWebhookEngine$ = void 0;
5
- exports.GetAgentDeployment$ = exports.GetAgent$ = exports.DeleteAgentApiKey$ = exports.DeleteAgent$ = exports.CreateAgentApiKey$ = exports.CreateAgent$ = exports.CompareAgentVersions$ = exports.VoiceTerminateAction$ = exports.AgentWorkflowMessageContent$ = exports.AgentWorkflowMessageButtonHandler$ = exports.AgentWorkflowHandler$ = exports.AgentWorkflowCondition$ = exports.AgentWorkflowAction$ = exports.AgentToolVariableHandler$ = exports.AgentToolFieldHandler$ = exports.AgentToolAnnotation$ = exports.AgentSandboxCapability$ = exports.AgentGrantPrincipal$ = exports.AgentEngine$ = exports.AgentCapability$ = exports.AgentSkillReference$ = exports.SecretRef$ = exports.Actor$ = exports.WorkflowChannelSettings$ = exports.WebSearchUserLocation$ = exports.VoiceTransferTarget$ = exports.VoiceTerminateHangupAction$ = exports.VoiceSilenceTimeoutSettings$ = exports.VoiceMaxDurationSettings$ = exports.VoiceInterruptionSettings$ = exports.VoiceEndCallSettings$ = exports.VoiceChannelSettings$ = exports.VoiceCallerMetadataSettings$ = exports.UpdateAgentOutput$ = exports.UpdateAgentInput$ = exports.RestoreAgentVersionToDraftOutput$ = exports.RestoreAgentVersionToDraftInput$ = exports.ResetAgentDeploymentOutput$ = exports.ResetAgentDeploymentInput$ = exports.PutAgentDeploymentOutput$ = exports.PutAgentDeploymentInput$ = exports.PublishAgentVersionOutput$ = exports.PublishAgentVersionInput$ = exports.ListAgentVersionsOutput$ = exports.ListAgentVersionsInput$ = exports.ListAgentsOutput$ = exports.ListAgentsNamesOutput$ = exports.ListAgentsNamesInput$ = exports.ListAgentsInput$ = exports.ListAgentApiKeysOutput$ = void 0;
6
- exports.UpdateAgent$ = exports.RestoreAgentVersionToDraft$ = exports.ResetAgentDeployment$ = exports.PutAgentDeployment$ = exports.PublishAgentVersion$ = exports.ListAgentVersions$ = exports.ListAgentsNames$ = exports.ListAgents$ = exports.ListAgentApiKeys$ = exports.GetAgentVersion$ = void 0;
3
+ exports.AgentToolVariablesAnnotation$ = exports.AgentToolVariablePredefinedHandler$ = exports.AgentToolVariableGuidedHandler$ = exports.AgentToolVariableAutoHandler$ = exports.AgentToolVariable$ = exports.AgentToolTagAnnotation$ = exports.AgentToolResultAnnotation$ = exports.AgentToolPipeline$ = exports.AgentToolFieldPredefinedHandler$ = exports.AgentToolFieldGuidedHandler$ = exports.AgentToolField$ = exports.AgentToolCommentAnnotation$ = exports.AgentToolApproval$ = exports.AgentTool$ = exports.AgentSuggestionsCapability$ = exports.AgentSqsEngine$ = exports.AgentSnapshotSandboxOptions$ = exports.AgentSettings$ = exports.AgentKnowledgeBase$ = exports.AgentInfo$ = exports.AgentHangupPipeline$ = exports.AgentHangupCapability$ = exports.AgentHandoverPipeline$ = exports.AgentHandoverCapability$ = exports.AgentGuardrails$ = exports.AgentGuardrailRedactAction$ = exports.AgentGuardrailPresetCheck$ = exports.AgentGuardrailObserveAction$ = exports.AgentGuardrailInput$ = exports.AgentGuardrailEndAction$ = exports.AgentGuardrailCustomCheck$ = exports.AgentGuardrailCheck$ = exports.AgentGuardrailBlockAction$ = exports.AgentDeploymentRoute$ = exports.AgentDelegationCapability$ = exports.AgentDefinitionSnapshot$ = exports.AgentConnectorCapability$ = exports.AgentChannels$ = exports.AgentCallCapability$ = exports.AgentApiKey$ = exports.AgentAiEngine$ = exports.AgentAccess$ = exports.Agent$ = exports.errorTypeRegistries = exports.RevisionConflictException$ = exports.NothingToPublishException$ = exports.ValidationException$ = exports.NotFoundException$ = exports.ConflictException$ = exports.WilmaAgentsServiceException$ = void 0;
4
+ exports.DeleteAgentApiKeyOutput$ = exports.DeleteAgentApiKeyInput$ = exports.CreateAgentOutput$ = exports.CreateAgentInput$ = exports.CreateAgentApiKeyOutput$ = exports.CreateAgentApiKeyInput$ = exports.CompareAgentVersionsOutput$ = exports.CompareAgentVersionsInput$ = exports.ChatChannelSettings$ = exports.AssistantChannelSettings$ = exports.AgentWorkflowVariablesHandler$ = exports.AgentWorkflowTransition$ = exports.AgentWorkflowStepPosition$ = exports.AgentWorkflowStep$ = exports.AgentWorkflowSettings$ = exports.AgentWorkflowResultHandler$ = exports.AgentWorkflowResultCondition$ = exports.AgentWorkflowPromptCondition$ = exports.AgentWorkflowNested$ = exports.AgentWorkflowMessageVoiceSettings$ = exports.AgentWorkflowMessageHandler$ = exports.AgentWorkflowMessageGeneration$ = exports.AgentWorkflowMessageChatSettings$ = exports.AgentWorkflowMessageChannelsSettings$ = exports.AgentWorkflowMessageButtonReplyHandler$ = exports.AgentWorkflowMessageButtonLinkHandler$ = exports.AgentWorkflowMessageButton$ = exports.AgentWorkflowInvokeHandler$ = exports.AgentWorkflowFallbackCondition$ = exports.AgentWorkflowFailureCondition$ = exports.AgentWorkflowExpressionCondition$ = exports.AgentWorkflowEndHandler$ = exports.AgentWorkflowConversationVoiceSettings$ = exports.AgentWorkflowConversationHandler$ = exports.AgentWorkflowConversationChannelsSettings$ = exports.AgentWorkflowAssignment$ = exports.AgentWorkflowAlwaysCondition$ = exports.AgentWorkflowActionHandler$ = exports.AgentWorkflow$ = exports.AgentWebSearchCapability$ = exports.AgentWebhookEngine$ = exports.AgentWebFetchCapability$ = exports.AgentWaitCapability$ = exports.AgentVersionInfo$ = exports.AgentVersionChange$ = exports.AgentVersion$ = exports.AgentVercelSandboxOptions$ = exports.AgentVariable$ = exports.AgentTransferPipeline$ = exports.AgentTransferCapability$ = void 0;
5
+ exports.AgentWorkflowCondition$ = exports.AgentWorkflowAction$ = exports.AgentToolVariableHandler$ = exports.AgentToolFieldHandler$ = exports.AgentToolAnnotation$ = exports.AgentSandboxCapability$ = exports.AgentGuardrailCheckKind$ = exports.AgentGuardrailAction$ = exports.AgentGrantPrincipal$ = exports.AgentEngine$ = exports.AgentCapability$ = exports.AgentSkillReference$ = exports.SecretRef$ = exports.Actor$ = exports.WorkflowChannelSettings$ = exports.WebSearchUserLocation$ = exports.VoiceTransferTarget$ = exports.VoiceTerminateHangupAction$ = exports.VoiceSilenceTimeoutSettings$ = exports.VoiceMaxDurationSettings$ = exports.VoiceInterruptionSettings$ = exports.VoiceEndCallSettings$ = exports.VoiceChannelSettings$ = exports.VoiceCallerMetadataSettings$ = exports.UpdateAgentOutput$ = exports.UpdateAgentInput$ = exports.RestoreAgentVersionToDraftOutput$ = exports.RestoreAgentVersionToDraftInput$ = exports.ResetAgentDeploymentOutput$ = exports.ResetAgentDeploymentInput$ = exports.PutAgentDeploymentOutput$ = exports.PutAgentDeploymentInput$ = exports.PublishAgentVersionOutput$ = exports.PublishAgentVersionInput$ = exports.ListAgentVersionsOutput$ = exports.ListAgentVersionsInput$ = exports.ListAgentsOutput$ = exports.ListAgentsNamesOutput$ = exports.ListAgentsNamesInput$ = exports.ListAgentsInput$ = exports.ListAgentApiKeysOutput$ = exports.ListAgentApiKeysInput$ = exports.GetAgentVersionOutput$ = exports.GetAgentVersionInput$ = exports.GetAgentOutput$ = exports.GetAgentInput$ = exports.GetAgentDeploymentOutput$ = exports.GetAgentDeploymentInput$ = exports.DeleteAgentOutput$ = exports.DeleteAgentInput$ = void 0;
6
+ exports.UpdateAgent$ = exports.RestoreAgentVersionToDraft$ = exports.ResetAgentDeployment$ = exports.PutAgentDeployment$ = exports.PublishAgentVersion$ = exports.ListAgentVersions$ = exports.ListAgentsNames$ = exports.ListAgents$ = exports.ListAgentApiKeys$ = exports.GetAgentVersion$ = exports.GetAgentDeployment$ = exports.GetAgent$ = exports.DeleteAgentApiKey$ = exports.DeleteAgent$ = exports.CreateAgentApiKey$ = exports.CreateAgent$ = exports.CompareAgentVersions$ = exports.VoiceTerminateAction$ = exports.AgentWorkflowMessageContent$ = exports.AgentWorkflowMessageButtonHandler$ = exports.AgentWorkflowHandler$ = void 0;
7
7
  const _A = "Agent";
8
8
  const _AA = "AgentAccess";
9
9
  const _AAE = "AgentAiEngine";
@@ -20,8 +20,20 @@ const _ADR = "AgentDeploymentRoute";
20
20
  const _ADRL = "AgentDeploymentRoutesList";
21
21
  const _ADS = "AgentDefinitionSnapshot";
22
22
  const _AE = "AgentEngine";
23
+ const _AG = "AgentGuardrails";
24
+ const _AGA = "AgentGuardrailAction";
25
+ const _AGBA = "AgentGuardrailBlockAction";
26
+ const _AGC = "AgentGuardrailCheck";
27
+ const _AGCC = "AgentGuardrailCustomCheck";
28
+ const _AGCK = "AgentGuardrailCheckKind";
29
+ const _AGCL = "AgentGuardrailChecksList";
30
+ const _AGEA = "AgentGuardrailEndAction";
31
+ const _AGI = "AgentGuardrailInput";
32
+ const _AGOA = "AgentGuardrailObserveAction";
23
33
  const _AGP = "AgentGrantPrincipal";
34
+ const _AGPC = "AgentGuardrailPresetCheck";
24
35
  const _AGPL = "AgentGrantPrincipalList";
36
+ const _AGRA = "AgentGuardrailRedactAction";
25
37
  const _AHC = "AgentHandoverCapability";
26
38
  const _AHCg = "AgentHangupCapability";
27
39
  const _AHP = "AgentHandoverPipeline";
@@ -200,6 +212,7 @@ const _ass = "assignments";
200
212
  const _au = "auto";
201
213
  const _b = "before";
202
214
  const _bOV = "basedOnVersion";
215
+ const _bl = "block";
203
216
  const _c = "client";
204
217
  const _cA = "createdAt";
205
218
  const _cB = "createdBy";
@@ -218,6 +231,7 @@ const _cha = "chat";
218
231
  const _chan = "changelog";
219
232
  const _chang = "changes";
220
233
  const _chann = "channel";
234
+ const _che = "checks";
221
235
  const _ci = "city";
222
236
  const _co = "context";
223
237
  const _com = "company";
@@ -229,6 +243,7 @@ const _cont = "content";
229
243
  const _conv = "conversation";
230
244
  const _cou = "country";
231
245
  const _cu = "cursor";
246
+ const _cus = "custom";
232
247
  const _d = "description";
233
248
  const _dBV = "draftBaseVersion";
234
249
  const _de = "deployment";
@@ -239,12 +254,14 @@ const _di = "discoverable";
239
254
  const _e = "error";
240
255
  const _eA = "expiresAt";
241
256
  const _eC = "endCall";
257
+ const _eM = "errorMode";
242
258
  const _en = "engine";
243
259
  const _ena = "enabled";
244
260
  const _end = "end";
245
261
  const _ent = "entry";
246
- const _ex = "extension";
262
+ const _ex = "examples";
247
263
  const _exp = "expression";
264
+ const _ext = "extension";
248
265
  const _f = "fields";
249
266
  const _fD = "fromDraft";
250
267
  const _fTC = "forceToolCall";
@@ -256,7 +273,8 @@ const _gI = "groupId";
256
273
  const _ge = "generate";
257
274
  const _go = "goal";
258
275
  const _gr = "greeting";
259
- const _gu = "guided";
276
+ const _gu = "guardrails";
277
+ const _gui = "guided";
260
278
  const _h = "handler";
261
279
  const _hE = "httpError";
262
280
  const _hQ = "httpQuery";
@@ -265,12 +283,14 @@ const _han = "hangup";
265
283
  const _ht = "http";
266
284
  const _i = "id";
267
285
  const _in = "instructions";
286
+ const _inp = "input";
268
287
  const _int = "interruptions";
269
- const _k = "key";
288
+ const _k = "kind";
270
289
  const _kBI = "knowledgeBaseId";
271
290
  const _kI = "keyId";
272
291
  const _kb = "kb";
273
- const _ke = "keys";
292
+ const _ke = "key";
293
+ const _key = "keys";
274
294
  const _ki = "kinds";
275
295
  const _l = "layout";
276
296
  const _lUA = "lastUsedAt";
@@ -283,11 +303,14 @@ const _mD = "maxDuration";
283
303
  const _mT = "maxTransitions";
284
304
  const _mW = "minWords";
285
305
  const _mo = "model";
306
+ const _mod = "mode";
286
307
  const _n = "name";
287
308
  const _nC = "nextCursor";
288
309
  const _ne = "network";
289
310
  const _nes = "nested";
311
+ const _no = "notes";
290
312
  const _o = "optional";
313
+ const _ob = "observe";
291
314
  const _ou = "output";
292
315
  const _p = "picture";
293
316
  const _pA = "publishedAt";
@@ -299,10 +322,12 @@ const _ph = "phrases";
299
322
  const _pi = "pipeline";
300
323
  const _po = "position";
301
324
  const _pr = "prefix";
302
- const _pre = "predefined";
325
+ const _pre = "preset";
326
+ const _pred = "predefined";
303
327
  const _pro = "prompt";
304
328
  const _r = "revision";
305
329
  const _re = "result";
330
+ const _red = "redact";
306
331
  const _reg = "region";
307
332
  const _rep = "reply";
308
333
  const _s = "smithy.ts.sdk.synthetic.wildix.wilma.agents";
@@ -315,6 +340,7 @@ const _se = "settings";
315
340
  const _sea = "search";
316
341
  const _sec = "secret";
317
342
  const _seco = "seconds";
343
+ const _sen = "sensitivity";
318
344
  const _ser = "service";
319
345
  const _si = "silent";
320
346
  const _siz = "size";
@@ -325,7 +351,6 @@ const _st = "status";
325
351
  const _sta = "stage";
326
352
  const _ste = "steps";
327
353
  const _su = "suggestions";
328
- const _sum = "summary";
329
354
  const _t = "type";
330
355
  const _tD = "toDraft";
331
356
  const _tV = "toolVersion";
@@ -359,6 +384,7 @@ const _wF = "webFetch";
359
384
  const _wS = "webSearch";
360
385
  const _wa = "wait";
361
386
  const _we = "webhook";
387
+ const _wi = "window";
362
388
  const _x = "x";
363
389
  const _y = "y";
364
390
  const n0 = "smithy.framework";
@@ -421,8 +447,8 @@ exports.AgentAccess$ = [3, n2, _AA,
421
447
  ];
422
448
  exports.AgentAiEngine$ = [3, n2, _AAE,
423
449
  0,
424
- [_in, _w, _mo, _tZ, _ar, _sk, _cap, _va],
425
- [0, () => exports.AgentWorkflow$, 0, 0, 2, () => AgentSkillsList, () => AgentCapabilitiesList, () => AgentVariablesList], 1
450
+ [_in, _w, _gu, _mo, _tZ, _ar, _sk, _cap, _va],
451
+ [0, () => exports.AgentWorkflow$, () => exports.AgentGuardrails$, 0, 0, 2, () => AgentSkillsList, () => AgentCapabilitiesList, () => AgentVariablesList], 1
426
452
  ];
427
453
  exports.AgentApiKey$ = [3, n2, _AAK,
428
454
  0,
@@ -459,6 +485,51 @@ exports.AgentDeploymentRoute$ = [3, n2, _ADR,
459
485
  [_ve, _pe],
460
486
  [1, 1], 2
461
487
  ];
488
+ exports.AgentGuardrailBlockAction$ = [3, n2, _AGBA,
489
+ 0,
490
+ [_m],
491
+ [0]
492
+ ];
493
+ exports.AgentGuardrailCheck$ = [3, n2, _AGC,
494
+ 0,
495
+ [_n, _k, _d, _sen, _ac],
496
+ [0, () => exports.AgentGuardrailCheckKind$, 0, 0, () => exports.AgentGuardrailAction$], 2
497
+ ];
498
+ exports.AgentGuardrailCustomCheck$ = [3, n2, _AGCC,
499
+ 0,
500
+ [_in, _ex],
501
+ [0, 64 | 0], 1
502
+ ];
503
+ exports.AgentGuardrailEndAction$ = [3, n2, _AGEA,
504
+ 0,
505
+ [_m],
506
+ [0]
507
+ ];
508
+ exports.AgentGuardrailInput$ = [3, n2, _AGI,
509
+ 0,
510
+ [_che, _mo, _ac, _mod, _eM, _wi],
511
+ [() => AgentGuardrailChecksList, 0, () => exports.AgentGuardrailAction$, 0, 0, 0]
512
+ ];
513
+ exports.AgentGuardrailObserveAction$ = [3, n2, _AGOA,
514
+ 0,
515
+ [],
516
+ []
517
+ ];
518
+ exports.AgentGuardrailPresetCheck$ = [3, n2, _AGPC,
519
+ 0,
520
+ [_pre, _no],
521
+ [0, 0], 1
522
+ ];
523
+ exports.AgentGuardrailRedactAction$ = [3, n2, _AGRA,
524
+ 0,
525
+ [],
526
+ []
527
+ ];
528
+ exports.AgentGuardrails$ = [3, n2, _AG,
529
+ 0,
530
+ [_inp],
531
+ [() => exports.AgentGuardrailInput$]
532
+ ];
462
533
  exports.AgentHandoverCapability$ = [3, n2, _AHC,
463
534
  0,
464
535
  [_n, _d, _var, _ag, _aV, _ser, _si, _pi, _an],
@@ -501,7 +572,7 @@ exports.AgentSnapshotSandboxOptions$ = [3, n2, _ASSO,
501
572
  ];
502
573
  exports.AgentSqsEngine$ = [3, n2, _ASE,
503
574
  0,
504
- [_u, _k, _sec],
575
+ [_u, _ke, _sec],
505
576
  [0, 0, () => exports.SecretRef$], 3
506
577
  ];
507
578
  exports.AgentSuggestionsCapability$ = [3, n2, _ASC,
@@ -581,7 +652,7 @@ exports.AgentToolVariablesAnnotation$ = [3, n2, _ATVA,
581
652
  ];
582
653
  exports.AgentTransferCapability$ = [3, n2, _ATC,
583
654
  0,
584
- [_n, _d, _var, _co, _ex, _pi, _an],
655
+ [_n, _d, _var, _co, _ext, _pi, _an],
585
656
  [0, 0, 0, 0, 0, () => exports.AgentTransferPipeline$, () => AgentToolAnnotationsList]
586
657
  ];
587
658
  exports.AgentTransferPipeline$ = [3, n2, _ATPg,
@@ -761,8 +832,8 @@ exports.AgentWorkflowSettings$ = [3, n2, _AWS,
761
832
  ];
762
833
  exports.AgentWorkflowStep$ = [3, n2, _AWSg,
763
834
  0,
764
- [_i, _la, _h, _sum, _sta, _tr, _po],
765
- [0, 0, () => exports.AgentWorkflowHandler$, 0, 0, () => AgentWorkflowTransitionsList, () => exports.AgentWorkflowStepPosition$], 3
835
+ [_i, _la, _h, _sta, _tr, _po],
836
+ [0, 0, () => exports.AgentWorkflowHandler$, 0, () => AgentWorkflowTransitionsList, () => exports.AgentWorkflowStepPosition$], 3
766
837
  ];
767
838
  exports.AgentWorkflowStepPosition$ = [3, n2, _AWSP,
768
839
  0,
@@ -806,7 +877,7 @@ exports.CreateAgentApiKeyInput$ = [3, n2, _CAAKI,
806
877
  ];
807
878
  exports.CreateAgentApiKeyOutput$ = [3, n2, _CAAKO,
808
879
  0,
809
- [_k, _sec],
880
+ [_ke, _sec],
810
881
  [() => exports.AgentApiKey$, 0], 2
811
882
  ];
812
883
  exports.CreateAgentInput$ = [3, n2, _CAI,
@@ -876,7 +947,7 @@ exports.ListAgentApiKeysInput$ = [3, n2, _LAAKI,
876
947
  ];
877
948
  exports.ListAgentApiKeysOutput$ = [3, n2, _LAAKO,
878
949
  0,
879
- [_ke],
950
+ [_key],
880
951
  [() => AgentApiKeysList], 1
881
952
  ];
882
953
  exports.ListAgentsInput$ = [3, n2, _LAI,
@@ -996,7 +1067,7 @@ exports.VoiceTerminateHangupAction$ = [3, n2, _VTHA,
996
1067
  ];
997
1068
  exports.VoiceTransferTarget$ = [3, n2, _VTT,
998
1069
  0,
999
- [_n, _co, _ex, _d],
1070
+ [_n, _co, _ext, _d],
1000
1071
  [0, 0, 0, 0], 3
1001
1072
  ];
1002
1073
  exports.WebSearchUserLocation$ = [3, n2, _WSUL,
@@ -1036,6 +1107,10 @@ var AgentDeploymentRoutesList = [1, n2, _ADRL,
1036
1107
  var AgentGrantPrincipalList = [1, n2, _AGPL,
1037
1108
  0, () => exports.AgentGrantPrincipal$
1038
1109
  ];
1110
+ var AgentGuardrailChecksList = [1, n2, _AGCL,
1111
+ 0, () => exports.AgentGuardrailCheck$
1112
+ ];
1113
+ var AgentGuardrailExamplesList = 64 | 0;
1039
1114
  var AgentsInfoList = [1, n2, _AIL,
1040
1115
  0, () => exports.AgentInfo$
1041
1116
  ];
@@ -1096,6 +1171,16 @@ exports.AgentGrantPrincipal$ = [4, n2, _AGP,
1096
1171
  [_uI, _gI],
1097
1172
  [0, 0]
1098
1173
  ];
1174
+ exports.AgentGuardrailAction$ = [4, n2, _AGA,
1175
+ 0,
1176
+ [_ob, _red, _bl, _end],
1177
+ [() => exports.AgentGuardrailObserveAction$, () => exports.AgentGuardrailRedactAction$, () => exports.AgentGuardrailBlockAction$, () => exports.AgentGuardrailEndAction$]
1178
+ ];
1179
+ exports.AgentGuardrailCheckKind$ = [4, n2, _AGCK,
1180
+ 0,
1181
+ [_pre, _cus],
1182
+ [() => exports.AgentGuardrailPresetCheck$, () => exports.AgentGuardrailCustomCheck$]
1183
+ ];
1099
1184
  exports.AgentSandboxCapability$ = [4, n2, _ASCg,
1100
1185
  0,
1101
1186
  [_verc, _sn],
@@ -1108,12 +1193,12 @@ exports.AgentToolAnnotation$ = [4, n2, _ATAg,
1108
1193
  ];
1109
1194
  exports.AgentToolFieldHandler$ = [4, n2, _ATFH,
1110
1195
  0,
1111
- [_gu, _pre],
1196
+ [_gui, _pred],
1112
1197
  [() => exports.AgentToolFieldGuidedHandler$, () => exports.AgentToolFieldPredefinedHandler$]
1113
1198
  ];
1114
1199
  exports.AgentToolVariableHandler$ = [4, n2, _ATVH,
1115
1200
  0,
1116
- [_au, _gu, _pre],
1201
+ [_au, _gui, _pred],
1117
1202
  [() => exports.AgentToolVariableAutoHandler$, () => exports.AgentToolVariableGuidedHandler$, () => exports.AgentToolVariablePredefinedHandler$]
1118
1203
  ];
1119
1204
  exports.AgentWorkflowAction$ = [4, n2, _AWAg,
@@ -53,6 +53,33 @@ export const WebSearchContextSize = {
53
53
  LOW: "low",
54
54
  MEDIUM: "medium",
55
55
  };
56
+ export const AgentGuardrailPreset = {
57
+ ABUSE: "abuse",
58
+ HARMFUL: "harmful",
59
+ JAILBREAK: "jailbreak",
60
+ OFF_TOPIC: "offTopic",
61
+ PII: "pii",
62
+ REGULATED_ADVICE: "regulatedAdvice",
63
+ SECRETS: "secrets",
64
+ SELF_HARM: "selfHarm",
65
+ };
66
+ export const AgentGuardrailSensitivity = {
67
+ HIGH: "high",
68
+ LOW: "low",
69
+ MEDIUM: "medium",
70
+ };
71
+ export const AgentGuardrailErrorMode = {
72
+ CLOSED: "closed",
73
+ OPEN: "open",
74
+ };
75
+ export const AgentGuardrailMode = {
76
+ BLOCKING: "blocking",
77
+ PARALLEL: "parallel",
78
+ };
79
+ export const AgentGuardrailWindow = {
80
+ LAST_MESSAGE: "lastMessage",
81
+ LAST_WITH_PRIOR: "lastWithPrior",
82
+ };
56
83
  export const AgentVariableType = {
57
84
  BOOLEAN: "boolean",
58
85
  NUMBER: "number",