Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions samples/da-typespec-powerautomate/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# TeamsFx files
env/.env.*.user
env/.env.local
.localConfigs
appPackage/build
build

# dependencies
node_modules/

# misc
.env
.deployment
.DS_Store

# generated files
appPackage/.generated
# generated environment variables
src/agent/env.tsp
6 changes: 6 additions & 0 deletions samples/da-typespec-powerautomate/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"recommendations": [
"TeamsDevApp.ms-teams-vscode-extension",
"typespec.typespec-vscode"
]
}
91 changes: 91 additions & 0 deletions samples/da-typespec-powerautomate/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Agent in Copilot (Edge)",
"type": "msedge",
"request": "launch",
"url": "https://m365.cloud.microsoft/chat/entity1-d870f6cd-4aa5-4d42-9626-ab690c041429/${local:agent-hint}?auth=2&developerMode=Basic",
"presentation": {
"group": "all",
"hidden": true
},
"internalConsoleOptions": "neverOpen",
"runtimeArgs": [
"--remote-debugging-port=9222",
"--no-first-run"
]
},
{
"name": "Launch Agent in Copilot (Chrome)",
"type": "chrome",
"request": "launch",
"url": "https://m365.cloud.microsoft/chat/entity1-d870f6cd-4aa5-4d42-9626-ab690c041429/${local:agent-hint}?auth=2&developerMode=Basic",
"presentation": {
"group": "all",
"hidden": true
},
"internalConsoleOptions": "neverOpen",
"runtimeArgs": [
"--remote-debugging-port=9223",
"--no-first-run"
]
},
{
"name": "Preview in Copilot (Edge)",
"type": "msedge",
"request": "launch",
"url": "https://m365.cloud.microsoft/chat/entity1-d870f6cd-4aa5-4d42-9626-ab690c041429/${agent-hint}?auth=2&developerMode=Basic",
"presentation": {
"group": "remote",
"order": 1
},
"internalConsoleOptions": "neverOpen",
"runtimeArgs": [
"--remote-debugging-port=9224",
"--no-first-run"
]
},
{
"name": "Preview in Copilot (Chrome)",
"type": "chrome",
"request": "launch",
"url": "https://m365.cloud.microsoft/chat/entity1-d870f6cd-4aa5-4d42-9626-ab690c041429/${agent-hint}?auth=2&developerMode=Basic",
"presentation": {
"group": "remote",
"order": 2
},
"internalConsoleOptions": "neverOpen",
"runtimeArgs": [
"--remote-debugging-port=9225",
"--no-first-run"
]
}
],
"compounds": [
{
"name": "Preview Local in Copilot (Edge)",
"configurations": [
"Launch Agent in Copilot (Edge)",
],
"preLaunchTask": "Start Agent Locally",
"presentation": {
"group": "all",
"order": 1
},
"stopAll": true
},
{
"name": "Preview Local in Copilot (Chrome)",
"configurations": [
"Launch Agent in Copilot (Chrome)",
],
"preLaunchTask": "Start Agent Locally",
"presentation": {
"group": "all",
"order": 1
},
"stopAll": true
}
]
}
15 changes: 15 additions & 0 deletions samples/da-typespec-powerautomate/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"debug.onTaskErrors": "abort",
"json.schemas": [
{
"fileMatch": [
"/aad.*.json"
],
"schema": {}
}
],
"files.readonlyInclude": {
"appPackage/.generated/**/*": true,
"src/agent/env.tsp": true
}
}
44 changes: 44 additions & 0 deletions samples/da-typespec-powerautomate/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
// This file is automatically generated by Microsoft 365 Agents Toolkit.
// The teamsfx tasks defined in this file require Microsoft 365 Agents Toolkit version >= 5.0.0.
// See https://aka.ms/teamsfx-tasks for details on how to customize each task.
{
"version": "2.0.0",
"tasks": [
{
"label": "Start Agent Locally",
"dependsOn": [
"Validate prerequisites",
"Create resources"
],
"dependsOrder": "sequence"
},
{
"label": "Validate prerequisites",
"type": "teamsfx",
"command": "debug-check-prerequisites",
"args": {
"prerequisites": [
"m365Account"
]
}
},
{
"label": "Create resources",
"type": "teamsfx",
"command": "provision",
"args": {
"env": "local"
}
},
{
"label": "Install dependencies",
"type": "shell",
"command": "npm install",
"presentation": {
"reveal": "silent",
"panel": "new"
},
"runOptions": { "runOn": "folderOpen" }
}
]
}
Loading