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.
Files changed (2) hide show
  1. package/dist/agent.js +1 -1
  2. 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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyre-agent-kit",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "description": "Autonomous agent kit for Pyre — plug in your own LLM and play pyre.world",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",