MCPcopy Create free account
hub / github.com/arctic-cli/interface / getAvailableProfiles

Function getAvailableProfiles

packages/arctic/src/config/config.ts:1139–1142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1137 }
1138
1139 export async function getAvailableProfiles(): Promise<Record<string, PermissionConfig>> {
1140 const config = await get()
1141 return { ...DEFAULT_PERMISSION_PROFILES, ...config.permission_profile }
1142 }
1143
1144 export async function getProfile(name: string): Promise<PermissionConfig | undefined> {
1145 const profiles = await getAvailableProfiles()

Callers 1

getProfileFunction · 0.85

Calls 1

getFunction · 0.70

Tested by

no test coverage detected