@wildix/wim-wilma-client 0.0.12 → 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 +103 -7
  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 +57 -7
  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 +57 -7
  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 +103 -7
  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 +628 -153
  171. package/dist-types/runtimeConfig.browser.d.ts +35 -16
  172. package/dist-types/runtimeConfig.d.ts +34 -15
  173. package/dist-types/runtimeConfig.native.d.ts +36 -17
  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 -1127
  180. package/dist-es/models/index.js +0 -1
  181. package/dist-es/protocols/Aws_restJson1.js +0 -1065
  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;
164
+ }
165
+ /**
166
+ * Server-side fetch of a URL, returning its readable text/markdown to the model.
167
+ * @public
168
+ */
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;
129
213
  }
130
214
  /**
131
215
  * @public
132
216
  */
133
- export type AgentCapability = AgentCapability.KbMember | AgentCapability.ToolMember | AgentCapability.$UnknownMember;
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
  */
@@ -194,9 +334,18 @@ export interface Agent {
194
334
  */
195
335
  category?: string | undefined;
196
336
  instructions: string;
197
- guidelines?: (string)[] | undefined;
198
- variables?: (AgentVariable)[] | undefined;
199
- capabilities?: (AgentCapability)[] | undefined;
337
+ /**
338
+ * @deprecated Use `skills` instead. Guidelines are eagerly injected; skills use progressive disclosure.
339
+ * @public
340
+ */
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;
200
349
  /**
201
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'
202
351
  * @public
@@ -216,6 +365,44 @@ export interface AgentExecutionError {
216
365
  */
217
366
  message: string;
218
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
+ }
219
406
  /**
220
407
  * @public
221
408
  */
@@ -230,6 +417,11 @@ export interface AgentExecutionResult {
230
417
  * @public
231
418
  */
232
419
  error: AgentExecutionError;
420
+ /**
421
+ * Files created by the agent during execution (downloadable via the Files API).
422
+ * @public
423
+ */
424
+ files?: WilmaFile[] | undefined;
233
425
  }
234
426
  /**
235
427
  * @public
@@ -261,18 +453,6 @@ export interface Chat {
261
453
  createdAt: string;
262
454
  updatedAt?: string | undefined;
263
455
  }
264
- /**
265
- * @public
266
- * @enum
267
- */
268
- export declare const ChatFeedbackScore: {
269
- readonly DISLIKE: "DISLIKE";
270
- readonly LIKE: "LIKE";
271
- };
272
- /**
273
- * @public
274
- */
275
- export type ChatFeedbackScore = typeof ChatFeedbackScore[keyof typeof ChatFeedbackScore];
276
456
  /**
277
457
  * @public
278
458
  */
@@ -287,8 +467,8 @@ export interface ChatFeedback {
287
467
  */
288
468
  export interface ChatHistory {
289
469
  version: string;
290
- messages: (__DocumentType)[];
291
- mentions?: (__DocumentType)[] | undefined;
470
+ messages: __DocumentType[];
471
+ mentions?: __DocumentType[] | undefined;
292
472
  }
293
473
  /**
294
474
  * @public
@@ -301,9 +481,18 @@ export interface CreateAgentInput {
301
481
  */
302
482
  category?: string | undefined;
303
483
  instructions: string;
304
- guidelines?: (string)[] | undefined;
305
- variables?: (AgentVariable)[] | undefined;
306
- capabilities?: (AgentCapability)[] | undefined;
484
+ /**
485
+ * @deprecated Use `skills` instead. Guidelines are eagerly injected; skills use progressive disclosure.
486
+ * @public
487
+ */
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;
307
496
  /**
308
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'
309
498
  * @public
@@ -317,18 +506,6 @@ export interface CreateAgentInput {
317
506
  export interface CreateAgentOutput {
318
507
  agent: Agent;
319
508
  }
320
- /**
321
- * @public
322
- * @enum
323
- */
324
- export declare const WilmaGrantPermission: {
325
- readonly EDIT: "edit";
326
- readonly VIEW: "view";
327
- };
328
- /**
329
- * @public
330
- */
331
- export type WilmaGrantPermission = typeof WilmaGrantPermission[keyof typeof WilmaGrantPermission];
332
509
  /**
333
510
  * @public
334
511
  */
@@ -355,12 +532,15 @@ export declare namespace WilmaGrantPrincipal {
355
532
  groupId?: never;
356
533
  $unknown: [string, any];
357
534
  }
535
+ /**
536
+ * @deprecated unused in schema-serde mode.
537
+ *
538
+ */
358
539
  interface Visitor<T> {
359
540
  userId: (value: string) => T;
360
541
  groupId: (value: string) => T;
361
542
  _: (name: string, value: any) => T;
362
543
  }
363
- const visit: <T>(value: WilmaGrantPrincipal, visitor: Visitor<T>) => T;
364
544
  }
365
545
  /**
366
546
  * @public
@@ -369,37 +549,13 @@ export interface WilmaGrant {
369
549
  permission: WilmaGrantPermission;
370
550
  principal: WilmaGrantPrincipal;
371
551
  }
372
- /**
373
- * @public
374
- * @enum
375
- */
376
- export declare const WilmaVisibility: {
377
- readonly EXPLICIT: "explicit";
378
- readonly ORGANIZATION: "organization";
379
- };
380
- /**
381
- * @public
382
- */
383
- export type WilmaVisibility = typeof WilmaVisibility[keyof typeof WilmaVisibility];
384
552
  /**
385
553
  * @public
386
554
  */
387
555
  export interface WilmaAccess {
388
556
  visibility?: WilmaVisibility | undefined;
389
- grants?: (WilmaGrant)[] | undefined;
557
+ grants?: WilmaGrant[] | undefined;
390
558
  }
391
- /**
392
- * @public
393
- * @enum
394
- */
395
- export declare const GuidelineScope: {
396
- readonly ORGANIZATION: "ORGANIZATION";
397
- readonly PERSONAL: "PERSONAL";
398
- };
399
- /**
400
- * @public
401
- */
402
- export type GuidelineScope = typeof GuidelineScope[keyof typeof GuidelineScope];
403
559
  /**
404
560
  * @public
405
561
  */
@@ -487,6 +643,114 @@ export interface GuidelineDirectoryInfo {
487
643
  export interface CreateGuidelinesDirectoryOutput {
488
644
  directory: GuidelineDirectoryInfo;
489
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
+ }
490
754
  /**
491
755
  * @public
492
756
  */
@@ -520,6 +784,23 @@ export interface DeleteChatInput {
520
784
  */
521
785
  export interface DeleteChatOutput {
522
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
+ }
523
804
  /**
524
805
  * @public
525
806
  */
@@ -566,6 +847,37 @@ export interface DeleteGuidelinesDirectoryInput {
566
847
  */
567
848
  export interface DeleteGuidelinesDirectoryOutput {
568
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
+ }
569
881
  /**
570
882
  * @public
571
883
  */
@@ -589,6 +901,38 @@ export interface DislikeAnswerInput {
589
901
  */
590
902
  export interface DislikeAnswerOutput {
591
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
+ }
592
936
  /**
593
937
  * @public
594
938
  */
@@ -615,6 +959,21 @@ export interface ExecuteAgentInput {
615
959
  * @public
616
960
  */
617
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;
618
977
  }
619
978
  /**
620
979
  * @public
@@ -662,6 +1021,28 @@ export interface GetChatOutput {
662
1021
  chat: Chat;
663
1022
  history: ChatHistory;
664
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
+ }
665
1046
  /**
666
1047
  * @public
667
1048
  */
@@ -734,10 +1115,10 @@ export interface OrganizationToolIntegration {
734
1115
  * @public
735
1116
  */
736
1117
  export interface GetOrganizationSettingsOutput {
737
- agents?: (OrganizationAgentIntegration)[] | undefined;
738
- tools?: (OrganizationToolIntegration)[] | undefined;
739
- knowledgeBases?: (OrganizationKnowledgeBaseIntegration)[] | undefined;
740
- guidelines?: (OrganizationGuidelineIntegration)[] | undefined;
1118
+ agents?: OrganizationAgentIntegration[] | undefined;
1119
+ tools?: OrganizationToolIntegration[] | undefined;
1120
+ knowledgeBases?: OrganizationKnowledgeBaseIntegration[] | undefined;
1121
+ guidelines?: OrganizationGuidelineIntegration[] | undefined;
741
1122
  }
742
1123
  /**
743
1124
  * @public
@@ -764,13 +1145,13 @@ export interface UserAboutSettings {
764
1145
  * @public
765
1146
  */
766
1147
  export interface UserGuidelinesSettings {
767
- disabled?: (string)[] | undefined;
1148
+ disabled?: string[] | undefined;
768
1149
  }
769
1150
  /**
770
1151
  * @public
771
1152
  */
772
1153
  export interface UserIntegrationsSettings {
773
- disabled?: (string)[] | undefined;
1154
+ disabled?: string[] | undefined;
774
1155
  }
775
1156
  /**
776
1157
  * @public
@@ -784,11 +1165,45 @@ export interface UserStyleSettings {
784
1165
  export interface GetSettingsOutput {
785
1166
  style?: UserStyleSettings | undefined;
786
1167
  about?: UserAboutSettings | undefined;
787
- agents?: (AgentInfo)[] | undefined;
788
- guidelines?: (Guideline)[] | undefined;
1168
+ agents?: AgentInfo[] | undefined;
1169
+ guidelines?: Guideline[] | undefined;
789
1170
  guidelinesSettings?: UserGuidelinesSettings | undefined;
790
1171
  integrations?: UserIntegrationsSettings | undefined;
791
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
+ }
792
1207
  /**
793
1208
  * @public
794
1209
  */
@@ -847,7 +1262,7 @@ export interface ListAgentFeedbacksInput {
847
1262
  * @public
848
1263
  */
849
1264
  export interface ListAgentFeedbacksOutput {
850
- feedbacks: (ChatFeedback)[];
1265
+ feedbacks: ChatFeedback[];
851
1266
  lastEvaluatedKey?: string | undefined;
852
1267
  }
853
1268
  /**
@@ -860,7 +1275,7 @@ export interface ListAgentsInput {
860
1275
  * @public
861
1276
  */
862
1277
  export interface ListAgentsOutput {
863
- agents: (Agent)[];
1278
+ agents: Agent[];
864
1279
  }
865
1280
  /**
866
1281
  * @public
@@ -872,7 +1287,7 @@ export interface ListAgentsNamesInput {
872
1287
  * @public
873
1288
  */
874
1289
  export interface ListAgentsNamesOutput {
875
- agents: (AgentInfo)[];
1290
+ agents: AgentInfo[];
876
1291
  }
877
1292
  /**
878
1293
  * @public
@@ -894,7 +1309,7 @@ export interface ListChatsInput {
894
1309
  * @public
895
1310
  */
896
1311
  export interface ListChatsOutput {
897
- chats: (Chat)[];
1312
+ chats: Chat[];
898
1313
  lastEvaluatedKey?: string | undefined;
899
1314
  }
900
1315
  /**
@@ -912,7 +1327,7 @@ export interface ListFeedbacksInput {
912
1327
  * @public
913
1328
  */
914
1329
  export interface ListFeedbacksOutput {
915
- feedbacks: (ChatFeedback)[];
1330
+ feedbacks: ChatFeedback[];
916
1331
  lastEvaluatedKey?: string | undefined;
917
1332
  }
918
1333
  /**
@@ -934,7 +1349,7 @@ export interface ListGuidelinesInput {
934
1349
  * @public
935
1350
  */
936
1351
  export interface ListGuidelinesOutput {
937
- guidelines: (Guideline)[];
1352
+ guidelines: Guideline[];
938
1353
  }
939
1354
  /**
940
1355
  * @public
@@ -955,7 +1370,7 @@ export interface ListGuidelinesDirectoriesInput {
955
1370
  * @public
956
1371
  */
957
1372
  export interface ListGuidelinesDirectoriesOutput {
958
- directories: (GuidelineDirectoryInfo)[];
1373
+ directories: GuidelineDirectoryInfo[];
959
1374
  }
960
1375
  /**
961
1376
  * @public
@@ -976,7 +1391,37 @@ export interface ListGuidelinesNamesInput {
976
1391
  * @public
977
1392
  */
978
1393
  export interface ListGuidelinesNamesOutput {
979
- 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[];
980
1425
  }
981
1426
  /**
982
1427
  * @public
@@ -987,19 +1432,19 @@ export interface PatchOrganizationSettingsInput {
987
1432
  * @public
988
1433
  */
989
1434
  company?: string | undefined;
990
- agents?: (OrganizationAgentIntegration)[] | undefined;
991
- tools?: (OrganizationToolIntegration)[] | undefined;
992
- knowledgeBases?: (OrganizationKnowledgeBaseIntegration)[] | undefined;
993
- guidelines?: (OrganizationGuidelineIntegration)[] | undefined;
1435
+ agents?: OrganizationAgentIntegration[] | undefined;
1436
+ tools?: OrganizationToolIntegration[] | undefined;
1437
+ knowledgeBases?: OrganizationKnowledgeBaseIntegration[] | undefined;
1438
+ guidelines?: OrganizationGuidelineIntegration[] | undefined;
994
1439
  }
995
1440
  /**
996
1441
  * @public
997
1442
  */
998
1443
  export interface PatchOrganizationSettingsOutput {
999
- agents?: (OrganizationAgentIntegration)[] | undefined;
1000
- tools?: (OrganizationToolIntegration)[] | undefined;
1001
- knowledgeBases?: (OrganizationKnowledgeBaseIntegration)[] | undefined;
1002
- guidelines?: (OrganizationGuidelineIntegration)[] | undefined;
1444
+ agents?: OrganizationAgentIntegration[] | undefined;
1445
+ tools?: OrganizationToolIntegration[] | undefined;
1446
+ knowledgeBases?: OrganizationKnowledgeBaseIntegration[] | undefined;
1447
+ guidelines?: OrganizationGuidelineIntegration[] | undefined;
1003
1448
  }
1004
1449
  /**
1005
1450
  * @public
@@ -1026,8 +1471,8 @@ export interface PatchSettingsInput {
1026
1471
  export interface PatchSettingsOutput {
1027
1472
  style?: UserStyleSettings | undefined;
1028
1473
  about?: UserAboutSettings | undefined;
1029
- agents?: (AgentInfo)[] | undefined;
1030
- guidelines?: (Guideline)[] | undefined;
1474
+ agents?: AgentInfo[] | undefined;
1475
+ guidelines?: Guideline[] | undefined;
1031
1476
  guidelinesSettings?: UserGuidelinesSettings | undefined;
1032
1477
  integrations?: UserIntegrationsSettings | undefined;
1033
1478
  }
@@ -1042,9 +1487,18 @@ export interface UpdateAgentInput {
1042
1487
  */
1043
1488
  category?: string | undefined;
1044
1489
  instructions: string;
1045
- guidelines?: (string)[] | undefined;
1046
- variables?: (AgentVariable)[] | undefined;
1047
- capabilities?: (AgentCapability)[] | undefined;
1490
+ /**
1491
+ * @deprecated Use `skills` instead. Guidelines are eagerly injected; skills use progressive disclosure.
1492
+ * @public
1493
+ */
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;
1048
1502
  /**
1049
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'
1050
1504
  * @public
@@ -1143,3 +1597,24 @@ export interface UpdateGuidelinesDirectoryInput {
1143
1597
  export interface UpdateGuidelinesDirectoryOutput {
1144
1598
  directory: GuidelineDirectoryInfo;
1145
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
+ }