jsfe 1.101.1 → 1.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"match-inputs.d.ts","sourceRoot":"","sources":["../../src/helpers/match-inputs.js"],"names":[],"mappings":"AAoBA;;;;GAIG;AACH,sEAQC;AA4ED;;;GAGG;AACH,sFAuIC;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH;mHACmH;AAEnH,iEAEC;AAID,gGAQC;AAYD,kDAGC;AAED;;;;;;;GAOG;AACH;;;;SAcC;AACD;;;;;GAKG;AACH;;;;;;;;;;;;;;;;;;;;;;EAaC;AACD;;;;;;;;;;;;;;;;;;;;;;EAeC;AAyDD;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"match-inputs.d.ts","sourceRoot":"","sources":["../../src/helpers/match-inputs.js"],"names":[],"mappings":"AAoBA;;;;GAIG;AACH,sEAQC;AA4ED;;;GAGG;AACH,sFAuIC;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH;mHACmH;AAEnH,iEAEC;AAID,gGAQC;AAYD,kDAGC;AAED;;;;;;;GAOG;AACH;;;;SAcC;AACD;;;;;GAKG;AACH;;;;;;;;;;;;;;;;;;;;;;EAaC;AACD;;;;;;;;;;;;;;;;;;;;;;EAeC;AAyDD;;;;;;;;;;;;;;;;;;;;;;;EAkaC"}
|
|
@@ -746,7 +746,9 @@ export function matchInputs(answer, candidates, current, choiceKey) {
|
|
|
746
746
|
for (let i = clarify.length - 1; i >= 0; i--) {
|
|
747
747
|
const reading = hintReading.get(clarify[i]);
|
|
748
748
|
const withIt = reading ? [...readings, reading] : readings;
|
|
749
|
-
|
|
749
|
+
// a question asking several inputs at once (the payment offer: amount and option) asks too (prod 2026-11-29 CA188731:
|
|
750
|
+
// "900 dólares quiero pagar." at the offer got the security code's line, so the reply ranker never read the amount)
|
|
751
|
+
const alone = (!!cur.name || (Array.isArray(cur.names) && cur.names.length > 0)) && !withIt.some(inOrder) && withIt.every((other) => spansMeet(other, withIt[0]));
|
|
750
752
|
const rest = unclaimedSpans(raw, withIt.filter((other) => !other.fallback && other.unlocated !== true)).map(([a, b]) => raw.slice(a, b)).join(' ');
|
|
751
753
|
if (!reading || !alone || reading.unlocated === true || fieldOf(reading).profile.kind === 'amount' || isReaderFiller(rest, fieldWords(reading))) {
|
|
752
754
|
// a whole answer (or no reading to judge): the hint stands
|
package/dist/runtime-identity.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const JSFE_RUNTIME_FINGERPRINT = "sha256:
|
|
1
|
+
export const JSFE_RUNTIME_FINGERPRINT = "sha256:f75ba76e1fbf1bcb531d20739b588611200fc512ef6e6133820414d897f02ecc";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsfe",
|
|
3
|
-
"version": "1.101.
|
|
3
|
+
"version": "1.101.2",
|
|
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",
|