@newheap/platform-ai-chat 0.6.0 → 0.7.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 +20 -2
- package/fesm2022/newheap-platform-ai-chat.mjs +56 -23
- package/fesm2022/newheap-platform-ai-chat.mjs.map +1 -1
- package/i18n/en.json +3 -0
- package/i18n/nl.json +3 -0
- package/index.d.ts +14 -5
- package/package.json +1 -1
package/i18n/en.json
CHANGED
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
"open-preferences": "Your assistant preferences",
|
|
26
26
|
"open-admin": "Assistant administration",
|
|
27
27
|
"share": "Share conversation",
|
|
28
|
+
"add-members": "Add people to the conversation",
|
|
29
|
+
"notifications-on": "Turn notifications on",
|
|
30
|
+
"notifications-off": "Turn notifications off",
|
|
28
31
|
"members": "People in this conversation"
|
|
29
32
|
},
|
|
30
33
|
"agent-picker": {
|
package/i18n/nl.json
CHANGED
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
"open-preferences": "Je assistentvoorkeuren",
|
|
26
26
|
"open-admin": "Beheer van de assistent",
|
|
27
27
|
"share": "Gesprek delen",
|
|
28
|
+
"add-members": "Mensen toevoegen aan het gesprek",
|
|
29
|
+
"notifications-on": "Notificaties aanzetten",
|
|
30
|
+
"notifications-off": "Notificaties uitzetten",
|
|
28
31
|
"members": "Mensen in dit gesprek"
|
|
29
32
|
},
|
|
30
33
|
"agent-picker": {
|
package/index.d.ts
CHANGED
|
@@ -1123,7 +1123,7 @@ declare class NhAssistantLauncherComponent {
|
|
|
1123
1123
|
declare class NhAssistantPanelComponent implements AfterViewInit, OnDestroy {
|
|
1124
1124
|
readonly store: NhAssistantStore;
|
|
1125
1125
|
readonly panel: NhAssistantPanelService;
|
|
1126
|
-
|
|
1126
|
+
readonly push: NhAssistantPushService;
|
|
1127
1127
|
private readonly config;
|
|
1128
1128
|
private readonly viewContainerRef;
|
|
1129
1129
|
private readonly router;
|
|
@@ -1134,6 +1134,9 @@ declare class NhAssistantPanelComponent implements AfterViewInit, OnDestroy {
|
|
|
1134
1134
|
readonly showConversations: _angular_core.WritableSignal<boolean>;
|
|
1135
1135
|
readonly showPreferences: _angular_core.WritableSignal<boolean>;
|
|
1136
1136
|
readonly showShare: _angular_core.WritableSignal<boolean>;
|
|
1137
|
+
readonly shareSection: _angular_core.WritableSignal<"members" | "link" | "all">;
|
|
1138
|
+
readonly notificationError: _angular_core.WritableSignal<NhAssistantError | null>;
|
|
1139
|
+
readonly notificationsLabel: _angular_core.Signal<"nh-assistant.panel.notifications-off" | "nh-assistant.panel.notifications-on">;
|
|
1137
1140
|
readonly adminRoute: string | any[] | null;
|
|
1138
1141
|
readonly conversation: _angular_core.Signal<Conversation | null>;
|
|
1139
1142
|
private readonly conversationId;
|
|
@@ -1157,7 +1160,9 @@ declare class NhAssistantPanelComponent implements AfterViewInit, OnDestroy {
|
|
|
1157
1160
|
describeContext(context: ClientContext): string;
|
|
1158
1161
|
toggleConversations(): void;
|
|
1159
1162
|
togglePreferences(): void;
|
|
1160
|
-
toggleShare(): void;
|
|
1163
|
+
toggleShare(section?: 'all' | 'link' | 'members'): void;
|
|
1164
|
+
/** Applies the notification choice immediately, including browser permission handling. */
|
|
1165
|
+
toggleNotifications(): Promise<void>;
|
|
1161
1166
|
newConversation(): void;
|
|
1162
1167
|
openConversation(conversationId: string): void;
|
|
1163
1168
|
deleteConversation(conversationId: string): void;
|
|
@@ -1287,7 +1292,7 @@ declare class NhAssistantComposerComponent {
|
|
|
1287
1292
|
submit(): void;
|
|
1288
1293
|
private restoreOwnedFocus;
|
|
1289
1294
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NhAssistantComposerComponent, never>;
|
|
1290
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NhAssistantComposerComponent, "nh-assistant-composer", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "sendDisabled": { "alias": "sendDisabled"; "required": false; "isSignal": true; }; "busy": { "alias": "busy"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "statusActor": { "alias": "statusActor"; "required": false; "isSignal": true; }; "canStop": { "alias": "canStop"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "restore": { "alias": "restore"; "required": false; "isSignal": true; }; }, { "send": "send"; "cancel": "cancel"; "restored": "restored"; }, never,
|
|
1295
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NhAssistantComposerComponent, "nh-assistant-composer", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "sendDisabled": { "alias": "sendDisabled"; "required": false; "isSignal": true; }; "busy": { "alias": "busy"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "statusActor": { "alias": "statusActor"; "required": false; "isSignal": true; }; "canStop": { "alias": "canStop"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "restore": { "alias": "restore"; "required": false; "isSignal": true; }; }, { "send": "send"; "cancel": "cancel"; "restored": "restored"; }, never, ["[nhAssistantComposerControls]"], true, never>;
|
|
1291
1296
|
}
|
|
1292
1297
|
|
|
1293
1298
|
/** Shows one tool invocation with its status and expandable input and result previews. */
|
|
@@ -1367,12 +1372,14 @@ declare class NhAssistantAgentPickerComponent {
|
|
|
1367
1372
|
readonly agents: _angular_core.InputSignal<readonly AgentSummary[]>;
|
|
1368
1373
|
readonly selectedAgentId: _angular_core.InputSignal<string | null>;
|
|
1369
1374
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
1375
|
+
/** Compact prompt-bar control; capability information remains in the tooltip and accessible description. */
|
|
1376
|
+
readonly compact: _angular_core.InputSignal<boolean>;
|
|
1370
1377
|
readonly agentChange: _angular_core.OutputEmitterRef<string>;
|
|
1371
1378
|
readonly selectId: string;
|
|
1372
1379
|
readonly selected: _angular_core.Signal<AgentSummary | null>;
|
|
1373
1380
|
onChange(event: Event): void;
|
|
1374
1381
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NhAssistantAgentPickerComponent, never>;
|
|
1375
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NhAssistantAgentPickerComponent, "nh-assistant-agent-picker", never, { "agents": { "alias": "agents"; "required": true; "isSignal": true; }; "selectedAgentId": { "alias": "selectedAgentId"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "agentChange": "agentChange"; }, never, never, true, never>;
|
|
1382
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NhAssistantAgentPickerComponent, "nh-assistant-agent-picker", never, { "agents": { "alias": "agents"; "required": true; "isSignal": true; }; "selectedAgentId": { "alias": "selectedAgentId"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; }, { "agentChange": "agentChange"; }, never, never, true, never>;
|
|
1376
1383
|
}
|
|
1377
1384
|
|
|
1378
1385
|
/** Maximum length of the user's own instructions. */
|
|
@@ -1437,6 +1444,8 @@ declare class NhAssistantShareComponent {
|
|
|
1437
1444
|
private searchRevision;
|
|
1438
1445
|
/** Emitted when the user leaves the view. */
|
|
1439
1446
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
1447
|
+
/** Show the invitation link, participants, or both (the default for custom hosts). */
|
|
1448
|
+
readonly section: _angular_core.InputSignal<"members" | "link" | "all">;
|
|
1440
1449
|
readonly id: string;
|
|
1441
1450
|
readonly conversation: _angular_core.Signal<Conversation | null>;
|
|
1442
1451
|
readonly isOwner: _angular_core.Signal<boolean>;
|
|
@@ -1462,7 +1471,7 @@ declare class NhAssistantShareComponent {
|
|
|
1462
1471
|
isCurrentUser(member: ConversationMember): boolean;
|
|
1463
1472
|
private run;
|
|
1464
1473
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NhAssistantShareComponent, never>;
|
|
1465
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NhAssistantShareComponent, "nh-assistant-share", never, {}, { "closed": "closed"; }, never, never, true, never>;
|
|
1474
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NhAssistantShareComponent, "nh-assistant-share", never, { "section": { "alias": "section"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, never, true, never>;
|
|
1466
1475
|
}
|
|
1467
1476
|
|
|
1468
1477
|
/**
|