@ai-ecoverse/slicc-spectrum 1.96.1 → 1.98.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 +14 -3
- package/dist/{chunk-YUDOYEMB.js → chunk-LOQJK2JE.js} +10 -2
- package/dist/{chunk-YUDOYEMB.js.map → chunk-LOQJK2JE.js.map} +2 -2
- package/dist/slicc-dummy.js +104 -31
- package/dist/slicc-dummy.js.map +3 -3
- package/dist/slicc-kernel-model.js +1 -1
- package/dist/slicc-ui.js +272 -66
- 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/dummy/vault.d.ts +6 -0
- package/dist/types/model/types.d.ts +4 -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
|
}
|
|
@@ -38,6 +38,11 @@ export declare class DummyVault extends Emitter<VaultEvents> implements VaultPor
|
|
|
38
38
|
options?: PutOptions;
|
|
39
39
|
}[];
|
|
40
40
|
endpointChanges: VaultEndpointChange[];
|
|
41
|
+
settingsCalls: Array<{
|
|
42
|
+
name: string;
|
|
43
|
+
kind: RecordKind;
|
|
44
|
+
settings: Record<string, string>;
|
|
45
|
+
}>;
|
|
41
46
|
cancelled: string[];
|
|
42
47
|
imports: DummyImport[];
|
|
43
48
|
exported: number;
|
|
@@ -53,6 +58,7 @@ export declare class DummyVault extends Emitter<VaultEvents> implements VaultPor
|
|
|
53
58
|
dismissBackupReminder(): Promise<void>;
|
|
54
59
|
audit(before?: number, limit?: number): Promise<AuditPage>;
|
|
55
60
|
put(name: string, value: string, request?: string, options?: PutOptions): Promise<SealResult>;
|
|
61
|
+
settings(name: string, kind: RecordKind, settings: Record<string, string>): Promise<void>;
|
|
56
62
|
cancel(request: string): Promise<RequestState>;
|
|
57
63
|
unpin(names: string[]): Promise<void>;
|
|
58
64
|
remove(name: string, kind?: RecordKind): Promise<SealResult>;
|
|
@@ -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;
|
|
@@ -479,6 +481,7 @@ export interface AccountField {
|
|
|
479
481
|
placeholder?: string;
|
|
480
482
|
help?: string;
|
|
481
483
|
customBase?: true;
|
|
484
|
+
vaultSetting?: string;
|
|
482
485
|
options?: readonly AccountFieldOption[];
|
|
483
486
|
value?: string;
|
|
484
487
|
}
|
|
@@ -1369,6 +1372,7 @@ export interface VaultPort extends Subscribable<VaultEvents> {
|
|
|
1369
1372
|
lock?(): Promise<void>;
|
|
1370
1373
|
dismissBackupReminder?(): Promise<void>;
|
|
1371
1374
|
endpoints?(change: VaultEndpointChange): Promise<void>;
|
|
1375
|
+
settings?(name: string, kind: RecordKind, settings: Record<string, string>): Promise<void>;
|
|
1372
1376
|
button(): VaultButton;
|
|
1373
1377
|
}
|
|
1374
1378
|
export type GuestGate = 'user' | 'cone' | 'agent' | `scoop:${string}` | 'off';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-spectrum",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.98.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",
|