@mastra/client-js 1.35.1-alpha.0 → 1.36.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2443,9 +2443,9 @@ export type GetAgentsAgentId_PathParams = {
2443
2443
  agentId: string;
2444
2444
  };
2445
2445
  export type GetAgentsAgentId_QueryParams = {
2446
- /** Which stored config version to resolve: draft (latest, default) or published (active version). Mutually exclusive with versionId. */
2446
+ /** Which stored config version to resolve: draft (latest version) or published (active version, default). When both status and versionId are provided, versionId takes precedence. */
2447
2447
  status?: ('draft' | 'published') | undefined;
2448
- /** Specific version ID to resolve. Mutually exclusive with status if both are provided, versionId takes precedence. */
2448
+ /** Specific version ID to resolve. Takes precedence over status when both are provided. */
2449
2449
  versionId?: string | undefined;
2450
2450
  };
2451
2451
  export type GetAgentsAgentId_Response = Shared_Type_5;
@@ -9897,6 +9897,8 @@ export type PostStoredAgents_Body = {
9897
9897
  } | undefined;
9898
9898
  /** Agent visibility: private (owner/admin only) or public (any reader) */
9899
9899
  visibility?: ('private' | 'public') | undefined;
9900
+ /** Publish the initial version so the agent resolves at status="published". Defaults to true when omitted. Pass false to stage the agent as an unpublished draft — useful when overriding a code-defined agent, whose code definition keeps serving traffic until the override is published. */
9901
+ autoPublish?: boolean | undefined;
9900
9902
  /** Name of the agent */
9901
9903
  name: string;
9902
9904
  /** Description of the agent */