feat: enable a365 samples onboarded to atk to run in agents playground#307
Open
HuihuiWu-Microsoft wants to merge 3 commits into
Open
feat: enable a365 samples onboarded to atk to run in agents playground#307HuihuiWu-Microsoft wants to merge 3 commits into
HuihuiWu-Microsoft wants to merge 3 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds Microsoft 365 Agents Toolkit (TeamsFx) + Agents Playground onboarding assets to several Node.js Agent365 samples so they can be run/debugged via Microsoft 365 Agents Playground.
Changes:
- Add
m365agents.yml/m365agents.playground.ymlfiles to enable TeamsFx-driven deploy + playground setup. - Add VS Code launch/tasks scaffolding (including bearer token refresh script) for one-click local debug in Agents Playground.
- Update sample
package.jsonscripts to support TeamsFx playground flows and addenv-cmdwhere needed.
Reviewed changes
Copilot reviewed 44 out of 44 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| nodejs/vercel-sdk/sample-agent/package.json | Adds TeamsFx playground scripts, updates dev script, adds env-cmd dependency. |
| nodejs/vercel-sdk/sample-agent/m365agents.yml | Introduces TeamsFx project metadata for toolkit integration. |
| nodejs/vercel-sdk/sample-agent/m365agents.playground.yml | Adds TeamsFx deploy pipeline to install test tool, install deps, and generate local env config for playground. |
| nodejs/vercel-sdk/sample-agent/env/.env.playground | Adds committed playground environment defaults/placeholders. |
| nodejs/vercel-sdk/sample-agent/.vscode/tasks.json | Adds VS Code tasks to deploy, start app, and start Agents Playground. |
| nodejs/vercel-sdk/sample-agent/.vscode/scripts/refresh-bearer-token.ps1 | Adds a365-based bearer token refresh helper for local dev. |
| nodejs/vercel-sdk/sample-agent/.vscode/launch.json | Adds VS Code attach configuration/compound for playground debugging. |
| nodejs/vercel-sdk/sample-agent/.vscode/extensions.json | Recommends Teams Toolkit extension. |
| nodejs/vercel-sdk/sample-agent/.gitignore | Ignores TeamsFx-generated local files, dev tools, and build outputs. |
| nodejs/perplexity/sample-agent/package.json | Adds TeamsFx playground scripts, updates dev script, adds env-cmd dependency. |
| nodejs/perplexity/sample-agent/m365agents.yml | Introduces TeamsFx project metadata for toolkit integration. |
| nodejs/perplexity/sample-agent/m365agents.playground.yml | Adds TeamsFx deploy pipeline to install test tool, install deps, and generate local env config for playground. |
| nodejs/perplexity/sample-agent/env/.env.playground | Adds committed playground environment defaults/placeholders. |
| nodejs/perplexity/sample-agent/.vscode/tasks.json | Adds VS Code tasks to deploy, start app, and start Agents Playground. |
| nodejs/perplexity/sample-agent/.vscode/scripts/refresh-bearer-token.ps1 | Adds a365-based bearer token refresh helper for local dev. |
| nodejs/perplexity/sample-agent/.vscode/launch.json | Adds VS Code attach configuration/compound for playground debugging. |
| nodejs/perplexity/sample-agent/.vscode/extensions.json | Recommends Teams Toolkit extension. |
| nodejs/perplexity/sample-agent/.gitignore | Ignores TeamsFx-generated local files, dev tools, and build outputs. |
| nodejs/openai/sample-agent/package.json | Adds TeamsFx playground scripts, updates dev script, adds env-cmd dependency. |
| nodejs/openai/sample-agent/m365agents.yml | Introduces TeamsFx project metadata for toolkit integration. |
| nodejs/openai/sample-agent/m365agents.playground.yml | Adds TeamsFx deploy pipeline to install test tool, install deps, and generate local env config for playground. |
| nodejs/openai/sample-agent/env/.env.playground | Adds committed playground environment defaults/placeholders. |
| nodejs/openai/sample-agent/.vscode/tasks.json | Adds VS Code tasks to deploy, start app, and start Agents Playground. |
| nodejs/openai/sample-agent/.vscode/scripts/refresh-bearer-token.ps1 | Adds a365-based bearer token refresh helper for local dev. |
| nodejs/openai/sample-agent/.vscode/launch.json | Adds VS Code attach configuration/compound for playground debugging. |
| nodejs/openai/sample-agent/.vscode/extensions.json | Recommends Teams Toolkit extension. |
| nodejs/openai/sample-agent/.gitignore | Ignores TeamsFx-generated local files, dev tools, and build outputs. |
| nodejs/n8n/sample-agent/m365agents.yml | Introduces TeamsFx project metadata for toolkit integration. |
| nodejs/n8n/sample-agent/m365agents.playground.yml | Adds TeamsFx deploy pipeline to install test tool, install deps, and generate local env config for playground. |
| nodejs/n8n/sample-agent/env/.env.playground | Adds committed playground environment defaults/placeholders. |
| nodejs/n8n/sample-agent/.vscode/tasks.json | Adds VS Code tasks to deploy, start app, and start Agents Playground. |
| nodejs/n8n/sample-agent/.vscode/scripts/refresh-bearer-token.ps1 | Adds a365-based bearer token refresh helper for local dev. |
| nodejs/n8n/sample-agent/.vscode/launch.json | Adds VS Code attach configuration/compound for playground debugging. |
| nodejs/n8n/sample-agent/.vscode/extensions.json | Recommends Teams Toolkit extension. |
| nodejs/n8n/sample-agent/.gitignore | Ignores TeamsFx-generated local files, dev tools, and build outputs. |
| nodejs/devin/sample-agent/package.json | Adds dev script + TeamsFx playground scripts and required dev dependencies for local debug/playground. |
| nodejs/devin/sample-agent/m365agents.yml | Introduces TeamsFx project metadata for toolkit integration. |
| nodejs/devin/sample-agent/m365agents.playground.yml | Adds TeamsFx deploy pipeline to install test tool, install deps, and generate local env config for playground. |
| nodejs/devin/sample-agent/env/.env.playground | Adds committed playground environment defaults/placeholders. |
| nodejs/devin/sample-agent/.vscode/tasks.json | Adds VS Code tasks to deploy, start app, and start Agents Playground. |
| nodejs/devin/sample-agent/.vscode/scripts/refresh-bearer-token.ps1 | Adds a365-based bearer token refresh helper for local dev. |
| nodejs/devin/sample-agent/.vscode/launch.json | Adds VS Code attach configuration/compound for playground debugging. |
| nodejs/devin/sample-agent/.vscode/extensions.json | Recommends Teams Toolkit extension. |
| nodejs/devin/sample-agent/.gitignore | Ignores TeamsFx-generated local files, dev tools, and build outputs. |
Comment on lines
+72
to
+76
| "background": { | ||
| "activeOnStart": true, | ||
| "beginsPattern": "[nodemon] starting", | ||
| "endsPattern": "Server listening on|Bot/ME service listening at|[nodemon] app crashed" | ||
| } |
Comment on lines
+72
to
+76
| "background": { | ||
| "activeOnStart": true, | ||
| "beginsPattern": "[nodemon] starting", | ||
| "endsPattern": "Server listening on|Bot/ME service listening at|[nodemon] app crashed" | ||
| } |
Comment on lines
+74
to
+75
| "beginsPattern": "[nodemon] starting", | ||
| "endsPattern": "Server listening on|Bot/ME service listening at|[nodemon] app crashed" |
Comment on lines
+74
to
+75
| "beginsPattern": "[nodemon] starting", | ||
| "endsPattern": "Server listening on|Bot/ME service listening at|[nodemon] app crashed" |
Comment on lines
+74
to
+75
| "beginsPattern": "[nodemon] starting", | ||
| "endsPattern": "Server listening on|Bot/ME service listening at|[nodemon] app crashed" |
Comment on lines
+1
to
+2
| # This file includes environment variables that can be committed to git. It's gitignored by default because it represents your local development environment. | ||
|
|
Comment on lines
+1
to
+2
| # This file includes environment variables that can be committed to git. It's gitignored by default because it represents your local development environment. | ||
|
|
| @@ -0,0 +1,27 @@ | |||
| # This file includes environment variables that can be committed to git. It's gitignored by default because it represents your local development environment. | |||
| @@ -0,0 +1,23 @@ | |||
| # This file includes environment variables that can be committed to git. It's gitignored by default because it represents your local development environment. | |||
| @@ -0,0 +1,27 @@ | |||
| # This file includes environment variables that can be committed to git. It's gitignored by default because it represents your local development environment. | |||
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.
No description provided.