@ai-ecoverse/slicc-spectrum 1.103.2 → 1.103.3
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 +16 -10
- package/dist/slicc-dummy.js +56 -1
- package/dist/slicc-dummy.js.map +2 -2
- package/dist/slicc-ui.js +36 -3
- package/dist/slicc-ui.js.map +2 -2
- package/dist/types/dummy/vault.d.ts +2 -1
- package/dist/types/dummy.d.ts +1 -1
- package/dist/types/model/types.d.ts +14 -1
- package/package.json +6 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Emitter } from '../model/emitter.js';
|
|
2
2
|
import type { AuditEntry, AuditPage, Availability, ButtonConfig, ButtonEvent, ButtonMessage, ErrorCode, ImportKind, ImportPick, ImportResult, PolicyNotice, PopupIntent, PutOptions, RecordKind, RefusedRule, RequestState, SealResult, SecretView, VaultButton, VaultEndpointChange, VaultEvents, VaultList, VaultPort, VaultStatus } from '../model/types.js';
|
|
3
3
|
import type { Clock } from './clock.js';
|
|
4
|
-
export type VaultScenario = 'empty' | 'secrets' | 'policy' | 'notice' | 'locked' | 'request' | 'backup' | 'waiting' | 'purged' | 'endpoints-fail';
|
|
4
|
+
export type VaultScenario = 'empty' | 'secrets' | 'policy' | 'notice' | 'locked' | 'request' | 'backup' | 'waiting' | 'purged' | 'session' | 'endpoints-fail';
|
|
5
5
|
export declare function vaultSecrets(now?: number): SecretView[];
|
|
6
6
|
export declare function accountRecords(now?: number, pin?: string): SecretView[];
|
|
7
7
|
export declare function vaultAudit(now?: number): AuditEntry[];
|
|
@@ -9,6 +9,7 @@ export declare function vaultOlder(now?: number): AuditEntry[];
|
|
|
9
9
|
export declare function vaultRefused(): RefusedRule[];
|
|
10
10
|
export declare function vaultPurged(now?: number): AuditEntry;
|
|
11
11
|
export declare function vaultPinned(now?: number): AuditEntry;
|
|
12
|
+
export declare function vaultSessions(now?: number): AuditEntry[];
|
|
12
13
|
export declare function vaultPolicy(now?: number): AuditEntry;
|
|
13
14
|
export declare function vaultNotice(now?: number): PolicyNotice;
|
|
14
15
|
export declare function vaultFixtures(scenario: VaultScenario, now?: number): {
|
package/dist/types/dummy.d.ts
CHANGED
|
@@ -26,4 +26,4 @@ export { DummyTabs, tabsFixtures } from './dummy/tabs.js';
|
|
|
26
26
|
export type { BetaScenario, DummyUpdatesOptions, PackageConfirm, PackageScenario, UpdateScenario, } from './dummy/updates.js';
|
|
27
27
|
export { betaFixtures, DummyUpdates, packageFixtures, updateFixtures, } from './dummy/updates.js';
|
|
28
28
|
export type { VaultScenario } from './dummy/vault.js';
|
|
29
|
-
export { DummyVault, DummyVaultButton, vaultAudit, vaultFixtures, vaultNotice, vaultOlder, vaultPinned, vaultPolicy, vaultPurged, vaultRefused, vaultSecrets, } from './dummy/vault.js';
|
|
29
|
+
export { DummyVault, DummyVaultButton, vaultAudit, vaultFixtures, vaultNotice, vaultOlder, vaultPinned, vaultPolicy, vaultPurged, vaultRefused, vaultSecrets, vaultSessions, } from './dummy/vault.js';
|
|
@@ -1195,6 +1195,19 @@ export interface InjectionEntry extends AuditBase {
|
|
|
1195
1195
|
rule: Rule;
|
|
1196
1196
|
exit: ExitName;
|
|
1197
1197
|
}
|
|
1198
|
+
export type SessionProtocol = 'http1' | 'smtp' | 'pg';
|
|
1199
|
+
export interface SessionEntry extends AuditBase {
|
|
1200
|
+
type: 'session';
|
|
1201
|
+
session: string;
|
|
1202
|
+
domain: string;
|
|
1203
|
+
port: number;
|
|
1204
|
+
protocol: SessionProtocol;
|
|
1205
|
+
position: string;
|
|
1206
|
+
rule: number;
|
|
1207
|
+
verifiedBy?: 'roots' | 'anchored';
|
|
1208
|
+
anchor?: string;
|
|
1209
|
+
exit: ExitName;
|
|
1210
|
+
}
|
|
1198
1211
|
export interface RevealEntry extends AuditBase {
|
|
1199
1212
|
type: 'materialize';
|
|
1200
1213
|
grant?: ExecGrant;
|
|
@@ -1264,7 +1277,7 @@ export interface PolicyEntry {
|
|
|
1264
1277
|
changes?: PolicyChange[];
|
|
1265
1278
|
warning?: string;
|
|
1266
1279
|
}
|
|
1267
|
-
export type AuditEntry = InjectionEntry | McpEntry | RevealEntry | SealEntry | RemoveEntry | RefreshEntry | EndpointsEntry | PolicyEntry;
|
|
1280
|
+
export type AuditEntry = InjectionEntry | SessionEntry | McpEntry | RevealEntry | SealEntry | RemoveEntry | RefreshEntry | EndpointsEntry | PolicyEntry;
|
|
1268
1281
|
export interface AuditPage {
|
|
1269
1282
|
audit: AuditEntry[];
|
|
1270
1283
|
more: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-spectrum",
|
|
3
|
-
"version": "1.103.
|
|
3
|
+
"version": "1.103.3",
|
|
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",
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"start": "npm run build && node test/integration/chrome.mjs",
|
|
54
54
|
"pretest": "npm run build && playwright-core install --no-shell chromium",
|
|
55
55
|
"test": "node --test ${TEST_CONCURRENCY:+--test-concurrency=$TEST_CONCURRENCY} --test-global-setup=node_modules/@ai-ecoverse/slicc-shared-web/harness/global.mjs 'test/integration/*.test.mjs'",
|
|
56
|
+
"test:unit": "NODE_NO_WARNINGS=1 mcr -c mcr.config.mjs node --test 'test/unit/**/*.test.mjs'",
|
|
56
57
|
"typecheck": "tsc && tsc -p compat",
|
|
57
58
|
"lint": "slicc-lint",
|
|
58
59
|
"format": "biome check --write ."
|
|
@@ -72,13 +73,14 @@
|
|
|
72
73
|
"devDependencies": {
|
|
73
74
|
"@adobe/spectrum-wc": "2.0.0-beta.5",
|
|
74
75
|
"@adobe/spectrum-wc-icons": "2.0.0-beta.5",
|
|
75
|
-
"@ai-ecoverse/slicc-kernel": "1.
|
|
76
|
+
"@ai-ecoverse/slicc-kernel": "1.137.0",
|
|
76
77
|
"@ai-ecoverse/slicc-shared-web": "1.29.1",
|
|
77
|
-
"@ai-ecoverse/slicc-vault": "1.
|
|
78
|
+
"@ai-ecoverse/slicc-vault": "1.15.1",
|
|
78
79
|
"@ai-ecoverse/wasm-bash": "5.3.0-22",
|
|
79
80
|
"@ai-ecoverse/wasm-coreutils": "9.12.0-12",
|
|
80
81
|
"@biomejs/biome": "2.5.15",
|
|
81
82
|
"@fontsource/source-code-pro": "5.3.1",
|
|
83
|
+
"@happy-dom/global-registrator": "21.0.3",
|
|
82
84
|
"@pierre/diffs": "1.5.2",
|
|
83
85
|
"@pierre/trees": "1.0.0-beta.6",
|
|
84
86
|
"@spectrum-web-components/action-button": "1.12.4",
|
|
@@ -103,6 +105,7 @@
|
|
|
103
105
|
"@wterm/ghostty": "0.5.4",
|
|
104
106
|
"dockview-core": "8.5.1",
|
|
105
107
|
"esbuild": "0.28.2",
|
|
108
|
+
"happy-dom": "21.0.3",
|
|
106
109
|
"lefthook": "2.2.2",
|
|
107
110
|
"lucide": "1.56.0",
|
|
108
111
|
"mdast-util-from-markdown": "2.1.0",
|