@ai-ecoverse/slicc-spectrum 1.38.0 → 1.40.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,6 +1,7 @@
1
1
  import '@adobe/spectrum-wc/components/action-button/swc-action-button.js';
2
2
  import '@adobe/spectrum-wc/components/tooltip/swc-tooltip.js';
3
3
  import '@adobe/spectrum-wc-icons/swc-icon-close.js';
4
+ import '@adobe/spectrum-wc-icons/swc-icon-delete.js';
4
5
  import { type TemplateResult } from 'lit';
5
6
  import type { Agent, SliccModel } from '../model/types.js';
6
7
  import { ModelElement } from './base.js';
@@ -8,6 +8,7 @@ import { TerminalPanels } from './terminals.js';
8
8
  export declare function changeCount(count: number): string;
9
9
  export declare const allAgents = "slicc:all-agents";
10
10
  export declare const newCone = "slicc:new-cone";
11
+ export declare const deleteActiveCone = "slicc:delete-cone";
11
12
  export declare const railPitch = 52;
12
13
  export declare const phoneRail: string[];
13
14
  export declare function railCapacity(width: number, count: number): number;
@@ -1,9 +1,13 @@
1
1
  import '@adobe/spectrum-wc/components/action-button/swc-action-button.js';
2
2
  import '@adobe/spectrum-wc/components/badge/swc-badge.js';
3
+ import '@adobe/spectrum-wc/components/status-light/swc-status-light.js';
3
4
  import { type TemplateResult } from 'lit';
4
- import type { SliccModel } from '../model/types.js';
5
+ import type { Agent, FrozenCone, FrozenKind, SliccModel } from '../model/types.js';
5
6
  import { ModelElement } from './base.js';
6
7
  export declare function ago(at: number, now?: number): string;
8
+ export declare function deleteCone(model: SliccModel, agent: Agent, trigger?: HTMLElement | null): Promise<boolean>;
9
+ export declare const frozenKinds: Record<FrozenKind, readonly ['indigo' | 'seafoam' | 'purple', string]>;
10
+ export declare function freezerOrder(rows: readonly FrozenCone[]): FrozenCone[];
7
11
  export declare class SliccFreezer extends ModelElement {
8
12
  #private;
9
13
  static styles: import("lit").CSSResult[];
@@ -0,0 +1,11 @@
1
+ import type { Agent, SliccModel } from '../model/types.js';
2
+ export declare const untitled = "No messages yet";
3
+ export declare function short(text: string, max?: number): string;
4
+ export declare function agentTitle(model: SliccModel, agent: Agent): string;
5
+ export declare function twinned(name: string, id: string, rows: ReadonlyArray<{
6
+ id: string;
7
+ name: string;
8
+ }>): boolean;
9
+ export declare function withTitle(name: string, title: string): string;
10
+ export declare function coneLabel(model: SliccModel, agent: Agent): string;
11
+ export declare function watchTitles(model: SliccModel, update: () => void): () => void;
@@ -24,6 +24,7 @@ import '@adobe/spectrum-wc/components/status-light/swc-status-light.js';
24
24
  import '@adobe/spectrum-wc/components/tooltip/swc-tooltip.js';
25
25
  import '@adobe/spectrum-wc-icons/swc-icon-chat.js';
26
26
  import '@adobe/spectrum-wc-icons/swc-icon-add.js';
27
+ import '@adobe/spectrum-wc-icons/swc-icon-delete.js';
27
28
  import '@adobe/spectrum-wc-icons/swc-icon-checkmark.js';
28
29
  import '@adobe/spectrum-wc-icons/swc-icon-compare.js';
29
30
  import '@adobe/spectrum-wc-icons/swc-icon-contrast.js';
@@ -13,6 +13,7 @@ export interface Agent {
13
13
  unread: number;
14
14
  thinking?: Thinking;
15
15
  frozen?: boolean;
16
+ title?: string;
16
17
  }
17
18
  export type ToolStatus = 'running' | 'done' | 'error' | 'cancelled';
18
19
  export interface ToolCall {
@@ -256,6 +257,7 @@ export interface SlashCommand {
256
257
  description: string;
257
258
  kind?: 'prompt' | 'skill';
258
259
  }
260
+ export type FrozenKind = 'cone' | 'scoop' | 'agent';
259
261
  export interface FrozenCone {
260
262
  id: string;
261
263
  name: string;
@@ -263,6 +265,9 @@ export interface FrozenCone {
263
265
  model: string;
264
266
  messages: number;
265
267
  frozenAt: number;
268
+ kind?: FrozenKind;
269
+ live?: boolean;
270
+ thawedAs?: string;
266
271
  }
267
272
  export type FileKind = 'file' | 'directory';
268
273
  export interface FileEntry {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-spectrum",
3
- "version": "1.38.0",
3
+ "version": "1.40.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
  "@adobe/spectrum-wc": "2.0.0-beta.4",
74
74
  "@adobe/spectrum-wc-icons": "2.0.0-beta.4",
75
75
  "@ai-ecoverse/slicc-kernel": "1.26.1",
76
- "@ai-ecoverse/slicc-shared-web": "1.10.1",
76
+ "@ai-ecoverse/slicc-shared-web": "1.11.0",
77
77
  "@ai-ecoverse/wasm-bash": "5.3.0-8",
78
78
  "@ai-ecoverse/wasm-coreutils": "9.7.0-3",
79
79
  "@biomejs/biome": "2.5.15",