Skip to content

Settings → Workflows: edit, rename, and delete existing Workflows #1434

Closed

Description

@Birfy

Written-by: Dev

Goal

Existing Workflows must be manageable from Settings → Workflows (and the same plugin surface): edit and delete, not only create + open.

Today

  • workflow/create and workflow/graph exist; the flowchart can be edited after Edit.
  • There is no workflow/delete (or rename) API, and list rows have no delete / rename / duplicate controls.
  • define_workflow can replace a graph by id/name, but Settings does not expose rename or delete of a saved Workflow.

Wanted

  1. Delete a saved Workflow (confirm in UI). Clean up its store entry; abort/release any live run Bots for that workflow; remove sidebar/session entry if the plugin owns one. Refuse or confirm clearly when a live run is in progress.
  2. Rename (and optional description) of an existing Workflow from Settings / drawer, persisted with the graph.
  3. Keep Edit flowchart (nodes, edges, prompts, tools) as today; ensure Finish editing still saves via workflow/graph.
  4. Nice-to-have if cheap: Duplicate a Workflow as a new id with a copy of the graph.

Surfaces

  • Plugin RPC: add workflow/delete, workflow/rename (or a single workflow/update for name/description) alongside create/graph.
  • Browser: Settings → Workflows list + open drawer — actions for rename/delete (and duplicate if done).
  • Tests: service + client/page coverage; ZH/EN strings.
  • Changelog fragment under changelog.d/.

Out of scope

Done when

Owner can open an existing Workflow, rename it, edit its graph, and delete it from Settings without hand-editing JSON under $DSH_HOME.

Activity

  1. added
    enhancementNew feature or request
    agent-taskWritten with the agent-task form; not approval for agents (that is agent-ready)
    area:uiWeb/desktop UI and copy
    area:automationScheduled tasks and automation
    agent-readyMaintainer-approved spec: an agent may take it. Only maintainers set this; never in a template
    on Oct 27, 2026
  2. Birfy commented on Oct 27, 2026

    @Birfy
    CollaboratorAuthor

    Written-by: Dev

    Claimed. Branch: workflow-crud-edit-delete. Implementing rename/delete (and duplicate if cheap) for existing Workflows in Settings + plugin RPC.

  3. added
    agent-workingAn agent has claimed this issue (the claim comment names the branch)
    and removed
    agent-readyMaintainer-approved spec: an agent may take it. Only maintainers set this; never in a template
    on Oct 27, 2026
  4. removed
    agent-taskWritten with the agent-task form; not approval for agents (that is agent-ready)
    agent-workingAn agent has claimed this issue (the claim comment names the branch)
    on Oct 27, 2026
  5. added a commit that references this issue on Oct 27, 2026
    0915151
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:automationScheduled tasks and automationarea:uiWeb/desktop UI and copyenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions