@newheap/platform-ai-chat 0.9.0 → 0.10.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/i18n/en.json CHANGED
@@ -68,7 +68,8 @@
68
68
  "loading": "Loading conversation",
69
69
  "elapsed": "{{seconds}}s",
70
70
  "participant": "Participant",
71
- "trigger": "Event"
71
+ "trigger": "Event",
72
+ "rule": "Automatic rule"
72
73
  },
73
74
  "composer": {
74
75
  "label": "Message",
@@ -169,7 +170,14 @@
169
170
  "waiting-for-participant": "Waiting for the participant who started this task to decide.",
170
171
  "waiting-for-approver": "Waiting for an approver to decide.",
171
172
  "waiting-for-other-approver": "You started this work, so another approver decides.",
172
- "give-feedback": "What was wrong?"
173
+ "give-feedback": "What was wrong?",
174
+ "stale-kind": {
175
+ "already-done": "Already done",
176
+ "changed": "Changed",
177
+ "not-applicable": "No longer needed"
178
+ },
179
+ "rationale": "Why: {{rationale}}",
180
+ "superseded": "Replaced by a newer proposal"
173
181
  },
174
182
  "proposal-feedback": {
175
183
  "legend": "What was wrong? (optional)",
@@ -220,8 +228,10 @@
220
228
  "assistant-proposal-rejected": "Not run: the proposal was rejected.",
221
229
  "assistant-proposal-expired": "Not run: nobody decided before the proposal expired.",
222
230
  "assistant-proposal-withdrawn": "Not run: the proposal was withdrawn.",
223
- "assistant-proposal-stale": "Not run: the subject changed since the proposal.",
224
- "assistant-proposal-execution-failed": "The approved proposal could not be run."
231
+ "assistant-proposal-stale": "Not run: the proposal no longer applied.",
232
+ "assistant-proposal-execution-failed": "The approved proposal could not be run.",
233
+ "assistant-proposal-already-open": "Not proposed again: the same proposal already waits.",
234
+ "assistant-proposal-recently-rejected": "Not proposed again: people rejected it recently."
225
235
  },
226
236
  "errors": {
227
237
  "generic": "Something went wrong. Please try again.",
@@ -292,7 +302,12 @@
292
302
  "assistant-approval-policy-denied": "You may not decide this proposal.",
293
303
  "assistant-four-eyes-required": "Someone other than the person who started this must decide it.",
294
304
  "assistant-execution-not-uncertain": "This execution is not waiting to be resolved.",
295
- "assistant-proposal-stale": "The subject changed since this proposal; it was not executed.",
305
+ "assistant-proposal-stale": "This proposal no longer applies, for example because the work was already done. Nothing was changed.",
306
+ "assistant-proposal-check-failed": "Whether this proposal still applies could not be checked, so nothing was changed. Try again later.",
307
+ "assistant-proposal-already-open": "The same proposal already waits for a decision.",
308
+ "assistant-proposal-recently-rejected": "People rejected the same proposal recently.",
309
+ "assistant-proposal-superseded": "A newer proposal replaced this one.",
310
+ "assistant-proposal-refused": "This action cannot be proposed by an automatic rule.",
296
311
  "assistant-trigger-not-found": "The trigger was not found.",
297
312
  "assistant-webhook-signature-invalid": "The webhook call has no valid signature.",
298
313
  "assistant-webhook-payload-invalid": "The webhook call could not be read.",
@@ -571,6 +586,7 @@
571
586
  "expired": "Expired",
572
587
  "rejection-rate": "Rejection rate",
573
588
  "with-feedback": "Rejected with feedback",
589
+ "invalidated": "No longer needed",
574
590
  "people": "People",
575
591
  "categories": "Top categories"
576
592
  },
@@ -578,6 +594,7 @@
578
594
  "consultations": "Consultations",
579
595
  "no-decisions": "Not decided yet",
580
596
  "no-categories": "None",
597
+ "invalidated-hint": "Open proposals that closed before anyone decided, because the work was already done or no longer applied. They do not count as rejected.",
581
598
  "list-title": "Feedback",
582
599
  "list-count": "{{count}} in total",
583
600
  "list-empty": "Nobody gave feedback in this period.",
@@ -732,7 +749,12 @@
732
749
  "give-feedback": "Give feedback",
733
750
  "change-feedback": "Change feedback",
734
751
  "your-feedback": "Your feedback: {{category}}",
735
- "rejected-one": "You rejected: {{summary}}"
752
+ "rejected-one": "You rejected: {{summary}}",
753
+ "closed": "Closed in the meantime",
754
+ "dismiss": "Dismiss",
755
+ "dismiss-label": "Dismiss the closed proposal: {{summary}}",
756
+ "show-successor": "Show the newer proposal",
757
+ "stale-by": "Overtaken by {{actor}}"
736
758
  },
737
759
  "run": {
738
760
  "empty": "No runs yet.",
@@ -745,6 +767,10 @@
745
767
  "cancelled": "Cancelled"
746
768
  },
747
769
  "shadow": "Shadow",
770
+ "kind": {
771
+ "rule": "Automatic rule",
772
+ "rule-then-model": "Rule, then the model"
773
+ },
748
774
  "trigger": "Trigger: {{trigger}}",
749
775
  "tool-calls": "{{count}} tool calls",
750
776
  "tokens": "{{count}} tokens",
package/i18n/nl.json CHANGED
@@ -68,7 +68,8 @@
68
68
  "loading": "Gesprek laden",
69
69
  "elapsed": "{{seconds}} s",
70
70
  "participant": "Deelnemer",
71
- "trigger": "Gebeurtenis"
71
+ "trigger": "Gebeurtenis",
72
+ "rule": "Automatische regel"
72
73
  },
73
74
  "composer": {
74
75
  "label": "Bericht",
@@ -169,7 +170,14 @@
169
170
  "waiting-for-participant": "Wacht op de beslissing van de deelnemer die deze taak startte.",
170
171
  "waiting-for-approver": "Wacht tot een beslisser hierover beslist.",
171
172
  "waiting-for-other-approver": "Jij startte dit werk, dus een andere beslisser beslist hierover.",
172
- "give-feedback": "Wat klopte er niet?"
173
+ "give-feedback": "Wat klopte er niet?",
174
+ "stale-kind": {
175
+ "already-done": "Al gedaan",
176
+ "changed": "Gewijzigd",
177
+ "not-applicable": "Niet meer nodig"
178
+ },
179
+ "rationale": "Waarom: {{rationale}}",
180
+ "superseded": "Vervangen door een nieuwer voorstel"
173
181
  },
174
182
  "proposal-feedback": {
175
183
  "legend": "Wat klopte er niet? (optioneel)",
@@ -220,8 +228,10 @@
220
228
  "assistant-proposal-rejected": "Niet uitgevoerd: het voorstel is afgewezen.",
221
229
  "assistant-proposal-expired": "Niet uitgevoerd: niemand besliste voordat het voorstel verliep.",
222
230
  "assistant-proposal-withdrawn": "Niet uitgevoerd: het voorstel is ingetrokken.",
223
- "assistant-proposal-stale": "Niet uitgevoerd: het onderwerp is sinds het voorstel gewijzigd.",
224
- "assistant-proposal-execution-failed": "Het goedgekeurde voorstel kon niet worden uitgevoerd."
231
+ "assistant-proposal-stale": "Niet uitgevoerd: het voorstel was niet meer van toepassing.",
232
+ "assistant-proposal-execution-failed": "Het goedgekeurde voorstel kon niet worden uitgevoerd.",
233
+ "assistant-proposal-already-open": "Niet opnieuw voorgesteld: hetzelfde voorstel wacht al.",
234
+ "assistant-proposal-recently-rejected": "Niet opnieuw voorgesteld: het is kort geleden afgewezen."
225
235
  },
226
236
  "errors": {
227
237
  "generic": "Er ging iets mis. Probeer het opnieuw.",
@@ -292,7 +302,12 @@
292
302
  "assistant-approval-policy-denied": "Je mag over dit voorstel niet beslissen.",
293
303
  "assistant-four-eyes-required": "Iemand anders dan de starter moet hierover beslissen.",
294
304
  "assistant-execution-not-uncertain": "Deze uitvoering wacht niet op afhandeling.",
295
- "assistant-proposal-stale": "Het onderwerp is sinds dit voorstel gewijzigd; het is niet uitgevoerd.",
305
+ "assistant-proposal-stale": "Dit voorstel is niet meer van toepassing, bijvoorbeeld omdat het werk al gedaan is. Er is niets gewijzigd.",
306
+ "assistant-proposal-check-failed": "Kon niet controleren of dit voorstel nog van toepassing is, dus er is niets gewijzigd. Probeer het later opnieuw.",
307
+ "assistant-proposal-already-open": "Hetzelfde voorstel wacht al op een besluit.",
308
+ "assistant-proposal-recently-rejected": "Hetzelfde voorstel is kort geleden afgewezen.",
309
+ "assistant-proposal-superseded": "Een nieuwer voorstel heeft dit voorstel vervangen.",
310
+ "assistant-proposal-refused": "Deze actie kan niet door een automatische regel worden voorgesteld.",
296
311
  "assistant-trigger-not-found": "De trigger is niet gevonden.",
297
312
  "assistant-webhook-signature-invalid": "De webhook-aanroep heeft geen geldige handtekening.",
298
313
  "assistant-webhook-payload-invalid": "De webhook-aanroep kon niet worden gelezen.",
@@ -571,6 +586,7 @@
571
586
  "expired": "Verlopen",
572
587
  "rejection-rate": "Afwijzingspercentage",
573
588
  "with-feedback": "Afgewezen met feedback",
589
+ "invalidated": "Niet meer nodig",
574
590
  "people": "Personen",
575
591
  "categories": "Meest gekozen"
576
592
  },
@@ -578,6 +594,7 @@
578
594
  "consultations": "Raadplegingen",
579
595
  "no-decisions": "Nog niet beslist",
580
596
  "no-categories": "Geen",
597
+ "invalidated-hint": "Open voorstellen die sloten voordat iemand besliste, omdat het werk al gedaan was of niet meer van toepassing was. Ze tellen niet als afgewezen.",
581
598
  "list-title": "Feedback",
582
599
  "list-count": "{{count}} in totaal",
583
600
  "list-empty": "Niemand gaf in deze periode feedback.",
@@ -732,7 +749,12 @@
732
749
  "give-feedback": "Feedback geven",
733
750
  "change-feedback": "Feedback wijzigen",
734
751
  "your-feedback": "Jouw feedback: {{category}}",
735
- "rejected-one": "Je hebt afgewezen: {{summary}}"
752
+ "rejected-one": "Je hebt afgewezen: {{summary}}",
753
+ "closed": "Intussen gesloten",
754
+ "dismiss": "Wegklikken",
755
+ "dismiss-label": "Gesloten voorstel wegklikken: {{summary}}",
756
+ "show-successor": "Toon het nieuwere voorstel",
757
+ "stale-by": "Ingehaald door {{actor}}"
736
758
  },
737
759
  "run": {
738
760
  "empty": "Nog geen runs.",
@@ -745,6 +767,10 @@
745
767
  "cancelled": "Geannuleerd"
746
768
  },
747
769
  "shadow": "Schaduw",
770
+ "kind": {
771
+ "rule": "Automatische regel",
772
+ "rule-then-model": "Regel, daarna het model"
773
+ },
748
774
  "trigger": "Aanleiding: {{trigger}}",
749
775
  "tool-calls": "{{count}} tool-aanroepen",
750
776
  "tokens": "{{count}} tokens",
package/index.d.ts CHANGED
@@ -13,6 +13,11 @@ type AgentSubjectRole = 'none' | 'reader' | 'participant' | 'approver';
13
13
  type AgentRunStatus = 'queued' | 'running' | 'waiting-for-approval' | 'completed' | 'failed' | 'cancelled';
14
14
  type AgentProposalStatus = 'pending' | 'approved' | 'rejected' | 'expired' | 'withdrawn' | 'stale' | 'executing' | 'executed' | 'execution-failed' | 'execution-unknown' | 'resolved' | 'shadow';
15
15
  type AgentGrantSource = 'none' | 'delegated' | 'agent';
16
+ /**
17
+ * How a run worked: `model` through the language model, `rule` through the agent's rules without a
18
+ * model, `rule-then-model` when the rules handed the run over to the model.
19
+ */
20
+ type AgentRunKind = 'model' | 'rule' | 'rule-then-model';
16
21
  interface AgentRun {
17
22
  id: string;
18
23
  conversationId: string;
@@ -34,6 +39,8 @@ interface AgentRun {
34
39
  startedAt: string | null;
35
40
  endedAt: string | null;
36
41
  backgroundOperationId: string | null;
42
+ /** How the run worked. Missing on older servers, which only ran the model. */
43
+ kind?: AgentRunKind;
37
44
  }
38
45
  interface AgentRunList {
39
46
  items: AgentRun[];
@@ -71,10 +78,22 @@ interface AgentSubjectWorkAgent {
71
78
  thread: AgentThread | null;
72
79
  canStart: boolean;
73
80
  }
74
- /** An open proposal on a subject with the caller's live decision right. */
81
+ /**
82
+ * A proposal on a subject with the caller's live decision right. Only a pending proposal can be
83
+ * decided; for every other status `canDecide` is `false` and `reasonCode` is `null`.
84
+ */
75
85
  interface AgentSubjectWorkProposal extends AgentProposalDecisionRight {
76
86
  proposal: AgentProposal;
77
87
  }
88
+ /** The most proposals one `POST approvals/lookup` reads. */
89
+ declare const NH_ASSISTANT_MAX_PROPOSAL_LOOKUP = 100;
90
+ /**
91
+ * Response of `POST approvals/lookup`: the requested proposals the caller may see, in the order of
92
+ * the request. Ids the caller may not see, or that do not exist, are left out.
93
+ */
94
+ interface AgentProposalLookup {
95
+ items: AgentSubjectWorkProposal[];
96
+ }
78
97
  /**
79
98
  * All agent work on one subject as the caller may see it (`GET subjects/{type}/{id}/work`): every
80
99
  * agent with a thread on the subject plus the requested agent, and the pending proposals of all
@@ -166,6 +185,43 @@ interface AgentProposal {
166
185
  * closed as stale, and the caller decided it or is an approver of the subject. Missing on older servers.
167
186
  */
168
187
  canGiveFeedback?: boolean;
188
+ /**
189
+ * Why a stale proposal no longer fits; `null` for other statuses. Its reason code is
190
+ * `executionResultCode`. Missing on older servers.
191
+ */
192
+ staleKind?: StaleKind | null;
193
+ /**
194
+ * The application's explanation of a stale proposal in the caller's language, such as who already
195
+ * did the work; `null` when it gave none. Missing on older servers.
196
+ */
197
+ staleExplanation?: string | null;
198
+ /**
199
+ * Who made the proposal stale, when the application's guard named them; `null` otherwise.
200
+ * Missing on older servers.
201
+ */
202
+ staleByActorId?: string | null;
203
+ /** The name of `staleByActorId` from the subject's member snapshot; `null` when unknown. */
204
+ staleByDisplayName?: string | null;
205
+ /**
206
+ * The application objects the proposal changes, as its guards named them, so lists can group
207
+ * proposals by object. `targets` holds execution scopes instead. Missing on older servers.
208
+ */
209
+ objects?: AgentProposalObject[];
210
+ /**
211
+ * The newer proposal for the same objects that replaced this withdrawn one; `null` otherwise.
212
+ * Missing on older servers.
213
+ */
214
+ supersededByApprovalId?: string | null;
215
+ /**
216
+ * Why the agent's rules proposed it, in the caller's language; `null` for proposals of the model.
217
+ * Missing on older servers.
218
+ */
219
+ rationale?: string | null;
220
+ }
221
+ /** An application object a proposal changes, such as `{ type: 'project-task', id: '4711' }`. */
222
+ interface AgentProposalObject {
223
+ type: string;
224
+ id: string;
169
225
  }
170
226
  /**
171
227
  * Why a person rejected a proposal. `incorrect`, `wrong-value` and `not-needed` say the agent was
@@ -384,11 +440,17 @@ interface Message {
384
440
  sequence?: number;
385
441
  /** The writer of a user message. */
386
442
  authorActorId?: string | null;
387
- /** Who wrote a user message: a person or a trigger of an agent; missing on old servers. */
443
+ /**
444
+ * Who wrote the message: a person or a trigger of an agent for user messages, `rule` for the
445
+ * summary an agent's rules wrote instead of the model; missing on old servers.
446
+ */
388
447
  authorKind?: MessageAuthorKind | null;
389
448
  }
390
- /** `person` for a message a person wrote; `trigger` for one a trigger wrote into an agent thread. */
391
- type MessageAuthorKind = 'person' | 'trigger';
449
+ /**
450
+ * `person` for a message a person wrote; `trigger` for one a trigger wrote into an agent thread;
451
+ * `rule` for an assistant message the agent's rules wrote without a model.
452
+ */
453
+ type MessageAuthorKind = 'person' | 'trigger' | 'rule';
392
454
  type MessagePart = TextPart | ToolCallPart | ApprovalPart;
393
455
  interface TextPart {
394
456
  type: 'text';
@@ -432,6 +494,11 @@ interface ApprovalPresentation {
432
494
  fields: ApprovalPresentationField[];
433
495
  notice: string | null;
434
496
  }
497
+ /**
498
+ * Why a stale proposal no longer fits: the work was already done another way, what it was based on
499
+ * changed, or it no longer applies.
500
+ */
501
+ type StaleKind = 'already-done' | 'changed' | 'not-applicable';
435
502
  interface ApprovalPart {
436
503
  type: 'approval';
437
504
  approvalId: string;
@@ -445,6 +512,14 @@ interface ApprovalPart {
445
512
  targets: string[];
446
513
  expiresAt: string;
447
514
  status: ApprovalStatus;
515
+ /** Why a stale proposal no longer fits. Only sent for stale proposals; missing on older servers. */
516
+ staleKind?: StaleKind;
517
+ /** The application's explanation of a stale proposal in the reader's language, such as who did the work. */
518
+ staleExplanation?: string;
519
+ /** Why the agent's rules proposed it, in the reader's language. Only sent for rule proposals. */
520
+ rationale?: string;
521
+ /** The newer proposal for the same objects that replaced this withdrawn one. Only sent then. */
522
+ supersededByApprovalId?: string;
448
523
  }
449
524
  /** Response of `GET conversations?page=&itemsPerPage=`. */
450
525
  interface ConversationPage {
@@ -799,7 +874,7 @@ interface AgentFeedbackSummaryRow {
799
874
  rejected: number;
800
875
  expired: number;
801
876
  withdrawn: number;
802
- /** Approved proposals closed because the subject changed; part of `approved`. */
877
+ /** Approved proposals closed right before execution because they no longer fit; part of `approved`. */
803
878
  stale: number;
804
879
  /** Approved proposals whose execution failed; part of `approved`. */
805
880
  executionFailed: number;
@@ -812,6 +887,22 @@ interface AgentFeedbackSummaryRow {
812
887
  /** Different people who gave feedback, so one critical approver counts as one. */
813
888
  feedbackAuthors: number;
814
889
  categories: AgentFeedbackCategoryCount[];
890
+ /**
891
+ * Open proposals closed before anyone decided because they no longer fit, such as work a person
892
+ * already did. Neither approved nor rejected, and not part of `rejectionRate`. Missing on older servers.
893
+ */
894
+ invalidated?: number;
895
+ /** Why proposals closed as stale, per kind and reason code. Missing on older servers. */
896
+ invalidations?: AgentInvalidationCount[];
897
+ }
898
+ /** Proposals of one tool and agent version that closed as stale for one kind and reason. */
899
+ interface AgentInvalidationCount {
900
+ kind: StaleKind;
901
+ /** The application guard's reason code. */
902
+ reasonCode: string;
903
+ /** True when the proposal closed right before execution, after its approval. */
904
+ afterApproval: boolean;
905
+ count: number;
815
906
  }
816
907
  /** Response of `GET admin/agents/{id}/feedback/summary`. */
817
908
  interface AgentFeedbackSummary {
@@ -1170,6 +1261,17 @@ declare class NhAssistantAgentRunApiService {
1170
1261
  /** Who consulted the thread's agent through another assistant, newest first. */
1171
1262
  getConsultations(conversationId: string, page?: number, itemsPerPage?: number): Observable<AgentConsultationList>;
1172
1263
  getProposals(conversationId: string): Observable<AgentProposal[]>;
1264
+ /**
1265
+ * One proposal of an agent thread in any status, with the caller's live right to decide it, for
1266
+ * example the one an `AgentWorkChanged` update names. Fails with `assistant-approval-not-found`
1267
+ * for an unknown proposal and for one the caller may not see.
1268
+ */
1269
+ getProposal(approvalId: string): Observable<AgentSubjectWorkProposal>;
1270
+ /**
1271
+ * The proposals among at most `NH_ASSISTANT_MAX_PROPOSAL_LOOKUP` ids that the caller may see, in
1272
+ * the order of the ids, each with the caller's live right to decide it. The others are left out.
1273
+ */
1274
+ lookupProposals(approvalIds: readonly string[]): Observable<AgentProposalLookup>;
1173
1275
  getMemory(conversationId: string): Observable<AgentThreadMemory>;
1174
1276
  getArtifacts(conversationId: string): Observable<AgentArtifact[]>;
1175
1277
  /** Downloads one artifact version with the host's credentials. */
@@ -1891,6 +1993,8 @@ declare class NhAssistantThreadComponent {
1891
1993
  trackMessage(_index: number, message: Message): string;
1892
1994
  /** True for a user message a trigger wrote into an agent thread. */
1893
1995
  isTrigger(message: Message): boolean;
1996
+ /** True for an assistant message the agent's rules wrote without a model. */
1997
+ isRule(message: Message): boolean;
1894
1998
  /** True for a user message written by another person in a shared conversation. */
1895
1999
  isOthers(message: Message): boolean;
1896
2000
  /** Whether and why the current user may decide an approval card. */
@@ -2093,7 +2197,8 @@ declare function formatNhAssistantCountdown(milliseconds: number): string;
2093
2197
  * Asks the user to approve or reject a proposed mutation. Shows the summary, targets,
2094
2198
  * proposed arguments and a countdown to expiry. A decision is emitted at most once until
2095
2199
  * the host reports that it is no longer deciding. After the user rejected an agent's proposal
2096
- * (`canGiveFeedback`), a low-key action asks what was wrong.
2200
+ * (`canGiveFeedback`), a low-key action asks what was wrong. A proposal that closed because it no
2201
+ * longer fits shows why, such as "Already done", with the application's explanation.
2097
2202
  */
2098
2203
  declare class NhAssistantApprovalCardComponent {
2099
2204
  readonly approval: _angular_core.InputSignal<ApprovalPart>;
@@ -2128,6 +2233,15 @@ declare class NhAssistantApprovalCardComponent {
2128
2233
  readonly remainingMs: _angular_core.Signal<number>;
2129
2234
  readonly expired: _angular_core.Signal<boolean>;
2130
2235
  readonly effectiveStatus: _angular_core.Signal<ApprovalStatus>;
2236
+ /**
2237
+ * Translation key of the status: the kind of a stale proposal, "replaced" for a superseded one,
2238
+ * otherwise the status itself.
2239
+ */
2240
+ readonly statusKey: _angular_core.Signal<string>;
2241
+ /** Why the agent's rules proposed it; model proposals have none. */
2242
+ readonly rationale: _angular_core.Signal<string | null>;
2243
+ /** The application's explanation of a stale proposal, such as who already did the work. */
2244
+ readonly staleExplanation: _angular_core.Signal<string | null>;
2131
2245
  readonly actionable: _angular_core.Signal<boolean>;
2132
2246
  readonly succeeded: _angular_core.Signal<boolean>;
2133
2247
  readonly disabled: _angular_core.Signal<boolean>;
@@ -2390,5 +2504,5 @@ declare function nhAssistantErrorKeys(error: NhAssistantError | null): string[];
2390
2504
  /** Dash-case identifiers as the contract requires for agent and MCP server ids. */
2391
2505
  declare const NH_ASSISTANT_DASH_CASE: RegExp;
2392
2506
 
2393
- export { NH_ASSISTANT_ACCESS_POLICY, NH_ASSISTANT_CONFIG, NH_ASSISTANT_CONVERSATION_FRAGMENT, 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_SUBJECT_SUMMARY, NH_ASSISTANT_NO_ANSWER_NOTICE_CODE, NH_ASSISTANT_PAGE_CONTEXT_LIMITS, NH_ASSISTANT_PANEL_MOBILE_QUERY, NH_ASSISTANT_PANEL_WIDTH, NH_ASSISTANT_SSE_EVENT_TYPES, NH_ASSISTANT_TRANSLATIONS, NH_ASSISTANT_VIRTUAL_SCROLL_THRESHOLD, NhAssistantActivityComponent, NhAssistantAdminApiService, NhAssistantAgentPickerComponent, NhAssistantAgentRunApiService, NhAssistantAllowAllAccessPolicy, NhAssistantApiError, NhAssistantApiService, NhAssistantApprovalCardComponent, NhAssistantClientErrorCodes, NhAssistantComposerComponent, NhAssistantConversationListComponent, NhAssistantLauncherComponent, NhAssistantLiveService, NhAssistantPanelComponent, NhAssistantPanelService, NhAssistantPreferencesComponent, NhAssistantProposalFeedbackComponent, NhAssistantPushService, NhAssistantShareComponent, NhAssistantSseParser, NhAssistantStore, NhAssistantSubjectBadgeComponent, NhAssistantSubjectSummaryService, NhAssistantThreadComponent, NhAssistantToolCallCardComponent, NhAssistantToolCallGroupComponent, NhAssistantTranslationMerger, applyNhAssistantApprovalDecision, applyNhAssistantConversationChange, applyNhAssistantEvent, applyNhAssistantLiveEvent, describeNhAssistantClientContext, formatNhAssistantCountdown, nhAssistantCodeForStatus, nhAssistantErrorMessageKey, nhAssistantIsUnread, nhAssistantLatestTurnHasText, nhAssistantShareLink, normalizeNhAssistantClientContext, provideNhAssistant, NH_ASSISTANT_DASH_CASE as ɵNH_ASSISTANT_DASH_CASE, NhAssistantIconComponent as ɵNhAssistantIconComponent, NhAssistantTranslatePipe as ɵNhAssistantTranslatePipe, nhAssistantErrorKeys as ɵnhAssistantErrorKeys, nhAssistantReloadOnAgentWork as ɵnhAssistantReloadOnAgentWork, toNhAssistantError as ɵtoNhAssistantError };
2394
- export type { AdminAgent, AdminAgentInput, AgentArtifact, AgentConsultation, AgentConsultationList, AgentConsultationStatus, AgentDecisionOutcome, AgentExecutionResolution, AgentFeedbackCategoryCount, AgentFeedbackExportFilter, AgentFeedbackFilter, AgentFeedbackItem, AgentFeedbackList, AgentFeedbackListFilter, AgentFeedbackOutcome, AgentFeedbackSummary, AgentFeedbackSummaryRow, AgentGrantSource, AgentInbox, AgentInboxFilter, AgentProposal, AgentProposalDecision, AgentProposalDecisionRight, AgentProposalFeedback, AgentProposalFeedbackCategory, AgentProposalFeedbackGroup, AgentProposalStatus, AgentRun, AgentRunList, AgentRunRetryMode, AgentRunStatus, AgentSubjectRole, AgentSubjectSummary, AgentSubjectSummaryList, AgentSubjectWork, AgentSubjectWorkAgent, AgentSubjectWorkProposal, AgentSummary, AgentThread, AgentThreadLookup, AgentThreadMemory, AgentTriggerReceipt, ApplicationContext, ApplicationContextVersion, ApprovalDecision, ApprovalPart, ApprovalPresentation, ApprovalPresentationField, ApprovalRequiredEvent, ApprovalStatus, AssistantAddressForm, AssistantAutonomy, AssistantCollaboration, AssistantErrorEvent, AssistantPreferences, AssistantResponseLength, AssistantStatus, AssistantStyle, ClientContext, ClientContextEntity, Conversation, ConversationKind, ConversationMember, ConversationPage, ConversationRole, ConversationStatus, ConversationSummary, ConversationThread, ConversationThreadDecision, CreateConversationRequest, DecideApprovalRequest, DirectoryEntry, LiveAgentWorkChanged, LiveAgentWorkReason, LiveConversationChanged, LiveConversationEvent, LiveConversationRead, LiveConversationRemoved, McpAuthMode, McpServer, McpServerInput, McpServerTestResult, McpTool, McpToolEffect, McpToolStatus, Message, MessageAuthorKind, MessageDeltaEvent, MessagePart, NhAssistantAccessPolicy, NhAssistantActivity, NhAssistantApprovalChoice, NhAssistantApprovalRight, NhAssistantApprovalWaitingFor, NhAssistantClientContext, NhAssistantClientErrorCode, NhAssistantConfig, NhAssistantError, NhAssistantFetch, NhAssistantIconName, NhAssistantLiveState, NhAssistantNotice, NhAssistantProposalFeedbackSaved, NhAssistantPushConfig, NhAssistantPushState, NhAssistantQueuedMessage, NhAssistantRawSseMessage, NhAssistantSseEvent, NhAssistantSseEventMap, NhAssistantSseEventType, NhAssistantStatusCodes, NhAssistantToolCallGroupState, NotificationSettings, PushSubscriptionRequest, SendMessageRequest, ShareLink, StartAgentRequest, TextPart, ToolCallPart, ToolCallStatus, ToolCatalogEffect, ToolCatalogEntry, ToolCompletedEvent, ToolStartedEvent, TurnCompletedEvent, TurnCompletionStatus, TurnStartedEvent, TurnUsage, UpdateAdminAgentRequest, UpdateApplicationContextRequest, UpdateMcpToolRequest };
2507
+ export { NH_ASSISTANT_ACCESS_POLICY, NH_ASSISTANT_CONFIG, NH_ASSISTANT_CONVERSATION_FRAGMENT, 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_NO_ANSWER_NOTICE_CODE, NH_ASSISTANT_PAGE_CONTEXT_LIMITS, NH_ASSISTANT_PANEL_MOBILE_QUERY, NH_ASSISTANT_PANEL_WIDTH, NH_ASSISTANT_SSE_EVENT_TYPES, NH_ASSISTANT_TRANSLATIONS, NH_ASSISTANT_VIRTUAL_SCROLL_THRESHOLD, NhAssistantActivityComponent, NhAssistantAdminApiService, NhAssistantAgentPickerComponent, NhAssistantAgentRunApiService, NhAssistantAllowAllAccessPolicy, NhAssistantApiError, NhAssistantApiService, NhAssistantApprovalCardComponent, NhAssistantClientErrorCodes, NhAssistantComposerComponent, NhAssistantConversationListComponent, NhAssistantLauncherComponent, NhAssistantLiveService, NhAssistantPanelComponent, NhAssistantPanelService, NhAssistantPreferencesComponent, NhAssistantProposalFeedbackComponent, NhAssistantPushService, NhAssistantShareComponent, NhAssistantSseParser, NhAssistantStore, NhAssistantSubjectBadgeComponent, NhAssistantSubjectSummaryService, NhAssistantThreadComponent, NhAssistantToolCallCardComponent, NhAssistantToolCallGroupComponent, NhAssistantTranslationMerger, applyNhAssistantApprovalDecision, applyNhAssistantConversationChange, applyNhAssistantEvent, applyNhAssistantLiveEvent, describeNhAssistantClientContext, formatNhAssistantCountdown, nhAssistantCodeForStatus, nhAssistantErrorMessageKey, nhAssistantIsUnread, nhAssistantLatestTurnHasText, nhAssistantShareLink, normalizeNhAssistantClientContext, provideNhAssistant, NH_ASSISTANT_DASH_CASE as ɵNH_ASSISTANT_DASH_CASE, NhAssistantIconComponent as ɵNhAssistantIconComponent, NhAssistantTranslatePipe as ɵNhAssistantTranslatePipe, nhAssistantErrorKeys as ɵnhAssistantErrorKeys, nhAssistantReloadOnAgentWork as ɵnhAssistantReloadOnAgentWork, toNhAssistantError as ɵtoNhAssistantError };
2508
+ export type { AdminAgent, AdminAgentInput, AgentArtifact, AgentConsultation, AgentConsultationList, AgentConsultationStatus, AgentDecisionOutcome, AgentExecutionResolution, AgentFeedbackCategoryCount, AgentFeedbackExportFilter, AgentFeedbackFilter, AgentFeedbackItem, AgentFeedbackList, AgentFeedbackListFilter, AgentFeedbackOutcome, AgentFeedbackSummary, AgentFeedbackSummaryRow, AgentGrantSource, AgentInbox, AgentInboxFilter, AgentInvalidationCount, AgentProposal, AgentProposalDecision, AgentProposalDecisionRight, AgentProposalFeedback, AgentProposalFeedbackCategory, AgentProposalFeedbackGroup, AgentProposalLookup, AgentProposalObject, AgentProposalStatus, AgentRun, AgentRunKind, AgentRunList, AgentRunRetryMode, AgentRunStatus, AgentSubjectRole, AgentSubjectSummary, AgentSubjectSummaryList, AgentSubjectWork, AgentSubjectWorkAgent, AgentSubjectWorkProposal, AgentSummary, AgentThread, AgentThreadLookup, AgentThreadMemory, AgentTriggerReceipt, ApplicationContext, ApplicationContextVersion, ApprovalDecision, ApprovalPart, ApprovalPresentation, ApprovalPresentationField, ApprovalRequiredEvent, ApprovalStatus, AssistantAddressForm, AssistantAutonomy, AssistantCollaboration, AssistantErrorEvent, AssistantPreferences, AssistantResponseLength, AssistantStatus, AssistantStyle, ClientContext, ClientContextEntity, Conversation, ConversationKind, ConversationMember, ConversationPage, ConversationRole, ConversationStatus, ConversationSummary, ConversationThread, ConversationThreadDecision, CreateConversationRequest, DecideApprovalRequest, DirectoryEntry, LiveAgentWorkChanged, LiveAgentWorkReason, LiveConversationChanged, LiveConversationEvent, LiveConversationRead, LiveConversationRemoved, McpAuthMode, McpServer, McpServerInput, McpServerTestResult, McpTool, McpToolEffect, McpToolStatus, Message, MessageAuthorKind, MessageDeltaEvent, MessagePart, NhAssistantAccessPolicy, NhAssistantActivity, NhAssistantApprovalChoice, NhAssistantApprovalRight, NhAssistantApprovalWaitingFor, NhAssistantClientContext, NhAssistantClientErrorCode, NhAssistantConfig, NhAssistantError, NhAssistantFetch, NhAssistantIconName, NhAssistantLiveState, NhAssistantNotice, NhAssistantProposalFeedbackSaved, NhAssistantPushConfig, NhAssistantPushState, NhAssistantQueuedMessage, NhAssistantRawSseMessage, NhAssistantSseEvent, NhAssistantSseEventMap, NhAssistantSseEventType, NhAssistantStatusCodes, NhAssistantToolCallGroupState, NotificationSettings, PushSubscriptionRequest, SendMessageRequest, ShareLink, StaleKind, StartAgentRequest, TextPart, ToolCallPart, ToolCallStatus, ToolCatalogEffect, ToolCatalogEntry, ToolCompletedEvent, ToolStartedEvent, TurnCompletedEvent, TurnCompletionStatus, TurnStartedEvent, TurnUsage, UpdateAdminAgentRequest, UpdateApplicationContextRequest, UpdateMcpToolRequest };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newheap/platform-ai-chat",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^20.2.14",
6
6
  "@angular/common": "^20.3.28",