diff --git a/AIStudio.xcodeproj/project.pbxproj b/AIStudio.xcodeproj/project.pbxproj index aabeadc..b5a1268 100644 --- a/AIStudio.xcodeproj/project.pbxproj +++ b/AIStudio.xcodeproj/project.pbxproj @@ -288,7 +288,7 @@ CLANG_ENABLE_OBJC_WEAK = YES; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 31; + CURRENT_PROJECT_VERSION = 32; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = 39R6U3437D; ENABLE_HARDENED_RUNTIME = NO; @@ -296,7 +296,7 @@ INFOPLIST_FILE = Info.plist; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; LD_RUNPATH_SEARCH_PATHS = ("$(inherited)", "@executable_path/../Frameworks"); - MARKETING_VERSION = 1.1.29; + MARKETING_VERSION = 1.1.30; OTHER_LDFLAGS = ( "$(inherited)", "-lsqlite3", @@ -314,14 +314,14 @@ CLANG_ENABLE_OBJC_WEAK = YES; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 31; + CURRENT_PROJECT_VERSION = 32; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = 39R6U3437D; ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = Info.plist; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; LD_RUNPATH_SEARCH_PATHS = ("$(inherited)", "@executable_path/../Frameworks"); - MARKETING_VERSION = 1.1.29; + MARKETING_VERSION = 1.1.30; OTHER_LDFLAGS = ( "$(inherited)", "-lsqlite3", diff --git a/Docs/LOCAL-MODELS.md b/Docs/LOCAL-MODELS.md index 6373378..24495de 100644 --- a/Docs/LOCAL-MODELS.md +++ b/Docs/LOCAL-MODELS.md @@ -169,3 +169,11 @@ installed GGUF, MLX, Core ML, recommendations, import/filter controls, and LM Studio file and server sections. Each section remembers its expansion. The tab picker hides its redundant label to avoid vertical wrapping. Expanded content aligns to the leading edge. + +### 19 November 2026 · AI Studio 1.1.30 (32) + +Catalog metadata and actions wrap within narrow cards so the download control +remains visible. GGUF repositories use **Choose Download…** to open quantized +files. Apple Core ML uses the managed download. Other Core ML repositories +offer **Download Files…** to open their Hugging Face file listing. Installed +models continue to show their installed/use action. diff --git a/Sources/CoreMLLibrary.swift b/Sources/CoreMLLibrary.swift index b4ca1af..1404bcf 100644 --- a/Sources/CoreMLLibrary.swift +++ b/Sources/CoreMLLibrary.swift @@ -216,9 +216,10 @@ struct CoreMLModels: View { ForEach(results) { result in HubRepositoryRow(result: result, format: "Core ML") { if result.id == CoreMLDownloads.repository { - Button("View Files") { showingAppleFiles = true } + Button("Choose Download…") { showingAppleFiles = true } } else { - Link("View Files", destination: URL(string: "https://huggingface.co")!.appending(path: result.id)) + Link("Download Files…", destination: URL(string: "https://huggingface.co")!.appending(path: result.id).appending(path: "tree/main")) + .help("Open this model’s downloadable files on Hugging Face.") } } } diff --git a/Sources/GGUFDownloads.swift b/Sources/GGUFDownloads.swift index 27f4ad8..281803b 100644 --- a/Sources/GGUFDownloads.swift +++ b/Sources/GGUFDownloads.swift @@ -229,9 +229,22 @@ struct HubCatalogRow var body: some View { VStack(alignment: .leading, spacing: 6) { - HStack(content: heading).font(.headline) - HStack(content: metadata).font(.caption).foregroundStyle(.secondary) - HStack(content: actions) + HStack(content: heading) + .font(.headline) + .lineLimit(2) + .fixedSize(horizontal: false, vertical: true) + ViewThatFits(in: .horizontal) { + HStack(content: metadata).fixedSize(horizontal: true, vertical: false) + VStack(alignment: .leading, spacing: 4, content: metadata) + } + .font(.caption) + .foregroundStyle(.secondary) + ViewThatFits(in: .horizontal) { + HStack(content: actions).fixedSize(horizontal: true, vertical: false) + VStack(alignment: .leading, spacing: 8, content: actions) + .fixedSize(horizontal: false, vertical: true) + } + .buttonStyle(.bordered) footer() } .frame(maxWidth: .infinity, alignment: .leading) @@ -334,7 +347,7 @@ struct HubGGUFDownloads: View { } ForEach(repositories) { result in HubRepositoryRow(result: result, format: "GGUF") { - Button("View Files") { lookup(result.id) }.disabled(lookupInProgress || download != nil) + Button("Choose Download…") { lookup(result.id) }.disabled(lookupInProgress || download != nil) } } ForEach(assets) { asset in