@ai-ecoverse/slicc-spectrum 1.47.4 → 1.48.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/README.md +3 -3
- package/dist/slicc-dummy.js +10 -3
- package/dist/slicc-dummy.js.map +2 -2
- package/dist/slicc-ui.js +18 -2
- package/dist/slicc-ui.js.map +3 -3
- package/dist/types/app/network.d.ts +1 -0
- package/dist/types/model/types.d.ts +6 -1
- package/package.json +1 -1
|
@@ -16,6 +16,7 @@ export { command } from './reach.js';
|
|
|
16
16
|
export declare const networkHealth: Record<NetworkStatus['health'], readonly ['positive' | 'notice' | 'negative', string]>;
|
|
17
17
|
export declare const automation: Record<NonNullable<BrowserAutomation['via']> | 'none', string>;
|
|
18
18
|
export declare function automationOf(browser: BrowserAutomation): keyof typeof automation;
|
|
19
|
+
export declare function browserLine(browser: BrowserAutomation, links?: NetworkLinks): string;
|
|
19
20
|
export declare const tailnetStates: Record<TailnetState, readonly ['neutral' | 'info' | 'positive' | 'notice' | 'negative', string]>;
|
|
20
21
|
export declare function tailnetAddress(addresses: readonly string[]): string | undefined;
|
|
21
22
|
export declare function exitNodeValue(tailnet: TailnetStatus): string;
|
|
@@ -598,7 +598,7 @@ export interface NetworkFailure {
|
|
|
598
598
|
at: number;
|
|
599
599
|
}
|
|
600
600
|
export interface BrowserAutomation {
|
|
601
|
-
via: 'extension' | 'proxy' | null;
|
|
601
|
+
via: 'extension' | 'proxy' | 'link' | null;
|
|
602
602
|
detail?: string;
|
|
603
603
|
declined?: boolean;
|
|
604
604
|
}
|
|
@@ -616,6 +616,10 @@ export interface NetworkStatus {
|
|
|
616
616
|
export type LinkMode = 'local' | 'remote';
|
|
617
617
|
export type LinkOffer = 'net' | 'http' | 'ssh';
|
|
618
618
|
export type LinkState = 'connecting' | 'connected' | 'reconnecting';
|
|
619
|
+
export interface LinkedBrowser {
|
|
620
|
+
runtime: string;
|
|
621
|
+
name: string;
|
|
622
|
+
}
|
|
619
623
|
export interface LinkedDevice {
|
|
620
624
|
id: string;
|
|
621
625
|
name: string;
|
|
@@ -626,6 +630,7 @@ export interface LinkedDevice {
|
|
|
626
630
|
policy?: string;
|
|
627
631
|
exit: boolean;
|
|
628
632
|
state: LinkState;
|
|
633
|
+
browsers?: readonly LinkedBrowser[];
|
|
629
634
|
}
|
|
630
635
|
export interface NetworkLinks {
|
|
631
636
|
joinUrl: string | null;
|
package/package.json
CHANGED