@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-spectrum",
3
- "version": "1.40.0",
3
+ "version": "1.41.0",
4
4
  "description": "Web components for SLICC on Spectrum Web Components: the terminal, the app shell and its surfaces",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",