Skip to content

Commit 1bbf47a

Browse files
chore(deps): update dependency stacklok/toolhive to v0.26.0 (#2150)
* chore(deps): update dependency stacklok/toolhive to v0.26.0 * 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 92e183b commit 1bbf47a

3 files changed

Lines changed: 19 additions & 8 deletions

File tree

common/api/generated/types.gen.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,12 @@ export type GithubComStacklokToolhivePkgAuthAwsstsConfig = {
233233
* SessionNameClaim is the JWT claim to use for role session name (default: "sub").
234234
*/
235235
session_name_claim?: string
236+
/**
237+
* SubjectProviderName identifies which upstream provider's access token to use
238+
* for STS AssumeRoleWithWebIdentity. Used by vMCP only. When empty, the bearer
239+
* token from the incoming HTTP request is used.
240+
*/
241+
subject_provider_name?: string
236242
}
237243

238244
export type GithubComStacklokToolhivePkgAuthAwsstsRoleMapping = {
@@ -658,7 +664,11 @@ export type GithubComStacklokToolhivePkgAuthserverUserInfoFieldMappingRunConfig
658664
}
659665

660666
/**
661-
* UserInfo contains configuration for fetching user information (required for OAuth2).
667+
* UserInfo contains configuration for fetching user information.
668+
* Optional: when nil, the upstream OAuth2 provider derives a deterministic
669+
* subject by SHA-256-hashing the access token (with a "tk-" prefix) instead
670+
* of calling a userinfo endpoint. OIDC providers always derive Subject from
671+
* the ID token and are unaffected.
662672
*/
663673
export type GithubComStacklokToolhivePkgAuthserverUserInfoRunConfig = {
664674
/**
@@ -815,7 +825,6 @@ export type GithubComStacklokToolhivePkgClientClientApp =
815825
| 'codex'
816826
| 'kimi-cli'
817827
| 'factory'
818-
| 'xcode'
819828

820829
export type GithubComStacklokToolhivePkgClientClientAppStatus = {
821830
client_type?: GithubComStacklokToolhivePkgClientClientApp

common/api/openapi.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,10 @@
226226
"session_name_claim": {
227227
"description": "SessionNameClaim is the JWT claim to use for role session name (default: \"sub\").",
228228
"type": "string"
229+
},
230+
"subject_provider_name": {
231+
"description": "SubjectProviderName identifies which upstream provider's access token to use\nfor STS AssumeRoleWithWebIdentity. Used by vMCP only. When empty, the bearer\ntoken from the incoming HTTP request is used.",
232+
"type": "string"
229233
}
230234
},
231235
"type": "object"
@@ -674,7 +678,7 @@
674678
"type": "object"
675679
},
676680
"github_com_stacklok_toolhive_pkg_authserver.UserInfoRunConfig": {
677-
"description": "UserInfo contains configuration for fetching user information (required for OAuth2).",
681+
"description": "UserInfo contains configuration for fetching user information.\nOptional: when nil, the upstream OAuth2 provider derives a deterministic\nsubject by SHA-256-hashing the access token (with a \"tk-\" prefix) instead\nof calling a userinfo endpoint. OIDC providers always derive Subject from\nthe ID token and are unaffected.",
678682
"properties": {
679683
"additional_headers": {
680684
"additionalProperties": {
@@ -841,8 +845,7 @@
841845
"mistral-vibe",
842846
"codex",
843847
"kimi-cli",
844-
"factory",
845-
"xcode"
848+
"factory"
846849
],
847850
"type": "string",
848851
"x-enum-varnames": [
@@ -872,8 +875,7 @@
872875
"MistralVibe",
873876
"Codex",
874877
"KimiCli",
875-
"Factory",
876-
"Xcode"
878+
"Factory"
877879
]
878880
},
879881
"github_com_stacklok_toolhive_pkg_client.ClientAppStatus": {

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.25.0'
6+
export const TOOLHIVE_VERSION = process.env.THV_VERSION ?? 'v0.26.0'

0 commit comments

Comments
 (0)