@@ -85,201 +85,42 @@ export interface AgentResponse {
8585 */
8686 name : string ;
8787
88- /**
89- * Secrets that this agent may access by default.
90- */
91- secrets : Array < AgentResponse . Secret > ;
92-
93- /**
94- * Ordered list of normalized skill specs associated with this agent. Always
95- * present; empty when no skills are attached.
96- */
97- skills : Array < string > ;
98-
9988 /**
10089 * Unique identifier for the agent
10190 */
10291 uid : string ;
103-
104- /**
105- * Optional description of the agent
106- */
107- description ?: string | null ;
108- }
109-
110- export namespace AgentResponse {
111- /**
112- * Reference to a managed secret by name.
113- */
114- export interface Secret {
115- /**
116- * Name of the managed secret.
117- */
118- name : string ;
119- }
12092}
12193
12294export interface CreateAgentRequest {
12395 /**
12496 * A name for the agent
12597 */
12698 name : string ;
127-
128- /**
129- * Optional description of the agent
130- */
131- description ?: string | null ;
132-
133- /**
134- * Optional list of secrets associated with the agent. Duplicate names within a
135- * single request are rejected.
136- */
137- secrets ?: Array < CreateAgentRequest . Secret > ;
138-
139- /**
140- * Optional list of skill specs to associate with the agent. Format:
141- * "{owner}/{repo}:{skill_path}" (e.g.,
142- * "warpdotdev/warp-server:.claude/skills/deploy/SKILL.md"). Each spec is validated
143- * and normalized at attach time using the team's GitHub credentials; inaccessible
144- * or malformed specs are rejected.
145- */
146- skills ?: Array < string > ;
147- }
148-
149- export namespace CreateAgentRequest {
150- /**
151- * Reference to a managed secret by name.
152- */
153- export interface Secret {
154- /**
155- * Name of the managed secret.
156- */
157- name : string ;
158- }
15999}
160100
161101export interface ListAgentIdentitiesResponse {
162102 agents : Array < AgentResponse > ;
163103}
164104
165- /**
166- * Partial update for an agent. Each field is optional:
167- *
168- * - Omitted or `null`: leave the field unchanged.
169- * - Empty value: clear the field.
170- * - Non-empty: replace the field wholesale with the provided value.
171- */
172105export interface UpdateAgentRequest {
173- /**
174- * Replacement description. Omit or pass `null` to leave unchanged, or use an empty
175- * value to clear.
176- */
177- description ?: string | null ;
178-
179106 /**
180107 * The new name for the agent
181108 */
182109 name ?: string ;
183-
184- /**
185- * Replacement list of secrets. Omit to leave unchanged, pass an empty array to
186- * clear, or pass a non-empty array to replace. Duplicate names are rejected.
187- */
188- secrets ?: Array < UpdateAgentRequest . Secret > | null ;
189-
190- /**
191- * Replacement list of skill specs. Omit to leave unchanged, pass an empty array to
192- * clear, or pass a non-empty array to replace.
193- */
194- skills ?: Array < string > | null ;
195- }
196-
197- export namespace UpdateAgentRequest {
198- /**
199- * Reference to a managed secret by name.
200- */
201- export interface Secret {
202- /**
203- * Name of the managed secret.
204- */
205- name : string ;
206- }
207110}
208111
209112export interface AgentCreateParams {
210113 /**
211114 * A name for the agent
212115 */
213116 name : string ;
214-
215- /**
216- * Optional description of the agent
217- */
218- description ?: string | null ;
219-
220- /**
221- * Optional list of secrets associated with the agent. Duplicate names within a
222- * single request are rejected.
223- */
224- secrets ?: Array < AgentCreateParams . Secret > ;
225-
226- /**
227- * Optional list of skill specs to associate with the agent. Format:
228- * "{owner}/{repo}:{skill_path}" (e.g.,
229- * "warpdotdev/warp-server:.claude/skills/deploy/SKILL.md"). Each spec is validated
230- * and normalized at attach time using the team's GitHub credentials; inaccessible
231- * or malformed specs are rejected.
232- */
233- skills ?: Array < string > ;
234- }
235-
236- export namespace AgentCreateParams {
237- /**
238- * Reference to a managed secret by name.
239- */
240- export interface Secret {
241- /**
242- * Name of the managed secret.
243- */
244- name : string ;
245- }
246117}
247118
248119export interface AgentUpdateParams {
249- /**
250- * Replacement description. Omit or pass `null` to leave unchanged, or use an empty
251- * value to clear.
252- */
253- description ?: string | null ;
254-
255120 /**
256121 * The new name for the agent
257122 */
258123 name ?: string ;
259-
260- /**
261- * Replacement list of secrets. Omit to leave unchanged, pass an empty array to
262- * clear, or pass a non-empty array to replace. Duplicate names are rejected.
263- */
264- secrets ?: Array < AgentUpdateParams . Secret > | null ;
265-
266- /**
267- * Replacement list of skill specs. Omit to leave unchanged, pass an empty array to
268- * clear, or pass a non-empty array to replace.
269- */
270- skills ?: Array < string > | null ;
271- }
272-
273- export namespace AgentUpdateParams {
274- /**
275- * Reference to a managed secret by name.
276- */
277- export interface Secret {
278- /**
279- * Name of the managed secret.
280- */
281- name : string ;
282- }
283124}
284125
285126export declare namespace Agent {
0 commit comments