@solongate/proxy 0.82.97 → 0.82.98
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 +1 -2
- package/dist/tui/index.js +1 -2
- package/hooks/guard.bundled.mjs +2 -2
- package/hooks/guard.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11462,7 +11462,7 @@ function SettingsPanel({
|
|
|
11462
11462
|
const step = setInterval(() => setDiagStep((s) => Math.min(s + 1, total - 1)), 220);
|
|
11463
11463
|
return () => clearInterval(step);
|
|
11464
11464
|
}, [diagBusy]);
|
|
11465
|
-
|
|
11465
|
+
void guestAllowance;
|
|
11466
11466
|
const ver = currentVersion();
|
|
11467
11467
|
useEffect7(() => {
|
|
11468
11468
|
let live2 = true;
|
|
@@ -11534,7 +11534,6 @@ function SettingsPanel({
|
|
|
11534
11534
|
const rowsAll = [
|
|
11535
11535
|
...accounts.map((acc) => ({ kind: "acct", acc })),
|
|
11536
11536
|
{ kind: "acct-add" },
|
|
11537
|
-
...allowance ? [{ kind: "allowance", used: allowance.used, limit: allowance.limit }] : [],
|
|
11538
11537
|
...locked ? [] : [
|
|
11539
11538
|
{ kind: "guard" },
|
|
11540
11539
|
{ kind: "self" },
|
package/dist/tui/index.js
CHANGED
|
@@ -4658,7 +4658,7 @@ function SettingsPanel({
|
|
|
4658
4658
|
const step = setInterval(() => setDiagStep((s) => Math.min(s + 1, total - 1)), 220);
|
|
4659
4659
|
return () => clearInterval(step);
|
|
4660
4660
|
}, [diagBusy]);
|
|
4661
|
-
|
|
4661
|
+
void guestAllowance;
|
|
4662
4662
|
const ver = currentVersion();
|
|
4663
4663
|
useEffect7(() => {
|
|
4664
4664
|
let live2 = true;
|
|
@@ -4730,7 +4730,6 @@ function SettingsPanel({
|
|
|
4730
4730
|
const rowsAll = [
|
|
4731
4731
|
...accounts.map((acc) => ({ kind: "acct", acc })),
|
|
4732
4732
|
{ kind: "acct-add" },
|
|
4733
|
-
...allowance ? [{ kind: "allowance", used: allowance.used, limit: allowance.limit }] : [],
|
|
4734
4733
|
...locked ? [] : [
|
|
4735
4734
|
{ kind: "guard" },
|
|
4736
4735
|
{ kind: "self" },
|
package/hooks/guard.bundled.mjs
CHANGED
|
@@ -6536,7 +6536,7 @@ import { resolve, join, dirname, isAbsolute } from "node:path";
|
|
|
6536
6536
|
import { homedir } from "node:os";
|
|
6537
6537
|
import { gunzipSync } from "node:zlib";
|
|
6538
6538
|
import { createHash } from "node:crypto";
|
|
6539
|
-
var HOOK_VERSION =
|
|
6539
|
+
var HOOK_VERSION = 69;
|
|
6540
6540
|
function localLogsOnly(security) {
|
|
6541
6541
|
if (security && typeof security === "object") {
|
|
6542
6542
|
const l = security.localLogs;
|
|
@@ -7957,7 +7957,7 @@ function securityLayerCheck(toolName, args, cfg, agentKey) {
|
|
|
7957
7957
|
try {
|
|
7958
7958
|
const q = cfg.guestQuota;
|
|
7959
7959
|
if (q && q.exhausted) {
|
|
7960
|
-
return `Guest allowance used up (${q.limit} tool calls). Create an account at https://auth.solongate.com to carry on
|
|
7960
|
+
return `Guest allowance used up (${q.limit} tool calls). Create an account at https://auth.solongate.com to carry on. Your project, its policy and everything recorded carry over, and this device keeps working. To stop guarding this machine instead: solongate, Settings, guard, then press d.`;
|
|
7961
7961
|
}
|
|
7962
7962
|
if (cfg.dlpBlock) {
|
|
7963
7963
|
const hit = dlpScan(args, cfg.dlpBlock);
|
package/hooks/guard.mjs
CHANGED
|
@@ -32,7 +32,7 @@ import { createHash } from 'node:crypto';
|
|
|
32
32
|
// the installed hook self-updates when the cloud version is higher (see
|
|
33
33
|
// maybeSelfUpdate). This is what makes guard fixes propagate without a manual
|
|
34
34
|
// reinstall — the same trust model as the OPA WASM this hook already runs.
|
|
35
|
-
const HOOK_VERSION =
|
|
35
|
+
const HOOK_VERSION = 69;
|
|
36
36
|
|
|
37
37
|
// True when local log storage is ON. In that mode logs are kept LOCAL ONLY and
|
|
38
38
|
// nothing is sent to the cloud audit log.
|
|
@@ -1772,7 +1772,7 @@ function securityLayerCheck(toolName, args, cfg, agentKey) {
|
|
|
1772
1772
|
// call through after the allowance is gone.
|
|
1773
1773
|
const q = cfg.guestQuota;
|
|
1774
1774
|
if (q && q.exhausted) {
|
|
1775
|
-
return `Guest allowance used up (${q.limit} tool calls). Create an account at https://auth.solongate.com to carry on
|
|
1775
|
+
return `Guest allowance used up (${q.limit} tool calls). Create an account at https://auth.solongate.com to carry on. Your project, its policy and everything recorded carry over, and this device keeps working. To stop guarding this machine instead: solongate, Settings, guard, then press d.`;
|
|
1776
1776
|
}
|
|
1777
1777
|
if (cfg.dlpBlock) {
|
|
1778
1778
|
const hit = dlpScan(args, cfg.dlpBlock);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solongate/proxy",
|
|
3
|
-
"version": "0.82.
|
|
3
|
+
"version": "0.82.98",
|
|
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": {
|