@@ -5,13 +5,16 @@ import * as AgentAPI from './agent';
55import * as RunsAPI from './runs' ;
66import {
77 ArtifactItem ,
8+ RequestUsage ,
89 RunCancelResponse ,
910 RunItem ,
1011 RunItemsRunsCursorPage ,
1112 RunListParams ,
1213 RunSourceType ,
1314 RunState ,
15+ RunStatusMessage ,
1416 Runs ,
17+ ScheduleInfo ,
1518} from './runs' ;
1619import * as SchedulesAPI from './schedules' ;
1720import {
@@ -188,7 +191,7 @@ export interface AmbientAgentConfig {
188191 * Specifies which execution harness to use for the agent run. Default (nil/empty)
189192 * uses Warp's built-in Oz harness.
190193 */
191- harness ?: AmbientAgentConfig . Harness ;
194+ harness ?: Harness ;
192195
193196 /**
194197 * Number of minutes to keep the agent environment alive after task completion. If
@@ -230,19 +233,6 @@ export interface AmbientAgentConfig {
230233 worker_host ?: string ;
231234}
232235
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-
246236/**
247237 * AWS IAM role assumption settings
248238 */
@@ -439,6 +429,17 @@ export interface GcpProviderConfig {
439429 workload_identity_federation_provider_id : string ;
440430}
441431
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+
442443/**
443444 * Configuration for an MCP server. Must have exactly one of: warp_id, command, or
444445 * url.
@@ -730,6 +731,7 @@ export declare namespace Agent {
730731 type Error as Error ,
731732 type ErrorCode as ErrorCode ,
732733 type GcpProviderConfig as GcpProviderConfig ,
734+ type Harness as Harness ,
733735 type McpServerConfig as McpServerConfig ,
734736 type Scope as Scope ,
735737 type UserProfile as UserProfile ,
@@ -743,9 +745,12 @@ export declare namespace Agent {
743745 export {
744746 Runs as Runs ,
745747 type ArtifactItem as ArtifactItem ,
748+ type RequestUsage as RequestUsage ,
746749 type RunItem as RunItem ,
747750 type RunSourceType as RunSourceType ,
748751 type RunState as RunState ,
752+ type RunStatusMessage as RunStatusMessage ,
753+ type ScheduleInfo as ScheduleInfo ,
749754 type RunCancelResponse as RunCancelResponse ,
750755 type RunItemsRunsCursorPage as RunItemsRunsCursorPage ,
751756 type RunListParams as RunListParams ,
0 commit comments