🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

vg-coder-cli

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vg-coder-cli - npm Package Compare versions

Comparing version
2.0.79
to
2.0.80
+1
-1
package.json
{
"name": "vg-coder-cli",
"version": "2.0.79",
"version": "2.0.80",
"description": "🚀 CLI tool to analyze projects, concatenate source files, count tokens, and export HTML with syntax highlighting and copy functionality",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -863,2 +863,33 @@ const express = require('express');

// Return launcher SW console log buffer remotely so callers don't have to
// open chrome://extensions DevTools per profile. Pin via chromeId/
// workerLabel like other launcher endpoints; bare call broadcasts to all.
// Body/query: { chromeId? | workerLabel? | all?, since?, level?, limit?, clear? }
this.app.get('/api/launcher/logs', async (req, res) => {
try {
const q = req.query || {};
const opts = launcherOpts({}, q) || { all: true };
const result = await taskQueue.requestLauncher('launcher:logs', {
since: q.since ? Number(q.since) : 0,
level: q.level || null,
limit: q.limit ? Number(q.limit) : 200,
clear: q.clear === 'true' || q.clear === '1',
}, opts, 5_000);
res.json(result);
} catch (e) { res.status(launcherErr(e)).json({ error: e.message }); }
});
this.app.post('/api/launcher/logs', async (req, res) => {
try {
const body = req.body || {};
const opts = launcherOpts(body) || (body.all ? { all: true } : {});
const result = await taskQueue.requestLauncher('launcher:logs', {
since: body.since ? Number(body.since) : 0,
level: body.level || null,
limit: body.limit ? Number(body.limit) : 200,
clear: !!body.clear,
}, opts, 5_000);
res.json(result);
} catch (e) { res.status(launcherErr(e)).json({ error: e.message }); }
});
// Proxy a chrome.* command through a worker (content-script → SW

@@ -865,0 +896,0 @@ // message bridge). Use when the launcher SW socket is offline but the

Sorry, the diff of this file is too big to display