@solongate/proxy 0.81.69 → 0.81.71
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/client.d.ts +8 -0
- package/dist/global-install.d.ts +1 -0
- package/dist/global-install.js +10 -1
- package/dist/index.js +597 -559
- package/dist/login.js +1 -1
- package/dist/tui/components.d.ts +31 -0
- package/dist/tui/index.js +233 -173
- package/dist/tui/panels/Settings.d.ts +4 -1
- package/package.json +1 -1
package/dist/login.js
CHANGED
|
@@ -26,7 +26,7 @@ var c = {
|
|
|
26
26
|
var BANNER_COLORS = [c.blue1, c.blue2, c.blue3, c.blue4, c.blue5, c.blue6];
|
|
27
27
|
|
|
28
28
|
// src/global-install.ts
|
|
29
|
-
import { readFileSync, writeFileSync, existsSync, mkdirSync } from "fs";
|
|
29
|
+
import { readFileSync, writeFileSync, existsSync, mkdirSync, rmSync } from "fs";
|
|
30
30
|
import { resolve, join, dirname } from "path";
|
|
31
31
|
import { homedir } from "os";
|
|
32
32
|
import { fileURLToPath } from "url";
|
package/dist/tui/components.d.ts
CHANGED
|
@@ -1,4 +1,35 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
/** HH:MM:SS for a timestamp (ms or ISO); `--:--:--` when unparseable. */
|
|
3
|
+
export declare const hhmmss: (ts: string | number) => string;
|
|
4
|
+
/** Section divider title used across the Live/Audit consoles. */
|
|
5
|
+
export declare function PaneTitle({ label, extra, width }: {
|
|
6
|
+
label: string;
|
|
7
|
+
extra?: string;
|
|
8
|
+
width: number;
|
|
9
|
+
}): JSX.Element;
|
|
10
|
+
/**
|
|
11
|
+
* One tool-stream row, shared verbatim by Live (rolling buffer) and Audit (full
|
|
12
|
+
* history). `loc` tags LOC vs CLD; `selected` highlights + shows the ▸ cursor.
|
|
13
|
+
* Columns are fixed-width and NEVER conditional so scrolling can't reshuffle the
|
|
14
|
+
* line and glitch the frame.
|
|
15
|
+
*/
|
|
16
|
+
export interface StreamRow {
|
|
17
|
+
at: number;
|
|
18
|
+
tool: string;
|
|
19
|
+
decision: string;
|
|
20
|
+
permission: string;
|
|
21
|
+
detail: string;
|
|
22
|
+
dlp: boolean;
|
|
23
|
+
burst: boolean;
|
|
24
|
+
agent?: string | null;
|
|
25
|
+
evalMs?: number | null;
|
|
26
|
+
rule?: string | null;
|
|
27
|
+
}
|
|
28
|
+
export declare function StreamLine({ e, loc, selected }: {
|
|
29
|
+
e: StreamRow;
|
|
30
|
+
loc: boolean;
|
|
31
|
+
selected?: boolean;
|
|
32
|
+
}): JSX.Element;
|
|
2
33
|
export declare function Panel({ title, subtitle, children }: {
|
|
3
34
|
title: string;
|
|
4
35
|
subtitle?: string;
|