pyre-agent-kit 4.0.3 → 4.0.4
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/agent.js +1 -1
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -414,7 +414,7 @@ function parseLLMDecision(raw, factions, kit, agent, holdings, solRange) {
|
|
|
414
414
|
for (const candidate of lines) {
|
|
415
415
|
const line = candidate.trim();
|
|
416
416
|
// Explicit hold/skip — do nothing this turn
|
|
417
|
-
if (/^\(?_\)?$|^HOLD$/i.test(line)) {
|
|
417
|
+
if (/^\(?_\)?(\s.*)?$|^HOLD$/i.test(line)) {
|
|
418
418
|
return { action: 'hold', reasoning: 'hold — skip turn' };
|
|
419
419
|
}
|
|
420
420
|
const scoutMatch = line.match(/^SCOUT\s+@?([A-Za-z0-9]{6,44})/i);
|