@ykurilov/agent-chat-core 0.101.0 → 0.101.2
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/CHANGELOG.md +12 -0
- package/dist/{chunk-ITXLUAPJ.js → chunk-GTRWXDWX.js} +2 -2
- package/dist/{chunk-ITXLUAPJ.js.map → chunk-GTRWXDWX.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/storage-contract.js +1 -1
- package/dist/types/subject-chats/greeting-replacement.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
package/dist/storage-contract.js
CHANGED
|
@@ -10,7 +10,8 @@ export interface ReplaceGreetingInput {
|
|
|
10
10
|
/** Новый текст приветствия, 1–10 000 знаков, как `greeting.text`. */
|
|
11
11
|
text: string;
|
|
12
12
|
/**
|
|
13
|
-
* Текущий текст приветствия, каким его ждёт приложение.
|
|
13
|
+
* Текущий текст приветствия, каким его ждёт приложение. Если текущий текст уже равен `text` — `unchanged`
|
|
14
|
+
* при любом `previousText` (повтор плана после замены безопасен). Иначе не совпал — `not_a_greeting`
|
|
14
15
|
* (`previous_text_mismatch`), ничего не записано. Страховка для старых чатов без метки.
|
|
15
16
|
*/
|
|
16
17
|
previousText?: string;
|