@solongate/proxy 0.15.1 → 0.15.3

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/dist/index.js CHANGED
@@ -746,7 +746,7 @@ async function main() {
746
746
  console.log(" Config updated!");
747
747
  console.log("");
748
748
  await sleep(500);
749
- installHooks();
749
+ installHooks(options.tools);
750
750
  console.log("");
751
751
  await sleep(400);
752
752
  console.log(" \u2500\u2500 Summary \u2500\u2500");
package/dist/init.js CHANGED
@@ -453,7 +453,7 @@ async function main() {
453
453
  console.log(" Config updated!");
454
454
  console.log("");
455
455
  await sleep(500);
456
- installHooks();
456
+ installHooks(options.tools);
457
457
  console.log("");
458
458
  await sleep(400);
459
459
  console.log(" \u2500\u2500 Summary \u2500\u2500");
package/hooks/guard.mjs CHANGED
@@ -291,7 +291,10 @@ process.stdin.on('end', async () => {
291
291
 
292
292
  // ── Self-protection: block access to hook files and settings ──
293
293
  const allStrings = scanStrings(args).map(s => s.replace(/\\/g, '/').toLowerCase());
294
- const protectedPaths = ['.solongate', '.claude', '.cursor', 'policy.json', '.mcp.json'];
294
+ const protectedPaths = [
295
+ '.solongate', '.claude', '.cursor', '.gemini', '.antigravity', '.openclaw', '.perplexity',
296
+ 'policy.json', '.mcp.json',
297
+ ];
295
298
  for (const s of allStrings) {
296
299
  for (const p of protectedPaths) {
297
300
  if (s.includes(p)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solongate/proxy",
3
- "version": "0.15.1",
3
+ "version": "0.15.3",
4
4
  "description": "MCP security proxy — protect any MCP server with customizable policies, path/command constraints, rate limiting, and audit logging. Zero code changes required.",
5
5
  "type": "module",
6
6
  "bin": {