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