agentxchain 2.155.8 → 2.155.9
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/package.json
CHANGED
|
@@ -6765,6 +6765,14 @@ function evaluateIdleExpansionConditionalCoverage(item, turnResult, intakeContex
|
|
|
6765
6765
|
}
|
|
6766
6766
|
|
|
6767
6767
|
const normalizedItem = typeof item === 'string' ? item.toLowerCase().trim() : '';
|
|
6768
|
+
|
|
6769
|
+
// Handle the top-level "produces a structured idle_expansion_result" acceptance item
|
|
6770
|
+
if (normalizedItem.startsWith('produces a structured idle_expansion_result')) {
|
|
6771
|
+
return Boolean(
|
|
6772
|
+
result.kind === 'new_intake_intent' || result.kind === 'vision_exhausted',
|
|
6773
|
+
);
|
|
6774
|
+
}
|
|
6775
|
+
|
|
6768
6776
|
if (normalizedItem.startsWith('if new_intake_intent')) {
|
|
6769
6777
|
if (result.kind !== 'new_intake_intent') {
|
|
6770
6778
|
return true;
|