-
Notifications
You must be signed in to change notification settings - Fork 18
Add Kiro provider #139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Kiro provider #139
Changes from all commits
4efebc2
a347d84
cbab362
906062c
03fb244
7b786a1
801c3b1
56864e3
29cc25e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| { | ||
| "images" : [ | ||
| { | ||
| "filename" : "kiro-ghost.svg", | ||
| "idiom" : "universal" | ||
| } | ||
| ], | ||
| "info" : { | ||
| "author" : "xcode", | ||
| "version" : 1 | ||
| }, | ||
| "properties" : { | ||
| "preserves-vector-representation" : true, | ||
| "template-rendering-intent" : "template" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -175,6 +175,12 @@ struct ProviderSubscriptionPresets { | |
| static let openCodeGo: [SubscriptionPreset] = [ | ||
| SubscriptionPreset(name: "Go", cost: 10) | ||
| ] | ||
| static let kiro: [SubscriptionPreset] = [ | ||
| SubscriptionPreset(name: "Free", cost: 0), | ||
| SubscriptionPreset(name: "Pro", cost: 20), | ||
| SubscriptionPreset(name: "Pro+", cost: 40), | ||
| SubscriptionPreset(name: "Power", cost: 200) | ||
|
Comment on lines
+178
to
+182
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
static let kiro: [SubscriptionPreset] = [
SubscriptionPreset(name: "Free", cost: 0),
SubscriptionPreset(name: "Pro", cost: 20),
SubscriptionPreset(name: "Pro+", cost: 40),
SubscriptionPreset(name: "Power", cost: 200)
]Depending on how preset matching is done (looks like name-based in
Worth picking whichever matches how other providers (Grok, Kimi) handle the same translation. |
||
| ] | ||
| static let grok: [SubscriptionPreset] = [ | ||
| SubscriptionPreset(name: "SuperGrok Lite", cost: 10), | ||
| SubscriptionPreset(name: "SuperGrok", cost: 30), | ||
|
|
@@ -210,6 +216,8 @@ struct ProviderSubscriptionPresets { | |
| return openCodeZen | ||
| case .openCodeGo: | ||
| return openCodeGo | ||
| case .kiro: | ||
| return kiro | ||
| case .grok: | ||
| return grok | ||
| case .tavilySearch: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kimi already uses
k.circle(see the.kimicase right below inMultiProviderStatusBarIconView). Two providers with the same SF symbol means a user running both can't visually tell their status-bar alerts apart. Pick a Kiro-distinct symbol — e.g.keyboard.badge.eye,cpu, or a custom asset — and apply it consistently acrossProviderIdentifier.iconName,MultiProviderStatusBarIconView, andModernStatusBarIconView.