@solongate/proxy 0.82.26 → 0.82.28

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.
@@ -668,7 +668,7 @@ function printRules(rules) {
668
668
  r.effect === "ALLOW" ? green("ALLOW") : decisionColor("DENY"),
669
669
  String(r.priority),
670
670
  cyan(truncate(r.toolPattern, 24)),
671
- dim(truncate(r.id, 22)),
671
+ dim(r.id),
672
672
  truncate(r.description || "-", 40)
673
673
  ])
674
674
  );
package/dist/index.js CHANGED
@@ -9003,16 +9003,18 @@ function PoliciesPanel({ focused }) {
9003
9003
  { header: "ON", width: 2 },
9004
9004
  { header: "EFFECT", width: 7 },
9005
9005
  { header: "PRIO", width: 4 },
9006
- { header: "TOOL", width: 20 },
9007
- { header: "CONSTRAINTS", width: 22 }
9006
+ { header: "TOOL", width: 12 },
9007
+ { header: "DESCRIPTION", width: 30 },
9008
+ { header: "CONSTRAINTS", width: 14 }
9008
9009
  ],
9009
9010
  rows: rules.map((r, i) => [
9010
9011
  { value: i === ri ? "\u25B8" : "", color: theme.accentBright },
9011
9012
  { value: r.enabled ? "\u25CF" : "\u25CB", color: r.enabled ? theme.ok : theme.dim },
9012
9013
  { value: r.effect, color: r.effect === "ALLOW" ? theme.ok : theme.bad, dim: !r.enabled },
9013
9014
  { value: String(r.priority), dim: true },
9014
- { value: truncate2(r.toolPattern, 20), color: theme.accent, dim: !r.enabled },
9015
- { value: ruleSummary(r) || truncate2(r.description || "\u2014", 22), dim: true }
9015
+ { value: truncate2(r.toolPattern, 12), color: theme.accent, dim: !r.enabled },
9016
+ { value: truncate2(r.description || "-", 30), dim: !r.enabled },
9017
+ { value: ruleSummary(r) || "-", dim: true }
9016
9018
  ])
9017
9019
  }
9018
9020
  ) }),
@@ -9024,7 +9026,7 @@ function PoliciesPanel({ focused }) {
9024
9026
  return /* @__PURE__ */ jsxs3(Box3, { flexDirection: "column", children: [
9025
9027
  /* @__PURE__ */ jsxs3(Box3, { children: [
9026
9028
  /* @__PURE__ */ jsx3(Text3, { bold: true, color: theme.accentBright, children: "Rule " }),
9027
- /* @__PURE__ */ jsx3(Text3, { color: theme.dim, children: truncate2(rule?.id ?? "", 26) }),
9029
+ /* @__PURE__ */ jsx3(Text3, { color: theme.dim, children: rule?.id ?? "" }),
9028
9030
  dirtyTag
9029
9031
  ] }),
9030
9032
  /* @__PURE__ */ jsx3(Text3, { color: theme.dim, children: "\u2191\u2193 field \xB7 enter edit text \xB7 space/\u2192 toggle \xB7 s save \xB7 \u2190 back" }),
@@ -11584,7 +11586,7 @@ function printRules(rules) {
11584
11586
  r.effect === "ALLOW" ? green("ALLOW") : decisionColor2("DENY"),
11585
11587
  String(r.priority),
11586
11588
  cyan(truncate3(r.toolPattern, 24)),
11587
- dim(truncate3(r.id, 22)),
11589
+ dim(r.id),
11588
11590
  truncate3(r.description || "-", 40)
11589
11591
  ])
11590
11592
  );
package/dist/tui/index.js CHANGED
@@ -2128,16 +2128,18 @@ function PoliciesPanel({ focused }) {
2128
2128
  { header: "ON", width: 2 },
2129
2129
  { header: "EFFECT", width: 7 },
2130
2130
  { header: "PRIO", width: 4 },
2131
- { header: "TOOL", width: 20 },
2132
- { header: "CONSTRAINTS", width: 22 }
2131
+ { header: "TOOL", width: 12 },
2132
+ { header: "DESCRIPTION", width: 30 },
2133
+ { header: "CONSTRAINTS", width: 14 }
2133
2134
  ],
2134
2135
  rows: rules.map((r, i) => [
2135
2136
  { value: i === ri ? "\u25B8" : "", color: theme.accentBright },
2136
2137
  { value: r.enabled ? "\u25CF" : "\u25CB", color: r.enabled ? theme.ok : theme.dim },
2137
2138
  { value: r.effect, color: r.effect === "ALLOW" ? theme.ok : theme.bad, dim: !r.enabled },
2138
2139
  { value: String(r.priority), dim: true },
2139
- { value: truncate(r.toolPattern, 20), color: theme.accent, dim: !r.enabled },
2140
- { value: ruleSummary(r) || truncate(r.description || "\u2014", 22), dim: true }
2140
+ { value: truncate(r.toolPattern, 12), color: theme.accent, dim: !r.enabled },
2141
+ { value: truncate(r.description || "-", 30), dim: !r.enabled },
2142
+ { value: ruleSummary(r) || "-", dim: true }
2141
2143
  ])
2142
2144
  }
2143
2145
  ) }),
@@ -2149,7 +2151,7 @@ function PoliciesPanel({ focused }) {
2149
2151
  return /* @__PURE__ */ jsxs3(Box3, { flexDirection: "column", children: [
2150
2152
  /* @__PURE__ */ jsxs3(Box3, { children: [
2151
2153
  /* @__PURE__ */ jsx3(Text3, { bold: true, color: theme.accentBright, children: "Rule " }),
2152
- /* @__PURE__ */ jsx3(Text3, { color: theme.dim, children: truncate(rule?.id ?? "", 26) }),
2154
+ /* @__PURE__ */ jsx3(Text3, { color: theme.dim, children: rule?.id ?? "" }),
2153
2155
  dirtyTag
2154
2156
  ] }),
2155
2157
  /* @__PURE__ */ jsx3(Text3, { color: theme.dim, children: "\u2191\u2193 field \xB7 enter edit text \xB7 space/\u2192 toggle \xB7 s save \xB7 \u2190 back" }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solongate/proxy",
3
- "version": "0.82.26",
3
+ "version": "0.82.28",
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": {