Skip to content

Commit 9e810bc

Browse files
chore(deps): update dependency stacklok/toolhive to v0.24.1 (#2095)
* chore(deps): update dependency stacklok/toolhive to v0.24.1 * chore: regenerate artifacts after dependency update --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 28d4f81 commit 9e810bc

3 files changed

Lines changed: 131 additions & 8 deletions

File tree

common/api/generated/types.gen.ts

Lines changed: 43 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,8 @@ export type GithubComStacklokToolhivePkgAuthTokenexchangeConfig = {
361361
scopes?: Array<string>
362362
/**
363363
* SubjectTokenType specifies the type of the subject token being exchanged.
364-
* Common values: tokenTypeAccessToken (default), tokenTypeIDToken, tokenTypeJWT.
365-
* If empty, defaults to tokenTypeAccessToken.
364+
* Common values: oauth.TokenTypeAccessToken (default), oauth.TokenTypeIDToken, oauth.TokenTypeJWT.
365+
* If empty, defaults to oauth.TokenTypeAccessToken.
366366
*/
367367
subject_token_type?: string
368368
/**
@@ -1094,6 +1094,13 @@ export type GithubComStacklokToolhivePkgRunnerRunConfig = {
10941094
* Only applicable when using Kubernetes runtime
10951095
*/
10961096
k8s_pod_template_patch?: string
1097+
/**
1098+
* MCPServerGeneration is the K8s .metadata.generation of the MCPServer CR that rendered
1099+
* this RunConfig. The Kubernetes runtime uses it as a monotonic version to prevent stale
1100+
* rolling-update pods from overwriting a newer RunConfig's StatefulSet apply. Zero value
1101+
* means unversioned (backward-compat with older operators, or non-operator callers).
1102+
*/
1103+
mcpserver_generation?: number
10971104
/**
10981105
* MiddlewareConfigs contains the list of middleware to apply to the transport
10991106
* and the configuration for each middleware.
@@ -4201,18 +4208,34 @@ export type PostApiV1BetaSkillsErrors = {
42014208
* Bad Request
42024209
*/
42034210
400: string
4211+
/**
4212+
* Unauthorized (registry refused credentials)
4213+
*/
4214+
401: string
4215+
/**
4216+
* Not Found (artifact not present in registry)
4217+
*/
4218+
404: string
42044219
/**
42054220
* Conflict
42064221
*/
42074222
409: string
4223+
/**
4224+
* Too Many Requests (registry rate limit)
4225+
*/
4226+
429: string
42084227
/**
42094228
* Internal Server Error
42104229
*/
42114230
500: string
42124231
/**
4213-
* Bad Gateway
4232+
* Bad Gateway (upstream registry failure)
42144233
*/
42154234
502: string
4235+
/**
4236+
* Gateway Timeout (upstream pull timed out)
4237+
*/
4238+
504: string
42164239
}
42174240

42184241
export type PostApiV1BetaSkillsError =
@@ -4346,14 +4369,30 @@ export type GetApiV1BetaSkillsContentErrors = {
43464369
* Bad Request
43474370
*/
43484371
400: string
4372+
/**
4373+
* Unauthorized (registry refused credentials)
4374+
*/
4375+
401: string
4376+
/**
4377+
* Not Found (artifact not present in registry)
4378+
*/
4379+
404: string
4380+
/**
4381+
* Too Many Requests (registry rate limit)
4382+
*/
4383+
429: string
43494384
/**
43504385
* Internal Server Error
43514386
*/
43524387
500: string
43534388
/**
4354-
* Bad Gateway
4389+
* Bad Gateway (upstream registry or git resolver failure)
43554390
*/
43564391
502: string
4392+
/**
4393+
* Gateway Timeout (upstream pull timed out)
4394+
*/
4395+
504: string
43574396
}
43584397

43594398
export type GetApiV1BetaSkillsContentError =

common/api/openapi.json

Lines changed: 87 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@
372372
"uniqueItems": false
373373
},
374374
"subject_token_type": {
375-
"description": "SubjectTokenType specifies the type of the subject token being exchanged.\nCommon values: tokenTypeAccessToken (default), tokenTypeIDToken, tokenTypeJWT.\nIf empty, defaults to tokenTypeAccessToken.",
375+
"description": "SubjectTokenType specifies the type of the subject token being exchanged.\nCommon values: oauth.TokenTypeAccessToken (default), oauth.TokenTypeIDToken, oauth.TokenTypeJWT.\nIf empty, defaults to oauth.TokenTypeAccessToken.",
376376
"type": "string"
377377
},
378378
"token_url": {
@@ -1217,6 +1217,10 @@
12171217
"description": "K8sPodTemplatePatch is a JSON string to patch the Kubernetes pod template\nOnly applicable when using Kubernetes runtime",
12181218
"type": "string"
12191219
},
1220+
"mcpserver_generation": {
1221+
"description": "MCPServerGeneration is the K8s .metadata.generation of the MCPServer CR that rendered\nthis RunConfig. The Kubernetes runtime uses it as a monotonic version to prevent stale\nrolling-update pods from overwriting a newer RunConfig's StatefulSet apply. Zero value\nmeans unversioned (backward-compat with older operators, or non-operator callers).",
1222+
"type": "integer"
1223+
},
12201224
"middleware_configs": {
12211225
"description": "MiddlewareConfigs contains the list of middleware to apply to the transport\nand the configuration for each middleware.",
12221226
"items": {
@@ -5300,6 +5304,26 @@
53005304
},
53015305
"description": "Bad Request"
53025306
},
5307+
"401": {
5308+
"content": {
5309+
"application/json": {
5310+
"schema": {
5311+
"type": "string"
5312+
}
5313+
}
5314+
},
5315+
"description": "Unauthorized (registry refused credentials)"
5316+
},
5317+
"404": {
5318+
"content": {
5319+
"application/json": {
5320+
"schema": {
5321+
"type": "string"
5322+
}
5323+
}
5324+
},
5325+
"description": "Not Found (artifact not present in registry)"
5326+
},
53035327
"409": {
53045328
"content": {
53055329
"application/json": {
@@ -5310,6 +5334,16 @@
53105334
},
53115335
"description": "Conflict"
53125336
},
5337+
"429": {
5338+
"content": {
5339+
"application/json": {
5340+
"schema": {
5341+
"type": "string"
5342+
}
5343+
}
5344+
},
5345+
"description": "Too Many Requests (registry rate limit)"
5346+
},
53135347
"500": {
53145348
"content": {
53155349
"application/json": {
@@ -5328,7 +5362,17 @@
53285362
}
53295363
}
53305364
},
5331-
"description": "Bad Gateway"
5365+
"description": "Bad Gateway (upstream registry failure)"
5366+
},
5367+
"504": {
5368+
"content": {
5369+
"application/json": {
5370+
"schema": {
5371+
"type": "string"
5372+
}
5373+
}
5374+
},
5375+
"description": "Gateway Timeout (upstream pull timed out)"
53325376
}
53335377
},
53345378
"summary": "Install a skill",
@@ -5508,6 +5552,36 @@
55085552
},
55095553
"description": "Bad Request"
55105554
},
5555+
"401": {
5556+
"content": {
5557+
"application/json": {
5558+
"schema": {
5559+
"type": "string"
5560+
}
5561+
}
5562+
},
5563+
"description": "Unauthorized (registry refused credentials)"
5564+
},
5565+
"404": {
5566+
"content": {
5567+
"application/json": {
5568+
"schema": {
5569+
"type": "string"
5570+
}
5571+
}
5572+
},
5573+
"description": "Not Found (artifact not present in registry)"
5574+
},
5575+
"429": {
5576+
"content": {
5577+
"application/json": {
5578+
"schema": {
5579+
"type": "string"
5580+
}
5581+
}
5582+
},
5583+
"description": "Too Many Requests (registry rate limit)"
5584+
},
55115585
"500": {
55125586
"content": {
55135587
"application/json": {
@@ -5526,7 +5600,17 @@
55265600
}
55275601
}
55285602
},
5529-
"description": "Bad Gateway"
5603+
"description": "Bad Gateway (upstream registry or git resolver failure)"
5604+
},
5605+
"504": {
5606+
"content": {
5607+
"application/json": {
5608+
"schema": {
5609+
"type": "string"
5610+
}
5611+
}
5612+
},
5613+
"description": "Gateway Timeout (upstream pull timed out)"
55305614
}
55315615
},
55325616
"summary": "Get skill content",

utils/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
* This is managed by Renovate and updated automatically when new versions are released.
44
* renovate: datasource=github-releases depName=stacklok/toolhive versioning=semver
55
*/
6-
export const TOOLHIVE_VERSION = process.env.THV_VERSION ?? 'v0.24.0'
6+
export const TOOLHIVE_VERSION = process.env.THV_VERSION ?? 'v0.24.1'

0 commit comments

Comments
 (0)