refactor: add agent_id to various interfaces and improve field organization

This commit is contained in:
Abhimanyu Saharan
2026-02-15 13:36:57 +05:30
parent aa825863c2
commit aebd487270
145 changed files with 8776 additions and 6898 deletions

View File

@@ -11,12 +11,20 @@ import type { AgentUpdateIdentityProfile } from "./agentUpdateIdentityProfile";
* Payload for patching an existing agent.
*/
export interface AgentUpdate {
/** Optional new board assignment. */
board_id?: string | null;
heartbeat_config?: AgentUpdateHeartbeatConfig;
identity_profile?: AgentUpdateIdentityProfile;
identity_template?: string | null;
/** Whether this agent is treated as the board gateway main. */
is_gateway_main?: boolean | null;
/** Optional replacement display name. */
name?: string | null;
soul_template?: string | null;
/** Optional replacement lifecycle status. */
status?: string | null;
/** Optional heartbeat policy override. */
heartbeat_config?: AgentUpdateHeartbeatConfig;
/** Optional identity profile update values. */
identity_profile?: AgentUpdateIdentityProfile;
/** Optional replacement identity template. */
identity_template?: string | null;
/** Optional replacement soul template. */
soul_template?: string | null;
}