mirror of
https://github.com/modelstudioai/cli.git
synced 2026-09-14 19:49:23 +08:00
84805f287c
- preserve custom gateway path prefixes - strip query, fragment, trailing slash, and known SDK suffixes - normalize flag, environment, config, and fallback sources - normalize auth and config writes before persistence - add resolver, login, config, and UI coverage
16 lines
783 B
TypeScript
16 lines
783 B
TypeScript
export type { ConfigFile, Region, Identity, Settings } from "./schema.ts";
|
|
export { BAILIAN_HOST, CONFIG_FILE_KEYS, DOCS_HOSTS, REGIONS, parseConfigFile } from "./schema.ts";
|
|
export { normalizeConfigName, readConfigFile, writeConfigFile } from "./loader.ts";
|
|
export {
|
|
activateConfigProfile,
|
|
validateConfigProfileActivation,
|
|
readConfigProfiles,
|
|
deleteConfigProfile,
|
|
type ConfigProfiles,
|
|
} from "./loader.ts";
|
|
export { buildSources, buildSettings, type ResolutionSources } from "./loader.ts";
|
|
export { makeConfigStore, type ConfigStore } from "./store.ts";
|
|
export { ensureConfigDir, getConfigDir, getConfigPath, getCredentialsPath } from "./paths.ts";
|
|
export { getModelProfilePreset } from "./profile-presets.ts";
|
|
export { normalizeModelBaseUrl } from "./model-base-url.ts";
|