* clean up caps constant names
* * Add DialogContext.State as DialogStateManager/Remove GetState() extension method
* Move DialogStateManager/ScopesPathResolvers into Dialogs assembly
* Make all IMemory implementations evaluate ExpressionProperties
* Fix layering between expressions and dialogs via MemoryFactory.Create() and internal ducktyping memory
* Move ComponentRegistration into Builder assembly
* Fix path CAPS names in paths: NOTE I have marked old values as [Obsolete] We should remove these obsolete properties right before we release or we will get broken builds for every PR because of backward compat issues.
* Add Push/Pop services to TurnContextStateCollection.
Add unit tests for TurnContextStateCollection
Add tracing to NullDialogDebugger, cause it's super damn useful and I needed it to debug the unit tests.
Fix DialogExpression which wasn't evaluating the dialog.id (messing up debugger output and id's)
* change new ToString() => override ToString()
* add copywrite
* clean up caps constant names
* * Add DialogContext.State as DialogStateManager/Remove GetState() extension method
* Move DialogStateManager/ScopesPathResolvers into Dialogs assembly
* Make all IMemory implementations evaluate ExpressionProperties
* Fix layering between expressions and dialogs via MemoryFactory.Create() and internal ducktyping memory
* Move ComponentRegistration into Builder assembly
* Fix path CAPS names in paths: NOTE I have marked old values as [Obsolete] We should remove these obsolete properties right before we release or we will get broken builds for every PR because of backward compat issues.
* API naming for Expression
* init
* fix comments
* update
* remove ExpressionBuilder
* revert some code
* fix error
* Refactor custom function tables
* Expression.Functions is global table for expressions
* Expression.Parse(str) will use Expression.Functions
* Expression.Lookup(str, lookup)
* replaced new ExpressionParser.Parse() with Expression.Parse
* Changed ExpressionFunctions.BuiltInf => StandardFunctions
* fix regsitration to go tino Expression.Functions, not StandardFunctions
* remove 'prebuilt' prefix
* LGParser.Parse to LG.Parse
* rename evaluateTemplate and evaluate
* put activityFactory peer to messageFactory
* Rename LG => Templates
* merge with master
Co-authored-by: Tom Laird-McConnell <tomlm@microsoft.com>
* Renamed SkillDialogArgs to BeginSkillDialogOptions for parity.
Updated SkillConversationIdFactory in DialogRootBot to use the new methods.
Updated BotFrameworkHttpClient to restore RelatesTo after is done with it.
Namepsaced OAuthScopeKey key in BotAdapter to avoid collisions.
Updated SkillDialog to use new methods from ConversationIdFactory.
* Added support for using DeliveryMode in SkillDialog.
Updated MainDialog to set the property if present.
* Fixed broken tests
* Add originatingAudience to SkillHttpClient.PostActivityAsync
* Deprecated old methods in SkillCOnversationIdFactoryBase and added new ones.
Updated related classes to use the new methods.
* clone ConversationReference for FunctionalTest's SkillConversationIdFactory
* change skill conversation.id in SimpleRootBot example
* Skill Unit test updates
Co-authored-by: Gabo Gilabert <gabog@users.noreply.github.com>
* remove internal throw for property lookup
* * Change BotStateMemoryScope to return the actual cached BotStateMemory instead of using a StatePropertyAccessor, so that Legacy dialog memory is accessible via memory ssytem.
* Add unit tests to verifiy you can use StatePropertyAccessor or DSM to access BotState
* * Changed DialogManager CTOR to allow alternate property name for DialogState property in conversation state.
* remove catch, it's not needed anymore
* better handling for value properties
* dialogstate
* add BotFrameworkAdapter.ContinueSkillConversationAsync
* add SkillConversationReference
* make cancellationToken optional in CreateConnectorClientAsync
* use audience in CreateConnectorClientAsync
* update ContinueSkillConversationAsync
* audience and ConversationReference is required
* delete SkillConversationReference class
* cache OAuthScope on TurnState
* get OAuthScope in ProcessActivityAsync
* needed to create the correct keys for AppCredentials cache
* cache OAuthScope on TurnState
* add ProcessActivityAsync test for skill scenario
* remove EnsureChannelConnectorClientIsCreatedAsync
* new test cleanup
* make sure scope is not null when calling GetAppCredentialsAsync
* refactor ContinueConversationAsyncWithAudience
* make oAuthScope required, apply PR feedback
* First pass at SkillDialog
Created preview Skills project and placeholder for unit test.
Added DialotToDialog and SimpleSkillBot for local testing.
Added abstract BotFrameworkClient base class to decouple http dependency.
Added Skills Solution.
* Refactored DialogToDialog to use EchoSkillBot and DialogSkillBot.
Deleted simplebot to bot for now.
Updated code to make it work.
* Forced adding launchSettings.json to code to make it easier to configure locally during dev.
* Added support for InvokeActivities in SkillDialog.
Updated welcome card.
* Added guard in SkillDialog to only process Message and event activities.
Removed invoke handling funcitonality from SkillDialog and sample call.
* Removed Invoke Code from skilldialog
Added new projects to the Mcirosoft.Bot.Builder.sln file
* Revreated Skill.sln after merge and remove 31 suffix from DialogSkill Test projects.
* Removed icon.png ref from csproj file
* Readded projects lost after merge
Removed Expressions.Properties from skills solution.
* Touched to force another build
* Updated SkillDialog to take activities instead of creating them and updated MainDialog to create the activities.
Updated SkillDialogArgs to take the skill and the activity to forward.
Addressed other comments from PR
* Add HostContext for global assets like IConfiguration
* Add ComponentRegistration discovery
* Break interfaces apart for components registrations
* Added Expression.Parse with global function table
* Removed IExpressionEngineFactory
* drop SetStateConfiguration
* Merge TypeFactory and DeclarativeTypeLoader with ResourceExplorer
* Added DialogManager.TurnState to allow dialog manager to set initial TurnState for registering components like LanguageGenerator and ResourceExplorer
* Dropped adapter .Use methods and moved them to DialogManager (UseResourceExplorer/UseLanguageGeneration etc)
* Drop Resource Plugins
* Merge RefResolver into ResourceExplorer
* rename TypeRegistration to KindRegistration
* Add Configuration.UseLuisSettings()
* add updateluis
* update coments
* add IComponentExpressionFunction for custom functions
* fix issue with netcore31
* changes based on code review
* comments
* headers
* fixed expression optional/ignore and added unit tets
* restored jsonload
* make transcript tests run faster by reducing delay by 10x
* fix optional/ignore semantics