@ai-ecoverse/slicc-spectrum 1.67.1 → 1.68.1

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.
@@ -19,10 +19,13 @@ import { type ConfirmOptions } from './confirm.js';
19
19
  export { command } from './reach.js';
20
20
  export declare const networkHealth: Record<NetworkStatus['health'], readonly ['positive' | 'notice' | 'negative', string]>;
21
21
  export declare const automation: Record<NonNullable<BrowserAutomation['via']> | 'none', string>;
22
+ export declare function exitDevice(status: NetworkStatus): LinkedDevice | undefined;
23
+ export declare function localExit(status: NetworkStatus): boolean;
22
24
  export declare function automationOf(browser: BrowserAutomation): keyof typeof automation;
23
- export declare function browserLine(browser: BrowserAutomation, links?: NetworkLinks, route?: NetworkRoute | null): string;
25
+ export declare function browserLine(browser: BrowserAutomation, status: NetworkStatus): string;
24
26
  export declare const tailnetStates: Record<TailnetState, readonly ['neutral' | 'info' | 'positive' | 'notice' | 'negative', string]>;
25
27
  export declare function tailnetAddress(addresses: readonly string[]): string | undefined;
28
+ export declare function tailnetLine(status: NetworkStatus): string;
26
29
  export declare function exitNodeValue(tailnet: TailnetStatus): string;
27
30
  export declare const linkStates: Record<LinkState, readonly ['neutral' | 'info' | 'positive' | 'notice', string]>;
28
31
  export declare const controlBadges: Record<RemoteControlMode, string>;
@@ -45,8 +48,8 @@ export declare function linksLight(links: NetworkLinks): readonly ['neutral' | '
45
48
  export declare function exitValue(exit: NetworkExit | undefined): string;
46
49
  export declare function parseExit(value: string): NetworkExit;
47
50
  export declare function unlinkBody(device: LinkedDevice, isExit: boolean): string;
48
- export declare const wholeWeb: ReadonlySet<NetworkRoute | 'link' | null>;
49
- export declare function routeOf(status: NetworkStatus): NetworkRoute | 'link' | null;
51
+ export declare const wholeWeb: ReadonlySet<NetworkRoute | null>;
52
+ export declare function routeOf(status: NetworkStatus): NetworkRoute | null;
50
53
  export declare function routeLine(status: NetworkStatus): string;
51
54
  export declare function networkLabel(status: NetworkStatus): string;
52
55
  export declare const networkIcon: Record<NetworkStatus['health'], TemplateResult>;
@@ -91,7 +94,7 @@ export declare class SliccNetwork extends ModelElement {
91
94
  };
92
95
  };
93
96
  checking: boolean;
94
- copied: boolean;
97
+ copied: string | null;
95
98
  uncopied: boolean;
96
99
  error: string;
97
100
  busy: string;
@@ -106,6 +109,6 @@ export declare class SliccNetwork extends ModelElement {
106
109
  reveal(section: string): void;
107
110
  focus(): void;
108
111
  check(): Promise<void>;
109
- copy(): Promise<void>;
112
+ copy(text?: string): Promise<void>;
110
113
  render(): TemplateResult;
111
114
  }
@@ -2,14 +2,17 @@ import '@adobe/spectrum-wc/components/action-button/swc-action-button.js';
2
2
  import '@adobe/spectrum-wc-icons/swc-icon-alert-triangle.js';
3
3
  import '@adobe/spectrum-wc-icons/swc-icon-copy.js';
4
4
  import { type TemplateResult } from 'lit';
5
- export declare const command = "npx @ai-ecoverse/slicc-node";
5
+ export declare const command = "curl -fsSL https://get.sliccy.ai/slicc | sh";
6
+ export declare const startCommand = "slicc";
7
+ export declare const nodeCommand = "npx sliccy@next";
6
8
  export declare const reachStyles: import("lit").CSSResult;
7
9
  export interface Reach {
8
10
  intro: string;
9
11
  extensionUrl?: string;
10
- copied: boolean;
12
+ copied: string | null;
11
13
  uncopied: boolean;
12
- copy: () => void;
14
+ copy: (text: string) => void;
13
15
  }
16
+ export declare function breakable(text: string): TemplateResult[];
14
17
  export declare function reach({ intro, extensionUrl, copied, uncopied, copy }: Reach): TemplateResult;
15
18
  export declare function copyText(text: string): Promise<boolean>;
@@ -631,7 +631,7 @@ export interface UpdatesPort extends Subscribable<UpdatesEvents> {
631
631
  packages?(): readonly PackageItem[];
632
632
  actPackage?(id: string, action: PackageAction): Promise<void>;
633
633
  }
634
- export type NetworkRoute = 'proxy' | 'extension' | 'tailnet' | 'page';
634
+ export type NetworkRoute = 'proxy' | 'extension' | 'tailnet' | 'page' | 'link';
635
635
  export interface NetworkFailure {
636
636
  url: string;
637
637
  error: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-spectrum",
3
- "version": "1.67.1",
3
+ "version": "1.68.1",
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",
@@ -72,7 +72,7 @@
72
72
  "devDependencies": {
73
73
  "@adobe/spectrum-wc": "2.0.0-beta.4",
74
74
  "@adobe/spectrum-wc-icons": "2.0.0-beta.4",
75
- "@ai-ecoverse/slicc-kernel": "1.75.0",
75
+ "@ai-ecoverse/slicc-kernel": "1.77.2",
76
76
  "@ai-ecoverse/slicc-shared-web": "1.13.1",
77
77
  "@ai-ecoverse/slicc-vault": "1.8.4",
78
78
  "@ai-ecoverse/wasm-bash": "5.3.0-18",