@wildix/wilma-agents-client 1.0.54 → 1.0.56
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 +6 -1
- package/dist-cjs/schemas/schemas_0.js +4 -4
- package/dist-es/models/enums.js +5 -0
- package/dist-es/schemas/schemas_0.js +4 -4
- package/dist-types/commands/CreateAgentCommand.d.ts +8 -4
- package/dist-types/commands/GetAgentCommand.d.ts +4 -2
- package/dist-types/commands/GetAgentVersionCommand.d.ts +4 -2
- package/dist-types/commands/ListAgentsCommand.d.ts +4 -2
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +1 -0
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +4 -2
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +4 -2
- package/dist-types/commands/UpdateAgentCommand.d.ts +8 -4
- package/dist-types/models/enums.d.ts +22 -0
- package/dist-types/models/models_0.d.ts +51 -9
- 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.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;
|
|
3
|
+
exports.AgentEngineKind = 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,3 +138,8 @@ 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
|
+
};
|
|
@@ -590,8 +590,8 @@ exports.AgentHangupPipeline$ = [3, n2, _AHPg,
|
|
|
590
590
|
];
|
|
591
591
|
exports.AgentInfo$ = [3, n2, _AI,
|
|
592
592
|
0,
|
|
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
|
|
593
|
+
[_i, _n, _st, _ch, _p, _ca, _sC, _en, _sI, _as, _lV],
|
|
594
|
+
[0, 0, 0, 64 | 0, 0, 0, 2, 0, 64 | 0, () => exports.AssistantUiSettings$, 1], 4
|
|
595
595
|
];
|
|
596
596
|
exports.AgentInlineSandboxOptions$ = [3, n2, _AISO,
|
|
597
597
|
0,
|
|
@@ -621,7 +621,7 @@ exports.AgentSpokenPhrase$ = [3, n2, _ASP,
|
|
|
621
621
|
exports.AgentSqsEngine$ = [3, n2, _ASE,
|
|
622
622
|
0,
|
|
623
623
|
[_u, _ke, _sec],
|
|
624
|
-
[0, 0, () => exports.SecretRef$],
|
|
624
|
+
[0, 0, () => exports.SecretRef$], 2
|
|
625
625
|
];
|
|
626
626
|
exports.AgentSuggestionsCapability$ = [3, n2, _ASC,
|
|
627
627
|
0,
|
|
@@ -741,7 +741,7 @@ exports.AgentWebFetchCapability$ = [3, n2, _AWFC,
|
|
|
741
741
|
exports.AgentWebhookEngine$ = [3, n2, _AWE,
|
|
742
742
|
0,
|
|
743
743
|
[_u, _sec, _ti],
|
|
744
|
-
[0,
|
|
744
|
+
[0, () => exports.SecretRef$, 1], 1
|
|
745
745
|
];
|
|
746
746
|
exports.AgentWebSearchCapability$ = [3, n2, _AWSC,
|
|
747
747
|
0,
|
package/dist-es/models/enums.js
CHANGED
|
@@ -584,8 +584,8 @@ export var AgentHangupPipeline$ = [3, n2, _AHPg,
|
|
|
584
584
|
];
|
|
585
585
|
export var AgentInfo$ = [3, n2, _AI,
|
|
586
586
|
0,
|
|
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
|
|
587
|
+
[_i, _n, _st, _ch, _p, _ca, _sC, _en, _sI, _as, _lV],
|
|
588
|
+
[0, 0, 0, 64 | 0, 0, 0, 2, 0, 64 | 0, () => AssistantUiSettings$, 1], 4
|
|
589
589
|
];
|
|
590
590
|
export var AgentInlineSandboxOptions$ = [3, n2, _AISO,
|
|
591
591
|
0,
|
|
@@ -615,7 +615,7 @@ export var AgentSpokenPhrase$ = [3, n2, _ASP,
|
|
|
615
615
|
export var AgentSqsEngine$ = [3, n2, _ASE,
|
|
616
616
|
0,
|
|
617
617
|
[_u, _ke, _sec],
|
|
618
|
-
[0, 0, () => SecretRef$],
|
|
618
|
+
[0, 0, () => SecretRef$], 2
|
|
619
619
|
];
|
|
620
620
|
export var AgentSuggestionsCapability$ = [3, n2, _ASC,
|
|
621
621
|
0,
|
|
@@ -735,7 +735,7 @@ export var AgentWebFetchCapability$ = [3, n2, _AWFC,
|
|
|
735
735
|
export var AgentWebhookEngine$ = [3, n2, _AWE,
|
|
736
736
|
0,
|
|
737
737
|
[_u, _sec, _ti],
|
|
738
|
-
[0,
|
|
738
|
+
[0, () => SecretRef$, 1], 1
|
|
739
739
|
];
|
|
740
740
|
export var AgentWebSearchCapability$ = [3, n2, _AWSC,
|
|
741
741
|
0,
|
|
@@ -903,13 +903,15 @@ declare const CreateAgentCommand_base: {
|
|
|
903
903
|
* },
|
|
904
904
|
* webhook: { // AgentWebhookEngine
|
|
905
905
|
* url: "STRING_VALUE", // required
|
|
906
|
-
* secret:
|
|
906
|
+
* secret: { // SecretRef
|
|
907
|
+
* id: "STRING_VALUE", // required
|
|
908
|
+
* },
|
|
907
909
|
* timeout: Number("int"),
|
|
908
910
|
* },
|
|
909
911
|
* sqs: { // AgentSqsEngine
|
|
910
912
|
* url: "STRING_VALUE", // required
|
|
911
913
|
* key: "STRING_VALUE", // required
|
|
912
|
-
* secret: {
|
|
914
|
+
* secret: {
|
|
913
915
|
* id: "STRING_VALUE", // required
|
|
914
916
|
* },
|
|
915
917
|
* },
|
|
@@ -1790,13 +1792,15 @@ declare const CreateAgentCommand_base: {
|
|
|
1790
1792
|
* // },
|
|
1791
1793
|
* // webhook: { // AgentWebhookEngine
|
|
1792
1794
|
* // url: "STRING_VALUE", // required
|
|
1793
|
-
* // secret:
|
|
1795
|
+
* // secret: { // SecretRef
|
|
1796
|
+
* // id: "STRING_VALUE", // required
|
|
1797
|
+
* // },
|
|
1794
1798
|
* // timeout: Number("int"),
|
|
1795
1799
|
* // },
|
|
1796
1800
|
* // sqs: { // AgentSqsEngine
|
|
1797
1801
|
* // url: "STRING_VALUE", // required
|
|
1798
1802
|
* // key: "STRING_VALUE", // required
|
|
1799
|
-
* // secret: {
|
|
1803
|
+
* // secret: {
|
|
1800
1804
|
* // id: "STRING_VALUE", // required
|
|
1801
1805
|
* // },
|
|
1802
1806
|
* // },
|
|
@@ -910,13 +910,15 @@ declare const GetAgentCommand_base: {
|
|
|
910
910
|
* // },
|
|
911
911
|
* // webhook: { // AgentWebhookEngine
|
|
912
912
|
* // url: "STRING_VALUE", // required
|
|
913
|
-
* // secret:
|
|
913
|
+
* // secret: { // SecretRef
|
|
914
|
+
* // id: "STRING_VALUE", // required
|
|
915
|
+
* // },
|
|
914
916
|
* // timeout: Number("int"),
|
|
915
917
|
* // },
|
|
916
918
|
* // sqs: { // AgentSqsEngine
|
|
917
919
|
* // url: "STRING_VALUE", // required
|
|
918
920
|
* // key: "STRING_VALUE", // required
|
|
919
|
-
* // secret: {
|
|
921
|
+
* // secret: {
|
|
920
922
|
* // id: "STRING_VALUE", // required
|
|
921
923
|
* // },
|
|
922
924
|
* // },
|
|
@@ -917,13 +917,15 @@ declare const GetAgentVersionCommand_base: {
|
|
|
917
917
|
* // },
|
|
918
918
|
* // webhook: { // AgentWebhookEngine
|
|
919
919
|
* // url: "STRING_VALUE", // required
|
|
920
|
-
* // secret:
|
|
920
|
+
* // secret: { // SecretRef
|
|
921
|
+
* // id: "STRING_VALUE", // required
|
|
922
|
+
* // },
|
|
921
923
|
* // timeout: Number("int"),
|
|
922
924
|
* // },
|
|
923
925
|
* // sqs: { // AgentSqsEngine
|
|
924
926
|
* // url: "STRING_VALUE", // required
|
|
925
927
|
* // key: "STRING_VALUE", // required
|
|
926
|
-
* // secret: {
|
|
928
|
+
* // secret: {
|
|
927
929
|
* // id: "STRING_VALUE", // required
|
|
928
930
|
* // },
|
|
929
931
|
* // },
|
|
@@ -915,13 +915,15 @@ declare const ListAgentsCommand_base: {
|
|
|
915
915
|
* // },
|
|
916
916
|
* // webhook: { // AgentWebhookEngine
|
|
917
917
|
* // url: "STRING_VALUE", // required
|
|
918
|
-
* // secret:
|
|
918
|
+
* // secret: { // SecretRef
|
|
919
|
+
* // id: "STRING_VALUE", // required
|
|
920
|
+
* // },
|
|
919
921
|
* // timeout: Number("int"),
|
|
920
922
|
* // },
|
|
921
923
|
* // sqs: { // AgentSqsEngine
|
|
922
924
|
* // url: "STRING_VALUE", // required
|
|
923
925
|
* // key: "STRING_VALUE", // required
|
|
924
|
-
* // secret: {
|
|
926
|
+
* // secret: {
|
|
925
927
|
* // id: "STRING_VALUE", // required
|
|
926
928
|
* // },
|
|
927
929
|
* // },
|
|
@@ -919,13 +919,15 @@ declare const PublishAgentVersionCommand_base: {
|
|
|
919
919
|
* // },
|
|
920
920
|
* // webhook: { // AgentWebhookEngine
|
|
921
921
|
* // url: "STRING_VALUE", // required
|
|
922
|
-
* // secret:
|
|
922
|
+
* // secret: { // SecretRef
|
|
923
|
+
* // id: "STRING_VALUE", // required
|
|
924
|
+
* // },
|
|
923
925
|
* // timeout: Number("int"),
|
|
924
926
|
* // },
|
|
925
927
|
* // sqs: { // AgentSqsEngine
|
|
926
928
|
* // url: "STRING_VALUE", // required
|
|
927
929
|
* // key: "STRING_VALUE", // required
|
|
928
|
-
* // secret: {
|
|
930
|
+
* // secret: {
|
|
929
931
|
* // id: "STRING_VALUE", // required
|
|
930
932
|
* // },
|
|
931
933
|
* // },
|
|
@@ -912,13 +912,15 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
912
912
|
* // },
|
|
913
913
|
* // webhook: { // AgentWebhookEngine
|
|
914
914
|
* // url: "STRING_VALUE", // required
|
|
915
|
-
* // secret:
|
|
915
|
+
* // secret: { // SecretRef
|
|
916
|
+
* // id: "STRING_VALUE", // required
|
|
917
|
+
* // },
|
|
916
918
|
* // timeout: Number("int"),
|
|
917
919
|
* // },
|
|
918
920
|
* // sqs: { // AgentSqsEngine
|
|
919
921
|
* // url: "STRING_VALUE", // required
|
|
920
922
|
* // key: "STRING_VALUE", // required
|
|
921
|
-
* // secret: {
|
|
923
|
+
* // secret: {
|
|
922
924
|
* // id: "STRING_VALUE", // required
|
|
923
925
|
* // },
|
|
924
926
|
* // },
|
|
@@ -903,13 +903,15 @@ declare const UpdateAgentCommand_base: {
|
|
|
903
903
|
* },
|
|
904
904
|
* webhook: { // AgentWebhookEngine
|
|
905
905
|
* url: "STRING_VALUE", // required
|
|
906
|
-
* secret:
|
|
906
|
+
* secret: { // SecretRef
|
|
907
|
+
* id: "STRING_VALUE", // required
|
|
908
|
+
* },
|
|
907
909
|
* timeout: Number("int"),
|
|
908
910
|
* },
|
|
909
911
|
* sqs: { // AgentSqsEngine
|
|
910
912
|
* url: "STRING_VALUE", // required
|
|
911
913
|
* key: "STRING_VALUE", // required
|
|
912
|
-
* secret: {
|
|
914
|
+
* secret: {
|
|
913
915
|
* id: "STRING_VALUE", // required
|
|
914
916
|
* },
|
|
915
917
|
* },
|
|
@@ -1792,13 +1794,15 @@ declare const UpdateAgentCommand_base: {
|
|
|
1792
1794
|
* // },
|
|
1793
1795
|
* // webhook: { // AgentWebhookEngine
|
|
1794
1796
|
* // url: "STRING_VALUE", // required
|
|
1795
|
-
* // secret:
|
|
1797
|
+
* // secret: { // SecretRef
|
|
1798
|
+
* // id: "STRING_VALUE", // required
|
|
1799
|
+
* // },
|
|
1796
1800
|
* // timeout: Number("int"),
|
|
1797
1801
|
* // },
|
|
1798
1802
|
* // sqs: { // AgentSqsEngine
|
|
1799
1803
|
* // url: "STRING_VALUE", // required
|
|
1800
1804
|
* // key: "STRING_VALUE", // required
|
|
1801
|
-
* // secret: {
|
|
1805
|
+
* // secret: {
|
|
1802
1806
|
* // id: "STRING_VALUE", // required
|
|
1803
1807
|
* // },
|
|
1804
1808
|
* // },
|
|
@@ -505,3 +505,25 @@ 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, 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";
|
|
2
|
+
import type { ActorType, AgentEngineKind, 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
|
|
@@ -3161,29 +3161,53 @@ export interface SecretRef {
|
|
|
3161
3161
|
id: string;
|
|
3162
3162
|
}
|
|
3163
3163
|
/**
|
|
3164
|
-
* Bring-your-own backend over SQS:
|
|
3164
|
+
* Bring-your-own backend over SQS: the platform sends what happens to the queue and the backend
|
|
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.
|
|
3165
3167
|
* @public
|
|
3166
3168
|
*/
|
|
3167
3169
|
export interface AgentSqsEngine {
|
|
3168
3170
|
url: string;
|
|
3169
3171
|
key: string;
|
|
3170
3172
|
/**
|
|
3171
|
-
* Reference to the SQS secret access key in wilma-secrets.
|
|
3173
|
+
* Reference to the SQS secret access key in wilma-secrets. Optional for the same reason the
|
|
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.
|
|
3172
3177
|
* @public
|
|
3173
3178
|
*/
|
|
3174
|
-
secret
|
|
3179
|
+
secret?: SecretRef | undefined;
|
|
3175
3180
|
}
|
|
3176
3181
|
/**
|
|
3177
|
-
* Bring-your-own backend over HTTPS:
|
|
3182
|
+
* Bring-your-own backend over HTTPS: the platform POSTs what happens to the URL and the backend
|
|
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.
|
|
3178
3186
|
* @public
|
|
3179
3187
|
*/
|
|
3180
3188
|
export interface AgentWebhookEngine {
|
|
3181
3189
|
url: string;
|
|
3182
3190
|
/**
|
|
3183
|
-
*
|
|
3191
|
+
* Reference to the HMAC signing secret in wilma-secrets, resolved server-to-server at
|
|
3192
|
+
* delivery. A reference and never the value: an agent holds no credential, like everything
|
|
3193
|
+
* else on this platform, and the member is named for what it holds — `secret`, as on the
|
|
3194
|
+
* queue engine and on a sandbox's environment — because the reference is the type's job to
|
|
3195
|
+
* say. An agent migrated from the previous stack gets one created for the secret it was
|
|
3196
|
+
* configured with.
|
|
3197
|
+
*
|
|
3198
|
+
* A DRAFT MAY NOT HAVE ONE YET. An agent is created before it is configured — that is what
|
|
3199
|
+
* the draft status is for — and a console cannot supply a reference to a secret nobody has
|
|
3200
|
+
* chosen. The call refuses instead, naming what is missing, which is where the author finds
|
|
3201
|
+
* out at the only moment it matters.
|
|
3202
|
+
* @public
|
|
3203
|
+
*/
|
|
3204
|
+
secret?: SecretRef | undefined;
|
|
3205
|
+
/**
|
|
3206
|
+
* How long one delivery may take, in MILLISECONDS. It bounds a single request and not the
|
|
3207
|
+
* call: a backend that spends all of it on every event is told about the call late, never
|
|
3208
|
+
* less often.
|
|
3184
3209
|
* @public
|
|
3185
3210
|
*/
|
|
3186
|
-
secret: string;
|
|
3187
3211
|
timeout?: number | undefined;
|
|
3188
3212
|
}
|
|
3189
3213
|
/**
|
|
@@ -3206,7 +3230,10 @@ export declare namespace AgentEngine {
|
|
|
3206
3230
|
$unknown?: never;
|
|
3207
3231
|
}
|
|
3208
3232
|
/**
|
|
3209
|
-
* Bring-your-own backend over HTTPS:
|
|
3233
|
+
* Bring-your-own backend over HTTPS: the platform POSTs what happens to the URL and the backend
|
|
3234
|
+
* answers out of band through the channel's command plane, never in the response body — which is
|
|
3235
|
+
* what lets one contract serve both this engine and the queue one, where there is no body to
|
|
3236
|
+
* answer in. The response body is not read.
|
|
3210
3237
|
* @public
|
|
3211
3238
|
*/
|
|
3212
3239
|
interface WebhookMember {
|
|
@@ -3216,7 +3243,9 @@ export declare namespace AgentEngine {
|
|
|
3216
3243
|
$unknown?: never;
|
|
3217
3244
|
}
|
|
3218
3245
|
/**
|
|
3219
|
-
* Bring-your-own backend over SQS:
|
|
3246
|
+
* Bring-your-own backend over SQS: the platform sends what happens to the queue and the backend
|
|
3247
|
+
* answers out of band through the channel's command plane. Authentication is the credential that
|
|
3248
|
+
* makes the send; there is no signature and no response.
|
|
3220
3249
|
* @public
|
|
3221
3250
|
*/
|
|
3222
3251
|
interface SqsMember {
|
|
@@ -3440,6 +3469,19 @@ export interface AgentInfo {
|
|
|
3440
3469
|
* @public
|
|
3441
3470
|
*/
|
|
3442
3471
|
speechConfigured?: boolean | undefined;
|
|
3472
|
+
/**
|
|
3473
|
+
* Which engine produces this agent's replies: the managed one, or somebody else's backend
|
|
3474
|
+
* over a webhook or a queue. `channels` is what the agent DECLARES, and an engine is
|
|
3475
|
+
* implemented per channel, so the two are not the same question — an agent that declares a
|
|
3476
|
+
* channel its engine cannot serve is configured, listed, and silent there.
|
|
3477
|
+
*
|
|
3478
|
+
* Which channels each engine can serve is a property of the platform rather than of this
|
|
3479
|
+
* agent, so it does not travel per agent: every `ai` agent would carry the same answer. The
|
|
3480
|
+
* service enforces it where it matters — a listing filtered by channel omits an agent whose
|
|
3481
|
+
* engine cannot answer there, and the channel refuses the connection.
|
|
3482
|
+
* @public
|
|
3483
|
+
*/
|
|
3484
|
+
engine?: AgentEngineKind | undefined;
|
|
3443
3485
|
/**
|
|
3444
3486
|
* Ids of the skills attached to this agent. Always active in this agent's sessions; user skill preferences cannot disable them.
|
|
3445
3487
|
* @public
|
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.56",
|
|
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",
|