@ai-ecoverse/slicc-spectrum 1.89.2 → 1.91.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.
@@ -1,12 +1,13 @@
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, 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';
4
+ export type VaultScenario = 'empty' | 'secrets' | 'policy' | 'notice' | 'locked' | 'request' | 'backup' | 'waiting' | 'purged';
5
5
  export declare function vaultSecrets(now?: number): SecretView[];
6
6
  export declare function accountRecords(now?: number): SecretView[];
7
7
  export declare function vaultAudit(now?: number): AuditEntry[];
8
8
  export declare function vaultOlder(now?: number): AuditEntry[];
9
9
  export declare function vaultRefused(): RefusedRule[];
10
+ export declare function vaultPurged(now?: number): AuditEntry;
10
11
  export declare function vaultPolicy(now?: number): AuditEntry;
11
12
  export declare function vaultNotice(now?: number): PolicyNotice;
12
13
  export declare function vaultFixtures(scenario: VaultScenario, now?: number): {
@@ -24,4 +24,4 @@ export { DummyTabs, tabsFixtures } from './dummy/tabs.js';
24
24
  export type { DummyUpdatesOptions, PackageConfirm, PackageScenario, UpdateScenario, } from './dummy/updates.js';
25
25
  export { DummyUpdates, packageFixtures, updateFixtures } from './dummy/updates.js';
26
26
  export type { VaultScenario } from './dummy/vault.js';
27
- export { DummyVault, DummyVaultButton, vaultAudit, vaultFixtures, vaultNotice, vaultOlder, vaultPolicy, vaultRefused, vaultSecrets, } from './dummy/vault.js';
27
+ export { DummyVault, DummyVaultButton, vaultAudit, vaultFixtures, vaultNotice, vaultOlder, vaultPolicy, vaultPurged, vaultRefused, vaultSecrets, } from './dummy/vault.js';
@@ -620,16 +620,21 @@ export interface TrayPort extends Subscribable<TrayEvents> {
620
620
  export type UpdateKind = 'bios' | 'kernel' | 'agent' | 'grammars' | 'global' | 'skills' | 'ui';
621
621
  export type UpdateState = 'current' | 'queued' | 'starting' | 'checking' | 'downloading' | 'linking' | 'installed' | 'available' | 'ready' | 'failed';
622
622
  export type UpdateAction = 'retry' | 'restart-agent' | 'reload' | 'update-now';
623
+ export interface InstallProgress {
624
+ phase: 'download' | 'link';
625
+ done: number;
626
+ total: number;
627
+ bytes?: {
628
+ done: number;
629
+ total: number;
630
+ };
631
+ }
623
632
  export interface UpdateItem {
624
633
  id: string;
625
634
  label: string;
626
635
  kind: UpdateKind;
627
636
  state: UpdateState;
628
- progress: {
629
- phase: 'download' | 'link';
630
- done: number;
631
- total: number;
632
- } | null;
637
+ progress: InstallProgress | null;
633
638
  from: string | null;
634
639
  to: string | null;
635
640
  checkedAt: number | null;
@@ -657,11 +662,7 @@ export interface PackageItem {
657
662
  version: string | null;
658
663
  offered: string | null;
659
664
  size?: number;
660
- progress: {
661
- phase: 'download' | 'link';
662
- done: number;
663
- total: number;
664
- } | null;
665
+ progress: InstallProgress | null;
665
666
  error: string | null;
666
667
  actions: readonly PackageAction[];
667
668
  log?: string;
@@ -1124,6 +1125,18 @@ export interface RefreshEntry extends AuditBase {
1124
1125
  type: 'refresh';
1125
1126
  grant?: string;
1126
1127
  }
1128
+ export interface EndpointsEntry {
1129
+ type: 'endpoints';
1130
+ seq: number;
1131
+ id: string;
1132
+ at: number;
1133
+ uid: null;
1134
+ tag: null;
1135
+ purged: Array<{
1136
+ provider: string;
1137
+ url: string;
1138
+ }>;
1139
+ }
1127
1140
  export interface PolicyEntry {
1128
1141
  type: 'policy';
1129
1142
  seq: number;
@@ -1136,7 +1149,7 @@ export interface PolicyEntry {
1136
1149
  changes?: PolicyChange[];
1137
1150
  warning?: string;
1138
1151
  }
1139
- export type AuditEntry = InjectionEntry | McpEntry | RevealEntry | SealEntry | RemoveEntry | RefreshEntry | PolicyEntry;
1152
+ export type AuditEntry = InjectionEntry | McpEntry | RevealEntry | SealEntry | RemoveEntry | RefreshEntry | EndpointsEntry | PolicyEntry;
1140
1153
  export interface AuditPage {
1141
1154
  audit: AuditEntry[];
1142
1155
  more: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-spectrum",
3
- "version": "1.89.2",
3
+ "version": "1.91.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,7 +73,7 @@
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.127.0",
76
+ "@ai-ecoverse/slicc-kernel": "1.128.0",
77
77
  "@ai-ecoverse/slicc-shared-web": "1.24.2",
78
78
  "@ai-ecoverse/slicc-vault": "1.9.2",
79
79
  "@ai-ecoverse/wasm-bash": "5.3.0-20",