@ai-ecoverse/slicc-spectrum 1.34.0 → 1.35.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 +6 -6
- package/dist/slicc-dummy.js +33 -4
- package/dist/slicc-dummy.js.map +3 -3
- package/dist/slicc-ui.js +9 -2
- package/dist/slicc-ui.js.map +2 -2
- package/dist/types/app/chat.d.ts +1 -0
- package/dist/types/app/network.d.ts +2 -1
- package/dist/types/model/types.d.ts +5 -0
- package/package.json +2 -2
package/dist/types/app/chat.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import '@adobe/spectrum-wc/components/action-button/swc-action-button.js';
|
|
2
2
|
import '@adobe/spectrum-wc/components/badge/swc-badge.js';
|
|
3
3
|
import '@adobe/spectrum-wc/components/button/swc-button.js';
|
|
4
|
+
import '@adobe/spectrum-wc/components/tooltip/swc-tooltip.js';
|
|
4
5
|
import '@adobe/spectrum-wc/patterns/ai-toolkit/conversation-thread/swc-conversation-thread.js';
|
|
5
6
|
import '@adobe/spectrum-wc-icons/swc-icon-new.js';
|
|
6
7
|
import { type TemplateResult } from 'lit';
|
|
@@ -8,10 +8,11 @@ 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 { NetworkStatus, SliccModel } from '../model/types.js';
|
|
11
|
+
import type { BrowserAutomation, NetworkStatus, SliccModel } 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]>;
|
|
15
|
+
export declare const automation: Record<NonNullable<BrowserAutomation['via']> | 'none', string>;
|
|
15
16
|
export declare function networkLabel(status: NetworkStatus): string;
|
|
16
17
|
export declare const networkIcon: Record<NetworkStatus['health'], TemplateResult>;
|
|
17
18
|
export declare function host(url: string): string;
|
|
@@ -529,12 +529,17 @@ export interface NetworkFailure {
|
|
|
529
529
|
error: string;
|
|
530
530
|
at: number;
|
|
531
531
|
}
|
|
532
|
+
export interface BrowserAutomation {
|
|
533
|
+
via: 'extension' | 'proxy' | null;
|
|
534
|
+
detail?: string;
|
|
535
|
+
}
|
|
532
536
|
export interface NetworkStatus {
|
|
533
537
|
route: NetworkRoute | null;
|
|
534
538
|
health: 'ok' | 'limited' | 'failing';
|
|
535
539
|
detail: string | null;
|
|
536
540
|
failures: readonly NetworkFailure[];
|
|
537
541
|
extensionUrl?: string;
|
|
542
|
+
browser?: BrowserAutomation;
|
|
538
543
|
}
|
|
539
544
|
export interface NetworkPort extends Subscribable<{
|
|
540
545
|
network: NetworkStatus;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-spectrum",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.35.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",
|
|
@@ -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
|
+
"@ai-ecoverse/slicc-kernel": "1.23.0",
|
|
76
76
|
"@ai-ecoverse/slicc-shared-web": "1.10.0",
|
|
77
77
|
"@ai-ecoverse/wasm-bash": "5.3.0-8",
|
|
78
78
|
"@ai-ecoverse/wasm-coreutils": "9.7.0-3",
|