@boboddy/sdk 0.2.1-alpha → 0.2.4-alpha
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/dist/client.js +64 -0
- package/dist/contracts/artifacts.d.ts +6 -0
- package/dist/contracts/artifacts.js +14297 -0
- package/dist/definitions/pipelines/index.js +28 -2
- package/dist/definitions/steps/define-step.d.ts +2 -0
- package/dist/definitions/steps/index.js +29 -2
- package/dist/definitions/steps/step-definitions-client.d.ts +3 -0
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/sdk.gen.d.ts +5 -1
- package/dist/generated/types.gen.d.ts +493 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +644 -575
- package/dist/opencode-mcp.js +2 -2
- package/dist/opencode-plugin.js +2 -2
- package/dist/push/index.js +29 -2
- package/dist/step-execution-plane-client.d.ts +39 -0
- package/package.json +5 -1
|
@@ -1169,6 +1169,7 @@ export type GetApiStepDefinitionsResponses = {
|
|
|
1169
1169
|
prompt: string | unknown;
|
|
1170
1170
|
version: number;
|
|
1171
1171
|
kind: 'built_in' | 'user_defined';
|
|
1172
|
+
executionMode: 'workspace' | 'no_workspace';
|
|
1172
1173
|
inputSchemaJson: unknown;
|
|
1173
1174
|
resultSchemaJson: unknown;
|
|
1174
1175
|
opencodeMcpJson: {
|
|
@@ -1224,6 +1225,7 @@ export type PostApiStepDefinitionsData = {
|
|
|
1224
1225
|
prompt: string;
|
|
1225
1226
|
version: number;
|
|
1226
1227
|
kind: 'built_in' | 'user_defined';
|
|
1228
|
+
executionMode?: 'workspace' | 'no_workspace';
|
|
1227
1229
|
inputSchemaJson: unknown;
|
|
1228
1230
|
resultSchemaJson: unknown;
|
|
1229
1231
|
opencodeMcpJson?: {
|
|
@@ -1395,6 +1397,7 @@ export type PostApiStepDefinitionsResponses = {
|
|
|
1395
1397
|
prompt: string | unknown;
|
|
1396
1398
|
version: number;
|
|
1397
1399
|
kind: 'built_in' | 'user_defined';
|
|
1400
|
+
executionMode: 'workspace' | 'no_workspace';
|
|
1398
1401
|
inputSchemaJson: unknown;
|
|
1399
1402
|
resultSchemaJson: unknown;
|
|
1400
1403
|
opencodeMcpJson: {
|
|
@@ -1450,6 +1453,7 @@ export type PutApiStepDefinitionsData = {
|
|
|
1450
1453
|
prompt: string;
|
|
1451
1454
|
version: number;
|
|
1452
1455
|
kind: 'built_in' | 'user_defined';
|
|
1456
|
+
executionMode?: 'workspace' | 'no_workspace';
|
|
1453
1457
|
inputSchemaJson: unknown;
|
|
1454
1458
|
resultSchemaJson: unknown;
|
|
1455
1459
|
opencodeMcpJson?: {
|
|
@@ -1589,6 +1593,7 @@ export type PutApiStepDefinitionsResponses = {
|
|
|
1589
1593
|
prompt: string | unknown;
|
|
1590
1594
|
version: number;
|
|
1591
1595
|
kind: 'built_in' | 'user_defined';
|
|
1596
|
+
executionMode: 'workspace' | 'no_workspace';
|
|
1592
1597
|
inputSchemaJson: unknown;
|
|
1593
1598
|
resultSchemaJson: unknown;
|
|
1594
1599
|
opencodeMcpJson: {
|
|
@@ -1739,6 +1744,7 @@ export type GetApiStepDefinitionsByStepDefinitionIdResponses = {
|
|
|
1739
1744
|
prompt: string | unknown;
|
|
1740
1745
|
version: number;
|
|
1741
1746
|
kind: 'built_in' | 'user_defined';
|
|
1747
|
+
executionMode: 'workspace' | 'no_workspace';
|
|
1742
1748
|
inputSchemaJson: unknown;
|
|
1743
1749
|
resultSchemaJson: unknown;
|
|
1744
1750
|
opencodeMcpJson: {
|
|
@@ -1889,6 +1895,7 @@ export type PutApiStepDefinitionsByStepDefinitionIdArchiveResponses = {
|
|
|
1889
1895
|
prompt: string | unknown;
|
|
1890
1896
|
version: number;
|
|
1891
1897
|
kind: 'built_in' | 'user_defined';
|
|
1898
|
+
executionMode: 'workspace' | 'no_workspace';
|
|
1892
1899
|
inputSchemaJson: unknown;
|
|
1893
1900
|
resultSchemaJson: unknown;
|
|
1894
1901
|
opencodeMcpJson: {
|
|
@@ -1935,6 +1942,488 @@ export type PutApiStepDefinitionsByStepDefinitionIdArchiveResponses = {
|
|
|
1935
1942
|
};
|
|
1936
1943
|
};
|
|
1937
1944
|
export type PutApiStepDefinitionsByStepDefinitionIdArchiveResponse = PutApiStepDefinitionsByStepDefinitionIdArchiveResponses[keyof PutApiStepDefinitionsByStepDefinitionIdArchiveResponses];
|
|
1945
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlData = {
|
|
1946
|
+
body: {
|
|
1947
|
+
claimToken: string;
|
|
1948
|
+
relativeStorePath: string;
|
|
1949
|
+
contentType?: string;
|
|
1950
|
+
};
|
|
1951
|
+
path: {
|
|
1952
|
+
stepExecutionId: string;
|
|
1953
|
+
};
|
|
1954
|
+
query?: never;
|
|
1955
|
+
url: '/api/step-executions/{stepExecutionId}/artifact-upload-url';
|
|
1956
|
+
};
|
|
1957
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlErrors = {
|
|
1958
|
+
/**
|
|
1959
|
+
* Response for status 401
|
|
1960
|
+
*/
|
|
1961
|
+
401: {
|
|
1962
|
+
type: string;
|
|
1963
|
+
title: string;
|
|
1964
|
+
status: number;
|
|
1965
|
+
detail?: string;
|
|
1966
|
+
instance?: string;
|
|
1967
|
+
code?: string;
|
|
1968
|
+
errors?: Array<{
|
|
1969
|
+
path: string;
|
|
1970
|
+
message: string;
|
|
1971
|
+
summary?: string;
|
|
1972
|
+
}>;
|
|
1973
|
+
};
|
|
1974
|
+
/**
|
|
1975
|
+
* Response for status 403
|
|
1976
|
+
*/
|
|
1977
|
+
403: {
|
|
1978
|
+
type: string;
|
|
1979
|
+
title: string;
|
|
1980
|
+
status: number;
|
|
1981
|
+
detail?: string;
|
|
1982
|
+
instance?: string;
|
|
1983
|
+
code?: string;
|
|
1984
|
+
errors?: Array<{
|
|
1985
|
+
path: string;
|
|
1986
|
+
message: string;
|
|
1987
|
+
summary?: string;
|
|
1988
|
+
}>;
|
|
1989
|
+
};
|
|
1990
|
+
/**
|
|
1991
|
+
* Response for status 404
|
|
1992
|
+
*/
|
|
1993
|
+
404: {
|
|
1994
|
+
type: string;
|
|
1995
|
+
title: string;
|
|
1996
|
+
status: number;
|
|
1997
|
+
detail?: string;
|
|
1998
|
+
instance?: string;
|
|
1999
|
+
code?: string;
|
|
2000
|
+
errors?: Array<{
|
|
2001
|
+
path: string;
|
|
2002
|
+
message: string;
|
|
2003
|
+
summary?: string;
|
|
2004
|
+
}>;
|
|
2005
|
+
};
|
|
2006
|
+
/**
|
|
2007
|
+
* Response for status 409
|
|
2008
|
+
*/
|
|
2009
|
+
409: {
|
|
2010
|
+
type: string;
|
|
2011
|
+
title: string;
|
|
2012
|
+
status: number;
|
|
2013
|
+
detail?: string;
|
|
2014
|
+
instance?: string;
|
|
2015
|
+
code?: string;
|
|
2016
|
+
errors?: Array<{
|
|
2017
|
+
path: string;
|
|
2018
|
+
message: string;
|
|
2019
|
+
summary?: string;
|
|
2020
|
+
}>;
|
|
2021
|
+
};
|
|
2022
|
+
/**
|
|
2023
|
+
* Response for status 422
|
|
2024
|
+
*/
|
|
2025
|
+
422: {
|
|
2026
|
+
type: string;
|
|
2027
|
+
title: string;
|
|
2028
|
+
status: number;
|
|
2029
|
+
detail?: string;
|
|
2030
|
+
instance?: string;
|
|
2031
|
+
code?: string;
|
|
2032
|
+
errors?: Array<{
|
|
2033
|
+
path: string;
|
|
2034
|
+
message: string;
|
|
2035
|
+
summary?: string;
|
|
2036
|
+
}>;
|
|
2037
|
+
};
|
|
2038
|
+
/**
|
|
2039
|
+
* Response for status 500
|
|
2040
|
+
*/
|
|
2041
|
+
500: {
|
|
2042
|
+
type: string;
|
|
2043
|
+
title: string;
|
|
2044
|
+
status: number;
|
|
2045
|
+
detail?: string;
|
|
2046
|
+
instance?: string;
|
|
2047
|
+
code?: string;
|
|
2048
|
+
errors?: Array<{
|
|
2049
|
+
path: string;
|
|
2050
|
+
message: string;
|
|
2051
|
+
summary?: string;
|
|
2052
|
+
}>;
|
|
2053
|
+
};
|
|
2054
|
+
};
|
|
2055
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlError = PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlErrors[keyof PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlErrors];
|
|
2056
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlResponses = {
|
|
2057
|
+
/**
|
|
2058
|
+
* Response for status 200
|
|
2059
|
+
*/
|
|
2060
|
+
200: {
|
|
2061
|
+
uploadUrl: string;
|
|
2062
|
+
storeRef: string;
|
|
2063
|
+
objectKey: string;
|
|
2064
|
+
expiresInSeconds: number;
|
|
2065
|
+
};
|
|
2066
|
+
};
|
|
2067
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlResponse = PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlResponses[keyof PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlResponses];
|
|
2068
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsData = {
|
|
2069
|
+
body?: never;
|
|
2070
|
+
path: {
|
|
2071
|
+
stepExecutionId: string;
|
|
2072
|
+
};
|
|
2073
|
+
query?: never;
|
|
2074
|
+
url: '/api/step-executions/{stepExecutionId}/artifacts';
|
|
2075
|
+
};
|
|
2076
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsErrors = {
|
|
2077
|
+
/**
|
|
2078
|
+
* Response for status 401
|
|
2079
|
+
*/
|
|
2080
|
+
401: {
|
|
2081
|
+
type: string;
|
|
2082
|
+
title: string;
|
|
2083
|
+
status: number;
|
|
2084
|
+
detail?: string;
|
|
2085
|
+
instance?: string;
|
|
2086
|
+
code?: string;
|
|
2087
|
+
errors?: Array<{
|
|
2088
|
+
path: string;
|
|
2089
|
+
message: string;
|
|
2090
|
+
summary?: string;
|
|
2091
|
+
}>;
|
|
2092
|
+
};
|
|
2093
|
+
/**
|
|
2094
|
+
* Response for status 403
|
|
2095
|
+
*/
|
|
2096
|
+
403: {
|
|
2097
|
+
type: string;
|
|
2098
|
+
title: string;
|
|
2099
|
+
status: number;
|
|
2100
|
+
detail?: string;
|
|
2101
|
+
instance?: string;
|
|
2102
|
+
code?: string;
|
|
2103
|
+
errors?: Array<{
|
|
2104
|
+
path: string;
|
|
2105
|
+
message: string;
|
|
2106
|
+
summary?: string;
|
|
2107
|
+
}>;
|
|
2108
|
+
};
|
|
2109
|
+
/**
|
|
2110
|
+
* Response for status 404
|
|
2111
|
+
*/
|
|
2112
|
+
404: {
|
|
2113
|
+
type: string;
|
|
2114
|
+
title: string;
|
|
2115
|
+
status: number;
|
|
2116
|
+
detail?: string;
|
|
2117
|
+
instance?: string;
|
|
2118
|
+
code?: string;
|
|
2119
|
+
errors?: Array<{
|
|
2120
|
+
path: string;
|
|
2121
|
+
message: string;
|
|
2122
|
+
summary?: string;
|
|
2123
|
+
}>;
|
|
2124
|
+
};
|
|
2125
|
+
/**
|
|
2126
|
+
* Response for status 422
|
|
2127
|
+
*/
|
|
2128
|
+
422: {
|
|
2129
|
+
type: string;
|
|
2130
|
+
title: string;
|
|
2131
|
+
status: number;
|
|
2132
|
+
detail?: string;
|
|
2133
|
+
instance?: string;
|
|
2134
|
+
code?: string;
|
|
2135
|
+
errors?: Array<{
|
|
2136
|
+
path: string;
|
|
2137
|
+
message: string;
|
|
2138
|
+
summary?: string;
|
|
2139
|
+
}>;
|
|
2140
|
+
};
|
|
2141
|
+
/**
|
|
2142
|
+
* Response for status 500
|
|
2143
|
+
*/
|
|
2144
|
+
500: {
|
|
2145
|
+
type: string;
|
|
2146
|
+
title: string;
|
|
2147
|
+
status: number;
|
|
2148
|
+
detail?: string;
|
|
2149
|
+
instance?: string;
|
|
2150
|
+
code?: string;
|
|
2151
|
+
errors?: Array<{
|
|
2152
|
+
path: string;
|
|
2153
|
+
message: string;
|
|
2154
|
+
summary?: string;
|
|
2155
|
+
}>;
|
|
2156
|
+
};
|
|
2157
|
+
};
|
|
2158
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsError = GetApiStepExecutionsByStepExecutionIdArtifactsErrors[keyof GetApiStepExecutionsByStepExecutionIdArtifactsErrors];
|
|
2159
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsResponses = {
|
|
2160
|
+
/**
|
|
2161
|
+
* Response for status 200
|
|
2162
|
+
*/
|
|
2163
|
+
200: Array<{
|
|
2164
|
+
id: string;
|
|
2165
|
+
stepExecutionId: string;
|
|
2166
|
+
relativeStorePath: string;
|
|
2167
|
+
storeRef: string;
|
|
2168
|
+
objectKey: string;
|
|
2169
|
+
sizeBytes: number;
|
|
2170
|
+
contentType: string | unknown;
|
|
2171
|
+
kind: 'generic' | 'playwright-trace';
|
|
2172
|
+
createdAt: string;
|
|
2173
|
+
}>;
|
|
2174
|
+
};
|
|
2175
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsResponse = GetApiStepExecutionsByStepExecutionIdArtifactsResponses[keyof GetApiStepExecutionsByStepExecutionIdArtifactsResponses];
|
|
2176
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactsData = {
|
|
2177
|
+
body: {
|
|
2178
|
+
claimToken: string;
|
|
2179
|
+
objectKey: string;
|
|
2180
|
+
relativeStorePath: string;
|
|
2181
|
+
sizeBytes: number;
|
|
2182
|
+
contentType?: string;
|
|
2183
|
+
kind?: 'generic' | 'playwright-trace';
|
|
2184
|
+
};
|
|
2185
|
+
path: {
|
|
2186
|
+
stepExecutionId: string;
|
|
2187
|
+
};
|
|
2188
|
+
query?: never;
|
|
2189
|
+
url: '/api/step-executions/{stepExecutionId}/artifacts';
|
|
2190
|
+
};
|
|
2191
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactsErrors = {
|
|
2192
|
+
/**
|
|
2193
|
+
* Response for status 401
|
|
2194
|
+
*/
|
|
2195
|
+
401: {
|
|
2196
|
+
type: string;
|
|
2197
|
+
title: string;
|
|
2198
|
+
status: number;
|
|
2199
|
+
detail?: string;
|
|
2200
|
+
instance?: string;
|
|
2201
|
+
code?: string;
|
|
2202
|
+
errors?: Array<{
|
|
2203
|
+
path: string;
|
|
2204
|
+
message: string;
|
|
2205
|
+
summary?: string;
|
|
2206
|
+
}>;
|
|
2207
|
+
};
|
|
2208
|
+
/**
|
|
2209
|
+
* Response for status 403
|
|
2210
|
+
*/
|
|
2211
|
+
403: {
|
|
2212
|
+
type: string;
|
|
2213
|
+
title: string;
|
|
2214
|
+
status: number;
|
|
2215
|
+
detail?: string;
|
|
2216
|
+
instance?: string;
|
|
2217
|
+
code?: string;
|
|
2218
|
+
errors?: Array<{
|
|
2219
|
+
path: string;
|
|
2220
|
+
message: string;
|
|
2221
|
+
summary?: string;
|
|
2222
|
+
}>;
|
|
2223
|
+
};
|
|
2224
|
+
/**
|
|
2225
|
+
* Response for status 404
|
|
2226
|
+
*/
|
|
2227
|
+
404: {
|
|
2228
|
+
type: string;
|
|
2229
|
+
title: string;
|
|
2230
|
+
status: number;
|
|
2231
|
+
detail?: string;
|
|
2232
|
+
instance?: string;
|
|
2233
|
+
code?: string;
|
|
2234
|
+
errors?: Array<{
|
|
2235
|
+
path: string;
|
|
2236
|
+
message: string;
|
|
2237
|
+
summary?: string;
|
|
2238
|
+
}>;
|
|
2239
|
+
};
|
|
2240
|
+
/**
|
|
2241
|
+
* Response for status 409
|
|
2242
|
+
*/
|
|
2243
|
+
409: {
|
|
2244
|
+
type: string;
|
|
2245
|
+
title: string;
|
|
2246
|
+
status: number;
|
|
2247
|
+
detail?: string;
|
|
2248
|
+
instance?: string;
|
|
2249
|
+
code?: string;
|
|
2250
|
+
errors?: Array<{
|
|
2251
|
+
path: string;
|
|
2252
|
+
message: string;
|
|
2253
|
+
summary?: string;
|
|
2254
|
+
}>;
|
|
2255
|
+
};
|
|
2256
|
+
/**
|
|
2257
|
+
* Response for status 422
|
|
2258
|
+
*/
|
|
2259
|
+
422: {
|
|
2260
|
+
type: string;
|
|
2261
|
+
title: string;
|
|
2262
|
+
status: number;
|
|
2263
|
+
detail?: string;
|
|
2264
|
+
instance?: string;
|
|
2265
|
+
code?: string;
|
|
2266
|
+
errors?: Array<{
|
|
2267
|
+
path: string;
|
|
2268
|
+
message: string;
|
|
2269
|
+
summary?: string;
|
|
2270
|
+
}>;
|
|
2271
|
+
};
|
|
2272
|
+
/**
|
|
2273
|
+
* Response for status 500
|
|
2274
|
+
*/
|
|
2275
|
+
500: {
|
|
2276
|
+
type: string;
|
|
2277
|
+
title: string;
|
|
2278
|
+
status: number;
|
|
2279
|
+
detail?: string;
|
|
2280
|
+
instance?: string;
|
|
2281
|
+
code?: string;
|
|
2282
|
+
errors?: Array<{
|
|
2283
|
+
path: string;
|
|
2284
|
+
message: string;
|
|
2285
|
+
summary?: string;
|
|
2286
|
+
}>;
|
|
2287
|
+
};
|
|
2288
|
+
};
|
|
2289
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactsError = PostApiStepExecutionsByStepExecutionIdArtifactsErrors[keyof PostApiStepExecutionsByStepExecutionIdArtifactsErrors];
|
|
2290
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactsResponses = {
|
|
2291
|
+
/**
|
|
2292
|
+
* Response for status 200
|
|
2293
|
+
*/
|
|
2294
|
+
200: {
|
|
2295
|
+
id: string;
|
|
2296
|
+
stepExecutionId: string;
|
|
2297
|
+
relativeStorePath: string;
|
|
2298
|
+
storeRef: string;
|
|
2299
|
+
objectKey: string;
|
|
2300
|
+
sizeBytes: number;
|
|
2301
|
+
contentType: string | unknown;
|
|
2302
|
+
kind: 'generic' | 'playwright-trace';
|
|
2303
|
+
createdAt: string;
|
|
2304
|
+
};
|
|
2305
|
+
};
|
|
2306
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactsResponse = PostApiStepExecutionsByStepExecutionIdArtifactsResponses[keyof PostApiStepExecutionsByStepExecutionIdArtifactsResponses];
|
|
2307
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlData = {
|
|
2308
|
+
body?: never;
|
|
2309
|
+
path: {
|
|
2310
|
+
stepExecutionId: string;
|
|
2311
|
+
artifactId: string;
|
|
2312
|
+
};
|
|
2313
|
+
query?: never;
|
|
2314
|
+
url: '/api/step-executions/{stepExecutionId}/artifacts/{artifactId}/download-url';
|
|
2315
|
+
};
|
|
2316
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlErrors = {
|
|
2317
|
+
/**
|
|
2318
|
+
* Response for status 401
|
|
2319
|
+
*/
|
|
2320
|
+
401: {
|
|
2321
|
+
type: string;
|
|
2322
|
+
title: string;
|
|
2323
|
+
status: number;
|
|
2324
|
+
detail?: string;
|
|
2325
|
+
instance?: string;
|
|
2326
|
+
code?: string;
|
|
2327
|
+
errors?: Array<{
|
|
2328
|
+
path: string;
|
|
2329
|
+
message: string;
|
|
2330
|
+
summary?: string;
|
|
2331
|
+
}>;
|
|
2332
|
+
};
|
|
2333
|
+
/**
|
|
2334
|
+
* Response for status 402
|
|
2335
|
+
*/
|
|
2336
|
+
402: {
|
|
2337
|
+
type: string;
|
|
2338
|
+
title: string;
|
|
2339
|
+
status: number;
|
|
2340
|
+
detail?: string;
|
|
2341
|
+
instance?: string;
|
|
2342
|
+
code?: string;
|
|
2343
|
+
errors?: Array<{
|
|
2344
|
+
path: string;
|
|
2345
|
+
message: string;
|
|
2346
|
+
summary?: string;
|
|
2347
|
+
}>;
|
|
2348
|
+
};
|
|
2349
|
+
/**
|
|
2350
|
+
* Response for status 403
|
|
2351
|
+
*/
|
|
2352
|
+
403: {
|
|
2353
|
+
type: string;
|
|
2354
|
+
title: string;
|
|
2355
|
+
status: number;
|
|
2356
|
+
detail?: string;
|
|
2357
|
+
instance?: string;
|
|
2358
|
+
code?: string;
|
|
2359
|
+
errors?: Array<{
|
|
2360
|
+
path: string;
|
|
2361
|
+
message: string;
|
|
2362
|
+
summary?: string;
|
|
2363
|
+
}>;
|
|
2364
|
+
};
|
|
2365
|
+
/**
|
|
2366
|
+
* Response for status 404
|
|
2367
|
+
*/
|
|
2368
|
+
404: {
|
|
2369
|
+
type: string;
|
|
2370
|
+
title: string;
|
|
2371
|
+
status: number;
|
|
2372
|
+
detail?: string;
|
|
2373
|
+
instance?: string;
|
|
2374
|
+
code?: string;
|
|
2375
|
+
errors?: Array<{
|
|
2376
|
+
path: string;
|
|
2377
|
+
message: string;
|
|
2378
|
+
summary?: string;
|
|
2379
|
+
}>;
|
|
2380
|
+
};
|
|
2381
|
+
/**
|
|
2382
|
+
* Response for status 422
|
|
2383
|
+
*/
|
|
2384
|
+
422: {
|
|
2385
|
+
type: string;
|
|
2386
|
+
title: string;
|
|
2387
|
+
status: number;
|
|
2388
|
+
detail?: string;
|
|
2389
|
+
instance?: string;
|
|
2390
|
+
code?: string;
|
|
2391
|
+
errors?: Array<{
|
|
2392
|
+
path: string;
|
|
2393
|
+
message: string;
|
|
2394
|
+
summary?: string;
|
|
2395
|
+
}>;
|
|
2396
|
+
};
|
|
2397
|
+
/**
|
|
2398
|
+
* Response for status 500
|
|
2399
|
+
*/
|
|
2400
|
+
500: {
|
|
2401
|
+
type: string;
|
|
2402
|
+
title: string;
|
|
2403
|
+
status: number;
|
|
2404
|
+
detail?: string;
|
|
2405
|
+
instance?: string;
|
|
2406
|
+
code?: string;
|
|
2407
|
+
errors?: Array<{
|
|
2408
|
+
path: string;
|
|
2409
|
+
message: string;
|
|
2410
|
+
summary?: string;
|
|
2411
|
+
}>;
|
|
2412
|
+
};
|
|
2413
|
+
};
|
|
2414
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlError = GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlErrors[keyof GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlErrors];
|
|
2415
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlResponses = {
|
|
2416
|
+
/**
|
|
2417
|
+
* Response for status 200
|
|
2418
|
+
*/
|
|
2419
|
+
200: {
|
|
2420
|
+
url: string | unknown;
|
|
2421
|
+
sizeBytes: number;
|
|
2422
|
+
contentType: string | unknown;
|
|
2423
|
+
relativeStorePath: string;
|
|
2424
|
+
};
|
|
2425
|
+
};
|
|
2426
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlResponse = GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlResponses[keyof GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlResponses];
|
|
1938
2427
|
export type PostApiStepExecutionsClaimsData = {
|
|
1939
2428
|
body: {
|
|
1940
2429
|
projectId: string;
|
|
@@ -2672,6 +3161,7 @@ export type PostApiStepExecutionsByStepExecutionIdWorkerContextResponses = {
|
|
|
2672
3161
|
key: string;
|
|
2673
3162
|
name: string;
|
|
2674
3163
|
prompt: string;
|
|
3164
|
+
executionMode: 'workspace' | 'no_workspace';
|
|
2675
3165
|
resultSchemaJson: {
|
|
2676
3166
|
[key: string]: unknown;
|
|
2677
3167
|
} | unknown;
|
|
@@ -3482,6 +3972,7 @@ export type GetApiStepExecutionsByStepExecutionIdLogsResponses = {
|
|
|
3482
3972
|
stream: 'worker' | 'ai-server' | 'conversation';
|
|
3483
3973
|
ts: string;
|
|
3484
3974
|
content: string;
|
|
3975
|
+
level: 'debug' | 'info' | 'warn' | 'error';
|
|
3485
3976
|
}>;
|
|
3486
3977
|
nextOffset: number;
|
|
3487
3978
|
complete: boolean;
|
|
@@ -3496,6 +3987,7 @@ export type PostApiStepExecutionsByStepExecutionIdLogsData = {
|
|
|
3496
3987
|
stream: 'worker' | 'ai-server' | 'conversation';
|
|
3497
3988
|
ts: string;
|
|
3498
3989
|
content: string;
|
|
3990
|
+
level: 'debug' | 'info' | 'warn' | 'error';
|
|
3499
3991
|
}>;
|
|
3500
3992
|
};
|
|
3501
3993
|
path: {
|
|
@@ -10508,6 +11000,7 @@ export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateR
|
|
|
10508
11000
|
prompt: string | unknown;
|
|
10509
11001
|
version: number;
|
|
10510
11002
|
kind: 'built_in' | 'user_defined';
|
|
11003
|
+
executionMode: 'workspace' | 'no_workspace';
|
|
10511
11004
|
inputSchemaJson: unknown;
|
|
10512
11005
|
resultSchemaJson: unknown;
|
|
10513
11006
|
opencodeMcpJson: {
|