@ai-ecoverse/slicc-spectrum 1.54.0 → 1.55.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.
@@ -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.55.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",