@ai-ecoverse/slicc-spectrum 1.66.0 → 1.67.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.
- package/README.md +1 -1
- package/dist/slicc-dummy.js +5 -1
- package/dist/slicc-dummy.js.map +2 -2
- package/dist/slicc-ui.js +5112 -4831
- package/dist/slicc-ui.js.map +4 -4
- package/dist/types/app/chat.d.ts +6 -0
- package/dist/types/app/composer.d.ts +4 -1
- package/dist/types/dummy/changes.d.ts +3 -1
- package/dist/types/model/types.d.ts +1 -0
- package/package.json +2 -2
package/dist/types/app/chat.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
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
3
|
import '@adobe/spectrum-wc/components/button/swc-button.js';
|
|
4
|
+
import '@adobe/spectrum-wc/components/dropzone/swc-dropzone.js';
|
|
4
5
|
import '@adobe/spectrum-wc/components/tooltip/swc-tooltip.js';
|
|
5
6
|
import '@adobe/spectrum-wc/patterns/ai-toolkit/conversation-thread/swc-conversation-thread.js';
|
|
6
7
|
import '@adobe/spectrum-wc-icons/swc-icon-new.js';
|
|
7
8
|
import { type TemplateResult } from 'lit';
|
|
8
9
|
import type { Message, SliccModel } from '../model/types.js';
|
|
9
10
|
import { ThemedElement } from './base.js';
|
|
11
|
+
export declare function carriesFiles(event: DragEvent): boolean;
|
|
10
12
|
export declare function failedTurns(messages: readonly Message[], messageId: string): string[];
|
|
11
13
|
export declare class SliccChat extends ThemedElement {
|
|
12
14
|
#private;
|
|
@@ -15,8 +17,12 @@ export declare class SliccChat extends ThemedElement {
|
|
|
15
17
|
attribute: boolean;
|
|
16
18
|
};
|
|
17
19
|
agent: {};
|
|
20
|
+
dropping: {
|
|
21
|
+
state: boolean;
|
|
22
|
+
};
|
|
18
23
|
};
|
|
19
24
|
agent: string;
|
|
25
|
+
dropping: boolean;
|
|
20
26
|
constructor();
|
|
21
27
|
static styles: import("lit").CSSResult[];
|
|
22
28
|
protected subscribe(model: SliccModel): Array<() => void>;
|
|
@@ -9,7 +9,7 @@ import '@adobe/spectrum-wc-icons/swc-icon-file.js';
|
|
|
9
9
|
import '@adobe/spectrum-wc-icons/swc-icon-file-text.js';
|
|
10
10
|
import '@adobe/spectrum-wc-icons/swc-icon-lock.js';
|
|
11
11
|
import { type PropertyValues, type TemplateResult } from 'lit';
|
|
12
|
-
import type { Attachment, Outgoing, SendMode, SliccModel, VaultPort } from '../model/types.js';
|
|
12
|
+
import type { AgentPort, Attachment, Outgoing, SendMode, SliccModel, VaultPort } from '../model/types.js';
|
|
13
13
|
import { ThemedElement } from './base.js';
|
|
14
14
|
export declare const limit: number;
|
|
15
15
|
export interface Choice {
|
|
@@ -36,6 +36,9 @@ export interface Popup {
|
|
|
36
36
|
index: number;
|
|
37
37
|
}
|
|
38
38
|
export declare function readFile(file: Blob): Promise<string>;
|
|
39
|
+
export declare const linger = 60000;
|
|
40
|
+
export declare function release(attachments: readonly Attachment[]): void;
|
|
41
|
+
export declare function retire(agent: AgentPort, id: string, attachments: readonly Attachment[]): void;
|
|
39
42
|
export declare function filter(items: Choice[], query: string, limit?: number): Choice[];
|
|
40
43
|
export declare function trigger(text: string, caret: number): {
|
|
41
44
|
kind: PopupKind;
|
|
@@ -3,7 +3,8 @@ import type { Change, ChangesPort } from '../model/types.js';
|
|
|
3
3
|
import type { DummyFiles } from './files.js';
|
|
4
4
|
export type ChangesScenario = 'files' | 'git' | 'nogit';
|
|
5
5
|
export declare const repos: string[];
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const linkCommand = "curl -fsSL https://get.sliccy.ai/slicc | sh";
|
|
7
|
+
export declare const noGit = "Changes needs git, and git isn\u2019t installed. Install it with `pnpm add -g @ai-ecoverse/wasm-git`, then run `git init` in a folder under /home. To clone from the internet, link slicc or the SLICC extension.";
|
|
7
8
|
export declare class DummyChanges implements ChangesPort {
|
|
8
9
|
#private;
|
|
9
10
|
constructor(files: DummyFiles, git: boolean);
|
|
@@ -14,4 +15,5 @@ export declare class DummyChanges implements ChangesPort {
|
|
|
14
15
|
accept(path: string): void;
|
|
15
16
|
revert(path: string): Promise<void>;
|
|
16
17
|
unavailable(): string | null;
|
|
18
|
+
commands(): readonly string[];
|
|
17
19
|
}
|
|
@@ -303,6 +303,7 @@ export interface ChangesPort extends Subscribable<{
|
|
|
303
303
|
accept(path: string): void;
|
|
304
304
|
revert(path: string): Promise<void>;
|
|
305
305
|
unavailable?(): string | null;
|
|
306
|
+
commands?(): readonly string[];
|
|
306
307
|
}
|
|
307
308
|
export interface FileEvents {
|
|
308
309
|
files: readonly FileEntry[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-spectrum",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.67.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,7 +72,7 @@
|
|
|
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.
|
|
75
|
+
"@ai-ecoverse/slicc-kernel": "1.75.0",
|
|
76
76
|
"@ai-ecoverse/slicc-shared-web": "1.13.1",
|
|
77
77
|
"@ai-ecoverse/slicc-vault": "1.8.0",
|
|
78
78
|
"@ai-ecoverse/wasm-bash": "5.3.0-18",
|