.NET Workflow - Declarative State Consolidation (#759)

* Checkpoint

* Update workflows/DeepResearch.yaml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Comment

* Fix comment

* Update package version

* Fix nuget haxx

* Checkpoint

* Code complete

* Testing

* Message content workaround

* Add sequential flow

* Checkpoint

* Integration test project

* Checkpoint

* Checkpoint cleanup

* Complete

* Checkpoint

* Fix tests

* Comment cleanup

* Namespace

* Formatting

* Analyzer updates

* Workflow update

* Fixed!

* Update dotnet/tests/Microsoft.Agents.Workflows.Declarative.UnitTests/DeclarativeWorkflowTest.cs

Co-authored-by: Tao Chen <taochen@microsoft.com>

* Fix build error

* Purge "immutable" set and dictionary

* Fix as task

* Collection expression

* Another

* Frozen => Readonly (perf)

* Fix

* Namespace

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Tao Chen <taochen@microsoft.com>
This commit is contained in:
Chris
2025-09-16 03:09:12 +00:00
committed by GitHub
co-authored by Copilot Tao Chen
parent a0664201e2
commit fb513c38a6
62 changed files with 768 additions and 752 deletions
+21 -8
View File
@@ -29,16 +29,29 @@ beginDialog:
entity:
kind: StringPrebuiltEntity
# Respond with input
- kind: SendActivity
id: sendActivity_input
activity: |-
You entered:
{Topic.OriginalInput}
- kind: ConditionGroup
id: check_completion
conditions:
Confirmed input:
{Topic.ConfirmedInput}
- condition: =Topic.OriginalInput <> Topic.ConfirmedInput
id: check_confirm
actions:
- kind: SendActivity
id: sendActivity_mismatch
activity: |-
"{Topic.ConfirmedInput}" does not match the original input of "{Topic.OriginalInput}". Please try again.
- kind: GotoAction
id: goto_again
actionId: question_confirm
elseActions: # // %%% REMOVE / BUG
- kind: SendActivity
id: sendActivity_confirmed
activity: |-
You entered:
{Topic.OriginalInput}
Confirmed input:
{Topic.ConfirmedInput}