@solongate/proxy 0.59.5 → 0.61.0
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/api-client/agents.d.ts +10 -0
- package/dist/api-client/audit.d.ts +22 -0
- package/dist/api-client/client.d.ts +39 -0
- package/dist/api-client/index.d.ts +18 -0
- package/dist/api-client/policies.d.ts +82 -0
- package/dist/api-client/settings.d.ts +22 -0
- package/dist/api-client/stats.d.ts +9 -0
- package/dist/api-client/types.d.ts +224 -0
- package/dist/commands/agents.d.ts +4 -0
- package/dist/commands/args.d.ts +15 -0
- package/dist/commands/audit.d.ts +1 -0
- package/dist/commands/dlp.d.ts +1 -0
- package/dist/commands/format.d.ts +22 -0
- package/dist/commands/index.d.ts +7 -0
- package/dist/commands/index.js +938 -0
- package/dist/commands/policy.d.ts +1 -0
- package/dist/commands/ratelimit.d.ts +1 -0
- package/dist/commands/stats.d.ts +1 -0
- package/dist/index.js +2156 -284
- package/dist/tui/App.d.ts +1 -0
- package/dist/tui/components.d.ts +40 -0
- package/dist/tui/hooks.d.ts +13 -0
- package/dist/tui/index.d.ts +1 -0
- package/dist/tui/index.js +999 -0
- package/dist/tui/panels/Agents.d.ts +3 -0
- package/dist/tui/panels/Audit.d.ts +4 -0
- package/dist/tui/panels/Dlp.d.ts +4 -0
- package/dist/tui/panels/Policies.d.ts +4 -0
- package/dist/tui/panels/RateLimit.d.ts +4 -0
- package/dist/tui/panels/Stats.d.ts +3 -0
- package/dist/tui/theme.d.ts +16 -0
- package/package.json +7 -2
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** Shared colors + small helpers for the Ink TUI. */
|
|
2
|
+
export declare const theme: {
|
|
3
|
+
readonly accent: "cyan";
|
|
4
|
+
readonly accentBright: "#5a8ce6";
|
|
5
|
+
readonly ok: "green";
|
|
6
|
+
readonly warn: "yellow";
|
|
7
|
+
readonly bad: "red";
|
|
8
|
+
readonly dim: "gray";
|
|
9
|
+
};
|
|
10
|
+
/** Ink `color` for a decision string. */
|
|
11
|
+
export declare function decisionColor(decision: string): string;
|
|
12
|
+
/** Ink `color` for a layer/agent mode/status. */
|
|
13
|
+
export declare function modeColor(m: string): string;
|
|
14
|
+
export declare function sparkline(values: number[], width?: number): string;
|
|
15
|
+
export declare function truncate(s: string, n: number): string;
|
|
16
|
+
export declare function ago(ts: string | number): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solongate/proxy",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.61.0",
|
|
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": {
|
|
@@ -60,12 +60,17 @@
|
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
63
|
+
"ink": "^5.0.1",
|
|
64
|
+
"ink-spinner": "^5.0.0",
|
|
65
|
+
"ink-text-input": "^6.0.0",
|
|
66
|
+
"react": "^18.3.1",
|
|
63
67
|
"zod": "^3.25.0"
|
|
64
68
|
},
|
|
65
69
|
"devDependencies": {
|
|
66
70
|
"@open-policy-agent/opa-wasm": "^1.10.0",
|
|
67
|
-
"chalk": "^5.3.0",
|
|
68
71
|
"@solongate/tsconfig": "workspace:*",
|
|
72
|
+
"@types/react": "^18.3.12",
|
|
73
|
+
"chalk": "^5.3.0",
|
|
69
74
|
"esbuild": "^0.19.12",
|
|
70
75
|
"tsup": "^8.3.0",
|
|
71
76
|
"tsx": "^4.19.0",
|