feat(webui): Personas and Schedules settings pages
Personas: a filterable list with the default marked, and an editor with name, a default toggle, the system prompt with a character and token count, Duplicate and Delete. Renaming or deleting the default keeps the collection naming one that exists; the last persona cannot be deleted. Schedules: an empty state, then one card per job with ID, task title, instructions, when (interval, cron line or a single time) and overlap. Settings opens on Personas.
This commit is contained in:
1 parent
426085a890
commit
33da726cb1
11 files changed
+426
-15
No files matched your search
+27
-1
@@ -8,6 +8,8 @@ import LogsPage from "@/logs/LogsPage.vue";
|
||||
import SchedulingPolicyPage from "@/settings/SchedulingPolicyPage.vue";
|
||||
import ToolsPage from "@/settings/ToolsPage.vue";
|
||||
import HistoryPage from "@/settings/HistoryPage.vue";
|
||||
import PersonasPage from "@/settings/PersonasPage.vue";
|
||||
import SchedulesPage from "@/settings/SchedulesPage.vue";
|
||||
import SystemAdvancedPage from "@/settings/SystemAdvancedPage.vue";
|
||||
import SystemIdentitiesPage from "@/settings/SystemIdentitiesPage.vue";
|
||||
import SystemAppearancePage from "@/settings/SystemAppearancePage.vue";
|
||||
@@ -194,6 +196,30 @@ const routes = [
|
||||
section: "channels",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/settings/personas",
|
||||
name: "settings-personas",
|
||||
component: PersonasPage,
|
||||
meta: {
|
||||
navPath: "/settings",
|
||||
settings: true,
|
||||
label: "Personas",
|
||||
description: "The system prompts chat runs under, and the default.",
|
||||
section: "settings",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/settings/schedules",
|
||||
name: "settings-schedules",
|
||||
component: SchedulesPage,
|
||||
meta: {
|
||||
navPath: "/settings",
|
||||
settings: true,
|
||||
label: "Schedules",
|
||||
description: "Work Archie starts on its own, on a timetable.",
|
||||
section: "settings",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/settings/scheduling-policy",
|
||||
name: "settings-scheduling-policy",
|
||||
@@ -245,7 +271,7 @@ const routes = [
|
||||
},
|
||||
{
|
||||
path: "/settings",
|
||||
redirect: "/settings/models",
|
||||
redirect: "/settings/personas",
|
||||
meta: {
|
||||
label: "Settings",
|
||||
description: "Everything you configure: agents, integrations, runtime.",
|
||||
|
||||
Reference in new issue
Block a user