@m6d/cortex-angular 0.2.0 → 0.4.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/fesm2022/m6d-cortex-angular.mjs +154 -166
- package/package.json +1 -1
- package/types/m6d-cortex-angular.d.ts +4 -3
package/package.json
CHANGED
|
@@ -16,11 +16,11 @@ declare const ATTACHMENT_STATUSES: readonly [
|
|
|
16
16
|
"failed",
|
|
17
17
|
"skipped"
|
|
18
18
|
];
|
|
19
|
+
export type AttachmentStatus = (typeof ATTACHMENT_STATUSES)[number];
|
|
19
20
|
declare const ATTACHMENT_ORIGINS: readonly [
|
|
20
21
|
"upload",
|
|
21
22
|
"tool"
|
|
22
23
|
];
|
|
23
|
-
export type AttachmentStatus = (typeof ATTACHMENT_STATUSES)[number];
|
|
24
24
|
export type AttachmentOrigin = (typeof ATTACHMENT_ORIGINS)[number];
|
|
25
25
|
export type AttachmentSummary = {
|
|
26
26
|
id: string;
|
|
@@ -170,11 +170,11 @@ declare const ATTACHMENT_STATUSES$1: readonly [
|
|
|
170
170
|
"failed",
|
|
171
171
|
"skipped"
|
|
172
172
|
];
|
|
173
|
+
type AttachmentStatus$1 = (typeof ATTACHMENT_STATUSES$1)[number];
|
|
173
174
|
declare const ATTACHMENT_ORIGINS$1: readonly [
|
|
174
175
|
"upload",
|
|
175
176
|
"tool"
|
|
176
177
|
];
|
|
177
|
-
type AttachmentStatus$1 = (typeof ATTACHMENT_STATUSES$1)[number];
|
|
178
178
|
type AttachmentOrigin$1 = (typeof ATTACHMENT_ORIGINS$1)[number];
|
|
179
179
|
export type AttachmentSummary$1 = {
|
|
180
180
|
id: string;
|
|
@@ -269,7 +269,7 @@ declare class CortexChatService {
|
|
|
269
269
|
* forgotten first.
|
|
270
270
|
*/
|
|
271
271
|
private loadCapabilities;
|
|
272
|
-
get events$(): Observable<"
|
|
272
|
+
get events$(): Observable<"onError" | "onFinish" | "onThreadSelected" | "onSend">;
|
|
273
273
|
selectThread(thread: ThreadSummary, options?: {
|
|
274
274
|
skipLoadingMessages?: boolean;
|
|
275
275
|
}): Observable<ThreadSummary>;
|
|
@@ -315,6 +315,7 @@ declare class CortexChatService {
|
|
|
315
315
|
static ɵfac: i0.ɵɵFactoryDeclaration<CortexChatService, never>;
|
|
316
316
|
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
317
317
|
}
|
|
318
|
+
/** The chat widget: the thread list, the open conversation and its composer, for the agent `config` points at. */
|
|
318
319
|
export declare class CortexChatWidgetComponent implements OnInit {
|
|
319
320
|
readonly config: import("@angular/core").InputSignal<CortexAngularConfig>;
|
|
320
321
|
protected readonly debugMode: import("@angular/core").WritableSignal<boolean>;
|