@solongate/proxy 0.28.8 → 0.28.9
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 +9 -3
- package/dist/init.js +9 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -789,7 +789,13 @@ SOLONGATE_API_KEY=sg_live_your_key_here
|
|
|
789
789
|
const requiredEntries = [
|
|
790
790
|
{ pattern: ".env", lines: ".env\n.env.local" },
|
|
791
791
|
{ pattern: ".mcp.json", lines: ".mcp.json" },
|
|
792
|
-
{ pattern: ".solongate", lines: ".solongate/" }
|
|
792
|
+
{ pattern: ".solongate", lines: ".solongate/" },
|
|
793
|
+
{ pattern: ".claude", lines: ".claude/" },
|
|
794
|
+
{ pattern: ".cursor", lines: ".cursor/" },
|
|
795
|
+
{ pattern: ".gemini", lines: ".gemini/" },
|
|
796
|
+
{ pattern: ".antigravity", lines: ".antigravity/" },
|
|
797
|
+
{ pattern: ".openclaw", lines: ".openclaw/" },
|
|
798
|
+
{ pattern: ".perplexity", lines: ".perplexity/" }
|
|
793
799
|
];
|
|
794
800
|
if (existsSync4(gitignorePath)) {
|
|
795
801
|
let gitignore = readFileSync4(gitignorePath, "utf-8");
|
|
@@ -806,8 +812,8 @@ SOLONGATE_API_KEY=sg_live_your_key_here
|
|
|
806
812
|
gitignoreChanged = true;
|
|
807
813
|
}
|
|
808
814
|
} else {
|
|
809
|
-
writeFileSync2(gitignorePath, ".env\n.env.local\n.mcp.json\n.solongate/\nnode_modules/\n");
|
|
810
|
-
console.log(` Created .gitignore
|
|
815
|
+
writeFileSync2(gitignorePath, ".env\n.env.local\n.mcp.json\n.solongate/\n.claude/\n.cursor/\n.gemini/\n.antigravity/\n.openclaw/\n.perplexity/\nnode_modules/\n");
|
|
816
|
+
console.log(` Created .gitignore`);
|
|
811
817
|
gitignoreChanged = true;
|
|
812
818
|
}
|
|
813
819
|
if (!envChanged && !gitignoreChanged) {
|
package/dist/init.js
CHANGED
|
@@ -372,7 +372,13 @@ SOLONGATE_API_KEY=sg_live_your_key_here
|
|
|
372
372
|
const requiredEntries = [
|
|
373
373
|
{ pattern: ".env", lines: ".env\n.env.local" },
|
|
374
374
|
{ pattern: ".mcp.json", lines: ".mcp.json" },
|
|
375
|
-
{ pattern: ".solongate", lines: ".solongate/" }
|
|
375
|
+
{ pattern: ".solongate", lines: ".solongate/" },
|
|
376
|
+
{ pattern: ".claude", lines: ".claude/" },
|
|
377
|
+
{ pattern: ".cursor", lines: ".cursor/" },
|
|
378
|
+
{ pattern: ".gemini", lines: ".gemini/" },
|
|
379
|
+
{ pattern: ".antigravity", lines: ".antigravity/" },
|
|
380
|
+
{ pattern: ".openclaw", lines: ".openclaw/" },
|
|
381
|
+
{ pattern: ".perplexity", lines: ".perplexity/" }
|
|
376
382
|
];
|
|
377
383
|
if (existsSync(gitignorePath)) {
|
|
378
384
|
let gitignore = readFileSync(gitignorePath, "utf-8");
|
|
@@ -389,8 +395,8 @@ SOLONGATE_API_KEY=sg_live_your_key_here
|
|
|
389
395
|
gitignoreChanged = true;
|
|
390
396
|
}
|
|
391
397
|
} else {
|
|
392
|
-
writeFileSync(gitignorePath, ".env\n.env.local\n.mcp.json\n.solongate/\nnode_modules/\n");
|
|
393
|
-
console.log(` Created .gitignore
|
|
398
|
+
writeFileSync(gitignorePath, ".env\n.env.local\n.mcp.json\n.solongate/\n.claude/\n.cursor/\n.gemini/\n.antigravity/\n.openclaw/\n.perplexity/\nnode_modules/\n");
|
|
399
|
+
console.log(` Created .gitignore`);
|
|
394
400
|
gitignoreChanged = true;
|
|
395
401
|
}
|
|
396
402
|
if (!envChanged && !gitignoreChanged) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solongate/proxy",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.9",
|
|
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": {
|