@ai-ecoverse/slicc-spectrum 1.96.1 → 1.97.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 +11 -0
- package/dist/slicc-dummy.js +61 -10
- package/dist/slicc-dummy.js.map +3 -3
- package/dist/slicc-ui.js +206 -46
- package/dist/slicc-ui.js.map +3 -3
- package/dist/types/app/panels.d.ts +1 -1
- package/dist/types/dummy/agent.d.ts +4 -0
- package/dist/types/dummy/index.d.ts +2 -1
- package/dist/types/dummy/notices.d.ts +4 -2
- package/dist/types/model/types.d.ts +2 -0
- package/package.json +3 -3
|
@@ -50,7 +50,7 @@ export declare function openTerminal(dock: SliccDock, info: TerminalInfo, screen
|
|
|
50
50
|
export declare function defaultLayout(dock: SliccDock, screen: ScreenClass, agent: {
|
|
51
51
|
id: string;
|
|
52
52
|
name: string;
|
|
53
|
-
} | null, items?: readonly Surface[], terminals?: readonly TerminalInfo[]): void;
|
|
53
|
+
} | null, items?: readonly Surface[], terminals?: readonly TerminalInfo[], agentless?: boolean): void;
|
|
54
54
|
export declare function shown(dock: SliccDock, id: string): boolean;
|
|
55
55
|
export declare function sprinkleSurface(sprinkle: Sprinkle): Surface;
|
|
56
56
|
export declare function dropPlacement(panel: string | null, position: string): Placement | null;
|
|
@@ -44,6 +44,10 @@ export declare class DummyAgent extends Emitter<AgentEvents> implements AgentPor
|
|
|
44
44
|
setHold(hold: AgentHold | null): void;
|
|
45
45
|
readOnly(): string | null;
|
|
46
46
|
setReadOnly(text: string | null): void;
|
|
47
|
+
starting(): string | null;
|
|
48
|
+
setStarting(line: string | null): void;
|
|
49
|
+
withhold(line: string, ticks?: number): void;
|
|
50
|
+
arrive(): void;
|
|
47
51
|
frozen(): readonly FrozenCone[];
|
|
48
52
|
freeze(agentId: string): void;
|
|
49
53
|
thaw(id: string): Agent | null;
|
|
@@ -36,6 +36,7 @@ export interface DummyOptions {
|
|
|
36
36
|
transport?: DummyTransport;
|
|
37
37
|
hold?: AgentHold['reason'] | 'off';
|
|
38
38
|
readonly?: 'version' | 'off';
|
|
39
|
+
agent?: 'ready' | 'starting' | 'waiting';
|
|
39
40
|
browser?: BrowserScenario;
|
|
40
41
|
sprinkles?: 'builtin' | 'cones';
|
|
41
42
|
monitor?: 'dummy' | 'agent';
|
|
@@ -57,4 +58,4 @@ export interface DummyModel extends SliccModel {
|
|
|
57
58
|
export declare function vaultAccounts(accounts: readonly Account[]): Account[];
|
|
58
59
|
export declare const docsUrl = "https://docs.example/mcp";
|
|
59
60
|
export declare const movedDocs = "https://docs.eu.example/mcp";
|
|
60
|
-
export declare function createDummyModel({ delay, storage, updates, packages, confirm, mounts, network, tailnet, links, leaders, changes, notices, tabs, approvals, follow, vault, guests, accounts, providers, mcp, transport, hold, readonly, browser: scenario, sprinkles, monitor, import: imports, login, }?: DummyOptions): DummyModel;
|
|
61
|
+
export declare function createDummyModel({ delay, storage, updates, packages, confirm, mounts, network, tailnet, links, leaders, changes, notices, tabs, approvals, follow, vault, guests, accounts, providers, mcp, transport, hold, readonly, agent: arrival, browser: scenario, sprinkles, monitor, import: imports, login, }?: DummyOptions): DummyModel;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Emitter } from '../model/emitter.js';
|
|
2
2
|
import type { Notice, NoticesPort } from '../model/types.js';
|
|
3
3
|
import type { Clock } from './clock.js';
|
|
4
|
-
export type NoticeScenario = 'storage' | 'mixed' | 'fail' | 'readonly';
|
|
4
|
+
export type NoticeScenario = 'storage' | 'mixed' | 'fail' | 'readonly' | 'starting';
|
|
5
5
|
export declare const readOnlyText = "Watch only. The SLICC you follow runs a newer version. Update this one to send prompts.";
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const startingText = "Seven is installing its agent.";
|
|
7
|
+
export declare const noticeFixtures: Record<'storage' | 'welcome' | 'readonly' | 'starting', Notice>;
|
|
7
8
|
export declare class DummyNotices extends Emitter<{
|
|
8
9
|
notices: readonly Notice[];
|
|
9
10
|
}> implements NoticesPort {
|
|
@@ -13,4 +14,5 @@ export declare class DummyNotices extends Emitter<{
|
|
|
13
14
|
act(id: string, action: string): Promise<void>;
|
|
14
15
|
dismiss(id: string): void;
|
|
15
16
|
readOnly(on: boolean): void;
|
|
17
|
+
starting(on: boolean): void;
|
|
16
18
|
}
|
|
@@ -239,6 +239,7 @@ export interface AgentEvents {
|
|
|
239
239
|
frozen: readonly FrozenCone[];
|
|
240
240
|
hold: AgentHold | null;
|
|
241
241
|
readOnly: string | null;
|
|
242
|
+
starting: string | null;
|
|
242
243
|
importing: ProfileImportProgress;
|
|
243
244
|
}
|
|
244
245
|
export interface ProfileImportPreview {
|
|
@@ -308,6 +309,7 @@ export interface AgentPort extends Subscribable<AgentEvents> {
|
|
|
308
309
|
createCone?(name: string): Promise<Agent>;
|
|
309
310
|
hold?(): AgentHold | null;
|
|
310
311
|
readOnly?(): string | null;
|
|
312
|
+
starting?(): string | null;
|
|
311
313
|
}
|
|
312
314
|
export interface SlashCommand {
|
|
313
315
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-spectrum",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.97.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",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@adobe/spectrum-wc": "2.0.0-beta.5",
|
|
75
75
|
"@adobe/spectrum-wc-icons": "2.0.0-beta.5",
|
|
76
|
-
"@ai-ecoverse/slicc-kernel": "1.
|
|
77
|
-
"@ai-ecoverse/slicc-shared-web": "1.
|
|
76
|
+
"@ai-ecoverse/slicc-kernel": "1.132.0",
|
|
77
|
+
"@ai-ecoverse/slicc-shared-web": "1.25.0",
|
|
78
78
|
"@ai-ecoverse/slicc-vault": "1.9.2",
|
|
79
79
|
"@ai-ecoverse/wasm-bash": "5.3.0-20",
|
|
80
80
|
"@ai-ecoverse/wasm-coreutils": "9.12.0-10",
|