@mastra/client-js 1.20.0-alpha.1 → 1.20.0-alpha.3

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.
@@ -304,6 +304,11 @@ export type PostAgentsAgentIdClone_Response = {
304
304
  metadata?: {
305
305
  [key: string]: unknown;
306
306
  } | undefined;
307
+ visibility?: ('private' | 'public') | undefined;
308
+ /** Number of users who have favorited this agent */
309
+ favoriteCount?: number | undefined;
310
+ /** Whether the requesting user has favorited this agent */
311
+ isFavorited?: boolean | undefined;
307
312
  createdAt: Date;
308
313
  updatedAt: Date;
309
314
  /** Name of the agent */
@@ -2242,6 +2247,92 @@ export type PostAgentsAgentIdClone_Response = {
2242
2247
  })[];
2243
2248
  } | undefined;
2244
2249
  }[]) | undefined;
2250
+ /** Browser configuration — object config, true (apply default), false/null (disable) */
2251
+ browser?: (({
2252
+ type: 'inline';
2253
+ config: {
2254
+ /** Browser provider type (e.g., stagehand, playwright) */
2255
+ provider: string;
2256
+ /** Run browser in headless mode (default: true) */
2257
+ headless?: boolean | undefined;
2258
+ /** Browser viewport dimensions */
2259
+ viewport?: {
2260
+ /** Viewport width in pixels */
2261
+ width: number;
2262
+ /** Viewport height in pixels */
2263
+ height: number;
2264
+ } | undefined;
2265
+ /** Default timeout in milliseconds (default: 10000) */
2266
+ timeout?: number | undefined;
2267
+ /** Screencast options for streaming browser frames */
2268
+ screencast?: {
2269
+ /** Image format (default: jpeg) */
2270
+ format?: ('jpeg' | 'png') | undefined;
2271
+ /** JPEG quality 0-100 (default: 80) */
2272
+ quality?: number | undefined;
2273
+ /** Max width in pixels (default: 1280) */
2274
+ maxWidth?: number | undefined;
2275
+ /** Max height in pixels (default: 720) */
2276
+ maxHeight?: number | undefined;
2277
+ /** Capture every Nth frame (default: 1) */
2278
+ everyNthFrame?: number | undefined;
2279
+ } | undefined;
2280
+ };
2281
+ } | {
2282
+ value: {
2283
+ type: 'inline';
2284
+ config: {
2285
+ /** Browser provider type (e.g., stagehand, playwright) */
2286
+ provider: string;
2287
+ /** Run browser in headless mode (default: true) */
2288
+ headless?: boolean | undefined;
2289
+ /** Browser viewport dimensions */
2290
+ viewport?: {
2291
+ /** Viewport width in pixels */
2292
+ width: number;
2293
+ /** Viewport height in pixels */
2294
+ height: number;
2295
+ } | undefined;
2296
+ /** Default timeout in milliseconds (default: 10000) */
2297
+ timeout?: number | undefined;
2298
+ /** Screencast options for streaming browser frames */
2299
+ screencast?: {
2300
+ /** Image format (default: jpeg) */
2301
+ format?: ('jpeg' | 'png') | undefined;
2302
+ /** JPEG quality 0-100 (default: 80) */
2303
+ quality?: number | undefined;
2304
+ /** Max width in pixels (default: 1280) */
2305
+ maxWidth?: number | undefined;
2306
+ /** Max height in pixels (default: 720) */
2307
+ maxHeight?: number | undefined;
2308
+ /** Capture every Nth frame (default: 1) */
2309
+ everyNthFrame?: number | undefined;
2310
+ } | undefined;
2311
+ };
2312
+ };
2313
+ rules?: {
2314
+ operator: 'AND' | 'OR';
2315
+ conditions: ({
2316
+ field: string;
2317
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
2318
+ value?: unknown | undefined;
2319
+ } | {
2320
+ operator: 'AND' | 'OR';
2321
+ conditions: ({
2322
+ field: string;
2323
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
2324
+ value?: unknown | undefined;
2325
+ } | {
2326
+ operator: 'AND' | 'OR';
2327
+ conditions: {
2328
+ field: string;
2329
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
2330
+ value?: unknown | undefined;
2331
+ }[];
2332
+ })[];
2333
+ })[];
2334
+ } | undefined;
2335
+ }[]) | boolean | null) | undefined;
2245
2336
  /** JSON Schema defining valid request context variables */
2246
2337
  requestContextSchema?: {
2247
2338
  [key: string]: unknown;
@@ -4724,6 +4815,32 @@ export interface PostAuthCredentialsSignUp_RouteContract {
4724
4815
  response: unknown;
4725
4816
  responseType: 'datastream-response';
4726
4817
  }
4818
+ export type GetAuthRolesRoleIdPermissions_PathParams = {
4819
+ roleId: string;
4820
+ };
4821
+ export type GetAuthRolesRoleIdPermissions_Response = {
4822
+ roleId: string;
4823
+ permissions: string[];
4824
+ };
4825
+ export type GetAuthRolesRoleIdPermissions_Request = Simplify<(GetAuthRolesRoleIdPermissions_PathParams extends never ? {} : {
4826
+ params: GetAuthRolesRoleIdPermissions_PathParams;
4827
+ }) & (never extends never ? {} : {} extends never ? {
4828
+ query?: never;
4829
+ } : {
4830
+ query: never;
4831
+ }) & (never extends never ? {} : {} extends never ? {
4832
+ body?: never;
4833
+ } : {
4834
+ body: never;
4835
+ })>;
4836
+ export interface GetAuthRolesRoleIdPermissions_RouteContract {
4837
+ pathParams: GetAuthRolesRoleIdPermissions_PathParams;
4838
+ queryParams: never;
4839
+ body: never;
4840
+ request: GetAuthRolesRoleIdPermissions_Request;
4841
+ response: GetAuthRolesRoleIdPermissions_Response;
4842
+ responseType: 'json';
4843
+ }
4727
4844
  export type GetWorkflows_QueryParams = {
4728
4845
  partial?: string | undefined;
4729
4846
  };
@@ -6734,10 +6851,10 @@ export type GetMemoryThreads_QueryParams = {
6734
6851
  metadata?: {
6735
6852
  [key: string]: any;
6736
6853
  } | undefined;
6737
- orderBy?: {
6854
+ orderBy?: ({
6738
6855
  field?: ('createdAt' | 'updatedAt') | undefined;
6739
6856
  direction?: ('ASC' | 'DESC') | undefined;
6740
- } | undefined;
6857
+ } | undefined) | undefined;
6741
6858
  };
6742
6859
  export type GetMemoryThreads_Response = {
6743
6860
  total: number;
@@ -6820,10 +6937,10 @@ export type GetMemoryThreadsThreadIdMessages_QueryParams = {
6820
6937
  perPage: number | undefined;
6821
6938
  agentId?: string | undefined;
6822
6939
  resourceId?: string | undefined;
6823
- orderBy?: {
6940
+ orderBy?: ({
6824
6941
  field?: 'createdAt' | undefined;
6825
6942
  direction?: ('ASC' | 'DESC') | undefined;
6826
- } | undefined;
6943
+ } | undefined) | undefined;
6827
6944
  include?: {
6828
6945
  id: string;
6829
6946
  threadId?: string | undefined;
@@ -7246,10 +7363,10 @@ export type GetMemoryNetworkThreads_QueryParams = {
7246
7363
  metadata?: {
7247
7364
  [key: string]: any;
7248
7365
  } | undefined;
7249
- orderBy?: {
7366
+ orderBy?: ({
7250
7367
  field?: ('createdAt' | 'updatedAt') | undefined;
7251
7368
  direction?: ('ASC' | 'DESC') | undefined;
7252
- } | undefined;
7369
+ } | undefined) | undefined;
7253
7370
  };
7254
7371
  export type GetMemoryNetworkThreads_Response = {
7255
7372
  total: number;
@@ -7332,10 +7449,10 @@ export type GetMemoryNetworkThreadsThreadIdMessages_QueryParams = {
7332
7449
  perPage: number | undefined;
7333
7450
  agentId?: string | undefined;
7334
7451
  resourceId?: string | undefined;
7335
- orderBy?: {
7452
+ orderBy?: ({
7336
7453
  field?: 'createdAt' | undefined;
7337
7454
  direction?: ('ASC' | 'DESC') | undefined;
7338
- } | undefined;
7455
+ } | undefined) | undefined;
7339
7456
  include?: {
7340
7457
  id: string;
7341
7458
  threadId?: string | undefined;
@@ -7788,7 +7905,7 @@ export type GetObservabilityTraces_QueryParams = {
7788
7905
  } | undefined) | undefined) | any;
7789
7906
  spanType?: (('agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | 'model_chunk' | 'mcp_tool_call' | 'processor_run' | 'tool_call' | 'workflow_run' | 'workflow_step' | 'workflow_conditional' | 'workflow_conditional_eval' | 'workflow_parallel' | 'workflow_loop' | 'workflow_sleep' | 'workflow_wait_event' | 'memory_operation' | 'workspace_action' | 'rag_ingestion' | 'rag_embedding' | 'rag_vector_operation' | 'rag_action' | 'graph_action' | 'mapping') | undefined) | undefined;
7790
7907
  traceId?: (string | undefined) | undefined;
7791
- entityType?: (string | undefined) | undefined;
7908
+ entityType?: ((('agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory') | null) | undefined) | undefined;
7792
7909
  entityId?: ((string | null) | undefined) | undefined;
7793
7910
  entityName?: ((string | null) | undefined) | undefined;
7794
7911
  parentEntityType?: ((('agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory') | null) | undefined) | undefined;
@@ -7820,10 +7937,6 @@ export type GetObservabilityTraces_QueryParams = {
7820
7937
  tags?: (((string[] | null) | undefined) | undefined) | any;
7821
7938
  status?: (('success' | 'error' | 'running') | undefined) | undefined;
7822
7939
  hasChildError?: (boolean | undefined) | undefined;
7823
- page?: (number | undefined) | undefined;
7824
- perPage?: (number | undefined) | undefined;
7825
- field?: ('startedAt' | 'endedAt') | undefined;
7826
- direction?: ('ASC' | 'DESC') | undefined;
7827
7940
  dateRange?: (({
7828
7941
  /** Start of date range (inclusive by default) */
7829
7942
  start?: Date | undefined;
@@ -7835,9 +7948,16 @@ export type GetObservabilityTraces_QueryParams = {
7835
7948
  endExclusive?: boolean | undefined;
7836
7949
  } | undefined) | undefined) | any;
7837
7950
  name?: (string | undefined) | undefined;
7951
+ page?: (number | undefined) | undefined;
7952
+ perPage?: (number | undefined) | undefined;
7953
+ field?: ('startedAt' | 'endedAt') | undefined;
7954
+ direction?: ('ASC' | 'DESC') | undefined;
7955
+ mode?: (('page' | 'delta') | undefined) | undefined;
7956
+ after?: (string | undefined) | undefined;
7957
+ limit?: (number | undefined) | undefined;
7838
7958
  };
7839
7959
  export type GetObservabilityTraces_Response = {
7840
- pagination: {
7960
+ pagination?: {
7841
7961
  /** Total number of items available */
7842
7962
  total: number;
7843
7963
  /** Current page */
@@ -7846,7 +7966,14 @@ export type GetObservabilityTraces_Response = {
7846
7966
  perPage: number | false;
7847
7967
  /** True if more pages are available */
7848
7968
  hasMore: boolean;
7849
- };
7969
+ } | undefined;
7970
+ delta?: {
7971
+ /** Maximum number of updates requested for this delta poll */
7972
+ limit: number;
7973
+ /** True when more matching updates remain after this response */
7974
+ hasMore: boolean;
7975
+ } | undefined;
7976
+ deltaCursor?: string | undefined;
7850
7977
  spans: {
7851
7978
  /** Unique trace identifier */
7852
7979
  traceId: string;
@@ -8113,9 +8240,12 @@ export type GetObservabilityBranches_QueryParams = {
8113
8240
  perPage?: (number | undefined) | undefined;
8114
8241
  field?: ('startedAt' | 'endedAt') | undefined;
8115
8242
  direction?: ('ASC' | 'DESC') | undefined;
8243
+ mode?: (('page' | 'delta') | undefined) | undefined;
8244
+ after?: (string | undefined) | undefined;
8245
+ limit?: (number | undefined) | undefined;
8116
8246
  };
8117
8247
  export type GetObservabilityBranches_Response = {
8118
- pagination: {
8248
+ pagination?: {
8119
8249
  /** Total number of items available */
8120
8250
  total: number;
8121
8251
  /** Current page */
@@ -8124,7 +8254,14 @@ export type GetObservabilityBranches_Response = {
8124
8254
  perPage: number | false;
8125
8255
  /** True if more pages are available */
8126
8256
  hasMore: boolean;
8127
- };
8257
+ } | undefined;
8258
+ delta?: {
8259
+ /** Maximum number of updates requested for this delta poll */
8260
+ limit: number;
8261
+ /** True when more matching updates remain after this response */
8262
+ hasMore: boolean;
8263
+ } | undefined;
8264
+ deltaCursor?: string | undefined;
8128
8265
  branches: {
8129
8266
  /** Unique trace identifier */
8130
8267
  traceId: string;
@@ -8681,6 +8818,148 @@ export interface GetObservabilityTracesTraceIdSpanIdScores_RouteContract {
8681
8818
  response: GetObservabilityTracesTraceIdSpanIdScores_Response;
8682
8819
  responseType: 'json';
8683
8820
  }
8821
+ export type GetObservabilityMetrics_QueryParams = {
8822
+ timestamp?: (({
8823
+ /** Start of date range (inclusive by default) */
8824
+ start?: Date | undefined;
8825
+ /** End of date range (inclusive by default) */
8826
+ end?: Date | undefined;
8827
+ /** When true, excludes the start date from results (uses > instead of >=) */
8828
+ startExclusive?: boolean | undefined;
8829
+ /** When true, excludes the end date from results (uses < instead of <=) */
8830
+ endExclusive?: boolean | undefined;
8831
+ } | undefined) | undefined) | any;
8832
+ traceId?: (string | undefined) | undefined;
8833
+ spanId?: (string | undefined) | undefined;
8834
+ entityType?: (('agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory') | undefined) | undefined;
8835
+ entityName?: (string | undefined) | undefined;
8836
+ entityVersionId?: (string | undefined) | undefined;
8837
+ parentEntityVersionId?: (string | undefined) | undefined;
8838
+ rootEntityVersionId?: (string | undefined) | undefined;
8839
+ userId?: (string | undefined) | undefined;
8840
+ organizationId?: (string | undefined) | undefined;
8841
+ experimentId?: (string | undefined) | undefined;
8842
+ serviceName?: (string | undefined) | undefined;
8843
+ environment?: (string | undefined) | undefined;
8844
+ parentEntityType?: (('agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory') | undefined) | undefined;
8845
+ parentEntityName?: (string | undefined) | undefined;
8846
+ rootEntityType?: (('agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory') | undefined) | undefined;
8847
+ rootEntityName?: (string | undefined) | undefined;
8848
+ resourceId?: (string | undefined) | undefined;
8849
+ runId?: (string | undefined) | undefined;
8850
+ sessionId?: (string | undefined) | undefined;
8851
+ threadId?: (string | undefined) | undefined;
8852
+ requestId?: (string | undefined) | undefined;
8853
+ executionSource?: (string | undefined) | undefined;
8854
+ tags?: ((string[] | undefined) | undefined) | any;
8855
+ name?: ((string[] | undefined) | undefined) | any;
8856
+ source?: (string | undefined) | undefined;
8857
+ provider?: (string | undefined) | undefined;
8858
+ model?: (string | undefined) | undefined;
8859
+ costUnit?: (string | undefined) | undefined;
8860
+ labels?: (({
8861
+ [key: string]: string;
8862
+ } | undefined) | undefined) | any;
8863
+ page?: (number | undefined) | undefined;
8864
+ perPage?: (number | undefined) | undefined;
8865
+ field?: 'timestamp' | undefined;
8866
+ direction?: ('ASC' | 'DESC') | undefined;
8867
+ mode?: (('page' | 'delta') | undefined) | undefined;
8868
+ after?: (string | undefined) | undefined;
8869
+ limit?: (number | undefined) | undefined;
8870
+ };
8871
+ export type GetObservabilityMetrics_Response = {
8872
+ pagination?: {
8873
+ /** Total number of items available */
8874
+ total: number;
8875
+ /** Current page */
8876
+ page: number;
8877
+ /** Number of items per page, or false if pagination is disabled */
8878
+ perPage: number | false;
8879
+ /** True if more pages are available */
8880
+ hasMore: boolean;
8881
+ } | undefined;
8882
+ delta?: {
8883
+ /** Maximum number of updates requested for this delta poll */
8884
+ limit: number;
8885
+ /** True when more matching updates remain after this response */
8886
+ hasMore: boolean;
8887
+ } | undefined;
8888
+ deltaCursor?: string | undefined;
8889
+ metrics: {
8890
+ /** Unique id for this metric event */
8891
+ metricId?: (string | null) | undefined;
8892
+ /** When the metric was recorded */
8893
+ timestamp: Date;
8894
+ /** Metric name (e.g., mastra_agent_duration_ms) */
8895
+ name: string;
8896
+ /** Metric value */
8897
+ value: number;
8898
+ traceId?: (string | null) | undefined;
8899
+ spanId?: (string | null) | undefined;
8900
+ entityType?: (('agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory') | null) | undefined;
8901
+ entityId?: (string | null) | undefined;
8902
+ entityName?: (string | null) | undefined;
8903
+ parentEntityType?: (('agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory') | null) | undefined;
8904
+ parentEntityId?: (string | null) | undefined;
8905
+ parentEntityName?: (string | null) | undefined;
8906
+ rootEntityType?: (('agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory') | null) | undefined;
8907
+ rootEntityId?: (string | null) | undefined;
8908
+ rootEntityName?: (string | null) | undefined;
8909
+ userId?: (string | null) | undefined;
8910
+ organizationId?: (string | null) | undefined;
8911
+ resourceId?: (string | null) | undefined;
8912
+ runId?: (string | null) | undefined;
8913
+ sessionId?: (string | null) | undefined;
8914
+ threadId?: (string | null) | undefined;
8915
+ requestId?: (string | null) | undefined;
8916
+ environment?: (string | null) | undefined;
8917
+ serviceName?: (string | null) | undefined;
8918
+ scope?: ({
8919
+ [key: string]: unknown;
8920
+ } | null) | undefined;
8921
+ entityVersionId?: (string | null) | undefined;
8922
+ parentEntityVersionId?: (string | null) | undefined;
8923
+ rootEntityVersionId?: (string | null) | undefined;
8924
+ experimentId?: (string | null) | undefined;
8925
+ executionSource?: (string | null) | undefined;
8926
+ tags?: (string[] | null) | undefined;
8927
+ /** Execution source */
8928
+ source?: (string | null) | undefined;
8929
+ provider?: (string | null) | undefined;
8930
+ model?: (string | null) | undefined;
8931
+ estimatedCost?: (number | null) | undefined;
8932
+ costUnit?: (string | null) | undefined;
8933
+ costMetadata?: ((({
8934
+ [key: string]: unknown;
8935
+ } | null) | undefined) | null) | undefined;
8936
+ labels: {
8937
+ [key: string]: string;
8938
+ };
8939
+ metadata?: ({
8940
+ [key: string]: unknown;
8941
+ } | null) | undefined;
8942
+ }[];
8943
+ };
8944
+ export type GetObservabilityMetrics_Request = Simplify<(never extends never ? {} : {
8945
+ params: never;
8946
+ }) & (GetObservabilityMetrics_QueryParams extends never ? {} : {} extends GetObservabilityMetrics_QueryParams ? {
8947
+ query?: GetObservabilityMetrics_QueryParams;
8948
+ } : {
8949
+ query: GetObservabilityMetrics_QueryParams;
8950
+ }) & (never extends never ? {} : {} extends never ? {
8951
+ body?: never;
8952
+ } : {
8953
+ body: never;
8954
+ })>;
8955
+ export interface GetObservabilityMetrics_RouteContract {
8956
+ pathParams: never;
8957
+ queryParams: GetObservabilityMetrics_QueryParams;
8958
+ body: never;
8959
+ request: GetObservabilityMetrics_Request;
8960
+ response: GetObservabilityMetrics_Response;
8961
+ responseType: 'json';
8962
+ }
8684
8963
  export type GetObservabilityLogs_QueryParams = {
8685
8964
  timestamp?: (({
8686
8965
  /** Start of date range (inclusive by default) */
@@ -8721,9 +9000,12 @@ export type GetObservabilityLogs_QueryParams = {
8721
9000
  perPage?: (number | undefined) | undefined;
8722
9001
  field?: 'timestamp' | undefined;
8723
9002
  direction?: ('ASC' | 'DESC') | undefined;
9003
+ mode?: (('page' | 'delta') | undefined) | undefined;
9004
+ after?: (string | undefined) | undefined;
9005
+ limit?: (number | undefined) | undefined;
8724
9006
  };
8725
9007
  export type GetObservabilityLogs_Response = {
8726
- pagination: {
9008
+ pagination?: {
8727
9009
  /** Total number of items available */
8728
9010
  total: number;
8729
9011
  /** Current page */
@@ -8732,7 +9014,14 @@ export type GetObservabilityLogs_Response = {
8732
9014
  perPage: number | false;
8733
9015
  /** True if more pages are available */
8734
9016
  hasMore: boolean;
8735
- };
9017
+ } | undefined;
9018
+ delta?: {
9019
+ /** Maximum number of updates requested for this delta poll */
9020
+ limit: number;
9021
+ /** True when more matching updates remain after this response */
9022
+ hasMore: boolean;
9023
+ } | undefined;
9024
+ deltaCursor?: string | undefined;
8736
9025
  logs: {
8737
9026
  /** Unique id for this log event */
8738
9027
  logId?: (string | null) | undefined;
@@ -8841,9 +9130,12 @@ export type GetObservabilityScores_QueryParams = {
8841
9130
  perPage?: (number | undefined) | undefined;
8842
9131
  field?: ('timestamp' | 'score') | undefined;
8843
9132
  direction?: ('ASC' | 'DESC') | undefined;
9133
+ mode?: (('page' | 'delta') | undefined) | undefined;
9134
+ after?: (string | undefined) | undefined;
9135
+ limit?: (number | undefined) | undefined;
8844
9136
  };
8845
9137
  export type GetObservabilityScores_Response = {
8846
- pagination: {
9138
+ pagination?: {
8847
9139
  /** Total number of items available */
8848
9140
  total: number;
8849
9141
  /** Current page */
@@ -8852,7 +9144,14 @@ export type GetObservabilityScores_Response = {
8852
9144
  perPage: number | false;
8853
9145
  /** True if more pages are available */
8854
9146
  hasMore: boolean;
8855
- };
9147
+ } | undefined;
9148
+ delta?: {
9149
+ /** Maximum number of updates requested for this delta poll */
9150
+ limit: number;
9151
+ /** True when more matching updates remain after this response */
9152
+ hasMore: boolean;
9153
+ } | undefined;
9154
+ deltaCursor?: string | undefined;
8856
9155
  scores: {
8857
9156
  /** Unique id for this score event */
8858
9157
  scoreId?: (string | null) | undefined;
@@ -9451,9 +9750,12 @@ export type GetObservabilityFeedback_QueryParams = {
9451
9750
  perPage?: (number | undefined) | undefined;
9452
9751
  field?: 'timestamp' | undefined;
9453
9752
  direction?: ('ASC' | 'DESC') | undefined;
9753
+ mode?: (('page' | 'delta') | undefined) | undefined;
9754
+ after?: (string | undefined) | undefined;
9755
+ limit?: (number | undefined) | undefined;
9454
9756
  };
9455
9757
  export type GetObservabilityFeedback_Response = {
9456
- pagination: {
9758
+ pagination?: {
9457
9759
  /** Total number of items available */
9458
9760
  total: number;
9459
9761
  /** Current page */
@@ -9462,7 +9764,14 @@ export type GetObservabilityFeedback_Response = {
9462
9764
  perPage: number | false;
9463
9765
  /** True if more pages are available */
9464
9766
  hasMore: boolean;
9465
- };
9767
+ } | undefined;
9768
+ delta?: {
9769
+ /** Maximum number of updates requested for this delta poll */
9770
+ limit: number;
9771
+ /** True when more matching updates remain after this response */
9772
+ hasMore: boolean;
9773
+ } | undefined;
9774
+ deltaCursor?: string | undefined;
9466
9775
  feedback: {
9467
9776
  /** Unique id for this feedback event */
9468
9777
  feedbackId?: (string | null) | undefined;
@@ -12750,10 +13059,16 @@ export type GetStoredAgents_QueryParams = {
12750
13059
  status: ('draft' | 'published' | 'archived') | undefined;
12751
13060
  /** Filter agents by author identifier */
12752
13061
  authorId?: string | undefined;
13062
+ /** Filter to only public agents */
13063
+ visibility?: 'public' | undefined;
12753
13064
  /** Filter agents by metadata key-value pairs */
12754
13065
  metadata?: {
12755
13066
  [key: string]: unknown;
12756
13067
  } | undefined;
13068
+ /** When true, return only agents favorited by the caller (requires the `favorites` EE feature) */
13069
+ favoritedOnly?: boolean | undefined;
13070
+ /** When set, treat the given subject (user/role) as the favoriting principal for `favoritedOnly` instead of the caller */
13071
+ pinFavoritedFor?: string | undefined;
12757
13072
  };
12758
13073
  export type GetStoredAgents_Response = {
12759
13074
  total: number;
@@ -12769,6 +13084,11 @@ export type GetStoredAgents_Response = {
12769
13084
  metadata?: {
12770
13085
  [key: string]: unknown;
12771
13086
  } | undefined;
13087
+ visibility?: ('private' | 'public') | undefined;
13088
+ /** Number of users who have favorited this agent */
13089
+ favoriteCount?: number | undefined;
13090
+ /** Whether the requesting user has favorited this agent */
13091
+ isFavorited?: boolean | undefined;
12772
13092
  createdAt: Date;
12773
13093
  updatedAt: Date;
12774
13094
  /** Name of the agent */
@@ -14707,6 +15027,92 @@ export type GetStoredAgents_Response = {
14707
15027
  })[];
14708
15028
  } | undefined;
14709
15029
  }[]) | undefined;
15030
+ /** Browser configuration — object config, true (apply default), false/null (disable) */
15031
+ browser?: (({
15032
+ type: 'inline';
15033
+ config: {
15034
+ /** Browser provider type (e.g., stagehand, playwright) */
15035
+ provider: string;
15036
+ /** Run browser in headless mode (default: true) */
15037
+ headless?: boolean | undefined;
15038
+ /** Browser viewport dimensions */
15039
+ viewport?: {
15040
+ /** Viewport width in pixels */
15041
+ width: number;
15042
+ /** Viewport height in pixels */
15043
+ height: number;
15044
+ } | undefined;
15045
+ /** Default timeout in milliseconds (default: 10000) */
15046
+ timeout?: number | undefined;
15047
+ /** Screencast options for streaming browser frames */
15048
+ screencast?: {
15049
+ /** Image format (default: jpeg) */
15050
+ format?: ('jpeg' | 'png') | undefined;
15051
+ /** JPEG quality 0-100 (default: 80) */
15052
+ quality?: number | undefined;
15053
+ /** Max width in pixels (default: 1280) */
15054
+ maxWidth?: number | undefined;
15055
+ /** Max height in pixels (default: 720) */
15056
+ maxHeight?: number | undefined;
15057
+ /** Capture every Nth frame (default: 1) */
15058
+ everyNthFrame?: number | undefined;
15059
+ } | undefined;
15060
+ };
15061
+ } | {
15062
+ value: {
15063
+ type: 'inline';
15064
+ config: {
15065
+ /** Browser provider type (e.g., stagehand, playwright) */
15066
+ provider: string;
15067
+ /** Run browser in headless mode (default: true) */
15068
+ headless?: boolean | undefined;
15069
+ /** Browser viewport dimensions */
15070
+ viewport?: {
15071
+ /** Viewport width in pixels */
15072
+ width: number;
15073
+ /** Viewport height in pixels */
15074
+ height: number;
15075
+ } | undefined;
15076
+ /** Default timeout in milliseconds (default: 10000) */
15077
+ timeout?: number | undefined;
15078
+ /** Screencast options for streaming browser frames */
15079
+ screencast?: {
15080
+ /** Image format (default: jpeg) */
15081
+ format?: ('jpeg' | 'png') | undefined;
15082
+ /** JPEG quality 0-100 (default: 80) */
15083
+ quality?: number | undefined;
15084
+ /** Max width in pixels (default: 1280) */
15085
+ maxWidth?: number | undefined;
15086
+ /** Max height in pixels (default: 720) */
15087
+ maxHeight?: number | undefined;
15088
+ /** Capture every Nth frame (default: 1) */
15089
+ everyNthFrame?: number | undefined;
15090
+ } | undefined;
15091
+ };
15092
+ };
15093
+ rules?: {
15094
+ operator: 'AND' | 'OR';
15095
+ conditions: ({
15096
+ field: string;
15097
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
15098
+ value?: unknown | undefined;
15099
+ } | {
15100
+ operator: 'AND' | 'OR';
15101
+ conditions: ({
15102
+ field: string;
15103
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
15104
+ value?: unknown | undefined;
15105
+ } | {
15106
+ operator: 'AND' | 'OR';
15107
+ conditions: {
15108
+ field: string;
15109
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
15110
+ value?: unknown | undefined;
15111
+ }[];
15112
+ })[];
15113
+ })[];
15114
+ } | undefined;
15115
+ }[]) | boolean | null) | undefined;
14710
15116
  /** JSON Schema defining valid request context variables */
14711
15117
  requestContextSchema?: {
14712
15118
  [key: string]: unknown;
@@ -14811,6 +15217,11 @@ export type GetStoredAgentsStoredAgentId_Response = {
14811
15217
  metadata?: {
14812
15218
  [key: string]: unknown;
14813
15219
  } | undefined;
15220
+ visibility?: ('private' | 'public') | undefined;
15221
+ /** Number of users who have favorited this agent */
15222
+ favoriteCount?: number | undefined;
15223
+ /** Whether the requesting user has favorited this agent */
15224
+ isFavorited?: boolean | undefined;
14814
15225
  createdAt: Date;
14815
15226
  updatedAt: Date;
14816
15227
  /** Name of the agent */
@@ -16749,6 +17160,92 @@ export type GetStoredAgentsStoredAgentId_Response = {
16749
17160
  })[];
16750
17161
  } | undefined;
16751
17162
  }[]) | undefined;
17163
+ /** Browser configuration — object config, true (apply default), false/null (disable) */
17164
+ browser?: (({
17165
+ type: 'inline';
17166
+ config: {
17167
+ /** Browser provider type (e.g., stagehand, playwright) */
17168
+ provider: string;
17169
+ /** Run browser in headless mode (default: true) */
17170
+ headless?: boolean | undefined;
17171
+ /** Browser viewport dimensions */
17172
+ viewport?: {
17173
+ /** Viewport width in pixels */
17174
+ width: number;
17175
+ /** Viewport height in pixels */
17176
+ height: number;
17177
+ } | undefined;
17178
+ /** Default timeout in milliseconds (default: 10000) */
17179
+ timeout?: number | undefined;
17180
+ /** Screencast options for streaming browser frames */
17181
+ screencast?: {
17182
+ /** Image format (default: jpeg) */
17183
+ format?: ('jpeg' | 'png') | undefined;
17184
+ /** JPEG quality 0-100 (default: 80) */
17185
+ quality?: number | undefined;
17186
+ /** Max width in pixels (default: 1280) */
17187
+ maxWidth?: number | undefined;
17188
+ /** Max height in pixels (default: 720) */
17189
+ maxHeight?: number | undefined;
17190
+ /** Capture every Nth frame (default: 1) */
17191
+ everyNthFrame?: number | undefined;
17192
+ } | undefined;
17193
+ };
17194
+ } | {
17195
+ value: {
17196
+ type: 'inline';
17197
+ config: {
17198
+ /** Browser provider type (e.g., stagehand, playwright) */
17199
+ provider: string;
17200
+ /** Run browser in headless mode (default: true) */
17201
+ headless?: boolean | undefined;
17202
+ /** Browser viewport dimensions */
17203
+ viewport?: {
17204
+ /** Viewport width in pixels */
17205
+ width: number;
17206
+ /** Viewport height in pixels */
17207
+ height: number;
17208
+ } | undefined;
17209
+ /** Default timeout in milliseconds (default: 10000) */
17210
+ timeout?: number | undefined;
17211
+ /** Screencast options for streaming browser frames */
17212
+ screencast?: {
17213
+ /** Image format (default: jpeg) */
17214
+ format?: ('jpeg' | 'png') | undefined;
17215
+ /** JPEG quality 0-100 (default: 80) */
17216
+ quality?: number | undefined;
17217
+ /** Max width in pixels (default: 1280) */
17218
+ maxWidth?: number | undefined;
17219
+ /** Max height in pixels (default: 720) */
17220
+ maxHeight?: number | undefined;
17221
+ /** Capture every Nth frame (default: 1) */
17222
+ everyNthFrame?: number | undefined;
17223
+ } | undefined;
17224
+ };
17225
+ };
17226
+ rules?: {
17227
+ operator: 'AND' | 'OR';
17228
+ conditions: ({
17229
+ field: string;
17230
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
17231
+ value?: unknown | undefined;
17232
+ } | {
17233
+ operator: 'AND' | 'OR';
17234
+ conditions: ({
17235
+ field: string;
17236
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
17237
+ value?: unknown | undefined;
17238
+ } | {
17239
+ operator: 'AND' | 'OR';
17240
+ conditions: {
17241
+ field: string;
17242
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
17243
+ value?: unknown | undefined;
17244
+ }[];
17245
+ })[];
17246
+ })[];
17247
+ } | undefined;
17248
+ }[]) | boolean | null) | undefined;
16752
17249
  /** JSON Schema defining valid request context variables */
16753
17250
  requestContextSchema?: {
16754
17251
  [key: string]: unknown;
@@ -16782,6 +17279,8 @@ export type PostStoredAgents_Body = {
16782
17279
  metadata?: {
16783
17280
  [key: string]: unknown;
16784
17281
  } | undefined;
17282
+ /** Agent visibility: private (owner/admin only) or public (any reader) */
17283
+ visibility?: ('private' | 'public') | undefined;
16785
17284
  /** Name of the agent */
16786
17285
  name: string;
16787
17286
  /** Description of the agent */
@@ -16819,8 +17318,8 @@ export type PostStoredAgents_Body = {
16819
17318
  })[];
16820
17319
  } | undefined;
16821
17320
  })[];
16822
- /** Model configuration — static value or array of conditional variants */
16823
- model: {
17321
+ /** Model configuration — static value or array of conditional variants. When omitted, the builder default model is applied server-side. */
17322
+ model?: ({
16824
17323
  /** Model provider (e.g., openai, anthropic) */
16825
17324
  provider: string;
16826
17325
  /** Model name (e.g., gpt-4o, claude-3-opus) */
@@ -16856,7 +17355,7 @@ export type PostStoredAgents_Body = {
16856
17355
  })[];
16857
17356
  })[];
16858
17357
  } | undefined;
16859
- }[];
17358
+ }[]) | undefined;
16860
17359
  /** Tool keys mapped to per-tool config — static or conditional */
16861
17360
  tools?: ({
16862
17361
  [key: string]: {
@@ -18718,6 +19217,92 @@ export type PostStoredAgents_Body = {
18718
19217
  })[];
18719
19218
  } | undefined;
18720
19219
  }[]) | undefined;
19220
+ /** Browser configuration — object config, true (apply default), false/null (disable) */
19221
+ browser?: (({
19222
+ type: 'inline';
19223
+ config: {
19224
+ /** Browser provider type (e.g., stagehand, playwright) */
19225
+ provider: string;
19226
+ /** Run browser in headless mode (default: true) */
19227
+ headless?: boolean | undefined;
19228
+ /** Browser viewport dimensions */
19229
+ viewport?: {
19230
+ /** Viewport width in pixels */
19231
+ width: number;
19232
+ /** Viewport height in pixels */
19233
+ height: number;
19234
+ } | undefined;
19235
+ /** Default timeout in milliseconds (default: 10000) */
19236
+ timeout?: number | undefined;
19237
+ /** Screencast options for streaming browser frames */
19238
+ screencast?: {
19239
+ /** Image format (default: jpeg) */
19240
+ format?: ('jpeg' | 'png') | undefined;
19241
+ /** JPEG quality 0-100 (default: 80) */
19242
+ quality?: number | undefined;
19243
+ /** Max width in pixels (default: 1280) */
19244
+ maxWidth?: number | undefined;
19245
+ /** Max height in pixels (default: 720) */
19246
+ maxHeight?: number | undefined;
19247
+ /** Capture every Nth frame (default: 1) */
19248
+ everyNthFrame?: number | undefined;
19249
+ } | undefined;
19250
+ };
19251
+ } | {
19252
+ value: {
19253
+ type: 'inline';
19254
+ config: {
19255
+ /** Browser provider type (e.g., stagehand, playwright) */
19256
+ provider: string;
19257
+ /** Run browser in headless mode (default: true) */
19258
+ headless?: boolean | undefined;
19259
+ /** Browser viewport dimensions */
19260
+ viewport?: {
19261
+ /** Viewport width in pixels */
19262
+ width: number;
19263
+ /** Viewport height in pixels */
19264
+ height: number;
19265
+ } | undefined;
19266
+ /** Default timeout in milliseconds (default: 10000) */
19267
+ timeout?: number | undefined;
19268
+ /** Screencast options for streaming browser frames */
19269
+ screencast?: {
19270
+ /** Image format (default: jpeg) */
19271
+ format?: ('jpeg' | 'png') | undefined;
19272
+ /** JPEG quality 0-100 (default: 80) */
19273
+ quality?: number | undefined;
19274
+ /** Max width in pixels (default: 1280) */
19275
+ maxWidth?: number | undefined;
19276
+ /** Max height in pixels (default: 720) */
19277
+ maxHeight?: number | undefined;
19278
+ /** Capture every Nth frame (default: 1) */
19279
+ everyNthFrame?: number | undefined;
19280
+ } | undefined;
19281
+ };
19282
+ };
19283
+ rules?: {
19284
+ operator: 'AND' | 'OR';
19285
+ conditions: ({
19286
+ field: string;
19287
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
19288
+ value?: unknown | undefined;
19289
+ } | {
19290
+ operator: 'AND' | 'OR';
19291
+ conditions: ({
19292
+ field: string;
19293
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
19294
+ value?: unknown | undefined;
19295
+ } | {
19296
+ operator: 'AND' | 'OR';
19297
+ conditions: {
19298
+ field: string;
19299
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
19300
+ value?: unknown | undefined;
19301
+ }[];
19302
+ })[];
19303
+ })[];
19304
+ } | undefined;
19305
+ }[]) | boolean | null) | undefined;
18721
19306
  /** JSON Schema defining valid request context variables for conditional rule evaluation */
18722
19307
  requestContextSchema?: {
18723
19308
  [key: string]: unknown;
@@ -18732,6 +19317,11 @@ export type PostStoredAgents_Response = {
18732
19317
  metadata?: {
18733
19318
  [key: string]: unknown;
18734
19319
  } | undefined;
19320
+ visibility?: ('private' | 'public') | undefined;
19321
+ /** Number of users who have favorited this agent */
19322
+ favoriteCount?: number | undefined;
19323
+ /** Whether the requesting user has favorited this agent */
19324
+ isFavorited?: boolean | undefined;
18735
19325
  createdAt: Date;
18736
19326
  updatedAt: Date;
18737
19327
  /** Name of the agent */
@@ -20670,6 +21260,92 @@ export type PostStoredAgents_Response = {
20670
21260
  })[];
20671
21261
  } | undefined;
20672
21262
  }[]) | undefined;
21263
+ /** Browser configuration — object config, true (apply default), false/null (disable) */
21264
+ browser?: (({
21265
+ type: 'inline';
21266
+ config: {
21267
+ /** Browser provider type (e.g., stagehand, playwright) */
21268
+ provider: string;
21269
+ /** Run browser in headless mode (default: true) */
21270
+ headless?: boolean | undefined;
21271
+ /** Browser viewport dimensions */
21272
+ viewport?: {
21273
+ /** Viewport width in pixels */
21274
+ width: number;
21275
+ /** Viewport height in pixels */
21276
+ height: number;
21277
+ } | undefined;
21278
+ /** Default timeout in milliseconds (default: 10000) */
21279
+ timeout?: number | undefined;
21280
+ /** Screencast options for streaming browser frames */
21281
+ screencast?: {
21282
+ /** Image format (default: jpeg) */
21283
+ format?: ('jpeg' | 'png') | undefined;
21284
+ /** JPEG quality 0-100 (default: 80) */
21285
+ quality?: number | undefined;
21286
+ /** Max width in pixels (default: 1280) */
21287
+ maxWidth?: number | undefined;
21288
+ /** Max height in pixels (default: 720) */
21289
+ maxHeight?: number | undefined;
21290
+ /** Capture every Nth frame (default: 1) */
21291
+ everyNthFrame?: number | undefined;
21292
+ } | undefined;
21293
+ };
21294
+ } | {
21295
+ value: {
21296
+ type: 'inline';
21297
+ config: {
21298
+ /** Browser provider type (e.g., stagehand, playwright) */
21299
+ provider: string;
21300
+ /** Run browser in headless mode (default: true) */
21301
+ headless?: boolean | undefined;
21302
+ /** Browser viewport dimensions */
21303
+ viewport?: {
21304
+ /** Viewport width in pixels */
21305
+ width: number;
21306
+ /** Viewport height in pixels */
21307
+ height: number;
21308
+ } | undefined;
21309
+ /** Default timeout in milliseconds (default: 10000) */
21310
+ timeout?: number | undefined;
21311
+ /** Screencast options for streaming browser frames */
21312
+ screencast?: {
21313
+ /** Image format (default: jpeg) */
21314
+ format?: ('jpeg' | 'png') | undefined;
21315
+ /** JPEG quality 0-100 (default: 80) */
21316
+ quality?: number | undefined;
21317
+ /** Max width in pixels (default: 1280) */
21318
+ maxWidth?: number | undefined;
21319
+ /** Max height in pixels (default: 720) */
21320
+ maxHeight?: number | undefined;
21321
+ /** Capture every Nth frame (default: 1) */
21322
+ everyNthFrame?: number | undefined;
21323
+ } | undefined;
21324
+ };
21325
+ };
21326
+ rules?: {
21327
+ operator: 'AND' | 'OR';
21328
+ conditions: ({
21329
+ field: string;
21330
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
21331
+ value?: unknown | undefined;
21332
+ } | {
21333
+ operator: 'AND' | 'OR';
21334
+ conditions: ({
21335
+ field: string;
21336
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
21337
+ value?: unknown | undefined;
21338
+ } | {
21339
+ operator: 'AND' | 'OR';
21340
+ conditions: {
21341
+ field: string;
21342
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
21343
+ value?: unknown | undefined;
21344
+ }[];
21345
+ })[];
21346
+ })[];
21347
+ } | undefined;
21348
+ }[]) | boolean | null) | undefined;
20673
21349
  /** JSON Schema defining valid request context variables */
20674
21350
  requestContextSchema?: {
20675
21351
  [key: string]: unknown;
@@ -20703,6 +21379,7 @@ export type PatchStoredAgentsStoredAgentId_Body = {
20703
21379
  metadata?: ({
20704
21380
  [key: string]: unknown;
20705
21381
  } | undefined) | undefined;
21382
+ visibility?: (('private' | 'public') | undefined) | undefined;
20706
21383
  name?: string | undefined;
20707
21384
  description?: (string | undefined) | undefined;
20708
21385
  instructions?: (string | ({
@@ -22623,6 +23300,91 @@ export type PatchStoredAgentsStoredAgentId_Body = {
22623
23300
  })[];
22624
23301
  } | undefined;
22625
23302
  }[]) | undefined) | undefined;
23303
+ browser?: ((({
23304
+ type: 'inline';
23305
+ config: {
23306
+ /** Browser provider type (e.g., stagehand, playwright) */
23307
+ provider: string;
23308
+ /** Run browser in headless mode (default: true) */
23309
+ headless?: boolean | undefined;
23310
+ /** Browser viewport dimensions */
23311
+ viewport?: {
23312
+ /** Viewport width in pixels */
23313
+ width: number;
23314
+ /** Viewport height in pixels */
23315
+ height: number;
23316
+ } | undefined;
23317
+ /** Default timeout in milliseconds (default: 10000) */
23318
+ timeout?: number | undefined;
23319
+ /** Screencast options for streaming browser frames */
23320
+ screencast?: {
23321
+ /** Image format (default: jpeg) */
23322
+ format?: ('jpeg' | 'png') | undefined;
23323
+ /** JPEG quality 0-100 (default: 80) */
23324
+ quality?: number | undefined;
23325
+ /** Max width in pixels (default: 1280) */
23326
+ maxWidth?: number | undefined;
23327
+ /** Max height in pixels (default: 720) */
23328
+ maxHeight?: number | undefined;
23329
+ /** Capture every Nth frame (default: 1) */
23330
+ everyNthFrame?: number | undefined;
23331
+ } | undefined;
23332
+ };
23333
+ } | {
23334
+ value: {
23335
+ type: 'inline';
23336
+ config: {
23337
+ /** Browser provider type (e.g., stagehand, playwright) */
23338
+ provider: string;
23339
+ /** Run browser in headless mode (default: true) */
23340
+ headless?: boolean | undefined;
23341
+ /** Browser viewport dimensions */
23342
+ viewport?: {
23343
+ /** Viewport width in pixels */
23344
+ width: number;
23345
+ /** Viewport height in pixels */
23346
+ height: number;
23347
+ } | undefined;
23348
+ /** Default timeout in milliseconds (default: 10000) */
23349
+ timeout?: number | undefined;
23350
+ /** Screencast options for streaming browser frames */
23351
+ screencast?: {
23352
+ /** Image format (default: jpeg) */
23353
+ format?: ('jpeg' | 'png') | undefined;
23354
+ /** JPEG quality 0-100 (default: 80) */
23355
+ quality?: number | undefined;
23356
+ /** Max width in pixels (default: 1280) */
23357
+ maxWidth?: number | undefined;
23358
+ /** Max height in pixels (default: 720) */
23359
+ maxHeight?: number | undefined;
23360
+ /** Capture every Nth frame (default: 1) */
23361
+ everyNthFrame?: number | undefined;
23362
+ } | undefined;
23363
+ };
23364
+ };
23365
+ rules?: {
23366
+ operator: 'AND' | 'OR';
23367
+ conditions: ({
23368
+ field: string;
23369
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
23370
+ value?: unknown | undefined;
23371
+ } | {
23372
+ operator: 'AND' | 'OR';
23373
+ conditions: ({
23374
+ field: string;
23375
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
23376
+ value?: unknown | undefined;
23377
+ } | {
23378
+ operator: 'AND' | 'OR';
23379
+ conditions: {
23380
+ field: string;
23381
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
23382
+ value?: unknown | undefined;
23383
+ }[];
23384
+ })[];
23385
+ })[];
23386
+ } | undefined;
23387
+ }[]) | boolean | null) | undefined) | undefined;
22626
23388
  requestContextSchema?: ({
22627
23389
  [key: string]: unknown;
22628
23390
  } | undefined) | undefined;
@@ -22637,6 +23399,7 @@ export type PatchStoredAgentsStoredAgentId_Response = {
22637
23399
  metadata?: {
22638
23400
  [key: string]: unknown;
22639
23401
  } | undefined;
23402
+ visibility?: ('private' | 'public') | undefined;
22640
23403
  createdAt: Date;
22641
23404
  updatedAt: Date;
22642
23405
  } | {
@@ -22648,6 +23411,11 @@ export type PatchStoredAgentsStoredAgentId_Response = {
22648
23411
  metadata?: {
22649
23412
  [key: string]: unknown;
22650
23413
  } | undefined;
23414
+ visibility?: ('private' | 'public') | undefined;
23415
+ /** Number of users who have favorited this agent */
23416
+ favoriteCount?: number | undefined;
23417
+ /** Whether the requesting user has favorited this agent */
23418
+ isFavorited?: boolean | undefined;
22651
23419
  createdAt: Date;
22652
23420
  updatedAt: Date;
22653
23421
  /** Name of the agent */
@@ -24586,6 +25354,92 @@ export type PatchStoredAgentsStoredAgentId_Response = {
24586
25354
  })[];
24587
25355
  } | undefined;
24588
25356
  }[]) | undefined;
25357
+ /** Browser configuration — object config, true (apply default), false/null (disable) */
25358
+ browser?: (({
25359
+ type: 'inline';
25360
+ config: {
25361
+ /** Browser provider type (e.g., stagehand, playwright) */
25362
+ provider: string;
25363
+ /** Run browser in headless mode (default: true) */
25364
+ headless?: boolean | undefined;
25365
+ /** Browser viewport dimensions */
25366
+ viewport?: {
25367
+ /** Viewport width in pixels */
25368
+ width: number;
25369
+ /** Viewport height in pixels */
25370
+ height: number;
25371
+ } | undefined;
25372
+ /** Default timeout in milliseconds (default: 10000) */
25373
+ timeout?: number | undefined;
25374
+ /** Screencast options for streaming browser frames */
25375
+ screencast?: {
25376
+ /** Image format (default: jpeg) */
25377
+ format?: ('jpeg' | 'png') | undefined;
25378
+ /** JPEG quality 0-100 (default: 80) */
25379
+ quality?: number | undefined;
25380
+ /** Max width in pixels (default: 1280) */
25381
+ maxWidth?: number | undefined;
25382
+ /** Max height in pixels (default: 720) */
25383
+ maxHeight?: number | undefined;
25384
+ /** Capture every Nth frame (default: 1) */
25385
+ everyNthFrame?: number | undefined;
25386
+ } | undefined;
25387
+ };
25388
+ } | {
25389
+ value: {
25390
+ type: 'inline';
25391
+ config: {
25392
+ /** Browser provider type (e.g., stagehand, playwright) */
25393
+ provider: string;
25394
+ /** Run browser in headless mode (default: true) */
25395
+ headless?: boolean | undefined;
25396
+ /** Browser viewport dimensions */
25397
+ viewport?: {
25398
+ /** Viewport width in pixels */
25399
+ width: number;
25400
+ /** Viewport height in pixels */
25401
+ height: number;
25402
+ } | undefined;
25403
+ /** Default timeout in milliseconds (default: 10000) */
25404
+ timeout?: number | undefined;
25405
+ /** Screencast options for streaming browser frames */
25406
+ screencast?: {
25407
+ /** Image format (default: jpeg) */
25408
+ format?: ('jpeg' | 'png') | undefined;
25409
+ /** JPEG quality 0-100 (default: 80) */
25410
+ quality?: number | undefined;
25411
+ /** Max width in pixels (default: 1280) */
25412
+ maxWidth?: number | undefined;
25413
+ /** Max height in pixels (default: 720) */
25414
+ maxHeight?: number | undefined;
25415
+ /** Capture every Nth frame (default: 1) */
25416
+ everyNthFrame?: number | undefined;
25417
+ } | undefined;
25418
+ };
25419
+ };
25420
+ rules?: {
25421
+ operator: 'AND' | 'OR';
25422
+ conditions: ({
25423
+ field: string;
25424
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
25425
+ value?: unknown | undefined;
25426
+ } | {
25427
+ operator: 'AND' | 'OR';
25428
+ conditions: ({
25429
+ field: string;
25430
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
25431
+ value?: unknown | undefined;
25432
+ } | {
25433
+ operator: 'AND' | 'OR';
25434
+ conditions: {
25435
+ field: string;
25436
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
25437
+ value?: unknown | undefined;
25438
+ }[];
25439
+ })[];
25440
+ })[];
25441
+ } | undefined;
25442
+ }[]) | boolean | null) | undefined;
24589
25443
  /** JSON Schema defining valid request context variables */
24590
25444
  requestContextSchema?: {
24591
25445
  [key: string]: unknown;
@@ -35083,6 +35937,64 @@ export interface DeleteStoredAgentsAgentIdVersionsVersionId_RouteContract {
35083
35937
  response: DeleteStoredAgentsAgentIdVersionsVersionId_Response;
35084
35938
  responseType: 'json';
35085
35939
  }
35940
+ export type PutStoredAgentsStoredAgentIdFavorite_PathParams = {
35941
+ /** Unique identifier for the stored agent */
35942
+ storedAgentId: string;
35943
+ };
35944
+ export type PutStoredAgentsStoredAgentIdFavorite_Response = {
35945
+ /** Whether the entity is currently favorited by the caller */
35946
+ favorited: boolean;
35947
+ /** Total number of users who have favorited this entity */
35948
+ favoriteCount: number;
35949
+ };
35950
+ export type PutStoredAgentsStoredAgentIdFavorite_Request = Simplify<(PutStoredAgentsStoredAgentIdFavorite_PathParams extends never ? {} : {
35951
+ params: PutStoredAgentsStoredAgentIdFavorite_PathParams;
35952
+ }) & (never extends never ? {} : {} extends never ? {
35953
+ query?: never;
35954
+ } : {
35955
+ query: never;
35956
+ }) & (never extends never ? {} : {} extends never ? {
35957
+ body?: never;
35958
+ } : {
35959
+ body: never;
35960
+ })>;
35961
+ export interface PutStoredAgentsStoredAgentIdFavorite_RouteContract {
35962
+ pathParams: PutStoredAgentsStoredAgentIdFavorite_PathParams;
35963
+ queryParams: never;
35964
+ body: never;
35965
+ request: PutStoredAgentsStoredAgentIdFavorite_Request;
35966
+ response: PutStoredAgentsStoredAgentIdFavorite_Response;
35967
+ responseType: 'json';
35968
+ }
35969
+ export type DeleteStoredAgentsStoredAgentIdFavorite_PathParams = {
35970
+ /** Unique identifier for the stored agent */
35971
+ storedAgentId: string;
35972
+ };
35973
+ export type DeleteStoredAgentsStoredAgentIdFavorite_Response = {
35974
+ /** Whether the entity is currently favorited by the caller */
35975
+ favorited: boolean;
35976
+ /** Total number of users who have favorited this entity */
35977
+ favoriteCount: number;
35978
+ };
35979
+ export type DeleteStoredAgentsStoredAgentIdFavorite_Request = Simplify<(DeleteStoredAgentsStoredAgentIdFavorite_PathParams extends never ? {} : {
35980
+ params: DeleteStoredAgentsStoredAgentIdFavorite_PathParams;
35981
+ }) & (never extends never ? {} : {} extends never ? {
35982
+ query?: never;
35983
+ } : {
35984
+ query: never;
35985
+ }) & (never extends never ? {} : {} extends never ? {
35986
+ body?: never;
35987
+ } : {
35988
+ body: never;
35989
+ })>;
35990
+ export interface DeleteStoredAgentsStoredAgentIdFavorite_RouteContract {
35991
+ pathParams: DeleteStoredAgentsStoredAgentIdFavorite_PathParams;
35992
+ queryParams: never;
35993
+ body: never;
35994
+ request: DeleteStoredAgentsStoredAgentIdFavorite_Request;
35995
+ response: DeleteStoredAgentsStoredAgentIdFavorite_Response;
35996
+ responseType: 'json';
35997
+ }
35086
35998
  export type GetStoredMcpClients_QueryParams = {
35087
35999
  page: number | undefined;
35088
36000
  perPage: number | undefined;
@@ -37657,6 +38569,8 @@ export type GetStoredWorkspaces_Response = {
37657
38569
  autoSync?: boolean | undefined;
37658
38570
  /** Operation timeout in milliseconds */
37659
38571
  operationTimeout?: number | undefined;
38572
+ /** Whether this workspace is registered at runtime */
38573
+ runtimeRegistered?: boolean | undefined;
37660
38574
  }[];
37661
38575
  };
37662
38576
  export type GetStoredWorkspaces_Request = Simplify<(never extends never ? {} : {
@@ -38244,12 +39158,27 @@ export type GetStoredSkills_QueryParams = {
38244
39158
  field?: ('createdAt' | 'updatedAt') | undefined;
38245
39159
  direction?: ('ASC' | 'DESC') | undefined;
38246
39160
  } | undefined;
39161
+ /** Filter skills by status */
39162
+ status?: ('draft' | 'published' | 'archived') | undefined;
38247
39163
  /** Filter skills by author identifier */
38248
39164
  authorId?: string | undefined;
39165
+ /** Filter to only public skills */
39166
+ visibility?: 'public' | undefined;
38249
39167
  /** Filter skills by metadata key-value pairs */
38250
39168
  metadata?: {
38251
39169
  [key: string]: unknown;
38252
39170
  } | undefined;
39171
+ /** When true, return only skills favorited by the caller (requires the `favorites` EE feature) */
39172
+ favoritedOnly?: boolean | undefined;
39173
+ /** When set, treat the given subject (user/role) as the favoriting principal for `favoritedOnly` instead of the caller */
39174
+ pinFavoritedFor?: string | undefined;
39175
+ };
39176
+ type GetStoredSkills_Response_Auxiliary_5 = {
39177
+ id?: string | undefined;
39178
+ name: string;
39179
+ type: 'file' | 'folder';
39180
+ content?: string | undefined;
39181
+ children?: GetStoredSkills_Response_Auxiliary_5[] | undefined;
38253
39182
  };
38254
39183
  export type GetStoredSkills_Response = {
38255
39184
  total: number;
@@ -38262,6 +39191,11 @@ export type GetStoredSkills_Response = {
38262
39191
  status: string;
38263
39192
  activeVersionId?: string | undefined;
38264
39193
  authorId?: string | undefined;
39194
+ visibility?: ('private' | 'public') | undefined;
39195
+ /** Number of users who have favorited this skill */
39196
+ favoriteCount?: number | undefined;
39197
+ /** Whether the requesting user has favorited this skill */
39198
+ isFavorited?: boolean | undefined;
38265
39199
  createdAt: Date;
38266
39200
  updatedAt: Date;
38267
39201
  /** Name of the skill */
@@ -38294,6 +39228,8 @@ export type GetStoredSkills_Response = {
38294
39228
  scripts?: string[] | undefined;
38295
39229
  /** List of asset file paths */
38296
39230
  assets?: string[] | undefined;
39231
+ /** Full file tree structure for the skill */
39232
+ files?: GetStoredSkills_Response_Auxiliary_5[] | undefined;
38297
39233
  /** Additional metadata for the skill */
38298
39234
  metadata?: {
38299
39235
  [key: string]: unknown;
@@ -38323,12 +39259,24 @@ export type GetStoredSkillsStoredSkillId_PathParams = {
38323
39259
  /** Unique identifier for the stored skill */
38324
39260
  storedSkillId: string;
38325
39261
  };
39262
+ type GetStoredSkillsStoredSkillId_Response_Auxiliary_4 = {
39263
+ id?: string | undefined;
39264
+ name: string;
39265
+ type: 'file' | 'folder';
39266
+ content?: string | undefined;
39267
+ children?: GetStoredSkillsStoredSkillId_Response_Auxiliary_4[] | undefined;
39268
+ };
38326
39269
  export type GetStoredSkillsStoredSkillId_Response = {
38327
39270
  id: string;
38328
39271
  /** Skill status: draft, published, or archived */
38329
39272
  status: string;
38330
39273
  activeVersionId?: string | undefined;
38331
39274
  authorId?: string | undefined;
39275
+ visibility?: ('private' | 'public') | undefined;
39276
+ /** Number of users who have favorited this skill */
39277
+ favoriteCount?: number | undefined;
39278
+ /** Whether the requesting user has favorited this skill */
39279
+ isFavorited?: boolean | undefined;
38332
39280
  createdAt: Date;
38333
39281
  updatedAt: Date;
38334
39282
  /** Name of the skill */
@@ -38361,6 +39309,8 @@ export type GetStoredSkillsStoredSkillId_Response = {
38361
39309
  scripts?: string[] | undefined;
38362
39310
  /** List of asset file paths */
38363
39311
  assets?: string[] | undefined;
39312
+ /** Full file tree structure for the skill */
39313
+ files?: GetStoredSkillsStoredSkillId_Response_Auxiliary_4[] | undefined;
38364
39314
  /** Additional metadata for the skill */
38365
39315
  metadata?: {
38366
39316
  [key: string]: unknown;
@@ -38385,11 +39335,20 @@ export interface GetStoredSkillsStoredSkillId_RouteContract {
38385
39335
  response: GetStoredSkillsStoredSkillId_Response;
38386
39336
  responseType: 'json';
38387
39337
  }
39338
+ type PostStoredSkills_Body_Auxiliary_4 = {
39339
+ id?: string | undefined;
39340
+ name: string;
39341
+ type: 'file' | 'folder';
39342
+ content?: string | undefined;
39343
+ children?: PostStoredSkills_Body_Auxiliary_4[] | undefined;
39344
+ };
38388
39345
  export type PostStoredSkills_Body = {
38389
39346
  /** Unique identifier. If not provided, derived from name. */
38390
39347
  id?: string | undefined;
38391
39348
  /** Author identifier for multi-tenant filtering */
38392
39349
  authorId?: string | undefined;
39350
+ /** Skill visibility: private (owner/admin only) or public (any reader) */
39351
+ visibility?: ('private' | 'public') | undefined;
38393
39352
  /** Name of the skill */
38394
39353
  name: string;
38395
39354
  /** Description of what the skill does and when to use it */
@@ -38420,17 +39379,31 @@ export type PostStoredSkills_Body = {
38420
39379
  scripts?: string[] | undefined;
38421
39380
  /** List of asset file paths */
38422
39381
  assets?: string[] | undefined;
39382
+ /** Full file tree structure for the skill */
39383
+ files?: PostStoredSkills_Body_Auxiliary_4[] | undefined;
38423
39384
  /** Additional metadata for the skill */
38424
39385
  metadata?: {
38425
39386
  [key: string]: unknown;
38426
39387
  } | undefined;
38427
39388
  };
39389
+ type PostStoredSkills_Response_Auxiliary_4 = {
39390
+ id?: string | undefined;
39391
+ name: string;
39392
+ type: 'file' | 'folder';
39393
+ content?: string | undefined;
39394
+ children?: PostStoredSkills_Response_Auxiliary_4[] | undefined;
39395
+ };
38428
39396
  export type PostStoredSkills_Response = {
38429
39397
  id: string;
38430
39398
  /** Skill status: draft, published, or archived */
38431
39399
  status: string;
38432
39400
  activeVersionId?: string | undefined;
38433
39401
  authorId?: string | undefined;
39402
+ visibility?: ('private' | 'public') | undefined;
39403
+ /** Number of users who have favorited this skill */
39404
+ favoriteCount?: number | undefined;
39405
+ /** Whether the requesting user has favorited this skill */
39406
+ isFavorited?: boolean | undefined;
38434
39407
  createdAt: Date;
38435
39408
  updatedAt: Date;
38436
39409
  /** Name of the skill */
@@ -38463,6 +39436,8 @@ export type PostStoredSkills_Response = {
38463
39436
  scripts?: string[] | undefined;
38464
39437
  /** List of asset file paths */
38465
39438
  assets?: string[] | undefined;
39439
+ /** Full file tree structure for the skill */
39440
+ files?: PostStoredSkills_Response_Auxiliary_4[] | undefined;
38466
39441
  /** Additional metadata for the skill */
38467
39442
  metadata?: {
38468
39443
  [key: string]: unknown;
@@ -38491,8 +39466,16 @@ export type PatchStoredSkillsStoredSkillId_PathParams = {
38491
39466
  /** Unique identifier for the stored skill */
38492
39467
  storedSkillId: string;
38493
39468
  };
39469
+ type PatchStoredSkillsStoredSkillId_Body_Auxiliary_4 = {
39470
+ id?: string | undefined;
39471
+ name: string;
39472
+ type: 'file' | 'folder';
39473
+ content?: string | undefined;
39474
+ children?: PatchStoredSkillsStoredSkillId_Body_Auxiliary_4[] | undefined;
39475
+ };
38494
39476
  export type PatchStoredSkillsStoredSkillId_Body = {
38495
39477
  authorId?: (string | undefined) | undefined;
39478
+ visibility?: (('private' | 'public') | undefined) | undefined;
38496
39479
  name?: string | undefined;
38497
39480
  description?: string | undefined;
38498
39481
  instructions?: string | undefined;
@@ -38514,15 +39497,24 @@ export type PatchStoredSkillsStoredSkillId_Body = {
38514
39497
  references?: (string[] | undefined) | undefined;
38515
39498
  scripts?: (string[] | undefined) | undefined;
38516
39499
  assets?: (string[] | undefined) | undefined;
39500
+ files?: (PatchStoredSkillsStoredSkillId_Body_Auxiliary_4[] | undefined) | undefined;
38517
39501
  metadata?: ({
38518
39502
  [key: string]: unknown;
38519
39503
  } | undefined) | undefined;
38520
39504
  };
39505
+ type PatchStoredSkillsStoredSkillId_Response_Auxiliary_5 = {
39506
+ id?: string | undefined;
39507
+ name: string;
39508
+ type: 'file' | 'folder';
39509
+ content?: string | undefined;
39510
+ children?: PatchStoredSkillsStoredSkillId_Response_Auxiliary_5[] | undefined;
39511
+ };
38521
39512
  export type PatchStoredSkillsStoredSkillId_Response = {
38522
39513
  id: string;
38523
39514
  status: string;
38524
39515
  activeVersionId?: string | undefined;
38525
39516
  authorId?: string | undefined;
39517
+ visibility?: ('private' | 'public') | undefined;
38526
39518
  createdAt: Date;
38527
39519
  updatedAt: Date;
38528
39520
  } | {
@@ -38531,6 +39523,122 @@ export type PatchStoredSkillsStoredSkillId_Response = {
38531
39523
  status: string;
38532
39524
  activeVersionId?: string | undefined;
38533
39525
  authorId?: string | undefined;
39526
+ visibility?: ('private' | 'public') | undefined;
39527
+ /** Number of users who have favorited this skill */
39528
+ favoriteCount?: number | undefined;
39529
+ /** Whether the requesting user has favorited this skill */
39530
+ isFavorited?: boolean | undefined;
39531
+ createdAt: Date;
39532
+ updatedAt: Date;
39533
+ /** Name of the skill */
39534
+ name: string;
39535
+ /** Description of what the skill does and when to use it */
39536
+ description: string;
39537
+ /** Markdown instructions for the skill */
39538
+ instructions: string;
39539
+ /** License identifier for the skill */
39540
+ license?: string | undefined;
39541
+ /** Compatibility requirements */
39542
+ compatibility?: unknown | undefined;
39543
+ /** Source location of the skill */
39544
+ source?: ({
39545
+ type: 'external';
39546
+ /** Package path for external source */
39547
+ packagePath: string;
39548
+ } | {
39549
+ type: 'local';
39550
+ /** Project path for local source */
39551
+ projectPath: string;
39552
+ } | {
39553
+ type: 'managed';
39554
+ /** Mastra path for managed source */
39555
+ mastraPath: string;
39556
+ }) | undefined;
39557
+ /** List of reference file paths */
39558
+ references?: string[] | undefined;
39559
+ /** List of script file paths */
39560
+ scripts?: string[] | undefined;
39561
+ /** List of asset file paths */
39562
+ assets?: string[] | undefined;
39563
+ /** Full file tree structure for the skill */
39564
+ files?: PatchStoredSkillsStoredSkillId_Response_Auxiliary_5[] | undefined;
39565
+ /** Additional metadata for the skill */
39566
+ metadata?: {
39567
+ [key: string]: unknown;
39568
+ } | undefined;
39569
+ };
39570
+ export type PatchStoredSkillsStoredSkillId_Request = Simplify<(PatchStoredSkillsStoredSkillId_PathParams extends never ? {} : {
39571
+ params: PatchStoredSkillsStoredSkillId_PathParams;
39572
+ }) & (never extends never ? {} : {} extends never ? {
39573
+ query?: never;
39574
+ } : {
39575
+ query: never;
39576
+ }) & (PatchStoredSkillsStoredSkillId_Body extends never ? {} : {} extends PatchStoredSkillsStoredSkillId_Body ? {
39577
+ body?: PatchStoredSkillsStoredSkillId_Body;
39578
+ } : {
39579
+ body: PatchStoredSkillsStoredSkillId_Body;
39580
+ })>;
39581
+ export interface PatchStoredSkillsStoredSkillId_RouteContract {
39582
+ pathParams: PatchStoredSkillsStoredSkillId_PathParams;
39583
+ queryParams: never;
39584
+ body: PatchStoredSkillsStoredSkillId_Body;
39585
+ request: PatchStoredSkillsStoredSkillId_Request;
39586
+ response: PatchStoredSkillsStoredSkillId_Response;
39587
+ responseType: 'json';
39588
+ }
39589
+ export type DeleteStoredSkillsStoredSkillId_PathParams = {
39590
+ /** Unique identifier for the stored skill */
39591
+ storedSkillId: string;
39592
+ };
39593
+ export type DeleteStoredSkillsStoredSkillId_Response = {
39594
+ success: boolean;
39595
+ message: string;
39596
+ };
39597
+ export type DeleteStoredSkillsStoredSkillId_Request = Simplify<(DeleteStoredSkillsStoredSkillId_PathParams extends never ? {} : {
39598
+ params: DeleteStoredSkillsStoredSkillId_PathParams;
39599
+ }) & (never extends never ? {} : {} extends never ? {
39600
+ query?: never;
39601
+ } : {
39602
+ query: never;
39603
+ }) & (never extends never ? {} : {} extends never ? {
39604
+ body?: never;
39605
+ } : {
39606
+ body: never;
39607
+ })>;
39608
+ export interface DeleteStoredSkillsStoredSkillId_RouteContract {
39609
+ pathParams: DeleteStoredSkillsStoredSkillId_PathParams;
39610
+ queryParams: never;
39611
+ body: never;
39612
+ request: DeleteStoredSkillsStoredSkillId_Request;
39613
+ response: DeleteStoredSkillsStoredSkillId_Response;
39614
+ responseType: 'json';
39615
+ }
39616
+ export type PostStoredSkillsStoredSkillIdPublish_PathParams = {
39617
+ /** Unique identifier for the stored skill */
39618
+ storedSkillId: string;
39619
+ };
39620
+ export type PostStoredSkillsStoredSkillIdPublish_Body = {
39621
+ /** Path to the skill directory on the server filesystem (containing SKILL.md) */
39622
+ skillPath: string;
39623
+ };
39624
+ type PostStoredSkillsStoredSkillIdPublish_Response_Auxiliary_4 = {
39625
+ id?: string | undefined;
39626
+ name: string;
39627
+ type: 'file' | 'folder';
39628
+ content?: string | undefined;
39629
+ children?: PostStoredSkillsStoredSkillIdPublish_Response_Auxiliary_4[] | undefined;
39630
+ };
39631
+ export type PostStoredSkillsStoredSkillIdPublish_Response = {
39632
+ id: string;
39633
+ /** Skill status: draft, published, or archived */
39634
+ status: string;
39635
+ activeVersionId?: string | undefined;
39636
+ authorId?: string | undefined;
39637
+ visibility?: ('private' | 'public') | undefined;
39638
+ /** Number of users who have favorited this skill */
39639
+ favoriteCount?: number | undefined;
39640
+ /** Whether the requesting user has favorited this skill */
39641
+ isFavorited?: boolean | undefined;
38534
39642
  createdAt: Date;
38535
39643
  updatedAt: Date;
38536
39644
  /** Name of the skill */
@@ -38563,40 +39671,44 @@ export type PatchStoredSkillsStoredSkillId_Response = {
38563
39671
  scripts?: string[] | undefined;
38564
39672
  /** List of asset file paths */
38565
39673
  assets?: string[] | undefined;
39674
+ /** Full file tree structure for the skill */
39675
+ files?: PostStoredSkillsStoredSkillIdPublish_Response_Auxiliary_4[] | undefined;
38566
39676
  /** Additional metadata for the skill */
38567
39677
  metadata?: {
38568
39678
  [key: string]: unknown;
38569
39679
  } | undefined;
38570
39680
  };
38571
- export type PatchStoredSkillsStoredSkillId_Request = Simplify<(PatchStoredSkillsStoredSkillId_PathParams extends never ? {} : {
38572
- params: PatchStoredSkillsStoredSkillId_PathParams;
39681
+ export type PostStoredSkillsStoredSkillIdPublish_Request = Simplify<(PostStoredSkillsStoredSkillIdPublish_PathParams extends never ? {} : {
39682
+ params: PostStoredSkillsStoredSkillIdPublish_PathParams;
38573
39683
  }) & (never extends never ? {} : {} extends never ? {
38574
39684
  query?: never;
38575
39685
  } : {
38576
39686
  query: never;
38577
- }) & (PatchStoredSkillsStoredSkillId_Body extends never ? {} : {} extends PatchStoredSkillsStoredSkillId_Body ? {
38578
- body?: PatchStoredSkillsStoredSkillId_Body;
39687
+ }) & (PostStoredSkillsStoredSkillIdPublish_Body extends never ? {} : {} extends PostStoredSkillsStoredSkillIdPublish_Body ? {
39688
+ body?: PostStoredSkillsStoredSkillIdPublish_Body;
38579
39689
  } : {
38580
- body: PatchStoredSkillsStoredSkillId_Body;
39690
+ body: PostStoredSkillsStoredSkillIdPublish_Body;
38581
39691
  })>;
38582
- export interface PatchStoredSkillsStoredSkillId_RouteContract {
38583
- pathParams: PatchStoredSkillsStoredSkillId_PathParams;
39692
+ export interface PostStoredSkillsStoredSkillIdPublish_RouteContract {
39693
+ pathParams: PostStoredSkillsStoredSkillIdPublish_PathParams;
38584
39694
  queryParams: never;
38585
- body: PatchStoredSkillsStoredSkillId_Body;
38586
- request: PatchStoredSkillsStoredSkillId_Request;
38587
- response: PatchStoredSkillsStoredSkillId_Response;
39695
+ body: PostStoredSkillsStoredSkillIdPublish_Body;
39696
+ request: PostStoredSkillsStoredSkillIdPublish_Request;
39697
+ response: PostStoredSkillsStoredSkillIdPublish_Response;
38588
39698
  responseType: 'json';
38589
39699
  }
38590
- export type DeleteStoredSkillsStoredSkillId_PathParams = {
39700
+ export type PutStoredSkillsStoredSkillIdFavorite_PathParams = {
38591
39701
  /** Unique identifier for the stored skill */
38592
39702
  storedSkillId: string;
38593
39703
  };
38594
- export type DeleteStoredSkillsStoredSkillId_Response = {
38595
- success: boolean;
38596
- message: string;
39704
+ export type PutStoredSkillsStoredSkillIdFavorite_Response = {
39705
+ /** Whether the entity is currently favorited by the caller */
39706
+ favorited: boolean;
39707
+ /** Total number of users who have favorited this entity */
39708
+ favoriteCount: number;
38597
39709
  };
38598
- export type DeleteStoredSkillsStoredSkillId_Request = Simplify<(DeleteStoredSkillsStoredSkillId_PathParams extends never ? {} : {
38599
- params: DeleteStoredSkillsStoredSkillId_PathParams;
39710
+ export type PutStoredSkillsStoredSkillIdFavorite_Request = Simplify<(PutStoredSkillsStoredSkillIdFavorite_PathParams extends never ? {} : {
39711
+ params: PutStoredSkillsStoredSkillIdFavorite_PathParams;
38600
39712
  }) & (never extends never ? {} : {} extends never ? {
38601
39713
  query?: never;
38602
39714
  } : {
@@ -38606,82 +39718,41 @@ export type DeleteStoredSkillsStoredSkillId_Request = Simplify<(DeleteStoredSkil
38606
39718
  } : {
38607
39719
  body: never;
38608
39720
  })>;
38609
- export interface DeleteStoredSkillsStoredSkillId_RouteContract {
38610
- pathParams: DeleteStoredSkillsStoredSkillId_PathParams;
39721
+ export interface PutStoredSkillsStoredSkillIdFavorite_RouteContract {
39722
+ pathParams: PutStoredSkillsStoredSkillIdFavorite_PathParams;
38611
39723
  queryParams: never;
38612
39724
  body: never;
38613
- request: DeleteStoredSkillsStoredSkillId_Request;
38614
- response: DeleteStoredSkillsStoredSkillId_Response;
39725
+ request: PutStoredSkillsStoredSkillIdFavorite_Request;
39726
+ response: PutStoredSkillsStoredSkillIdFavorite_Response;
38615
39727
  responseType: 'json';
38616
39728
  }
38617
- export type PostStoredSkillsStoredSkillIdPublish_PathParams = {
39729
+ export type DeleteStoredSkillsStoredSkillIdFavorite_PathParams = {
38618
39730
  /** Unique identifier for the stored skill */
38619
39731
  storedSkillId: string;
38620
39732
  };
38621
- export type PostStoredSkillsStoredSkillIdPublish_Body = {
38622
- /** Path to the skill directory on the server filesystem (containing SKILL.md) */
38623
- skillPath: string;
38624
- };
38625
- export type PostStoredSkillsStoredSkillIdPublish_Response = {
38626
- id: string;
38627
- /** Skill status: draft, published, or archived */
38628
- status: string;
38629
- activeVersionId?: string | undefined;
38630
- authorId?: string | undefined;
38631
- createdAt: Date;
38632
- updatedAt: Date;
38633
- /** Name of the skill */
38634
- name: string;
38635
- /** Description of what the skill does and when to use it */
38636
- description: string;
38637
- /** Markdown instructions for the skill */
38638
- instructions: string;
38639
- /** License identifier for the skill */
38640
- license?: string | undefined;
38641
- /** Compatibility requirements */
38642
- compatibility?: unknown | undefined;
38643
- /** Source location of the skill */
38644
- source?: ({
38645
- type: 'external';
38646
- /** Package path for external source */
38647
- packagePath: string;
38648
- } | {
38649
- type: 'local';
38650
- /** Project path for local source */
38651
- projectPath: string;
38652
- } | {
38653
- type: 'managed';
38654
- /** Mastra path for managed source */
38655
- mastraPath: string;
38656
- }) | undefined;
38657
- /** List of reference file paths */
38658
- references?: string[] | undefined;
38659
- /** List of script file paths */
38660
- scripts?: string[] | undefined;
38661
- /** List of asset file paths */
38662
- assets?: string[] | undefined;
38663
- /** Additional metadata for the skill */
38664
- metadata?: {
38665
- [key: string]: unknown;
38666
- } | undefined;
39733
+ export type DeleteStoredSkillsStoredSkillIdFavorite_Response = {
39734
+ /** Whether the entity is currently favorited by the caller */
39735
+ favorited: boolean;
39736
+ /** Total number of users who have favorited this entity */
39737
+ favoriteCount: number;
38667
39738
  };
38668
- export type PostStoredSkillsStoredSkillIdPublish_Request = Simplify<(PostStoredSkillsStoredSkillIdPublish_PathParams extends never ? {} : {
38669
- params: PostStoredSkillsStoredSkillIdPublish_PathParams;
39739
+ export type DeleteStoredSkillsStoredSkillIdFavorite_Request = Simplify<(DeleteStoredSkillsStoredSkillIdFavorite_PathParams extends never ? {} : {
39740
+ params: DeleteStoredSkillsStoredSkillIdFavorite_PathParams;
38670
39741
  }) & (never extends never ? {} : {} extends never ? {
38671
39742
  query?: never;
38672
39743
  } : {
38673
39744
  query: never;
38674
- }) & (PostStoredSkillsStoredSkillIdPublish_Body extends never ? {} : {} extends PostStoredSkillsStoredSkillIdPublish_Body ? {
38675
- body?: PostStoredSkillsStoredSkillIdPublish_Body;
39745
+ }) & (never extends never ? {} : {} extends never ? {
39746
+ body?: never;
38676
39747
  } : {
38677
- body: PostStoredSkillsStoredSkillIdPublish_Body;
39748
+ body: never;
38678
39749
  })>;
38679
- export interface PostStoredSkillsStoredSkillIdPublish_RouteContract {
38680
- pathParams: PostStoredSkillsStoredSkillIdPublish_PathParams;
39750
+ export interface DeleteStoredSkillsStoredSkillIdFavorite_RouteContract {
39751
+ pathParams: DeleteStoredSkillsStoredSkillIdFavorite_PathParams;
38681
39752
  queryParams: never;
38682
- body: PostStoredSkillsStoredSkillIdPublish_Body;
38683
- request: PostStoredSkillsStoredSkillIdPublish_Request;
38684
- response: PostStoredSkillsStoredSkillIdPublish_Response;
39753
+ body: never;
39754
+ request: DeleteStoredSkillsStoredSkillIdFavorite_Request;
39755
+ response: DeleteStoredSkillsStoredSkillIdFavorite_Response;
38685
39756
  responseType: 'json';
38686
39757
  }
38687
39758
  export type GetToolProviders_Response = {
@@ -40964,6 +42035,345 @@ export interface GetBackgroundTasksBackgroundTaskId_RouteContract {
40964
42035
  response: GetBackgroundTasksBackgroundTaskId_Response;
40965
42036
  responseType: 'json';
40966
42037
  }
42038
+ export type GetEditorBuilderSettings_Response = {
42039
+ enabled: boolean;
42040
+ features?: {
42041
+ agent?: {
42042
+ tools?: boolean | undefined;
42043
+ agents?: boolean | undefined;
42044
+ workflows?: boolean | undefined;
42045
+ scorers?: boolean | undefined;
42046
+ skills?: boolean | undefined;
42047
+ memory?: boolean | undefined;
42048
+ variables?: boolean | undefined;
42049
+ favorites?: boolean | undefined;
42050
+ avatarUpload?: boolean | undefined;
42051
+ browser?: boolean | undefined;
42052
+ model?: boolean | undefined;
42053
+ } | undefined;
42054
+ } | undefined;
42055
+ configuration?: {
42056
+ agent?: {
42057
+ models?: {
42058
+ allowed?: ({
42059
+ kind: 'custom';
42060
+ provider: string;
42061
+ modelId?: string | undefined;
42062
+ } | {
42063
+ provider: string;
42064
+ modelId?: string | undefined;
42065
+ })[] | undefined;
42066
+ default?: ({
42067
+ kind: 'custom';
42068
+ provider: string;
42069
+ modelId: string;
42070
+ } | {
42071
+ provider: string;
42072
+ modelId: string;
42073
+ }) | undefined;
42074
+ } | undefined;
42075
+ tools?: {
42076
+ allowed?: string[] | undefined;
42077
+ } | undefined;
42078
+ agents?: {
42079
+ allowed?: string[] | undefined;
42080
+ } | undefined;
42081
+ workflows?: {
42082
+ allowed?: string[] | undefined;
42083
+ } | undefined;
42084
+ [x: string]: unknown;
42085
+ } | undefined;
42086
+ } | undefined;
42087
+ modelPolicy?: {
42088
+ active: boolean;
42089
+ pickerVisible?: boolean | undefined;
42090
+ allowed?: ({
42091
+ kind: 'custom';
42092
+ provider: string;
42093
+ modelId?: string | undefined;
42094
+ } | {
42095
+ provider: string;
42096
+ modelId?: string | undefined;
42097
+ })[] | undefined;
42098
+ default?: ({
42099
+ kind: 'custom';
42100
+ provider: string;
42101
+ modelId: string;
42102
+ } | {
42103
+ provider: string;
42104
+ modelId: string;
42105
+ }) | undefined;
42106
+ } | undefined;
42107
+ picker?: {
42108
+ visibleTools: string[] | null;
42109
+ visibleAgents: string[] | null;
42110
+ visibleWorkflows: string[] | null;
42111
+ } | undefined;
42112
+ modelPolicyWarnings?: string[] | undefined;
42113
+ };
42114
+ export type GetEditorBuilderSettings_Request = Simplify<(never extends never ? {} : {
42115
+ params: never;
42116
+ }) & (never extends never ? {} : {} extends never ? {
42117
+ query?: never;
42118
+ } : {
42119
+ query: never;
42120
+ }) & (never extends never ? {} : {} extends never ? {
42121
+ body?: never;
42122
+ } : {
42123
+ body: never;
42124
+ })>;
42125
+ export interface GetEditorBuilderSettings_RouteContract {
42126
+ pathParams: never;
42127
+ queryParams: never;
42128
+ body: never;
42129
+ request: GetEditorBuilderSettings_Request;
42130
+ response: GetEditorBuilderSettings_Response;
42131
+ responseType: 'json';
42132
+ }
42133
+ export type GetEditorBuilderInfrastructure_Response = {
42134
+ channels: {
42135
+ providers: {
42136
+ id: string;
42137
+ name: string;
42138
+ isConfigured: boolean;
42139
+ routeCount: number;
42140
+ }[];
42141
+ };
42142
+ browser: {
42143
+ type: string | null;
42144
+ provider: string | null;
42145
+ env: string | null;
42146
+ registered: boolean;
42147
+ availableProviders: string[];
42148
+ config: {
42149
+ key: string;
42150
+ value: string;
42151
+ }[];
42152
+ };
42153
+ workspace: {
42154
+ type: string | null;
42155
+ workspaceId: string | null;
42156
+ name: string | null;
42157
+ source: string | null;
42158
+ registered: boolean;
42159
+ hasFilesystem: boolean;
42160
+ hasSandbox: boolean;
42161
+ filesystemProvider: string | null;
42162
+ sandboxProvider: string | null;
42163
+ config: {
42164
+ key: string;
42165
+ value: string;
42166
+ }[];
42167
+ };
42168
+ registries: {
42169
+ skillsSh: {
42170
+ enabled: boolean;
42171
+ };
42172
+ };
42173
+ };
42174
+ export type GetEditorBuilderInfrastructure_Request = Simplify<(never extends never ? {} : {
42175
+ params: never;
42176
+ }) & (never extends never ? {} : {} extends never ? {
42177
+ query?: never;
42178
+ } : {
42179
+ query: never;
42180
+ }) & (never extends never ? {} : {} extends never ? {
42181
+ body?: never;
42182
+ } : {
42183
+ body: never;
42184
+ })>;
42185
+ export interface GetEditorBuilderInfrastructure_RouteContract {
42186
+ pathParams: never;
42187
+ queryParams: never;
42188
+ body: never;
42189
+ request: GetEditorBuilderInfrastructure_Request;
42190
+ response: GetEditorBuilderInfrastructure_Response;
42191
+ responseType: 'json';
42192
+ }
42193
+ export type GetEditorBuilderRegistries_Response = {
42194
+ registries: {
42195
+ /** Stable registry identifier */
42196
+ id: 'skills-sh';
42197
+ /** Whether this registry is enabled in the running deployment */
42198
+ enabled: boolean;
42199
+ /** Human-readable registry name */
42200
+ label: string;
42201
+ }[];
42202
+ };
42203
+ export type GetEditorBuilderRegistries_Request = Simplify<(never extends never ? {} : {
42204
+ params: never;
42205
+ }) & (never extends never ? {} : {} extends never ? {
42206
+ query?: never;
42207
+ } : {
42208
+ query: never;
42209
+ }) & (never extends never ? {} : {} extends never ? {
42210
+ body?: never;
42211
+ } : {
42212
+ body: never;
42213
+ })>;
42214
+ export interface GetEditorBuilderRegistries_RouteContract {
42215
+ pathParams: never;
42216
+ queryParams: never;
42217
+ body: never;
42218
+ request: GetEditorBuilderRegistries_Request;
42219
+ response: GetEditorBuilderRegistries_Response;
42220
+ responseType: 'json';
42221
+ }
42222
+ export type GetEditorBuilderRegistriesRegistryIdSearch_PathParams = {
42223
+ /** Registry identifier (e.g. "skills-sh") */
42224
+ registryId: string;
42225
+ };
42226
+ export type GetEditorBuilderRegistriesRegistryIdSearch_QueryParams = {
42227
+ /** Search query */
42228
+ q: string;
42229
+ /** Maximum number of results (1-100) */
42230
+ limit: number | undefined;
42231
+ };
42232
+ export type GetEditorBuilderRegistriesRegistryIdSearch_Response = {
42233
+ query: string;
42234
+ searchType: string;
42235
+ skills: {
42236
+ id: string;
42237
+ name: string;
42238
+ installs: number;
42239
+ topSource: string;
42240
+ }[];
42241
+ count: number;
42242
+ };
42243
+ export type GetEditorBuilderRegistriesRegistryIdSearch_Request = Simplify<(GetEditorBuilderRegistriesRegistryIdSearch_PathParams extends never ? {} : {
42244
+ params: GetEditorBuilderRegistriesRegistryIdSearch_PathParams;
42245
+ }) & (GetEditorBuilderRegistriesRegistryIdSearch_QueryParams extends never ? {} : {} extends GetEditorBuilderRegistriesRegistryIdSearch_QueryParams ? {
42246
+ query?: GetEditorBuilderRegistriesRegistryIdSearch_QueryParams;
42247
+ } : {
42248
+ query: GetEditorBuilderRegistriesRegistryIdSearch_QueryParams;
42249
+ }) & (never extends never ? {} : {} extends never ? {
42250
+ body?: never;
42251
+ } : {
42252
+ body: never;
42253
+ })>;
42254
+ export interface GetEditorBuilderRegistriesRegistryIdSearch_RouteContract {
42255
+ pathParams: GetEditorBuilderRegistriesRegistryIdSearch_PathParams;
42256
+ queryParams: GetEditorBuilderRegistriesRegistryIdSearch_QueryParams;
42257
+ body: never;
42258
+ request: GetEditorBuilderRegistriesRegistryIdSearch_Request;
42259
+ response: GetEditorBuilderRegistriesRegistryIdSearch_Response;
42260
+ responseType: 'json';
42261
+ }
42262
+ export type GetEditorBuilderRegistriesRegistryIdPopular_PathParams = {
42263
+ /** Registry identifier (e.g. "skills-sh") */
42264
+ registryId: string;
42265
+ };
42266
+ export type GetEditorBuilderRegistriesRegistryIdPopular_QueryParams = {
42267
+ /** Maximum number of results (1-100) */
42268
+ limit: number | undefined;
42269
+ /** Offset for pagination (must be a multiple of `limit`) */
42270
+ offset: number | undefined;
42271
+ };
42272
+ export type GetEditorBuilderRegistriesRegistryIdPopular_Response = {
42273
+ skills: {
42274
+ id: string;
42275
+ name: string;
42276
+ installs: number;
42277
+ topSource: string;
42278
+ }[];
42279
+ count: number;
42280
+ limit: number;
42281
+ offset: number;
42282
+ };
42283
+ export type GetEditorBuilderRegistriesRegistryIdPopular_Request = Simplify<(GetEditorBuilderRegistriesRegistryIdPopular_PathParams extends never ? {} : {
42284
+ params: GetEditorBuilderRegistriesRegistryIdPopular_PathParams;
42285
+ }) & (GetEditorBuilderRegistriesRegistryIdPopular_QueryParams extends never ? {} : {} extends GetEditorBuilderRegistriesRegistryIdPopular_QueryParams ? {
42286
+ query?: GetEditorBuilderRegistriesRegistryIdPopular_QueryParams;
42287
+ } : {
42288
+ query: GetEditorBuilderRegistriesRegistryIdPopular_QueryParams;
42289
+ }) & (never extends never ? {} : {} extends never ? {
42290
+ body?: never;
42291
+ } : {
42292
+ body: never;
42293
+ })>;
42294
+ export interface GetEditorBuilderRegistriesRegistryIdPopular_RouteContract {
42295
+ pathParams: GetEditorBuilderRegistriesRegistryIdPopular_PathParams;
42296
+ queryParams: GetEditorBuilderRegistriesRegistryIdPopular_QueryParams;
42297
+ body: never;
42298
+ request: GetEditorBuilderRegistriesRegistryIdPopular_Request;
42299
+ response: GetEditorBuilderRegistriesRegistryIdPopular_Response;
42300
+ responseType: 'json';
42301
+ }
42302
+ export type GetEditorBuilderRegistriesRegistryIdPreview_PathParams = {
42303
+ /** Registry identifier (e.g. "skills-sh") */
42304
+ registryId: string;
42305
+ };
42306
+ export type GetEditorBuilderRegistriesRegistryIdPreview_QueryParams = {
42307
+ /** GitHub repository owner */
42308
+ owner: string;
42309
+ /** GitHub repository name */
42310
+ repo: string;
42311
+ /** Skill name within repo */
42312
+ path: string;
42313
+ };
42314
+ export type GetEditorBuilderRegistriesRegistryIdPreview_Response = {
42315
+ content: string;
42316
+ };
42317
+ export type GetEditorBuilderRegistriesRegistryIdPreview_Request = Simplify<(GetEditorBuilderRegistriesRegistryIdPreview_PathParams extends never ? {} : {
42318
+ params: GetEditorBuilderRegistriesRegistryIdPreview_PathParams;
42319
+ }) & (GetEditorBuilderRegistriesRegistryIdPreview_QueryParams extends never ? {} : {} extends GetEditorBuilderRegistriesRegistryIdPreview_QueryParams ? {
42320
+ query?: GetEditorBuilderRegistriesRegistryIdPreview_QueryParams;
42321
+ } : {
42322
+ query: GetEditorBuilderRegistriesRegistryIdPreview_QueryParams;
42323
+ }) & (never extends never ? {} : {} extends never ? {
42324
+ body?: never;
42325
+ } : {
42326
+ body: never;
42327
+ })>;
42328
+ export interface GetEditorBuilderRegistriesRegistryIdPreview_RouteContract {
42329
+ pathParams: GetEditorBuilderRegistriesRegistryIdPreview_PathParams;
42330
+ queryParams: GetEditorBuilderRegistriesRegistryIdPreview_QueryParams;
42331
+ body: never;
42332
+ request: GetEditorBuilderRegistriesRegistryIdPreview_Request;
42333
+ response: GetEditorBuilderRegistriesRegistryIdPreview_Response;
42334
+ responseType: 'json';
42335
+ }
42336
+ export type PostEditorBuilderRegistriesRegistryIdInstall_PathParams = {
42337
+ /** Registry identifier (e.g. "skills-sh") */
42338
+ registryId: string;
42339
+ };
42340
+ export type PostEditorBuilderRegistriesRegistryIdInstall_Body = {
42341
+ /** GitHub repository owner */
42342
+ owner: string;
42343
+ /** GitHub repository name */
42344
+ repo: string;
42345
+ /** Skill name from the registry */
42346
+ skillName: string;
42347
+ /** Visibility for the new stored skill */
42348
+ visibility?: ('private' | 'public') | undefined;
42349
+ };
42350
+ export type PostEditorBuilderRegistriesRegistryIdInstall_Response = {
42351
+ /** Id of the newly created stored skill */
42352
+ storedSkillId: string;
42353
+ /** Resolved skill name */
42354
+ name: string;
42355
+ /** Number of files materialized into the skill version snapshot */
42356
+ filesWritten: number;
42357
+ };
42358
+ export type PostEditorBuilderRegistriesRegistryIdInstall_Request = Simplify<(PostEditorBuilderRegistriesRegistryIdInstall_PathParams extends never ? {} : {
42359
+ params: PostEditorBuilderRegistriesRegistryIdInstall_PathParams;
42360
+ }) & (never extends never ? {} : {} extends never ? {
42361
+ query?: never;
42362
+ } : {
42363
+ query: never;
42364
+ }) & (PostEditorBuilderRegistriesRegistryIdInstall_Body extends never ? {} : {} extends PostEditorBuilderRegistriesRegistryIdInstall_Body ? {
42365
+ body?: PostEditorBuilderRegistriesRegistryIdInstall_Body;
42366
+ } : {
42367
+ body: PostEditorBuilderRegistriesRegistryIdInstall_Body;
42368
+ })>;
42369
+ export interface PostEditorBuilderRegistriesRegistryIdInstall_RouteContract {
42370
+ pathParams: PostEditorBuilderRegistriesRegistryIdInstall_PathParams;
42371
+ queryParams: never;
42372
+ body: PostEditorBuilderRegistriesRegistryIdInstall_Body;
42373
+ request: PostEditorBuilderRegistriesRegistryIdInstall_Request;
42374
+ response: PostEditorBuilderRegistriesRegistryIdInstall_Response;
42375
+ responseType: 'json';
42376
+ }
40967
42377
  export type GetSchedules_QueryParams = {
40968
42378
  workflowId?: string | undefined;
40969
42379
  status?: ('active' | 'paused') | undefined;
@@ -41430,6 +42840,7 @@ export interface RouteTypes {
41430
42840
  'POST /auth/refresh': PostAuthRefresh_RouteContract;
41431
42841
  'POST /auth/credentials/sign-in': PostAuthCredentialsSignIn_RouteContract;
41432
42842
  'POST /auth/credentials/sign-up': PostAuthCredentialsSignUp_RouteContract;
42843
+ 'GET /auth/roles/:roleId/permissions': GetAuthRolesRoleIdPermissions_RouteContract;
41433
42844
  'GET /workflows': GetWorkflows_RouteContract;
41434
42845
  'GET /workflows/:workflowId': GetWorkflowsWorkflowId_RouteContract;
41435
42846
  'GET /workflows/:workflowId/runs': GetWorkflowsWorkflowIdRuns_RouteContract;
@@ -41507,6 +42918,7 @@ export interface RouteTypes {
41507
42918
  'GET /observability/traces/:traceId/trajectory': GetObservabilityTracesTraceIdTrajectory_RouteContract;
41508
42919
  'POST /observability/traces/score': PostObservabilityTracesScore_RouteContract;
41509
42920
  'GET /observability/traces/:traceId/:spanId/scores': GetObservabilityTracesTraceIdSpanIdScores_RouteContract;
42921
+ 'GET /observability/metrics': GetObservabilityMetrics_RouteContract;
41510
42922
  'GET /observability/logs': GetObservabilityLogs_RouteContract;
41511
42923
  'GET /observability/scores': GetObservabilityScores_RouteContract;
41512
42924
  'POST /observability/scores': PostObservabilityScores_RouteContract;
@@ -41594,6 +43006,8 @@ export interface RouteTypes {
41594
43006
  'POST /stored/agents/:agentId/versions/:versionId/activate': PostStoredAgentsAgentIdVersionsVersionIdActivate_RouteContract;
41595
43007
  'POST /stored/agents/:agentId/versions/:versionId/restore': PostStoredAgentsAgentIdVersionsVersionIdRestore_RouteContract;
41596
43008
  'DELETE /stored/agents/:agentId/versions/:versionId': DeleteStoredAgentsAgentIdVersionsVersionId_RouteContract;
43009
+ 'PUT /stored/agents/:storedAgentId/favorite': PutStoredAgentsStoredAgentIdFavorite_RouteContract;
43010
+ 'DELETE /stored/agents/:storedAgentId/favorite': DeleteStoredAgentsStoredAgentIdFavorite_RouteContract;
41597
43011
  'GET /stored/mcp-clients': GetStoredMcpClients_RouteContract;
41598
43012
  'GET /stored/mcp-clients/:storedMCPClientId': GetStoredMcpClientsStoredMCPClientId_RouteContract;
41599
43013
  'POST /stored/mcp-clients': PostStoredMcpClients_RouteContract;
@@ -41641,6 +43055,8 @@ export interface RouteTypes {
41641
43055
  'PATCH /stored/skills/:storedSkillId': PatchStoredSkillsStoredSkillId_RouteContract;
41642
43056
  'DELETE /stored/skills/:storedSkillId': DeleteStoredSkillsStoredSkillId_RouteContract;
41643
43057
  'POST /stored/skills/:storedSkillId/publish': PostStoredSkillsStoredSkillIdPublish_RouteContract;
43058
+ 'PUT /stored/skills/:storedSkillId/favorite': PutStoredSkillsStoredSkillIdFavorite_RouteContract;
43059
+ 'DELETE /stored/skills/:storedSkillId/favorite': DeleteStoredSkillsStoredSkillIdFavorite_RouteContract;
41644
43060
  'GET /tool-providers': GetToolProviders_RouteContract;
41645
43061
  'GET /tool-providers/:providerId/toolkits': GetToolProvidersProviderIdToolkits_RouteContract;
41646
43062
  'GET /tool-providers/:providerId/tools': GetToolProvidersProviderIdTools_RouteContract;
@@ -41677,6 +43093,13 @@ export interface RouteTypes {
41677
43093
  'GET /background-tasks/stream': GetBackgroundTasksStream_RouteContract;
41678
43094
  'GET /background-tasks': GetBackgroundTasks_RouteContract;
41679
43095
  'GET /background-tasks/:backgroundTaskId': GetBackgroundTasksBackgroundTaskId_RouteContract;
43096
+ 'GET /editor/builder/settings': GetEditorBuilderSettings_RouteContract;
43097
+ 'GET /editor/builder/infrastructure': GetEditorBuilderInfrastructure_RouteContract;
43098
+ 'GET /editor/builder/registries': GetEditorBuilderRegistries_RouteContract;
43099
+ 'GET /editor/builder/registries/:registryId/search': GetEditorBuilderRegistriesRegistryIdSearch_RouteContract;
43100
+ 'GET /editor/builder/registries/:registryId/popular': GetEditorBuilderRegistriesRegistryIdPopular_RouteContract;
43101
+ 'GET /editor/builder/registries/:registryId/preview': GetEditorBuilderRegistriesRegistryIdPreview_RouteContract;
43102
+ 'POST /editor/builder/registries/:registryId/install': PostEditorBuilderRegistriesRegistryIdInstall_RouteContract;
41680
43103
  'GET /schedules': GetSchedules_RouteContract;
41681
43104
  'GET /schedules/:scheduleId': GetSchedulesScheduleId_RouteContract;
41682
43105
  'GET /schedules/:scheduleId/triggers': GetSchedulesScheduleIdTriggers_RouteContract;
@@ -41842,6 +43265,9 @@ export interface Client {
41842
43265
  '/auth/refresh': {
41843
43266
  POST: PostAuthRefresh_RouteContract;
41844
43267
  };
43268
+ '/auth/roles/:roleId/permissions': {
43269
+ GET: GetAuthRolesRoleIdPermissions_RouteContract;
43270
+ };
41845
43271
  '/auth/sso/callback': {
41846
43272
  GET: GetAuthSsoCallback_RouteContract;
41847
43273
  };
@@ -41922,6 +43348,27 @@ export interface Client {
41922
43348
  '/datasets/cluster-failures': {
41923
43349
  POST: PostDatasetsClusterFailures_RouteContract;
41924
43350
  };
43351
+ '/editor/builder/infrastructure': {
43352
+ GET: GetEditorBuilderInfrastructure_RouteContract;
43353
+ };
43354
+ '/editor/builder/registries': {
43355
+ GET: GetEditorBuilderRegistries_RouteContract;
43356
+ };
43357
+ '/editor/builder/registries/:registryId/install': {
43358
+ POST: PostEditorBuilderRegistriesRegistryIdInstall_RouteContract;
43359
+ };
43360
+ '/editor/builder/registries/:registryId/popular': {
43361
+ GET: GetEditorBuilderRegistriesRegistryIdPopular_RouteContract;
43362
+ };
43363
+ '/editor/builder/registries/:registryId/preview': {
43364
+ GET: GetEditorBuilderRegistriesRegistryIdPreview_RouteContract;
43365
+ };
43366
+ '/editor/builder/registries/:registryId/search': {
43367
+ GET: GetEditorBuilderRegistriesRegistryIdSearch_RouteContract;
43368
+ };
43369
+ '/editor/builder/settings': {
43370
+ GET: GetEditorBuilderSettings_RouteContract;
43371
+ };
41925
43372
  '/embedders': {
41926
43373
  GET: GetEmbedders_RouteContract;
41927
43374
  };
@@ -42077,6 +43524,9 @@ export interface Client {
42077
43524
  '/observability/logs': {
42078
43525
  GET: GetObservabilityLogs_RouteContract;
42079
43526
  };
43527
+ '/observability/metrics': {
43528
+ GET: GetObservabilityMetrics_RouteContract;
43529
+ };
42080
43530
  '/observability/metrics/aggregate': {
42081
43531
  POST: PostObservabilityMetricsAggregate_RouteContract;
42082
43532
  };
@@ -42209,6 +43659,10 @@ export interface Client {
42209
43659
  GET: GetStoredAgentsStoredAgentId_RouteContract;
42210
43660
  PATCH: PatchStoredAgentsStoredAgentId_RouteContract;
42211
43661
  };
43662
+ '/stored/agents/:storedAgentId/favorite': {
43663
+ DELETE: DeleteStoredAgentsStoredAgentIdFavorite_RouteContract;
43664
+ PUT: PutStoredAgentsStoredAgentIdFavorite_RouteContract;
43665
+ };
42212
43666
  '/stored/agents/preview-instructions': {
42213
43667
  POST: PostStoredAgentsPreviewInstructions_RouteContract;
42214
43668
  };
@@ -42299,6 +43753,10 @@ export interface Client {
42299
43753
  GET: GetStoredSkillsStoredSkillId_RouteContract;
42300
43754
  PATCH: PatchStoredSkillsStoredSkillId_RouteContract;
42301
43755
  };
43756
+ '/stored/skills/:storedSkillId/favorite': {
43757
+ DELETE: DeleteStoredSkillsStoredSkillIdFavorite_RouteContract;
43758
+ PUT: PutStoredSkillsStoredSkillIdFavorite_RouteContract;
43759
+ };
42302
43760
  '/stored/skills/:storedSkillId/publish': {
42303
43761
  POST: PostStoredSkillsStoredSkillIdPublish_RouteContract;
42304
43762
  };