@ai-ecoverse/slicc-spectrum 1.12.0 → 1.13.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.
@@ -12,11 +12,11 @@ export declare const lickLabels: Record<LickChannel, [string, string]>;
12
12
  export declare function time(at: number): string;
13
13
  export declare function day(at: number): string;
14
14
  export declare function size(bytes: number): string;
15
- export declare function tool(call: ToolCall): TemplateResult;
15
+ export declare function tool(call: ToolCall, color?: 'light' | 'dark'): TemplateResult;
16
16
  export declare function parts(entries: MessagePart[], handlers: Handlers, showThinking: boolean, streaming: boolean): Array<TemplateResult | typeof nothing>;
17
17
  export declare function user(message: UserMessage): TemplateResult;
18
18
  export declare function assistant(message: AssistantMessage, name: string, model: string, handlers: Handlers, showThinking: boolean): TemplateResult;
19
- export declare function toolMessage(message: ToolMessage): TemplateResult;
19
+ export declare function toolMessage(message: ToolMessage, color?: 'light' | 'dark'): TemplateResult;
20
20
  export declare function system(message: SystemMessage, handlers: Handlers): TemplateResult;
21
21
  export declare function lick(message: LickMessage, handlers: Handlers): TemplateResult;
22
22
  export declare const messageCss: import("lit").CSSResult;
@@ -26,6 +26,11 @@ export interface ToolCall {
26
26
  image?: string;
27
27
  agentId?: string;
28
28
  pid?: number;
29
+ meta?: string;
30
+ diff?: {
31
+ before: string;
32
+ after: string;
33
+ };
29
34
  }
30
35
  export type AttachmentKind = 'image' | 'text' | 'file' | 'secret';
31
36
  export interface Attachment {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-spectrum",
3
- "version": "1.12.0",
3
+ "version": "1.13.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",
@@ -71,7 +71,7 @@
71
71
  },
72
72
  "devDependencies": {
73
73
  "@ai-ecoverse/slicc-kernel": "1.13.0",
74
- "@ai-ecoverse/slicc-shared-web": "1.5.0",
74
+ "@ai-ecoverse/slicc-shared-web": "1.5.1",
75
75
  "@ai-ecoverse/wasm-bash": "5.3.0-7",
76
76
  "@ai-ecoverse/wasm-coreutils": "9.7.0-3",
77
77
  "@biomejs/biome": "2.5.15",