@solongate/proxy 0.81.23 → 0.81.25

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.
@@ -0,0 +1,22 @@
1
+ export declare const LOCAL_LOG: string;
2
+ /** Read the last `maxBytes` of a file as complete lines (first partial dropped). */
3
+ export declare function tailLines(file: string, maxBytes?: number): string[];
4
+ /** One parsed line of the local audit JSONL (fields are best-effort). */
5
+ export interface LocalLogLine {
6
+ ts?: string;
7
+ tool?: string;
8
+ decision?: string;
9
+ reason?: string;
10
+ arguments?: unknown;
11
+ dlp?: unknown;
12
+ permission?: string;
13
+ trust_level?: string;
14
+ session_id?: string;
15
+ agent_name?: string;
16
+ evaluation_time_ms?: number;
17
+ matched_rule_id?: string;
18
+ rate_limit_burst?: boolean;
19
+ }
20
+ export declare function parseLocalLines(lines: string[]): Array<LocalLogLine & {
21
+ at: number;
22
+ }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solongate/proxy",
3
- "version": "0.81.23",
3
+ "version": "0.81.25",
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": {
@@ -1,4 +0,0 @@
1
- export declare function AgentsPanel({ focused }: {
2
- active: boolean;
3
- focused: boolean;
4
- }): JSX.Element;
@@ -1,3 +0,0 @@
1
- export declare function StatsPanel({ active }: {
2
- active: boolean;
3
- }): JSX.Element;