@newheap/platform-ai-chat 0.19.0 → 0.20.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 +7 -0
- package/admin/index.d.ts +12 -1
- package/fesm2022/newheap-platform-ai-chat-admin.mjs +119 -26
- package/fesm2022/newheap-platform-ai-chat-admin.mjs.map +1 -1
- package/fesm2022/newheap-platform-ai-chat-testing.mjs +363 -7
- package/fesm2022/newheap-platform-ai-chat-testing.mjs.map +1 -1
- package/fesm2022/newheap-platform-ai-chat.mjs +1074 -59
- package/fesm2022/newheap-platform-ai-chat.mjs.map +1 -1
- package/i18n/en.json +60 -3
- package/i18n/nl.json +60 -3
- package/index.d.ts +377 -16
- package/package.json +1 -1
- package/testing/index.d.ts +43 -2
package/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { InjectionToken, Type, EnvironmentProviders, Signal, AfterViewInit, OnDe
|
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { TranslationObject } from '@ngx-translate/core';
|
|
5
5
|
import { TemplatePortal } from '@angular/cdk/portal';
|
|
6
|
+
import { SafeHtml } from '@angular/platform-browser';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Contracts of the agent-run endpoints of `NewHeap.Platform.AI.Chat.AspNet`: threads about a
|
|
@@ -622,6 +623,8 @@ interface AgentConsultationList {
|
|
|
622
623
|
interface AgentInbox {
|
|
623
624
|
items: AgentProposal[];
|
|
624
625
|
total: number;
|
|
626
|
+
/** The status the page lists. Missing on older servers, which list pending proposals only. */
|
|
627
|
+
status?: AgentInboxStatus;
|
|
625
628
|
/**
|
|
626
629
|
* The scope whose visits mark what is new: `global`, or `division:{id}` for an inbox filtered on a
|
|
627
630
|
* division. Missing on older servers.
|
|
@@ -677,7 +680,18 @@ interface AgentInboxSubjectGroup {
|
|
|
677
680
|
continuesFromPreviousPage: boolean;
|
|
678
681
|
continuesOnNextPage: boolean;
|
|
679
682
|
}
|
|
683
|
+
/**
|
|
684
|
+
* What the approval inbox lists (`AgentInboxFilter.status`): proposals that wait for a decision
|
|
685
|
+
* (the default), approved proposals of tools the application executes that wait for its report, and
|
|
686
|
+
* proposals whose execution is uncertain until an approver resolves it.
|
|
687
|
+
*/
|
|
688
|
+
type AgentInboxStatus = 'pending' | 'awaiting-application' | 'execution-unknown';
|
|
680
689
|
interface AgentInboxFilter {
|
|
690
|
+
/**
|
|
691
|
+
* The status the inbox lists, with the same visibility: `pending` by expiry (the default),
|
|
692
|
+
* `awaiting-application` by report deadline, `execution-unknown` by decision.
|
|
693
|
+
*/
|
|
694
|
+
status?: AgentInboxStatus;
|
|
681
695
|
subjectType?: string;
|
|
682
696
|
agentId?: string;
|
|
683
697
|
/** Only proposals on subjects of this division; the inbox's visits are then those of the division. */
|
|
@@ -903,6 +917,11 @@ interface Conversation extends ConversationSummary {
|
|
|
903
917
|
agentVersion: number;
|
|
904
918
|
messages: Message[];
|
|
905
919
|
pendingApproval: ApprovalPart | null;
|
|
920
|
+
/**
|
|
921
|
+
* The question the waiting turn asked with `ask_question` and waits for (`run.AllowQuestions()` on
|
|
922
|
+
* the server); missing when the conversation waits for no question and on older servers.
|
|
923
|
+
*/
|
|
924
|
+
pendingQuestion?: QuestionPart | null;
|
|
906
925
|
/** The owner followed by the participants; empty while the conversation is not shared. */
|
|
907
926
|
members?: ConversationMember[];
|
|
908
927
|
/** The current invitation-link token; only for the owner. */
|
|
@@ -978,6 +997,11 @@ interface Message {
|
|
|
978
997
|
authorKind?: MessageAuthorKind | null;
|
|
979
998
|
/** The title, sender, link and trusted flag of a message the application posted; missing for other messages. */
|
|
980
999
|
application?: ApplicationMessageDetails | null;
|
|
1000
|
+
/**
|
|
1001
|
+
* The skill an agent message of a person's chat worked in at its end (`run.SkillsInChat()` on the
|
|
1002
|
+
* server); missing for a message without a skill.
|
|
1003
|
+
*/
|
|
1004
|
+
skillId?: string | null;
|
|
981
1005
|
}
|
|
982
1006
|
/**
|
|
983
1007
|
* `person` for a message a person wrote; `trigger` for one a trigger wrote into an agent thread;
|
|
@@ -1006,7 +1030,38 @@ interface ApplicationMessageLink {
|
|
|
1006
1030
|
/** The text of the link; the chat shows its own text without one. */
|
|
1007
1031
|
label: string | null;
|
|
1008
1032
|
}
|
|
1009
|
-
type MessagePart = TextPart | ToolCallPart | ApprovalPart | ConnectionRequiredPart | FilePart;
|
|
1033
|
+
type MessagePart = TextPart | ToolCallPart | ApprovalPart | ConnectionRequiredPart | FilePart | QuestionPart;
|
|
1034
|
+
/**
|
|
1035
|
+
* `pending` while the turn waits for the answer; `answered` once the addressee chose; `expired` when
|
|
1036
|
+
* nobody answered within the turn's wait limit; `cancelled` when the turn was stopped.
|
|
1037
|
+
*/
|
|
1038
|
+
type QuestionStatus = 'pending' | 'answered' | 'expired' | 'cancelled';
|
|
1039
|
+
/**
|
|
1040
|
+
* A question the agent asked with `ask_question` in a person's chat. Only the addressee answers it,
|
|
1041
|
+
* with `NhAssistantApiService.answerQuestion`; the turn waits for the answer as for an approval and
|
|
1042
|
+
* continues with it. Everyone else sees it read-only.
|
|
1043
|
+
*/
|
|
1044
|
+
interface QuestionPart {
|
|
1045
|
+
type: 'question';
|
|
1046
|
+
questionId: string;
|
|
1047
|
+
question: string;
|
|
1048
|
+
/** Two to six answers, in order; the answer names the index of one. */
|
|
1049
|
+
choices: string[];
|
|
1050
|
+
/** The person who answers: by default the person whose turn asked. */
|
|
1051
|
+
addresseeActorId: string;
|
|
1052
|
+
/** After this moment an answer is refused with `assistant-question-expired`. */
|
|
1053
|
+
expiresAt: string;
|
|
1054
|
+
status: QuestionStatus;
|
|
1055
|
+
/** The zero-based index of the chosen answer; only sent once it was answered. */
|
|
1056
|
+
answerIndex?: number | null;
|
|
1057
|
+
/** When it was answered, expired or cancelled; only sent then. */
|
|
1058
|
+
closedAt?: string | null;
|
|
1059
|
+
}
|
|
1060
|
+
/** Body of `POST conversations/{id}/questions/{questionId}/answer`. */
|
|
1061
|
+
interface AnswerQuestionRequest {
|
|
1062
|
+
/** The zero-based index of the chosen answer. */
|
|
1063
|
+
choice: number;
|
|
1064
|
+
}
|
|
1010
1065
|
/**
|
|
1011
1066
|
* A file a person attached to a message: its name, media type and size in bytes, never its content.
|
|
1012
1067
|
* The application keeps the file; a later turn opens it again with the rights of that turn.
|
|
@@ -1041,9 +1096,10 @@ interface TextPart {
|
|
|
1041
1096
|
* `awaiting-approval` waits for a person. A call whose agent proposal closed without running ends
|
|
1042
1097
|
* as `rejected`, as `not-executed` when the proposal expired, was withdrawn or became stale, or as
|
|
1043
1098
|
* `failed` when its execution failed before it started; its `resultCode` is then
|
|
1044
|
-
* `assistant-proposal-<approval status>`, for example `assistant-proposal-expired`.
|
|
1099
|
+
* `assistant-proposal-<approval status>`, for example `assistant-proposal-expired`. An `ask_question`
|
|
1100
|
+
* call waits as `awaiting-answer` for the person it asked.
|
|
1045
1101
|
*/
|
|
1046
|
-
type ToolCallStatus = 'running' | 'succeeded' | 'failed' | 'awaiting-approval' | 'rejected' | 'not-executed';
|
|
1102
|
+
type ToolCallStatus = 'running' | 'succeeded' | 'failed' | 'awaiting-approval' | 'awaiting-answer' | 'rejected' | 'not-executed';
|
|
1047
1103
|
interface ToolCallPart {
|
|
1048
1104
|
type: 'tool-call';
|
|
1049
1105
|
invocationId: string;
|
|
@@ -1111,6 +1167,29 @@ interface ApprovalPart {
|
|
|
1111
1167
|
* in the person's own request with their own rights. Missing for the conversation's own proposals.
|
|
1112
1168
|
*/
|
|
1113
1169
|
consultation?: ApprovalConsultation | null;
|
|
1170
|
+
/**
|
|
1171
|
+
* The result of the execution, such as the application's code or `report-overdue`. Only sent once the
|
|
1172
|
+
* proposal executed or was handed to the application; missing on older servers.
|
|
1173
|
+
*/
|
|
1174
|
+
executionResultCode?: string;
|
|
1175
|
+
/** Until when the application's report is due, for a proposal handed to the application. Only sent then. */
|
|
1176
|
+
executionReportDueAt?: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* `true` when the current user may resolve this uncertain execution in the chat (`resolveApproval`):
|
|
1179
|
+
* they approved it here, it was handed to the application and its outcome is unknown. Only sent then.
|
|
1180
|
+
*/
|
|
1181
|
+
canResolve?: boolean;
|
|
1182
|
+
}
|
|
1183
|
+
/**
|
|
1184
|
+
* How the person who approved a proposal in their chat resolves its uncertain hand-off: hand it to the
|
|
1185
|
+
* application again, with a new attempt and report deadline, or confirm its outcome without running it.
|
|
1186
|
+
*/
|
|
1187
|
+
type ApprovalResolution = 'hand-to-application' | 'mark-resolved';
|
|
1188
|
+
/** Body of `POST conversations/{id}/approvals/{approvalId}/resolve`. */
|
|
1189
|
+
interface ResolveApprovalRequest {
|
|
1190
|
+
action: ApprovalResolution;
|
|
1191
|
+
/** Why, at most 500 characters. */
|
|
1192
|
+
reason?: string;
|
|
1114
1193
|
}
|
|
1115
1194
|
/**
|
|
1116
1195
|
* How a consulted agent's proposal is decided and whose rights execute it: `asker-decides`, the person
|
|
@@ -1246,6 +1325,10 @@ interface ToolCompletedEvent {
|
|
|
1246
1325
|
resultPreview: string | null;
|
|
1247
1326
|
}
|
|
1248
1327
|
type ApprovalRequiredEvent = ApprovalPart;
|
|
1328
|
+
/** The agent asked a person of the conversation a question; the turn waits for the answer. */
|
|
1329
|
+
type QuestionAskedEvent = QuestionPart;
|
|
1330
|
+
/** The addressee answered the question; the turn continues with the answer. */
|
|
1331
|
+
type QuestionAnsweredEvent = QuestionPart;
|
|
1249
1332
|
/** The person who asked has to connect an MCP server before the agent can use it. */
|
|
1250
1333
|
interface ConnectionRequiredEvent {
|
|
1251
1334
|
serverId: string;
|
|
@@ -1281,6 +1364,8 @@ interface NhAssistantSseEventMap {
|
|
|
1281
1364
|
'tool.started': ToolStartedEvent;
|
|
1282
1365
|
'tool.completed': ToolCompletedEvent;
|
|
1283
1366
|
'approval.required': ApprovalRequiredEvent;
|
|
1367
|
+
'question.asked': QuestionAskedEvent;
|
|
1368
|
+
'question.answered': QuestionAnsweredEvent;
|
|
1284
1369
|
'connection.required': ConnectionRequiredEvent;
|
|
1285
1370
|
'turn.completed': TurnCompletedEvent;
|
|
1286
1371
|
'error': AssistantErrorEvent;
|
|
@@ -2724,8 +2809,10 @@ interface AgentMetadataEntry {
|
|
|
2724
2809
|
editable: boolean;
|
|
2725
2810
|
/** The largest value in bytes of its JSON. */
|
|
2726
2811
|
maxBytes: number;
|
|
2727
|
-
/** It declares a searchable value with `IndexBy`. */
|
|
2812
|
+
/** It declares a searchable value with `IndexBy`, or several with `IndexByEach`. */
|
|
2728
2813
|
indexed: boolean;
|
|
2814
|
+
/** It declares several searchable values with `IndexByEach`. */
|
|
2815
|
+
indexedByEach?: boolean;
|
|
2729
2816
|
}
|
|
2730
2817
|
/** Where the value of an agent's metadata entry comes from. */
|
|
2731
2818
|
type AgentMetadataSource = 'code' | 'override' | 'data';
|
|
@@ -2757,6 +2844,10 @@ interface AgentMetadata {
|
|
|
2757
2844
|
indexed?: boolean;
|
|
2758
2845
|
/** The searchable value of the value in effect, trimmed and in lowercase. */
|
|
2759
2846
|
indexValue?: string | null;
|
|
2847
|
+
/** Whether the entry declares several searchable values with `IndexByEach`. */
|
|
2848
|
+
indexedByEach?: boolean;
|
|
2849
|
+
/** The searchable values of an `IndexByEach` entry's value in effect, trimmed, in lowercase and ordered. */
|
|
2850
|
+
indexValues?: string[];
|
|
2760
2851
|
changedAt?: string | null;
|
|
2761
2852
|
changedBy?: string | null;
|
|
2762
2853
|
/**
|
|
@@ -3587,6 +3678,8 @@ interface ShadowVariant {
|
|
|
3587
3678
|
inEffect: boolean;
|
|
3588
3679
|
/** Why a data variant with run settings is out of effect, such as `outside-ceiling`. */
|
|
3589
3680
|
problem: string | null;
|
|
3681
|
+
/** The version of the variant's definition, which a promotion sends as `expectedVariantVersion`. */
|
|
3682
|
+
version?: number;
|
|
3590
3683
|
}
|
|
3591
3684
|
/** `GET admin/agents/{id}/shadow-variants`. */
|
|
3592
3685
|
interface AgentShadowVariants {
|
|
@@ -3598,6 +3691,87 @@ interface AgentShadowVariants {
|
|
|
3598
3691
|
/** The variants in code first, then the data variants. */
|
|
3599
3692
|
variants: ShadowVariant[];
|
|
3600
3693
|
}
|
|
3694
|
+
/** `POST admin/agents/{id}/promote`: a data shadow variant becomes its live agent's next version. */
|
|
3695
|
+
interface ShadowVariantPromotionRequest {
|
|
3696
|
+
/** The live agent's version the promotion was decided on. */
|
|
3697
|
+
expectedVersion: number;
|
|
3698
|
+
/**
|
|
3699
|
+
* The variant's data skills become the next live versions of the live agent's skills with the same
|
|
3700
|
+
* id, or new skills, which start in shadow; otherwise they go with the variant.
|
|
3701
|
+
*/
|
|
3702
|
+
moveSkills?: boolean;
|
|
3703
|
+
/** The variant's version that was evaluated; omitted skips the check. */
|
|
3704
|
+
expectedVariantVersion?: number | null;
|
|
3705
|
+
/** Optional, at most 500 characters, stored with the skill versions the promotion saves. */
|
|
3706
|
+
reason?: string | null;
|
|
3707
|
+
}
|
|
3708
|
+
/** The answer of a promotion: the live agent after it, and what moved. */
|
|
3709
|
+
interface ShadowVariantPromotion {
|
|
3710
|
+
/** The live agent with the variant's definition as its new version. */
|
|
3711
|
+
agent: AdminAgent;
|
|
3712
|
+
/** The variant, which was deleted: it never goes live itself. */
|
|
3713
|
+
variantId: string;
|
|
3714
|
+
/** The skills that moved to the live agent, ordered by id. */
|
|
3715
|
+
movedSkills: string[];
|
|
3716
|
+
}
|
|
3717
|
+
|
|
3718
|
+
/**
|
|
3719
|
+
* Draws diagrams of fenced code blocks for `nh-assistant-document`, such as ```` ```mermaid ````.
|
|
3720
|
+
* The application supplies it and loads its drawing library lazily inside `render`, so a page
|
|
3721
|
+
* without diagrams never downloads it; the library itself depends on no diagram package.
|
|
3722
|
+
*/
|
|
3723
|
+
interface NhAssistantDiagramRenderer {
|
|
3724
|
+
/**
|
|
3725
|
+
* The languages of the fenced code blocks it draws, compared without case, for example
|
|
3726
|
+
* `['mermaid']`. Blocks of other languages stay code.
|
|
3727
|
+
*/
|
|
3728
|
+
readonly languages: readonly string[];
|
|
3729
|
+
/**
|
|
3730
|
+
* Draws one diagram as SVG markup. The document sanitizes the result before it shows it, so
|
|
3731
|
+
* scripts, event handlers, foreign content and external references never run or load.
|
|
3732
|
+
* Reject, or throw, with a short reason when the source cannot be drawn: the document then
|
|
3733
|
+
* shows the source with that reason.
|
|
3734
|
+
*
|
|
3735
|
+
* @param source The text of the block, untrusted like the rest of the document.
|
|
3736
|
+
* @param language The block's language in lower case.
|
|
3737
|
+
*/
|
|
3738
|
+
render(source: string, language: string): Promise<string>;
|
|
3739
|
+
}
|
|
3740
|
+
/** A heading of the rendered document, in document order, for example for a table of contents. */
|
|
3741
|
+
interface NhAssistantDocumentHeading {
|
|
3742
|
+
/** The element id of the heading in the page, unique per document component. */
|
|
3743
|
+
readonly id: string;
|
|
3744
|
+
/** The fragment that links to it within the document, as in `[Setup](#setup)`. */
|
|
3745
|
+
readonly fragment: string;
|
|
3746
|
+
/** 1 to 6. */
|
|
3747
|
+
readonly level: number;
|
|
3748
|
+
/** The heading as plain text. */
|
|
3749
|
+
readonly text: string;
|
|
3750
|
+
}
|
|
3751
|
+
/**
|
|
3752
|
+
* What a link of the document leads to:
|
|
3753
|
+
* - `document`: another document of the bundle, one of the sibling paths;
|
|
3754
|
+
* - `anchor`: a heading of this document;
|
|
3755
|
+
* - `external`: an `https:`, `http:` or `mailto:` address, which opens in a new tab.
|
|
3756
|
+
*/
|
|
3757
|
+
type NhAssistantDocumentLinkKind = 'document' | 'anchor' | 'external';
|
|
3758
|
+
/**
|
|
3759
|
+
* A link the reader activated. For `document` and `anchor` links the document prevents the
|
|
3760
|
+
* browser's navigation: the application opens the sibling document, and the document scrolls
|
|
3761
|
+
* to its own heading. An `external` link opens unless the handler calls
|
|
3762
|
+
* `event.preventDefault()`.
|
|
3763
|
+
*/
|
|
3764
|
+
interface NhAssistantDocumentLinkEvent {
|
|
3765
|
+
readonly kind: NhAssistantDocumentLinkKind;
|
|
3766
|
+
/** The address as rendered: the bundle path with its fragment, `#fragment` or the external URL. */
|
|
3767
|
+
readonly href: string;
|
|
3768
|
+
/** The sibling path for a `document` link, otherwise `null`. */
|
|
3769
|
+
readonly path: string | null;
|
|
3770
|
+
/** The fragment without `#`, or `null`. */
|
|
3771
|
+
readonly fragment: string | null;
|
|
3772
|
+
/** The click, so the handler can prevent an external link from opening. */
|
|
3773
|
+
readonly event: MouseEvent;
|
|
3774
|
+
}
|
|
3601
3775
|
|
|
3602
3776
|
/** Decides whether the current user may see and use the assistant. */
|
|
3603
3777
|
interface NhAssistantAccessPolicy {
|
|
@@ -3888,6 +4062,19 @@ declare class NhAssistantApiService {
|
|
|
3888
4062
|
*/
|
|
3889
4063
|
uploadFile(conversationId: string, file: Blob, name: string): Observable<NhAssistantUploadEvent>;
|
|
3890
4064
|
decideApproval(conversationId: string, approvalId: string, request: DecideApprovalRequest): Observable<NhAssistantSseEvent>;
|
|
4065
|
+
/**
|
|
4066
|
+
* Answers the question the chat's waiting turn asked with `ask_question` with the index of one of
|
|
4067
|
+
* its choices, and streams the resumed turn like a decision. Only the question's addressee answers;
|
|
4068
|
+
* the server refuses others with `assistant-question-forbidden` and a question whose wait ended with
|
|
4069
|
+
* `assistant-question-expired`.
|
|
4070
|
+
*/
|
|
4071
|
+
answerQuestion(conversationId: string, questionId: string, request: AnswerQuestionRequest): Observable<NhAssistantSseEvent>;
|
|
4072
|
+
/**
|
|
4073
|
+
* Resolves an uncertain hand-off of a proposal the caller approved in this chat (`canResolve`):
|
|
4074
|
+
* `hand-to-application` hands it to the application again, `mark-resolved` confirms its outcome.
|
|
4075
|
+
* Returns the conversation as it is afterwards.
|
|
4076
|
+
*/
|
|
4077
|
+
resolveApproval(conversationId: string, approvalId: string, request: ResolveApprovalRequest): Observable<Conversation>;
|
|
3891
4078
|
cancel(conversationId: string): Observable<void>;
|
|
3892
4079
|
/** Raises the caller's read position to `sequence`, or to the latest message when omitted. */
|
|
3893
4080
|
markRead(conversationId: string, sequence?: number): Observable<void>;
|
|
@@ -4217,6 +4404,15 @@ declare class NhAssistantAdminApiService {
|
|
|
4217
4404
|
* more (`UseShadowVariantsAsData`). Create a data variant with `createAgent` and `shadowOf`.
|
|
4218
4405
|
*/
|
|
4219
4406
|
getShadowVariants(agentId: string): Observable<AgentShadowVariants>;
|
|
4407
|
+
/**
|
|
4408
|
+
* Promotes the data shadow variant `variantId` onto its live agent (`POST admin/agents/{id}/promote`):
|
|
4409
|
+
* its definition becomes the live agent's next version through the update path, with its checks,
|
|
4410
|
+
* locks and audit, its data skills move along when asked, and the variant is deleted. The live agent
|
|
4411
|
+
* keeps its name, MCP servers, metadata, run settings, triggers, state and shadow mode; an agent in
|
|
4412
|
+
* code takes only the fields it can override. Fails with `assistant-not-shadow-variant`,
|
|
4413
|
+
* `assistant-shadow-variants-not-allowed`, `assistant-version-conflict` and `assistant-skill-in-code`.
|
|
4414
|
+
*/
|
|
4415
|
+
promoteShadowVariant(variantId: string, request: ShadowVariantPromotionRequest): Observable<ShadowVariantPromotion>;
|
|
4220
4416
|
/**
|
|
4221
4417
|
* Exports exactly `agentIds` (1 to 20) as one agent package (`POST admin/agent-packages/export`):
|
|
4222
4418
|
* agents created here whole, agents in code as an overlay of what data changes on them; never
|
|
@@ -4374,7 +4570,9 @@ declare class NhAssistantAgentRunApiService {
|
|
|
4374
4570
|
retryRun(runId: string, mode: AgentRunRetryMode): Observable<AgentTriggerReceipt>;
|
|
4375
4571
|
/**
|
|
4376
4572
|
* Pending proposals the caller may decide, sorted by expiry, or with `grouped` by parent and subject,
|
|
4377
|
-
* with what is new since the caller's last visit (`visitInbox`).
|
|
4573
|
+
* with what is new since the caller's last visit (`visitInbox`). `status` lists the proposals that
|
|
4574
|
+
* wait for the application's report (`awaiting-application`) or for an approver to resolve an
|
|
4575
|
+
* uncertain execution (`execution-unknown`) instead, with the same visibility.
|
|
4378
4576
|
*/
|
|
4379
4577
|
getInbox(filter?: AgentInboxFilter): Observable<AgentInbox>;
|
|
4380
4578
|
/**
|
|
@@ -4427,6 +4625,11 @@ declare function applyNhAssistantEvent(conversation: Conversation, event: NhAssi
|
|
|
4427
4625
|
* closes it, rejected in this conversation, and can no longer be left; the waiting tool call goes on.
|
|
4428
4626
|
*/
|
|
4429
4627
|
declare function applyNhAssistantApprovalDecision(conversation: Conversation, approvalId: string, decision: ApprovalDecision): Conversation;
|
|
4628
|
+
/**
|
|
4629
|
+
* Records the addressee's answer to a question locally until the server state is reloaded: the
|
|
4630
|
+
* question reads as answered with the chosen index and the turn runs again.
|
|
4631
|
+
*/
|
|
4632
|
+
declare function applyNhAssistantQuestionAnswer(conversation: Conversation, questionId: string, choice: number): Conversation;
|
|
4430
4633
|
/**
|
|
4431
4634
|
* Applies a live update of another session: `message.created` adds a participant's or the
|
|
4432
4635
|
* application's message once, where its sequence number puts it; the turn events behave exactly
|
|
@@ -4773,6 +4976,13 @@ declare class NhAssistantStore {
|
|
|
4773
4976
|
* turn, in an agent thread the server allows them as an approver.
|
|
4774
4977
|
*/
|
|
4775
4978
|
readonly canDecide: _angular_core.Signal<boolean>;
|
|
4979
|
+
/**
|
|
4980
|
+
* True when the current user may answer the question the open chat waits for: it is addressed to
|
|
4981
|
+
* them and still pending (`ask_question`, `run.AllowQuestions()` on the server).
|
|
4982
|
+
*/
|
|
4983
|
+
readonly canAnswer: _angular_core.Signal<boolean>;
|
|
4984
|
+
/** The member a pending question of the open conversation is addressed to, when it is someone else. */
|
|
4985
|
+
readonly questionAddressee: _angular_core.Signal<ConversationMember | null>;
|
|
4776
4986
|
/** The member whose turn runs or waits in the open conversation, when it is someone else. */
|
|
4777
4987
|
readonly activeMember: _angular_core.Signal<ConversationMember | null>;
|
|
4778
4988
|
/** Conversations that need attention: running, waiting for approval or unread. Most recent first. */
|
|
@@ -4836,12 +5046,26 @@ declare class NhAssistantStore {
|
|
|
4836
5046
|
* repeated calls while a decision is in flight.
|
|
4837
5047
|
*/
|
|
4838
5048
|
decide(decision: ApprovalDecision, reason?: string, approvalId?: string): void;
|
|
5049
|
+
/**
|
|
5050
|
+
* Answers the question the open chat waits for with the choice at `choice` and streams the resumed
|
|
5051
|
+
* turn, as a decision does. Ignores another question, a question addressed to someone else, a choice
|
|
5052
|
+
* the question does not offer and calls while a turn or a decision is in flight. A refused answer,
|
|
5053
|
+
* such as an expired question, shows its error and reads the conversation again.
|
|
5054
|
+
*/
|
|
5055
|
+
answerQuestion(questionId: string, choice: number): void;
|
|
4839
5056
|
/**
|
|
4840
5057
|
* Decides a proposal of an agent's run with `POST approvals/{id}/decisions`. An approved deferred
|
|
4841
5058
|
* proposal executes later as a background operation; an inline one wakes the waiting run. The
|
|
4842
5059
|
* reloaded snapshot shows the outcome and the proposals that remain open.
|
|
4843
5060
|
*/
|
|
4844
5061
|
private decideProposal;
|
|
5062
|
+
/**
|
|
5063
|
+
* Resolves an uncertain hand-off in the open chat that the current user approved (`canResolve`):
|
|
5064
|
+
* `hand-to-application` hands it to the application again with a new report deadline,
|
|
5065
|
+
* `mark-resolved` confirms its outcome. The conversation the server returns replaces the shown one.
|
|
5066
|
+
* Ignores approvals the user may not resolve and calls while a decision or a turn is in flight.
|
|
5067
|
+
*/
|
|
5068
|
+
resolveApproval(approvalId: string, resolution: ApprovalResolution, reason?: string): Promise<void>;
|
|
4845
5069
|
/** Asks the server to stop the running turn or to abandon a waiting approval of the open conversation. */
|
|
4846
5070
|
cancel(): Promise<void>;
|
|
4847
5071
|
private cancelConversation;
|
|
@@ -5324,6 +5548,17 @@ interface NhAssistantApprovalChoice {
|
|
|
5324
5548
|
approvalId: string;
|
|
5325
5549
|
decision: ApprovalDecision;
|
|
5326
5550
|
}
|
|
5551
|
+
/** The answer the user chose for a question of the thread. */
|
|
5552
|
+
interface NhAssistantQuestionAnswer {
|
|
5553
|
+
questionId: string;
|
|
5554
|
+
/** The zero-based index of the chosen answer. */
|
|
5555
|
+
choice: number;
|
|
5556
|
+
}
|
|
5557
|
+
/** How the user resolves the uncertain hand-off of one approval they made in this chat. */
|
|
5558
|
+
interface NhAssistantApprovalResolutionChoice {
|
|
5559
|
+
approvalId: string;
|
|
5560
|
+
resolution: ApprovalResolution;
|
|
5561
|
+
}
|
|
5327
5562
|
/** Above this number of messages the thread renders through CDK virtual scrolling. */
|
|
5328
5563
|
declare const NH_ASSISTANT_VIRTUAL_SCROLL_THRESHOLD = 200;
|
|
5329
5564
|
/**
|
|
@@ -5375,6 +5610,13 @@ declare class NhAssistantThreadComponent {
|
|
|
5375
5610
|
readonly approvalDecision: _angular_core.OutputEmitterRef<ApprovalDecision>;
|
|
5376
5611
|
/** The decision about an approval card together with its approval id. */
|
|
5377
5612
|
readonly approvalChoice: _angular_core.OutputEmitterRef<NhAssistantApprovalChoice>;
|
|
5613
|
+
/** How the user resolves an uncertain hand-off they approved in this chat, with its approval id. */
|
|
5614
|
+
readonly approvalResolution: _angular_core.OutputEmitterRef<NhAssistantApprovalResolutionChoice>;
|
|
5615
|
+
/**
|
|
5616
|
+
* The answer the user chose for a question addressed to them, for example for
|
|
5617
|
+
* `NhAssistantStore.answerQuestion`. Only the addressee of a pending question gets choice buttons.
|
|
5618
|
+
*/
|
|
5619
|
+
readonly questionAnswer: _angular_core.OutputEmitterRef<NhAssistantQuestionAnswer>;
|
|
5378
5620
|
/**
|
|
5379
5621
|
* The question to ask again after the viewer connected an MCP server from a connection card: the
|
|
5380
5622
|
* text of the user message the card answered. The panel sends it.
|
|
@@ -5418,12 +5660,18 @@ declare class NhAssistantThreadComponent {
|
|
|
5418
5660
|
/** Whether and why the current user may decide an approval card. */
|
|
5419
5661
|
rightFor(approval: ApprovalPart): NhAssistantApprovalRight;
|
|
5420
5662
|
choose(approval: ApprovalPart, decision: ApprovalDecision): void;
|
|
5663
|
+
resolveApproval(approval: ApprovalPart, resolution: ApprovalResolution): void;
|
|
5664
|
+
/** Whether the current user may answer the question: it waits and is addressed to them. */
|
|
5665
|
+
canAnswer(question: QuestionPart): boolean;
|
|
5666
|
+
/** The name of the person a question is addressed to, or `null` when the application provides none. */
|
|
5667
|
+
addresseeName(question: QuestionPart): string | null;
|
|
5668
|
+
answerQuestion(question: QuestionPart, choice: number): void;
|
|
5421
5669
|
/** Display name of another person's message, or `null` when the application provides none. */
|
|
5422
5670
|
authorName(message: Message): string | null;
|
|
5423
5671
|
private scrollElement;
|
|
5424
5672
|
private scrollToEnd;
|
|
5425
5673
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NhAssistantThreadComponent, never>;
|
|
5426
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NhAssistantThreadComponent, "nh-assistant-thread", never, { "messages": { "alias": "messages"; "required": true; "isSignal": true; }; "streaming": { "alias": "streaming"; "required": false; "isSignal": true; }; "deciding": { "alias": "deciding"; "required": false; "isSignal": true; }; "markdown": { "alias": "markdown"; "required": false; "isSignal": true; }; "members": { "alias": "members"; "required": false; "isSignal": true; }; "currentActorId": { "alias": "currentActorId"; "required": false; "isSignal": true; }; "canDecide": { "alias": "canDecide"; "required": false; "isSignal": true; }; "decisionOwner": { "alias": "decisionOwner"; "required": false; "isSignal": true; }; "approvalRights": { "alias": "approvalRights"; "required": false; "isSignal": true; }; "writingMessageId": { "alias": "writingMessageId"; "required": false; "isSignal": true; }; }, { "approvalDecision": "approvalDecision"; "approvalChoice": "approvalChoice"; "retryMessage": "retryMessage"; }, never, never, true, never>;
|
|
5674
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NhAssistantThreadComponent, "nh-assistant-thread", never, { "messages": { "alias": "messages"; "required": true; "isSignal": true; }; "streaming": { "alias": "streaming"; "required": false; "isSignal": true; }; "deciding": { "alias": "deciding"; "required": false; "isSignal": true; }; "markdown": { "alias": "markdown"; "required": false; "isSignal": true; }; "members": { "alias": "members"; "required": false; "isSignal": true; }; "currentActorId": { "alias": "currentActorId"; "required": false; "isSignal": true; }; "canDecide": { "alias": "canDecide"; "required": false; "isSignal": true; }; "decisionOwner": { "alias": "decisionOwner"; "required": false; "isSignal": true; }; "approvalRights": { "alias": "approvalRights"; "required": false; "isSignal": true; }; "writingMessageId": { "alias": "writingMessageId"; "required": false; "isSignal": true; }; }, { "approvalDecision": "approvalDecision"; "approvalChoice": "approvalChoice"; "approvalResolution": "approvalResolution"; "questionAnswer": "questionAnswer"; "retryMessage": "retryMessage"; }, never, never, true, never>;
|
|
5427
5675
|
}
|
|
5428
5676
|
|
|
5429
5677
|
/**
|
|
@@ -5465,7 +5713,12 @@ declare class NhAssistantPanelComponent implements AfterViewInit, OnDestroy {
|
|
|
5465
5713
|
readonly queuedDraft: _angular_core.WritableSignal<string>;
|
|
5466
5714
|
private resumeAfterEditing;
|
|
5467
5715
|
readonly validQueuedDraft: _angular_core.Signal<boolean>;
|
|
5468
|
-
readonly composerStatus: _angular_core.Signal<"running" | "waiting-for-approval" | null>;
|
|
5716
|
+
readonly composerStatus: _angular_core.Signal<"running" | "waiting-for-approval" | "waiting-for-answer" | null>;
|
|
5717
|
+
/**
|
|
5718
|
+
* Who the composer says the conversation waits for, when it is someone else: the addressee of a
|
|
5719
|
+
* pending question, otherwise the person whose turn waits.
|
|
5720
|
+
*/
|
|
5721
|
+
readonly composerStatusActor: _angular_core.Signal<string | null>;
|
|
5469
5722
|
/** Name of another participant whose turn runs or waits, or `null`. */
|
|
5470
5723
|
readonly activeMemberName: _angular_core.Signal<string | null>;
|
|
5471
5724
|
/** The owner and the person who started the turn may stop it. */
|
|
@@ -5506,6 +5759,9 @@ declare class NhAssistantPanelComponent implements AfterViewInit, OnDestroy {
|
|
|
5506
5759
|
decide(decision: ApprovalDecision): void;
|
|
5507
5760
|
/** Decides the approval of a card; in an agent thread several proposals can be open. */
|
|
5508
5761
|
decideApproval(choice: NhAssistantApprovalChoice): void;
|
|
5762
|
+
resolveApproval(choice: NhAssistantApprovalResolutionChoice): void;
|
|
5763
|
+
/** Answers the question the conversation waits for; only its addressee gets the choices. */
|
|
5764
|
+
answerQuestion(answer: NhAssistantQuestionAnswer): void;
|
|
5509
5765
|
cancel(): void;
|
|
5510
5766
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NhAssistantPanelComponent, never>;
|
|
5511
5767
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NhAssistantPanelComponent, "nh-assistant-panel", never, {}, {}, never, never, true, never>;
|
|
@@ -5548,9 +5804,12 @@ declare class NhAssistantComposerComponent {
|
|
|
5548
5804
|
readonly busy: _angular_core.InputSignal<boolean>;
|
|
5549
5805
|
/** Keeps the send action available next to Stop so the host can queue messages. */
|
|
5550
5806
|
readonly queueWhileBusy: _angular_core.InputSignal<boolean>;
|
|
5551
|
-
/**
|
|
5552
|
-
|
|
5553
|
-
|
|
5807
|
+
/**
|
|
5808
|
+
* Announces why sending is temporarily unavailable: a running turn, a turn that waits for an
|
|
5809
|
+
* approval, or one that waits for the answer to a question the agent asked.
|
|
5810
|
+
*/
|
|
5811
|
+
readonly status: _angular_core.InputSignal<"running" | "waiting-for-approval" | "waiting-for-answer" | null>;
|
|
5812
|
+
/** Name of the participant whose turn runs or waits, or who answers the question, when it is someone else. */
|
|
5554
5813
|
readonly statusActor: _angular_core.InputSignal<string | null>;
|
|
5555
5814
|
/** False when the user may not stop the running turn, such as another participant's turn. */
|
|
5556
5815
|
readonly canStop: _angular_core.InputSignal<boolean>;
|
|
@@ -5632,9 +5891,9 @@ declare class NhAssistantToolCallCardComponent {
|
|
|
5632
5891
|
/**
|
|
5633
5892
|
* Overall state of a run of tool calls, from most to least urgent. `not-executed` means that every
|
|
5634
5893
|
* call finished and at least one ended without running, because its proposal expired, was
|
|
5635
|
-
* withdrawn or became stale.
|
|
5894
|
+
* withdrawn or became stale. `awaiting-answer` waits for the answer to a question the agent asked.
|
|
5636
5895
|
*/
|
|
5637
|
-
type NhAssistantToolCallGroupState = 'awaiting-approval' | 'running' | 'failed' | 'not-executed' | 'succeeded';
|
|
5896
|
+
type NhAssistantToolCallGroupState = 'awaiting-approval' | 'awaiting-answer' | 'running' | 'failed' | 'not-executed' | 'succeeded';
|
|
5638
5897
|
/**
|
|
5639
5898
|
* Summarizes consecutive tool calls in one collapsed line that counts along live: the
|
|
5640
5899
|
* tool that runs now while the assistant works, and how many tools were used and failed
|
|
@@ -5669,7 +5928,9 @@ declare function formatNhAssistantCountdown(milliseconds: number): string;
|
|
|
5669
5928
|
* another agent the assistant consulted (`consultation`) names that agent and the subject, offers the
|
|
5670
5929
|
* agent's answer and says that approving runs it with the user's own rights; with a
|
|
5671
5930
|
* `consultation.leaveRoute` a third action leaves it for the subject's approvers (`leave`), after which
|
|
5672
|
-
* the card says that it waits for them.
|
|
5931
|
+
* the card says that it waits for them. A proposal the user approved in their chat whose hand-off to the
|
|
5932
|
+
* application has an unknown outcome (`canResolve`) offers to hand it to the application again or to mark
|
|
5933
|
+
* it resolved (`resolve`).
|
|
5673
5934
|
*/
|
|
5674
5935
|
declare class NhAssistantApprovalCardComponent {
|
|
5675
5936
|
/** Names the consulted agent as the status does; the card also works outside `provideNhAssistant`. */
|
|
@@ -5696,6 +5957,8 @@ declare class NhAssistantApprovalCardComponent {
|
|
|
5696
5957
|
*/
|
|
5697
5958
|
readonly canGiveFeedback: _angular_core.InputSignal<boolean>;
|
|
5698
5959
|
readonly decide: _angular_core.OutputEmitterRef<ApprovalDecision>;
|
|
5960
|
+
/** How the user resolves an uncertain execution they approved in this chat (`canResolve`). */
|
|
5961
|
+
readonly resolve: _angular_core.OutputEmitterRef<ApprovalResolution>;
|
|
5699
5962
|
private readonly now;
|
|
5700
5963
|
private readonly submitted;
|
|
5701
5964
|
/** The decision this card sent last, so a proposal left for the approvers reads as such at once. */
|
|
@@ -5739,6 +6002,11 @@ declare class NhAssistantApprovalCardComponent {
|
|
|
5739
6002
|
/** The route at the subject the pending proposal may be left for; `null` when it can only be approved or rejected. */
|
|
5740
6003
|
readonly leaveRoute: _angular_core.Signal<NhAssistantConsultationLeaveRoute | null>;
|
|
5741
6004
|
readonly leaveHintId: string;
|
|
6005
|
+
/** The user may resolve this uncertain hand-off: the server says so for the person who approved it. */
|
|
6006
|
+
readonly resolvable: _angular_core.Signal<boolean>;
|
|
6007
|
+
readonly resolveDisabled: _angular_core.Signal<boolean>;
|
|
6008
|
+
readonly resolveHintId: string;
|
|
6009
|
+
private readonly resolving;
|
|
5742
6010
|
readonly countdown: _angular_core.Signal<string>;
|
|
5743
6011
|
readonly presentedSummary: _angular_core.Signal<string | null>;
|
|
5744
6012
|
readonly feedbackAvailable: _angular_core.Signal<boolean>;
|
|
@@ -5747,6 +6015,8 @@ declare class NhAssistantApprovalCardComponent {
|
|
|
5747
6015
|
/** Translation key of the text shown instead of the buttons when the current user cannot decide. */
|
|
5748
6016
|
readonly waitingKey: _angular_core.Signal<"nh-assistant.approval.waiting-for-approver" | "nh-assistant.approval.waiting-for-other-approver" | "nh-assistant.approval.waiting-for-asker" | "nh-assistant.approval.waiting-for" | "nh-assistant.approval.waiting-for-participant">;
|
|
5749
6017
|
constructor();
|
|
6018
|
+
/** Emits a resolution of an uncertain hand-off, at most once until the host reports it is done. */
|
|
6019
|
+
chooseResolution(resolution: ApprovalResolution): void;
|
|
5750
6020
|
/** Emits a decision; `leave` only for a consulted agent's proposal with a route at the subject. */
|
|
5751
6021
|
choose(decision: ApprovalDecision): void;
|
|
5752
6022
|
toggleFeedback(): void;
|
|
@@ -5754,7 +6024,43 @@ declare class NhAssistantApprovalCardComponent {
|
|
|
5754
6024
|
/** Collapses the question and returns focus to the action that opened it. */
|
|
5755
6025
|
onFeedbackDismissed(): void;
|
|
5756
6026
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NhAssistantApprovalCardComponent, never>;
|
|
5757
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NhAssistantApprovalCardComponent, "nh-assistant-approval-card", never, { "approval": { "alias": "approval"; "required": true; "isSignal": true; }; "deciding": { "alias": "deciding"; "required": false; "isSignal": true; }; "canDecide": { "alias": "canDecide"; "required": false; "isSignal": true; }; "decisionOwner": { "alias": "decisionOwner"; "required": false; "isSignal": true; }; "waitingFor": { "alias": "waitingFor"; "required": false; "isSignal": true; }; "canGiveFeedback": { "alias": "canGiveFeedback"; "required": false; "isSignal": true; }; }, { "decide": "decide"; }, never, never, true, never>;
|
|
6027
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NhAssistantApprovalCardComponent, "nh-assistant-approval-card", never, { "approval": { "alias": "approval"; "required": true; "isSignal": true; }; "deciding": { "alias": "deciding"; "required": false; "isSignal": true; }; "canDecide": { "alias": "canDecide"; "required": false; "isSignal": true; }; "decisionOwner": { "alias": "decisionOwner"; "required": false; "isSignal": true; }; "waitingFor": { "alias": "waitingFor"; "required": false; "isSignal": true; }; "canGiveFeedback": { "alias": "canGiveFeedback"; "required": false; "isSignal": true; }; }, { "decide": "decide"; "resolve": "resolve"; }, never, never, true, never>;
|
|
6028
|
+
}
|
|
6029
|
+
|
|
6030
|
+
/**
|
|
6031
|
+
* A question the agent asked with `ask_question`: the question with one button per choice for the
|
|
6032
|
+
* person it is addressed to (`canAnswer`), and read-only for everyone else, who sees whom it waits
|
|
6033
|
+
* for. It counts down to the end of its wait. Once answered it marks the chosen answer; an expired or
|
|
6034
|
+
* cancelled question says so. An answer is emitted at most once until the host reports that it is no
|
|
6035
|
+
* longer answering.
|
|
6036
|
+
*/
|
|
6037
|
+
declare class NhAssistantQuestionCardComponent {
|
|
6038
|
+
readonly question: _angular_core.InputSignal<QuestionPart>;
|
|
6039
|
+
/** True when the current user is the addressee and may answer, for example `NhAssistantStore.canAnswer`. */
|
|
6040
|
+
readonly canAnswer: _angular_core.InputSignal<boolean>;
|
|
6041
|
+
/** Name of the person the question is addressed to, shown to everyone else; `null` when unknown. */
|
|
6042
|
+
readonly addresseeName: _angular_core.InputSignal<string | null>;
|
|
6043
|
+
/** True while the host submits an answer; disables the choices. */
|
|
6044
|
+
readonly answering: _angular_core.InputSignal<boolean>;
|
|
6045
|
+
/** The zero-based index of the chosen answer. */
|
|
6046
|
+
readonly answer: _angular_core.OutputEmitterRef<number>;
|
|
6047
|
+
readonly questionId: string;
|
|
6048
|
+
private readonly now;
|
|
6049
|
+
private readonly submitted;
|
|
6050
|
+
readonly remainingMs: _angular_core.Signal<number>;
|
|
6051
|
+
/** A pending question whose wait ended reads as expired before the server says so. */
|
|
6052
|
+
readonly effectiveStatus: _angular_core.Signal<QuestionStatus>;
|
|
6053
|
+
readonly actionable: _angular_core.Signal<boolean>;
|
|
6054
|
+
readonly statusIcon: _angular_core.Signal<NhAssistantIconName>;
|
|
6055
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
6056
|
+
readonly chosen: _angular_core.Signal<number | null>;
|
|
6057
|
+
readonly chosenText: _angular_core.Signal<string | null>;
|
|
6058
|
+
readonly countdown: _angular_core.Signal<string>;
|
|
6059
|
+
constructor();
|
|
6060
|
+
/** Emits the chosen answer once. */
|
|
6061
|
+
choose(index: number): void;
|
|
6062
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NhAssistantQuestionCardComponent, never>;
|
|
6063
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NhAssistantQuestionCardComponent, "nh-assistant-question-card", never, { "question": { "alias": "question"; "required": true; "isSignal": true; }; "canAnswer": { "alias": "canAnswer"; "required": false; "isSignal": true; }; "addresseeName": { "alias": "addresseeName"; "required": false; "isSignal": true; }; "answering": { "alias": "answering"; "required": false; "isSignal": true; }; }, { "answer": "answer"; }, never, never, true, never>;
|
|
5758
6064
|
}
|
|
5759
6065
|
|
|
5760
6066
|
/** What `nh-assistant-proposal-feedback` stored. */
|
|
@@ -6036,6 +6342,61 @@ declare class NhAssistantSubjectBadgeComponent {
|
|
|
6036
6342
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NhAssistantSubjectBadgeComponent, "nh-assistant-subject-badge", never, { "subjectType": { "alias": "subjectType"; "required": true; "isSignal": true; }; "subjectId": { "alias": "subjectId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6037
6343
|
}
|
|
6038
6344
|
|
|
6345
|
+
type DocumentPart = {
|
|
6346
|
+
readonly kind: 'html';
|
|
6347
|
+
readonly html: SafeHtml;
|
|
6348
|
+
} | {
|
|
6349
|
+
readonly kind: 'diagram';
|
|
6350
|
+
readonly language: string;
|
|
6351
|
+
readonly source: string;
|
|
6352
|
+
};
|
|
6353
|
+
/**
|
|
6354
|
+
* Renders an untrusted Markdown document, for example one file of a skill or knowledge bundle,
|
|
6355
|
+
* with the assistant's safety defaults: inline HTML shows as text, images as their alt text, and
|
|
6356
|
+
* a link keeps its address only for a heading of the document, a sibling of the bundle or an
|
|
6357
|
+
* `https:`, `http:` or `mailto:` address; `javascript:`, `data:` and every other scheme show as
|
|
6358
|
+
* text. Relative links resolve from the document's `path` against `siblingPaths`.
|
|
6359
|
+
*
|
|
6360
|
+
* Fenced code blocks of the languages of `diagramRenderer` become diagrams: the application's
|
|
6361
|
+
* renderer draws them, the document sanitizes its SVG and shows it in a shadow root, and a block
|
|
6362
|
+
* it cannot draw shows its source with the reason. Without a renderer they stay code.
|
|
6363
|
+
*
|
|
6364
|
+
* `linkClick` reports every link the reader activates; `headingsChange` the headings once they
|
|
6365
|
+
* are in the page. The texts are `nh-assistant.document.*`, which `provideNhAssistant` merges;
|
|
6366
|
+
* an application without it starts `NhAssistantTranslationMerger` or translates the keys itself.
|
|
6367
|
+
*/
|
|
6368
|
+
declare class NhAssistantDocumentComponent {
|
|
6369
|
+
private readonly markdownRenderer;
|
|
6370
|
+
private readonly sanitizer;
|
|
6371
|
+
private readonly host;
|
|
6372
|
+
private readonly idPrefix;
|
|
6373
|
+
/** The document's Markdown. Treated as untrusted. */
|
|
6374
|
+
readonly markdown: _angular_core.InputSignal<string>;
|
|
6375
|
+
/** The document's own path in its bundle, for example `guides/setup.md`. */
|
|
6376
|
+
readonly path: _angular_core.InputSignal<string | null>;
|
|
6377
|
+
/** The paths of the other documents in the bundle that its links may open. */
|
|
6378
|
+
readonly siblingPaths: _angular_core.InputSignal<readonly string[]>;
|
|
6379
|
+
/** Draws the bundle's diagrams; the application loads its drawing library lazily. */
|
|
6380
|
+
readonly diagramRenderer: _angular_core.InputSignal<NhAssistantDiagramRenderer | null>;
|
|
6381
|
+
/** A link the reader activated; see `NhAssistantDocumentLinkEvent`. */
|
|
6382
|
+
readonly linkClick: _angular_core.OutputEmitterRef<NhAssistantDocumentLinkEvent>;
|
|
6383
|
+
/** The headings, in document order, each time they changed and are in the page. */
|
|
6384
|
+
readonly headingsChange: _angular_core.OutputEmitterRef<readonly NhAssistantDocumentHeading[]>;
|
|
6385
|
+
private readonly rendered;
|
|
6386
|
+
/** The headings of the rendered document. */
|
|
6387
|
+
readonly headings: _angular_core.Signal<readonly NhAssistantDocumentHeading[]>;
|
|
6388
|
+
readonly parts: _angular_core.Signal<readonly DocumentPart[]>;
|
|
6389
|
+
constructor();
|
|
6390
|
+
/**
|
|
6391
|
+
* Scrolls to a heading of the document by its fragment and focuses it; false when the
|
|
6392
|
+
* document has no such heading.
|
|
6393
|
+
*/
|
|
6394
|
+
scrollToHeading(fragment: string): boolean;
|
|
6395
|
+
onClick(event: MouseEvent): void;
|
|
6396
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NhAssistantDocumentComponent, never>;
|
|
6397
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NhAssistantDocumentComponent, "nh-assistant-document", never, { "markdown": { "alias": "markdown"; "required": true; "isSignal": true; }; "path": { "alias": "path"; "required": false; "isSignal": true; }; "siblingPaths": { "alias": "siblingPaths"; "required": false; "isSignal": true; }; "diagramRenderer": { "alias": "diagramRenderer"; "required": false; "isSignal": true; }; }, { "linkClick": "linkClick"; "headingsChange": "headingsChange"; }, never, never, true, never>;
|
|
6398
|
+
}
|
|
6399
|
+
|
|
6039
6400
|
/**
|
|
6040
6401
|
* Translates the first key that has a translation and otherwise returns the fallback text.
|
|
6041
6402
|
* Used for server-provided keys (agent names, error message keys, result codes) that the
|
|
@@ -6203,5 +6564,5 @@ declare class NhAssistantMarkdownPipe implements PipeTransform {
|
|
|
6203
6564
|
*/
|
|
6204
6565
|
declare function nhAssistantMediaTypeOf(file: Pick<File, 'name' | 'type'>, acceptedMediaTypes: readonly string[], mappedExtensions?: readonly AgentUploadExtension[] | null): string;
|
|
6205
6566
|
|
|
6206
|
-
export { NH_ASSISTANT_ACCESS_POLICY, NH_ASSISTANT_AGENT_PACKAGE_FORMAT, NH_ASSISTANT_AGENT_PACKAGE_FORMAT_VERSION, NH_ASSISTANT_AGENT_PACKAGE_MAX_AGENTS, NH_ASSISTANT_AGENT_PACKAGE_MAX_BYTES, NH_ASSISTANT_CONFIG, NH_ASSISTANT_CONVERSATION_FRAGMENT, NH_ASSISTANT_ERROR_CODES, NH_ASSISTANT_FEEDBACK_CATEGORIES, NH_ASSISTANT_FEEDBACK_GROUPS, NH_ASSISTANT_FETCH, NH_ASSISTANT_ICONS, NH_ASSISTANT_JOIN_FRAGMENT, NH_ASSISTANT_MAX_BULK_FEEDBACK, NH_ASSISTANT_MAX_CUSTOM_INSTRUCTIONS, NH_ASSISTANT_MAX_FEEDBACK_TEXT, NH_ASSISTANT_MAX_PROPOSAL_LOOKUP, NH_ASSISTANT_MAX_SUBJECT_SUMMARY, NH_ASSISTANT_MCP_AUTHORIZATION_MESSAGE, NH_ASSISTANT_MCP_AUTHORIZATION_WINDOW, NH_ASSISTANT_MESSAGE_QUEUED_NOTICE_CODE, NH_ASSISTANT_NO_ANSWER_NOTICE_CODE, NH_ASSISTANT_PACKAGE_LOCK_ALL, NH_ASSISTANT_PACKAGE_LOCK_FIELDS, NH_ASSISTANT_PAGE_CONTEXT_LIMITS, NH_ASSISTANT_PANEL_MOBILE_QUERY, NH_ASSISTANT_PANEL_WIDTH, NH_ASSISTANT_RESULT_PREVIEW_LENGTH, NH_ASSISTANT_RUN_FRAGMENT, NH_ASSISTANT_RUN_HISTORY_MAX_PAGE, NH_ASSISTANT_RUN_RESULT_MAX_LENGTH, NH_ASSISTANT_SERVER_ERROR_CODES, NH_ASSISTANT_SSE_EVENT_TYPES, NH_ASSISTANT_SUBJECT_SEARCH, NH_ASSISTANT_SYSTEM_GLOBAL_ID, NH_ASSISTANT_SYSTEM_SUBJECT_TYPE, NH_ASSISTANT_TRANSLATIONS, NH_ASSISTANT_UPLOAD, NH_ASSISTANT_UPLOAD_HEADER, NH_ASSISTANT_VIRTUAL_SCROLL_THRESHOLD, NhAssistantActivityComponent, NhAssistantAdminApiService, NhAssistantAgentPickerComponent, NhAssistantAgentRunApiService, NhAssistantAllowAllAccessPolicy, NhAssistantApiError, NhAssistantApiService, NhAssistantApprovalCardComponent, NhAssistantClientErrorCodes, NhAssistantComposerComponent, NhAssistantConnectionRequiredComponent, NhAssistantConversationListComponent, NhAssistantLauncherComponent, NhAssistantLiveService, NhAssistantMcpConnectService, NhAssistantMcpConnectionsComponent, NhAssistantMcpPopupAuthorizationWindow, NhAssistantPanelComponent, NhAssistantPanelService, NhAssistantPreferencesComponent, NhAssistantProposalFeedbackComponent, NhAssistantPushService, NhAssistantShareComponent, NhAssistantSseParser, NhAssistantStore, NhAssistantSubjectBadgeComponent, NhAssistantSubjectSummaryService, NhAssistantThreadComponent, NhAssistantToolCallCardComponent, NhAssistantToolCallGroupComponent, NhAssistantTranslationMerger, applyNhAssistantApprovalDecision, applyNhAssistantConversationChange, applyNhAssistantEvent, applyNhAssistantLiveEvent, describeNhAssistantClientContext, formatNhAssistantCountdown, nhAssistantCodeForStatus, nhAssistantConnectMcp, nhAssistantErrorMessageKey, nhAssistantIsUnread, nhAssistantLatestTurnHasText, nhAssistantMcpAuthorizationFromFragment, nhAssistantShareLink, nhAssistantXhrUpload, normalizeNhAssistantClientContext, provideNhAssistant, toNhAssistantError, NH_ASSISTANT_DASH_CASE as ɵNH_ASSISTANT_DASH_CASE, NhAssistantIconComponent as ɵNhAssistantIconComponent, NhAssistantMarkdownPipe as ɵNhAssistantMarkdownPipe, NhAssistantPickerComponent as ɵNhAssistantPickerComponent, NhAssistantSubjectLinkComponent as ɵNhAssistantSubjectLinkComponent, NhAssistantTranslatePipe as ɵNhAssistantTranslatePipe, nhAssistantCodeKeys as ɵnhAssistantCodeKeys, nhAssistantErrorKeys as ɵnhAssistantErrorKeys, nhAssistantErrorOf as ɵnhAssistantErrorOf, nhAssistantMediaTypeOf as ɵnhAssistantMediaTypeOf, nhAssistantReloadOnAgentWork as ɵnhAssistantReloadOnAgentWork, nhAssistantWatchAgentWork as ɵnhAssistantWatchAgentWork, toNhAssistantError as ɵtoNhAssistantError };
|
|
6207
|
-
export type { AdminAgent, AdminAgentGroups, AdminAgentInput, AgentAccountability, AgentArtifact, AgentBoard, AgentBoardAgent, AgentBoardList, AgentBoardSubjectType, AgentBoardSummary, AgentBoardVisit, AgentBoardWorksOn, AgentConsultation, AgentConsultationList, AgentConsultationRouteState, AgentConsultationRouteSwitch, AgentConsultationRoutesState, AgentConsultationStatus, AgentDecisionOutcome, AgentElevatedReads, AgentEvaluation, AgentEvaluationCost, AgentEvaluationDecisions, AgentEvaluationDifference, AgentEvaluationFilter, AgentEvaluationRouting, AgentEvaluationRuns, AgentEvaluationTool, AgentExecutionResolution, AgentFeedbackCategoryCount, AgentFeedbackExportFilter, AgentFeedbackFilter, AgentFeedbackItem, AgentFeedbackList, AgentFeedbackListFilter, AgentFeedbackOutcome, AgentFeedbackSummary, AgentFeedbackSummaryRow, AgentGrantSource, AgentGroup, AgentHandOffs, AgentInbox, AgentInboxFilter, AgentInboxGroup, AgentInboxSubjectGroup, AgentInboxVisit, AgentInvalidationCount, AgentLatestRun, AgentMetadata, AgentMetadataEntry, AgentMetadataRequest, AgentMetadataSource, AgentObjectAgent, AgentObjectAgents, AgentPackage, AgentPackageExport, AgentPackageExportOptions, AgentPackageExportRequest, AgentPackageImport, AgentPackageImportOptions, AgentPackageImportRequest, AgentPackageInfo, AgentPackageLink, AgentPackagePart, AgentPackagePartKind, AgentPackagePartOutcome, AgentPackagePreview, AgentPackageUnlink, AgentPackageUnlinkRequest, AgentPackageWarning, AgentPackageWarningCode, AgentProposal, AgentProposalDecision, AgentProposalDecisionRight, AgentProposalFeedback, AgentProposalFeedbackCategory, AgentProposalFeedbackGroup, AgentProposalLookup, AgentProposalObject, AgentProposalOrigin, AgentProposalParent, AgentProposalStatus, AgentReplay, AgentReplayList, AgentReplayRequest, AgentRun, AgentRunConfiguration, AgentRunFilter, AgentRunHistory, AgentRunHistoryItem, AgentRunKind, AgentRunList, AgentRunMcpSkip, AgentRunResult, AgentRunRetryMode, AgentRunSettings, AgentRunSettingsRequest, AgentRunState, AgentRunStatus, AgentServiceAccountState, AgentShadowMode, AgentShadowState, AgentShadowVariants, AgentSkillChooser, AgentSkillState, AgentState, AgentSubjectRole, AgentSubjectSearch, AgentSubjectSearchResult, AgentSubjectSummary, AgentSubjectSummaryList, AgentSubjectType, AgentSubjectWork, AgentSubjectWorkAgent, AgentSubjectWorkProposal, AgentSummary, AgentThread, AgentThreadLookup, AgentThreadMemory, AgentTriggerOutcome, AgentTriggerReceipt, AgentUploadExtension, AgentUploads, ApplicationContext, ApplicationContextVersion, ApplicationMessageDetails, ApplicationMessageLink, ApprovalConsultation, ApprovalDecision, ApprovalPart, ApprovalPolicySummary, ApprovalPresentation, ApprovalPresentationField, ApprovalRequiredEvent, ApprovalStatus, ApproverSummary, AssistantAccount, AssistantAddressForm, AssistantAutonomy, AssistantCollaboration, AssistantConfigurationWarning, AssistantDataClassification, AssistantErrorEvent, AssistantPreferences, AssistantResponseLength, AssistantStatus, AssistantStyle, ClientContext, ClientContextEntity, CodeConsultation, CodeHandOff, CodeRunSettings, CodeSkill, CodeTrigger, ConnectionRequiredEvent, ConnectionRequiredPart, ConnectionRequiredReason, ConsultationCeiling, ConsultationExposure, ConsultationSubjectRole, Conversation, ConversationKind, ConversationMember, ConversationPage, ConversationRole, ConversationStatus, ConversationSummary, ConversationThread, ConversationThreadDecision, CreateConversationRequest, DataConsultation, DataConsultationRequest, DataConsultationState, DataConsultationStateRequest, DataHandOff, DataHandOffRequest, DataSkill, DataSkillRequest, DataSkillVersion, DataSkillVersionStatus, DataTrigger, DataTriggerRequest, DataTriggerShadowRequest, DataTriggerVersion, DecideApprovalRequest, DirectoryEntry, FileLimits, FilePart, FileReference, HandOffAllowance, HandOffCeiling, InstructionAssetList, InstructionAssetProblem, InstructionAssetReference, InstructionAssetSummary, InstructionAssetText, LiveAgentWorkChanged, LiveAgentWorkReason, LiveAgentWorkWatch, LiveConversationChanged, LiveConversationEvent, LiveConversationRead, LiveConversationRemoved, LowerFileLimits, McpAuthMode, McpAuthorization, McpAuthorizationStart, McpAuthorizeRequest, McpBuiltInAuthMode, McpCompleteRequest, McpCompletion, McpConnection, McpConnectionScope, McpConnectionStatus, McpConnectionsSummary, McpCustomAuthMode, McpDiscoverRequest, McpDiscovery, McpHeadlessUse, McpOAuthInput, McpOAuthSettings, McpOrganizationConnection, McpReader, McpReaderInput, McpServer, McpServerInput, McpServerTestResult, McpTool, McpToolEffect, McpToolStatus, McpTransport, Message, MessageAuthorKind, MessageDeltaEvent, MessagePart, MessageQueuedEvent, NhAssistantAccessPolicy, NhAssistantActivity, NhAssistantApprovalChoice, NhAssistantApprovalRight, NhAssistantApprovalWaitingFor, NhAssistantAttachment, NhAssistantClientContext, NhAssistantClientErrorCode, NhAssistantConfig, NhAssistantConsultationLeaveRoute, NhAssistantConsultationRoute, NhAssistantError, NhAssistantFetch, NhAssistantIconName, NhAssistantLiveState, NhAssistantMcpAuthorizationHandle, NhAssistantMcpAuthorizationOutcome, NhAssistantMcpAuthorizationWindow, NhAssistantMcpReturnOutcome, NhAssistantMessageEvent, NhAssistantNotice, NhAssistantProposalFeedbackSaved, NhAssistantPushConfig, NhAssistantPushState, NhAssistantQueuedMessage, NhAssistantRawSseMessage, NhAssistantSseEvent, NhAssistantSseEventMap, NhAssistantSseEventType, NhAssistantStatusCodes, NhAssistantSubjectLinkBuilder, NhAssistantSubjectRef, NhAssistantToolCallGroupState, NhAssistantUpload, NhAssistantUploadEvent, NhAssistantUploadRequest, NotificationSettings, PackageAgent, PackageAgentDefinition, PackageConsultation, PackageHandOff, PackagePartLink, PackagePartReference, PackageRunSettings, PackageSkill, PackageTrigger, PushSubscriptionRequest, RunBlock, RunCatalog, RunConfigurationProblem, RunConfigurationProblemKind, RunConfigurationRemoval, SendMessageRequest, SetAgentConsultationRoutesRequest, SetAgentServiceAccountRequest, SetAgentShadowRequest, SetAgentStateRequest, ShadowVariant, ShareLink, SkillApplyMode, SkillCandidateRequest, SkillComparison, SkillComparisonFilter, SkillComparisonTool, SkillVersionStats, StaleKind, StartAgentRequest, TextPart, ToolCallPart, ToolCallStatus, ToolCatalogEffect, ToolCatalogEntry, ToolCompletedEvent, ToolStartedEvent, TriggerCandidateRequest, TriggerComparison, TriggerConflict, TurnCompletedEvent, TurnCompletionStatus, TurnStartedEvent, TurnUsage, UpdateAdminAgentRequest, UpdateApplicationContextRequest, UpdateMcpConnectionRequest, UpdateMcpToolRequest, NhAssistantPickerOption as ɵNhAssistantPickerOption };
|
|
6567
|
+
export { NH_ASSISTANT_ACCESS_POLICY, NH_ASSISTANT_AGENT_PACKAGE_FORMAT, NH_ASSISTANT_AGENT_PACKAGE_FORMAT_VERSION, NH_ASSISTANT_AGENT_PACKAGE_MAX_AGENTS, NH_ASSISTANT_AGENT_PACKAGE_MAX_BYTES, NH_ASSISTANT_CONFIG, NH_ASSISTANT_CONVERSATION_FRAGMENT, NH_ASSISTANT_ERROR_CODES, NH_ASSISTANT_FEEDBACK_CATEGORIES, NH_ASSISTANT_FEEDBACK_GROUPS, NH_ASSISTANT_FETCH, NH_ASSISTANT_ICONS, NH_ASSISTANT_JOIN_FRAGMENT, NH_ASSISTANT_MAX_BULK_FEEDBACK, NH_ASSISTANT_MAX_CUSTOM_INSTRUCTIONS, NH_ASSISTANT_MAX_FEEDBACK_TEXT, NH_ASSISTANT_MAX_PROPOSAL_LOOKUP, NH_ASSISTANT_MAX_SUBJECT_SUMMARY, NH_ASSISTANT_MCP_AUTHORIZATION_MESSAGE, NH_ASSISTANT_MCP_AUTHORIZATION_WINDOW, NH_ASSISTANT_MESSAGE_QUEUED_NOTICE_CODE, NH_ASSISTANT_NO_ANSWER_NOTICE_CODE, NH_ASSISTANT_PACKAGE_LOCK_ALL, NH_ASSISTANT_PACKAGE_LOCK_FIELDS, NH_ASSISTANT_PAGE_CONTEXT_LIMITS, NH_ASSISTANT_PANEL_MOBILE_QUERY, NH_ASSISTANT_PANEL_WIDTH, NH_ASSISTANT_RESULT_PREVIEW_LENGTH, NH_ASSISTANT_RUN_FRAGMENT, NH_ASSISTANT_RUN_HISTORY_MAX_PAGE, NH_ASSISTANT_RUN_RESULT_MAX_LENGTH, NH_ASSISTANT_SERVER_ERROR_CODES, NH_ASSISTANT_SSE_EVENT_TYPES, NH_ASSISTANT_SUBJECT_SEARCH, NH_ASSISTANT_SYSTEM_GLOBAL_ID, NH_ASSISTANT_SYSTEM_SUBJECT_TYPE, NH_ASSISTANT_TRANSLATIONS, NH_ASSISTANT_UPLOAD, NH_ASSISTANT_UPLOAD_HEADER, NH_ASSISTANT_VIRTUAL_SCROLL_THRESHOLD, NhAssistantActivityComponent, NhAssistantAdminApiService, NhAssistantAgentPickerComponent, NhAssistantAgentRunApiService, NhAssistantAllowAllAccessPolicy, NhAssistantApiError, NhAssistantApiService, NhAssistantApprovalCardComponent, NhAssistantClientErrorCodes, NhAssistantComposerComponent, NhAssistantConnectionRequiredComponent, NhAssistantConversationListComponent, NhAssistantDocumentComponent, NhAssistantLauncherComponent, NhAssistantLiveService, NhAssistantMcpConnectService, NhAssistantMcpConnectionsComponent, NhAssistantMcpPopupAuthorizationWindow, NhAssistantPanelComponent, NhAssistantPanelService, NhAssistantPreferencesComponent, NhAssistantProposalFeedbackComponent, NhAssistantPushService, NhAssistantQuestionCardComponent, NhAssistantShareComponent, NhAssistantSseParser, NhAssistantStore, NhAssistantSubjectBadgeComponent, NhAssistantSubjectSummaryService, NhAssistantThreadComponent, NhAssistantToolCallCardComponent, NhAssistantToolCallGroupComponent, NhAssistantTranslationMerger, applyNhAssistantApprovalDecision, applyNhAssistantConversationChange, applyNhAssistantEvent, applyNhAssistantLiveEvent, applyNhAssistantQuestionAnswer, describeNhAssistantClientContext, formatNhAssistantCountdown, nhAssistantCodeForStatus, nhAssistantConnectMcp, nhAssistantErrorMessageKey, nhAssistantIsUnread, nhAssistantLatestTurnHasText, nhAssistantMcpAuthorizationFromFragment, nhAssistantShareLink, nhAssistantXhrUpload, normalizeNhAssistantClientContext, provideNhAssistant, toNhAssistantError, NH_ASSISTANT_DASH_CASE as ɵNH_ASSISTANT_DASH_CASE, NhAssistantIconComponent as ɵNhAssistantIconComponent, NhAssistantMarkdownPipe as ɵNhAssistantMarkdownPipe, NhAssistantPickerComponent as ɵNhAssistantPickerComponent, NhAssistantSubjectLinkComponent as ɵNhAssistantSubjectLinkComponent, NhAssistantTranslatePipe as ɵNhAssistantTranslatePipe, nhAssistantCodeKeys as ɵnhAssistantCodeKeys, nhAssistantErrorKeys as ɵnhAssistantErrorKeys, nhAssistantErrorOf as ɵnhAssistantErrorOf, nhAssistantMediaTypeOf as ɵnhAssistantMediaTypeOf, nhAssistantReloadOnAgentWork as ɵnhAssistantReloadOnAgentWork, nhAssistantWatchAgentWork as ɵnhAssistantWatchAgentWork, toNhAssistantError as ɵtoNhAssistantError };
|
|
6568
|
+
export type { AdminAgent, AdminAgentGroups, AdminAgentInput, AgentAccountability, AgentArtifact, AgentBoard, AgentBoardAgent, AgentBoardList, AgentBoardSubjectType, AgentBoardSummary, AgentBoardVisit, AgentBoardWorksOn, AgentConsultation, AgentConsultationList, AgentConsultationRouteState, AgentConsultationRouteSwitch, AgentConsultationRoutesState, AgentConsultationStatus, AgentDecisionOutcome, AgentElevatedReads, AgentEvaluation, AgentEvaluationCost, AgentEvaluationDecisions, AgentEvaluationDifference, AgentEvaluationFilter, AgentEvaluationRouting, AgentEvaluationRuns, AgentEvaluationTool, AgentExecutionResolution, AgentFeedbackCategoryCount, AgentFeedbackExportFilter, AgentFeedbackFilter, AgentFeedbackItem, AgentFeedbackList, AgentFeedbackListFilter, AgentFeedbackOutcome, AgentFeedbackSummary, AgentFeedbackSummaryRow, AgentGrantSource, AgentGroup, AgentHandOffs, AgentInbox, AgentInboxFilter, AgentInboxGroup, AgentInboxStatus, AgentInboxSubjectGroup, AgentInboxVisit, AgentInvalidationCount, AgentLatestRun, AgentMetadata, AgentMetadataEntry, AgentMetadataRequest, AgentMetadataSource, AgentObjectAgent, AgentObjectAgents, AgentPackage, AgentPackageExport, AgentPackageExportOptions, AgentPackageExportRequest, AgentPackageImport, AgentPackageImportOptions, AgentPackageImportRequest, AgentPackageInfo, AgentPackageLink, AgentPackagePart, AgentPackagePartKind, AgentPackagePartOutcome, AgentPackagePreview, AgentPackageUnlink, AgentPackageUnlinkRequest, AgentPackageWarning, AgentPackageWarningCode, AgentProposal, AgentProposalDecision, AgentProposalDecisionRight, AgentProposalFeedback, AgentProposalFeedbackCategory, AgentProposalFeedbackGroup, AgentProposalLookup, AgentProposalObject, AgentProposalOrigin, AgentProposalParent, AgentProposalStatus, AgentReplay, AgentReplayList, AgentReplayRequest, AgentRun, AgentRunConfiguration, AgentRunFilter, AgentRunHistory, AgentRunHistoryItem, AgentRunKind, AgentRunList, AgentRunMcpSkip, AgentRunResult, AgentRunRetryMode, AgentRunSettings, AgentRunSettingsRequest, AgentRunState, AgentRunStatus, AgentServiceAccountState, AgentShadowMode, AgentShadowState, AgentShadowVariants, AgentSkillChooser, AgentSkillState, AgentState, AgentSubjectRole, AgentSubjectSearch, AgentSubjectSearchResult, AgentSubjectSummary, AgentSubjectSummaryList, AgentSubjectType, AgentSubjectWork, AgentSubjectWorkAgent, AgentSubjectWorkProposal, AgentSummary, AgentThread, AgentThreadLookup, AgentThreadMemory, AgentTriggerOutcome, AgentTriggerReceipt, AgentUploadExtension, AgentUploads, AnswerQuestionRequest, ApplicationContext, ApplicationContextVersion, ApplicationMessageDetails, ApplicationMessageLink, ApprovalConsultation, ApprovalDecision, ApprovalPart, ApprovalPolicySummary, ApprovalPresentation, ApprovalPresentationField, ApprovalRequiredEvent, ApprovalResolution, ApprovalStatus, ApproverSummary, AssistantAccount, AssistantAddressForm, AssistantAutonomy, AssistantCollaboration, AssistantConfigurationWarning, AssistantDataClassification, AssistantErrorEvent, AssistantPreferences, AssistantResponseLength, AssistantStatus, AssistantStyle, ClientContext, ClientContextEntity, CodeConsultation, CodeHandOff, CodeRunSettings, CodeSkill, CodeTrigger, ConnectionRequiredEvent, ConnectionRequiredPart, ConnectionRequiredReason, ConsultationCeiling, ConsultationExposure, ConsultationSubjectRole, Conversation, ConversationKind, ConversationMember, ConversationPage, ConversationRole, ConversationStatus, ConversationSummary, ConversationThread, ConversationThreadDecision, CreateConversationRequest, DataConsultation, DataConsultationRequest, DataConsultationState, DataConsultationStateRequest, DataHandOff, DataHandOffRequest, DataSkill, DataSkillRequest, DataSkillVersion, DataSkillVersionStatus, DataTrigger, DataTriggerRequest, DataTriggerShadowRequest, DataTriggerVersion, DecideApprovalRequest, DirectoryEntry, FileLimits, FilePart, FileReference, HandOffAllowance, HandOffCeiling, InstructionAssetList, InstructionAssetProblem, InstructionAssetReference, InstructionAssetSummary, InstructionAssetText, LiveAgentWorkChanged, LiveAgentWorkReason, LiveAgentWorkWatch, LiveConversationChanged, LiveConversationEvent, LiveConversationRead, LiveConversationRemoved, LowerFileLimits, McpAuthMode, McpAuthorization, McpAuthorizationStart, McpAuthorizeRequest, McpBuiltInAuthMode, McpCompleteRequest, McpCompletion, McpConnection, McpConnectionScope, McpConnectionStatus, McpConnectionsSummary, McpCustomAuthMode, McpDiscoverRequest, McpDiscovery, McpHeadlessUse, McpOAuthInput, McpOAuthSettings, McpOrganizationConnection, McpReader, McpReaderInput, McpServer, McpServerInput, McpServerTestResult, McpTool, McpToolEffect, McpToolStatus, McpTransport, Message, MessageAuthorKind, MessageDeltaEvent, MessagePart, MessageQueuedEvent, NhAssistantAccessPolicy, NhAssistantActivity, NhAssistantApprovalChoice, NhAssistantApprovalResolutionChoice, NhAssistantApprovalRight, NhAssistantApprovalWaitingFor, NhAssistantAttachment, NhAssistantClientContext, NhAssistantClientErrorCode, NhAssistantConfig, NhAssistantConsultationLeaveRoute, NhAssistantConsultationRoute, NhAssistantDiagramRenderer, NhAssistantDocumentHeading, NhAssistantDocumentLinkEvent, NhAssistantDocumentLinkKind, NhAssistantError, NhAssistantFetch, NhAssistantIconName, NhAssistantLiveState, NhAssistantMcpAuthorizationHandle, NhAssistantMcpAuthorizationOutcome, NhAssistantMcpAuthorizationWindow, NhAssistantMcpReturnOutcome, NhAssistantMessageEvent, NhAssistantNotice, NhAssistantProposalFeedbackSaved, NhAssistantPushConfig, NhAssistantPushState, NhAssistantQuestionAnswer, NhAssistantQueuedMessage, NhAssistantRawSseMessage, NhAssistantSseEvent, NhAssistantSseEventMap, NhAssistantSseEventType, NhAssistantStatusCodes, NhAssistantSubjectLinkBuilder, NhAssistantSubjectRef, NhAssistantToolCallGroupState, NhAssistantUpload, NhAssistantUploadEvent, NhAssistantUploadRequest, NotificationSettings, PackageAgent, PackageAgentDefinition, PackageConsultation, PackageHandOff, PackagePartLink, PackagePartReference, PackageRunSettings, PackageSkill, PackageTrigger, PushSubscriptionRequest, QuestionAnsweredEvent, QuestionAskedEvent, QuestionPart, QuestionStatus, ResolveApprovalRequest, RunBlock, RunCatalog, RunConfigurationProblem, RunConfigurationProblemKind, RunConfigurationRemoval, SendMessageRequest, SetAgentConsultationRoutesRequest, SetAgentServiceAccountRequest, SetAgentShadowRequest, SetAgentStateRequest, ShadowVariant, ShadowVariantPromotion, ShadowVariantPromotionRequest, ShareLink, SkillApplyMode, SkillCandidateRequest, SkillComparison, SkillComparisonFilter, SkillComparisonTool, SkillVersionStats, StaleKind, StartAgentRequest, TextPart, ToolCallPart, ToolCallStatus, ToolCatalogEffect, ToolCatalogEntry, ToolCompletedEvent, ToolStartedEvent, TriggerCandidateRequest, TriggerComparison, TriggerConflict, TurnCompletedEvent, TurnCompletionStatus, TurnStartedEvent, TurnUsage, UpdateAdminAgentRequest, UpdateApplicationContextRequest, UpdateMcpConnectionRequest, UpdateMcpToolRequest, NhAssistantPickerOption as ɵNhAssistantPickerOption };
|