Add createTaskFlow/editTaskFlow actions#2188
Merged
hillary-mutisya merged 1 commit intomicrosoft:mainfrom Apr 11, 2026
Merged
Conversation
TaskFlow: - Add createTaskFlow action for direct flow registration from reasoning (name, description, parameters, script, grammarPatterns) - Add editTaskFlow action for modifying existing flows - Add deleteTaskFlow action for removing flows - Extract ParameterDefinition interface from inline type in TaskFlowStore - Expand TaskFlowStore with hasFlow(), saveFlowFromAction(), and deleteFlow() methods for CRUD operations - Fix taskFlowScriptApi to handle both array and record parameter formats and support optional testValue fields ScriptFlow: - Add testScriptFlow action for test-then-register pattern — executes a script in sandbox without saving, allowing validation before registration - Add hasFlow() to ScriptFlowStore for duplicate checking Dispatcher: - Expose CommandHandlerContext via _systemContext on sessionContext so agents executing nested actions (e.g., TaskFlow calling player actions) resolve the correct system context - Fix actionHandlers to use _systemContext fallback for nested execution - Reload dynamic schemas and grammars after schema reload in appAgentManager to pick up newly registered flows immediately
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.
TaskFlow:
ScriptFlow:
Dispatcher: