feat(#441): add profile cloning and description editing (#463)

* feat(#441): add profile cloning and description editing

* feat(#441): add profile builder wizard and API enhancements

Introduce 5-step Profile Builder wizard into ProfilesScreen and add support for create/clone endpoints.

* fix(#441): restore imports and add ProfileInfo constructor defaults

* style: run ktlint format on codebase to fix styling errors

* fix(#441): address PR review comments including provider slug bug, validation, and strings

* fix(#441): remove unused McpServerConfigInput import

---------

Co-authored-by: Hermes Agent <hermes@agent.local>
This commit is contained in:
M57andHermes Agent authored and GitHub committed 2026-07-03 22:24:42 +03:00
1 parent 846a9380e2
commit d181851670
37 files changed
+2299 -448

No files matched your search

@@ -59,7 +59,11 @@ import com.m57.hermescontrol.ui.common.listItemSpacing
// ── State → badge colour / label ──────────────────────────────────────
private data class StateStyle(val label: String, val color: Color, val icon: ImageVector)
private data class StateStyle(
val label: String,
val color: Color,
val icon: ImageVector,
)
@Composable
private fun platformStateStyle(state: String): StateStyle =
@@ -26,7 +26,9 @@ data class ChannelsUiState(
val testingId: String? = null,
)
class ChannelsViewModel : ViewModel(), ToastHost {
class ChannelsViewModel :
ViewModel(),
ToastHost {
private val _uiState = MutableStateFlow(ChannelsUiState())
val uiState: StateFlow<ChannelsUiState> = _uiState.asStateFlow()