@ai-ecoverse/slicc-spectrum 1.70.0 → 1.72.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.
@@ -13,6 +13,7 @@ export interface SecretRulesVerdict {
13
13
  maybe: string | null;
14
14
  }
15
15
  export declare function secretRules(command: string, cwd?: string | null): SecretRulesVerdict;
16
+ export declare function alwaysHint(approval: Approval): string;
16
17
  export declare function waiting(model: SliccModel | null, now: number): Approval[];
17
18
  export declare class SliccApprovals extends ModelElement {
18
19
  #private;
@@ -14,8 +14,6 @@ import '@adobe/spectrum-wc-icons/swc-icon-alert-diamond.js';
14
14
  import '@adobe/spectrum-wc-icons/swc-icon-alert-triangle.js';
15
15
  import '@adobe/spectrum-wc-icons/swc-icon-cancel.js';
16
16
  import '@adobe/spectrum-wc-icons/swc-icon-checkmark.js';
17
- import '@adobe/spectrum-wc-icons/swc-icon-checkmark-circle.js';
18
- import '@adobe/spectrum-wc-icons/swc-icon-chevron-right.js';
19
17
  import '@adobe/spectrum-wc-icons/swc-icon-clock-pending.js';
20
18
  import '@adobe/spectrum-wc-icons/swc-icon-code.js';
21
19
  import '@adobe/spectrum-wc-icons/swc-icon-data.js';
@@ -44,12 +42,13 @@ export interface Handlers {
44
42
  show(surfaceId: string): void;
45
43
  suggest(text: string): void;
46
44
  owners?: ReadonlyMap<string, Owner>;
45
+ agentId?: string;
47
46
  }
48
47
  export interface Owner {
49
48
  id?: string;
50
49
  at: number;
51
50
  }
52
- export type RunContext = Pick<Handlers, 'color' | 'model' | 'owners'>;
51
+ export type RunContext = Pick<Handlers, 'color' | 'model' | 'owners' | 'agentId'>;
53
52
  export declare const lickLabels: Record<LickChannel, [string, string]>;
54
53
  interface ToolKind {
55
54
  id: string;
@@ -59,7 +58,6 @@ interface ToolKind {
59
58
  }
60
59
  export declare function toolKind(name: string): ToolKind;
61
60
  export declare function toolSummary(calls: ToolCall[]): string;
62
- export declare function state(status: ToolStatus, label?: string): TemplateResult;
63
61
  export declare function statusLabel(status: ToolStatus): string;
64
62
  export declare function overall(calls: readonly ToolCall[]): [ToolStatus, string];
65
63
  type Target = {
@@ -7,6 +7,9 @@ export declare class SliccToolRuns extends LitElement {
7
7
  calls: {
8
8
  attribute: boolean;
9
9
  };
10
+ agent: {
11
+ attribute: boolean;
12
+ };
10
13
  color: {
11
14
  attribute: boolean;
12
15
  };
@@ -18,10 +21,15 @@ export declare class SliccToolRuns extends LitElement {
18
21
  };
19
22
  };
20
23
  calls: ToolCall[];
24
+ agent: string;
21
25
  color: 'light' | 'dark';
22
26
  model: SliccModel | null;
23
27
  owners: ReadonlyMap<string, Owner> | null;
24
28
  constructor();
25
29
  protected createRenderRoot(): HTMLElement;
30
+ connectedCallback(): void;
31
+ disconnectedCallback(): void;
32
+ protected willUpdate(): void;
33
+ protected updated(): void;
26
34
  render(): TemplateResult;
27
35
  }
@@ -15,6 +15,7 @@ export declare class DummyAgent extends Emitter<AgentEvents> implements AgentPor
15
15
  queue(agentId: string): readonly UserMessage[];
16
16
  busy(agentId: string): boolean;
17
17
  suggestion(agentId: string): string | null;
18
+ toolLabel(agentId: string, callIds: readonly string[]): Promise<string | null>;
18
19
  unqueue(agentId: string, messageId: string): void;
19
20
  send(agentId: string, input: string | Outgoing): Promise<void>;
20
21
  stop(agentId: string): void;
@@ -23,6 +23,7 @@ export type Step = {
23
23
  ticks: number;
24
24
  effect?: (effects: Effects) => Promise<unknown> | unknown;
25
25
  };
26
+ export declare function label(title: string): string | null;
26
27
  export declare function script(prompt: string, attachments?: readonly Attachment[]): {
27
28
  steps: Step[];
28
29
  suggestion: string;
@@ -252,6 +252,7 @@ export interface AgentPort extends Subscribable<AgentEvents> {
252
252
  setThinking(agentId: string, thinking: Thinking): void;
253
253
  older(agentId: string, before: string): Promise<readonly Message[]>;
254
254
  commands(agentId: string): readonly SlashCommand[];
255
+ toolLabel?(agentId: string, callIds: readonly string[]): Promise<string | null>;
255
256
  ready(): Promise<void>;
256
257
  createScoop(parentId: string, name: string): Agent;
257
258
  frozen(): readonly FrozenCone[];
@@ -484,6 +485,7 @@ export interface MonitorVital {
484
485
  delta?: string;
485
486
  series?: number[];
486
487
  ratio?: number;
488
+ hint?: string;
487
489
  }
488
490
  export interface MonitorRow {
489
491
  id?: string;
@@ -786,6 +788,7 @@ export interface SudoApproval {
786
788
  createdAt: number;
787
789
  expiresAt: number;
788
790
  always: boolean;
791
+ alwaysScope?: 'cwd';
789
792
  }
790
793
  export type Approval = SudoApproval;
791
794
  export type ApprovalEnd = 'answered' | 'withdrawn' | 'expired';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-spectrum",
3
- "version": "1.70.0",
3
+ "version": "1.72.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,8 +72,8 @@
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.87.0",
76
- "@ai-ecoverse/slicc-shared-web": "1.13.2",
75
+ "@ai-ecoverse/slicc-kernel": "1.88.1",
76
+ "@ai-ecoverse/slicc-shared-web": "1.14.0",
77
77
  "@ai-ecoverse/slicc-vault": "1.9.1",
78
78
  "@ai-ecoverse/wasm-bash": "5.3.0-18",
79
79
  "@ai-ecoverse/wasm-coreutils": "9.7.0-3",
@@ -103,10 +103,10 @@
103
103
  "dockview-core": "8.4.1",
104
104
  "esbuild": "0.28.2",
105
105
  "happy-dom": "20.14.5",
106
- "lefthook": "2.1.17",
106
+ "lefthook": "2.2.0",
107
107
  "lucide": "1.52.0",
108
108
  "monocart-coverage-reports": "2.13.2",
109
- "playwright-core": "1.63.0",
109
+ "playwright-core": "1.64.0",
110
110
  "semantic-release": "25.0.9",
111
111
  "typescript": "7.0.2",
112
112
  "uqr": "0.1.3"