@ai-ecoverse/slicc-spectrum 1.24.0 → 1.25.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,3 +1,12 @@
1
+ import '@adobe/spectrum-wc/components/button/swc-button.js';
2
+ import '@adobe/spectrum-wc/components/close-button/swc-close-button.js';
3
+ import '@adobe/spectrum-wc/patterns/ai-toolkit/prompt-field/swc-prompt-field.js';
4
+ import '@adobe/spectrum-wc/patterns/ai-toolkit/upload-attachment/swc-upload-attachment.js';
5
+ import '@adobe/spectrum-wc-icons/swc-icon-alert-triangle.js';
6
+ import '@adobe/spectrum-wc-icons/swc-icon-clock.js';
7
+ import '@adobe/spectrum-wc-icons/swc-icon-file.js';
8
+ import '@adobe/spectrum-wc-icons/swc-icon-file-text.js';
9
+ import '@adobe/spectrum-wc-icons/swc-icon-lock.js';
1
10
  import { type PropertyValues, type TemplateResult } from 'lit';
2
11
  import type { Attachment, Outgoing, SendMode, SliccModel } from '../model/types.js';
3
12
  import { ModelElement } from './base.js';
@@ -6,6 +15,7 @@ export interface Choice {
6
15
  value: string;
7
16
  label: string;
8
17
  detail: string;
18
+ group?: string;
9
19
  }
10
20
  export interface Command {
11
21
  name: string;
@@ -23,7 +33,7 @@ export interface Popup {
23
33
  index: number;
24
34
  }
25
35
  export declare function readFile(file: Blob): Promise<string>;
26
- export declare function filter(items: Choice[], query: string): Choice[];
36
+ export declare function filter(items: Choice[], query: string, limit?: number): Choice[];
27
37
  export declare function trigger(text: string, caret: number): {
28
38
  kind: PopupKind;
29
39
  start: number;
@@ -57,6 +67,9 @@ export declare class SliccComposer extends ModelElement {
57
67
  constructor();
58
68
  static styles: import("lit").CSSResult[];
59
69
  protected willUpdate(changed: PropertyValues<this>): void;
70
+ connectedCallback(): void;
71
+ protected firstUpdated(): void;
72
+ protected updated(changed: Map<string, unknown>): void;
60
73
  protected subscribe(model: SliccModel): Array<() => void>;
61
74
  focus(): void;
62
75
  restore(message: Outgoing): void;
@@ -0,0 +1,2 @@
1
+ export declare function registrations(text: string): string;
2
+ export declare function installProperties(document: Document, text?: string): HTMLStyleElement;
@@ -26,7 +26,7 @@ export declare class DummyAgent extends Emitter<AgentEvents> implements AgentPor
26
26
  setModel(agentId: string, model: string): void;
27
27
  setThinking(agentId: string, thinking: Thinking): void;
28
28
  older(): Promise<readonly Message[]>;
29
- commands(): readonly SlashCommand[];
29
+ commands(agentId: string): readonly SlashCommand[];
30
30
  ready(): Promise<void>;
31
31
  createScoop(parentId: string, name: string): Agent;
32
32
  drop(agentId: string): Promise<void>;
@@ -254,6 +254,7 @@ export interface AgentPort extends Subscribable<AgentEvents> {
254
254
  export interface SlashCommand {
255
255
  name: string;
256
256
  description: string;
257
+ kind?: 'prompt' | 'skill';
257
258
  }
258
259
  export interface FrozenCone {
259
260
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-spectrum",
3
- "version": "1.24.0",
3
+ "version": "1.25.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",
@@ -72,9 +72,9 @@
72
72
  "devDependencies": {
73
73
  "@adobe/spectrum-wc": "2.0.0-beta.4",
74
74
  "@adobe/spectrum-wc-icons": "2.0.0-beta.4",
75
- "@ai-ecoverse/slicc-kernel": "1.16.0",
75
+ "@ai-ecoverse/slicc-kernel": "1.17.4",
76
76
  "@ai-ecoverse/slicc-shared-web": "1.8.0",
77
- "@ai-ecoverse/wasm-bash": "5.3.0-7",
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",
80
80
  "@fontsource/source-code-pro": "5.3.0",