feat: add an interactive saved workflow manager - #2698
Merged
webbrain-one merged 1 commit intoAug 8, 2026
Conversation
|
@alectimison-maker is attempting to deploy a commit to the esokullu's projects Team on Vercel. A member of the Team first needs to authorize it. |
This was referenced Aug 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/workflowplain-text ID dump with interactive workflow cardsMotivation
Saved workflows already support guarded replay, import/export, and deletion, but
/workflowcurrently renders a plain-text list. Users must copy opaque workflowIDs into follow-up slash commands, and workflows cannot be renamed.
This adds a small management surface on top of the existing workflow APIs
without changing the workflow format or replay safety model.
Related to #442.
Design
The manager is rendered inside the existing
/workflowsystem message. Eachworkflow card displays its name, ID, step count, and parameter count.
Run and Export reuse the existing execution paths. Delete uses the existing
background operation but requires a second click within four seconds.
Rename adds a serialized background operation backed by the saved-workflow
store. It normalizes the new name and updates only
nameandupdatedAt;workflow identity, creation time, steps, parameters, targets, and safety
metadata are preserved.
Workflow names and metadata are rendered through DOM text nodes rather than
HTML interpolation.
Safety
Testing
node test/security/injection-corpus.mjs— 60/60 passednode test/rich-text-toolbar-guard.mjs— 33 passednode test/run.jscurrently reports 1515/1516 passing. The remaining failure isalso present on upstream
main:package.jsonis version 26.2.2 while thenewest
CHANGELOG.mdentry is 26.2.0.Compatibility and risks
Existing saved workflows remain compatible because the stored schema and replay
executor are unchanged. The UI intentionally reuses the current background
operations instead of adding a second management surface.
Scope
Teacher mode (#197) and opt-in persisted locator healing remain separate
follow-up changes.