@microsoft/m365agentsplayground 0.2.16-alpha.20250725-db966cd.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,288 @@
1
+ /*!
2
+ * Application Insights JavaScript SDK - Web Snippet, 1.0.1
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+
6
+ /*!
7
+ * accepts
8
+ * Copyright(c) 2014 Jonathan Ong
9
+ * Copyright(c) 2015 Douglas Christopher Wilson
10
+ * MIT Licensed
11
+ */
12
+
13
+ /*!
14
+ * body-parser
15
+ * Copyright(c) 2014 Jonathan Ong
16
+ * Copyright(c) 2014-2015 Douglas Christopher Wilson
17
+ * MIT Licensed
18
+ */
19
+
20
+ /*!
21
+ * body-parser
22
+ * Copyright(c) 2014-2015 Douglas Christopher Wilson
23
+ * MIT Licensed
24
+ */
25
+
26
+ /*!
27
+ * bytes
28
+ * Copyright(c) 2012-2014 TJ Holowaychuk
29
+ * Copyright(c) 2015 Jed Watson
30
+ * MIT Licensed
31
+ */
32
+
33
+ /*!
34
+ * content-disposition
35
+ * Copyright(c) 2014-2017 Douglas Christopher Wilson
36
+ * MIT Licensed
37
+ */
38
+
39
+ /*!
40
+ * content-type
41
+ * Copyright(c) 2015 Douglas Christopher Wilson
42
+ * MIT Licensed
43
+ */
44
+
45
+ /*!
46
+ * cookie
47
+ * Copyright(c) 2012-2014 Roman Shtylman
48
+ * Copyright(c) 2015 Douglas Christopher Wilson
49
+ * MIT Licensed
50
+ */
51
+
52
+ /*!
53
+ * depd
54
+ * Copyright(c) 2014-2018 Douglas Christopher Wilson
55
+ * MIT Licensed
56
+ */
57
+
58
+ /*!
59
+ * destroy
60
+ * Copyright(c) 2014 Jonathan Ong
61
+ * Copyright(c) 2015-2022 Douglas Christopher Wilson
62
+ * MIT Licensed
63
+ */
64
+
65
+ /*!
66
+ * ee-first
67
+ * Copyright(c) 2014 Jonathan Ong
68
+ * MIT Licensed
69
+ */
70
+
71
+ /*!
72
+ * encodeurl
73
+ * Copyright(c) 2016 Douglas Christopher Wilson
74
+ * MIT Licensed
75
+ */
76
+
77
+ /*!
78
+ * escape-html
79
+ * Copyright(c) 2012-2013 TJ Holowaychuk
80
+ * Copyright(c) 2015 Andreas Lubbe
81
+ * Copyright(c) 2015 Tiancheng "Timothy" Gu
82
+ * MIT Licensed
83
+ */
84
+
85
+ /*!
86
+ * etag
87
+ * Copyright(c) 2014-2016 Douglas Christopher Wilson
88
+ * MIT Licensed
89
+ */
90
+
91
+ /*!
92
+ * express
93
+ * Copyright(c) 2009-2013 TJ Holowaychuk
94
+ * Copyright(c) 2013 Roman Shtylman
95
+ * Copyright(c) 2014-2015 Douglas Christopher Wilson
96
+ * MIT Licensed
97
+ */
98
+
99
+ /*!
100
+ * express
101
+ * Copyright(c) 2009-2013 TJ Holowaychuk
102
+ * Copyright(c) 2014-2015 Douglas Christopher Wilson
103
+ * MIT Licensed
104
+ */
105
+
106
+ /*!
107
+ * finalhandler
108
+ * Copyright(c) 2014-2022 Douglas Christopher Wilson
109
+ * MIT Licensed
110
+ */
111
+
112
+ /*!
113
+ * forwarded
114
+ * Copyright(c) 2014-2017 Douglas Christopher Wilson
115
+ * MIT Licensed
116
+ */
117
+
118
+ /*!
119
+ * fresh
120
+ * Copyright(c) 2012 TJ Holowaychuk
121
+ * Copyright(c) 2016-2017 Douglas Christopher Wilson
122
+ * MIT Licensed
123
+ */
124
+
125
+ /*!
126
+ * http-errors
127
+ * Copyright(c) 2014 Jonathan Ong
128
+ * Copyright(c) 2016 Douglas Christopher Wilson
129
+ * MIT Licensed
130
+ */
131
+
132
+ /*!
133
+ * media-typer
134
+ * Copyright(c) 2014 Douglas Christopher Wilson
135
+ * MIT Licensed
136
+ */
137
+
138
+ /*!
139
+ * media-typer
140
+ * Copyright(c) 2014-2017 Douglas Christopher Wilson
141
+ * MIT Licensed
142
+ */
143
+
144
+ /*!
145
+ * mime-db
146
+ * Copyright(c) 2014 Jonathan Ong
147
+ * Copyright(c) 2015-2022 Douglas Christopher Wilson
148
+ * MIT Licensed
149
+ */
150
+
151
+ /*!
152
+ * mime-types
153
+ * Copyright(c) 2014 Jonathan Ong
154
+ * Copyright(c) 2015 Douglas Christopher Wilson
155
+ * MIT Licensed
156
+ */
157
+
158
+ /*!
159
+ * negotiator
160
+ * Copyright(c) 2012 Federico Romero
161
+ * Copyright(c) 2012-2014 Isaac Z. Schlueter
162
+ * Copyright(c) 2015 Douglas Christopher Wilson
163
+ * MIT Licensed
164
+ */
165
+
166
+ /*!
167
+ * on-finished
168
+ * Copyright(c) 2013 Jonathan Ong
169
+ * Copyright(c) 2014 Douglas Christopher Wilson
170
+ * MIT Licensed
171
+ */
172
+
173
+ /*!
174
+ * parseurl
175
+ * Copyright(c) 2014 Jonathan Ong
176
+ * Copyright(c) 2014-2017 Douglas Christopher Wilson
177
+ * MIT Licensed
178
+ */
179
+
180
+ /*!
181
+ * proxy-addr
182
+ * Copyright(c) 2014-2016 Douglas Christopher Wilson
183
+ * MIT Licensed
184
+ */
185
+
186
+ /*!
187
+ * range-parser
188
+ * Copyright(c) 2012-2014 TJ Holowaychuk
189
+ * Copyright(c) 2015-2016 Douglas Christopher Wilson
190
+ * MIT Licensed
191
+ */
192
+
193
+ /*!
194
+ * raw-body
195
+ * Copyright(c) 2013-2014 Jonathan Ong
196
+ * Copyright(c) 2014-2022 Douglas Christopher Wilson
197
+ * MIT Licensed
198
+ */
199
+
200
+ /*!
201
+ * router
202
+ * Copyright(c) 2013 Roman Shtylman
203
+ * Copyright(c) 2014-2022 Douglas Christopher Wilson
204
+ * MIT Licensed
205
+ */
206
+
207
+ /*!
208
+ * send
209
+ * Copyright(c) 2012 TJ Holowaychuk
210
+ * Copyright(c) 2014-2022 Douglas Christopher Wilson
211
+ * MIT Licensed
212
+ */
213
+
214
+ /*!
215
+ * serve-static
216
+ * Copyright(c) 2010 Sencha Inc.
217
+ * Copyright(c) 2011 TJ Holowaychuk
218
+ * Copyright(c) 2014-2016 Douglas Christopher Wilson
219
+ * MIT Licensed
220
+ */
221
+
222
+ /*!
223
+ * statuses
224
+ * Copyright(c) 2014 Jonathan Ong
225
+ * Copyright(c) 2016 Douglas Christopher Wilson
226
+ * MIT Licensed
227
+ */
228
+
229
+ /*!
230
+ * toidentifier
231
+ * Copyright(c) 2016 Douglas Christopher Wilson
232
+ * MIT Licensed
233
+ */
234
+
235
+ /*!
236
+ * type-is
237
+ * Copyright(c) 2014 Jonathan Ong
238
+ * Copyright(c) 2014-2015 Douglas Christopher Wilson
239
+ * MIT Licensed
240
+ */
241
+
242
+ /*!
243
+ * unpipe
244
+ * Copyright(c) 2015 Douglas Christopher Wilson
245
+ * MIT Licensed
246
+ */
247
+
248
+ /*!
249
+ * vary
250
+ * Copyright(c) 2014-2017 Douglas Christopher Wilson
251
+ * MIT Licensed
252
+ */
253
+
254
+ /*! @azure/msal-common v15.5.1 2025-04-15 */
255
+
256
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
257
+
258
+ /*! @azure/msal-node v3.5.1 2025-04-16 */
259
+
260
+ /*! Axios v1.8.4 Copyright (c) 2025 Matt Zabriskie and contributors */
261
+
262
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
263
+
264
+ /**
265
+ * @license
266
+ * Lodash <https://lodash.com/>
267
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
268
+ * Released under MIT license <https://lodash.com/license>
269
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
270
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
271
+ */
272
+
273
+ /** @preserve
274
+ * Counter block mode compatible with Dr Brian Gladman fileenc.c
275
+ * derived from CryptoJS.mode.CTR
276
+ * Jan Hruby jhruby.web@gmail.com
277
+ */
278
+
279
+ /** @preserve
280
+ (c) 2012 by Cédric Mesnil. All rights reserved.
281
+
282
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
283
+
284
+ - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
285
+ - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
286
+
287
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
288
+ */
@@ -0,0 +1,3 @@
1
+ {
2
+ "aiKey": "1c56be97-bb74-42cf-b04b-8f1aabf04592"
3
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "server",
3
+ "version": "0.2.16-alpha.20250725-db966cd.0",
4
+ "private": true,
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "build": "tsc --build && npm run copyfiles",
9
+ "copyfiles": "copyfiles -u 1 src/standaloneServer/.m365agentsplayground.yml dist",
10
+ "dev": "nodemon --watch ./src --exec node --inspect=9240 --signal SIGINT -r ts-node/register ./src/standaloneServer/standaloneServer.ts",
11
+ "start": "node ./dist/standaloneServer/standaloneServer.js",
12
+ "test:unit": "mocha --config .mocharc.json ./test/unit/**/*.test.ts",
13
+ "test:integration": "mocha --config .mocharc.json ./test/integration/**/*.test.ts",
14
+ "test:e2e:mocha": "mocha --config .mocharc.json ./test/e2e/**/*.test.ts",
15
+ "test:e2e": "start-server-and-test http://localhost:6150/_debug/ping test:e2e:mocha"
16
+ },
17
+ "devDependencies": {
18
+ "@types/axios": "^0.14.0",
19
+ "@types/chai": "^4.3.5",
20
+ "@types/cors": "^2.8.13",
21
+ "@types/crypto-js": "^4.2.2",
22
+ "@types/express": "^4.17.23",
23
+ "@types/jsonwebtoken": "^9.0.9",
24
+ "@types/lodash": "^4.14.197",
25
+ "@types/mocha": "^10.0.1",
26
+ "@types/mock-fs": "^4.13.1",
27
+ "@types/node": "^20.3.1",
28
+ "@types/sinon": "^10.0.15",
29
+ "@types/supertest": "^2.0.12",
30
+ "@types/uuid": "^9.0.2",
31
+ "@types/wait-on": "^5.3.4",
32
+ "@types/ws": "^8.5.12",
33
+ "chai": "^4.3.7",
34
+ "copyfiles": "^2.4.1",
35
+ "mocha": "^10.2.0",
36
+ "mock-fs": "^5.2.0",
37
+ "nodemon": "^3.1.9",
38
+ "sinon": "^15.1.2",
39
+ "start-server-and-test": "^2.0.0",
40
+ "supertest": "^6.3.3",
41
+ "ts-node": "^10.9.1",
42
+ "typescript": "^4.9.5"
43
+ },
44
+ "dependencies": {
45
+ "@azure/msal-node": "^3.5.0",
46
+ "@microsoft/agents-activity": "^0.2.0",
47
+ "@microsoft/agents-hosting-teams": "^0.2.0",
48
+ "ajv": "^8.12.0",
49
+ "ajv-formats": "^2.1.1",
50
+ "applicationinsights": "^2.9.6",
51
+ "axios": "^1.4.0",
52
+ "body-parser": "^1.20.2",
53
+ "chalk": "^4.1.2",
54
+ "cors": "^2.8.5",
55
+ "crypto-js": "^4.2.0",
56
+ "dayjs": "^1.11.9",
57
+ "express": "^4.21.2",
58
+ "i18next": "^23.2.8",
59
+ "jsonwebtoken": "^9.0.2",
60
+ "jwks-rsa": "^3.2.0",
61
+ "lodash": "^4.17.21",
62
+ "node-machine-id": "^1.1.12",
63
+ "schema": "^0.2.16-alpha.20250725-db966cd.0",
64
+ "uuid": "^8.3.2",
65
+ "wait-on": "^8.0.3",
66
+ "ws": "^8.18.0",
67
+ "yaml": "^2.3.1",
68
+ "zod": "^3.21.4"
69
+ }
70
+ }
package/package.json ADDED
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "@microsoft/m365agentsplayground",
3
+ "version": "0.2.16-alpha.20250725-db966cd.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "license": "SEE LICENSE IN LICENSE",
7
+ "bin": {
8
+ "agentsplayground": "cli.js",
9
+ "teamsapptester": "cli.js"
10
+ },
11
+ "scripts": {
12
+ "build": "rimraf dist && tsc -p ./ && npm run copy-client",
13
+ "copy-client": "copyfiles -u 3 \"../client/build/**/*\" dist/client && copyfiles -u 2 \"../server/config.json\" dist/server && copyfiles -u 2 \"../server/package.json\" dist/server",
14
+ "package": "rimraf dist && node --max-old-space-size=4096 ../../node_modules/webpack/bin/webpack.js --mode production --config ./webpack.config.js && npm run copy-client",
15
+ "package:win-compatible": "node build/buildExe.js win x64 teamsapptester",
16
+ "package:win": "node build/buildExe.js win x64 agentsplayground",
17
+ "package:linux": "node build/buildExe.js linux x64 agentsplayground",
18
+ "package:macos": "node build/buildExe.js macos arm64 agentsplayground",
19
+ "prepack": "npm run package"
20
+ },
21
+ "files": [
22
+ "dist",
23
+ "cli.js"
24
+ ],
25
+ "devDependencies": {
26
+ "@types/express": "^4.17.23",
27
+ "@types/fs-extra": "^11.0.1",
28
+ "@types/node": "^20.4.2",
29
+ "@types/yargs": "^17.0.24",
30
+ "@vercel/ncc": "^0.38.1",
31
+ "copyfiles": "^2.4.1",
32
+ "express": "^4.21.2",
33
+ "fs-extra": "^11.1.1",
34
+ "open": "^8.4.2",
35
+ "pkg": "5.8.1",
36
+ "pkg-fetch": "3.4.2",
37
+ "process": "^0.11.10",
38
+ "rcedit": "^4.0.1",
39
+ "server": "^0.2.16-alpha.20250725-db966cd.0",
40
+ "terser-webpack-plugin": "^5.3.9",
41
+ "ts-loader": "^9.4.4",
42
+ "webpack": "^5.88.1",
43
+ "webpack-cli": "^5.1.4",
44
+ "yargs": "^17.7.2"
45
+ }
46
+ }