( runtimeConfig: ResolvedRuntimeConfig, profileName: string, )
| 25 | } |
| 26 | |
| 27 | export function isKnownCliSessionDefaultsProfile( |
| 28 | runtimeConfig: ResolvedRuntimeConfig, |
| 29 | profileName: string, |
| 30 | ): boolean { |
| 31 | return Object.prototype.hasOwnProperty.call( |
| 32 | runtimeConfig.sessionDefaultsProfiles ?? {}, |
| 33 | profileName, |
| 34 | ); |
| 35 | } |
| 36 | |
| 37 | export function pickSchemaSessionDefaults( |
| 38 | schema: ToolSchemaShape, |
no outgoing calls
no test coverage detected