Skip to content

Commit a530c11

Browse files
feat(api): api update
1 parent a05db29 commit a530c11

4 files changed

Lines changed: 8 additions & 20 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 23
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta/warp-api-4a9eab2592ae45a01a85807990a64acbec6c0a63e32e1fb2cee8c431749271fa.yml
3-
openapi_spec_hash: 09032acf61e7a6ae4bc168b912a65bf0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta/warp-api-410e07a5c3a6e0ff043e5f414d501e171d4dd9f8c91b3404cd9e3e93afebae46.yml
3+
openapi_spec_hash: ab7a6a235e8b2484df1747c69a096ab0
44
config_hash: 236823a4936c76818117c16aa5c188df

src/resources/agent/agent.ts

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -284,23 +284,13 @@ export interface AmbientAgentConfig {
284284
session_sharing?: AmbientAgentConfig.SessionSharing;
285285

286286
/**
287-
* Skill specification identifying the primary agent skill to use. Format:
287+
* Skill specification identifying which agent skill to use. Format:
288288
* "{owner}/{repo}:{skill_path}" Example:
289-
* "warpdotdev/warp-server:.claude/skills/deploy/SKILL.md" Mutually exclusive with
290-
* skills in create/update requests. Responses include the first skills entry here
291-
* for backward compatibility. Use the list agents endpoint to discover available
292-
* skills.
289+
* "warpdotdev/warp-server:.claude/skills/deploy/SKILL.md" Use the list agents
290+
* endpoint to discover available skills.
293291
*/
294292
skill_spec?: string;
295293

296-
/**
297-
* Ordered skill specifications to attach to the run. Format:
298-
* "{owner}/{repo}:{skill_path}" Example:
299-
* "warpdotdev/warp-server:.claude/skills/deploy/SKILL.md" Mutually exclusive with
300-
* skill_spec in create/update requests.
301-
*/
302-
skills?: Array<string>;
303-
304294
/**
305295
* Self-hosted worker ID that should execute this task. If not specified or set to
306296
* "warp", the task runs on Warp-hosted workers.
@@ -1099,7 +1089,7 @@ export interface AgentRunParams {
10991089

11001090
/**
11011091
* The prompt/instruction for the agent to execute. Required unless a skill is
1102-
* specified via the skill field, config.skill_spec, or config.skills.
1092+
* specified via the skill field or config.skill_spec.
11031093
*/
11041094
prompt?: string;
11051095

src/resources/agent/schedules.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export interface ScheduleCreateParams {
258258

259259
/**
260260
* The prompt/instruction for the agent to execute. Required unless
261-
* agent_config.skill_spec or agent_config.skills is provided.
261+
* agent_config.skill_spec is provided.
262262
*/
263263
prompt?: string;
264264

@@ -304,7 +304,7 @@ export interface ScheduleUpdateParams {
304304

305305
/**
306306
* The prompt/instruction for the agent to execute. Required unless
307-
* agent_config.skill_spec or agent_config.skills is provided.
307+
* agent_config.skill_spec is provided.
308308
*/
309309
prompt?: string;
310310
}

tests/api-resources/agent/schedules.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ describe('resource schedules', () => {
6060
name: 'name',
6161
session_sharing: { public_access: 'VIEWER' },
6262
skill_spec: 'skill_spec',
63-
skills: ['string'],
6463
worker_host: 'worker_host',
6564
},
6665
agent_uid: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
@@ -137,7 +136,6 @@ describe('resource schedules', () => {
137136
name: 'name',
138137
session_sharing: { public_access: 'VIEWER' },
139138
skill_spec: 'skill_spec',
140-
skills: ['string'],
141139
worker_host: 'worker_host',
142140
},
143141
agent_uid: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',

0 commit comments

Comments
 (0)