@@ -190,12 +190,6 @@ export interface AmbientAgentConfig {
190190 */
191191 harness ?: AmbientAgentConfig . Harness ;
192192
193- /**
194- * Authentication secrets for third-party harnesses. Only the secret for the
195- * harness specified gets injected into the environment.
196- */
197- harness_auth_secrets ?: AmbientAgentConfig . HarnessAuthSecrets ;
198-
199193 /**
200194 * Number of minutes to keep the agent environment alive after task completion. If
201195 * not set, defaults to 10 minutes. Maximum allowed value is min(60,
@@ -242,6 +236,14 @@ export namespace AmbientAgentConfig {
242236 * uses Warp's built-in harness.
243237 */
244238 export interface Harness {
239+ /**
240+ * Name of a managed secret to use as the authentication credential for the
241+ * harness. The secret must exist within the caller's personal or team scope. The
242+ * environment variable injected into the agent is determined by the secret type
243+ * (e.g. ANTHROPIC_API_KEY for anthropic_api_key secrets).
244+ */
245+ auth_secret_name ?: string ;
246+
245247 /**
246248 * The harness type identifier.
247249 *
@@ -250,19 +252,6 @@ export namespace AmbientAgentConfig {
250252 */
251253 type ?: 'oz' | 'claude' ;
252254 }
253-
254- /**
255- * Authentication secrets for third-party harnesses. Only the secret for the
256- * harness specified gets injected into the environment.
257- */
258- export interface HarnessAuthSecrets {
259- /**
260- * Name of a managed secret for Claude Code harness authentication. The secret must
261- * exist within the caller's personal or team scope. Only applicable when harness
262- * type is "claude".
263- */
264- claude_auth_secret_name ?: string ;
265- }
266255}
267256
268257/**
0 commit comments