@wildix/wim-wilma-client 0.0.11 → 3.1.12

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.
Files changed (183) hide show
  1. package/dist-cjs/Wilma.js +25 -3
  2. package/dist-cjs/WilmaClient.js +34 -26
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +52 -0
  5. package/dist-cjs/commands/CreateAgentCommand.js +10 -11
  6. package/dist-cjs/commands/CreateGuidelineCommand.js +10 -11
  7. package/dist-cjs/commands/CreateGuidelinesDirectoryCommand.js +10 -11
  8. package/dist-cjs/commands/CreateSkillCommand.js +20 -0
  9. package/dist-cjs/commands/CreateSkillFileUploadCommand.js +20 -0
  10. package/dist-cjs/commands/DeleteAgentCommand.js +10 -11
  11. package/dist-cjs/commands/DeleteChatCommand.js +10 -11
  12. package/dist-cjs/commands/DeleteFileCommand.js +20 -0
  13. package/dist-cjs/commands/DeleteGuidelineCommand.js +10 -11
  14. package/dist-cjs/commands/DeleteGuidelinesDirectoryCommand.js +10 -11
  15. package/dist-cjs/commands/DeleteSkillCommand.js +20 -0
  16. package/dist-cjs/commands/DeleteSkillFileCommand.js +20 -0
  17. package/dist-cjs/commands/DislikeAnswerCommand.js +10 -11
  18. package/dist-cjs/commands/DownloadFileCommand.js +20 -0
  19. package/dist-cjs/commands/ExecuteAgentCommand.js +10 -11
  20. package/dist-cjs/commands/GetAgentCommand.js +10 -11
  21. package/dist-cjs/commands/GetChatCommand.js +10 -11
  22. package/dist-cjs/commands/GetFileCommand.js +20 -0
  23. package/dist-cjs/commands/GetGuidelineCommand.js +10 -11
  24. package/dist-cjs/commands/GetOrganizationSettingsCommand.js +10 -11
  25. package/dist-cjs/commands/GetSettingsCommand.js +10 -11
  26. package/dist-cjs/commands/GetSkillCommand.js +20 -0
  27. package/dist-cjs/commands/GetSkillFileDownloadCommand.js +20 -0
  28. package/dist-cjs/commands/LikeAnswerCommand.js +10 -11
  29. package/dist-cjs/commands/ListAgentFeedbacksCommand.js +10 -11
  30. package/dist-cjs/commands/ListAgentsCommand.js +10 -11
  31. package/dist-cjs/commands/ListAgentsNamesCommand.js +10 -11
  32. package/dist-cjs/commands/ListChatsCommand.js +10 -11
  33. package/dist-cjs/commands/ListFeedbacksCommand.js +10 -11
  34. package/dist-cjs/commands/ListGuidelinesCommand.js +10 -11
  35. package/dist-cjs/commands/ListGuidelinesDirectoriesCommand.js +10 -11
  36. package/dist-cjs/commands/ListGuidelinesNamesCommand.js +10 -11
  37. package/dist-cjs/commands/ListSkillsCommand.js +20 -0
  38. package/dist-cjs/commands/PatchOrganizationSettingsCommand.js +10 -11
  39. package/dist-cjs/commands/PatchSettingsCommand.js +10 -11
  40. package/dist-cjs/commands/UpdateAgentCommand.js +10 -11
  41. package/dist-cjs/commands/UpdateGuidelineAccessCommand.js +10 -11
  42. package/dist-cjs/commands/UpdateGuidelineCommand.js +10 -11
  43. package/dist-cjs/commands/UpdateGuidelinesDirectoryCommand.js +10 -11
  44. package/dist-cjs/commands/UpdateSkillCommand.js +20 -0
  45. package/dist-cjs/commands/index.js +12 -1
  46. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  47. package/dist-cjs/endpoint/bdd.js +28 -0
  48. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  49. package/dist-cjs/index.js +4 -1
  50. package/dist-cjs/models/WilmaServiceException.js +3 -3
  51. package/dist-cjs/models/enums.js +45 -0
  52. package/dist-cjs/models/errors.js +43 -0
  53. package/dist-cjs/models/models_0.js +0 -96
  54. package/dist-cjs/runtimeConfig.browser.js +11 -11
  55. package/dist-cjs/runtimeConfig.js +22 -18
  56. package/dist-cjs/runtimeConfig.shared.js +30 -10
  57. package/dist-cjs/runtimeExtensions.js +6 -5
  58. package/dist-cjs/schemas/schemas_0.js +1110 -0
  59. package/dist-es/Wilma.js +27 -5
  60. package/dist-es/WilmaClient.js +30 -22
  61. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  62. package/dist-es/auth/httpAuthSchemeProvider.js +46 -0
  63. package/dist-es/commands/CreateAgentCommand.js +9 -10
  64. package/dist-es/commands/CreateGuidelineCommand.js +9 -10
  65. package/dist-es/commands/CreateGuidelinesDirectoryCommand.js +9 -10
  66. package/dist-es/commands/CreateSkillCommand.js +16 -0
  67. package/dist-es/commands/CreateSkillFileUploadCommand.js +16 -0
  68. package/dist-es/commands/DeleteAgentCommand.js +9 -10
  69. package/dist-es/commands/DeleteChatCommand.js +9 -10
  70. package/dist-es/commands/DeleteFileCommand.js +16 -0
  71. package/dist-es/commands/DeleteGuidelineCommand.js +9 -10
  72. package/dist-es/commands/DeleteGuidelinesDirectoryCommand.js +9 -10
  73. package/dist-es/commands/DeleteSkillCommand.js +16 -0
  74. package/dist-es/commands/DeleteSkillFileCommand.js +16 -0
  75. package/dist-es/commands/DislikeAnswerCommand.js +9 -10
  76. package/dist-es/commands/DownloadFileCommand.js +16 -0
  77. package/dist-es/commands/ExecuteAgentCommand.js +9 -10
  78. package/dist-es/commands/GetAgentCommand.js +9 -10
  79. package/dist-es/commands/GetChatCommand.js +9 -10
  80. package/dist-es/commands/GetFileCommand.js +16 -0
  81. package/dist-es/commands/GetGuidelineCommand.js +9 -10
  82. package/dist-es/commands/GetOrganizationSettingsCommand.js +9 -10
  83. package/dist-es/commands/GetSettingsCommand.js +9 -10
  84. package/dist-es/commands/GetSkillCommand.js +16 -0
  85. package/dist-es/commands/GetSkillFileDownloadCommand.js +16 -0
  86. package/dist-es/commands/LikeAnswerCommand.js +9 -10
  87. package/dist-es/commands/ListAgentFeedbacksCommand.js +9 -10
  88. package/dist-es/commands/ListAgentsCommand.js +9 -10
  89. package/dist-es/commands/ListAgentsNamesCommand.js +9 -10
  90. package/dist-es/commands/ListChatsCommand.js +9 -10
  91. package/dist-es/commands/ListFeedbacksCommand.js +9 -10
  92. package/dist-es/commands/ListGuidelinesCommand.js +9 -10
  93. package/dist-es/commands/ListGuidelinesDirectoriesCommand.js +9 -10
  94. package/dist-es/commands/ListGuidelinesNamesCommand.js +9 -10
  95. package/dist-es/commands/ListSkillsCommand.js +16 -0
  96. package/dist-es/commands/PatchOrganizationSettingsCommand.js +9 -10
  97. package/dist-es/commands/PatchSettingsCommand.js +9 -10
  98. package/dist-es/commands/UpdateAgentCommand.js +9 -10
  99. package/dist-es/commands/UpdateGuidelineAccessCommand.js +9 -10
  100. package/dist-es/commands/UpdateGuidelineCommand.js +9 -10
  101. package/dist-es/commands/UpdateGuidelinesDirectoryCommand.js +9 -10
  102. package/dist-es/commands/UpdateSkillCommand.js +16 -0
  103. package/dist-es/commands/index.js +12 -1
  104. package/dist-es/endpoint/EndpointParameters.js +12 -0
  105. package/dist-es/endpoint/bdd.js +25 -0
  106. package/dist-es/endpoint/endpointResolver.js +12 -0
  107. package/dist-es/index.js +4 -1
  108. package/dist-es/models/WilmaServiceException.js +1 -1
  109. package/dist-es/models/enums.js +42 -0
  110. package/dist-es/models/errors.js +37 -0
  111. package/dist-es/models/models_0.js +1 -92
  112. package/dist-es/runtimeConfig.browser.js +7 -7
  113. package/dist-es/runtimeConfig.js +17 -13
  114. package/dist-es/runtimeConfig.shared.js +24 -4
  115. package/dist-es/runtimeExtensions.js +6 -5
  116. package/dist-es/schemas/schemas_0.js +1104 -0
  117. package/dist-types/Wilma.d.ts +108 -30
  118. package/dist-types/WilmaClient.d.ts +72 -43
  119. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  120. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  121. package/dist-types/commands/CreateAgentCommand.d.ts +127 -25
  122. package/dist-types/commands/CreateGuidelineCommand.d.ts +11 -7
  123. package/dist-types/commands/CreateGuidelinesDirectoryCommand.d.ts +11 -7
  124. package/dist-types/commands/CreateSkillCommand.d.ts +103 -0
  125. package/dist-types/commands/CreateSkillFileUploadCommand.d.ts +99 -0
  126. package/dist-types/commands/DeleteAgentCommand.d.ts +11 -7
  127. package/dist-types/commands/DeleteChatCommand.d.ts +11 -7
  128. package/dist-types/commands/DeleteFileCommand.d.ts +80 -0
  129. package/dist-types/commands/DeleteGuidelineCommand.d.ts +11 -7
  130. package/dist-types/commands/DeleteGuidelinesDirectoryCommand.d.ts +11 -7
  131. package/dist-types/commands/DeleteSkillCommand.d.ts +80 -0
  132. package/dist-types/commands/DeleteSkillFileCommand.d.ts +83 -0
  133. package/dist-types/commands/DislikeAnswerCommand.d.ts +11 -7
  134. package/dist-types/commands/DownloadFileCommand.d.ts +95 -0
  135. package/dist-types/commands/ExecuteAgentCommand.d.ts +28 -7
  136. package/dist-types/commands/GetAgentCommand.d.ts +69 -16
  137. package/dist-types/commands/GetChatCommand.d.ts +11 -7
  138. package/dist-types/commands/GetFileCommand.d.ts +93 -0
  139. package/dist-types/commands/GetGuidelineCommand.d.ts +11 -7
  140. package/dist-types/commands/GetOrganizationSettingsCommand.d.ts +11 -7
  141. package/dist-types/commands/GetSettingsCommand.d.ts +11 -7
  142. package/dist-types/commands/GetSkillCommand.d.ts +103 -0
  143. package/dist-types/commands/GetSkillFileDownloadCommand.d.ts +86 -0
  144. package/dist-types/commands/LikeAnswerCommand.d.ts +11 -7
  145. package/dist-types/commands/ListAgentFeedbacksCommand.d.ts +11 -7
  146. package/dist-types/commands/ListAgentsCommand.d.ts +69 -16
  147. package/dist-types/commands/ListAgentsNamesCommand.d.ts +11 -7
  148. package/dist-types/commands/ListChatsCommand.d.ts +11 -7
  149. package/dist-types/commands/ListFeedbacksCommand.d.ts +11 -7
  150. package/dist-types/commands/ListGuidelinesCommand.d.ts +11 -7
  151. package/dist-types/commands/ListGuidelinesDirectoriesCommand.d.ts +11 -7
  152. package/dist-types/commands/ListGuidelinesNamesCommand.d.ts +11 -7
  153. package/dist-types/commands/ListSkillsCommand.d.ts +92 -0
  154. package/dist-types/commands/PatchOrganizationSettingsCommand.d.ts +11 -7
  155. package/dist-types/commands/PatchSettingsCommand.d.ts +11 -7
  156. package/dist-types/commands/UpdateAgentCommand.d.ts +127 -25
  157. package/dist-types/commands/UpdateGuidelineAccessCommand.d.ts +11 -7
  158. package/dist-types/commands/UpdateGuidelineCommand.d.ts +11 -7
  159. package/dist-types/commands/UpdateGuidelinesDirectoryCommand.d.ts +11 -7
  160. package/dist-types/commands/UpdateSkillCommand.d.ts +106 -0
  161. package/dist-types/commands/index.d.ts +12 -1
  162. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  163. package/dist-types/endpoint/bdd.d.ts +2 -0
  164. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  165. package/dist-types/extensionConfiguration.d.ts +4 -3
  166. package/dist-types/index.d.ts +5 -1
  167. package/dist-types/models/WilmaServiceException.d.ts +1 -1
  168. package/dist-types/models/enums.d.ts +129 -0
  169. package/dist-types/models/errors.d.ts +35 -0
  170. package/dist-types/models/models_0.d.ts +640 -162
  171. package/dist-types/runtimeConfig.browser.d.ts +37 -13
  172. package/dist-types/runtimeConfig.d.ts +36 -12
  173. package/dist-types/runtimeConfig.native.d.ts +37 -13
  174. package/dist-types/runtimeConfig.shared.d.ts +20 -3
  175. package/dist-types/runtimeExtensions.d.ts +1 -1
  176. package/dist-types/schemas/schemas_0.d.ts +172 -0
  177. package/package.json +14 -40
  178. package/dist-cjs/models/index.js +0 -4
  179. package/dist-cjs/protocols/Aws_restJson1.js +0 -1125
  180. package/dist-es/models/index.js +0 -1
  181. package/dist-es/protocols/Aws_restJson1.js +0 -1063
  182. package/dist-types/models/index.d.ts +0 -1
  183. package/dist-types/protocols/Aws_restJson1.d.ts +0 -263
@@ -1,50 +1,5 @@
1
- import { WilmaServiceException as __BaseException } from "./WilmaServiceException";
2
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
3
- import { DocumentType as __DocumentType } from "@smithy/types";
4
- /**
5
- * @public
6
- */
7
- export declare class ForbiddenException extends __BaseException {
8
- readonly name: "ForbiddenException";
9
- readonly $fault: "client";
10
- /**
11
- * @internal
12
- */
13
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
14
- }
15
- /**
16
- * @public
17
- */
18
- export declare class NotFoundException extends __BaseException {
19
- readonly name: "NotFoundException";
20
- readonly $fault: "client";
21
- /**
22
- * @internal
23
- */
24
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
25
- }
26
- /**
27
- * @public
28
- */
29
- export declare class ValidationException extends __BaseException {
30
- readonly name: "ValidationException";
31
- readonly $fault: "client";
32
- /**
33
- * @internal
34
- */
35
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
36
- }
37
- /**
38
- * @public
39
- */
40
- export interface AgentKnowledgeBase {
41
- knowledgeBaseId?: string | undefined;
42
- /**
43
- * Additional instructions for when the agent should use this knowledge base.
44
- * @public
45
- */
46
- instructions?: string | undefined;
47
- }
1
+ import type { DocumentType as __DocumentType } from "@smithy/types";
2
+ import type { AgentVariableType, ChatFeedbackScore, GuidelineScope, SandboxNetworkAccess, SkillFileKind, WebSearchContextSize, WilmaFileScope, WilmaGrantPermission, WilmaVisibility } from "./enums";
48
3
  /**
49
4
  * @public
50
5
  */
@@ -97,13 +52,16 @@ export declare namespace AgentToolVariableHandler {
97
52
  predefined?: never;
98
53
  $unknown: [string, any];
99
54
  }
55
+ /**
56
+ * @deprecated unused in schema-serde mode.
57
+ *
58
+ */
100
59
  interface Visitor<T> {
101
60
  auto: (value: AgentToolVariableAutoHandler) => T;
102
61
  guided: (value: AgentToolVariableGuidedHandler) => T;
103
62
  predefined: (value: AgentToolVariablePredefinedHandler) => T;
104
63
  _: (name: string, value: any) => T;
105
64
  }
106
- const visit: <T>(value: AgentToolVariableHandler, visitor: Visitor<T>) => T;
107
65
  }
108
66
  /**
109
67
  * @public
@@ -116,6 +74,83 @@ export interface AgentToolVariable {
116
74
  name: string;
117
75
  handler?: AgentToolVariableHandler | undefined;
118
76
  }
77
+ /**
78
+ * Invoke another agent as a dedicated execution with its OWN sandbox and state (not a task/sub-agent copy of the caller). The called agent runs independently and returns its result.
79
+ * @public
80
+ */
81
+ export interface AgentCallCapability {
82
+ /**
83
+ * The agent to invoke.
84
+ * @public
85
+ */
86
+ agentId: string;
87
+ variables?: AgentToolVariable[] | undefined;
88
+ }
89
+ /**
90
+ * @public
91
+ */
92
+ export interface AgentKnowledgeBase {
93
+ knowledgeBaseId?: string | undefined;
94
+ /**
95
+ * Additional instructions for when the agent should use this knowledge base.
96
+ * @public
97
+ */
98
+ instructions?: string | undefined;
99
+ }
100
+ /**
101
+ * Vercel Sandbox configuration. Kept minimal for now: CPU and network only.
102
+ * @public
103
+ */
104
+ export interface AgentVercelSandboxOptions {
105
+ /**
106
+ * Number of vCPUs to allocate (2048 MB memory each).
107
+ * @public
108
+ */
109
+ vcpus?: number | undefined;
110
+ /**
111
+ * Network access. Defaults to deny-all.
112
+ * @public
113
+ */
114
+ network?: SandboxNetworkAccess | undefined;
115
+ /**
116
+ * Domains allowed when network = ALLOWLIST.
117
+ * @public
118
+ */
119
+ allowedDomains?: string[] | undefined;
120
+ }
121
+ /**
122
+ * Embedded sandbox: shell + file tools backed by an execution environment. Provider is a union; only Vercel is supported for now.
123
+ * @public
124
+ */
125
+ export type AgentSandboxCapability = AgentSandboxCapability.VercelMember | AgentSandboxCapability.$UnknownMember;
126
+ /**
127
+ * @public
128
+ */
129
+ export declare namespace AgentSandboxCapability {
130
+ /**
131
+ * Vercel Sandbox configuration. Kept minimal for now: CPU and network only.
132
+ * @public
133
+ */
134
+ interface VercelMember {
135
+ vercel: AgentVercelSandboxOptions;
136
+ $unknown?: never;
137
+ }
138
+ /**
139
+ * @public
140
+ */
141
+ interface $UnknownMember {
142
+ vercel?: never;
143
+ $unknown: [string, any];
144
+ }
145
+ /**
146
+ * @deprecated unused in schema-serde mode.
147
+ *
148
+ */
149
+ interface Visitor<T> {
150
+ vercel: (value: AgentVercelSandboxOptions) => T;
151
+ _: (name: string, value: any) => T;
152
+ }
153
+ }
119
154
  /**
120
155
  * @public
121
156
  */
@@ -125,12 +160,61 @@ export interface AgentTool {
125
160
  * @public
126
161
  */
127
162
  id: string;
128
- variables?: (AgentToolVariable)[] | undefined;
163
+ variables?: AgentToolVariable[] | undefined;
129
164
  }
130
165
  /**
166
+ * Server-side fetch of a URL, returning its readable text/markdown to the model.
131
167
  * @public
132
168
  */
133
- export type AgentCapability = AgentCapability.KbMember | AgentCapability.ToolMember | AgentCapability.$UnknownMember;
169
+ export interface AgentWebFetchCapability {
170
+ /**
171
+ * Restrict fetches to these domains. Empty list means any domain is allowed.
172
+ * @public
173
+ */
174
+ allowedDomains?: string[] | undefined;
175
+ }
176
+ /**
177
+ * @public
178
+ */
179
+ export interface WebSearchUserLocation {
180
+ /**
181
+ * ISO 3166-1 alpha-2 country code, e.g. 'US'.
182
+ * @public
183
+ */
184
+ country?: string | undefined;
185
+ region?: string | undefined;
186
+ city?: string | undefined;
187
+ /**
188
+ * IANA timezone, e.g. 'Europe/Rome'.
189
+ * @public
190
+ */
191
+ timezone?: string | undefined;
192
+ }
193
+ /**
194
+ * Model-native web search (OpenAI web_search, Google googleSearch). The provider tool is selected from the agent model.
195
+ * @public
196
+ */
197
+ export interface AgentWebSearchCapability {
198
+ /**
199
+ * Context size hint. Defaults to medium.
200
+ * @public
201
+ */
202
+ contextSize?: WebSearchContextSize | undefined;
203
+ /**
204
+ * Restrict results to these domains where the provider supports it.
205
+ * @public
206
+ */
207
+ allowedDomains?: string[] | undefined;
208
+ /**
209
+ * Bias results to a user location where the provider supports it.
210
+ * @public
211
+ */
212
+ userLocation?: WebSearchUserLocation | undefined;
213
+ }
214
+ /**
215
+ * @public
216
+ */
217
+ export type AgentCapability = AgentCapability.AgentMember | AgentCapability.KbMember | AgentCapability.SandboxMember | AgentCapability.ToolMember | AgentCapability.WebFetchMember | AgentCapability.WebSearchMember | AgentCapability.$UnknownMember;
134
218
  /**
135
219
  * @public
136
220
  */
@@ -138,11 +222,71 @@ export declare namespace AgentCapability {
138
222
  interface ToolMember {
139
223
  tool: AgentTool;
140
224
  kb?: never;
225
+ sandbox?: never;
226
+ webSearch?: never;
227
+ webFetch?: never;
228
+ agent?: never;
141
229
  $unknown?: never;
142
230
  }
143
231
  interface KbMember {
144
232
  tool?: never;
145
233
  kb: AgentKnowledgeBase;
234
+ sandbox?: never;
235
+ webSearch?: never;
236
+ webFetch?: never;
237
+ agent?: never;
238
+ $unknown?: never;
239
+ }
240
+ /**
241
+ * Embedded sandbox: shell + file tools backed by an execution environment. Provider is a union; only Vercel is supported for now.
242
+ * @public
243
+ */
244
+ interface SandboxMember {
245
+ tool?: never;
246
+ kb?: never;
247
+ sandbox: AgentSandboxCapability;
248
+ webSearch?: never;
249
+ webFetch?: never;
250
+ agent?: never;
251
+ $unknown?: never;
252
+ }
253
+ /**
254
+ * Model-native web search (OpenAI web_search, Google googleSearch). The provider tool is selected from the agent model.
255
+ * @public
256
+ */
257
+ interface WebSearchMember {
258
+ tool?: never;
259
+ kb?: never;
260
+ sandbox?: never;
261
+ webSearch: AgentWebSearchCapability;
262
+ webFetch?: never;
263
+ agent?: never;
264
+ $unknown?: never;
265
+ }
266
+ /**
267
+ * Server-side fetch of a URL, returning its readable text/markdown to the model.
268
+ * @public
269
+ */
270
+ interface WebFetchMember {
271
+ tool?: never;
272
+ kb?: never;
273
+ sandbox?: never;
274
+ webSearch?: never;
275
+ webFetch: AgentWebFetchCapability;
276
+ agent?: never;
277
+ $unknown?: never;
278
+ }
279
+ /**
280
+ * Invoke another agent as a dedicated execution with its OWN sandbox and state (not a task/sub-agent copy of the caller). The called agent runs independently and returns its result.
281
+ * @public
282
+ */
283
+ interface AgentMember {
284
+ tool?: never;
285
+ kb?: never;
286
+ sandbox?: never;
287
+ webSearch?: never;
288
+ webFetch?: never;
289
+ agent: AgentCallCapability;
146
290
  $unknown?: never;
147
291
  }
148
292
  /**
@@ -151,30 +295,26 @@ export declare namespace AgentCapability {
151
295
  interface $UnknownMember {
152
296
  tool?: never;
153
297
  kb?: never;
298
+ sandbox?: never;
299
+ webSearch?: never;
300
+ webFetch?: never;
301
+ agent?: never;
154
302
  $unknown: [string, any];
155
303
  }
304
+ /**
305
+ * @deprecated unused in schema-serde mode.
306
+ *
307
+ */
156
308
  interface Visitor<T> {
157
309
  tool: (value: AgentTool) => T;
158
310
  kb: (value: AgentKnowledgeBase) => T;
311
+ sandbox: (value: AgentSandboxCapability) => T;
312
+ webSearch: (value: AgentWebSearchCapability) => T;
313
+ webFetch: (value: AgentWebFetchCapability) => T;
314
+ agent: (value: AgentCallCapability) => T;
159
315
  _: (name: string, value: any) => T;
160
316
  }
161
- const visit: <T>(value: AgentCapability, visitor: Visitor<T>) => T;
162
317
  }
163
- /**
164
- * @public
165
- * @enum
166
- */
167
- export declare const AgentVariableType: {
168
- readonly BOOLEAN: "boolean";
169
- readonly NUMBER: "number";
170
- readonly NUMBER_ARRAY: "number_array";
171
- readonly STRING: "string";
172
- readonly STRING_ARRAY: "string_array";
173
- };
174
- /**
175
- * @public
176
- */
177
- export type AgentVariableType = typeof AgentVariableType[keyof typeof AgentVariableType];
178
318
  /**
179
319
  * @public
180
320
  */
@@ -189,18 +329,28 @@ export interface AgentVariable {
189
329
  export interface Agent {
190
330
  name: string;
191
331
  /**
192
- * AI model specification using URI format for provider, model and parameters. Examples: 'default', 'google://gemini-3-flash-preview', 'openai://gpt-4o?timeout=30&temperature=0.7', 'openai://gpt-4.1'
332
+ * Category of the agent, e.g.: 'Support'
193
333
  * @public
194
334
  */
195
- model?: string | undefined;
335
+ category?: string | undefined;
196
336
  instructions: string;
197
337
  /**
198
- * Category of the agent, e.g.: 'Support'
338
+ * @deprecated Use `skills` instead. Guidelines are eagerly injected; skills use progressive disclosure.
199
339
  * @public
200
340
  */
201
- category?: string | undefined;
202
- capabilities?: (AgentCapability)[] | undefined;
203
- variables?: (AgentVariable)[] | undefined;
341
+ guidelines?: string[] | undefined;
342
+ /**
343
+ * Skills attached to this agent (progressive disclosure; replaces guidelines).
344
+ * @public
345
+ */
346
+ skills?: string[] | undefined;
347
+ variables?: AgentVariable[] | undefined;
348
+ capabilities?: AgentCapability[] | undefined;
349
+ /**
350
+ * AI model specification using URI format for provider, model and parameters. Examples: 'default', 'google://gemini-3-flash-preview', 'openai://gpt-4o?timeout=30&temperature=0.7', 'openai://gpt-4.1'
351
+ * @public
352
+ */
353
+ model?: string | undefined;
204
354
  id: string;
205
355
  createdAt: string;
206
356
  updatedAt?: string | undefined;
@@ -215,6 +365,44 @@ export interface AgentExecutionError {
215
365
  */
216
366
  message: string;
217
367
  }
368
+ /**
369
+ * A file produced (or shared) by an agent during a session. Content lives in S3; download via the Files API.
370
+ * @public
371
+ */
372
+ export interface WilmaFile {
373
+ /**
374
+ * Nano-id file identifier (12 characters).
375
+ * @public
376
+ */
377
+ id: string;
378
+ name: string;
379
+ /**
380
+ * MIME type, e.g. 'text/csv'.
381
+ * @public
382
+ */
383
+ contentType?: string | undefined;
384
+ /**
385
+ * Size in bytes.
386
+ * @public
387
+ */
388
+ size?: number | undefined;
389
+ /**
390
+ * Intended audience. Defaults to USER.
391
+ * @public
392
+ */
393
+ scope?: WilmaFileScope | undefined;
394
+ /**
395
+ * Agent that created the file.
396
+ * @public
397
+ */
398
+ agentId?: string | undefined;
399
+ /**
400
+ * Session that created the file.
401
+ * @public
402
+ */
403
+ sessionId?: string | undefined;
404
+ createdAt: string;
405
+ }
218
406
  /**
219
407
  * @public
220
408
  */
@@ -229,6 +417,11 @@ export interface AgentExecutionResult {
229
417
  * @public
230
418
  */
231
419
  error: AgentExecutionError;
420
+ /**
421
+ * Files created by the agent during execution (downloadable via the Files API).
422
+ * @public
423
+ */
424
+ files?: WilmaFile[] | undefined;
232
425
  }
233
426
  /**
234
427
  * @public
@@ -260,18 +453,6 @@ export interface Chat {
260
453
  createdAt: string;
261
454
  updatedAt?: string | undefined;
262
455
  }
263
- /**
264
- * @public
265
- * @enum
266
- */
267
- export declare const ChatFeedbackScore: {
268
- readonly DISLIKE: "DISLIKE";
269
- readonly LIKE: "LIKE";
270
- };
271
- /**
272
- * @public
273
- */
274
- export type ChatFeedbackScore = typeof ChatFeedbackScore[keyof typeof ChatFeedbackScore];
275
456
  /**
276
457
  * @public
277
458
  */
@@ -286,8 +467,8 @@ export interface ChatFeedback {
286
467
  */
287
468
  export interface ChatHistory {
288
469
  version: string;
289
- messages: (__DocumentType)[];
290
- mentions?: (__DocumentType)[] | undefined;
470
+ messages: __DocumentType[];
471
+ mentions?: __DocumentType[] | undefined;
291
472
  }
292
473
  /**
293
474
  * @public
@@ -295,18 +476,28 @@ export interface ChatHistory {
295
476
  export interface CreateAgentInput {
296
477
  name: string;
297
478
  /**
298
- * AI model specification using URI format for provider, model and parameters. Examples: 'default', 'google://gemini-3-flash-preview', 'openai://gpt-4o?timeout=30&temperature=0.7', 'openai://gpt-4.1'
479
+ * Category of the agent, e.g.: 'Support'
299
480
  * @public
300
481
  */
301
- model?: string | undefined;
482
+ category?: string | undefined;
302
483
  instructions: string;
303
484
  /**
304
- * Category of the agent, e.g.: 'Support'
485
+ * @deprecated Use `skills` instead. Guidelines are eagerly injected; skills use progressive disclosure.
305
486
  * @public
306
487
  */
307
- category?: string | undefined;
308
- capabilities?: (AgentCapability)[] | undefined;
309
- variables?: (AgentVariable)[] | undefined;
488
+ guidelines?: string[] | undefined;
489
+ /**
490
+ * Skills attached to this agent (progressive disclosure; replaces guidelines).
491
+ * @public
492
+ */
493
+ skills?: string[] | undefined;
494
+ variables?: AgentVariable[] | undefined;
495
+ capabilities?: AgentCapability[] | undefined;
496
+ /**
497
+ * AI model specification using URI format for provider, model and parameters. Examples: 'default', 'google://gemini-3-flash-preview', 'openai://gpt-4o?timeout=30&temperature=0.7', 'openai://gpt-4.1'
498
+ * @public
499
+ */
500
+ model?: string | undefined;
310
501
  company?: string | undefined;
311
502
  }
312
503
  /**
@@ -315,18 +506,6 @@ export interface CreateAgentInput {
315
506
  export interface CreateAgentOutput {
316
507
  agent: Agent;
317
508
  }
318
- /**
319
- * @public
320
- * @enum
321
- */
322
- export declare const WilmaGrantPermission: {
323
- readonly EDIT: "edit";
324
- readonly VIEW: "view";
325
- };
326
- /**
327
- * @public
328
- */
329
- export type WilmaGrantPermission = typeof WilmaGrantPermission[keyof typeof WilmaGrantPermission];
330
509
  /**
331
510
  * @public
332
511
  */
@@ -353,12 +532,15 @@ export declare namespace WilmaGrantPrincipal {
353
532
  groupId?: never;
354
533
  $unknown: [string, any];
355
534
  }
535
+ /**
536
+ * @deprecated unused in schema-serde mode.
537
+ *
538
+ */
356
539
  interface Visitor<T> {
357
540
  userId: (value: string) => T;
358
541
  groupId: (value: string) => T;
359
542
  _: (name: string, value: any) => T;
360
543
  }
361
- const visit: <T>(value: WilmaGrantPrincipal, visitor: Visitor<T>) => T;
362
544
  }
363
545
  /**
364
546
  * @public
@@ -367,37 +549,13 @@ export interface WilmaGrant {
367
549
  permission: WilmaGrantPermission;
368
550
  principal: WilmaGrantPrincipal;
369
551
  }
370
- /**
371
- * @public
372
- * @enum
373
- */
374
- export declare const WilmaVisibility: {
375
- readonly EXPLICIT: "explicit";
376
- readonly ORGANIZATION: "organization";
377
- };
378
- /**
379
- * @public
380
- */
381
- export type WilmaVisibility = typeof WilmaVisibility[keyof typeof WilmaVisibility];
382
552
  /**
383
553
  * @public
384
554
  */
385
555
  export interface WilmaAccess {
386
556
  visibility?: WilmaVisibility | undefined;
387
- grants?: (WilmaGrant)[] | undefined;
557
+ grants?: WilmaGrant[] | undefined;
388
558
  }
389
- /**
390
- * @public
391
- * @enum
392
- */
393
- export declare const GuidelineScope: {
394
- readonly ORGANIZATION: "ORGANIZATION";
395
- readonly PERSONAL: "PERSONAL";
396
- };
397
- /**
398
- * @public
399
- */
400
- export type GuidelineScope = typeof GuidelineScope[keyof typeof GuidelineScope];
401
559
  /**
402
560
  * @public
403
561
  */
@@ -485,6 +643,114 @@ export interface GuidelineDirectoryInfo {
485
643
  export interface CreateGuidelinesDirectoryOutput {
486
644
  directory: GuidelineDirectoryInfo;
487
645
  }
646
+ /**
647
+ * @public
648
+ */
649
+ export interface CreateSkillInput {
650
+ name: string;
651
+ description: string;
652
+ /**
653
+ * The SKILL.md body (instructions). Progressive disclosure: loaded on demand via load_skill.
654
+ * @public
655
+ */
656
+ content: string;
657
+ company?: string | undefined;
658
+ user?: string | undefined;
659
+ }
660
+ /**
661
+ * A file bundled with a skill. Content is stored in S3 and uploaded/downloaded via presigned URLs.
662
+ * @public
663
+ */
664
+ export interface SkillFile {
665
+ /**
666
+ * Relative path of a bundled file inside the skill, e.g. 'scripts/run.py'. No '..'.
667
+ * @public
668
+ */
669
+ path: string;
670
+ kind: SkillFileKind;
671
+ /**
672
+ * MIME type, e.g. 'text/x-python'.
673
+ * @public
674
+ */
675
+ contentType?: string | undefined;
676
+ /**
677
+ * chmod +x when materialised in the sandbox (scripts).
678
+ * @public
679
+ */
680
+ executable?: boolean | undefined;
681
+ /**
682
+ * Size in bytes.
683
+ * @public
684
+ */
685
+ size?: number | undefined;
686
+ /**
687
+ * SHA-256 of the file content.
688
+ * @public
689
+ */
690
+ checksum?: string | undefined;
691
+ }
692
+ /**
693
+ * @public
694
+ */
695
+ export interface Skill {
696
+ name: string;
697
+ description: string;
698
+ /**
699
+ * The SKILL.md body (instructions). Progressive disclosure: loaded on demand via load_skill.
700
+ * @public
701
+ */
702
+ content: string;
703
+ id: string;
704
+ createdAt: string;
705
+ createdBy: string;
706
+ createdByName: string;
707
+ updatedAt?: string | undefined;
708
+ /**
709
+ * Bundled files (references, scripts, resources).
710
+ * @public
711
+ */
712
+ files?: SkillFile[] | undefined;
713
+ }
714
+ /**
715
+ * @public
716
+ */
717
+ export interface CreateSkillOutput {
718
+ skill: Skill;
719
+ }
720
+ /**
721
+ * @public
722
+ */
723
+ export interface CreateSkillFileUploadInput {
724
+ company?: string | undefined;
725
+ user?: string | undefined;
726
+ skillId: string;
727
+ /**
728
+ * Relative path of a bundled file inside the skill, e.g. 'scripts/run.py'. No '..'.
729
+ * @public
730
+ */
731
+ path: string;
732
+ kind: SkillFileKind;
733
+ contentType?: string | undefined;
734
+ executable?: boolean | undefined;
735
+ size: number;
736
+ checksum: string;
737
+ }
738
+ /**
739
+ * @public
740
+ */
741
+ export interface CreateSkillFileUploadOutput {
742
+ /**
743
+ * A file bundled with a skill. Content is stored in S3 and uploaded/downloaded via presigned URLs.
744
+ * @public
745
+ */
746
+ file: SkillFile;
747
+ /**
748
+ * Presigned PUT URL the client uploads bytes to.
749
+ * @public
750
+ */
751
+ uploadUrl: string;
752
+ expiresAt: string;
753
+ }
488
754
  /**
489
755
  * @public
490
756
  */
@@ -518,6 +784,23 @@ export interface DeleteChatInput {
518
784
  */
519
785
  export interface DeleteChatOutput {
520
786
  }
787
+ /**
788
+ * @public
789
+ */
790
+ export interface DeleteFileInput {
791
+ company?: string | undefined;
792
+ user?: string | undefined;
793
+ /**
794
+ * Nano-id file identifier (12 characters).
795
+ * @public
796
+ */
797
+ fileId: string;
798
+ }
799
+ /**
800
+ * @public
801
+ */
802
+ export interface DeleteFileOutput {
803
+ }
521
804
  /**
522
805
  * @public
523
806
  */
@@ -564,6 +847,37 @@ export interface DeleteGuidelinesDirectoryInput {
564
847
  */
565
848
  export interface DeleteGuidelinesDirectoryOutput {
566
849
  }
850
+ /**
851
+ * @public
852
+ */
853
+ export interface DeleteSkillInput {
854
+ company?: string | undefined;
855
+ user?: string | undefined;
856
+ skillId: string;
857
+ }
858
+ /**
859
+ * @public
860
+ */
861
+ export interface DeleteSkillOutput {
862
+ }
863
+ /**
864
+ * @public
865
+ */
866
+ export interface DeleteSkillFileInput {
867
+ company?: string | undefined;
868
+ user?: string | undefined;
869
+ skillId: string;
870
+ /**
871
+ * Relative path of a bundled file inside the skill, e.g. 'scripts/run.py'. No '..'.
872
+ * @public
873
+ */
874
+ path: string;
875
+ }
876
+ /**
877
+ * @public
878
+ */
879
+ export interface DeleteSkillFileOutput {
880
+ }
567
881
  /**
568
882
  * @public
569
883
  */
@@ -587,6 +901,38 @@ export interface DislikeAnswerInput {
587
901
  */
588
902
  export interface DislikeAnswerOutput {
589
903
  }
904
+ /**
905
+ * @public
906
+ */
907
+ export interface DownloadFileInput {
908
+ company?: string | undefined;
909
+ user?: string | undefined;
910
+ /**
911
+ * Nano-id file identifier (12 characters).
912
+ * @public
913
+ */
914
+ fileId: string;
915
+ }
916
+ /**
917
+ * @public
918
+ */
919
+ export interface DownloadFileOutput {
920
+ /**
921
+ * Presigned download URL.
922
+ * @public
923
+ */
924
+ url: string;
925
+ /**
926
+ * ISO-8601 expiry of the URL.
927
+ * @public
928
+ */
929
+ expiresAt: string;
930
+ /**
931
+ * A file produced (or shared) by an agent during a session. Content lives in S3; download via the Files API.
932
+ * @public
933
+ */
934
+ file: WilmaFile;
935
+ }
590
936
  /**
591
937
  * @public
592
938
  */
@@ -613,6 +959,21 @@ export interface ExecuteAgentInput {
613
959
  * @public
614
960
  */
615
961
  user?: string | undefined;
962
+ /**
963
+ * Parent agent id that invoked this execution (agent-to-agent calls).
964
+ * @public
965
+ */
966
+ parentAgentId?: string | undefined;
967
+ /**
968
+ * Parent session id that invoked this execution.
969
+ * @public
970
+ */
971
+ parentSessionId?: string | undefined;
972
+ /**
973
+ * Files (by id) created by another agent to make available to this execution.
974
+ * @public
975
+ */
976
+ files?: string[] | undefined;
616
977
  }
617
978
  /**
618
979
  * @public
@@ -660,6 +1021,28 @@ export interface GetChatOutput {
660
1021
  chat: Chat;
661
1022
  history: ChatHistory;
662
1023
  }
1024
+ /**
1025
+ * @public
1026
+ */
1027
+ export interface GetFileInput {
1028
+ company?: string | undefined;
1029
+ user?: string | undefined;
1030
+ /**
1031
+ * Nano-id file identifier (12 characters).
1032
+ * @public
1033
+ */
1034
+ fileId: string;
1035
+ }
1036
+ /**
1037
+ * @public
1038
+ */
1039
+ export interface GetFileOutput {
1040
+ /**
1041
+ * A file produced (or shared) by an agent during a session. Content lives in S3; download via the Files API.
1042
+ * @public
1043
+ */
1044
+ file: WilmaFile;
1045
+ }
663
1046
  /**
664
1047
  * @public
665
1048
  */
@@ -732,10 +1115,10 @@ export interface OrganizationToolIntegration {
732
1115
  * @public
733
1116
  */
734
1117
  export interface GetOrganizationSettingsOutput {
735
- agents?: (OrganizationAgentIntegration)[] | undefined;
736
- tools?: (OrganizationToolIntegration)[] | undefined;
737
- knowledgeBases?: (OrganizationKnowledgeBaseIntegration)[] | undefined;
738
- guidelines?: (OrganizationGuidelineIntegration)[] | undefined;
1118
+ agents?: OrganizationAgentIntegration[] | undefined;
1119
+ tools?: OrganizationToolIntegration[] | undefined;
1120
+ knowledgeBases?: OrganizationKnowledgeBaseIntegration[] | undefined;
1121
+ guidelines?: OrganizationGuidelineIntegration[] | undefined;
739
1122
  }
740
1123
  /**
741
1124
  * @public
@@ -762,13 +1145,13 @@ export interface UserAboutSettings {
762
1145
  * @public
763
1146
  */
764
1147
  export interface UserGuidelinesSettings {
765
- disabled?: (string)[] | undefined;
1148
+ disabled?: string[] | undefined;
766
1149
  }
767
1150
  /**
768
1151
  * @public
769
1152
  */
770
1153
  export interface UserIntegrationsSettings {
771
- disabled?: (string)[] | undefined;
1154
+ disabled?: string[] | undefined;
772
1155
  }
773
1156
  /**
774
1157
  * @public
@@ -782,11 +1165,45 @@ export interface UserStyleSettings {
782
1165
  export interface GetSettingsOutput {
783
1166
  style?: UserStyleSettings | undefined;
784
1167
  about?: UserAboutSettings | undefined;
785
- agents?: (AgentInfo)[] | undefined;
786
- guidelines?: (Guideline)[] | undefined;
1168
+ agents?: AgentInfo[] | undefined;
1169
+ guidelines?: Guideline[] | undefined;
787
1170
  guidelinesSettings?: UserGuidelinesSettings | undefined;
788
1171
  integrations?: UserIntegrationsSettings | undefined;
789
1172
  }
1173
+ /**
1174
+ * @public
1175
+ */
1176
+ export interface GetSkillInput {
1177
+ company?: string | undefined;
1178
+ user?: string | undefined;
1179
+ skillId: string;
1180
+ }
1181
+ /**
1182
+ * @public
1183
+ */
1184
+ export interface GetSkillOutput {
1185
+ skill: Skill;
1186
+ }
1187
+ /**
1188
+ * @public
1189
+ */
1190
+ export interface GetSkillFileDownloadInput {
1191
+ company?: string | undefined;
1192
+ user?: string | undefined;
1193
+ skillId: string;
1194
+ /**
1195
+ * Relative path of a bundled file inside the skill, e.g. 'scripts/run.py'. No '..'.
1196
+ * @public
1197
+ */
1198
+ path: string;
1199
+ }
1200
+ /**
1201
+ * @public
1202
+ */
1203
+ export interface GetSkillFileDownloadOutput {
1204
+ url: string;
1205
+ expiresAt: string;
1206
+ }
790
1207
  /**
791
1208
  * @public
792
1209
  */
@@ -845,7 +1262,7 @@ export interface ListAgentFeedbacksInput {
845
1262
  * @public
846
1263
  */
847
1264
  export interface ListAgentFeedbacksOutput {
848
- feedbacks: (ChatFeedback)[];
1265
+ feedbacks: ChatFeedback[];
849
1266
  lastEvaluatedKey?: string | undefined;
850
1267
  }
851
1268
  /**
@@ -858,7 +1275,7 @@ export interface ListAgentsInput {
858
1275
  * @public
859
1276
  */
860
1277
  export interface ListAgentsOutput {
861
- agents: (Agent)[];
1278
+ agents: Agent[];
862
1279
  }
863
1280
  /**
864
1281
  * @public
@@ -870,7 +1287,7 @@ export interface ListAgentsNamesInput {
870
1287
  * @public
871
1288
  */
872
1289
  export interface ListAgentsNamesOutput {
873
- agents: (AgentInfo)[];
1290
+ agents: AgentInfo[];
874
1291
  }
875
1292
  /**
876
1293
  * @public
@@ -892,7 +1309,7 @@ export interface ListChatsInput {
892
1309
  * @public
893
1310
  */
894
1311
  export interface ListChatsOutput {
895
- chats: (Chat)[];
1312
+ chats: Chat[];
896
1313
  lastEvaluatedKey?: string | undefined;
897
1314
  }
898
1315
  /**
@@ -910,7 +1327,7 @@ export interface ListFeedbacksInput {
910
1327
  * @public
911
1328
  */
912
1329
  export interface ListFeedbacksOutput {
913
- feedbacks: (ChatFeedback)[];
1330
+ feedbacks: ChatFeedback[];
914
1331
  lastEvaluatedKey?: string | undefined;
915
1332
  }
916
1333
  /**
@@ -932,7 +1349,7 @@ export interface ListGuidelinesInput {
932
1349
  * @public
933
1350
  */
934
1351
  export interface ListGuidelinesOutput {
935
- guidelines: (Guideline)[];
1352
+ guidelines: Guideline[];
936
1353
  }
937
1354
  /**
938
1355
  * @public
@@ -953,7 +1370,7 @@ export interface ListGuidelinesDirectoriesInput {
953
1370
  * @public
954
1371
  */
955
1372
  export interface ListGuidelinesDirectoriesOutput {
956
- directories: (GuidelineDirectoryInfo)[];
1373
+ directories: GuidelineDirectoryInfo[];
957
1374
  }
958
1375
  /**
959
1376
  * @public
@@ -974,7 +1391,37 @@ export interface ListGuidelinesNamesInput {
974
1391
  * @public
975
1392
  */
976
1393
  export interface ListGuidelinesNamesOutput {
977
- guidelines: (GuidelineInfo)[];
1394
+ guidelines: GuidelineInfo[];
1395
+ }
1396
+ /**
1397
+ * @public
1398
+ */
1399
+ export interface ListSkillsInput {
1400
+ company?: string | undefined;
1401
+ user?: string | undefined;
1402
+ }
1403
+ /**
1404
+ * @public
1405
+ */
1406
+ export interface SkillInfo {
1407
+ id: string;
1408
+ createdAt: string;
1409
+ createdBy: string;
1410
+ createdByName: string;
1411
+ updatedAt?: string | undefined;
1412
+ name: string;
1413
+ description: string;
1414
+ /**
1415
+ * Number of bundled files.
1416
+ * @public
1417
+ */
1418
+ fileCount?: number | undefined;
1419
+ }
1420
+ /**
1421
+ * @public
1422
+ */
1423
+ export interface ListSkillsOutput {
1424
+ skills: SkillInfo[];
978
1425
  }
979
1426
  /**
980
1427
  * @public
@@ -985,19 +1432,19 @@ export interface PatchOrganizationSettingsInput {
985
1432
  * @public
986
1433
  */
987
1434
  company?: string | undefined;
988
- agents?: (OrganizationAgentIntegration)[] | undefined;
989
- tools?: (OrganizationToolIntegration)[] | undefined;
990
- knowledgeBases?: (OrganizationKnowledgeBaseIntegration)[] | undefined;
991
- guidelines?: (OrganizationGuidelineIntegration)[] | undefined;
1435
+ agents?: OrganizationAgentIntegration[] | undefined;
1436
+ tools?: OrganizationToolIntegration[] | undefined;
1437
+ knowledgeBases?: OrganizationKnowledgeBaseIntegration[] | undefined;
1438
+ guidelines?: OrganizationGuidelineIntegration[] | undefined;
992
1439
  }
993
1440
  /**
994
1441
  * @public
995
1442
  */
996
1443
  export interface PatchOrganizationSettingsOutput {
997
- agents?: (OrganizationAgentIntegration)[] | undefined;
998
- tools?: (OrganizationToolIntegration)[] | undefined;
999
- knowledgeBases?: (OrganizationKnowledgeBaseIntegration)[] | undefined;
1000
- guidelines?: (OrganizationGuidelineIntegration)[] | undefined;
1444
+ agents?: OrganizationAgentIntegration[] | undefined;
1445
+ tools?: OrganizationToolIntegration[] | undefined;
1446
+ knowledgeBases?: OrganizationKnowledgeBaseIntegration[] | undefined;
1447
+ guidelines?: OrganizationGuidelineIntegration[] | undefined;
1001
1448
  }
1002
1449
  /**
1003
1450
  * @public
@@ -1024,8 +1471,8 @@ export interface PatchSettingsInput {
1024
1471
  export interface PatchSettingsOutput {
1025
1472
  style?: UserStyleSettings | undefined;
1026
1473
  about?: UserAboutSettings | undefined;
1027
- agents?: (AgentInfo)[] | undefined;
1028
- guidelines?: (Guideline)[] | undefined;
1474
+ agents?: AgentInfo[] | undefined;
1475
+ guidelines?: Guideline[] | undefined;
1029
1476
  guidelinesSettings?: UserGuidelinesSettings | undefined;
1030
1477
  integrations?: UserIntegrationsSettings | undefined;
1031
1478
  }
@@ -1035,18 +1482,28 @@ export interface PatchSettingsOutput {
1035
1482
  export interface UpdateAgentInput {
1036
1483
  name: string;
1037
1484
  /**
1038
- * AI model specification using URI format for provider, model and parameters. Examples: 'default', 'google://gemini-3-flash-preview', 'openai://gpt-4o?timeout=30&temperature=0.7', 'openai://gpt-4.1'
1485
+ * Category of the agent, e.g.: 'Support'
1039
1486
  * @public
1040
1487
  */
1041
- model?: string | undefined;
1488
+ category?: string | undefined;
1042
1489
  instructions: string;
1043
1490
  /**
1044
- * Category of the agent, e.g.: 'Support'
1491
+ * @deprecated Use `skills` instead. Guidelines are eagerly injected; skills use progressive disclosure.
1045
1492
  * @public
1046
1493
  */
1047
- category?: string | undefined;
1048
- capabilities?: (AgentCapability)[] | undefined;
1049
- variables?: (AgentVariable)[] | undefined;
1494
+ guidelines?: string[] | undefined;
1495
+ /**
1496
+ * Skills attached to this agent (progressive disclosure; replaces guidelines).
1497
+ * @public
1498
+ */
1499
+ skills?: string[] | undefined;
1500
+ variables?: AgentVariable[] | undefined;
1501
+ capabilities?: AgentCapability[] | undefined;
1502
+ /**
1503
+ * AI model specification using URI format for provider, model and parameters. Examples: 'default', 'google://gemini-3-flash-preview', 'openai://gpt-4o?timeout=30&temperature=0.7', 'openai://gpt-4.1'
1504
+ * @public
1505
+ */
1506
+ model?: string | undefined;
1050
1507
  company?: string | undefined;
1051
1508
  agentId: string;
1052
1509
  }
@@ -1140,3 +1597,24 @@ export interface UpdateGuidelinesDirectoryInput {
1140
1597
  export interface UpdateGuidelinesDirectoryOutput {
1141
1598
  directory: GuidelineDirectoryInfo;
1142
1599
  }
1600
+ /**
1601
+ * @public
1602
+ */
1603
+ export interface UpdateSkillInput {
1604
+ name: string;
1605
+ description: string;
1606
+ /**
1607
+ * The SKILL.md body (instructions). Progressive disclosure: loaded on demand via load_skill.
1608
+ * @public
1609
+ */
1610
+ content: string;
1611
+ company?: string | undefined;
1612
+ user?: string | undefined;
1613
+ skillId: string;
1614
+ }
1615
+ /**
1616
+ * @public
1617
+ */
1618
+ export interface UpdateSkillOutput {
1619
+ skill: Skill;
1620
+ }