@mastra/client-js 1.20.0-alpha.0 → 1.20.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
  };
@@ -12750,10 +12867,16 @@ export type GetStoredAgents_QueryParams = {
12750
12867
  status: ('draft' | 'published' | 'archived') | undefined;
12751
12868
  /** Filter agents by author identifier */
12752
12869
  authorId?: string | undefined;
12870
+ /** Filter to only public agents */
12871
+ visibility?: 'public' | undefined;
12753
12872
  /** Filter agents by metadata key-value pairs */
12754
12873
  metadata?: {
12755
12874
  [key: string]: unknown;
12756
12875
  } | undefined;
12876
+ /** When true, return only agents favorited by the caller (requires the `favorites` EE feature) */
12877
+ favoritedOnly?: boolean | undefined;
12878
+ /** When set, treat the given subject (user/role) as the favoriting principal for `favoritedOnly` instead of the caller */
12879
+ pinFavoritedFor?: string | undefined;
12757
12880
  };
12758
12881
  export type GetStoredAgents_Response = {
12759
12882
  total: number;
@@ -12769,6 +12892,11 @@ export type GetStoredAgents_Response = {
12769
12892
  metadata?: {
12770
12893
  [key: string]: unknown;
12771
12894
  } | undefined;
12895
+ visibility?: ('private' | 'public') | undefined;
12896
+ /** Number of users who have favorited this agent */
12897
+ favoriteCount?: number | undefined;
12898
+ /** Whether the requesting user has favorited this agent */
12899
+ isFavorited?: boolean | undefined;
12772
12900
  createdAt: Date;
12773
12901
  updatedAt: Date;
12774
12902
  /** Name of the agent */
@@ -14707,6 +14835,92 @@ export type GetStoredAgents_Response = {
14707
14835
  })[];
14708
14836
  } | undefined;
14709
14837
  }[]) | undefined;
14838
+ /** Browser configuration — object config, true (apply default), false/null (disable) */
14839
+ browser?: (({
14840
+ type: 'inline';
14841
+ config: {
14842
+ /** Browser provider type (e.g., stagehand, playwright) */
14843
+ provider: string;
14844
+ /** Run browser in headless mode (default: true) */
14845
+ headless?: boolean | undefined;
14846
+ /** Browser viewport dimensions */
14847
+ viewport?: {
14848
+ /** Viewport width in pixels */
14849
+ width: number;
14850
+ /** Viewport height in pixels */
14851
+ height: number;
14852
+ } | undefined;
14853
+ /** Default timeout in milliseconds (default: 10000) */
14854
+ timeout?: number | undefined;
14855
+ /** Screencast options for streaming browser frames */
14856
+ screencast?: {
14857
+ /** Image format (default: jpeg) */
14858
+ format?: ('jpeg' | 'png') | undefined;
14859
+ /** JPEG quality 0-100 (default: 80) */
14860
+ quality?: number | undefined;
14861
+ /** Max width in pixels (default: 1280) */
14862
+ maxWidth?: number | undefined;
14863
+ /** Max height in pixels (default: 720) */
14864
+ maxHeight?: number | undefined;
14865
+ /** Capture every Nth frame (default: 1) */
14866
+ everyNthFrame?: number | undefined;
14867
+ } | undefined;
14868
+ };
14869
+ } | {
14870
+ value: {
14871
+ type: 'inline';
14872
+ config: {
14873
+ /** Browser provider type (e.g., stagehand, playwright) */
14874
+ provider: string;
14875
+ /** Run browser in headless mode (default: true) */
14876
+ headless?: boolean | undefined;
14877
+ /** Browser viewport dimensions */
14878
+ viewport?: {
14879
+ /** Viewport width in pixels */
14880
+ width: number;
14881
+ /** Viewport height in pixels */
14882
+ height: number;
14883
+ } | undefined;
14884
+ /** Default timeout in milliseconds (default: 10000) */
14885
+ timeout?: number | undefined;
14886
+ /** Screencast options for streaming browser frames */
14887
+ screencast?: {
14888
+ /** Image format (default: jpeg) */
14889
+ format?: ('jpeg' | 'png') | undefined;
14890
+ /** JPEG quality 0-100 (default: 80) */
14891
+ quality?: number | undefined;
14892
+ /** Max width in pixels (default: 1280) */
14893
+ maxWidth?: number | undefined;
14894
+ /** Max height in pixels (default: 720) */
14895
+ maxHeight?: number | undefined;
14896
+ /** Capture every Nth frame (default: 1) */
14897
+ everyNthFrame?: number | undefined;
14898
+ } | undefined;
14899
+ };
14900
+ };
14901
+ rules?: {
14902
+ operator: 'AND' | 'OR';
14903
+ conditions: ({
14904
+ field: string;
14905
+ 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';
14906
+ value?: unknown | undefined;
14907
+ } | {
14908
+ operator: 'AND' | 'OR';
14909
+ conditions: ({
14910
+ field: string;
14911
+ 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';
14912
+ value?: unknown | undefined;
14913
+ } | {
14914
+ operator: 'AND' | 'OR';
14915
+ conditions: {
14916
+ field: string;
14917
+ 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';
14918
+ value?: unknown | undefined;
14919
+ }[];
14920
+ })[];
14921
+ })[];
14922
+ } | undefined;
14923
+ }[]) | boolean | null) | undefined;
14710
14924
  /** JSON Schema defining valid request context variables */
14711
14925
  requestContextSchema?: {
14712
14926
  [key: string]: unknown;
@@ -14811,6 +15025,11 @@ export type GetStoredAgentsStoredAgentId_Response = {
14811
15025
  metadata?: {
14812
15026
  [key: string]: unknown;
14813
15027
  } | undefined;
15028
+ visibility?: ('private' | 'public') | undefined;
15029
+ /** Number of users who have favorited this agent */
15030
+ favoriteCount?: number | undefined;
15031
+ /** Whether the requesting user has favorited this agent */
15032
+ isFavorited?: boolean | undefined;
14814
15033
  createdAt: Date;
14815
15034
  updatedAt: Date;
14816
15035
  /** Name of the agent */
@@ -16749,6 +16968,92 @@ export type GetStoredAgentsStoredAgentId_Response = {
16749
16968
  })[];
16750
16969
  } | undefined;
16751
16970
  }[]) | undefined;
16971
+ /** Browser configuration — object config, true (apply default), false/null (disable) */
16972
+ browser?: (({
16973
+ type: 'inline';
16974
+ config: {
16975
+ /** Browser provider type (e.g., stagehand, playwright) */
16976
+ provider: string;
16977
+ /** Run browser in headless mode (default: true) */
16978
+ headless?: boolean | undefined;
16979
+ /** Browser viewport dimensions */
16980
+ viewport?: {
16981
+ /** Viewport width in pixels */
16982
+ width: number;
16983
+ /** Viewport height in pixels */
16984
+ height: number;
16985
+ } | undefined;
16986
+ /** Default timeout in milliseconds (default: 10000) */
16987
+ timeout?: number | undefined;
16988
+ /** Screencast options for streaming browser frames */
16989
+ screencast?: {
16990
+ /** Image format (default: jpeg) */
16991
+ format?: ('jpeg' | 'png') | undefined;
16992
+ /** JPEG quality 0-100 (default: 80) */
16993
+ quality?: number | undefined;
16994
+ /** Max width in pixels (default: 1280) */
16995
+ maxWidth?: number | undefined;
16996
+ /** Max height in pixels (default: 720) */
16997
+ maxHeight?: number | undefined;
16998
+ /** Capture every Nth frame (default: 1) */
16999
+ everyNthFrame?: number | undefined;
17000
+ } | undefined;
17001
+ };
17002
+ } | {
17003
+ value: {
17004
+ type: 'inline';
17005
+ config: {
17006
+ /** Browser provider type (e.g., stagehand, playwright) */
17007
+ provider: string;
17008
+ /** Run browser in headless mode (default: true) */
17009
+ headless?: boolean | undefined;
17010
+ /** Browser viewport dimensions */
17011
+ viewport?: {
17012
+ /** Viewport width in pixels */
17013
+ width: number;
17014
+ /** Viewport height in pixels */
17015
+ height: number;
17016
+ } | undefined;
17017
+ /** Default timeout in milliseconds (default: 10000) */
17018
+ timeout?: number | undefined;
17019
+ /** Screencast options for streaming browser frames */
17020
+ screencast?: {
17021
+ /** Image format (default: jpeg) */
17022
+ format?: ('jpeg' | 'png') | undefined;
17023
+ /** JPEG quality 0-100 (default: 80) */
17024
+ quality?: number | undefined;
17025
+ /** Max width in pixels (default: 1280) */
17026
+ maxWidth?: number | undefined;
17027
+ /** Max height in pixels (default: 720) */
17028
+ maxHeight?: number | undefined;
17029
+ /** Capture every Nth frame (default: 1) */
17030
+ everyNthFrame?: number | undefined;
17031
+ } | undefined;
17032
+ };
17033
+ };
17034
+ rules?: {
17035
+ operator: 'AND' | 'OR';
17036
+ conditions: ({
17037
+ field: string;
17038
+ 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';
17039
+ value?: unknown | undefined;
17040
+ } | {
17041
+ operator: 'AND' | 'OR';
17042
+ conditions: ({
17043
+ field: string;
17044
+ 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';
17045
+ value?: unknown | undefined;
17046
+ } | {
17047
+ operator: 'AND' | 'OR';
17048
+ conditions: {
17049
+ field: string;
17050
+ 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';
17051
+ value?: unknown | undefined;
17052
+ }[];
17053
+ })[];
17054
+ })[];
17055
+ } | undefined;
17056
+ }[]) | boolean | null) | undefined;
16752
17057
  /** JSON Schema defining valid request context variables */
16753
17058
  requestContextSchema?: {
16754
17059
  [key: string]: unknown;
@@ -16782,6 +17087,8 @@ export type PostStoredAgents_Body = {
16782
17087
  metadata?: {
16783
17088
  [key: string]: unknown;
16784
17089
  } | undefined;
17090
+ /** Agent visibility: private (owner/admin only) or public (any reader) */
17091
+ visibility?: ('private' | 'public') | undefined;
16785
17092
  /** Name of the agent */
16786
17093
  name: string;
16787
17094
  /** Description of the agent */
@@ -16819,8 +17126,8 @@ export type PostStoredAgents_Body = {
16819
17126
  })[];
16820
17127
  } | undefined;
16821
17128
  })[];
16822
- /** Model configuration — static value or array of conditional variants */
16823
- model: {
17129
+ /** Model configuration — static value or array of conditional variants. When omitted, the builder default model is applied server-side. */
17130
+ model?: ({
16824
17131
  /** Model provider (e.g., openai, anthropic) */
16825
17132
  provider: string;
16826
17133
  /** Model name (e.g., gpt-4o, claude-3-opus) */
@@ -16856,7 +17163,7 @@ export type PostStoredAgents_Body = {
16856
17163
  })[];
16857
17164
  })[];
16858
17165
  } | undefined;
16859
- }[];
17166
+ }[]) | undefined;
16860
17167
  /** Tool keys mapped to per-tool config — static or conditional */
16861
17168
  tools?: ({
16862
17169
  [key: string]: {
@@ -18718,6 +19025,92 @@ export type PostStoredAgents_Body = {
18718
19025
  })[];
18719
19026
  } | undefined;
18720
19027
  }[]) | undefined;
19028
+ /** Browser configuration — object config, true (apply default), false/null (disable) */
19029
+ browser?: (({
19030
+ type: 'inline';
19031
+ config: {
19032
+ /** Browser provider type (e.g., stagehand, playwright) */
19033
+ provider: string;
19034
+ /** Run browser in headless mode (default: true) */
19035
+ headless?: boolean | undefined;
19036
+ /** Browser viewport dimensions */
19037
+ viewport?: {
19038
+ /** Viewport width in pixels */
19039
+ width: number;
19040
+ /** Viewport height in pixels */
19041
+ height: number;
19042
+ } | undefined;
19043
+ /** Default timeout in milliseconds (default: 10000) */
19044
+ timeout?: number | undefined;
19045
+ /** Screencast options for streaming browser frames */
19046
+ screencast?: {
19047
+ /** Image format (default: jpeg) */
19048
+ format?: ('jpeg' | 'png') | undefined;
19049
+ /** JPEG quality 0-100 (default: 80) */
19050
+ quality?: number | undefined;
19051
+ /** Max width in pixels (default: 1280) */
19052
+ maxWidth?: number | undefined;
19053
+ /** Max height in pixels (default: 720) */
19054
+ maxHeight?: number | undefined;
19055
+ /** Capture every Nth frame (default: 1) */
19056
+ everyNthFrame?: number | undefined;
19057
+ } | undefined;
19058
+ };
19059
+ } | {
19060
+ value: {
19061
+ type: 'inline';
19062
+ config: {
19063
+ /** Browser provider type (e.g., stagehand, playwright) */
19064
+ provider: string;
19065
+ /** Run browser in headless mode (default: true) */
19066
+ headless?: boolean | undefined;
19067
+ /** Browser viewport dimensions */
19068
+ viewport?: {
19069
+ /** Viewport width in pixels */
19070
+ width: number;
19071
+ /** Viewport height in pixels */
19072
+ height: number;
19073
+ } | undefined;
19074
+ /** Default timeout in milliseconds (default: 10000) */
19075
+ timeout?: number | undefined;
19076
+ /** Screencast options for streaming browser frames */
19077
+ screencast?: {
19078
+ /** Image format (default: jpeg) */
19079
+ format?: ('jpeg' | 'png') | undefined;
19080
+ /** JPEG quality 0-100 (default: 80) */
19081
+ quality?: number | undefined;
19082
+ /** Max width in pixels (default: 1280) */
19083
+ maxWidth?: number | undefined;
19084
+ /** Max height in pixels (default: 720) */
19085
+ maxHeight?: number | undefined;
19086
+ /** Capture every Nth frame (default: 1) */
19087
+ everyNthFrame?: number | undefined;
19088
+ } | undefined;
19089
+ };
19090
+ };
19091
+ rules?: {
19092
+ operator: 'AND' | 'OR';
19093
+ conditions: ({
19094
+ field: string;
19095
+ 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';
19096
+ value?: unknown | undefined;
19097
+ } | {
19098
+ operator: 'AND' | 'OR';
19099
+ conditions: ({
19100
+ field: string;
19101
+ 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';
19102
+ value?: unknown | undefined;
19103
+ } | {
19104
+ operator: 'AND' | 'OR';
19105
+ conditions: {
19106
+ field: string;
19107
+ 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';
19108
+ value?: unknown | undefined;
19109
+ }[];
19110
+ })[];
19111
+ })[];
19112
+ } | undefined;
19113
+ }[]) | boolean | null) | undefined;
18721
19114
  /** JSON Schema defining valid request context variables for conditional rule evaluation */
18722
19115
  requestContextSchema?: {
18723
19116
  [key: string]: unknown;
@@ -18732,6 +19125,11 @@ export type PostStoredAgents_Response = {
18732
19125
  metadata?: {
18733
19126
  [key: string]: unknown;
18734
19127
  } | undefined;
19128
+ visibility?: ('private' | 'public') | undefined;
19129
+ /** Number of users who have favorited this agent */
19130
+ favoriteCount?: number | undefined;
19131
+ /** Whether the requesting user has favorited this agent */
19132
+ isFavorited?: boolean | undefined;
18735
19133
  createdAt: Date;
18736
19134
  updatedAt: Date;
18737
19135
  /** Name of the agent */
@@ -20670,86 +21068,173 @@ export type PostStoredAgents_Response = {
20670
21068
  })[];
20671
21069
  } | undefined;
20672
21070
  }[]) | undefined;
20673
- /** JSON Schema defining valid request context variables */
20674
- requestContextSchema?: {
20675
- [key: string]: unknown;
20676
- } | undefined;
20677
- };
20678
- export type PostStoredAgents_Request = Simplify<(never extends never ? {} : {
20679
- params: never;
20680
- }) & (never extends never ? {} : {} extends never ? {
20681
- query?: never;
20682
- } : {
20683
- query: never;
20684
- }) & (PostStoredAgents_Body extends never ? {} : {} extends PostStoredAgents_Body ? {
20685
- body?: PostStoredAgents_Body;
20686
- } : {
20687
- body: PostStoredAgents_Body;
20688
- })>;
20689
- export interface PostStoredAgents_RouteContract {
20690
- pathParams: never;
20691
- queryParams: never;
20692
- body: PostStoredAgents_Body;
20693
- request: PostStoredAgents_Request;
20694
- response: PostStoredAgents_Response;
20695
- responseType: 'json';
20696
- }
20697
- export type PatchStoredAgentsStoredAgentId_PathParams = {
20698
- /** Unique identifier for the stored agent */
20699
- storedAgentId: string;
20700
- };
20701
- export type PatchStoredAgentsStoredAgentId_Body = {
20702
- authorId?: (string | undefined) | undefined;
20703
- metadata?: ({
20704
- [key: string]: unknown;
20705
- } | undefined) | undefined;
20706
- name?: string | undefined;
20707
- description?: (string | undefined) | undefined;
20708
- instructions?: (string | ({
20709
- type: 'text';
20710
- content: string;
20711
- } | {
20712
- type: 'prompt_block_ref';
20713
- id: string;
20714
- } | {
20715
- type: 'prompt_block';
20716
- content: string;
20717
- rules?: {
20718
- operator: 'AND' | 'OR';
20719
- conditions: ({
20720
- field: string;
20721
- 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';
20722
- value?: unknown | undefined;
20723
- } | {
20724
- operator: 'AND' | 'OR';
20725
- conditions: ({
20726
- field: string;
20727
- 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';
20728
- value?: unknown | undefined;
20729
- } | {
20730
- operator: 'AND' | 'OR';
20731
- conditions: {
20732
- field: string;
20733
- 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';
20734
- value?: unknown | undefined;
20735
- }[];
20736
- })[];
20737
- })[];
20738
- } | undefined;
20739
- })[]) | undefined;
20740
- model?: ({
20741
- /** Model provider (e.g., openai, anthropic) */
20742
- provider: string;
20743
- /** Model name (e.g., gpt-4o, claude-3-opus) */
20744
- name: string;
20745
- [x: string]: unknown;
21071
+ /** Browser configuration object config, true (apply default), false/null (disable) */
21072
+ browser?: (({
21073
+ type: 'inline';
21074
+ config: {
21075
+ /** Browser provider type (e.g., stagehand, playwright) */
21076
+ provider: string;
21077
+ /** Run browser in headless mode (default: true) */
21078
+ headless?: boolean | undefined;
21079
+ /** Browser viewport dimensions */
21080
+ viewport?: {
21081
+ /** Viewport width in pixels */
21082
+ width: number;
21083
+ /** Viewport height in pixels */
21084
+ height: number;
21085
+ } | undefined;
21086
+ /** Default timeout in milliseconds (default: 10000) */
21087
+ timeout?: number | undefined;
21088
+ /** Screencast options for streaming browser frames */
21089
+ screencast?: {
21090
+ /** Image format (default: jpeg) */
21091
+ format?: ('jpeg' | 'png') | undefined;
21092
+ /** JPEG quality 0-100 (default: 80) */
21093
+ quality?: number | undefined;
21094
+ /** Max width in pixels (default: 1280) */
21095
+ maxWidth?: number | undefined;
21096
+ /** Max height in pixels (default: 720) */
21097
+ maxHeight?: number | undefined;
21098
+ /** Capture every Nth frame (default: 1) */
21099
+ everyNthFrame?: number | undefined;
21100
+ } | undefined;
21101
+ };
20746
21102
  } | {
20747
21103
  value: {
20748
- /** Model provider (e.g., openai, anthropic) */
20749
- provider: string;
20750
- /** Model name (e.g., gpt-4o, claude-3-opus) */
20751
- name: string;
20752
- [x: string]: unknown;
21104
+ type: 'inline';
21105
+ config: {
21106
+ /** Browser provider type (e.g., stagehand, playwright) */
21107
+ provider: string;
21108
+ /** Run browser in headless mode (default: true) */
21109
+ headless?: boolean | undefined;
21110
+ /** Browser viewport dimensions */
21111
+ viewport?: {
21112
+ /** Viewport width in pixels */
21113
+ width: number;
21114
+ /** Viewport height in pixels */
21115
+ height: number;
21116
+ } | undefined;
21117
+ /** Default timeout in milliseconds (default: 10000) */
21118
+ timeout?: number | undefined;
21119
+ /** Screencast options for streaming browser frames */
21120
+ screencast?: {
21121
+ /** Image format (default: jpeg) */
21122
+ format?: ('jpeg' | 'png') | undefined;
21123
+ /** JPEG quality 0-100 (default: 80) */
21124
+ quality?: number | undefined;
21125
+ /** Max width in pixels (default: 1280) */
21126
+ maxWidth?: number | undefined;
21127
+ /** Max height in pixels (default: 720) */
21128
+ maxHeight?: number | undefined;
21129
+ /** Capture every Nth frame (default: 1) */
21130
+ everyNthFrame?: number | undefined;
21131
+ } | undefined;
21132
+ };
21133
+ };
21134
+ rules?: {
21135
+ operator: 'AND' | 'OR';
21136
+ conditions: ({
21137
+ field: string;
21138
+ 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';
21139
+ value?: unknown | undefined;
21140
+ } | {
21141
+ operator: 'AND' | 'OR';
21142
+ conditions: ({
21143
+ field: string;
21144
+ 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';
21145
+ value?: unknown | undefined;
21146
+ } | {
21147
+ operator: 'AND' | 'OR';
21148
+ conditions: {
21149
+ field: string;
21150
+ 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';
21151
+ value?: unknown | undefined;
21152
+ }[];
21153
+ })[];
21154
+ })[];
21155
+ } | undefined;
21156
+ }[]) | boolean | null) | undefined;
21157
+ /** JSON Schema defining valid request context variables */
21158
+ requestContextSchema?: {
21159
+ [key: string]: unknown;
21160
+ } | undefined;
21161
+ };
21162
+ export type PostStoredAgents_Request = Simplify<(never extends never ? {} : {
21163
+ params: never;
21164
+ }) & (never extends never ? {} : {} extends never ? {
21165
+ query?: never;
21166
+ } : {
21167
+ query: never;
21168
+ }) & (PostStoredAgents_Body extends never ? {} : {} extends PostStoredAgents_Body ? {
21169
+ body?: PostStoredAgents_Body;
21170
+ } : {
21171
+ body: PostStoredAgents_Body;
21172
+ })>;
21173
+ export interface PostStoredAgents_RouteContract {
21174
+ pathParams: never;
21175
+ queryParams: never;
21176
+ body: PostStoredAgents_Body;
21177
+ request: PostStoredAgents_Request;
21178
+ response: PostStoredAgents_Response;
21179
+ responseType: 'json';
21180
+ }
21181
+ export type PatchStoredAgentsStoredAgentId_PathParams = {
21182
+ /** Unique identifier for the stored agent */
21183
+ storedAgentId: string;
21184
+ };
21185
+ export type PatchStoredAgentsStoredAgentId_Body = {
21186
+ authorId?: (string | undefined) | undefined;
21187
+ metadata?: ({
21188
+ [key: string]: unknown;
21189
+ } | undefined) | undefined;
21190
+ visibility?: (('private' | 'public') | undefined) | undefined;
21191
+ name?: string | undefined;
21192
+ description?: (string | undefined) | undefined;
21193
+ instructions?: (string | ({
21194
+ type: 'text';
21195
+ content: string;
21196
+ } | {
21197
+ type: 'prompt_block_ref';
21198
+ id: string;
21199
+ } | {
21200
+ type: 'prompt_block';
21201
+ content: string;
21202
+ rules?: {
21203
+ operator: 'AND' | 'OR';
21204
+ conditions: ({
21205
+ field: string;
21206
+ 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';
21207
+ value?: unknown | undefined;
21208
+ } | {
21209
+ operator: 'AND' | 'OR';
21210
+ conditions: ({
21211
+ field: string;
21212
+ 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';
21213
+ value?: unknown | undefined;
21214
+ } | {
21215
+ operator: 'AND' | 'OR';
21216
+ conditions: {
21217
+ field: string;
21218
+ 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';
21219
+ value?: unknown | undefined;
21220
+ }[];
21221
+ })[];
21222
+ })[];
21223
+ } | undefined;
21224
+ })[]) | undefined;
21225
+ model?: ({
21226
+ /** Model provider (e.g., openai, anthropic) */
21227
+ provider: string;
21228
+ /** Model name (e.g., gpt-4o, claude-3-opus) */
21229
+ name: string;
21230
+ [x: string]: unknown;
21231
+ } | {
21232
+ value: {
21233
+ /** Model provider (e.g., openai, anthropic) */
21234
+ provider: string;
21235
+ /** Model name (e.g., gpt-4o, claude-3-opus) */
21236
+ name: string;
21237
+ [x: string]: unknown;
20753
21238
  };
20754
21239
  rules?: {
20755
21240
  operator: 'AND' | 'OR';
@@ -22623,6 +23108,91 @@ export type PatchStoredAgentsStoredAgentId_Body = {
22623
23108
  })[];
22624
23109
  } | undefined;
22625
23110
  }[]) | undefined) | undefined;
23111
+ browser?: ((({
23112
+ type: 'inline';
23113
+ config: {
23114
+ /** Browser provider type (e.g., stagehand, playwright) */
23115
+ provider: string;
23116
+ /** Run browser in headless mode (default: true) */
23117
+ headless?: boolean | undefined;
23118
+ /** Browser viewport dimensions */
23119
+ viewport?: {
23120
+ /** Viewport width in pixels */
23121
+ width: number;
23122
+ /** Viewport height in pixels */
23123
+ height: number;
23124
+ } | undefined;
23125
+ /** Default timeout in milliseconds (default: 10000) */
23126
+ timeout?: number | undefined;
23127
+ /** Screencast options for streaming browser frames */
23128
+ screencast?: {
23129
+ /** Image format (default: jpeg) */
23130
+ format?: ('jpeg' | 'png') | undefined;
23131
+ /** JPEG quality 0-100 (default: 80) */
23132
+ quality?: number | undefined;
23133
+ /** Max width in pixels (default: 1280) */
23134
+ maxWidth?: number | undefined;
23135
+ /** Max height in pixels (default: 720) */
23136
+ maxHeight?: number | undefined;
23137
+ /** Capture every Nth frame (default: 1) */
23138
+ everyNthFrame?: number | undefined;
23139
+ } | undefined;
23140
+ };
23141
+ } | {
23142
+ value: {
23143
+ type: 'inline';
23144
+ config: {
23145
+ /** Browser provider type (e.g., stagehand, playwright) */
23146
+ provider: string;
23147
+ /** Run browser in headless mode (default: true) */
23148
+ headless?: boolean | undefined;
23149
+ /** Browser viewport dimensions */
23150
+ viewport?: {
23151
+ /** Viewport width in pixels */
23152
+ width: number;
23153
+ /** Viewport height in pixels */
23154
+ height: number;
23155
+ } | undefined;
23156
+ /** Default timeout in milliseconds (default: 10000) */
23157
+ timeout?: number | undefined;
23158
+ /** Screencast options for streaming browser frames */
23159
+ screencast?: {
23160
+ /** Image format (default: jpeg) */
23161
+ format?: ('jpeg' | 'png') | undefined;
23162
+ /** JPEG quality 0-100 (default: 80) */
23163
+ quality?: number | undefined;
23164
+ /** Max width in pixels (default: 1280) */
23165
+ maxWidth?: number | undefined;
23166
+ /** Max height in pixels (default: 720) */
23167
+ maxHeight?: number | undefined;
23168
+ /** Capture every Nth frame (default: 1) */
23169
+ everyNthFrame?: number | undefined;
23170
+ } | undefined;
23171
+ };
23172
+ };
23173
+ rules?: {
23174
+ operator: 'AND' | 'OR';
23175
+ conditions: ({
23176
+ field: string;
23177
+ 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';
23178
+ value?: unknown | undefined;
23179
+ } | {
23180
+ operator: 'AND' | 'OR';
23181
+ conditions: ({
23182
+ field: string;
23183
+ 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';
23184
+ value?: unknown | undefined;
23185
+ } | {
23186
+ operator: 'AND' | 'OR';
23187
+ conditions: {
23188
+ field: string;
23189
+ 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';
23190
+ value?: unknown | undefined;
23191
+ }[];
23192
+ })[];
23193
+ })[];
23194
+ } | undefined;
23195
+ }[]) | boolean | null) | undefined) | undefined;
22626
23196
  requestContextSchema?: ({
22627
23197
  [key: string]: unknown;
22628
23198
  } | undefined) | undefined;
@@ -22637,6 +23207,7 @@ export type PatchStoredAgentsStoredAgentId_Response = {
22637
23207
  metadata?: {
22638
23208
  [key: string]: unknown;
22639
23209
  } | undefined;
23210
+ visibility?: ('private' | 'public') | undefined;
22640
23211
  createdAt: Date;
22641
23212
  updatedAt: Date;
22642
23213
  } | {
@@ -22648,6 +23219,11 @@ export type PatchStoredAgentsStoredAgentId_Response = {
22648
23219
  metadata?: {
22649
23220
  [key: string]: unknown;
22650
23221
  } | undefined;
23222
+ visibility?: ('private' | 'public') | undefined;
23223
+ /** Number of users who have favorited this agent */
23224
+ favoriteCount?: number | undefined;
23225
+ /** Whether the requesting user has favorited this agent */
23226
+ isFavorited?: boolean | undefined;
22651
23227
  createdAt: Date;
22652
23228
  updatedAt: Date;
22653
23229
  /** Name of the agent */
@@ -24586,6 +25162,92 @@ export type PatchStoredAgentsStoredAgentId_Response = {
24586
25162
  })[];
24587
25163
  } | undefined;
24588
25164
  }[]) | undefined;
25165
+ /** Browser configuration — object config, true (apply default), false/null (disable) */
25166
+ browser?: (({
25167
+ type: 'inline';
25168
+ config: {
25169
+ /** Browser provider type (e.g., stagehand, playwright) */
25170
+ provider: string;
25171
+ /** Run browser in headless mode (default: true) */
25172
+ headless?: boolean | undefined;
25173
+ /** Browser viewport dimensions */
25174
+ viewport?: {
25175
+ /** Viewport width in pixels */
25176
+ width: number;
25177
+ /** Viewport height in pixels */
25178
+ height: number;
25179
+ } | undefined;
25180
+ /** Default timeout in milliseconds (default: 10000) */
25181
+ timeout?: number | undefined;
25182
+ /** Screencast options for streaming browser frames */
25183
+ screencast?: {
25184
+ /** Image format (default: jpeg) */
25185
+ format?: ('jpeg' | 'png') | undefined;
25186
+ /** JPEG quality 0-100 (default: 80) */
25187
+ quality?: number | undefined;
25188
+ /** Max width in pixels (default: 1280) */
25189
+ maxWidth?: number | undefined;
25190
+ /** Max height in pixels (default: 720) */
25191
+ maxHeight?: number | undefined;
25192
+ /** Capture every Nth frame (default: 1) */
25193
+ everyNthFrame?: number | undefined;
25194
+ } | undefined;
25195
+ };
25196
+ } | {
25197
+ value: {
25198
+ type: 'inline';
25199
+ config: {
25200
+ /** Browser provider type (e.g., stagehand, playwright) */
25201
+ provider: string;
25202
+ /** Run browser in headless mode (default: true) */
25203
+ headless?: boolean | undefined;
25204
+ /** Browser viewport dimensions */
25205
+ viewport?: {
25206
+ /** Viewport width in pixels */
25207
+ width: number;
25208
+ /** Viewport height in pixels */
25209
+ height: number;
25210
+ } | undefined;
25211
+ /** Default timeout in milliseconds (default: 10000) */
25212
+ timeout?: number | undefined;
25213
+ /** Screencast options for streaming browser frames */
25214
+ screencast?: {
25215
+ /** Image format (default: jpeg) */
25216
+ format?: ('jpeg' | 'png') | undefined;
25217
+ /** JPEG quality 0-100 (default: 80) */
25218
+ quality?: number | undefined;
25219
+ /** Max width in pixels (default: 1280) */
25220
+ maxWidth?: number | undefined;
25221
+ /** Max height in pixels (default: 720) */
25222
+ maxHeight?: number | undefined;
25223
+ /** Capture every Nth frame (default: 1) */
25224
+ everyNthFrame?: number | undefined;
25225
+ } | undefined;
25226
+ };
25227
+ };
25228
+ rules?: {
25229
+ operator: 'AND' | 'OR';
25230
+ conditions: ({
25231
+ field: string;
25232
+ 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';
25233
+ value?: unknown | undefined;
25234
+ } | {
25235
+ operator: 'AND' | 'OR';
25236
+ conditions: ({
25237
+ field: string;
25238
+ 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';
25239
+ value?: unknown | undefined;
25240
+ } | {
25241
+ operator: 'AND' | 'OR';
25242
+ conditions: {
25243
+ field: string;
25244
+ 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';
25245
+ value?: unknown | undefined;
25246
+ }[];
25247
+ })[];
25248
+ })[];
25249
+ } | undefined;
25250
+ }[]) | boolean | null) | undefined;
24589
25251
  /** JSON Schema defining valid request context variables */
24590
25252
  requestContextSchema?: {
24591
25253
  [key: string]: unknown;
@@ -35083,6 +35745,64 @@ export interface DeleteStoredAgentsAgentIdVersionsVersionId_RouteContract {
35083
35745
  response: DeleteStoredAgentsAgentIdVersionsVersionId_Response;
35084
35746
  responseType: 'json';
35085
35747
  }
35748
+ export type PutStoredAgentsStoredAgentIdFavorite_PathParams = {
35749
+ /** Unique identifier for the stored agent */
35750
+ storedAgentId: string;
35751
+ };
35752
+ export type PutStoredAgentsStoredAgentIdFavorite_Response = {
35753
+ /** Whether the entity is currently favorited by the caller */
35754
+ favorited: boolean;
35755
+ /** Total number of users who have favorited this entity */
35756
+ favoriteCount: number;
35757
+ };
35758
+ export type PutStoredAgentsStoredAgentIdFavorite_Request = Simplify<(PutStoredAgentsStoredAgentIdFavorite_PathParams extends never ? {} : {
35759
+ params: PutStoredAgentsStoredAgentIdFavorite_PathParams;
35760
+ }) & (never extends never ? {} : {} extends never ? {
35761
+ query?: never;
35762
+ } : {
35763
+ query: never;
35764
+ }) & (never extends never ? {} : {} extends never ? {
35765
+ body?: never;
35766
+ } : {
35767
+ body: never;
35768
+ })>;
35769
+ export interface PutStoredAgentsStoredAgentIdFavorite_RouteContract {
35770
+ pathParams: PutStoredAgentsStoredAgentIdFavorite_PathParams;
35771
+ queryParams: never;
35772
+ body: never;
35773
+ request: PutStoredAgentsStoredAgentIdFavorite_Request;
35774
+ response: PutStoredAgentsStoredAgentIdFavorite_Response;
35775
+ responseType: 'json';
35776
+ }
35777
+ export type DeleteStoredAgentsStoredAgentIdFavorite_PathParams = {
35778
+ /** Unique identifier for the stored agent */
35779
+ storedAgentId: string;
35780
+ };
35781
+ export type DeleteStoredAgentsStoredAgentIdFavorite_Response = {
35782
+ /** Whether the entity is currently favorited by the caller */
35783
+ favorited: boolean;
35784
+ /** Total number of users who have favorited this entity */
35785
+ favoriteCount: number;
35786
+ };
35787
+ export type DeleteStoredAgentsStoredAgentIdFavorite_Request = Simplify<(DeleteStoredAgentsStoredAgentIdFavorite_PathParams extends never ? {} : {
35788
+ params: DeleteStoredAgentsStoredAgentIdFavorite_PathParams;
35789
+ }) & (never extends never ? {} : {} extends never ? {
35790
+ query?: never;
35791
+ } : {
35792
+ query: never;
35793
+ }) & (never extends never ? {} : {} extends never ? {
35794
+ body?: never;
35795
+ } : {
35796
+ body: never;
35797
+ })>;
35798
+ export interface DeleteStoredAgentsStoredAgentIdFavorite_RouteContract {
35799
+ pathParams: DeleteStoredAgentsStoredAgentIdFavorite_PathParams;
35800
+ queryParams: never;
35801
+ body: never;
35802
+ request: DeleteStoredAgentsStoredAgentIdFavorite_Request;
35803
+ response: DeleteStoredAgentsStoredAgentIdFavorite_Response;
35804
+ responseType: 'json';
35805
+ }
35086
35806
  export type GetStoredMcpClients_QueryParams = {
35087
35807
  page: number | undefined;
35088
35808
  perPage: number | undefined;
@@ -37657,6 +38377,8 @@ export type GetStoredWorkspaces_Response = {
37657
38377
  autoSync?: boolean | undefined;
37658
38378
  /** Operation timeout in milliseconds */
37659
38379
  operationTimeout?: number | undefined;
38380
+ /** Whether this workspace is registered at runtime */
38381
+ runtimeRegistered?: boolean | undefined;
37660
38382
  }[];
37661
38383
  };
37662
38384
  export type GetStoredWorkspaces_Request = Simplify<(never extends never ? {} : {
@@ -38244,12 +38966,27 @@ export type GetStoredSkills_QueryParams = {
38244
38966
  field?: ('createdAt' | 'updatedAt') | undefined;
38245
38967
  direction?: ('ASC' | 'DESC') | undefined;
38246
38968
  } | undefined;
38969
+ /** Filter skills by status */
38970
+ status?: ('draft' | 'published' | 'archived') | undefined;
38247
38971
  /** Filter skills by author identifier */
38248
38972
  authorId?: string | undefined;
38973
+ /** Filter to only public skills */
38974
+ visibility?: 'public' | undefined;
38249
38975
  /** Filter skills by metadata key-value pairs */
38250
38976
  metadata?: {
38251
38977
  [key: string]: unknown;
38252
38978
  } | undefined;
38979
+ /** When true, return only skills favorited by the caller (requires the `favorites` EE feature) */
38980
+ favoritedOnly?: boolean | undefined;
38981
+ /** When set, treat the given subject (user/role) as the favoriting principal for `favoritedOnly` instead of the caller */
38982
+ pinFavoritedFor?: string | undefined;
38983
+ };
38984
+ type GetStoredSkills_Response_Auxiliary_5 = {
38985
+ id?: string | undefined;
38986
+ name: string;
38987
+ type: 'file' | 'folder';
38988
+ content?: string | undefined;
38989
+ children?: GetStoredSkills_Response_Auxiliary_5[] | undefined;
38253
38990
  };
38254
38991
  export type GetStoredSkills_Response = {
38255
38992
  total: number;
@@ -38262,6 +38999,11 @@ export type GetStoredSkills_Response = {
38262
38999
  status: string;
38263
39000
  activeVersionId?: string | undefined;
38264
39001
  authorId?: string | undefined;
39002
+ visibility?: ('private' | 'public') | undefined;
39003
+ /** Number of users who have favorited this skill */
39004
+ favoriteCount?: number | undefined;
39005
+ /** Whether the requesting user has favorited this skill */
39006
+ isFavorited?: boolean | undefined;
38265
39007
  createdAt: Date;
38266
39008
  updatedAt: Date;
38267
39009
  /** Name of the skill */
@@ -38294,6 +39036,8 @@ export type GetStoredSkills_Response = {
38294
39036
  scripts?: string[] | undefined;
38295
39037
  /** List of asset file paths */
38296
39038
  assets?: string[] | undefined;
39039
+ /** Full file tree structure for the skill */
39040
+ files?: GetStoredSkills_Response_Auxiliary_5[] | undefined;
38297
39041
  /** Additional metadata for the skill */
38298
39042
  metadata?: {
38299
39043
  [key: string]: unknown;
@@ -38323,12 +39067,24 @@ export type GetStoredSkillsStoredSkillId_PathParams = {
38323
39067
  /** Unique identifier for the stored skill */
38324
39068
  storedSkillId: string;
38325
39069
  };
39070
+ type GetStoredSkillsStoredSkillId_Response_Auxiliary_4 = {
39071
+ id?: string | undefined;
39072
+ name: string;
39073
+ type: 'file' | 'folder';
39074
+ content?: string | undefined;
39075
+ children?: GetStoredSkillsStoredSkillId_Response_Auxiliary_4[] | undefined;
39076
+ };
38326
39077
  export type GetStoredSkillsStoredSkillId_Response = {
38327
39078
  id: string;
38328
39079
  /** Skill status: draft, published, or archived */
38329
39080
  status: string;
38330
39081
  activeVersionId?: string | undefined;
38331
39082
  authorId?: string | undefined;
39083
+ visibility?: ('private' | 'public') | undefined;
39084
+ /** Number of users who have favorited this skill */
39085
+ favoriteCount?: number | undefined;
39086
+ /** Whether the requesting user has favorited this skill */
39087
+ isFavorited?: boolean | undefined;
38332
39088
  createdAt: Date;
38333
39089
  updatedAt: Date;
38334
39090
  /** Name of the skill */
@@ -38361,6 +39117,8 @@ export type GetStoredSkillsStoredSkillId_Response = {
38361
39117
  scripts?: string[] | undefined;
38362
39118
  /** List of asset file paths */
38363
39119
  assets?: string[] | undefined;
39120
+ /** Full file tree structure for the skill */
39121
+ files?: GetStoredSkillsStoredSkillId_Response_Auxiliary_4[] | undefined;
38364
39122
  /** Additional metadata for the skill */
38365
39123
  metadata?: {
38366
39124
  [key: string]: unknown;
@@ -38385,11 +39143,20 @@ export interface GetStoredSkillsStoredSkillId_RouteContract {
38385
39143
  response: GetStoredSkillsStoredSkillId_Response;
38386
39144
  responseType: 'json';
38387
39145
  }
39146
+ type PostStoredSkills_Body_Auxiliary_4 = {
39147
+ id?: string | undefined;
39148
+ name: string;
39149
+ type: 'file' | 'folder';
39150
+ content?: string | undefined;
39151
+ children?: PostStoredSkills_Body_Auxiliary_4[] | undefined;
39152
+ };
38388
39153
  export type PostStoredSkills_Body = {
38389
39154
  /** Unique identifier. If not provided, derived from name. */
38390
39155
  id?: string | undefined;
38391
39156
  /** Author identifier for multi-tenant filtering */
38392
39157
  authorId?: string | undefined;
39158
+ /** Skill visibility: private (owner/admin only) or public (any reader) */
39159
+ visibility?: ('private' | 'public') | undefined;
38393
39160
  /** Name of the skill */
38394
39161
  name: string;
38395
39162
  /** Description of what the skill does and when to use it */
@@ -38420,17 +39187,31 @@ export type PostStoredSkills_Body = {
38420
39187
  scripts?: string[] | undefined;
38421
39188
  /** List of asset file paths */
38422
39189
  assets?: string[] | undefined;
39190
+ /** Full file tree structure for the skill */
39191
+ files?: PostStoredSkills_Body_Auxiliary_4[] | undefined;
38423
39192
  /** Additional metadata for the skill */
38424
39193
  metadata?: {
38425
39194
  [key: string]: unknown;
38426
39195
  } | undefined;
38427
39196
  };
39197
+ type PostStoredSkills_Response_Auxiliary_4 = {
39198
+ id?: string | undefined;
39199
+ name: string;
39200
+ type: 'file' | 'folder';
39201
+ content?: string | undefined;
39202
+ children?: PostStoredSkills_Response_Auxiliary_4[] | undefined;
39203
+ };
38428
39204
  export type PostStoredSkills_Response = {
38429
39205
  id: string;
38430
39206
  /** Skill status: draft, published, or archived */
38431
39207
  status: string;
38432
39208
  activeVersionId?: string | undefined;
38433
39209
  authorId?: string | undefined;
39210
+ visibility?: ('private' | 'public') | undefined;
39211
+ /** Number of users who have favorited this skill */
39212
+ favoriteCount?: number | undefined;
39213
+ /** Whether the requesting user has favorited this skill */
39214
+ isFavorited?: boolean | undefined;
38434
39215
  createdAt: Date;
38435
39216
  updatedAt: Date;
38436
39217
  /** Name of the skill */
@@ -38463,6 +39244,8 @@ export type PostStoredSkills_Response = {
38463
39244
  scripts?: string[] | undefined;
38464
39245
  /** List of asset file paths */
38465
39246
  assets?: string[] | undefined;
39247
+ /** Full file tree structure for the skill */
39248
+ files?: PostStoredSkills_Response_Auxiliary_4[] | undefined;
38466
39249
  /** Additional metadata for the skill */
38467
39250
  metadata?: {
38468
39251
  [key: string]: unknown;
@@ -38491,8 +39274,16 @@ export type PatchStoredSkillsStoredSkillId_PathParams = {
38491
39274
  /** Unique identifier for the stored skill */
38492
39275
  storedSkillId: string;
38493
39276
  };
39277
+ type PatchStoredSkillsStoredSkillId_Body_Auxiliary_4 = {
39278
+ id?: string | undefined;
39279
+ name: string;
39280
+ type: 'file' | 'folder';
39281
+ content?: string | undefined;
39282
+ children?: PatchStoredSkillsStoredSkillId_Body_Auxiliary_4[] | undefined;
39283
+ };
38494
39284
  export type PatchStoredSkillsStoredSkillId_Body = {
38495
39285
  authorId?: (string | undefined) | undefined;
39286
+ visibility?: (('private' | 'public') | undefined) | undefined;
38496
39287
  name?: string | undefined;
38497
39288
  description?: string | undefined;
38498
39289
  instructions?: string | undefined;
@@ -38514,15 +39305,24 @@ export type PatchStoredSkillsStoredSkillId_Body = {
38514
39305
  references?: (string[] | undefined) | undefined;
38515
39306
  scripts?: (string[] | undefined) | undefined;
38516
39307
  assets?: (string[] | undefined) | undefined;
39308
+ files?: (PatchStoredSkillsStoredSkillId_Body_Auxiliary_4[] | undefined) | undefined;
38517
39309
  metadata?: ({
38518
39310
  [key: string]: unknown;
38519
39311
  } | undefined) | undefined;
38520
39312
  };
39313
+ type PatchStoredSkillsStoredSkillId_Response_Auxiliary_5 = {
39314
+ id?: string | undefined;
39315
+ name: string;
39316
+ type: 'file' | 'folder';
39317
+ content?: string | undefined;
39318
+ children?: PatchStoredSkillsStoredSkillId_Response_Auxiliary_5[] | undefined;
39319
+ };
38521
39320
  export type PatchStoredSkillsStoredSkillId_Response = {
38522
39321
  id: string;
38523
39322
  status: string;
38524
39323
  activeVersionId?: string | undefined;
38525
39324
  authorId?: string | undefined;
39325
+ visibility?: ('private' | 'public') | undefined;
38526
39326
  createdAt: Date;
38527
39327
  updatedAt: Date;
38528
39328
  } | {
@@ -38531,6 +39331,11 @@ export type PatchStoredSkillsStoredSkillId_Response = {
38531
39331
  status: string;
38532
39332
  activeVersionId?: string | undefined;
38533
39333
  authorId?: string | undefined;
39334
+ visibility?: ('private' | 'public') | undefined;
39335
+ /** Number of users who have favorited this skill */
39336
+ favoriteCount?: number | undefined;
39337
+ /** Whether the requesting user has favorited this skill */
39338
+ isFavorited?: boolean | undefined;
38534
39339
  createdAt: Date;
38535
39340
  updatedAt: Date;
38536
39341
  /** Name of the skill */
@@ -38563,6 +39368,8 @@ export type PatchStoredSkillsStoredSkillId_Response = {
38563
39368
  scripts?: string[] | undefined;
38564
39369
  /** List of asset file paths */
38565
39370
  assets?: string[] | undefined;
39371
+ /** Full file tree structure for the skill */
39372
+ files?: PatchStoredSkillsStoredSkillId_Response_Auxiliary_5[] | undefined;
38566
39373
  /** Additional metadata for the skill */
38567
39374
  metadata?: {
38568
39375
  [key: string]: unknown;
@@ -38622,12 +39429,24 @@ export type PostStoredSkillsStoredSkillIdPublish_Body = {
38622
39429
  /** Path to the skill directory on the server filesystem (containing SKILL.md) */
38623
39430
  skillPath: string;
38624
39431
  };
39432
+ type PostStoredSkillsStoredSkillIdPublish_Response_Auxiliary_4 = {
39433
+ id?: string | undefined;
39434
+ name: string;
39435
+ type: 'file' | 'folder';
39436
+ content?: string | undefined;
39437
+ children?: PostStoredSkillsStoredSkillIdPublish_Response_Auxiliary_4[] | undefined;
39438
+ };
38625
39439
  export type PostStoredSkillsStoredSkillIdPublish_Response = {
38626
39440
  id: string;
38627
39441
  /** Skill status: draft, published, or archived */
38628
39442
  status: string;
38629
39443
  activeVersionId?: string | undefined;
38630
39444
  authorId?: string | undefined;
39445
+ visibility?: ('private' | 'public') | undefined;
39446
+ /** Number of users who have favorited this skill */
39447
+ favoriteCount?: number | undefined;
39448
+ /** Whether the requesting user has favorited this skill */
39449
+ isFavorited?: boolean | undefined;
38631
39450
  createdAt: Date;
38632
39451
  updatedAt: Date;
38633
39452
  /** Name of the skill */
@@ -38660,6 +39479,8 @@ export type PostStoredSkillsStoredSkillIdPublish_Response = {
38660
39479
  scripts?: string[] | undefined;
38661
39480
  /** List of asset file paths */
38662
39481
  assets?: string[] | undefined;
39482
+ /** Full file tree structure for the skill */
39483
+ files?: PostStoredSkillsStoredSkillIdPublish_Response_Auxiliary_4[] | undefined;
38663
39484
  /** Additional metadata for the skill */
38664
39485
  metadata?: {
38665
39486
  [key: string]: unknown;
@@ -38684,6 +39505,64 @@ export interface PostStoredSkillsStoredSkillIdPublish_RouteContract {
38684
39505
  response: PostStoredSkillsStoredSkillIdPublish_Response;
38685
39506
  responseType: 'json';
38686
39507
  }
39508
+ export type PutStoredSkillsStoredSkillIdFavorite_PathParams = {
39509
+ /** Unique identifier for the stored skill */
39510
+ storedSkillId: string;
39511
+ };
39512
+ export type PutStoredSkillsStoredSkillIdFavorite_Response = {
39513
+ /** Whether the entity is currently favorited by the caller */
39514
+ favorited: boolean;
39515
+ /** Total number of users who have favorited this entity */
39516
+ favoriteCount: number;
39517
+ };
39518
+ export type PutStoredSkillsStoredSkillIdFavorite_Request = Simplify<(PutStoredSkillsStoredSkillIdFavorite_PathParams extends never ? {} : {
39519
+ params: PutStoredSkillsStoredSkillIdFavorite_PathParams;
39520
+ }) & (never extends never ? {} : {} extends never ? {
39521
+ query?: never;
39522
+ } : {
39523
+ query: never;
39524
+ }) & (never extends never ? {} : {} extends never ? {
39525
+ body?: never;
39526
+ } : {
39527
+ body: never;
39528
+ })>;
39529
+ export interface PutStoredSkillsStoredSkillIdFavorite_RouteContract {
39530
+ pathParams: PutStoredSkillsStoredSkillIdFavorite_PathParams;
39531
+ queryParams: never;
39532
+ body: never;
39533
+ request: PutStoredSkillsStoredSkillIdFavorite_Request;
39534
+ response: PutStoredSkillsStoredSkillIdFavorite_Response;
39535
+ responseType: 'json';
39536
+ }
39537
+ export type DeleteStoredSkillsStoredSkillIdFavorite_PathParams = {
39538
+ /** Unique identifier for the stored skill */
39539
+ storedSkillId: string;
39540
+ };
39541
+ export type DeleteStoredSkillsStoredSkillIdFavorite_Response = {
39542
+ /** Whether the entity is currently favorited by the caller */
39543
+ favorited: boolean;
39544
+ /** Total number of users who have favorited this entity */
39545
+ favoriteCount: number;
39546
+ };
39547
+ export type DeleteStoredSkillsStoredSkillIdFavorite_Request = Simplify<(DeleteStoredSkillsStoredSkillIdFavorite_PathParams extends never ? {} : {
39548
+ params: DeleteStoredSkillsStoredSkillIdFavorite_PathParams;
39549
+ }) & (never extends never ? {} : {} extends never ? {
39550
+ query?: never;
39551
+ } : {
39552
+ query: never;
39553
+ }) & (never extends never ? {} : {} extends never ? {
39554
+ body?: never;
39555
+ } : {
39556
+ body: never;
39557
+ })>;
39558
+ export interface DeleteStoredSkillsStoredSkillIdFavorite_RouteContract {
39559
+ pathParams: DeleteStoredSkillsStoredSkillIdFavorite_PathParams;
39560
+ queryParams: never;
39561
+ body: never;
39562
+ request: DeleteStoredSkillsStoredSkillIdFavorite_Request;
39563
+ response: DeleteStoredSkillsStoredSkillIdFavorite_Response;
39564
+ responseType: 'json';
39565
+ }
38687
39566
  export type GetToolProviders_Response = {
38688
39567
  providers: {
38689
39568
  id: string;
@@ -40964,6 +41843,345 @@ export interface GetBackgroundTasksBackgroundTaskId_RouteContract {
40964
41843
  response: GetBackgroundTasksBackgroundTaskId_Response;
40965
41844
  responseType: 'json';
40966
41845
  }
41846
+ export type GetEditorBuilderSettings_Response = {
41847
+ enabled: boolean;
41848
+ features?: {
41849
+ agent?: {
41850
+ tools?: boolean | undefined;
41851
+ agents?: boolean | undefined;
41852
+ workflows?: boolean | undefined;
41853
+ scorers?: boolean | undefined;
41854
+ skills?: boolean | undefined;
41855
+ memory?: boolean | undefined;
41856
+ variables?: boolean | undefined;
41857
+ favorites?: boolean | undefined;
41858
+ avatarUpload?: boolean | undefined;
41859
+ browser?: boolean | undefined;
41860
+ model?: boolean | undefined;
41861
+ } | undefined;
41862
+ } | undefined;
41863
+ configuration?: {
41864
+ agent?: {
41865
+ models?: {
41866
+ allowed?: ({
41867
+ kind: 'custom';
41868
+ provider: string;
41869
+ modelId?: string | undefined;
41870
+ } | {
41871
+ provider: string;
41872
+ modelId?: string | undefined;
41873
+ })[] | undefined;
41874
+ default?: ({
41875
+ kind: 'custom';
41876
+ provider: string;
41877
+ modelId: string;
41878
+ } | {
41879
+ provider: string;
41880
+ modelId: string;
41881
+ }) | undefined;
41882
+ } | undefined;
41883
+ tools?: {
41884
+ allowed?: string[] | undefined;
41885
+ } | undefined;
41886
+ agents?: {
41887
+ allowed?: string[] | undefined;
41888
+ } | undefined;
41889
+ workflows?: {
41890
+ allowed?: string[] | undefined;
41891
+ } | undefined;
41892
+ [x: string]: unknown;
41893
+ } | undefined;
41894
+ } | undefined;
41895
+ modelPolicy?: {
41896
+ active: boolean;
41897
+ pickerVisible?: boolean | undefined;
41898
+ allowed?: ({
41899
+ kind: 'custom';
41900
+ provider: string;
41901
+ modelId?: string | undefined;
41902
+ } | {
41903
+ provider: string;
41904
+ modelId?: string | undefined;
41905
+ })[] | undefined;
41906
+ default?: ({
41907
+ kind: 'custom';
41908
+ provider: string;
41909
+ modelId: string;
41910
+ } | {
41911
+ provider: string;
41912
+ modelId: string;
41913
+ }) | undefined;
41914
+ } | undefined;
41915
+ picker?: {
41916
+ visibleTools: string[] | null;
41917
+ visibleAgents: string[] | null;
41918
+ visibleWorkflows: string[] | null;
41919
+ } | undefined;
41920
+ modelPolicyWarnings?: string[] | undefined;
41921
+ };
41922
+ export type GetEditorBuilderSettings_Request = Simplify<(never extends never ? {} : {
41923
+ params: never;
41924
+ }) & (never extends never ? {} : {} extends never ? {
41925
+ query?: never;
41926
+ } : {
41927
+ query: never;
41928
+ }) & (never extends never ? {} : {} extends never ? {
41929
+ body?: never;
41930
+ } : {
41931
+ body: never;
41932
+ })>;
41933
+ export interface GetEditorBuilderSettings_RouteContract {
41934
+ pathParams: never;
41935
+ queryParams: never;
41936
+ body: never;
41937
+ request: GetEditorBuilderSettings_Request;
41938
+ response: GetEditorBuilderSettings_Response;
41939
+ responseType: 'json';
41940
+ }
41941
+ export type GetEditorBuilderInfrastructure_Response = {
41942
+ channels: {
41943
+ providers: {
41944
+ id: string;
41945
+ name: string;
41946
+ isConfigured: boolean;
41947
+ routeCount: number;
41948
+ }[];
41949
+ };
41950
+ browser: {
41951
+ type: string | null;
41952
+ provider: string | null;
41953
+ env: string | null;
41954
+ registered: boolean;
41955
+ availableProviders: string[];
41956
+ config: {
41957
+ key: string;
41958
+ value: string;
41959
+ }[];
41960
+ };
41961
+ workspace: {
41962
+ type: string | null;
41963
+ workspaceId: string | null;
41964
+ name: string | null;
41965
+ source: string | null;
41966
+ registered: boolean;
41967
+ hasFilesystem: boolean;
41968
+ hasSandbox: boolean;
41969
+ filesystemProvider: string | null;
41970
+ sandboxProvider: string | null;
41971
+ config: {
41972
+ key: string;
41973
+ value: string;
41974
+ }[];
41975
+ };
41976
+ registries: {
41977
+ skillsSh: {
41978
+ enabled: boolean;
41979
+ };
41980
+ };
41981
+ };
41982
+ export type GetEditorBuilderInfrastructure_Request = Simplify<(never extends never ? {} : {
41983
+ params: never;
41984
+ }) & (never extends never ? {} : {} extends never ? {
41985
+ query?: never;
41986
+ } : {
41987
+ query: never;
41988
+ }) & (never extends never ? {} : {} extends never ? {
41989
+ body?: never;
41990
+ } : {
41991
+ body: never;
41992
+ })>;
41993
+ export interface GetEditorBuilderInfrastructure_RouteContract {
41994
+ pathParams: never;
41995
+ queryParams: never;
41996
+ body: never;
41997
+ request: GetEditorBuilderInfrastructure_Request;
41998
+ response: GetEditorBuilderInfrastructure_Response;
41999
+ responseType: 'json';
42000
+ }
42001
+ export type GetEditorBuilderRegistries_Response = {
42002
+ registries: {
42003
+ /** Stable registry identifier */
42004
+ id: 'skills-sh';
42005
+ /** Whether this registry is enabled in the running deployment */
42006
+ enabled: boolean;
42007
+ /** Human-readable registry name */
42008
+ label: string;
42009
+ }[];
42010
+ };
42011
+ export type GetEditorBuilderRegistries_Request = Simplify<(never extends never ? {} : {
42012
+ params: never;
42013
+ }) & (never extends never ? {} : {} extends never ? {
42014
+ query?: never;
42015
+ } : {
42016
+ query: never;
42017
+ }) & (never extends never ? {} : {} extends never ? {
42018
+ body?: never;
42019
+ } : {
42020
+ body: never;
42021
+ })>;
42022
+ export interface GetEditorBuilderRegistries_RouteContract {
42023
+ pathParams: never;
42024
+ queryParams: never;
42025
+ body: never;
42026
+ request: GetEditorBuilderRegistries_Request;
42027
+ response: GetEditorBuilderRegistries_Response;
42028
+ responseType: 'json';
42029
+ }
42030
+ export type GetEditorBuilderRegistriesRegistryIdSearch_PathParams = {
42031
+ /** Registry identifier (e.g. "skills-sh") */
42032
+ registryId: string;
42033
+ };
42034
+ export type GetEditorBuilderRegistriesRegistryIdSearch_QueryParams = {
42035
+ /** Search query */
42036
+ q: string;
42037
+ /** Maximum number of results (1-100) */
42038
+ limit: number | undefined;
42039
+ };
42040
+ export type GetEditorBuilderRegistriesRegistryIdSearch_Response = {
42041
+ query: string;
42042
+ searchType: string;
42043
+ skills: {
42044
+ id: string;
42045
+ name: string;
42046
+ installs: number;
42047
+ topSource: string;
42048
+ }[];
42049
+ count: number;
42050
+ };
42051
+ export type GetEditorBuilderRegistriesRegistryIdSearch_Request = Simplify<(GetEditorBuilderRegistriesRegistryIdSearch_PathParams extends never ? {} : {
42052
+ params: GetEditorBuilderRegistriesRegistryIdSearch_PathParams;
42053
+ }) & (GetEditorBuilderRegistriesRegistryIdSearch_QueryParams extends never ? {} : {} extends GetEditorBuilderRegistriesRegistryIdSearch_QueryParams ? {
42054
+ query?: GetEditorBuilderRegistriesRegistryIdSearch_QueryParams;
42055
+ } : {
42056
+ query: GetEditorBuilderRegistriesRegistryIdSearch_QueryParams;
42057
+ }) & (never extends never ? {} : {} extends never ? {
42058
+ body?: never;
42059
+ } : {
42060
+ body: never;
42061
+ })>;
42062
+ export interface GetEditorBuilderRegistriesRegistryIdSearch_RouteContract {
42063
+ pathParams: GetEditorBuilderRegistriesRegistryIdSearch_PathParams;
42064
+ queryParams: GetEditorBuilderRegistriesRegistryIdSearch_QueryParams;
42065
+ body: never;
42066
+ request: GetEditorBuilderRegistriesRegistryIdSearch_Request;
42067
+ response: GetEditorBuilderRegistriesRegistryIdSearch_Response;
42068
+ responseType: 'json';
42069
+ }
42070
+ export type GetEditorBuilderRegistriesRegistryIdPopular_PathParams = {
42071
+ /** Registry identifier (e.g. "skills-sh") */
42072
+ registryId: string;
42073
+ };
42074
+ export type GetEditorBuilderRegistriesRegistryIdPopular_QueryParams = {
42075
+ /** Maximum number of results (1-100) */
42076
+ limit: number | undefined;
42077
+ /** Offset for pagination (must be a multiple of `limit`) */
42078
+ offset: number | undefined;
42079
+ };
42080
+ export type GetEditorBuilderRegistriesRegistryIdPopular_Response = {
42081
+ skills: {
42082
+ id: string;
42083
+ name: string;
42084
+ installs: number;
42085
+ topSource: string;
42086
+ }[];
42087
+ count: number;
42088
+ limit: number;
42089
+ offset: number;
42090
+ };
42091
+ export type GetEditorBuilderRegistriesRegistryIdPopular_Request = Simplify<(GetEditorBuilderRegistriesRegistryIdPopular_PathParams extends never ? {} : {
42092
+ params: GetEditorBuilderRegistriesRegistryIdPopular_PathParams;
42093
+ }) & (GetEditorBuilderRegistriesRegistryIdPopular_QueryParams extends never ? {} : {} extends GetEditorBuilderRegistriesRegistryIdPopular_QueryParams ? {
42094
+ query?: GetEditorBuilderRegistriesRegistryIdPopular_QueryParams;
42095
+ } : {
42096
+ query: GetEditorBuilderRegistriesRegistryIdPopular_QueryParams;
42097
+ }) & (never extends never ? {} : {} extends never ? {
42098
+ body?: never;
42099
+ } : {
42100
+ body: never;
42101
+ })>;
42102
+ export interface GetEditorBuilderRegistriesRegistryIdPopular_RouteContract {
42103
+ pathParams: GetEditorBuilderRegistriesRegistryIdPopular_PathParams;
42104
+ queryParams: GetEditorBuilderRegistriesRegistryIdPopular_QueryParams;
42105
+ body: never;
42106
+ request: GetEditorBuilderRegistriesRegistryIdPopular_Request;
42107
+ response: GetEditorBuilderRegistriesRegistryIdPopular_Response;
42108
+ responseType: 'json';
42109
+ }
42110
+ export type GetEditorBuilderRegistriesRegistryIdPreview_PathParams = {
42111
+ /** Registry identifier (e.g. "skills-sh") */
42112
+ registryId: string;
42113
+ };
42114
+ export type GetEditorBuilderRegistriesRegistryIdPreview_QueryParams = {
42115
+ /** GitHub repository owner */
42116
+ owner: string;
42117
+ /** GitHub repository name */
42118
+ repo: string;
42119
+ /** Skill name within repo */
42120
+ path: string;
42121
+ };
42122
+ export type GetEditorBuilderRegistriesRegistryIdPreview_Response = {
42123
+ content: string;
42124
+ };
42125
+ export type GetEditorBuilderRegistriesRegistryIdPreview_Request = Simplify<(GetEditorBuilderRegistriesRegistryIdPreview_PathParams extends never ? {} : {
42126
+ params: GetEditorBuilderRegistriesRegistryIdPreview_PathParams;
42127
+ }) & (GetEditorBuilderRegistriesRegistryIdPreview_QueryParams extends never ? {} : {} extends GetEditorBuilderRegistriesRegistryIdPreview_QueryParams ? {
42128
+ query?: GetEditorBuilderRegistriesRegistryIdPreview_QueryParams;
42129
+ } : {
42130
+ query: GetEditorBuilderRegistriesRegistryIdPreview_QueryParams;
42131
+ }) & (never extends never ? {} : {} extends never ? {
42132
+ body?: never;
42133
+ } : {
42134
+ body: never;
42135
+ })>;
42136
+ export interface GetEditorBuilderRegistriesRegistryIdPreview_RouteContract {
42137
+ pathParams: GetEditorBuilderRegistriesRegistryIdPreview_PathParams;
42138
+ queryParams: GetEditorBuilderRegistriesRegistryIdPreview_QueryParams;
42139
+ body: never;
42140
+ request: GetEditorBuilderRegistriesRegistryIdPreview_Request;
42141
+ response: GetEditorBuilderRegistriesRegistryIdPreview_Response;
42142
+ responseType: 'json';
42143
+ }
42144
+ export type PostEditorBuilderRegistriesRegistryIdInstall_PathParams = {
42145
+ /** Registry identifier (e.g. "skills-sh") */
42146
+ registryId: string;
42147
+ };
42148
+ export type PostEditorBuilderRegistriesRegistryIdInstall_Body = {
42149
+ /** GitHub repository owner */
42150
+ owner: string;
42151
+ /** GitHub repository name */
42152
+ repo: string;
42153
+ /** Skill name from the registry */
42154
+ skillName: string;
42155
+ /** Visibility for the new stored skill */
42156
+ visibility?: ('private' | 'public') | undefined;
42157
+ };
42158
+ export type PostEditorBuilderRegistriesRegistryIdInstall_Response = {
42159
+ /** Id of the newly created stored skill */
42160
+ storedSkillId: string;
42161
+ /** Resolved skill name */
42162
+ name: string;
42163
+ /** Number of files materialized into the skill version snapshot */
42164
+ filesWritten: number;
42165
+ };
42166
+ export type PostEditorBuilderRegistriesRegistryIdInstall_Request = Simplify<(PostEditorBuilderRegistriesRegistryIdInstall_PathParams extends never ? {} : {
42167
+ params: PostEditorBuilderRegistriesRegistryIdInstall_PathParams;
42168
+ }) & (never extends never ? {} : {} extends never ? {
42169
+ query?: never;
42170
+ } : {
42171
+ query: never;
42172
+ }) & (PostEditorBuilderRegistriesRegistryIdInstall_Body extends never ? {} : {} extends PostEditorBuilderRegistriesRegistryIdInstall_Body ? {
42173
+ body?: PostEditorBuilderRegistriesRegistryIdInstall_Body;
42174
+ } : {
42175
+ body: PostEditorBuilderRegistriesRegistryIdInstall_Body;
42176
+ })>;
42177
+ export interface PostEditorBuilderRegistriesRegistryIdInstall_RouteContract {
42178
+ pathParams: PostEditorBuilderRegistriesRegistryIdInstall_PathParams;
42179
+ queryParams: never;
42180
+ body: PostEditorBuilderRegistriesRegistryIdInstall_Body;
42181
+ request: PostEditorBuilderRegistriesRegistryIdInstall_Request;
42182
+ response: PostEditorBuilderRegistriesRegistryIdInstall_Response;
42183
+ responseType: 'json';
42184
+ }
40967
42185
  export type GetSchedules_QueryParams = {
40968
42186
  workflowId?: string | undefined;
40969
42187
  status?: ('active' | 'paused') | undefined;
@@ -41430,6 +42648,7 @@ export interface RouteTypes {
41430
42648
  'POST /auth/refresh': PostAuthRefresh_RouteContract;
41431
42649
  'POST /auth/credentials/sign-in': PostAuthCredentialsSignIn_RouteContract;
41432
42650
  'POST /auth/credentials/sign-up': PostAuthCredentialsSignUp_RouteContract;
42651
+ 'GET /auth/roles/:roleId/permissions': GetAuthRolesRoleIdPermissions_RouteContract;
41433
42652
  'GET /workflows': GetWorkflows_RouteContract;
41434
42653
  'GET /workflows/:workflowId': GetWorkflowsWorkflowId_RouteContract;
41435
42654
  'GET /workflows/:workflowId/runs': GetWorkflowsWorkflowIdRuns_RouteContract;
@@ -41594,6 +42813,8 @@ export interface RouteTypes {
41594
42813
  'POST /stored/agents/:agentId/versions/:versionId/activate': PostStoredAgentsAgentIdVersionsVersionIdActivate_RouteContract;
41595
42814
  'POST /stored/agents/:agentId/versions/:versionId/restore': PostStoredAgentsAgentIdVersionsVersionIdRestore_RouteContract;
41596
42815
  'DELETE /stored/agents/:agentId/versions/:versionId': DeleteStoredAgentsAgentIdVersionsVersionId_RouteContract;
42816
+ 'PUT /stored/agents/:storedAgentId/favorite': PutStoredAgentsStoredAgentIdFavorite_RouteContract;
42817
+ 'DELETE /stored/agents/:storedAgentId/favorite': DeleteStoredAgentsStoredAgentIdFavorite_RouteContract;
41597
42818
  'GET /stored/mcp-clients': GetStoredMcpClients_RouteContract;
41598
42819
  'GET /stored/mcp-clients/:storedMCPClientId': GetStoredMcpClientsStoredMCPClientId_RouteContract;
41599
42820
  'POST /stored/mcp-clients': PostStoredMcpClients_RouteContract;
@@ -41641,6 +42862,8 @@ export interface RouteTypes {
41641
42862
  'PATCH /stored/skills/:storedSkillId': PatchStoredSkillsStoredSkillId_RouteContract;
41642
42863
  'DELETE /stored/skills/:storedSkillId': DeleteStoredSkillsStoredSkillId_RouteContract;
41643
42864
  'POST /stored/skills/:storedSkillId/publish': PostStoredSkillsStoredSkillIdPublish_RouteContract;
42865
+ 'PUT /stored/skills/:storedSkillId/favorite': PutStoredSkillsStoredSkillIdFavorite_RouteContract;
42866
+ 'DELETE /stored/skills/:storedSkillId/favorite': DeleteStoredSkillsStoredSkillIdFavorite_RouteContract;
41644
42867
  'GET /tool-providers': GetToolProviders_RouteContract;
41645
42868
  'GET /tool-providers/:providerId/toolkits': GetToolProvidersProviderIdToolkits_RouteContract;
41646
42869
  'GET /tool-providers/:providerId/tools': GetToolProvidersProviderIdTools_RouteContract;
@@ -41677,6 +42900,13 @@ export interface RouteTypes {
41677
42900
  'GET /background-tasks/stream': GetBackgroundTasksStream_RouteContract;
41678
42901
  'GET /background-tasks': GetBackgroundTasks_RouteContract;
41679
42902
  'GET /background-tasks/:backgroundTaskId': GetBackgroundTasksBackgroundTaskId_RouteContract;
42903
+ 'GET /editor/builder/settings': GetEditorBuilderSettings_RouteContract;
42904
+ 'GET /editor/builder/infrastructure': GetEditorBuilderInfrastructure_RouteContract;
42905
+ 'GET /editor/builder/registries': GetEditorBuilderRegistries_RouteContract;
42906
+ 'GET /editor/builder/registries/:registryId/search': GetEditorBuilderRegistriesRegistryIdSearch_RouteContract;
42907
+ 'GET /editor/builder/registries/:registryId/popular': GetEditorBuilderRegistriesRegistryIdPopular_RouteContract;
42908
+ 'GET /editor/builder/registries/:registryId/preview': GetEditorBuilderRegistriesRegistryIdPreview_RouteContract;
42909
+ 'POST /editor/builder/registries/:registryId/install': PostEditorBuilderRegistriesRegistryIdInstall_RouteContract;
41680
42910
  'GET /schedules': GetSchedules_RouteContract;
41681
42911
  'GET /schedules/:scheduleId': GetSchedulesScheduleId_RouteContract;
41682
42912
  'GET /schedules/:scheduleId/triggers': GetSchedulesScheduleIdTriggers_RouteContract;
@@ -41842,6 +43072,9 @@ export interface Client {
41842
43072
  '/auth/refresh': {
41843
43073
  POST: PostAuthRefresh_RouteContract;
41844
43074
  };
43075
+ '/auth/roles/:roleId/permissions': {
43076
+ GET: GetAuthRolesRoleIdPermissions_RouteContract;
43077
+ };
41845
43078
  '/auth/sso/callback': {
41846
43079
  GET: GetAuthSsoCallback_RouteContract;
41847
43080
  };
@@ -41922,6 +43155,27 @@ export interface Client {
41922
43155
  '/datasets/cluster-failures': {
41923
43156
  POST: PostDatasetsClusterFailures_RouteContract;
41924
43157
  };
43158
+ '/editor/builder/infrastructure': {
43159
+ GET: GetEditorBuilderInfrastructure_RouteContract;
43160
+ };
43161
+ '/editor/builder/registries': {
43162
+ GET: GetEditorBuilderRegistries_RouteContract;
43163
+ };
43164
+ '/editor/builder/registries/:registryId/install': {
43165
+ POST: PostEditorBuilderRegistriesRegistryIdInstall_RouteContract;
43166
+ };
43167
+ '/editor/builder/registries/:registryId/popular': {
43168
+ GET: GetEditorBuilderRegistriesRegistryIdPopular_RouteContract;
43169
+ };
43170
+ '/editor/builder/registries/:registryId/preview': {
43171
+ GET: GetEditorBuilderRegistriesRegistryIdPreview_RouteContract;
43172
+ };
43173
+ '/editor/builder/registries/:registryId/search': {
43174
+ GET: GetEditorBuilderRegistriesRegistryIdSearch_RouteContract;
43175
+ };
43176
+ '/editor/builder/settings': {
43177
+ GET: GetEditorBuilderSettings_RouteContract;
43178
+ };
41925
43179
  '/embedders': {
41926
43180
  GET: GetEmbedders_RouteContract;
41927
43181
  };
@@ -42209,6 +43463,10 @@ export interface Client {
42209
43463
  GET: GetStoredAgentsStoredAgentId_RouteContract;
42210
43464
  PATCH: PatchStoredAgentsStoredAgentId_RouteContract;
42211
43465
  };
43466
+ '/stored/agents/:storedAgentId/favorite': {
43467
+ DELETE: DeleteStoredAgentsStoredAgentIdFavorite_RouteContract;
43468
+ PUT: PutStoredAgentsStoredAgentIdFavorite_RouteContract;
43469
+ };
42212
43470
  '/stored/agents/preview-instructions': {
42213
43471
  POST: PostStoredAgentsPreviewInstructions_RouteContract;
42214
43472
  };
@@ -42299,6 +43557,10 @@ export interface Client {
42299
43557
  GET: GetStoredSkillsStoredSkillId_RouteContract;
42300
43558
  PATCH: PatchStoredSkillsStoredSkillId_RouteContract;
42301
43559
  };
43560
+ '/stored/skills/:storedSkillId/favorite': {
43561
+ DELETE: DeleteStoredSkillsStoredSkillIdFavorite_RouteContract;
43562
+ PUT: PutStoredSkillsStoredSkillIdFavorite_RouteContract;
43563
+ };
42302
43564
  '/stored/skills/:storedSkillId/publish': {
42303
43565
  POST: PostStoredSkillsStoredSkillIdPublish_RouteContract;
42304
43566
  };