-
Notifications
You must be signed in to change notification settings - Fork 235
feat(vsc): Update basic node templates to latest Agents SDK #14359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
@qinzhouxu do you know how to validate the templates ? |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #14359 +/- ##
==========================================
+ Coverage 89.99% 90.03% +0.03%
==========================================
Files 647 650 +3
Lines 38801 38916 +115
Branches 7628 7702 +74
==========================================
+ Hits 34920 35038 +118
+ Misses 1766 1759 -7
- Partials 2115 2119 +4 🚀 New features to boost your workflow:
|
You need to debug the project locally. Simple steps:
|
how to re-build the templates? I dont see packages/templates |
Added more detail in comments above |
https://msazure.visualstudio.com/Microsoft%20Teams%20Extensibility/_workitems/edit/33515710
This pull request introduces significant updates to the Microsoft 365 Agents Toolkit templates, focusing on dependency upgrades, architectural improvements, and migration to a new SDK (
@microsoft/agents-hosting-express
). These changes streamline development, modernize the codebase, and improve maintainability. The most important changes are grouped into documentation updates, dependency and configuration updates, and code refactoring.Dependency and Configuration Updates:
~18
to~22
in Azure Bicep files for bothbasic-custom-engine-agent
anddefault-bot
templates to align with modern runtime environments. [1] [2]@microsoft/agents-hosting
with@microsoft/agents-hosting-express
(version^1.0.0
) inpackage.json.tpl
files, removing the need for manual Express setup. Updatednodemon
to^3.1.10
. [1] [2]Code Refactoring:
startServer
method from@microsoft/agents-hosting-express
inindex.js
files forbasic-custom-engine-agent
anddefault-bot
templates. [1] [2]teamsBot
andagentApp
event handlers to use new method names (onMessage
,onActivity
,onConversationUpdate
) for improved readability and consistency. [1] [2] [3]adapter.js
files in favor of the built-in adapter provided by@microsoft/agents-hosting-express
, reducing boilerplate code.