Skip to content

Commit 83c815d

Browse files
feat(api): api update
1 parent 1e3f393 commit 83c815d

3 files changed

Lines changed: 11 additions & 8 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: 14
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-e281c64ee44d0db13ba9ce62d3a61e8b17fcd1fad9bffb5c3b0e3dfb2b5e66e1.yml
3-
openapi_spec_hash: 6bd667f546147c5fac3bffe34522ba2f
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-8794fad94f5d124b6c46befab0b5cb47d4ec075595c8b3520fa88ffbc50b4649.yml
3+
openapi_spec_hash: ee42f19a2f1d1053e9f97bb4f0e745d6
44
config_hash: 1888db8b2f33dc16874aea51a90e78f7

src/resources/agent/agent.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export interface AmbientAgentConfig {
186186

187187
/**
188188
* Specifies which execution harness to use for the agent run. Default (nil/empty)
189-
* uses Warp's built-in Oz harness.
189+
* uses Warp's built-in harness.
190190
*/
191191
harness?: AmbientAgentConfig.Harness;
192192

@@ -233,13 +233,16 @@ export interface AmbientAgentConfig {
233233
export namespace AmbientAgentConfig {
234234
/**
235235
* Specifies which execution harness to use for the agent run. Default (nil/empty)
236-
* uses Warp's built-in Oz harness.
236+
* uses Warp's built-in harness.
237237
*/
238238
export interface Harness {
239239
/**
240-
* The harness type identifier (e.g. "claude").
240+
* The harness type identifier.
241+
*
242+
* - oz: Warp's built-in harness (default)
243+
* - claude: Claude Code harness
241244
*/
242-
type?: string;
245+
type?: 'oz' | 'claude';
243246
}
244247
}
245248

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('resource schedules', () => {
3232
base_prompt: 'base_prompt',
3333
computer_use_enabled: true,
3434
environment_id: 'environment_id',
35-
harness: { type: 'type' },
35+
harness: { type: 'oz' },
3636
idle_timeout_minutes: 1,
3737
mcp_servers: {
3838
foo: {
@@ -93,7 +93,7 @@ describe('resource schedules', () => {
9393
base_prompt: 'base_prompt',
9494
computer_use_enabled: true,
9595
environment_id: 'environment_id',
96-
harness: { type: 'type' },
96+
harness: { type: 'oz' },
9797
idle_timeout_minutes: 1,
9898
mcp_servers: {
9999
foo: {

0 commit comments

Comments
 (0)