@wildix/wilma-agents-client 1.0.52 → 1.0.54
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 +1 -6
- package/dist-cjs/schemas/schemas_0.js +16 -18
- package/dist-es/models/enums.js +0 -5
- package/dist-es/schemas/schemas_0.js +14 -16
- package/dist-types/commands/CreateAgentCommand.d.ts +12 -16
- package/dist-types/commands/GetAgentCommand.d.ts +6 -8
- package/dist-types/commands/GetAgentVersionCommand.d.ts +6 -8
- package/dist-types/commands/ListAgentsCommand.d.ts +6 -8
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +0 -1
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +6 -8
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +6 -8
- package/dist-types/commands/UpdateAgentCommand.d.ts +12 -16
- package/dist-types/models/enums.d.ts +4 -26
- package/dist-types/models/models_0.d.ts +31 -71
- package/dist-types/schemas/schemas_0.d.ts +1 -1
- package/package.json +1 -1
package/dist-cjs/models/enums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
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.KnowledgeBaseSearchThreshold = exports.KnowledgeBaseSearchStrategy = exports.AgentHangupPipelineType = exports.AgentHandoverVariant = exports.AgentHandoverPipelineType = exports.AgentToolPipelineType = exports.ChannelType = exports.ActorType = exports.VoicePronunciationEncoding = exports.AgentVisibility = void 0;
|
|
4
4
|
exports.AgentVisibility = {
|
|
5
5
|
EXPLICIT: "explicit",
|
|
6
6
|
ORGANIZATION: "organization",
|
|
@@ -138,8 +138,3 @@ exports.AgentStatus = {
|
|
|
138
138
|
ACTIVE: "active",
|
|
139
139
|
DRAFT: "draft",
|
|
140
140
|
};
|
|
141
|
-
exports.AgentEngineKind = {
|
|
142
|
-
AI: "ai",
|
|
143
|
-
SQS: "sqs",
|
|
144
|
-
WEBHOOK: "webhook",
|
|
145
|
-
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.CreateAgentApiKeyOutput$ = exports.CreateAgentApiKeyInput$ = exports.CompareAgentVersionsOutput$ = exports.CompareAgentVersionsInput$ = exports.ChatChannelSettings$ = exports.AssistantWelcomeSettings$ = exports.AssistantUiSettings$ = exports.AssistantQuickCommand$ = 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.
|
|
3
|
+
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.AgentSpokenPhrase$ = exports.AgentSnapshotSandboxOptions$ = exports.AgentSettings$ = exports.AgentKnowledgeBase$ = exports.AgentInlineSandboxOptions$ = 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.CreateAgentApiKeyOutput$ = exports.CreateAgentApiKeyInput$ = exports.CompareAgentVersionsOutput$ = exports.CompareAgentVersionsInput$ = exports.ChatChannelSettings$ = exports.AssistantWelcomeSettings$ = exports.AssistantUiSettings$ = exports.AssistantQuickCommand$ = 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.AgentVariable$ = exports.AgentTransferPipeline$ = exports.AgentTransferCapability$ = exports.AgentToolVariablesAnnotation$ = exports.AgentToolVariablePredefinedHandler$ = void 0;
|
|
5
5
|
exports.AgentGrantPrincipal$ = exports.AgentEngine$ = exports.AgentCapability$ = exports.AgentSkillReference$ = exports.SecretRef$ = exports.Actor$ = exports.WebSearchUserLocation$ = exports.VoiceTransferTarget$ = exports.VoiceTranscriptionSettings$ = exports.VoiceTerminateHangupAction$ = exports.VoiceSpeechSettings$ = exports.VoiceSilenceTimeoutSettings$ = exports.VoicePronunciation$ = exports.VoiceMaxDurationSettings$ = exports.VoiceLanguage$ = exports.VoiceInterruptionSettings$ = exports.VoiceEndCallSettings$ = exports.VoiceChannelSettings$ = exports.VoiceCallerMetadataSettings$ = exports.VoiceBackgroundSoundSettings$ = 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$ = exports.DeleteAgentApiKeyOutput$ = exports.DeleteAgentApiKeyInput$ = exports.CreateAgentOutput$ = exports.CreateAgentInput$ = void 0;
|
|
6
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$ = exports.AgentWorkflowCondition$ = exports.AgentWorkflowAction$ = exports.AgentToolVariableHandler$ = exports.AgentToolFieldHandler$ = exports.AgentToolAnnotation$ = exports.AgentSandboxCapability$ = exports.AgentGuardrailCheckKind$ = exports.AgentGuardrailAction$ = void 0;
|
|
7
7
|
const _A = "Agent";
|
|
@@ -40,6 +40,7 @@ const _AHP = "AgentHandoverPipeline";
|
|
|
40
40
|
const _AHPg = "AgentHangupPipeline";
|
|
41
41
|
const _AI = "AgentInfo";
|
|
42
42
|
const _AIL = "AgentsInfoList";
|
|
43
|
+
const _AISO = "AgentInlineSandboxOptions";
|
|
43
44
|
const _AKB = "AgentKnowledgeBase";
|
|
44
45
|
const _AL = "AgentsList";
|
|
45
46
|
const _AQC = "AssistantQuickCommand";
|
|
@@ -82,7 +83,6 @@ const _AVCL = "AgentVersionChangesList";
|
|
|
82
83
|
const _AVI = "AgentVersionInfo";
|
|
83
84
|
const _AVIL = "AgentVersionInfoList";
|
|
84
85
|
const _AVL = "AgentVariablesList";
|
|
85
|
-
const _AVSO = "AgentVercelSandboxOptions";
|
|
86
86
|
const _AVg = "AgentVersion";
|
|
87
87
|
const _AW = "AgentWorkflow";
|
|
88
88
|
const _AWA = "AgentWorkflowAssignment";
|
|
@@ -303,6 +303,7 @@ const _ht = "http";
|
|
|
303
303
|
const _i = "id";
|
|
304
304
|
const _iD = "isDefault";
|
|
305
305
|
const _in = "instructions";
|
|
306
|
+
const _inl = "inline";
|
|
306
307
|
const _inp = "input";
|
|
307
308
|
const _int = "interruptions";
|
|
308
309
|
const _k = "kind";
|
|
@@ -363,7 +364,6 @@ const _sIn = "snapshotId";
|
|
|
363
364
|
const _sL = "searchLimit";
|
|
364
365
|
const _sM = "startMessage";
|
|
365
366
|
const _sMt = "startMessages";
|
|
366
|
-
const _sR = "secretRef";
|
|
367
367
|
const _sS = "searchStrategy";
|
|
368
368
|
const _sT = "searchThreshold";
|
|
369
369
|
const _sTi = "silenceTimeout";
|
|
@@ -413,10 +413,8 @@ const _v = "visibility";
|
|
|
413
413
|
const _va = "variables";
|
|
414
414
|
const _val = "value";
|
|
415
415
|
const _var = "variant";
|
|
416
|
-
const _vc = "vcpus";
|
|
417
416
|
const _ve = "version";
|
|
418
417
|
const _ver = "versions";
|
|
419
|
-
const _verc = "vercel";
|
|
420
418
|
const _vo = "voice";
|
|
421
419
|
const _w = "workflow";
|
|
422
420
|
const _wF = "webFetch";
|
|
@@ -592,8 +590,13 @@ exports.AgentHangupPipeline$ = [3, n2, _AHPg,
|
|
|
592
590
|
];
|
|
593
591
|
exports.AgentInfo$ = [3, n2, _AI,
|
|
594
592
|
0,
|
|
595
|
-
[_i, _n, _st, _ch, _p, _ca, _sC,
|
|
596
|
-
[0, 0, 0, 64 | 0, 0, 0, 2,
|
|
593
|
+
[_i, _n, _st, _ch, _p, _ca, _sC, _sI, _as, _lV],
|
|
594
|
+
[0, 0, 0, 64 | 0, 0, 0, 2, 64 | 0, () => exports.AssistantUiSettings$, 1], 4
|
|
595
|
+
];
|
|
596
|
+
exports.AgentInlineSandboxOptions$ = [3, n2, _AISO,
|
|
597
|
+
0,
|
|
598
|
+
[_siz, _ne, _aD],
|
|
599
|
+
[0, 0, 64 | 0]
|
|
597
600
|
];
|
|
598
601
|
exports.AgentKnowledgeBase$ = [3, n2, _AKB,
|
|
599
602
|
0,
|
|
@@ -618,7 +621,7 @@ exports.AgentSpokenPhrase$ = [3, n2, _ASP,
|
|
|
618
621
|
exports.AgentSqsEngine$ = [3, n2, _ASE,
|
|
619
622
|
0,
|
|
620
623
|
[_u, _ke, _sec],
|
|
621
|
-
[0, 0, () => exports.SecretRef$],
|
|
624
|
+
[0, 0, () => exports.SecretRef$], 3
|
|
622
625
|
];
|
|
623
626
|
exports.AgentSuggestionsCapability$ = [3, n2, _ASC,
|
|
624
627
|
0,
|
|
@@ -710,11 +713,6 @@ exports.AgentVariable$ = [3, n2, _AV,
|
|
|
710
713
|
[_n, _t, _o, _d],
|
|
711
714
|
[0, 0, 2, 0], 3
|
|
712
715
|
];
|
|
713
|
-
exports.AgentVercelSandboxOptions$ = [3, n2, _AVSO,
|
|
714
|
-
0,
|
|
715
|
-
[_vc, _ne, _aD],
|
|
716
|
-
[1, 0, 64 | 0]
|
|
717
|
-
];
|
|
718
716
|
exports.AgentVersion$ = [3, n2, _AVg,
|
|
719
717
|
0,
|
|
720
718
|
[_aI, _ve, _def, _pA, _pB, _bOV, _n, _chan],
|
|
@@ -742,8 +740,8 @@ exports.AgentWebFetchCapability$ = [3, n2, _AWFC,
|
|
|
742
740
|
];
|
|
743
741
|
exports.AgentWebhookEngine$ = [3, n2, _AWE,
|
|
744
742
|
0,
|
|
745
|
-
[_u,
|
|
746
|
-
[0,
|
|
743
|
+
[_u, _sec, _ti],
|
|
744
|
+
[0, 0, 1], 2
|
|
747
745
|
];
|
|
748
746
|
exports.AgentWebSearchCapability$ = [3, n2, _AWSC,
|
|
749
747
|
0,
|
|
@@ -1277,8 +1275,8 @@ exports.AgentGuardrailCheckKind$ = [4, n2, _AGCK,
|
|
|
1277
1275
|
];
|
|
1278
1276
|
exports.AgentSandboxCapability$ = [4, n2, _ASCg,
|
|
1279
1277
|
0,
|
|
1280
|
-
[
|
|
1281
|
-
[() => exports.
|
|
1278
|
+
[_inl, _sn],
|
|
1279
|
+
[() => exports.AgentInlineSandboxOptions$, () => exports.AgentSnapshotSandboxOptions$]
|
|
1282
1280
|
];
|
|
1283
1281
|
exports.AgentToolAnnotation$ = [4, n2, _ATAg,
|
|
1284
1282
|
0,
|
package/dist-es/models/enums.js
CHANGED
|
@@ -34,6 +34,7 @@ const _AHP = "AgentHandoverPipeline";
|
|
|
34
34
|
const _AHPg = "AgentHangupPipeline";
|
|
35
35
|
const _AI = "AgentInfo";
|
|
36
36
|
const _AIL = "AgentsInfoList";
|
|
37
|
+
const _AISO = "AgentInlineSandboxOptions";
|
|
37
38
|
const _AKB = "AgentKnowledgeBase";
|
|
38
39
|
const _AL = "AgentsList";
|
|
39
40
|
const _AQC = "AssistantQuickCommand";
|
|
@@ -76,7 +77,6 @@ const _AVCL = "AgentVersionChangesList";
|
|
|
76
77
|
const _AVI = "AgentVersionInfo";
|
|
77
78
|
const _AVIL = "AgentVersionInfoList";
|
|
78
79
|
const _AVL = "AgentVariablesList";
|
|
79
|
-
const _AVSO = "AgentVercelSandboxOptions";
|
|
80
80
|
const _AVg = "AgentVersion";
|
|
81
81
|
const _AW = "AgentWorkflow";
|
|
82
82
|
const _AWA = "AgentWorkflowAssignment";
|
|
@@ -297,6 +297,7 @@ const _ht = "http";
|
|
|
297
297
|
const _i = "id";
|
|
298
298
|
const _iD = "isDefault";
|
|
299
299
|
const _in = "instructions";
|
|
300
|
+
const _inl = "inline";
|
|
300
301
|
const _inp = "input";
|
|
301
302
|
const _int = "interruptions";
|
|
302
303
|
const _k = "kind";
|
|
@@ -357,7 +358,6 @@ const _sIn = "snapshotId";
|
|
|
357
358
|
const _sL = "searchLimit";
|
|
358
359
|
const _sM = "startMessage";
|
|
359
360
|
const _sMt = "startMessages";
|
|
360
|
-
const _sR = "secretRef";
|
|
361
361
|
const _sS = "searchStrategy";
|
|
362
362
|
const _sT = "searchThreshold";
|
|
363
363
|
const _sTi = "silenceTimeout";
|
|
@@ -407,10 +407,8 @@ const _v = "visibility";
|
|
|
407
407
|
const _va = "variables";
|
|
408
408
|
const _val = "value";
|
|
409
409
|
const _var = "variant";
|
|
410
|
-
const _vc = "vcpus";
|
|
411
410
|
const _ve = "version";
|
|
412
411
|
const _ver = "versions";
|
|
413
|
-
const _verc = "vercel";
|
|
414
412
|
const _vo = "voice";
|
|
415
413
|
const _w = "workflow";
|
|
416
414
|
const _wF = "webFetch";
|
|
@@ -586,8 +584,13 @@ export var AgentHangupPipeline$ = [3, n2, _AHPg,
|
|
|
586
584
|
];
|
|
587
585
|
export var AgentInfo$ = [3, n2, _AI,
|
|
588
586
|
0,
|
|
589
|
-
[_i, _n, _st, _ch, _p, _ca, _sC,
|
|
590
|
-
[0, 0, 0, 64 | 0, 0, 0, 2,
|
|
587
|
+
[_i, _n, _st, _ch, _p, _ca, _sC, _sI, _as, _lV],
|
|
588
|
+
[0, 0, 0, 64 | 0, 0, 0, 2, 64 | 0, () => AssistantUiSettings$, 1], 4
|
|
589
|
+
];
|
|
590
|
+
export var AgentInlineSandboxOptions$ = [3, n2, _AISO,
|
|
591
|
+
0,
|
|
592
|
+
[_siz, _ne, _aD],
|
|
593
|
+
[0, 0, 64 | 0]
|
|
591
594
|
];
|
|
592
595
|
export var AgentKnowledgeBase$ = [3, n2, _AKB,
|
|
593
596
|
0,
|
|
@@ -612,7 +615,7 @@ export var AgentSpokenPhrase$ = [3, n2, _ASP,
|
|
|
612
615
|
export var AgentSqsEngine$ = [3, n2, _ASE,
|
|
613
616
|
0,
|
|
614
617
|
[_u, _ke, _sec],
|
|
615
|
-
[0, 0, () => SecretRef$],
|
|
618
|
+
[0, 0, () => SecretRef$], 3
|
|
616
619
|
];
|
|
617
620
|
export var AgentSuggestionsCapability$ = [3, n2, _ASC,
|
|
618
621
|
0,
|
|
@@ -704,11 +707,6 @@ export var AgentVariable$ = [3, n2, _AV,
|
|
|
704
707
|
[_n, _t, _o, _d],
|
|
705
708
|
[0, 0, 2, 0], 3
|
|
706
709
|
];
|
|
707
|
-
export var AgentVercelSandboxOptions$ = [3, n2, _AVSO,
|
|
708
|
-
0,
|
|
709
|
-
[_vc, _ne, _aD],
|
|
710
|
-
[1, 0, 64 | 0]
|
|
711
|
-
];
|
|
712
710
|
export var AgentVersion$ = [3, n2, _AVg,
|
|
713
711
|
0,
|
|
714
712
|
[_aI, _ve, _def, _pA, _pB, _bOV, _n, _chan],
|
|
@@ -736,8 +734,8 @@ export var AgentWebFetchCapability$ = [3, n2, _AWFC,
|
|
|
736
734
|
];
|
|
737
735
|
export var AgentWebhookEngine$ = [3, n2, _AWE,
|
|
738
736
|
0,
|
|
739
|
-
[_u,
|
|
740
|
-
[0,
|
|
737
|
+
[_u, _sec, _ti],
|
|
738
|
+
[0, 0, 1], 2
|
|
741
739
|
];
|
|
742
740
|
export var AgentWebSearchCapability$ = [3, n2, _AWSC,
|
|
743
741
|
0,
|
|
@@ -1271,8 +1269,8 @@ export var AgentGuardrailCheckKind$ = [4, n2, _AGCK,
|
|
|
1271
1269
|
];
|
|
1272
1270
|
export var AgentSandboxCapability$ = [4, n2, _ASCg,
|
|
1273
1271
|
0,
|
|
1274
|
-
[
|
|
1275
|
-
[() =>
|
|
1272
|
+
[_inl, _sn],
|
|
1273
|
+
[() => AgentInlineSandboxOptions$, () => AgentSnapshotSandboxOptions$]
|
|
1276
1274
|
];
|
|
1277
1275
|
export var AgentToolAnnotation$ = [4, n2, _ATAg,
|
|
1278
1276
|
0,
|
|
@@ -285,8 +285,8 @@ declare const CreateAgentCommand_base: {
|
|
|
285
285
|
* ],
|
|
286
286
|
* },
|
|
287
287
|
* sandbox: { // AgentSandboxCapability Union: only one key present
|
|
288
|
-
*
|
|
289
|
-
*
|
|
288
|
+
* inline: { // AgentInlineSandboxOptions
|
|
289
|
+
* size: "min" || "small" || "large" || "max",
|
|
290
290
|
* network: "allow-all" || "deny-all" || "allowlist",
|
|
291
291
|
* allowedDomains: [ // DomainNameList
|
|
292
292
|
* "STRING_VALUE",
|
|
@@ -691,8 +691,8 @@ declare const CreateAgentCommand_base: {
|
|
|
691
691
|
* annotations: "<AgentToolAnnotationsList>",
|
|
692
692
|
* },
|
|
693
693
|
* sandbox: {// Union: only one key present
|
|
694
|
-
*
|
|
695
|
-
*
|
|
694
|
+
* inline: {
|
|
695
|
+
* size: "min" || "small" || "large" || "max",
|
|
696
696
|
* network: "allow-all" || "deny-all" || "allowlist",
|
|
697
697
|
* allowedDomains: "<DomainNameList>",
|
|
698
698
|
* },
|
|
@@ -903,15 +903,13 @@ declare const CreateAgentCommand_base: {
|
|
|
903
903
|
* },
|
|
904
904
|
* webhook: { // AgentWebhookEngine
|
|
905
905
|
* url: "STRING_VALUE", // required
|
|
906
|
-
*
|
|
907
|
-
* id: "STRING_VALUE", // required
|
|
908
|
-
* },
|
|
906
|
+
* secret: "STRING_VALUE", // required
|
|
909
907
|
* timeout: Number("int"),
|
|
910
908
|
* },
|
|
911
909
|
* sqs: { // AgentSqsEngine
|
|
912
910
|
* url: "STRING_VALUE", // required
|
|
913
911
|
* key: "STRING_VALUE", // required
|
|
914
|
-
* secret: {
|
|
912
|
+
* secret: { // SecretRef
|
|
915
913
|
* id: "STRING_VALUE", // required
|
|
916
914
|
* },
|
|
917
915
|
* },
|
|
@@ -1174,8 +1172,8 @@ declare const CreateAgentCommand_base: {
|
|
|
1174
1172
|
* // ],
|
|
1175
1173
|
* // },
|
|
1176
1174
|
* // sandbox: { // AgentSandboxCapability Union: only one key present
|
|
1177
|
-
* //
|
|
1178
|
-
* //
|
|
1175
|
+
* // inline: { // AgentInlineSandboxOptions
|
|
1176
|
+
* // size: "min" || "small" || "large" || "max",
|
|
1179
1177
|
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
1180
1178
|
* // allowedDomains: [ // DomainNameList
|
|
1181
1179
|
* // "STRING_VALUE",
|
|
@@ -1580,8 +1578,8 @@ declare const CreateAgentCommand_base: {
|
|
|
1580
1578
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1581
1579
|
* // },
|
|
1582
1580
|
* // sandbox: {// Union: only one key present
|
|
1583
|
-
* //
|
|
1584
|
-
* //
|
|
1581
|
+
* // inline: {
|
|
1582
|
+
* // size: "min" || "small" || "large" || "max",
|
|
1585
1583
|
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
1586
1584
|
* // allowedDomains: "<DomainNameList>",
|
|
1587
1585
|
* // },
|
|
@@ -1792,15 +1790,13 @@ declare const CreateAgentCommand_base: {
|
|
|
1792
1790
|
* // },
|
|
1793
1791
|
* // webhook: { // AgentWebhookEngine
|
|
1794
1792
|
* // url: "STRING_VALUE", // required
|
|
1795
|
-
* //
|
|
1796
|
-
* // id: "STRING_VALUE", // required
|
|
1797
|
-
* // },
|
|
1793
|
+
* // secret: "STRING_VALUE", // required
|
|
1798
1794
|
* // timeout: Number("int"),
|
|
1799
1795
|
* // },
|
|
1800
1796
|
* // sqs: { // AgentSqsEngine
|
|
1801
1797
|
* // url: "STRING_VALUE", // required
|
|
1802
1798
|
* // key: "STRING_VALUE", // required
|
|
1803
|
-
* // secret: {
|
|
1799
|
+
* // secret: { // SecretRef
|
|
1804
1800
|
* // id: "STRING_VALUE", // required
|
|
1805
1801
|
* // },
|
|
1806
1802
|
* // },
|
|
@@ -292,8 +292,8 @@ declare const GetAgentCommand_base: {
|
|
|
292
292
|
* // ],
|
|
293
293
|
* // },
|
|
294
294
|
* // sandbox: { // AgentSandboxCapability Union: only one key present
|
|
295
|
-
* //
|
|
296
|
-
* //
|
|
295
|
+
* // inline: { // AgentInlineSandboxOptions
|
|
296
|
+
* // size: "min" || "small" || "large" || "max",
|
|
297
297
|
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
298
298
|
* // allowedDomains: [ // DomainNameList
|
|
299
299
|
* // "STRING_VALUE",
|
|
@@ -698,8 +698,8 @@ declare const GetAgentCommand_base: {
|
|
|
698
698
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
699
699
|
* // },
|
|
700
700
|
* // sandbox: {// Union: only one key present
|
|
701
|
-
* //
|
|
702
|
-
* //
|
|
701
|
+
* // inline: {
|
|
702
|
+
* // size: "min" || "small" || "large" || "max",
|
|
703
703
|
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
704
704
|
* // allowedDomains: "<DomainNameList>",
|
|
705
705
|
* // },
|
|
@@ -910,15 +910,13 @@ declare const GetAgentCommand_base: {
|
|
|
910
910
|
* // },
|
|
911
911
|
* // webhook: { // AgentWebhookEngine
|
|
912
912
|
* // url: "STRING_VALUE", // required
|
|
913
|
-
* //
|
|
914
|
-
* // id: "STRING_VALUE", // required
|
|
915
|
-
* // },
|
|
913
|
+
* // secret: "STRING_VALUE", // required
|
|
916
914
|
* // timeout: Number("int"),
|
|
917
915
|
* // },
|
|
918
916
|
* // sqs: { // AgentSqsEngine
|
|
919
917
|
* // url: "STRING_VALUE", // required
|
|
920
918
|
* // key: "STRING_VALUE", // required
|
|
921
|
-
* // secret: {
|
|
919
|
+
* // secret: { // SecretRef
|
|
922
920
|
* // id: "STRING_VALUE", // required
|
|
923
921
|
* // },
|
|
924
922
|
* // },
|
|
@@ -299,8 +299,8 @@ declare const GetAgentVersionCommand_base: {
|
|
|
299
299
|
* // ],
|
|
300
300
|
* // },
|
|
301
301
|
* // sandbox: { // AgentSandboxCapability Union: only one key present
|
|
302
|
-
* //
|
|
303
|
-
* //
|
|
302
|
+
* // inline: { // AgentInlineSandboxOptions
|
|
303
|
+
* // size: "min" || "small" || "large" || "max",
|
|
304
304
|
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
305
305
|
* // allowedDomains: [ // DomainNameList
|
|
306
306
|
* // "STRING_VALUE",
|
|
@@ -705,8 +705,8 @@ declare const GetAgentVersionCommand_base: {
|
|
|
705
705
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
706
706
|
* // },
|
|
707
707
|
* // sandbox: {// Union: only one key present
|
|
708
|
-
* //
|
|
709
|
-
* //
|
|
708
|
+
* // inline: {
|
|
709
|
+
* // size: "min" || "small" || "large" || "max",
|
|
710
710
|
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
711
711
|
* // allowedDomains: "<DomainNameList>",
|
|
712
712
|
* // },
|
|
@@ -917,15 +917,13 @@ declare const GetAgentVersionCommand_base: {
|
|
|
917
917
|
* // },
|
|
918
918
|
* // webhook: { // AgentWebhookEngine
|
|
919
919
|
* // url: "STRING_VALUE", // required
|
|
920
|
-
* //
|
|
921
|
-
* // id: "STRING_VALUE", // required
|
|
922
|
-
* // },
|
|
920
|
+
* // secret: "STRING_VALUE", // required
|
|
923
921
|
* // timeout: Number("int"),
|
|
924
922
|
* // },
|
|
925
923
|
* // sqs: { // AgentSqsEngine
|
|
926
924
|
* // url: "STRING_VALUE", // required
|
|
927
925
|
* // key: "STRING_VALUE", // required
|
|
928
|
-
* // secret: {
|
|
926
|
+
* // secret: { // SecretRef
|
|
929
927
|
* // id: "STRING_VALUE", // required
|
|
930
928
|
* // },
|
|
931
929
|
* // },
|
|
@@ -297,8 +297,8 @@ declare const ListAgentsCommand_base: {
|
|
|
297
297
|
* // ],
|
|
298
298
|
* // },
|
|
299
299
|
* // sandbox: { // AgentSandboxCapability Union: only one key present
|
|
300
|
-
* //
|
|
301
|
-
* //
|
|
300
|
+
* // inline: { // AgentInlineSandboxOptions
|
|
301
|
+
* // size: "min" || "small" || "large" || "max",
|
|
302
302
|
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
303
303
|
* // allowedDomains: [ // DomainNameList
|
|
304
304
|
* // "STRING_VALUE",
|
|
@@ -703,8 +703,8 @@ declare const ListAgentsCommand_base: {
|
|
|
703
703
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
704
704
|
* // },
|
|
705
705
|
* // sandbox: {// Union: only one key present
|
|
706
|
-
* //
|
|
707
|
-
* //
|
|
706
|
+
* // inline: {
|
|
707
|
+
* // size: "min" || "small" || "large" || "max",
|
|
708
708
|
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
709
709
|
* // allowedDomains: "<DomainNameList>",
|
|
710
710
|
* // },
|
|
@@ -915,15 +915,13 @@ declare const ListAgentsCommand_base: {
|
|
|
915
915
|
* // },
|
|
916
916
|
* // webhook: { // AgentWebhookEngine
|
|
917
917
|
* // url: "STRING_VALUE", // required
|
|
918
|
-
* //
|
|
919
|
-
* // id: "STRING_VALUE", // required
|
|
920
|
-
* // },
|
|
918
|
+
* // secret: "STRING_VALUE", // required
|
|
921
919
|
* // timeout: Number("int"),
|
|
922
920
|
* // },
|
|
923
921
|
* // sqs: { // AgentSqsEngine
|
|
924
922
|
* // url: "STRING_VALUE", // required
|
|
925
923
|
* // key: "STRING_VALUE", // required
|
|
926
|
-
* // secret: {
|
|
924
|
+
* // secret: { // SecretRef
|
|
927
925
|
* // id: "STRING_VALUE", // required
|
|
928
926
|
* // },
|
|
929
927
|
* // },
|
|
@@ -301,8 +301,8 @@ declare const PublishAgentVersionCommand_base: {
|
|
|
301
301
|
* // ],
|
|
302
302
|
* // },
|
|
303
303
|
* // sandbox: { // AgentSandboxCapability Union: only one key present
|
|
304
|
-
* //
|
|
305
|
-
* //
|
|
304
|
+
* // inline: { // AgentInlineSandboxOptions
|
|
305
|
+
* // size: "min" || "small" || "large" || "max",
|
|
306
306
|
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
307
307
|
* // allowedDomains: [ // DomainNameList
|
|
308
308
|
* // "STRING_VALUE",
|
|
@@ -707,8 +707,8 @@ declare const PublishAgentVersionCommand_base: {
|
|
|
707
707
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
708
708
|
* // },
|
|
709
709
|
* // sandbox: {// Union: only one key present
|
|
710
|
-
* //
|
|
711
|
-
* //
|
|
710
|
+
* // inline: {
|
|
711
|
+
* // size: "min" || "small" || "large" || "max",
|
|
712
712
|
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
713
713
|
* // allowedDomains: "<DomainNameList>",
|
|
714
714
|
* // },
|
|
@@ -919,15 +919,13 @@ declare const PublishAgentVersionCommand_base: {
|
|
|
919
919
|
* // },
|
|
920
920
|
* // webhook: { // AgentWebhookEngine
|
|
921
921
|
* // url: "STRING_VALUE", // required
|
|
922
|
-
* //
|
|
923
|
-
* // id: "STRING_VALUE", // required
|
|
924
|
-
* // },
|
|
922
|
+
* // secret: "STRING_VALUE", // required
|
|
925
923
|
* // timeout: Number("int"),
|
|
926
924
|
* // },
|
|
927
925
|
* // sqs: { // AgentSqsEngine
|
|
928
926
|
* // url: "STRING_VALUE", // required
|
|
929
927
|
* // key: "STRING_VALUE", // required
|
|
930
|
-
* // secret: {
|
|
928
|
+
* // secret: { // SecretRef
|
|
931
929
|
* // id: "STRING_VALUE", // required
|
|
932
930
|
* // },
|
|
933
931
|
* // },
|
|
@@ -294,8 +294,8 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
294
294
|
* // ],
|
|
295
295
|
* // },
|
|
296
296
|
* // sandbox: { // AgentSandboxCapability Union: only one key present
|
|
297
|
-
* //
|
|
298
|
-
* //
|
|
297
|
+
* // inline: { // AgentInlineSandboxOptions
|
|
298
|
+
* // size: "min" || "small" || "large" || "max",
|
|
299
299
|
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
300
300
|
* // allowedDomains: [ // DomainNameList
|
|
301
301
|
* // "STRING_VALUE",
|
|
@@ -700,8 +700,8 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
700
700
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
701
701
|
* // },
|
|
702
702
|
* // sandbox: {// Union: only one key present
|
|
703
|
-
* //
|
|
704
|
-
* //
|
|
703
|
+
* // inline: {
|
|
704
|
+
* // size: "min" || "small" || "large" || "max",
|
|
705
705
|
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
706
706
|
* // allowedDomains: "<DomainNameList>",
|
|
707
707
|
* // },
|
|
@@ -912,15 +912,13 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
912
912
|
* // },
|
|
913
913
|
* // webhook: { // AgentWebhookEngine
|
|
914
914
|
* // url: "STRING_VALUE", // required
|
|
915
|
-
* //
|
|
916
|
-
* // id: "STRING_VALUE", // required
|
|
917
|
-
* // },
|
|
915
|
+
* // secret: "STRING_VALUE", // required
|
|
918
916
|
* // timeout: Number("int"),
|
|
919
917
|
* // },
|
|
920
918
|
* // sqs: { // AgentSqsEngine
|
|
921
919
|
* // url: "STRING_VALUE", // required
|
|
922
920
|
* // key: "STRING_VALUE", // required
|
|
923
|
-
* // secret: {
|
|
921
|
+
* // secret: { // SecretRef
|
|
924
922
|
* // id: "STRING_VALUE", // required
|
|
925
923
|
* // },
|
|
926
924
|
* // },
|
|
@@ -285,8 +285,8 @@ declare const UpdateAgentCommand_base: {
|
|
|
285
285
|
* ],
|
|
286
286
|
* },
|
|
287
287
|
* sandbox: { // AgentSandboxCapability Union: only one key present
|
|
288
|
-
*
|
|
289
|
-
*
|
|
288
|
+
* inline: { // AgentInlineSandboxOptions
|
|
289
|
+
* size: "min" || "small" || "large" || "max",
|
|
290
290
|
* network: "allow-all" || "deny-all" || "allowlist",
|
|
291
291
|
* allowedDomains: [ // DomainNameList
|
|
292
292
|
* "STRING_VALUE",
|
|
@@ -691,8 +691,8 @@ declare const UpdateAgentCommand_base: {
|
|
|
691
691
|
* annotations: "<AgentToolAnnotationsList>",
|
|
692
692
|
* },
|
|
693
693
|
* sandbox: {// Union: only one key present
|
|
694
|
-
*
|
|
695
|
-
*
|
|
694
|
+
* inline: {
|
|
695
|
+
* size: "min" || "small" || "large" || "max",
|
|
696
696
|
* network: "allow-all" || "deny-all" || "allowlist",
|
|
697
697
|
* allowedDomains: "<DomainNameList>",
|
|
698
698
|
* },
|
|
@@ -903,15 +903,13 @@ declare const UpdateAgentCommand_base: {
|
|
|
903
903
|
* },
|
|
904
904
|
* webhook: { // AgentWebhookEngine
|
|
905
905
|
* url: "STRING_VALUE", // required
|
|
906
|
-
*
|
|
907
|
-
* id: "STRING_VALUE", // required
|
|
908
|
-
* },
|
|
906
|
+
* secret: "STRING_VALUE", // required
|
|
909
907
|
* timeout: Number("int"),
|
|
910
908
|
* },
|
|
911
909
|
* sqs: { // AgentSqsEngine
|
|
912
910
|
* url: "STRING_VALUE", // required
|
|
913
911
|
* key: "STRING_VALUE", // required
|
|
914
|
-
* secret: {
|
|
912
|
+
* secret: { // SecretRef
|
|
915
913
|
* id: "STRING_VALUE", // required
|
|
916
914
|
* },
|
|
917
915
|
* },
|
|
@@ -1176,8 +1174,8 @@ declare const UpdateAgentCommand_base: {
|
|
|
1176
1174
|
* // ],
|
|
1177
1175
|
* // },
|
|
1178
1176
|
* // sandbox: { // AgentSandboxCapability Union: only one key present
|
|
1179
|
-
* //
|
|
1180
|
-
* //
|
|
1177
|
+
* // inline: { // AgentInlineSandboxOptions
|
|
1178
|
+
* // size: "min" || "small" || "large" || "max",
|
|
1181
1179
|
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
1182
1180
|
* // allowedDomains: [ // DomainNameList
|
|
1183
1181
|
* // "STRING_VALUE",
|
|
@@ -1582,8 +1580,8 @@ declare const UpdateAgentCommand_base: {
|
|
|
1582
1580
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1583
1581
|
* // },
|
|
1584
1582
|
* // sandbox: {// Union: only one key present
|
|
1585
|
-
* //
|
|
1586
|
-
* //
|
|
1583
|
+
* // inline: {
|
|
1584
|
+
* // size: "min" || "small" || "large" || "max",
|
|
1587
1585
|
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
1588
1586
|
* // allowedDomains: "<DomainNameList>",
|
|
1589
1587
|
* // },
|
|
@@ -1794,15 +1792,13 @@ declare const UpdateAgentCommand_base: {
|
|
|
1794
1792
|
* // },
|
|
1795
1793
|
* // webhook: { // AgentWebhookEngine
|
|
1796
1794
|
* // url: "STRING_VALUE", // required
|
|
1797
|
-
* //
|
|
1798
|
-
* // id: "STRING_VALUE", // required
|
|
1799
|
-
* // },
|
|
1795
|
+
* // secret: "STRING_VALUE", // required
|
|
1800
1796
|
* // timeout: Number("int"),
|
|
1801
1797
|
* // },
|
|
1802
1798
|
* // sqs: { // AgentSqsEngine
|
|
1803
1799
|
* // url: "STRING_VALUE", // required
|
|
1804
1800
|
* // key: "STRING_VALUE", // required
|
|
1805
|
-
* // secret: {
|
|
1801
|
+
* // secret: { // SecretRef
|
|
1806
1802
|
* // id: "STRING_VALUE", // required
|
|
1807
1803
|
* // },
|
|
1808
1804
|
* // },
|
|
@@ -215,19 +215,19 @@ export type SandboxNetworkAccess = (typeof SandboxNetworkAccess)[keyof typeof Sa
|
|
|
215
215
|
*/
|
|
216
216
|
export declare const SandboxSize: {
|
|
217
217
|
/**
|
|
218
|
-
*
|
|
218
|
+
* Baseline 2 vCPU / 4 GiB memory, 10 GiB workspace; builds and data processing.
|
|
219
219
|
*/
|
|
220
220
|
readonly LARGE: "large";
|
|
221
221
|
/**
|
|
222
|
-
*
|
|
222
|
+
* Baseline 4 vCPU / 8 GiB memory, 24 GiB workspace; largest allocation. Burst resources are additional, not baseline guarantees.
|
|
223
223
|
*/
|
|
224
224
|
readonly MAX: "max";
|
|
225
225
|
/**
|
|
226
|
-
*
|
|
226
|
+
* Baseline 0.5 vCPU / 1 GiB memory, 2 GiB workspace; light scripting.
|
|
227
227
|
*/
|
|
228
228
|
readonly MIN: "min";
|
|
229
229
|
/**
|
|
230
|
-
*
|
|
230
|
+
* Baseline 1 vCPU / 2 GiB memory, 4 GiB workspace; default for tool runs.
|
|
231
231
|
*/
|
|
232
232
|
readonly SMALL: "small";
|
|
233
233
|
};
|
|
@@ -505,25 +505,3 @@ export declare const AgentStatus: {
|
|
|
505
505
|
* @public
|
|
506
506
|
*/
|
|
507
507
|
export type AgentStatus = (typeof AgentStatus)[keyof typeof AgentStatus];
|
|
508
|
-
/**
|
|
509
|
-
* @public
|
|
510
|
-
* @enum
|
|
511
|
-
*/
|
|
512
|
-
export declare const AgentEngineKind: {
|
|
513
|
-
/**
|
|
514
|
-
* The managed engine: the platform runs the model, tools and knowledge lookups.
|
|
515
|
-
*/
|
|
516
|
-
readonly AI: "ai";
|
|
517
|
-
/**
|
|
518
|
-
* An external backend over SQS.
|
|
519
|
-
*/
|
|
520
|
-
readonly SQS: "sqs";
|
|
521
|
-
/**
|
|
522
|
-
* An external backend over HTTPS.
|
|
523
|
-
*/
|
|
524
|
-
readonly WEBHOOK: "webhook";
|
|
525
|
-
};
|
|
526
|
-
/**
|
|
527
|
-
* @public
|
|
528
|
-
*/
|
|
529
|
-
export type AgentEngineKind = (typeof AgentEngineKind)[keyof typeof AgentEngineKind];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { ActorType,
|
|
2
|
+
import type { ActorType, AgentGuardrailErrorMode, AgentGuardrailMode, AgentGuardrailPreset, AgentGuardrailSensitivity, AgentGuardrailWindow, AgentHandoverPipelineType, AgentHandoverVariant, AgentHangupPipelineType, AgentStatus, AgentToolPipelineType, AgentTransferPipelineType, AgentTransferVariant, AgentVariableType, AgentVisibility, AgentWorkflowEntryBehavior, AgentWorkflowFailureKind, AgentWorkflowLayout, AgentWorkflowMessageButtonVariant, ChannelType, KnowledgeBaseSearchStrategy, KnowledgeBaseSearchThreshold, SandboxNetworkAccess, SandboxSize, VoicePronunciationEncoding, WebSearchContextSize } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* A user or group that access is granted to.
|
|
5
5
|
* @public
|
|
@@ -1031,17 +1031,17 @@ export interface AgentKnowledgeBase {
|
|
|
1031
1031
|
annotations?: AgentToolAnnotation[] | undefined;
|
|
1032
1032
|
}
|
|
1033
1033
|
/**
|
|
1034
|
-
* Sandbox
|
|
1034
|
+
* Sandbox configured inline on the agent, without a pre-built snapshot.
|
|
1035
1035
|
* @public
|
|
1036
1036
|
*/
|
|
1037
|
-
export interface
|
|
1037
|
+
export interface AgentInlineSandboxOptions {
|
|
1038
1038
|
/**
|
|
1039
|
-
*
|
|
1039
|
+
* Platform CPU, memory and workspace allocation. Defaults to SMALL; see SandboxSize.
|
|
1040
1040
|
* @public
|
|
1041
1041
|
*/
|
|
1042
|
-
|
|
1042
|
+
size?: SandboxSize | undefined;
|
|
1043
1043
|
/**
|
|
1044
|
-
*
|
|
1044
|
+
* Network access. Defaults to deny-all.
|
|
1045
1045
|
* @public
|
|
1046
1046
|
*/
|
|
1047
1047
|
network?: SandboxNetworkAccess | undefined;
|
|
@@ -1050,24 +1050,19 @@ export interface AgentSnapshotSandboxOptions {
|
|
|
1050
1050
|
* @public
|
|
1051
1051
|
*/
|
|
1052
1052
|
allowedDomains?: string[] | undefined;
|
|
1053
|
-
/**
|
|
1054
|
-
* Override the compute size for this agent. Defaults to the snapshot's size.
|
|
1055
|
-
* @public
|
|
1056
|
-
*/
|
|
1057
|
-
size?: SandboxSize | undefined;
|
|
1058
1053
|
}
|
|
1059
1054
|
/**
|
|
1060
|
-
*
|
|
1055
|
+
* Sandbox launched from a pre-built snapshot managed by the wilma-sandbox service.
|
|
1061
1056
|
* @public
|
|
1062
1057
|
*/
|
|
1063
|
-
export interface
|
|
1058
|
+
export interface AgentSnapshotSandboxOptions {
|
|
1064
1059
|
/**
|
|
1065
|
-
*
|
|
1060
|
+
* Snapshot to launch sandboxes from. Managed in the wilma-sandbox service; must be READY.
|
|
1066
1061
|
* @public
|
|
1067
1062
|
*/
|
|
1068
|
-
|
|
1063
|
+
snapshotId: string;
|
|
1069
1064
|
/**
|
|
1070
|
-
*
|
|
1065
|
+
* Override the snapshot's network policy for this agent. Defaults to the snapshot's policy.
|
|
1071
1066
|
* @public
|
|
1072
1067
|
*/
|
|
1073
1068
|
network?: SandboxNetworkAccess | undefined;
|
|
@@ -1076,22 +1071,27 @@ export interface AgentVercelSandboxOptions {
|
|
|
1076
1071
|
* @public
|
|
1077
1072
|
*/
|
|
1078
1073
|
allowedDomains?: string[] | undefined;
|
|
1074
|
+
/**
|
|
1075
|
+
* Defaults to the snapshot's built size. If supplied, must match that size: prepared images cannot be resized at launch. Build a separate snapshot to use another size.
|
|
1076
|
+
* @public
|
|
1077
|
+
*/
|
|
1078
|
+
size?: SandboxSize | undefined;
|
|
1079
1079
|
}
|
|
1080
1080
|
/**
|
|
1081
1081
|
* Embedded sandbox: shell + file tools backed by an execution environment. The only capability with no `channels` list — being a union it has nowhere to carry one — so it is offered on every channel the agent serves.
|
|
1082
1082
|
* @public
|
|
1083
1083
|
*/
|
|
1084
|
-
export type AgentSandboxCapability = AgentSandboxCapability.
|
|
1084
|
+
export type AgentSandboxCapability = AgentSandboxCapability.InlineMember | AgentSandboxCapability.SnapshotMember | AgentSandboxCapability.$UnknownMember;
|
|
1085
1085
|
/**
|
|
1086
1086
|
* @public
|
|
1087
1087
|
*/
|
|
1088
1088
|
export declare namespace AgentSandboxCapability {
|
|
1089
1089
|
/**
|
|
1090
|
-
* Ad-hoc
|
|
1090
|
+
* Ad-hoc sandbox configured inline on the agent.
|
|
1091
1091
|
* @public
|
|
1092
1092
|
*/
|
|
1093
|
-
interface
|
|
1094
|
-
|
|
1093
|
+
interface InlineMember {
|
|
1094
|
+
inline: AgentInlineSandboxOptions;
|
|
1095
1095
|
snapshot?: never;
|
|
1096
1096
|
$unknown?: never;
|
|
1097
1097
|
}
|
|
@@ -1100,7 +1100,7 @@ export declare namespace AgentSandboxCapability {
|
|
|
1100
1100
|
* @public
|
|
1101
1101
|
*/
|
|
1102
1102
|
interface SnapshotMember {
|
|
1103
|
-
|
|
1103
|
+
inline?: never;
|
|
1104
1104
|
snapshot: AgentSnapshotSandboxOptions;
|
|
1105
1105
|
$unknown?: never;
|
|
1106
1106
|
}
|
|
@@ -1108,7 +1108,7 @@ export declare namespace AgentSandboxCapability {
|
|
|
1108
1108
|
* @public
|
|
1109
1109
|
*/
|
|
1110
1110
|
interface $UnknownMember {
|
|
1111
|
-
|
|
1111
|
+
inline?: never;
|
|
1112
1112
|
snapshot?: never;
|
|
1113
1113
|
$unknown: [string, any];
|
|
1114
1114
|
}
|
|
@@ -1117,7 +1117,7 @@ export declare namespace AgentSandboxCapability {
|
|
|
1117
1117
|
*
|
|
1118
1118
|
*/
|
|
1119
1119
|
interface Visitor<T> {
|
|
1120
|
-
|
|
1120
|
+
inline: (value: AgentInlineSandboxOptions) => T;
|
|
1121
1121
|
snapshot: (value: AgentSnapshotSandboxOptions) => T;
|
|
1122
1122
|
_: (name: string, value: any) => T;
|
|
1123
1123
|
}
|
|
@@ -3161,51 +3161,29 @@ export interface SecretRef {
|
|
|
3161
3161
|
id: string;
|
|
3162
3162
|
}
|
|
3163
3163
|
/**
|
|
3164
|
-
* Bring-your-own backend over SQS:
|
|
3165
|
-
* answers out of band through the channel's command plane. Authentication is the credential that
|
|
3166
|
-
* makes the send; there is no signature and no response.
|
|
3164
|
+
* Bring-your-own backend over SQS: turns are forwarded to the queue, replies are posted back via the API.
|
|
3167
3165
|
* @public
|
|
3168
3166
|
*/
|
|
3169
3167
|
export interface AgentSqsEngine {
|
|
3170
3168
|
url: string;
|
|
3171
3169
|
key: string;
|
|
3172
3170
|
/**
|
|
3173
|
-
* Reference to the SQS secret access key in wilma-secrets.
|
|
3174
|
-
* webhook engine's is: an agent is created before it is configured, and a console cannot
|
|
3175
|
-
* supply a reference to a secret nobody has chosen. The call refuses instead, naming what is
|
|
3176
|
-
* missing.
|
|
3171
|
+
* Reference to the SQS secret access key in wilma-secrets.
|
|
3177
3172
|
* @public
|
|
3178
3173
|
*/
|
|
3179
|
-
secret
|
|
3174
|
+
secret: SecretRef;
|
|
3180
3175
|
}
|
|
3181
3176
|
/**
|
|
3182
|
-
* Bring-your-own backend over HTTPS:
|
|
3183
|
-
* answers out of band through the channel's command plane, never in the response body — which is
|
|
3184
|
-
* what lets one contract serve both this engine and the queue one, where there is no body to
|
|
3185
|
-
* answer in. The response body is not read.
|
|
3177
|
+
* Bring-your-own backend over HTTPS: each turn is POSTed to the URL, the response is the reply.
|
|
3186
3178
|
* @public
|
|
3187
3179
|
*/
|
|
3188
3180
|
export interface AgentWebhookEngine {
|
|
3189
3181
|
url: string;
|
|
3190
3182
|
/**
|
|
3191
|
-
*
|
|
3192
|
-
* delivery. A reference and never the value: an agent holds no credential, like everything
|
|
3193
|
-
* else on this platform. An agent migrated from the previous stack gets one created for
|
|
3194
|
-
* the secret it was configured with.
|
|
3195
|
-
*
|
|
3196
|
-
* A DRAFT MAY NOT HAVE ONE YET. An agent is created before it is configured — that is what
|
|
3197
|
-
* the draft status is for — and a console cannot supply a reference to a secret nobody has
|
|
3198
|
-
* chosen. The call refuses instead, naming what is missing, which is where the author finds
|
|
3199
|
-
* out at the only moment it matters.
|
|
3200
|
-
* @public
|
|
3201
|
-
*/
|
|
3202
|
-
secretRef?: SecretRef | undefined;
|
|
3203
|
-
/**
|
|
3204
|
-
* How long one delivery may take, in MILLISECONDS. It bounds a single request and not the
|
|
3205
|
-
* call: a backend that spends all of it on every event is told about the call late, never
|
|
3206
|
-
* less often.
|
|
3183
|
+
* Shared secret used to sign requests (HMAC).
|
|
3207
3184
|
* @public
|
|
3208
3185
|
*/
|
|
3186
|
+
secret: string;
|
|
3209
3187
|
timeout?: number | undefined;
|
|
3210
3188
|
}
|
|
3211
3189
|
/**
|
|
@@ -3228,10 +3206,7 @@ export declare namespace AgentEngine {
|
|
|
3228
3206
|
$unknown?: never;
|
|
3229
3207
|
}
|
|
3230
3208
|
/**
|
|
3231
|
-
* Bring-your-own backend over HTTPS:
|
|
3232
|
-
* answers out of band through the channel's command plane, never in the response body — which is
|
|
3233
|
-
* what lets one contract serve both this engine and the queue one, where there is no body to
|
|
3234
|
-
* answer in. The response body is not read.
|
|
3209
|
+
* Bring-your-own backend over HTTPS: each turn is POSTed to the URL, the response is the reply.
|
|
3235
3210
|
* @public
|
|
3236
3211
|
*/
|
|
3237
3212
|
interface WebhookMember {
|
|
@@ -3241,9 +3216,7 @@ export declare namespace AgentEngine {
|
|
|
3241
3216
|
$unknown?: never;
|
|
3242
3217
|
}
|
|
3243
3218
|
/**
|
|
3244
|
-
* Bring-your-own backend over SQS:
|
|
3245
|
-
* answers out of band through the channel's command plane. Authentication is the credential that
|
|
3246
|
-
* makes the send; there is no signature and no response.
|
|
3219
|
+
* Bring-your-own backend over SQS: turns are forwarded to the queue, replies are posted back via the API.
|
|
3247
3220
|
* @public
|
|
3248
3221
|
*/
|
|
3249
3222
|
interface SqsMember {
|
|
@@ -3467,19 +3440,6 @@ export interface AgentInfo {
|
|
|
3467
3440
|
* @public
|
|
3468
3441
|
*/
|
|
3469
3442
|
speechConfigured?: boolean | undefined;
|
|
3470
|
-
/**
|
|
3471
|
-
* Which engine produces this agent's replies: the managed one, or somebody else's backend
|
|
3472
|
-
* over a webhook or a queue. `channels` is what the agent DECLARES, and an engine is
|
|
3473
|
-
* implemented per channel, so the two are not the same question — an agent that declares a
|
|
3474
|
-
* channel its engine cannot serve is configured, listed, and silent there.
|
|
3475
|
-
*
|
|
3476
|
-
* Which channels each engine can serve is a property of the platform rather than of this
|
|
3477
|
-
* agent, so it does not travel per agent: every `ai` agent would carry the same answer. The
|
|
3478
|
-
* service enforces it where it matters — a listing filtered by channel omits an agent whose
|
|
3479
|
-
* engine cannot answer there, and the channel refuses the connection.
|
|
3480
|
-
* @public
|
|
3481
|
-
*/
|
|
3482
|
-
engine?: AgentEngineKind | undefined;
|
|
3483
3443
|
/**
|
|
3484
3444
|
* Ids of the skills attached to this agent. Always active in this agent's sessions; user skill preferences cannot disable them.
|
|
3485
3445
|
* @public
|
|
@@ -36,6 +36,7 @@ export declare var AgentHandoverPipeline$: StaticStructureSchema;
|
|
|
36
36
|
export declare var AgentHangupCapability$: StaticStructureSchema;
|
|
37
37
|
export declare var AgentHangupPipeline$: StaticStructureSchema;
|
|
38
38
|
export declare var AgentInfo$: StaticStructureSchema;
|
|
39
|
+
export declare var AgentInlineSandboxOptions$: StaticStructureSchema;
|
|
39
40
|
export declare var AgentKnowledgeBase$: StaticStructureSchema;
|
|
40
41
|
export declare var AgentSettings$: StaticStructureSchema;
|
|
41
42
|
export declare var AgentSnapshotSandboxOptions$: StaticStructureSchema;
|
|
@@ -59,7 +60,6 @@ export declare var AgentToolVariablesAnnotation$: StaticStructureSchema;
|
|
|
59
60
|
export declare var AgentTransferCapability$: StaticStructureSchema;
|
|
60
61
|
export declare var AgentTransferPipeline$: StaticStructureSchema;
|
|
61
62
|
export declare var AgentVariable$: StaticStructureSchema;
|
|
62
|
-
export declare var AgentVercelSandboxOptions$: StaticStructureSchema;
|
|
63
63
|
export declare var AgentVersion$: StaticStructureSchema;
|
|
64
64
|
export declare var AgentVersionChange$: StaticStructureSchema;
|
|
65
65
|
export declare var AgentVersionInfo$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wilma-agents-client",
|
|
3
3
|
"description": "@wildix/wilma-agents-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.54",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|