@@ -60,6 +60,76 @@ export class Agent extends APIResource {
6060 }
6161}
6262
63+ export interface AgentSkill {
64+ /**
65+ * Human-readable name of the agent
66+ */
67+ name : string ;
68+
69+ /**
70+ * Available variants of this agent
71+ */
72+ variants : Array < AgentSkill . Variant > ;
73+ }
74+
75+ export namespace AgentSkill {
76+ export interface Variant {
77+ /**
78+ * Stable identifier for this skill variant. Format: "{owner}/{repo}:{skill_path}"
79+ * Example: "warpdotdev/warp-server:.claude/skills/deploy/SKILL.md"
80+ */
81+ id : string ;
82+
83+ /**
84+ * Base prompt/instructions for the agent
85+ */
86+ base_prompt : string ;
87+
88+ /**
89+ * Description of the agent variant
90+ */
91+ description : string ;
92+
93+ /**
94+ * Environments where this agent variant is available
95+ */
96+ environments : Array < Variant . Environment > ;
97+
98+ source : Variant . Source ;
99+ }
100+
101+ export namespace Variant {
102+ export interface Environment {
103+ /**
104+ * Human-readable name of the environment
105+ */
106+ name : string ;
107+
108+ /**
109+ * Unique identifier for the environment
110+ */
111+ uid : string ;
112+ }
113+
114+ export interface Source {
115+ /**
116+ * GitHub repository name
117+ */
118+ name : string ;
119+
120+ /**
121+ * GitHub repository owner
122+ */
123+ owner : string ;
124+
125+ /**
126+ * Path to the skill definition file within the repository
127+ */
128+ skill_path : string ;
129+ }
130+ }
131+ }
132+
63133/**
64134 * Configuration for an ambient agent run
65135 */
@@ -184,7 +254,7 @@ export interface McpServerConfig {
184254 warp_id ?: string ;
185255}
186256
187- export interface RunCreatorInfo {
257+ export interface UserProfile {
188258 /**
189259 * Display name of the creator
190260 */
@@ -210,79 +280,7 @@ export interface AgentListResponse {
210280 /**
211281 * List of available agents
212282 */
213- agents : Array < AgentListResponse . Agent > ;
214- }
215-
216- export namespace AgentListResponse {
217- export interface Agent {
218- /**
219- * Human-readable name of the agent
220- */
221- name : string ;
222-
223- /**
224- * Available variants of this agent
225- */
226- variants : Array < Agent . Variant > ;
227- }
228-
229- export namespace Agent {
230- export interface Variant {
231- /**
232- * Stable identifier for this skill variant. Format: "{owner}/{repo}:{skill_path}"
233- * Example: "warpdotdev/warp-server:.claude/skills/deploy/SKILL.md"
234- */
235- id : string ;
236-
237- /**
238- * Base prompt/instructions for the agent
239- */
240- base_prompt : string ;
241-
242- /**
243- * Description of the agent variant
244- */
245- description : string ;
246-
247- /**
248- * Environments where this agent variant is available
249- */
250- environments : Array < Variant . Environment > ;
251-
252- source : Variant . Source ;
253- }
254-
255- export namespace Variant {
256- export interface Environment {
257- /**
258- * Human-readable name of the environment
259- */
260- name : string ;
261-
262- /**
263- * Unique identifier for the environment
264- */
265- uid : string ;
266- }
267-
268- export interface Source {
269- /**
270- * GitHub repository name
271- */
272- name : string ;
273-
274- /**
275- * GitHub repository owner
276- */
277- owner : string ;
278-
279- /**
280- * Path to the skill definition file within the repository
281- */
282- skill_path : string ;
283- }
284- }
285- }
283+ agents : Array < AgentSkill > ;
286284}
287285
288286export interface AgentRunResponse {
@@ -339,10 +337,11 @@ Agent.Schedules = Schedules;
339337
340338export declare namespace Agent {
341339 export {
340+ type AgentSkill as AgentSkill ,
342341 type AmbientAgentConfig as AmbientAgentConfig ,
343342 type CloudEnvironmentConfig as CloudEnvironmentConfig ,
344343 type McpServerConfig as McpServerConfig ,
345- type RunCreatorInfo as RunCreatorInfo ,
344+ type UserProfile as UserProfile ,
346345 type AgentListResponse as AgentListResponse ,
347346 type AgentRunResponse as AgentRunResponse ,
348347 type AgentListParams as AgentListParams ,
0 commit comments