mirror of
https://github.com/makecindy/cindy.git
synced 2026-12-03 22:00:34 +08:00
* feat(plugins): single plugin model field and hidden background tasks Merge the per-ability "Cindy abilities" pickers and the separate task settings card on the plugin detail page into one "Model & tasks" card with a single model field. The field defaults to the system auxiliary model for quick answers (new tasks keep following the originating task) and, once set explicitly, drives both quick answers and the tasks the plugin creates. Legacy per-ability quick-answer catalog pins are migrated once into the plugin task config; media/embedding overrides are dropped in favour of the system defaults. The stray model tooltip over the row label is fixed by giving the label its own column. Add plugin background tasks: plugins declaring `agent.hiddenTasks` (with `agent.tasks`) can create tasks with `hidden: true` and toggle them with `tasks.setHidden`. Hidden tasks get `sessions.hidden_at` (migration 0126) and are excluded from the task list, search, unfinished hints, notifications and the Agent Island on Desktop and phone; the plugin detail page lists them under "Background Tasks" where the user can open them or show them in the task list, and uninstalling reveals them first. Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com> Signed-off-by: Lizi <jiali@magiclizi.com> * fix(plugins): pin explicit provider, reveal all hidden tasks on uninstall, filter stale list responses Review follow-ups for #6073: - Quick answers never switch to another provider's same-named model when the user pinned a provider; only a route on that provider is accepted. - Uninstall reveals every background task in batches instead of only the first display page, and fails loudly if a reveal does not take effect. - The renderer remembers hidden task ids so an in-flight task-list response (or a local prepend) cannot re-add a task hidden moments ago. Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com> Signed-off-by: Lizi <jiali@magiclizi.com> --------- Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com> Signed-off-by: Lizi <jiali@magiclizi.com> Co-authored-by: Chris <4436110+zqchris@users.noreply.github.com>