progon-agent 1.5.0 → 1.5.2
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.
- package/README.md +288 -29
- package/dist/supervisor/cli.js +315 -50
- package/extension-bundle.json +3 -3
- package/extension-dist/background/background.js +145 -122
- package/extension-dist/card/card.css +1 -1
- package/extension-dist/card/card.html +11 -10
- package/extension-dist/card/card.js +3 -9
- package/extension-dist/chunks/shared--PKAvBPy.js +1 -0
- package/extension-dist/chunks/shared-0jT00uC5.js +317 -0
- package/extension-dist/chunks/shared-8TdX8bnw.js +1 -0
- package/extension-dist/chunks/shared-BBwL-FWr.js +8 -0
- package/extension-dist/chunks/shared-BECVQaqd.js +1 -0
- package/extension-dist/chunks/shared-BGvIl9us.js +1 -0
- package/extension-dist/chunks/shared-BYkDbcM2.js +372 -0
- package/extension-dist/chunks/shared-BdaUsVif.css +1 -0
- package/extension-dist/chunks/shared-CDlAJRnF.js +117 -0
- package/extension-dist/chunks/shared-CQ5Ygj2p.js +1 -0
- package/extension-dist/chunks/shared-CnMBv8Ku.js +1 -0
- package/extension-dist/chunks/shared-CyNKhHOY.js +1 -0
- package/extension-dist/chunks/shared-D3X5MuUz.js +1 -0
- package/extension-dist/chunks/shared-D7GfVHk0.js +129 -0
- package/extension-dist/chunks/shared-QityJbuK.css +1 -0
- package/extension-dist/chunks/shared-U9lBnzuH.js +33 -0
- package/extension-dist/chunks/shared-VvEftNwZ.js +1 -0
- package/extension-dist/chunks/shared-XKyaHtl9.js +1 -0
- package/extension-dist/chunks/shared-fJPHxpB5.css +1 -0
- package/extension-dist/chunks/shared-o0-3vI--.js +193 -0
- package/extension-dist/chunks/shared-uKTblxo0.js +15 -0
- package/extension-dist/content/canvas-interceptor.js +1 -1
- package/extension-dist/content/canvas-mapbox-bridge-main.js +1 -1
- package/extension-dist/content/content.css +1 -1
- package/extension-dist/content/content.js +341 -324
- package/extension-dist/content/early-nonce-inject.js +1 -1
- package/extension-dist/content/frame.js +160 -0
- package/extension-dist/content/main-world-nav.js +1 -1
- package/extension-dist/manifest.json +36 -43
- package/extension-dist/offscreen/offscreen.html +2 -2
- package/extension-dist/offscreen/offscreen.js +1 -1
- package/extension-dist/popup/popup.html +9 -9
- package/extension-dist/popup/popup.js +3 -9
- package/extension-dist/sidepanel/sidepanel.css +1 -1
- package/extension-dist/sidepanel/sidepanel.html +13 -13
- package/extension-dist/sidepanel/sidepanel.js +1 -1
- package/extension-dist/workspace/workspace.css +1 -1
- package/extension-dist/workspace/workspace.html +13 -13
- package/extension-dist/workspace/workspace.js +241 -49
- package/npm-shrinkwrap.json +469 -0
- package/package.json +17 -12
- package/extension-dist/chunks/shared-73iHxv_g.js +0 -1
- package/extension-dist/chunks/shared-BRaGK72I.css +0 -1
- package/extension-dist/chunks/shared-Beih6ywL.js +0 -1
- package/extension-dist/chunks/shared-BgEO6Nif.js +0 -39
- package/extension-dist/chunks/shared-ByZxg79I.js +0 -1
- package/extension-dist/chunks/shared-C7IWMwZY.js +0 -1
- package/extension-dist/chunks/shared-CFEBqIm7.js +0 -21
- package/extension-dist/chunks/shared-CKtbh_44.js +0 -199
- package/extension-dist/chunks/shared-CSBwVLDL.js +0 -1
- package/extension-dist/chunks/shared-CeI71eLt.js +0 -134
- package/extension-dist/chunks/shared-CfjrOLG1.js +0 -336
- package/extension-dist/chunks/shared-CgUMEof2.js +0 -1
- package/extension-dist/chunks/shared-CwsTFlbT.js +0 -1
- package/extension-dist/chunks/shared-D-c-eSoI.js +0 -1
- package/extension-dist/chunks/shared-DXp1f_Ub.css +0 -1
- package/extension-dist/chunks/shared-Dk6zuyaK.css +0 -1
- package/extension-dist/chunks/shared-RcZD4SR-.js +0 -1
- package/extension-dist/chunks/shared-hePW80VL.js +0 -1
- package/extension-dist/chunks/shared-lM00HeT6.js +0 -98
- package/extension-dist/chunks/shared-t8TH2XkL.js +0 -239
- package/extension-dist/content/canvas-mapbox-fiber-discovery.js +0 -1
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "progon-agent",
|
|
3
|
+
"version": "1.5.2",
|
|
4
|
+
"lockfileVersion": 3,
|
|
5
|
+
"requires": true,
|
|
6
|
+
"packages": {
|
|
7
|
+
"": {
|
|
8
|
+
"name": "progon-agent",
|
|
9
|
+
"version": "1.5.2",
|
|
10
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"pino": "9.14.0",
|
|
13
|
+
"pino-pretty": "11.3.0",
|
|
14
|
+
"playwright-core": "1.62.1",
|
|
15
|
+
"undici": "6.29.1",
|
|
16
|
+
"zod": "4.6.7"
|
|
17
|
+
},
|
|
18
|
+
"bin": {
|
|
19
|
+
"progon-agent": "./dist/supervisor/cli.js"
|
|
20
|
+
},
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=20.0.0"
|
|
23
|
+
},
|
|
24
|
+
"os": [
|
|
25
|
+
"darwin",
|
|
26
|
+
"linux",
|
|
27
|
+
"win32"
|
|
28
|
+
],
|
|
29
|
+
"cpu": [
|
|
30
|
+
"x64",
|
|
31
|
+
"arm64"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"node_modules/@pinojs/redact": {
|
|
35
|
+
"version": "0.4.0",
|
|
36
|
+
"resolved": "https://registry.npmjs.org/@pinojs/redact/-/redact-0.4.0.tgz",
|
|
37
|
+
"integrity": "sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==",
|
|
38
|
+
"license": "MIT"
|
|
39
|
+
},
|
|
40
|
+
"node_modules/abort-controller": {
|
|
41
|
+
"version": "3.0.0",
|
|
42
|
+
"resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
|
|
43
|
+
"integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==",
|
|
44
|
+
"license": "MIT",
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"event-target-shim": "^5.0.0"
|
|
47
|
+
},
|
|
48
|
+
"engines": {
|
|
49
|
+
"node": ">=6.5"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"node_modules/atomic-sleep": {
|
|
53
|
+
"version": "1.0.0",
|
|
54
|
+
"resolved": "https://registry.npmjs.org/atomic-sleep/-/atomic-sleep-1.0.0.tgz",
|
|
55
|
+
"integrity": "sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==",
|
|
56
|
+
"license": "MIT",
|
|
57
|
+
"engines": {
|
|
58
|
+
"node": ">=8.0.0"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"node_modules/base64-js": {
|
|
62
|
+
"version": "1.5.1",
|
|
63
|
+
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
|
|
64
|
+
"integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
|
|
65
|
+
"funding": [
|
|
66
|
+
{
|
|
67
|
+
"type": "github",
|
|
68
|
+
"url": "https://github.com/sponsors/feross"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"type": "patreon",
|
|
72
|
+
"url": "https://www.patreon.com/feross"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "consulting",
|
|
76
|
+
"url": "https://feross.org/support"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"license": "MIT"
|
|
80
|
+
},
|
|
81
|
+
"node_modules/buffer": {
|
|
82
|
+
"version": "6.0.3",
|
|
83
|
+
"resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",
|
|
84
|
+
"integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",
|
|
85
|
+
"funding": [
|
|
86
|
+
{
|
|
87
|
+
"type": "github",
|
|
88
|
+
"url": "https://github.com/sponsors/feross"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"type": "patreon",
|
|
92
|
+
"url": "https://www.patreon.com/feross"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"type": "consulting",
|
|
96
|
+
"url": "https://feross.org/support"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"license": "MIT",
|
|
100
|
+
"dependencies": {
|
|
101
|
+
"base64-js": "^1.3.1",
|
|
102
|
+
"ieee754": "^1.2.1"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"node_modules/colorette": {
|
|
106
|
+
"version": "2.0.20",
|
|
107
|
+
"resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz",
|
|
108
|
+
"integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==",
|
|
109
|
+
"license": "MIT"
|
|
110
|
+
},
|
|
111
|
+
"node_modules/dateformat": {
|
|
112
|
+
"version": "4.6.3",
|
|
113
|
+
"resolved": "https://registry.npmjs.org/dateformat/-/dateformat-4.6.3.tgz",
|
|
114
|
+
"integrity": "sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==",
|
|
115
|
+
"license": "MIT",
|
|
116
|
+
"engines": {
|
|
117
|
+
"node": "*"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"node_modules/end-of-stream": {
|
|
121
|
+
"version": "1.4.5",
|
|
122
|
+
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz",
|
|
123
|
+
"integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==",
|
|
124
|
+
"license": "MIT",
|
|
125
|
+
"dependencies": {
|
|
126
|
+
"once": "^1.4.0"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"node_modules/event-target-shim": {
|
|
130
|
+
"version": "5.0.1",
|
|
131
|
+
"resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
|
|
132
|
+
"integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==",
|
|
133
|
+
"license": "MIT",
|
|
134
|
+
"engines": {
|
|
135
|
+
"node": ">=6"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"node_modules/events": {
|
|
139
|
+
"version": "3.3.0",
|
|
140
|
+
"resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",
|
|
141
|
+
"integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",
|
|
142
|
+
"license": "MIT",
|
|
143
|
+
"engines": {
|
|
144
|
+
"node": ">=0.8.x"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"node_modules/fast-copy": {
|
|
148
|
+
"version": "3.1.0",
|
|
149
|
+
"resolved": "https://registry.npmjs.org/fast-copy/-/fast-copy-3.1.0.tgz",
|
|
150
|
+
"integrity": "sha512-IuCOCDFM1F/s4LtG7Bjr3yUUwPHybyhqN74xk2cMYoP51vVeErMy8+6HGFchi/+45lW8uzhs6lBeEqks2GWt6A==",
|
|
151
|
+
"license": "MIT"
|
|
152
|
+
},
|
|
153
|
+
"node_modules/fast-safe-stringify": {
|
|
154
|
+
"version": "2.1.1",
|
|
155
|
+
"resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz",
|
|
156
|
+
"integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==",
|
|
157
|
+
"license": "MIT"
|
|
158
|
+
},
|
|
159
|
+
"node_modules/help-me": {
|
|
160
|
+
"version": "5.0.0",
|
|
161
|
+
"resolved": "https://registry.npmjs.org/help-me/-/help-me-5.0.0.tgz",
|
|
162
|
+
"integrity": "sha512-7xgomUX6ADmcYzFik0HzAxh/73YlKR9bmFzf51CZwR+b6YtzU2m0u49hQCqV6SvlqIqsaxovfwdvbnsw3b/zpg==",
|
|
163
|
+
"license": "MIT"
|
|
164
|
+
},
|
|
165
|
+
"node_modules/ieee754": {
|
|
166
|
+
"version": "1.2.1",
|
|
167
|
+
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
|
|
168
|
+
"integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
|
|
169
|
+
"funding": [
|
|
170
|
+
{
|
|
171
|
+
"type": "github",
|
|
172
|
+
"url": "https://github.com/sponsors/feross"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"type": "patreon",
|
|
176
|
+
"url": "https://www.patreon.com/feross"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"type": "consulting",
|
|
180
|
+
"url": "https://feross.org/support"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"license": "BSD-3-Clause"
|
|
184
|
+
},
|
|
185
|
+
"node_modules/joycon": {
|
|
186
|
+
"version": "3.1.1",
|
|
187
|
+
"resolved": "https://registry.npmjs.org/joycon/-/joycon-3.1.1.tgz",
|
|
188
|
+
"integrity": "sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==",
|
|
189
|
+
"license": "MIT",
|
|
190
|
+
"engines": {
|
|
191
|
+
"node": ">=10"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"node_modules/minimist": {
|
|
195
|
+
"version": "1.2.8",
|
|
196
|
+
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
|
|
197
|
+
"integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
|
|
198
|
+
"license": "MIT",
|
|
199
|
+
"funding": {
|
|
200
|
+
"url": "https://github.com/sponsors/ljharb"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"node_modules/on-exit-leak-free": {
|
|
204
|
+
"version": "2.1.2",
|
|
205
|
+
"resolved": "https://registry.npmjs.org/on-exit-leak-free/-/on-exit-leak-free-2.1.2.tgz",
|
|
206
|
+
"integrity": "sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==",
|
|
207
|
+
"license": "MIT",
|
|
208
|
+
"engines": {
|
|
209
|
+
"node": ">=14.0.0"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"node_modules/once": {
|
|
213
|
+
"version": "1.4.0",
|
|
214
|
+
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
|
215
|
+
"integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
|
|
216
|
+
"license": "ISC",
|
|
217
|
+
"dependencies": {
|
|
218
|
+
"wrappy": "1"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"node_modules/pino": {
|
|
222
|
+
"version": "9.14.0",
|
|
223
|
+
"resolved": "https://registry.npmjs.org/pino/-/pino-9.14.0.tgz",
|
|
224
|
+
"integrity": "sha512-8OEwKp5juEvb/MjpIc4hjqfgCNysrS94RIOMXYvpYCdm/jglrKEiAYmiumbmGhCvs+IcInsphYDFwqrjr7398w==",
|
|
225
|
+
"license": "MIT",
|
|
226
|
+
"dependencies": {
|
|
227
|
+
"@pinojs/redact": "^0.4.0",
|
|
228
|
+
"atomic-sleep": "^1.0.0",
|
|
229
|
+
"on-exit-leak-free": "^2.1.0",
|
|
230
|
+
"pino-abstract-transport": "^2.0.0",
|
|
231
|
+
"pino-std-serializers": "^7.0.0",
|
|
232
|
+
"process-warning": "^5.0.0",
|
|
233
|
+
"quick-format-unescaped": "^4.0.3",
|
|
234
|
+
"real-require": "^0.2.0",
|
|
235
|
+
"safe-stable-stringify": "^2.3.1",
|
|
236
|
+
"sonic-boom": "^4.0.1",
|
|
237
|
+
"thread-stream": "^3.0.0"
|
|
238
|
+
},
|
|
239
|
+
"bin": {
|
|
240
|
+
"pino": "bin.js"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"node_modules/pino-abstract-transport": {
|
|
244
|
+
"version": "2.0.0",
|
|
245
|
+
"resolved": "https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-2.0.0.tgz",
|
|
246
|
+
"integrity": "sha512-F63x5tizV6WCh4R6RHyi2Ml+M70DNRXt/+HANowMflpgGFMAym/VKm6G7ZOQRjqN7XbGxK1Lg9t6ZrtzOaivMw==",
|
|
247
|
+
"license": "MIT",
|
|
248
|
+
"dependencies": {
|
|
249
|
+
"split2": "^4.0.0"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
"node_modules/pino-pretty": {
|
|
253
|
+
"version": "11.3.0",
|
|
254
|
+
"resolved": "https://registry.npmjs.org/pino-pretty/-/pino-pretty-11.3.0.tgz",
|
|
255
|
+
"integrity": "sha512-oXwn7ICywaZPHmu3epHGU2oJX4nPmKvHvB/bwrJHlGcbEWaVcotkpyVHMKLKmiVryWYByNp0jpgAcXpFJDXJzA==",
|
|
256
|
+
"license": "MIT",
|
|
257
|
+
"dependencies": {
|
|
258
|
+
"colorette": "^2.0.7",
|
|
259
|
+
"dateformat": "^4.6.3",
|
|
260
|
+
"fast-copy": "^3.0.2",
|
|
261
|
+
"fast-safe-stringify": "^2.1.1",
|
|
262
|
+
"help-me": "^5.0.0",
|
|
263
|
+
"joycon": "^3.1.1",
|
|
264
|
+
"minimist": "^1.2.6",
|
|
265
|
+
"on-exit-leak-free": "^2.1.0",
|
|
266
|
+
"pino-abstract-transport": "^2.0.0",
|
|
267
|
+
"pump": "^3.0.0",
|
|
268
|
+
"readable-stream": "^4.0.0",
|
|
269
|
+
"secure-json-parse": "^2.4.0",
|
|
270
|
+
"sonic-boom": "^4.0.1",
|
|
271
|
+
"strip-json-comments": "^3.1.1"
|
|
272
|
+
},
|
|
273
|
+
"bin": {
|
|
274
|
+
"pino-pretty": "bin.js"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"node_modules/pino-std-serializers": {
|
|
278
|
+
"version": "7.1.0",
|
|
279
|
+
"resolved": "https://registry.npmjs.org/pino-std-serializers/-/pino-std-serializers-7.1.0.tgz",
|
|
280
|
+
"integrity": "sha512-BndPH67/JxGExRgiX1dX0w1FvZck5Wa4aal9198SrRhZjH3GxKQUKIBnYJTdj2HDN3UQAS06HlfcSbQj2OHmaw==",
|
|
281
|
+
"license": "MIT"
|
|
282
|
+
},
|
|
283
|
+
"node_modules/playwright-core": {
|
|
284
|
+
"version": "1.62.1",
|
|
285
|
+
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.62.1.tgz",
|
|
286
|
+
"integrity": "sha512-wPYSwEBJY9GHraISXqyqtx0na0LpO3XEX7jNDhntbex7tzUS7kLnZsOlFruFJB4Hi/rhDMjXGqHewDZ68nYZVw==",
|
|
287
|
+
"license": "Apache-2.0",
|
|
288
|
+
"bin": {
|
|
289
|
+
"playwright-core": "cli.js"
|
|
290
|
+
},
|
|
291
|
+
"engines": {
|
|
292
|
+
"node": ">=20"
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"node_modules/process": {
|
|
296
|
+
"version": "0.11.10",
|
|
297
|
+
"resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
|
|
298
|
+
"integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==",
|
|
299
|
+
"license": "MIT",
|
|
300
|
+
"engines": {
|
|
301
|
+
"node": ">= 0.6.0"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"node_modules/process-warning": {
|
|
305
|
+
"version": "5.0.0",
|
|
306
|
+
"resolved": "https://registry.npmjs.org/process-warning/-/process-warning-5.0.0.tgz",
|
|
307
|
+
"integrity": "sha512-a39t9ApHNx2L4+HBnQKqxxHNs1r7KF+Intd8Q/g1bUh6q0WIp9voPXJ/x0j+ZL45KF1pJd9+q2jLIRMfvEshkA==",
|
|
308
|
+
"funding": [
|
|
309
|
+
{
|
|
310
|
+
"type": "github",
|
|
311
|
+
"url": "https://github.com/sponsors/fastify"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"type": "opencollective",
|
|
315
|
+
"url": "https://opencollective.com/fastify"
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"license": "MIT"
|
|
319
|
+
},
|
|
320
|
+
"node_modules/pump": {
|
|
321
|
+
"version": "3.0.4",
|
|
322
|
+
"resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz",
|
|
323
|
+
"integrity": "sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==",
|
|
324
|
+
"license": "MIT",
|
|
325
|
+
"dependencies": {
|
|
326
|
+
"end-of-stream": "^1.1.0",
|
|
327
|
+
"once": "^1.3.1"
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"node_modules/quick-format-unescaped": {
|
|
331
|
+
"version": "4.0.4",
|
|
332
|
+
"resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-4.0.4.tgz",
|
|
333
|
+
"integrity": "sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==",
|
|
334
|
+
"license": "MIT"
|
|
335
|
+
},
|
|
336
|
+
"node_modules/readable-stream": {
|
|
337
|
+
"version": "4.7.0",
|
|
338
|
+
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.7.0.tgz",
|
|
339
|
+
"integrity": "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==",
|
|
340
|
+
"license": "MIT",
|
|
341
|
+
"dependencies": {
|
|
342
|
+
"abort-controller": "^3.0.0",
|
|
343
|
+
"buffer": "^6.0.3",
|
|
344
|
+
"events": "^3.3.0",
|
|
345
|
+
"process": "^0.11.10",
|
|
346
|
+
"string_decoder": "^1.3.0"
|
|
347
|
+
},
|
|
348
|
+
"engines": {
|
|
349
|
+
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"node_modules/real-require": {
|
|
353
|
+
"version": "0.2.0",
|
|
354
|
+
"resolved": "https://registry.npmjs.org/real-require/-/real-require-0.2.0.tgz",
|
|
355
|
+
"integrity": "sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==",
|
|
356
|
+
"license": "MIT",
|
|
357
|
+
"engines": {
|
|
358
|
+
"node": ">= 12.13.0"
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
"node_modules/safe-buffer": {
|
|
362
|
+
"version": "5.2.1",
|
|
363
|
+
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
|
|
364
|
+
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
|
|
365
|
+
"funding": [
|
|
366
|
+
{
|
|
367
|
+
"type": "github",
|
|
368
|
+
"url": "https://github.com/sponsors/feross"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"type": "patreon",
|
|
372
|
+
"url": "https://www.patreon.com/feross"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"type": "consulting",
|
|
376
|
+
"url": "https://feross.org/support"
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"license": "MIT"
|
|
380
|
+
},
|
|
381
|
+
"node_modules/safe-stable-stringify": {
|
|
382
|
+
"version": "2.5.0",
|
|
383
|
+
"resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.5.0.tgz",
|
|
384
|
+
"integrity": "sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==",
|
|
385
|
+
"license": "MIT",
|
|
386
|
+
"engines": {
|
|
387
|
+
"node": ">=10"
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
"node_modules/secure-json-parse": {
|
|
391
|
+
"version": "2.7.0",
|
|
392
|
+
"resolved": "https://registry.npmjs.org/secure-json-parse/-/secure-json-parse-2.7.0.tgz",
|
|
393
|
+
"integrity": "sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==",
|
|
394
|
+
"license": "BSD-3-Clause"
|
|
395
|
+
},
|
|
396
|
+
"node_modules/sonic-boom": {
|
|
397
|
+
"version": "4.2.1",
|
|
398
|
+
"resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-4.2.1.tgz",
|
|
399
|
+
"integrity": "sha512-w6AxtubXa2wTXAUsZMMWERrsIRAdrK0Sc+FUytWvYAhBJLyuI4llrMIC1DtlNSdI99EI86KZum2MMq3EAZlF9Q==",
|
|
400
|
+
"license": "MIT",
|
|
401
|
+
"dependencies": {
|
|
402
|
+
"atomic-sleep": "^1.0.0"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"node_modules/split2": {
|
|
406
|
+
"version": "4.2.0",
|
|
407
|
+
"resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz",
|
|
408
|
+
"integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==",
|
|
409
|
+
"license": "ISC",
|
|
410
|
+
"engines": {
|
|
411
|
+
"node": ">= 10.x"
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"node_modules/string_decoder": {
|
|
415
|
+
"version": "1.3.0",
|
|
416
|
+
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
|
|
417
|
+
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
|
|
418
|
+
"license": "MIT",
|
|
419
|
+
"dependencies": {
|
|
420
|
+
"safe-buffer": "~5.2.0"
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"node_modules/strip-json-comments": {
|
|
424
|
+
"version": "3.1.1",
|
|
425
|
+
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
|
|
426
|
+
"integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
|
|
427
|
+
"license": "MIT",
|
|
428
|
+
"engines": {
|
|
429
|
+
"node": ">=8"
|
|
430
|
+
},
|
|
431
|
+
"funding": {
|
|
432
|
+
"url": "https://github.com/sponsors/sindresorhus"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"node_modules/thread-stream": {
|
|
436
|
+
"version": "3.2.0",
|
|
437
|
+
"resolved": "https://registry.npmjs.org/thread-stream/-/thread-stream-3.2.0.tgz",
|
|
438
|
+
"integrity": "sha512-zLBvqpwr4Esa0kRjcrzGU6zL25lePWaCLMx0RQFrmteozIfeNdaMLpG5U7PeHzvlFkAWaRKA9/KVW4F60iB+qw==",
|
|
439
|
+
"license": "MIT",
|
|
440
|
+
"dependencies": {
|
|
441
|
+
"real-require": "^0.2.0"
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
"node_modules/undici": {
|
|
445
|
+
"version": "6.29.1",
|
|
446
|
+
"resolved": "https://registry.npmjs.org/undici/-/undici-6.29.1.tgz",
|
|
447
|
+
"integrity": "sha512-EvRlUt/QqAEvXdQeRMYUfwOQsfzpDztykrG2owGEE/rBOBoYv9uF39ZzsNDh4lTFHhTr2XOZjKkYgueD12ZmGA==",
|
|
448
|
+
"license": "MIT",
|
|
449
|
+
"engines": {
|
|
450
|
+
"node": ">=18.17"
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
"node_modules/wrappy": {
|
|
454
|
+
"version": "1.0.2",
|
|
455
|
+
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
|
456
|
+
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
|
|
457
|
+
"license": "ISC"
|
|
458
|
+
},
|
|
459
|
+
"node_modules/zod": {
|
|
460
|
+
"version": "4.6.7",
|
|
461
|
+
"resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz",
|
|
462
|
+
"integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==",
|
|
463
|
+
"license": "MIT",
|
|
464
|
+
"funding": {
|
|
465
|
+
"url": "https://github.com/sponsors/colinhacks"
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "progon-agent",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "Progon local agent — runs Progon scenarios on your machine in its own Chromium with the Progon extension.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -27,15 +27,18 @@
|
|
|
27
27
|
"files": [
|
|
28
28
|
"dist/supervisor/cli.js",
|
|
29
29
|
"extension-dist",
|
|
30
|
-
"extension-bundle.json"
|
|
30
|
+
"extension-bundle.json",
|
|
31
|
+
"npm-shrinkwrap.json"
|
|
31
32
|
],
|
|
32
33
|
"publishConfig": {
|
|
33
34
|
"access": "public",
|
|
34
35
|
"provenance": false
|
|
35
36
|
},
|
|
36
37
|
"scripts": {
|
|
37
|
-
"build": "
|
|
38
|
+
"build": "node scripts/build.mjs",
|
|
38
39
|
"build:publish": "node scripts/build-publish.mjs",
|
|
40
|
+
"prepack": "node scripts/write-shrinkwrap.mjs",
|
|
41
|
+
"postpack": "node scripts/write-shrinkwrap.mjs --remove",
|
|
39
42
|
"bundle:extension": "node scripts/bundle-extension.mjs",
|
|
40
43
|
"verify:pack": "node scripts/verify-pack.mjs",
|
|
41
44
|
"prepublishOnly": "npm run build:publish && node -e \"const url = process.env.PROGON_PUBLIC_APP_URL; if (!url) { console.error('[prepublishOnly] PROGON_PUBLIC_APP_URL is unset, so verify:pack would skip rule 8 and this publish could ship an extension baked against a private APP_URL. Publish as: PROGON_PUBLIC_APP_URL=<the deployment url> npm publish'); process.exit(1); } try { require('node:child_process').execFileSync(process.execPath, ['scripts/verify-pack.mjs', '--expected-app-url', url], { stdio: 'inherit' }); } catch (error) { if (typeof error.status !== 'number') throw error; process.exit(error.status); }\"",
|
|
@@ -49,18 +52,20 @@
|
|
|
49
52
|
"test": "vitest run",
|
|
50
53
|
"test:watch": "vitest",
|
|
51
54
|
"start": "node dist/index.js",
|
|
52
|
-
"dev": "node --watch dist/index.js"
|
|
55
|
+
"dev": "node --watch dist/index.js",
|
|
56
|
+
"prestart": "npm run build",
|
|
57
|
+
"predev": "npm run build"
|
|
53
58
|
},
|
|
54
59
|
"dependencies": {
|
|
55
|
-
"pino": "
|
|
56
|
-
"pino-pretty": "
|
|
57
|
-
"playwright-core": "
|
|
58
|
-
"undici": "
|
|
59
|
-
"zod": "
|
|
60
|
+
"pino": "9.14.0",
|
|
61
|
+
"pino-pretty": "11.3.0",
|
|
62
|
+
"playwright-core": "1.62.1",
|
|
63
|
+
"undici": "6.29.1",
|
|
64
|
+
"zod": "4.6.7"
|
|
60
65
|
},
|
|
61
66
|
"devDependencies": {
|
|
62
|
-
"@antvish/progon-gates": "^1.0.
|
|
63
|
-
"@antvish/shared": "^2.25.
|
|
67
|
+
"@antvish/progon-gates": "^1.0.1",
|
|
68
|
+
"@antvish/shared": "^2.25.4",
|
|
64
69
|
"@types/node": "^22.0.0",
|
|
65
70
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
66
71
|
"@typescript-eslint/parser": "^8.0.0",
|
|
@@ -69,6 +74,6 @@
|
|
|
69
74
|
"lefthook": "^2.1.12",
|
|
70
75
|
"prettier": "^3.3.3",
|
|
71
76
|
"typescript": "^5.5.4",
|
|
72
|
-
"vitest": "^
|
|
77
|
+
"vitest": "^4.1.12"
|
|
73
78
|
}
|
|
74
79
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Bo as e,Gr as t,Ro as n,Uo as r,Va as i,Wo as a,zo as o}from"./shared-t8TH2XkL.js";function s(e,t){if(t.length===0)return[];let r=a(e);if(r===null)return[];let i=[];for(let e of d(r,t))for(let t of e.winners)i.push(p(t));return i.sort((e,t)=>n(e.environmentId,t.environmentId)||n(e.applicationId,t.applicationId))}function c(e,t,r){if(t.length===0)return{kind:`no_targets`};let i=a(e);if(i===null)return{kind:`unsupported_url`};let o=d(i,t);if(o.length===0)return{kind:`unknown_host`};let s=f(o,r);if(s===null)return{kind:`environment_choice`,environmentIds:o.map(e=>e.environmentId)};let c=[...new Set(s.winners.map(e=>e.rule.applicationId))].sort(n);return c.length>1?{kind:`ambiguous_application`,environmentId:s.environmentId,applicationIds:c}:{kind:`matched`,...p(s.winners[0])}}function l(e,t,n){let r=a(e);return r!==null&&t.some(e=>(n===null||e.environmentId===n)&&u(e,r)!==null)}function u(t,n){if(t.baseUrl!==null){let e=r(t.baseUrl);if(o(e.host)===o(n.host)){if(e.port===``)return 2;if(e.port===n.port)return 1}}return t.hostPattern!==null&&e(n.host,t.hostPattern)?3:null}function d(e,t){let r=/* @__PURE__ */ new Map;for(let n of t){let t=u(n,e);if(t===null)continue;let i={rule:n,tier:t},a=r.get(n.environmentId);a===void 0||t<a.winners[0].tier?r.set(n.environmentId,{environmentId:n.environmentId,winners:[i]}):t===a.winners[0].tier&&a.winners.push(i)}return[...r.values()].sort((e,t)=>n(e.environmentId,t.environmentId))}function f(e,t){let[n]=e;if(e.length===1&&n!==void 0)return n;if(t===null)return null;let r=e.find(e=>e.environmentId===t);return r===void 0?null:r}function p(e){let t=e.tier===3?`host_pattern`:`base_url`;return{targetId:e.rule.targetId,applicationId:e.rule.applicationId,environmentId:e.rule.environmentId,matchedBy:t}}var m=i(),h=`?`,g={xs:`size-4 text-(length:--text-2xs)`,sm:`size-5.5 text-(length:--text-micro)`,md:`size-7 text-(length:--text-caption)`,lg:`size-9 text-(length:--text-body-sm)`},_={primary:`bg-(--color-bg-primary-tint-15) text-fg-on-primary-tint shadow-[0_0_0_2px_var(--av-ring,var(--color-bg-card)),inset_0_0_0_1px_var(--color-border-primary-tint-28)]`,info:`bg-[color-mix(in_srgb,var(--color-info)_16%,transparent)] text-fg-info shadow-[0_0_0_2px_var(--av-ring,var(--color-bg-card))]`,scenario:`bg-[color-mix(in_srgb,var(--color-accent-scenario)_16%,transparent)] text-(--color-accent-scenario) shadow-[0_0_0_2px_var(--av-ring,var(--color-bg-card))]`};function v(e){return typeof e==`string`&&e.length>0}function y(e,t,n){return v(e)&&v(t)?(e.charAt(0)+t.charAt(0)).toUpperCase():v(e)?e.charAt(0).toUpperCase():v(n)?n.charAt(0).toUpperCase():h}function b(e,t,n,r){return v(e)&&v(t)?`${e} ${t}`:v(e)?e:v(n)?n:r}function x(e){return e.replace(/@.*$/,``).split(/[\s._-]+/).filter(e=>e!==``).slice(0,2).map(e=>e.charAt(0).toUpperCase()).join(``)}var S=`inline-grid shrink-0 place-items-center rounded-full font-semibold tracking-[0.2px]`;function C(e){let{size:n,tone:r=`primary`,className:i}=e,a=t(S,g[n],_[r],i);if(e.displayName!==void 0)return/* @__PURE__ */ (0,m.jsx)(`span`,{"aria-hidden":`true`,className:a,children:x(e.displayName)});let{firstName:o,lastName:s,email:c,unknownLabel:l}=e;return/* @__PURE__ */ (0,m.jsx)(`span`,{role:`img`,"aria-label":b(o,s,c,l),className:a,children:/* @__PURE__ */ (0,m.jsx)(`span`,{"aria-hidden":`true`,children:y(o,s,c)})})}export{c as i,l as n,s as r,C as t};
|