Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/CodeCaps/PlatformLogo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ public enum PlatformLogoImage {
"grok-cli": ("grok", "svg"),
"grok-bot": ("grok-bot", "svg"),
"minimax": ("minimax", "png"),
"muse": ("muse", "svg"),
"muse": ("muse", "png"),
"cursor": ("cursor", "svg"),
]

Expand Down
Binary file added Sources/CodeCaps/Resources/ProviderMarks/muse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions Sources/CodeCaps/Resources/ProviderMarks/muse.svg

This file was deleted.

1 change: 1 addition & 0 deletions ios/CodeCapsCompanion/App/Models/CompanionQuotaModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ public struct CompanionQuotaItem: Identifiable, Codable, Equatable {
if key.contains("grok-bot") { return "provider-grok-bot" }
if key.contains("grok") || key.contains("xai") { return "provider-grok" }
if key.contains("minimax") { return "provider-minimax" }
if key.contains("muse") { return "provider-muse" }
if key.contains("antigravity") || key.contains("gemini") { return "provider-gemini" }
return nil
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images": [
{
"filename": "provider-muse.png",
"idiom": "universal",
"scale": "1x"
},
{
"filename": "provider-muse@2x.png",
"idiom": "universal",
"scale": "2x"
},
{
"filename": "provider-muse@3x.png",
"idiom": "universal",
"scale": "3x"
}
],
"info": {
"author": "xcode",
"version": 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions ios/CodeCapsCompanion/Widgets/WidgetViews.swift
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ struct ProviderMarkView: View {
if low.contains("openai") || low.contains("codex") { return "provider-openai" }
if low.contains("cursor") { return "provider-cursor" }
if low.contains("minimax") { return "provider-minimax" }
if low.contains("muse") { return "provider-muse" }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kody code-review Kody Rules critical

The visible Muse provider mark added to the iOS widget UI by ios/CodeCapsCompanion/Widgets/WidgetViews.swift lacks the required automated simulator screenshot coverage. Add a repeatable test or CI step that launches the companion in an iOS simulator, displays the Muse mark, and runs xcrun simctl io booted screenshot.

Also found in:

  • ios/CodeCapsCompanion/App/Models/CompanionQuotaModel.swift:296-296

Kody rule violation: Keep credentials out of public source and verify UI changes with automated screenshots

Prompt for LLM

File ios/CodeCapsCompanion/Widgets/WidgetViews.swift:

Line 142:

The visible Muse provider mark added to the iOS widget UI by `ios/CodeCapsCompanion/Widgets/WidgetViews.swift` lacks the required automated simulator screenshot coverage. Add a repeatable test or CI step that launches the companion in an iOS simulator, displays the Muse mark, and runs `xcrun simctl io booted screenshot`.

**Also found in:**
- `ios/CodeCapsCompanion/App/Models/CompanionQuotaModel.swift:296-296`

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kody code-review Kody Rules high

Missing screenshot verification leaves the Muse artwork change from the added SwiftUI mapping in ios/CodeCapsCompanion/Widgets/WidgetViews.swift unvalidated. Add a simulator test or CI step that exercises the Muse provider mark and captures it with xcrun simctl io booted screenshot before treating the UI as verified.

Also found in:

  • ios/CodeCapsCompanion/App/Models/CompanionQuotaModel.swift:296-296

Kody rule violation: Gate iOS/TestFlight releases on a signing-safe workflow and verify UI changes with automated screenshots

Prompt for LLM

File ios/CodeCapsCompanion/Widgets/WidgetViews.swift:

Line 142:

Missing screenshot verification leaves the Muse artwork change from the added SwiftUI mapping in `ios/CodeCapsCompanion/Widgets/WidgetViews.swift` unvalidated. Add a simulator test or CI step that exercises the Muse provider mark and captures it with `xcrun simctl io booted screenshot` before treating the UI as verified.

**Also found in:**
- `ios/CodeCapsCompanion/App/Models/CompanionQuotaModel.swift:296-296`

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kody code-review Bug medium

ProviderMarkView.body renders every provider mark with .resizable().scaledToFit() inside a fixed size × size frame (WidgetViews.swift:69-74), but the 512×512 provider-muse PNG contains transparent padding that makes its glyph visibly smaller than the tightly cropped SVG marks in 13pt widget rows. Crop the transparent margins from the source PNGs, or inset the Muse mark with .frame(width: size, height: size).padding(size * 0.18) so its visible glyph matches the others.

Prompt for LLM

File ios/CodeCapsCompanion/Widgets/WidgetViews.swift:

Line 142:

`ProviderMarkView.body` renders every provider mark with `.resizable().scaledToFit()` inside a fixed `size × size` frame (WidgetViews.swift:69-74), but the 512×512 `provider-muse` PNG contains transparent padding that makes its glyph visibly smaller than the tightly cropped SVG marks in 13pt widget rows. Crop the transparent margins from the source PNGs, or inset the Muse mark with `.frame(width: size, height: size).padding(size * 0.18)` so its visible glyph matches the others.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

if low.contains("antigravity") { return "provider-antigravity" }
if low.contains("gemini") { return "provider-gemini" }
if low.contains("grok-bot") { return "provider-grok-bot" }
Expand Down
Loading