@newheap/platform-ai-chat 0.11.0 → 0.12.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 +3 -1
- package/fesm2022/newheap-platform-ai-chat.mjs +19 -5
- package/fesm2022/newheap-platform-ai-chat.mjs.map +1 -1
- package/i18n/en.json +2 -1
- package/i18n/nl.json +2 -1
- package/index.d.ts +7 -3
- package/package.json +1 -1
package/i18n/en.json
CHANGED
|
@@ -908,7 +908,8 @@
|
|
|
908
908
|
"trigger": "by its trigger",
|
|
909
909
|
"rules": "by the rules",
|
|
910
910
|
"triage": "by triage",
|
|
911
|
-
"model": "by the model"
|
|
911
|
+
"model": "by the model",
|
|
912
|
+
"follow-up": "as the follow-up of a decision"
|
|
912
913
|
},
|
|
913
914
|
"tool-calls": "{{count}} tool calls",
|
|
914
915
|
"tokens": "{{count}} tokens",
|
package/i18n/nl.json
CHANGED
|
@@ -908,7 +908,8 @@
|
|
|
908
908
|
"trigger": "door de trigger",
|
|
909
909
|
"rules": "door de regels",
|
|
910
910
|
"triage": "door triage",
|
|
911
|
-
"model": "door het model"
|
|
911
|
+
"model": "door het model",
|
|
912
|
+
"follow-up": "als vervolg op een besluit"
|
|
912
913
|
},
|
|
913
914
|
"tool-calls": "{{count}} tool-aanroepen",
|
|
914
915
|
"tokens": "{{count}} tokens",
|
package/index.d.ts
CHANGED
|
@@ -18,8 +18,11 @@ type AgentGrantSource = 'none' | 'delegated' | 'agent' | 'delegated-read';
|
|
|
18
18
|
* model, `rule-then-model` when the rules handed the run over to the model.
|
|
19
19
|
*/
|
|
20
20
|
type AgentRunKind = 'model' | 'rule' | 'rule-then-model';
|
|
21
|
-
/**
|
|
22
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Who chose the skill a run worked in; `follow-up` continues in the skill of the run whose
|
|
23
|
+
* proposal people decided.
|
|
24
|
+
*/
|
|
25
|
+
type AgentSkillChooser = 'trigger' | 'rules' | 'triage' | 'model' | 'follow-up';
|
|
23
26
|
interface AgentRun {
|
|
24
27
|
id: string;
|
|
25
28
|
conversationId: string;
|
|
@@ -1278,7 +1281,8 @@ declare const NH_ASSISTANT_TRANSLATIONS: Readonly<Record<'en' | 'nl', Translatio
|
|
|
1278
1281
|
* Merges the bundled texts into `TranslateService` whenever the host loads or replaces a
|
|
1279
1282
|
* language. Host loaders never lose the library texts, the library never pre-empts the
|
|
1280
1283
|
* host loader, and keys the host defines under `nh-assistant.` (agent names, overrides)
|
|
1281
|
-
* win over the bundle.
|
|
1284
|
+
* win over the bundle. A regional language such as `nl-NL` receives the texts of its base
|
|
1285
|
+
* language; languages without a bundle receive the English texts.
|
|
1282
1286
|
*/
|
|
1283
1287
|
declare class NhAssistantTranslationMerger {
|
|
1284
1288
|
private readonly translate;
|