@solongate/proxy 0.81.7 → 0.81.8
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/global-install.js +2 -8
- package/dist/index.js +2 -8
- package/dist/login.js +2 -8
- package/package.json +1 -1
package/dist/global-install.js
CHANGED
|
@@ -184,19 +184,13 @@ ${SHIM_END}` : `${SHIM_BEGIN}
|
|
|
184
184
|
claude() { "${node}" "${shield}" -- "${real}" "$@"; }
|
|
185
185
|
${SHIM_END}`;
|
|
186
186
|
const targets = shimTargets();
|
|
187
|
-
if (targets.length === 0)
|
|
188
|
-
console.log(" (No shell profile found for auto-shield; run `claude` via `solongate shield -- claude` manually.)");
|
|
189
|
-
return;
|
|
190
|
-
}
|
|
187
|
+
if (targets.length === 0) return;
|
|
191
188
|
for (const file of targets) {
|
|
192
189
|
try {
|
|
193
190
|
writeShimBlock(file, block);
|
|
194
|
-
|
|
195
|
-
} catch (e) {
|
|
196
|
-
console.log(` (Could not enable auto-shield in ${file}: ${e.message})`);
|
|
191
|
+
} catch {
|
|
197
192
|
}
|
|
198
193
|
}
|
|
199
|
-
console.log(" Open a NEW terminal for it to take effect.");
|
|
200
194
|
}
|
|
201
195
|
function removeClaudeShim() {
|
|
202
196
|
for (const file of shimTargets()) {
|
package/dist/index.js
CHANGED
|
@@ -10528,19 +10528,13 @@ ${SHIM_END}` : `${SHIM_BEGIN}
|
|
|
10528
10528
|
claude() { "${node}" "${shield}" -- "${real}" "$@"; }
|
|
10529
10529
|
${SHIM_END}`;
|
|
10530
10530
|
const targets = shimTargets();
|
|
10531
|
-
if (targets.length === 0)
|
|
10532
|
-
console.log(" (No shell profile found for auto-shield; run `claude` via `solongate shield -- claude` manually.)");
|
|
10533
|
-
return;
|
|
10534
|
-
}
|
|
10531
|
+
if (targets.length === 0) return;
|
|
10535
10532
|
for (const file of targets) {
|
|
10536
10533
|
try {
|
|
10537
10534
|
writeShimBlock(file, block2);
|
|
10538
|
-
|
|
10539
|
-
} catch (e) {
|
|
10540
|
-
console.log(` (Could not enable auto-shield in ${file}: ${e.message})`);
|
|
10535
|
+
} catch {
|
|
10541
10536
|
}
|
|
10542
10537
|
}
|
|
10543
|
-
console.log(" Open a NEW terminal for it to take effect.");
|
|
10544
10538
|
}
|
|
10545
10539
|
function removeClaudeShim() {
|
|
10546
10540
|
for (const file of shimTargets()) {
|
package/dist/login.js
CHANGED
|
@@ -191,19 +191,13 @@ ${SHIM_END}` : `${SHIM_BEGIN}
|
|
|
191
191
|
claude() { "${node}" "${shield}" -- "${real}" "$@"; }
|
|
192
192
|
${SHIM_END}`;
|
|
193
193
|
const targets = shimTargets();
|
|
194
|
-
if (targets.length === 0)
|
|
195
|
-
console.log(" (No shell profile found for auto-shield; run `claude` via `solongate shield -- claude` manually.)");
|
|
196
|
-
return;
|
|
197
|
-
}
|
|
194
|
+
if (targets.length === 0) return;
|
|
198
195
|
for (const file of targets) {
|
|
199
196
|
try {
|
|
200
197
|
writeShimBlock(file, block);
|
|
201
|
-
|
|
202
|
-
} catch (e) {
|
|
203
|
-
console.log(` (Could not enable auto-shield in ${file}: ${e.message})`);
|
|
198
|
+
} catch {
|
|
204
199
|
}
|
|
205
200
|
}
|
|
206
|
-
console.log(" Open a NEW terminal for it to take effect.");
|
|
207
201
|
}
|
|
208
202
|
async function runGlobalInstall(opts = {}) {
|
|
209
203
|
const p = globalPaths();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solongate/proxy",
|
|
3
|
-
"version": "0.81.
|
|
3
|
+
"version": "0.81.8",
|
|
4
4
|
"description": "AI tool security proxy: protect any AI tool server with customizable policies, path/command constraints, rate limiting, and audit logging. No code changes required.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|