ToolPackIdentityCatalog
IntelligenceX.Tools
Pack identity catalog used to normalize pack ids, aliases, categories, and display labels.
Inheritance
- object
- ToolPackIdentityCatalog
Methods
public static IReadOnlyList<string> GetNormalizedPackAliases(string? packId) #Returns normalized compact aliases used for pack matching.
Parameters
- packId string?
Returns
IReadOnlyList<string>public static IReadOnlyList<string> GetPackSearchTokens(string? packId) #Returns pack-oriented search tokens used by planner and routing prompts.
Parameters
- packId string?
Returns
IReadOnlyList<string>public static bool IsKnownCompoundPackRoutingCompact(string? compactToken) #Indicates whether a compact token maps to a known compound pack identifier.
Parameters
- compactToken string?
Returns
boolpublic static bool IsKnownPackIdentityToken(string? value) #Indicates whether the value matches a known pack identity token or alias.
Parameters
- value string?
Returns
boolpublic static string NormalizePackCompactId(string? value) #Normalizes a token into a compact alphanumeric pack/engine alias.
Parameters
- value string?
Returns
stringpublic static string NormalizePackId(string? value) #Normalizes a pack id or engine alias into its canonical pack id.
Parameters
- value string?
Returns
stringpublic static string ResolveDisplayName(string? descriptorId, string? fallbackName) #Resolves the preferred display name for a pack, falling back to a human-friendly label derived from the canonical pack id.
Parameters
- descriptorId string?
- fallbackName string?
Returns
stringpublic static bool TryGetCategory(string? packId, out string category) #Returns the category associated with the pack identity when known.
Parameters
- packId string?
- category string
Returns
boolpublic static bool TryGetDisplayName(string? packId, out string displayName) #Returns the display label associated with the pack identity when known.
Parameters
- packId string?
- displayName string
Returns
boolpublic static bool TryResolveCategoryFromRuntimeNamespace(string? runtimeNamespace, out string category) #Resolves a category from a runtime namespace marker when it matches a known pack identity.
Parameters
- runtimeNamespace string?
- category string
Returns
boolpublic static bool TryResolveCategoryFromToolName(string? toolName, out string category) #Resolves a category from a tool-name prefix when it matches a known pack identity.
Parameters
- toolName string?
- category string
Returns
bool