@imenam/simple-scraper 1.0.13 → 1.0.14

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.
Files changed (2) hide show
  1. package/dist/gui.js +3 -1
  2. package/package.json +1 -1
package/dist/gui.js CHANGED
@@ -172,7 +172,9 @@ app.get('/api/sessions/:id/screenshot', async (req, res) => {
172
172
  });
173
173
  async function startServer() {
174
174
  const client = new ProxyClient(process.env.PROXY_URL);
175
- const result = await client.register({ path: APP_PATH, name: APP_NAME });
175
+ // APP_GROUP place la GUI dans une section repliable du proxy (facultatif).
176
+ const registerOptions = { path: APP_PATH, name: APP_NAME, group: process.env.APP_GROUP };
177
+ const result = await client.register(registerOptions);
176
178
  // Une autre instance du serveur MCP sert déjà cette GUI. C'est le cas nominal
177
179
  // quand le client redémarre le serveur : il lance le nouveau master avant de
178
180
  // couper l'ancien, dont la GUI tient encore la route. Ce n'est pas un crash —
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imenam/simple-scraper",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "MCP server for web scraping and JavaScript execution using Puppeteer",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",