@@ -5,16 +5,13 @@ import * as AgentAPI from './agent';
55import * as RunsAPI from './runs' ;
66import {
77 ArtifactItem ,
8- RequestUsage ,
98 RunCancelResponse ,
109 RunItem ,
1110 RunItemsRunsCursorPage ,
1211 RunListParams ,
1312 RunSourceType ,
1413 RunState ,
15- RunStatusMessage ,
1614 Runs ,
17- ScheduleInfo ,
1815} from './runs' ;
1916import * as SchedulesAPI from './schedules' ;
2017import {
@@ -191,7 +188,7 @@ export interface AmbientAgentConfig {
191188 * Specifies which execution harness to use for the agent run. Default (nil/empty)
192189 * uses Warp's built-in Oz harness.
193190 */
194- harness ?: Harness ;
191+ harness ?: AmbientAgentConfig . Harness ;
195192
196193 /**
197194 * Number of minutes to keep the agent environment alive after task completion. If
@@ -233,6 +230,19 @@ export interface AmbientAgentConfig {
233230 worker_host ?: string ;
234231}
235232
233+ export namespace AmbientAgentConfig {
234+ /**
235+ * Specifies which execution harness to use for the agent run. Default (nil/empty)
236+ * uses Warp's built-in Oz harness.
237+ */
238+ export interface Harness {
239+ /**
240+ * The harness type identifier (e.g. "claude").
241+ */
242+ type ?: string ;
243+ }
244+ }
245+
236246/**
237247 * AWS IAM role assumption settings
238248 */
@@ -429,17 +439,6 @@ export interface GcpProviderConfig {
429439 workload_identity_federation_provider_id : string ;
430440}
431441
432- /**
433- * Specifies which execution harness to use for the agent run. Default (nil/empty)
434- * uses Warp's built-in Oz harness.
435- */
436- export interface Harness {
437- /**
438- * The harness type identifier (e.g. "claude").
439- */
440- type ?: string ;
441- }
442-
443442/**
444443 * Configuration for an MCP server. Must have exactly one of: warp_id, command, or
445444 * url.
@@ -731,7 +730,6 @@ export declare namespace Agent {
731730 type Error as Error ,
732731 type ErrorCode as ErrorCode ,
733732 type GcpProviderConfig as GcpProviderConfig ,
734- type Harness as Harness ,
735733 type McpServerConfig as McpServerConfig ,
736734 type Scope as Scope ,
737735 type UserProfile as UserProfile ,
@@ -745,12 +743,9 @@ export declare namespace Agent {
745743 export {
746744 Runs as Runs ,
747745 type ArtifactItem as ArtifactItem ,
748- type RequestUsage as RequestUsage ,
749746 type RunItem as RunItem ,
750747 type RunSourceType as RunSourceType ,
751748 type RunState as RunState ,
752- type RunStatusMessage as RunStatusMessage ,
753- type ScheduleInfo as ScheduleInfo ,
754749 type RunCancelResponse as RunCancelResponse ,
755750 type RunItemsRunsCursorPage as RunItemsRunsCursorPage ,
756751 type RunListParams as RunListParams ,
0 commit comments