Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public nonisolated struct SettingsPageLayout: Sendable {
case webUpdates
/// Settings > Chief's Voice input row: the Debug toggle home.voiceInput, only where it exists.
case voiceInput
/// Settings > Chief's last card: whether the Chief runs, and a hello-turn Check per backend.
case chiefDiagnostics
}

/// A group card as the layout states it: the rows of a schema group
Expand Down Expand Up @@ -180,6 +182,7 @@ public nonisolated struct SettingsPageLayout: Sendable {
// its editor (name, picture, backend; u2586); the Chief Pet card (ChatGPT's Mini & Pets)
// draws the preview, Show/Hide and the characters from its group's two rows; then the
// chat's look. Voice input (the message box's mic) shows only in builds with Debug Settings.
// Diagnostics last: whether the Chief runs, and a Check per backend.
CategorySpec(
id: "chief", title: SettingsText.keyed("settings.category.chief", "Chief"), symbol: "crown",
groups: [
Expand All @@ -188,7 +191,7 @@ public nonisolated struct SettingsPageLayout: Sendable {
// The Chief pet floating over every app, and its character.
group("settings.group.chiefPet"),
],
lead: [.chiefs, .chiefPet, .voiceInput]),
lead: [.chiefs, .chiefPet, .voiceInput], trail: [.chiefDiagnostics]),
// A core cmux feature: banners, sounds, the attention ring and the
// feed for agents, terminal programs and `cmux notify`.
CategorySpec(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ struct ChiefSettingsPageTests {
for key in Self.chiefRows { #expect(rows.contains(key), "\(key) is on the Chief page") }
}

/// Leo's list: the Chief page ends with Diagnostics (whether the Chief runs, a Check per backend).
@Test func chiefEndsWithDiagnostics() throws {
let chief = try #require(SettingsPageLayout().categories().first { $0.spec.id == "chief" })
#expect(chief.spec.trail.last == .chiefDiagnostics)
}

@Test func agentsNoLongerHoldsTheChief() throws {
let agents = try #require(SettingsPageLayout().categories().first { $0.spec.id == "agents" })
let rows = agents.groups.flatMap(\.rows)
Expand Down
2 changes: 1 addition & 1 deletion schemas/settings-export/settings-schema.sources.sha256
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ f0a70bd364a692fcccba585446dccd913cc20f865c5ab44f9d212bb9d6767fac Packages/macOS

3df34a09959f7b325f9e8450944ee5d92410df990ed26b3a0ea09bd88f360b54 Packages/macOS/CmuxNext/Sources/CmuxNextSettings/Schema/SettingText.swift

1a11c690d28c4b29158bd07275f071bd7857165aa88e293a44e35c45e72a61d9 Packages/macOS/CmuxNext/Sources/CmuxNextSettings/Schema/SettingsPageLayout.swift
819d0d094e458f36f10869cef93a30fbe70ffbd99c63d4e7c98d453e9add678f Packages/macOS/CmuxNext/Sources/CmuxNextSettings/Schema/SettingsPageLayout.swift

a981785d58bf4b528df1e085269aafaee92b427cb598961c968a87db3fac69f4 Packages/macOS/CmuxNext/Sources/CmuxNextSettings/Schema/SettingsSchema+AgentPolicy.swift

Expand Down
2 changes: 1 addition & 1 deletion schemas/settings/settings-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@
"text" : "Chief"
},
"trail" : [

"chiefDiagnostics"
]
},
{
Expand Down
25 changes: 25 additions & 0 deletions scripts/localization-allowed-omissions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6701,5 +6701,30 @@
"identityLocales": {
"de": "Updates is the standard German UI word for software updates, spelled as in English."
}
},
"chief.diagnostics.chief": {
"source": "Chief",
"identityLocales": {
"ar": "Chief is the product name of cmux's lead agent and stays untranslated.",
"bs": "Chief is the product name of cmux's lead agent and stays untranslated.",
"da": "Chief is the product name of cmux's lead agent and stays untranslated.",
"de": "Chief is the product name of cmux's lead agent and stays untranslated.",
"es": "Chief is the product name of cmux's lead agent and stays untranslated.",
"fr": "Chief is the product name of cmux's lead agent and stays untranslated.",
"it": "Chief is the product name of cmux's lead agent and stays untranslated.",
"ja": "Chief is the product name of cmux's lead agent and stays untranslated.",
"km": "Chief is the product name of cmux's lead agent and stays untranslated.",
"ko": "Chief is the product name of cmux's lead agent and stays untranslated.",
"nb": "Chief is the product name of cmux's lead agent and stays untranslated.",
"pl": "Chief is the product name of cmux's lead agent and stays untranslated.",
"pt-BR": "Chief is the product name of cmux's lead agent and stays untranslated.",
"ru": "Chief is the product name of cmux's lead agent and stays untranslated.",
"th": "Chief is the product name of cmux's lead agent and stays untranslated.",
"tr": "Chief is the product name of cmux's lead agent and stays untranslated.",
"uk": "Chief is the product name of cmux's lead agent and stays untranslated.",
"vi": "Chief is the product name of cmux's lead agent and stays untranslated.",
"zh-Hans": "Chief is the product name of cmux's lead agent and stays untranslated.",
"zh-Hant": "Chief is the product name of cmux's lead agent and stays untranslated."
}
}
}
Loading
Loading