Repository navigation
feat: a Saved section in /workflows, and syntax highlighting in the web approval view - #15
Merged
Merged
Conversation
…oval view A small TypeScript tokenizer (comments, strings, template literals, numbers, keywords, types, calls) colours the script a person reads before approving it. Tokens render as text nodes, never HTML; light and dark themes; joining the tokens gives back the source exactly (tested, including unterminated input).
The library lists the project's durable Workflows after the Runs, with the args each needs, so nobody has to remember keys. Enter asks what you want and sends /<key> <request> to the session you came from (a new one from home), where the agent builds the args and runs it; s starts a Workflow that needs no args at once and opens its Run.
…time, fresh list - a required field with a default counts as optional (zod lists it required), and a non-object args schema cannot start with no args (shown as needs args) - s is disabled while a start is in flight, so a repeated key starts one Run - overlapping loads of the saved list keep only the newest answer - saving a Run refreshes the Saved list at once
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.
TUI: Saved Workflows in
/workflowsno args,needs question · 2 optional)./<key> <request>to the session you came from (a new session when opened from home), then switches to it. The agent builds the args from the request: the same path as typing the slash command.fanoutfrom the request),s(the Run opened), andshidden for a Workflow with required args.Web: highlighted inline source