@ai-ecoverse/slicc-spectrum 1.54.0 → 1.56.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.
@@ -20,6 +20,7 @@ export interface Surface {
20
20
  side: Side;
21
21
  open: readonly ScreenClass[];
22
22
  width?: number;
23
+ cone?: string;
23
24
  }
24
25
  export declare const surfaces: Surface[];
25
26
  export type DocumentKind = 'file' | 'diff';
@@ -5,4 +5,5 @@ export declare const frozen: Array<{
5
5
  }>;
6
6
  export declare const memories: Memory[];
7
7
  export declare const sprinkles: Sprinkle[];
8
+ export declare const coneSprinkles: Sprinkle[];
8
9
  export declare const tray: TrayStatus;
@@ -24,6 +24,7 @@ export interface DummyOptions {
24
24
  approvals?: ApprovalScenario | 'off';
25
25
  follow?: FollowScenario | 'off';
26
26
  browser?: BrowserScenario;
27
+ sprinkles?: 'builtin' | 'cones';
27
28
  }
28
29
  export interface DummyModel extends SliccModel {
29
30
  browser: DummyBrowser;
@@ -34,4 +35,4 @@ export interface DummyModel extends SliccModel {
34
35
  approvals?: DummyApprovals;
35
36
  follow?: DummyFollow;
36
37
  }
37
- export declare function createDummyModel({ delay, storage, updates, packages, confirm, mounts, network, tailnet, links, changes, notices, tabs, approvals, follow, browser: scenario, }?: DummyOptions): DummyModel;
38
+ export declare function createDummyModel({ delay, storage, updates, packages, confirm, mounts, network, tailnet, links, changes, notices, tabs, approvals, follow, browser: scenario, sprinkles, }?: DummyOptions): DummyModel;
@@ -2,7 +2,7 @@ import { Emitter } from '../model/emitter.js';
2
2
  import type { PackageAction, PackageItem, UpdateAction, UpdateItem, UpdatesEvents, UpdatesPort } from '../model/types.js';
3
3
  import type { Clock } from './clock.js';
4
4
  export type UpdateScenario = 'current' | 'boot' | 'starting' | 'available' | 'restart' | 'failure';
5
- export type PackageScenario = 'mixed' | 'empty' | 'fail';
5
+ export type PackageScenario = 'mixed' | 'empty' | 'fail' | 'user';
6
6
  export type PackageConfirm = (options: {
7
7
  title: string;
8
8
  body: string;
@@ -560,7 +560,12 @@ export interface UpdateItem {
560
560
  log?: string;
561
561
  }
562
562
  export type PackageState = 'available' | 'queued' | 'installing' | 'installed' | 'outdated' | 'updating' | 'removing' | 'failed';
563
- export type PackageAction = 'install' | 'update' | 'remove' | 'retry';
563
+ export type PackageAction = 'install' | 'update' | 'remove' | 'retry' | 'unpin';
564
+ export interface PackagePin {
565
+ base: string | null;
566
+ range: string;
567
+ project: string;
568
+ }
564
569
  export interface PackageItem {
565
570
  id: string;
566
571
  package: string;
@@ -582,6 +587,8 @@ export interface PackageItem {
582
587
  error: string | null;
583
588
  actions: readonly PackageAction[];
584
589
  log?: string;
590
+ origin?: 'catalog' | 'user';
591
+ pin?: PackagePin;
585
592
  }
586
593
  export interface UpdatesEvents {
587
594
  items: readonly UpdateItem[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-spectrum",
3
- "version": "1.54.0",
3
+ "version": "1.56.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",