@ykurilov/agent-chat-core 0.101.0 → 0.101.1

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/dist/index.js CHANGED
@@ -193,7 +193,7 @@ import {
193
193
  withoutFileParts,
194
194
  withoutGlueFragments,
195
195
  withoutResetSteps
196
- } from "./chunk-ITXLUAPJ.js";
196
+ } from "./chunk-GTRWXDWX.js";
197
197
  import {
198
198
  APP_EVENT_DATA_MAX_BYTES,
199
199
  APP_EVENT_TYPE_MAX_LENGTH,
@@ -14,7 +14,7 @@ import {
14
14
  extendCatalog,
15
15
  newStoredMessage,
16
16
  standardCatalog
17
- } from "./chunk-ITXLUAPJ.js";
17
+ } from "./chunk-GTRWXDWX.js";
18
18
  import "./chunk-CVRDB3NM.js";
19
19
 
20
20
  // src/storage/storage-contract.ts
@@ -10,7 +10,8 @@ export interface ReplaceGreetingInput {
10
10
  /** Новый текст приветствия, 1–10 000 знаков, как `greeting.text`. */
11
11
  text: string;
12
12
  /**
13
- * Текущий текст приветствия, каким его ждёт приложение. Есть и не совпал — `not_a_greeting`
13
+ * Текущий текст приветствия, каким его ждёт приложение. Если текущий текст уже равен `text` — `unchanged`
14
+ * при любом `previousText` (повтор плана после замены безопасен). Иначе не совпал — `not_a_greeting`
14
15
  * (`previous_text_mismatch`), ничего не записано. Страховка для старых чатов без метки.
15
16
  */
16
17
  previousText?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ykurilov/agent-chat-core",
3
- "version": "0.101.0",
3
+ "version": "0.101.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,