@ai-ecoverse/slicc-spectrum 1.40.0 → 1.41.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 +19 -5
- package/dist/slicc-dummy.js.map +2 -2
- package/dist/slicc-ui.js +13 -2
- package/dist/slicc-ui.js.map +2 -2
- package/dist/types/app/network.d.ts +3 -1
- package/dist/types/model/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import '@adobe/spectrum-wc-icons/swc-icon-cloud-state-online.js';
|
|
|
8
8
|
import '@adobe/spectrum-wc-icons/swc-icon-cloud-state-slow-connection.js';
|
|
9
9
|
import '@adobe/spectrum-wc-icons/swc-icon-copy.js';
|
|
10
10
|
import { type TemplateResult } from 'lit';
|
|
11
|
-
import type { BrowserAutomation, NetworkStatus, SliccModel, TailnetState, TailnetStatus } from '../model/types.js';
|
|
11
|
+
import type { BrowserAutomation, NetworkRoute, NetworkStatus, SliccModel, TailnetState, TailnetStatus } from '../model/types.js';
|
|
12
12
|
import { ModelElement } from './base.js';
|
|
13
13
|
export declare const command = "npx @ai-ecoverse/slicc-node";
|
|
14
14
|
export declare const networkHealth: Record<NetworkStatus['health'], readonly ['positive' | 'notice' | 'negative', string]>;
|
|
@@ -17,6 +17,8 @@ export declare function automationOf(browser: BrowserAutomation): keyof typeof a
|
|
|
17
17
|
export declare const tailnetStates: Record<TailnetState, readonly ['neutral' | 'info' | 'positive' | 'notice' | 'negative', string]>;
|
|
18
18
|
export declare function tailnetAddress(addresses: readonly string[]): string | undefined;
|
|
19
19
|
export declare function exitNodeValue(tailnet: TailnetStatus): string;
|
|
20
|
+
export declare const wholeWeb: ReadonlySet<NetworkRoute | null>;
|
|
21
|
+
export declare function routeLine(status: NetworkStatus): string;
|
|
20
22
|
export declare function networkLabel(status: NetworkStatus): string;
|
|
21
23
|
export declare const networkIcon: Record<NetworkStatus['health'], TemplateResult>;
|
|
22
24
|
export declare function host(url: string): string;
|
|
@@ -537,7 +537,7 @@ export interface UpdatesPort extends Subscribable<{
|
|
|
537
537
|
ready(): boolean;
|
|
538
538
|
act(id: string, action: UpdateAction): Promise<void>;
|
|
539
539
|
}
|
|
540
|
-
export type NetworkRoute = 'proxy' | 'extension' | 'page';
|
|
540
|
+
export type NetworkRoute = 'proxy' | 'extension' | 'tailnet' | 'page';
|
|
541
541
|
export interface NetworkFailure {
|
|
542
542
|
url: string;
|
|
543
543
|
error: string;
|
package/package.json
CHANGED