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

@@ -130,6 +130,7 @@ class CronJobsViewModel :
is NetworkResult.Success -> {
_uiState.update { it.copy(toastMessage = "Job triggered successfully") }
}
is NetworkResult.Failure -> {
_uiState.update { it.copy(toastMessage = "Failed to trigger cron job: ${result.error.message}") }
}
@@ -210,6 +211,7 @@ class CronJobsViewModel :
)
}
}
is NetworkResult.Failure -> {
_uiState.update {
it.copy(
@@ -300,6 +302,7 @@ class CronJobsViewModel :
closeEditor()
loadCronJobs()
}
is NetworkResult.Failure -> {
_uiState.update {
it.copy(
@@ -340,7 +343,8 @@ class CronJobsViewModel :
}
private fun parseLines(skills: String): List<String> =
skills.lines()
skills
.lines()
.map { it.trim() }
.filter { it.isNotEmpty() }