jsfe 1.10.7 → 1.10.8

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.
@@ -1 +1 @@
1
- {"version":3,"file":"answer.d.ts","sourceRoot":"","sources":["../../src/helpers/answer.js"],"names":[],"mappings":"AA4MA;;;GAGG;AACH,wEAkBC;AAED,+HAA+H;AAC/H,oDAIC;AAcD,2GAA2G;AAC3G,uDAGC;AAOD;;;;;GAKG;AACH,+DAUC;AAKD;;;;GAIG;AACH,oDAEC;AAiBD;;;;;;GAMG;AACH,mDAAmF;AAEnF,kGAAkG;AAClG;;;EAmCC;AAUD;;;;;;;;;GASG;AACH,6EA4GC;;;;;;;;AA/aD,qCAKiD"}
1
+ {"version":3,"file":"answer.d.ts","sourceRoot":"","sources":["../../src/helpers/answer.js"],"names":[],"mappings":"AA6MA;;;GAGG;AACH,wEAkBC;AAED,+HAA+H;AAC/H,oDAIC;AAcD,2GAA2G;AAC3G,uDAGC;AAOD;;;;;GAKG;AACH,+DAUC;AAKD;;;;GAIG;AACH,oDAEC;AAiBD;;;;;;GAMG;AACH,mDAAmF;AAEnF,kGAAkG;AAClG;;;EAmCC;AAUD;;;;;;;;;GASG;AACH,6EA4GC;;;;;;;;AA/aD,qCAKwE"}
@@ -39,14 +39,15 @@ export const ANSWER_WORDS = {
39
39
  // The ONLY words that confirm a choice that charges or cancels (`exact`), besides the choice's own words and keys; courtesy
40
40
  // around them is allowed (owner decision 2026-10-15: "clear charge confirmation exclusively"). Left out on purpose:
41
41
  // acknowledgements ("ok", "está bien", "fine", "sounds good", "perfecto": "I heard you", not "charge me"), "bueno" (the
42
- // Mexican phone "hello?"), courtesy alone ("please", "por favor"), words that are questions once ASR drops the "?"
43
- // ("right", "seguro", "exactly", "así es"), and agreeing to continue ("continue", "continuar").
42
+ // Mexican phone "hello?"), words that are questions once ASR drops the "?" ("right", "seguro", "exactly", "así es"), and
43
+ // agreeing to continue ("continue", "continuar"). "please" / "por favor" alone confirm (owner rule 2026-10-26: prod
44
+ // 21:47, "por favor" to "presione 1 o diga SÍ" at a payment offer was not taken and the payment was lost).
44
45
  export const CONFIRM_WORDS = ['yes', 'yeah', 'yep', 'yup', 'sure', 'of course', 'absolutely', 'definitely', 'confirm', 'i confirm',
45
46
  'confirmed', 'approve', 'i approve', 'approved', 'agree', 'i agree', 'agreed', 'proceed', 'go ahead', 'go ahead please', 'do it',
46
47
  'correct', "that's correct", 'that is correct', "that's right", 'that is right', 'yes i do',
47
48
  'si', 'sí', 'claro', 'claro que sí', 'claro que si', 'por supuesto', 'confirmo', 'confirmado', 'apruebo', 'aprobado', 'adelante',
48
49
  'dale', 'hazlo', 'procede', 'proceda', 'proceder', 'procedo', 'sí proceda', 'si proceda', 'correcto', 'de acuerdo',
49
- 'estoy de acuerdo', 'sí quiero', 'si quiero'];
50
+ 'estoy de acuerdo', 'sí quiero', 'si quiero', 'please', 'por favor'];
50
51
  // Acknowledgements: never a confirmation of an `exact` choice on their own, but said beside one ("Sí, está bien", "Yes,
51
52
  // okay") they change nothing, like courtesy. Beside an exact choice's own words, a CONFIRM word is the same ("Yes, the
52
53
  // full balance").
@@ -1 +1 @@
1
- export const JSFE_RUNTIME_FINGERPRINT = "sha256:7d7eed4421d54620c8003db7ad362a4ecfb2689e8fcaf050e43fd93912f6e914";
1
+ export const JSFE_RUNTIME_FINGERPRINT = "sha256:2ee0e74e5da06d62d22520608be1621f099396640d5a2bc08b2f8855af499f8e";
@@ -1,3 +1,9 @@
1
+ ## 1.10.8: "por favor" confirms
2
+
3
+ "please" / "por favor" alone are a firm YES (`CONFIRM_WORDS`; owner rule 2026-10-26: prod 21:47, "por favor" to "presione 1 o
4
+ diga SÍ" at a payment offer was not taken and the payment was lost). "No, por favor", "espere por favor" and "un enlace
5
+ por favor" are still not a YES.
6
+
1
7
  ## 1.10.7: a firm question's key in minimal context
2
8
 
3
9
  At a firm question (a yes choice that charges or cancels), its key confirms only alone or beside please/thanks or a CONFIRM
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsfe",
3
- "version": "1.10.7",
3
+ "version": "1.10.8",
4
4
  "description": "TypeScript workflow engine for conversational/automation apps: multi-flow orchestration, interrupt/resume, stack-based control, robust errors, and flexible tool/REST integration.",
5
5
  "license": "MIT",
6
6
  "author": "Ron Pinkas",