@wildix/wilma-agents-client 1.0.8 → 1.0.10

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.
@@ -67,7 +67,7 @@ exports.AgentStatus = {
67
67
  };
68
68
  exports.ChannelType = {
69
69
  ASSISTANT: "assistant",
70
- AUTONOMOUS: "autonomous",
71
70
  CHAT: "chat",
72
71
  VOICE: "voice",
72
+ WORKFLOW: "workflow",
73
73
  };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  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.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.AgentDeployment$ = exports.AgentDelegationCapability$ = exports.AgentDefinitionSnapshot$ = exports.AgentChannels$ = exports.AgentCallCapability$ = exports.AgentApiKey$ = exports.AgentAiEngine$ = exports.AgentAccess$ = exports.Agent$ = exports.errorTypeRegistries = exports.RevisionConflictException$ = exports.NothingToPublishException$ = exports.AgentVersionNotFoundException$ = exports.AgentNotFoundException$ = exports.AgentNonUniqueNameException$ = exports.AgentInUseException$ = exports.AgentDeploymentNotFoundException$ = exports.AgentDeploymentNonUniqueNameException$ = exports.AgentDeploymentInUseException$ = exports.AgentApiKeyNotFoundException$ = exports.ValidationException$ = exports.WilmaAgentsServiceException$ = void 0;
4
- exports.VoiceInterruptionSettings$ = exports.VoiceEndCallSettings$ = exports.VoiceChannelSettings$ = exports.VoiceCallerMetadataSettings$ = exports.UpdateAgentOutput$ = exports.UpdateAgentInput$ = exports.UpdateAgentDeploymentOutput$ = exports.UpdateAgentDeploymentInput$ = exports.RestoreAgentVersionToDraftOutput$ = exports.RestoreAgentVersionToDraftInput$ = exports.PublishAgentVersionOutput$ = exports.PublishAgentVersionInput$ = exports.ListAgentVersionsOutput$ = exports.ListAgentVersionsInput$ = exports.ListAgentsOutput$ = exports.ListAgentsNamesOutput$ = exports.ListAgentsNamesInput$ = exports.ListAgentsInput$ = exports.ListAgentDeploymentsOutput$ = exports.ListAgentDeploymentsInput$ = exports.ListAgentApiKeysOutput$ = exports.ListAgentApiKeysInput$ = exports.GetAgentVersionOutput$ = exports.GetAgentVersionInput$ = exports.GetAgentOutput$ = exports.GetAgentInput$ = exports.GetAgentDeploymentOutput$ = exports.GetAgentDeploymentInput$ = exports.DeleteAgentOutput$ = exports.DeleteAgentInput$ = exports.DeleteAgentDeploymentOutput$ = exports.DeleteAgentDeploymentInput$ = exports.DeleteAgentApiKeyOutput$ = exports.DeleteAgentApiKeyInput$ = exports.CreateAgentOutput$ = exports.CreateAgentInput$ = exports.CreateAgentDeploymentOutput$ = exports.CreateAgentDeploymentInput$ = exports.CreateAgentApiKeyOutput$ = exports.CreateAgentApiKeyInput$ = exports.CompareAgentVersionsOutput$ = exports.CompareAgentVersionsInput$ = exports.ChatChannelSettings$ = exports.AutonomousChannelSettings$ = exports.AssistantChannelSettings$ = exports.AgentWebSearchCapability$ = exports.AgentWebhookEngine$ = exports.AgentWebFetchCapability$ = exports.AgentWaitCapability$ = exports.AgentVersionInfo$ = void 0;
5
- exports.UpdateAgentDeployment$ = exports.UpdateAgent$ = exports.RestoreAgentVersionToDraft$ = exports.PublishAgentVersion$ = exports.ListAgentVersions$ = exports.ListAgentsNames$ = exports.ListAgents$ = exports.ListAgentDeployments$ = exports.ListAgentApiKeys$ = exports.GetAgentVersion$ = exports.GetAgentDeployment$ = exports.GetAgent$ = exports.DeleteAgentDeployment$ = exports.DeleteAgentApiKey$ = exports.DeleteAgent$ = exports.CreateAgentDeployment$ = exports.CreateAgentApiKey$ = exports.CreateAgent$ = exports.CompareAgentVersions$ = exports.VoiceTerminateAction$ = exports.AgentToolVariableHandler$ = exports.AgentToolAnnotation$ = exports.AgentSandboxCapability$ = exports.AgentGrantPrincipal$ = exports.AgentEngine$ = exports.AgentCapability$ = exports.AgentSkillReference$ = exports.Actor$ = exports.WebSearchUserLocation$ = exports.VoiceTransferTarget$ = exports.VoiceTerminateHangupAction$ = exports.VoiceSilenceTimeoutSettings$ = exports.VoiceMaxDurationSettings$ = void 0;
4
+ exports.VoiceMaxDurationSettings$ = exports.VoiceInterruptionSettings$ = exports.VoiceEndCallSettings$ = exports.VoiceChannelSettings$ = exports.VoiceCallerMetadataSettings$ = exports.UpdateAgentOutput$ = exports.UpdateAgentInput$ = exports.UpdateAgentDeploymentOutput$ = exports.UpdateAgentDeploymentInput$ = exports.RestoreAgentVersionToDraftOutput$ = exports.RestoreAgentVersionToDraftInput$ = exports.PublishAgentVersionOutput$ = exports.PublishAgentVersionInput$ = exports.ListAgentVersionsOutput$ = exports.ListAgentVersionsInput$ = exports.ListAgentsOutput$ = exports.ListAgentsNamesOutput$ = exports.ListAgentsNamesInput$ = exports.ListAgentsInput$ = exports.ListAgentDeploymentsOutput$ = exports.ListAgentDeploymentsInput$ = exports.ListAgentApiKeysOutput$ = exports.ListAgentApiKeysInput$ = exports.GetAgentVersionOutput$ = exports.GetAgentVersionInput$ = exports.GetAgentOutput$ = exports.GetAgentInput$ = exports.GetAgentDeploymentOutput$ = exports.GetAgentDeploymentInput$ = exports.DeleteAgentOutput$ = exports.DeleteAgentInput$ = exports.DeleteAgentDeploymentOutput$ = exports.DeleteAgentDeploymentInput$ = exports.DeleteAgentApiKeyOutput$ = exports.DeleteAgentApiKeyInput$ = exports.CreateAgentOutput$ = exports.CreateAgentInput$ = exports.CreateAgentDeploymentOutput$ = exports.CreateAgentDeploymentInput$ = exports.CreateAgentApiKeyOutput$ = exports.CreateAgentApiKeyInput$ = exports.CompareAgentVersionsOutput$ = exports.CompareAgentVersionsInput$ = exports.ChatChannelSettings$ = exports.AssistantChannelSettings$ = exports.AgentWebSearchCapability$ = exports.AgentWebhookEngine$ = exports.AgentWebFetchCapability$ = exports.AgentWaitCapability$ = exports.AgentVersionInfo$ = void 0;
5
+ exports.UpdateAgentDeployment$ = exports.UpdateAgent$ = exports.RestoreAgentVersionToDraft$ = exports.PublishAgentVersion$ = exports.ListAgentVersions$ = exports.ListAgentsNames$ = exports.ListAgents$ = exports.ListAgentDeployments$ = exports.ListAgentApiKeys$ = exports.GetAgentVersion$ = exports.GetAgentDeployment$ = exports.GetAgent$ = exports.DeleteAgentDeployment$ = exports.DeleteAgentApiKey$ = exports.DeleteAgent$ = exports.CreateAgentDeployment$ = exports.CreateAgentApiKey$ = exports.CreateAgent$ = exports.CompareAgentVersions$ = exports.VoiceTerminateAction$ = exports.AgentToolVariableHandler$ = exports.AgentToolAnnotation$ = exports.AgentSandboxCapability$ = exports.AgentGrantPrincipal$ = exports.AgentEngine$ = exports.AgentCapability$ = exports.AgentSkillReference$ = exports.Actor$ = exports.WorkflowChannelSettings$ = exports.WebSearchUserLocation$ = exports.VoiceTransferTarget$ = exports.VoiceTerminateHangupAction$ = exports.VoiceSilenceTimeoutSettings$ = void 0;
6
6
  const _A = "Agent";
7
7
  const _AA = "AgentAccess";
8
8
  const _AAE = "AgentAiEngine";
@@ -13,7 +13,6 @@ const _AC = "AgentChannels";
13
13
  const _ACC = "AgentCallCapability";
14
14
  const _ACL = "AgentCapabilitiesList";
15
15
  const _ACS = "AssistantChannelSettings";
16
- const _ACSu = "AutonomousChannelSettings";
17
16
  const _ACg = "AgentCapability";
18
17
  const _AD = "AgentDeployment";
19
18
  const _ADC = "AgentDelegationCapability";
@@ -146,6 +145,7 @@ const _VSTS = "VoiceSilenceTimeoutSettings";
146
145
  const _VTA = "VoiceTerminateAction";
147
146
  const _VTHA = "VoiceTerminateHangupAction";
148
147
  const _VTT = "VoiceTransferTarget";
148
+ const _WCS = "WorkflowChannelSettings";
149
149
  const _WSUL = "WebSearchUserLocation";
150
150
  const _a = "access";
151
151
  const _aD = "agentDeployment";
@@ -161,9 +161,9 @@ const _age = "agents";
161
161
  const _ai = "ai";
162
162
  const _an = "annotations";
163
163
  const _ap = "approval";
164
+ const _ar = "artifacts";
164
165
  const _as = "assistant";
165
- const _au = "autonomous";
166
- const _aut = "auto";
166
+ const _au = "auto";
167
167
  const _b = "before";
168
168
  const _bOV = "basedOnVersion";
169
169
  const _c = "client";
@@ -291,9 +291,10 @@ const _ve = "version";
291
291
  const _ver = "versions";
292
292
  const _verc = "vercel";
293
293
  const _vo = "voice";
294
- const _w = "wait";
294
+ const _w = "workflow";
295
295
  const _wF = "webFetch";
296
296
  const _wS = "webSearch";
297
+ const _wa = "wait";
297
298
  const _we = "webhook";
298
299
  const n0 = "smithy.framework";
299
300
  const n1 = "wildix.wilma.agents";
@@ -407,8 +408,8 @@ exports.AgentCallCapability$ = [3, n1, _ACC,
407
408
  ];
408
409
  exports.AgentChannels$ = [3, n1, _AC,
409
410
  0,
410
- [_vo, _cha, _as, _au],
411
- [() => exports.VoiceChannelSettings$, () => exports.ChatChannelSettings$, () => exports.AssistantChannelSettings$, () => exports.AutonomousChannelSettings$]
411
+ [_vo, _cha, _as, _w],
412
+ [() => exports.VoiceChannelSettings$, () => exports.ChatChannelSettings$, () => exports.AssistantChannelSettings$, () => exports.WorkflowChannelSettings$]
412
413
  ];
413
414
  exports.AgentDefinitionSnapshot$ = [3, n1, _ADS,
414
415
  0,
@@ -595,15 +596,10 @@ exports.AssistantChannelSettings$ = [3, n1, _ACS,
595
596
  [_defa],
596
597
  [2]
597
598
  ];
598
- exports.AutonomousChannelSettings$ = [3, n1, _ACSu,
599
- 0,
600
- [],
601
- []
602
- ];
603
599
  exports.ChatChannelSettings$ = [3, n1, _CCS,
604
600
  0,
605
- [_di],
606
- [2]
601
+ [_di, _ar],
602
+ [2, 2]
607
603
  ];
608
604
  exports.CompareAgentVersionsInput$ = [3, n1, _CAVI,
609
605
  0,
@@ -840,6 +836,11 @@ exports.WebSearchUserLocation$ = [3, n1, _WSUL,
840
836
  [_cou, _re, _ci, _time],
841
837
  [0, 0, 0, 0]
842
838
  ];
839
+ exports.WorkflowChannelSettings$ = [3, n1, _WCS,
840
+ 0,
841
+ [],
842
+ []
843
+ ];
843
844
  exports.Actor$ = [3, n2, _Ac,
844
845
  0,
845
846
  [_t, _i, _n],
@@ -894,7 +895,7 @@ var AgentSkillsList = [1, n3, _ASL,
894
895
  ];
895
896
  exports.AgentCapability$ = [4, n1, _ACg,
896
897
  0,
897
- [_too, _kb, _sa, _wS, _wF, _ag, _ha, _del, _tr, _su, _han, _w],
898
+ [_too, _kb, _sa, _wS, _wF, _ag, _ha, _del, _tr, _su, _han, _wa],
898
899
  [() => exports.AgentTool$, () => exports.AgentKnowledgeBase$, () => exports.AgentSandboxCapability$, () => exports.AgentWebSearchCapability$, () => exports.AgentWebFetchCapability$, () => exports.AgentCallCapability$, () => exports.AgentHandoverCapability$, () => exports.AgentDelegationCapability$, () => exports.AgentTransferCapability$, () => exports.AgentSuggestionsCapability$, () => exports.AgentHangupCapability$, () => exports.AgentWaitCapability$]
899
900
  ];
900
901
  exports.AgentEngine$ = [4, n1, _AE,
@@ -919,7 +920,7 @@ exports.AgentToolAnnotation$ = [4, n1, _ATAg,
919
920
  ];
920
921
  exports.AgentToolVariableHandler$ = [4, n1, _ATVH,
921
922
  0,
922
- [_aut, _gu, _pre],
923
+ [_au, _gu, _pre],
923
924
  [() => exports.AgentToolVariableAutoHandler$, () => exports.AgentToolVariableGuidedHandler$, () => exports.AgentToolVariablePredefinedHandler$]
924
925
  ];
925
926
  exports.VoiceTerminateAction$ = [4, n1, _VTA,
@@ -64,7 +64,7 @@ export const AgentStatus = {
64
64
  };
65
65
  export const ChannelType = {
66
66
  ASSISTANT: "assistant",
67
- AUTONOMOUS: "autonomous",
68
67
  CHAT: "chat",
69
68
  VOICE: "voice",
69
+ WORKFLOW: "workflow",
70
70
  };
@@ -8,7 +8,6 @@ const _AC = "AgentChannels";
8
8
  const _ACC = "AgentCallCapability";
9
9
  const _ACL = "AgentCapabilitiesList";
10
10
  const _ACS = "AssistantChannelSettings";
11
- const _ACSu = "AutonomousChannelSettings";
12
11
  const _ACg = "AgentCapability";
13
12
  const _AD = "AgentDeployment";
14
13
  const _ADC = "AgentDelegationCapability";
@@ -141,6 +140,7 @@ const _VSTS = "VoiceSilenceTimeoutSettings";
141
140
  const _VTA = "VoiceTerminateAction";
142
141
  const _VTHA = "VoiceTerminateHangupAction";
143
142
  const _VTT = "VoiceTransferTarget";
143
+ const _WCS = "WorkflowChannelSettings";
144
144
  const _WSUL = "WebSearchUserLocation";
145
145
  const _a = "access";
146
146
  const _aD = "agentDeployment";
@@ -156,9 +156,9 @@ const _age = "agents";
156
156
  const _ai = "ai";
157
157
  const _an = "annotations";
158
158
  const _ap = "approval";
159
+ const _ar = "artifacts";
159
160
  const _as = "assistant";
160
- const _au = "autonomous";
161
- const _aut = "auto";
161
+ const _au = "auto";
162
162
  const _b = "before";
163
163
  const _bOV = "basedOnVersion";
164
164
  const _c = "client";
@@ -286,9 +286,10 @@ const _ve = "version";
286
286
  const _ver = "versions";
287
287
  const _verc = "vercel";
288
288
  const _vo = "voice";
289
- const _w = "wait";
289
+ const _w = "workflow";
290
290
  const _wF = "webFetch";
291
291
  const _wS = "webSearch";
292
+ const _wa = "wait";
292
293
  const _we = "webhook";
293
294
  const n0 = "smithy.framework";
294
295
  const n1 = "wildix.wilma.agents";
@@ -402,8 +403,8 @@ export var AgentCallCapability$ = [3, n1, _ACC,
402
403
  ];
403
404
  export var AgentChannels$ = [3, n1, _AC,
404
405
  0,
405
- [_vo, _cha, _as, _au],
406
- [() => VoiceChannelSettings$, () => ChatChannelSettings$, () => AssistantChannelSettings$, () => AutonomousChannelSettings$]
406
+ [_vo, _cha, _as, _w],
407
+ [() => VoiceChannelSettings$, () => ChatChannelSettings$, () => AssistantChannelSettings$, () => WorkflowChannelSettings$]
407
408
  ];
408
409
  export var AgentDefinitionSnapshot$ = [3, n1, _ADS,
409
410
  0,
@@ -590,15 +591,10 @@ export var AssistantChannelSettings$ = [3, n1, _ACS,
590
591
  [_defa],
591
592
  [2]
592
593
  ];
593
- export var AutonomousChannelSettings$ = [3, n1, _ACSu,
594
- 0,
595
- [],
596
- []
597
- ];
598
594
  export var ChatChannelSettings$ = [3, n1, _CCS,
599
595
  0,
600
- [_di],
601
- [2]
596
+ [_di, _ar],
597
+ [2, 2]
602
598
  ];
603
599
  export var CompareAgentVersionsInput$ = [3, n1, _CAVI,
604
600
  0,
@@ -835,6 +831,11 @@ export var WebSearchUserLocation$ = [3, n1, _WSUL,
835
831
  [_cou, _re, _ci, _time],
836
832
  [0, 0, 0, 0]
837
833
  ];
834
+ export var WorkflowChannelSettings$ = [3, n1, _WCS,
835
+ 0,
836
+ [],
837
+ []
838
+ ];
838
839
  export var Actor$ = [3, n2, _Ac,
839
840
  0,
840
841
  [_t, _i, _n],
@@ -889,7 +890,7 @@ var AgentSkillsList = [1, n3, _ASL,
889
890
  ];
890
891
  export var AgentCapability$ = [4, n1, _ACg,
891
892
  0,
892
- [_too, _kb, _sa, _wS, _wF, _ag, _ha, _del, _tr, _su, _han, _w],
893
+ [_too, _kb, _sa, _wS, _wF, _ag, _ha, _del, _tr, _su, _han, _wa],
893
894
  [() => AgentTool$, () => AgentKnowledgeBase$, () => AgentSandboxCapability$, () => AgentWebSearchCapability$, () => AgentWebFetchCapability$, () => AgentCallCapability$, () => AgentHandoverCapability$, () => AgentDelegationCapability$, () => AgentTransferCapability$, () => AgentSuggestionsCapability$, () => AgentHangupCapability$, () => AgentWaitCapability$]
894
895
  ];
895
896
  export var AgentEngine$ = [4, n1, _AE,
@@ -914,7 +915,7 @@ export var AgentToolAnnotation$ = [4, n1, _ATAg,
914
915
  ];
915
916
  export var AgentToolVariableHandler$ = [4, n1, _ATVH,
916
917
  0,
917
- [_aut, _gu, _pre],
918
+ [_au, _gu, _pre],
918
919
  [() => AgentToolVariableAutoHandler$, () => AgentToolVariableGuidedHandler$, () => AgentToolVariablePredefinedHandler$]
919
920
  ];
920
921
  export var VoiceTerminateAction$ = [4, n1, _VTA,
@@ -138,15 +138,16 @@ export interface WilmaAgents {
138
138
  updateAgentDeployment(args: UpdateAgentDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAgentDeploymentCommandOutput) => void): void;
139
139
  }
140
140
  /**
141
- * Unified agent platform. Each agent has a single type (voice, chat, assistant or
142
- * autonomous) carrying the matching channel settings; autonomous agents have no
143
- * delivery channel and are invoked by other agents or as automation triggers.
141
+ * Unified agent platform. Each agent serves one or more channels (voice, chat,
142
+ * assistant or workflow) carrying the matching channel settings; workflow agents have
143
+ * no delivery channel and run as background tasks via wilma-workflows — invoked by
144
+ * other agents, by automations or over the API.
144
145
  * Successor of the agent/bot configuration APIs of wim-wilma, xbees-users bots
145
146
  * and wim-voicebots. Covers the agent lifecycle: draft editing, immutable versions,
146
- * deployment traffic routing (rollback, canary) and API keys. Durable runtime sessions live in
147
- * the companion wilma-sessions service and skills in wilma-skills. The company-wide
148
- * audit trail lives in wilma-audit; evaluations in wilma-evaluations; observability in
149
- * wilma-traces; analytics in wilma-analytics.
147
+ * deployment traffic routing (rollback, canary) and API keys. The runtime lives in the
148
+ * per-channel services (wilma-assistant, wilma-chat, wilma-voice, wilma-workflows) and
149
+ * skills in wilma-skills. The company-wide audit trail lives in wilma-audit; evaluations
150
+ * in wilma-evaluations; observability in wilma-traces; analytics in wilma-analytics.
150
151
  * @public
151
152
  */
152
153
  export declare class WilmaAgents extends WilmaAgentsClient implements WilmaAgents {
@@ -163,15 +163,16 @@ export type WilmaAgentsClientResolvedConfigType = __SmithyResolvedConfiguration<
163
163
  export interface WilmaAgentsClientResolvedConfig extends WilmaAgentsClientResolvedConfigType {
164
164
  }
165
165
  /**
166
- * Unified agent platform. Each agent has a single type (voice, chat, assistant or
167
- * autonomous) carrying the matching channel settings; autonomous agents have no
168
- * delivery channel and are invoked by other agents or as automation triggers.
166
+ * Unified agent platform. Each agent serves one or more channels (voice, chat,
167
+ * assistant or workflow) carrying the matching channel settings; workflow agents have
168
+ * no delivery channel and run as background tasks via wilma-workflows — invoked by
169
+ * other agents, by automations or over the API.
169
170
  * Successor of the agent/bot configuration APIs of wim-wilma, xbees-users bots
170
171
  * and wim-voicebots. Covers the agent lifecycle: draft editing, immutable versions,
171
- * deployment traffic routing (rollback, canary) and API keys. Durable runtime sessions live in
172
- * the companion wilma-sessions service and skills in wilma-skills. The company-wide
173
- * audit trail lives in wilma-audit; evaluations in wilma-evaluations; observability in
174
- * wilma-traces; analytics in wilma-analytics.
172
+ * deployment traffic routing (rollback, canary) and API keys. The runtime lives in the
173
+ * per-channel services (wilma-assistant, wilma-chat, wilma-voice, wilma-workflows) and
174
+ * skills in wilma-skills. The company-wide audit trail lives in wilma-audit; evaluations
175
+ * in wilma-evaluations; observability in wilma-traces; analytics in wilma-analytics.
175
176
  * @public
176
177
  */
177
178
  export declare class WilmaAgentsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, WilmaAgentsClientResolvedConfig> {
@@ -91,11 +91,12 @@ declare const CreateAgentCommand_base: {
91
91
  * },
92
92
  * chat: { // ChatChannelSettings
93
93
  * discoverable: true || false,
94
+ * artifacts: true || false,
94
95
  * },
95
96
  * assistant: { // AssistantChannelSettings
96
97
  * default: true || false,
97
98
  * },
98
- * autonomous: {},
99
+ * workflow: {},
99
100
  * },
100
101
  * engine: { // AgentEngine Union: only one key present
101
102
  * ai: { // AgentAiEngine
@@ -426,11 +427,12 @@ declare const CreateAgentCommand_base: {
426
427
  * // },
427
428
  * // chat: { // ChatChannelSettings
428
429
  * // discoverable: true || false,
430
+ * // artifacts: true || false,
429
431
  * // },
430
432
  * // assistant: { // AssistantChannelSettings
431
433
  * // default: true || false,
432
434
  * // },
433
- * // autonomous: {},
435
+ * // workflow: {},
434
436
  * // },
435
437
  * // engine: { // AgentEngine Union: only one key present
436
438
  * // ai: { // AgentAiEngine
@@ -98,11 +98,12 @@ declare const GetAgentCommand_base: {
98
98
  * // },
99
99
  * // chat: { // ChatChannelSettings
100
100
  * // discoverable: true || false,
101
+ * // artifacts: true || false,
101
102
  * // },
102
103
  * // assistant: { // AssistantChannelSettings
103
104
  * // default: true || false,
104
105
  * // },
105
- * // autonomous: {},
106
+ * // workflow: {},
106
107
  * // },
107
108
  * // engine: { // AgentEngine Union: only one key present
108
109
  * // ai: { // AgentAiEngine
@@ -105,11 +105,12 @@ declare const GetAgentVersionCommand_base: {
105
105
  * // },
106
106
  * // chat: { // ChatChannelSettings
107
107
  * // discoverable: true || false,
108
+ * // artifacts: true || false,
108
109
  * // },
109
110
  * // assistant: { // AssistantChannelSettings
110
111
  * // default: true || false,
111
112
  * // },
112
- * // autonomous: {},
113
+ * // workflow: {},
113
114
  * // },
114
115
  * // engine: { // AgentEngine Union: only one key present
115
116
  * // ai: { // AgentAiEngine
@@ -38,7 +38,7 @@ declare const ListAgentsCommand_base: {
38
38
  * const client = new WilmaAgentsClient(config);
39
39
  * const input = { // ListAgentsInput
40
40
  * company: "STRING_VALUE",
41
- * channel: "voice" || "chat" || "assistant" || "autonomous",
41
+ * channel: "voice" || "chat" || "assistant" || "workflow",
42
42
  * status: "draft" || "active",
43
43
  * search: "STRING_VALUE",
44
44
  * limit: Number("int"),
@@ -103,11 +103,12 @@ declare const ListAgentsCommand_base: {
103
103
  * // },
104
104
  * // chat: { // ChatChannelSettings
105
105
  * // discoverable: true || false,
106
+ * // artifacts: true || false,
106
107
  * // },
107
108
  * // assistant: { // AssistantChannelSettings
108
109
  * // default: true || false,
109
110
  * // },
110
- * // autonomous: {},
111
+ * // workflow: {},
111
112
  * // },
112
113
  * // engine: { // AgentEngine Union: only one key present
113
114
  * // ai: { // AgentAiEngine
@@ -38,7 +38,7 @@ declare const ListAgentsNamesCommand_base: {
38
38
  * const client = new WilmaAgentsClient(config);
39
39
  * const input = { // ListAgentsNamesInput
40
40
  * company: "STRING_VALUE",
41
- * channel: "voice" || "chat" || "assistant" || "autonomous",
41
+ * channel: "voice" || "chat" || "assistant" || "workflow",
42
42
  * };
43
43
  * const command = new ListAgentsNamesCommand(input);
44
44
  * const response = await client.send(command);
@@ -50,7 +50,7 @@ declare const ListAgentsNamesCommand_base: {
50
50
  * // category: "STRING_VALUE",
51
51
  * // status: "draft" || "active", // required
52
52
  * // channels: [ // ChannelTypeList // required
53
- * // "voice" || "chat" || "assistant" || "autonomous",
53
+ * // "voice" || "chat" || "assistant" || "workflow",
54
54
  * // ],
55
55
  * // latestVersion: Number("int"),
56
56
  * // },
@@ -107,11 +107,12 @@ declare const PublishAgentVersionCommand_base: {
107
107
  * // },
108
108
  * // chat: { // ChatChannelSettings
109
109
  * // discoverable: true || false,
110
+ * // artifacts: true || false,
110
111
  * // },
111
112
  * // assistant: { // AssistantChannelSettings
112
113
  * // default: true || false,
113
114
  * // },
114
- * // autonomous: {},
115
+ * // workflow: {},
115
116
  * // },
116
117
  * // engine: { // AgentEngine Union: only one key present
117
118
  * // ai: { // AgentAiEngine
@@ -100,11 +100,12 @@ declare const RestoreAgentVersionToDraftCommand_base: {
100
100
  * // },
101
101
  * // chat: { // ChatChannelSettings
102
102
  * // discoverable: true || false,
103
+ * // artifacts: true || false,
103
104
  * // },
104
105
  * // assistant: { // AssistantChannelSettings
105
106
  * // default: true || false,
106
107
  * // },
107
- * // autonomous: {},
108
+ * // workflow: {},
108
109
  * // },
109
110
  * // engine: { // AgentEngine Union: only one key present
110
111
  * // ai: { // AgentAiEngine
@@ -91,11 +91,12 @@ declare const UpdateAgentCommand_base: {
91
91
  * },
92
92
  * chat: { // ChatChannelSettings
93
93
  * discoverable: true || false,
94
+ * artifacts: true || false,
94
95
  * },
95
96
  * assistant: { // AssistantChannelSettings
96
97
  * default: true || false,
97
98
  * },
98
- * autonomous: {},
99
+ * workflow: {},
99
100
  * },
100
101
  * engine: { // AgentEngine Union: only one key present
101
102
  * ai: { // AgentAiEngine
@@ -428,11 +429,12 @@ declare const UpdateAgentCommand_base: {
428
429
  * // },
429
430
  * // chat: { // ChatChannelSettings
430
431
  * // discoverable: true || false,
432
+ * // artifacts: true || false,
431
433
  * // },
432
434
  * // assistant: { // AssistantChannelSettings
433
435
  * // default: true || false,
434
436
  * // },
435
- * // autonomous: {},
437
+ * // workflow: {},
436
438
  * // },
437
439
  * // engine: { // AgentEngine Union: only one key present
438
440
  * // ai: { // AgentAiEngine
@@ -1,13 +1,14 @@
1
1
  /**
2
- * Unified agent platform. Each agent has a single type (voice, chat, assistant or
3
- * autonomous) carrying the matching channel settings; autonomous agents have no
4
- * delivery channel and are invoked by other agents or as automation triggers.
2
+ * Unified agent platform. Each agent serves one or more channels (voice, chat,
3
+ * assistant or workflow) carrying the matching channel settings; workflow agents have
4
+ * no delivery channel and run as background tasks via wilma-workflows — invoked by
5
+ * other agents, by automations or over the API.
5
6
  * Successor of the agent/bot configuration APIs of wim-wilma, xbees-users bots
6
7
  * and wim-voicebots. Covers the agent lifecycle: draft editing, immutable versions,
7
- * deployment traffic routing (rollback, canary) and API keys. Durable runtime sessions live in
8
- * the companion wilma-sessions service and skills in wilma-skills. The company-wide
9
- * audit trail lives in wilma-audit; evaluations in wilma-evaluations; observability in
10
- * wilma-traces; analytics in wilma-analytics.
8
+ * deployment traffic routing (rollback, canary) and API keys. The runtime lives in the
9
+ * per-channel services (wilma-assistant, wilma-chat, wilma-voice, wilma-workflows) and
10
+ * skills in wilma-skills. The company-wide audit trail lives in wilma-audit; evaluations
11
+ * in wilma-evaluations; observability in wilma-traces; analytics in wilma-analytics.
11
12
  *
12
13
  * @packageDocumentation
13
14
  */
@@ -247,10 +247,6 @@ export declare const ChannelType: {
247
247
  * In-app assistant (x-bees / x-hoppers / Collaboration).
248
248
  */
249
249
  readonly ASSISTANT: "assistant";
250
- /**
251
- * No delivery channel: invoked by other agents (call / delegation / handover) or as an automation trigger, and runnable over the API.
252
- */
253
- readonly AUTONOMOUS: "autonomous";
254
250
  /**
255
251
  * Bot member of chat conversations.
256
252
  */
@@ -259,6 +255,10 @@ export declare const ChannelType: {
259
255
  * Voice calls on the PBX.
260
256
  */
261
257
  readonly VOICE: "voice";
258
+ /**
259
+ * No delivery channel: runs as background tasks via wilma-workflows — invoked by other agents (call / delegation / handover), by automations or over the API.
260
+ */
261
+ readonly WORKFLOW: "workflow";
262
262
  };
263
263
  /**
264
264
  * @public
@@ -40,7 +40,7 @@ export declare namespace AgentGrantPrincipal {
40
40
  /**
41
41
  * Who is allowed to use the agent. There is no view/edit dimension — access solely grants the ability to use the agent.
42
42
  * Per channel: on `chat` and `assistant` agents `grants` govern which colleagues can use the agent; on `voice` agents `grants`
43
- * are ignored (inbound calls are routed by the PBX dialplan, and data ACL is the agent-level `settings.pbxGroupId`); on `autonomous` agents agent-level
43
+ * are ignored (inbound calls are routed by the PBX dialplan, and data ACL is the agent-level `settings.pbxGroupId`); on `workflow` agents agent-level
44
44
  * access is not used — invocation access is configured per reference on the calling agent (see AgentCallCapability.access).
45
45
  * @public
46
46
  */
@@ -66,11 +66,6 @@ export interface AssistantChannelSettings {
66
66
  */
67
67
  default?: boolean | undefined;
68
68
  }
69
- /**
70
- * @public
71
- */
72
- export interface AutonomousChannelSettings {
73
- }
74
69
  /**
75
70
  * @public
76
71
  */
@@ -80,6 +75,11 @@ export interface ChatChannelSettings {
80
75
  * @public
81
76
  */
82
77
  discoverable?: boolean | undefined;
78
+ /**
79
+ * Whether the agent can produce artifacts (wilma-artifacts). When an artifact is created the chat runtime shares it company-wide by link before posting the link into the conversation, so every signed-in colleague can open it. Artifacts are company-internal: recipients on external transports (sms / whatsapp) or outside the company cannot open the links, so keep this disabled for customer-facing agents. Defaults to false.
80
+ * @public
81
+ */
82
+ artifacts?: boolean | undefined;
83
83
  }
84
84
  /**
85
85
  * Caller context injected into the model prompt.
@@ -248,6 +248,11 @@ export interface VoiceChannelSettings {
248
248
  */
249
249
  callerMetadata?: VoiceCallerMetadataSettings | undefined;
250
250
  }
251
+ /**
252
+ * @public
253
+ */
254
+ export interface WorkflowChannelSettings {
255
+ }
251
256
  /**
252
257
  * The channels an agent serves and their channel-specific settings. Presence of a member enables that channel; at least one must be set. Enabled channels are mirrored as ChannelType values on AgentInfo.
253
258
  * @public
@@ -260,7 +265,7 @@ export interface AgentChannels {
260
265
  voice?: VoiceChannelSettings | undefined;
261
266
  chat?: ChatChannelSettings | undefined;
262
267
  assistant?: AssistantChannelSettings | undefined;
263
- autonomous?: AutonomousChannelSettings | undefined;
268
+ workflow?: WorkflowChannelSettings | undefined;
264
269
  }
265
270
  /**
266
271
  * Who performed an action: an interactive user, an API key or an internal service.
@@ -428,7 +433,7 @@ export interface AgentToolVariable {
428
433
  handler?: AgentToolVariableHandler | undefined;
429
434
  }
430
435
  /**
431
- * Invoke another agent (typically an autonomous agent) as a dedicated execution with its own state. The called agent runs independently and returns its result.
436
+ * Invoke another agent (typically a workflow agent) as a dedicated execution with its own state. The called agent runs independently and returns its result.
432
437
  * @public
433
438
  */
434
439
  export interface AgentCallCapability {
@@ -446,8 +451,8 @@ export interface AgentCallCapability {
446
451
  /**
447
452
  * Who may invoke this sub-agent tool. Evaluated per invoking user when the calling agent (chat / assistant) builds its
448
453
  * toolset: if the user is not granted, this capability is omitted from the tools offered to the model for that session.
449
- * When omitted, the tool is available to everyone who can use the calling agent. This is where an autonomous agent's
450
- * invocation access is configured, since autonomous agents have no agent-level access of their own.
454
+ * When omitted, the tool is available to everyone who can use the calling agent. This is where a workflow agent's
455
+ * invocation access is configured, since workflow agents have no agent-level access of their own.
451
456
  * @public
452
457
  */
453
458
  access?: AgentAccess | undefined;
@@ -1070,7 +1075,7 @@ export declare namespace AgentCapability {
1070
1075
  $unknown?: never;
1071
1076
  }
1072
1077
  /**
1073
- * Invoke another agent (typically an autonomous agent) as a dedicated execution with its own state. The called agent runs independently and returns its result.
1078
+ * Invoke another agent (typically a workflow agent) as a dedicated execution with its own state. The called agent runs independently and returns its result.
1074
1079
  * @public
1075
1080
  */
1076
1081
  interface AgentMember {
@@ -1416,7 +1421,7 @@ export interface Agent {
1416
1421
  /**
1417
1422
  * Who is allowed to use the agent. There is no view/edit dimension — access solely grants the ability to use the agent.
1418
1423
  * Per channel: on `chat` and `assistant` agents `grants` govern which colleagues can use the agent; on `voice` agents `grants`
1419
- * are ignored (inbound calls are routed by the PBX dialplan, and data ACL is the agent-level `settings.pbxGroupId`); on `autonomous` agents agent-level
1424
+ * are ignored (inbound calls are routed by the PBX dialplan, and data ACL is the agent-level `settings.pbxGroupId`); on `workflow` agents agent-level
1420
1425
  * access is not used — invocation access is configured per reference on the calling agent (see AgentCallCapability.access).
1421
1426
  * @public
1422
1427
  */
@@ -1531,7 +1536,7 @@ export interface AgentDefinitionSnapshot {
1531
1536
  /**
1532
1537
  * Who is allowed to use the agent. There is no view/edit dimension — access solely grants the ability to use the agent.
1533
1538
  * Per channel: on `chat` and `assistant` agents `grants` govern which colleagues can use the agent; on `voice` agents `grants`
1534
- * are ignored (inbound calls are routed by the PBX dialplan, and data ACL is the agent-level `settings.pbxGroupId`); on `autonomous` agents agent-level
1539
+ * are ignored (inbound calls are routed by the PBX dialplan, and data ACL is the agent-level `settings.pbxGroupId`); on `workflow` agents agent-level
1535
1540
  * access is not used — invocation access is configured per reference on the calling agent (see AgentCallCapability.access).
1536
1541
  * @public
1537
1542
  */
@@ -1546,7 +1551,7 @@ export interface AgentInfo {
1546
1551
  category?: string | undefined;
1547
1552
  status: AgentStatus;
1548
1553
  /**
1549
- * The channels this agent serves (voice / chat / assistant / autonomous).
1554
+ * The channels this agent serves (voice / chat / assistant / workflow).
1550
1555
  * @public
1551
1556
  */
1552
1557
  channels: ChannelType[];
@@ -1723,7 +1728,7 @@ export interface CreateAgentInput {
1723
1728
  /**
1724
1729
  * Who is allowed to use the agent. There is no view/edit dimension — access solely grants the ability to use the agent.
1725
1730
  * Per channel: on `chat` and `assistant` agents `grants` govern which colleagues can use the agent; on `voice` agents `grants`
1726
- * are ignored (inbound calls are routed by the PBX dialplan, and data ACL is the agent-level `settings.pbxGroupId`); on `autonomous` agents agent-level
1731
+ * are ignored (inbound calls are routed by the PBX dialplan, and data ACL is the agent-level `settings.pbxGroupId`); on `workflow` agents agent-level
1727
1732
  * access is not used — invocation access is configured per reference on the calling agent (see AgentCallCapability.access).
1728
1733
  * @public
1729
1734
  */
@@ -1920,7 +1925,7 @@ export interface ListAgentDeploymentsOutput {
1920
1925
  export interface ListAgentsInput {
1921
1926
  company?: string | undefined;
1922
1927
  /**
1923
- * Only agents that have this channel enabled (voice / chat / assistant / autonomous).
1928
+ * Only agents that have this channel enabled (voice / chat / assistant / workflow).
1924
1929
  * @public
1925
1930
  */
1926
1931
  channel?: ChannelType | undefined;
@@ -1954,7 +1959,7 @@ export interface ListAgentsOutput {
1954
1959
  export interface ListAgentsNamesInput {
1955
1960
  company?: string | undefined;
1956
1961
  /**
1957
- * A channel an agent can serve (see AgentChannels for enablement). Also the runtime channel recorded by wilma-sessions / wilma-traces.
1962
+ * A channel an agent can serve (see AgentChannels for enablement). Also the runtime channel recorded by the channel runtimes / wilma-traces.
1958
1963
  * @public
1959
1964
  */
1960
1965
  channel?: ChannelType | undefined;
@@ -2079,7 +2084,7 @@ export interface UpdateAgentInput {
2079
2084
  /**
2080
2085
  * Who is allowed to use the agent. There is no view/edit dimension — access solely grants the ability to use the agent.
2081
2086
  * Per channel: on `chat` and `assistant` agents `grants` govern which colleagues can use the agent; on `voice` agents `grants`
2082
- * are ignored (inbound calls are routed by the PBX dialplan, and data ACL is the agent-level `settings.pbxGroupId`); on `autonomous` agents agent-level
2087
+ * are ignored (inbound calls are routed by the PBX dialplan, and data ACL is the agent-level `settings.pbxGroupId`); on `workflow` agents agent-level
2083
2088
  * access is not used — invocation access is configured per reference on the calling agent (see AgentCallCapability.access).
2084
2089
  * @public
2085
2090
  */
@@ -61,7 +61,6 @@ export declare var AgentWebFetchCapability$: StaticStructureSchema;
61
61
  export declare var AgentWebhookEngine$: StaticStructureSchema;
62
62
  export declare var AgentWebSearchCapability$: StaticStructureSchema;
63
63
  export declare var AssistantChannelSettings$: StaticStructureSchema;
64
- export declare var AutonomousChannelSettings$: StaticStructureSchema;
65
64
  export declare var ChatChannelSettings$: StaticStructureSchema;
66
65
  export declare var CompareAgentVersionsInput$: StaticStructureSchema;
67
66
  export declare var CompareAgentVersionsOutput$: StaticStructureSchema;
@@ -110,6 +109,7 @@ export declare var VoiceSilenceTimeoutSettings$: StaticStructureSchema;
110
109
  export declare var VoiceTerminateHangupAction$: StaticStructureSchema;
111
110
  export declare var VoiceTransferTarget$: StaticStructureSchema;
112
111
  export declare var WebSearchUserLocation$: StaticStructureSchema;
112
+ export declare var WorkflowChannelSettings$: StaticStructureSchema;
113
113
  export declare var Actor$: StaticStructureSchema;
114
114
  export declare var AgentSkillReference$: StaticStructureSchema;
115
115
  export declare var AgentCapability$: StaticUnionSchema;
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.8",
4
+ "version": "1.0.10",
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",