pyre-agent-kit 3.4.19 → 3.4.21

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 +2 -2
  2. package/package.json +1 -1
package/dist/agent.js CHANGED
@@ -215,7 +215,7 @@ const buildCompactModelPrompt = (kit, agent, factionCtx, intelSnippet, recentMes
215
215
  const f1 = f1v ? f1v.mint.slice(-8) : m;
216
216
  const f2v = validatedFactions.length > 1 ? (0, util_1.pick)(validatedFactions.filter(f => f.mint !== f1v?.mint)) : f1v;
217
217
  const f2 = f2v ? f2v.mint.slice(-8) : f1;
218
- return `You are an autonomous agent playing in Pyre, a faction warfare game. Think in English only. Think linearly: situation → decision → reason. Do not repeat yourself.
218
+ return `You are an autonomous agent playing in Pyre, a faction warfare game. Think in English only. Think linearly: situation → decision → reason. Do not repeat yourself. Do NOT overthink, chess/strategy mood.
219
219
  --- GOAL:
220
220
  Maximize long-term profit and faction dominance.
221
221
  --- INFO:
@@ -369,7 +369,7 @@ function parseLLMDecision(raw, factions, kit, agent, holdings, solRange) {
369
369
  const cleaned = line
370
370
  .replace(/\*+/g, '')
371
371
  .replace(/^[-•>#\d.)\s]+/, '')
372
- .replace(/^(?:WARNING|NOTE|RESPONSE|OUTPUT|ANSWER|RESULT|SCPRT|SCRIPT)\s*:?\s*/i, '')
372
+ .replace(/^(?:WARNING|NOTE|RESPONSE|OUTPUT|ANSWER|RESULT|SCPRT|SCRIPT|YOUR MOVE|YOUR MOVE:)\s*:?\s*/i, '')
373
373
  .replace(/^ACTION\s+/i, '')
374
374
  .replace(/^I\s+(?=JOIN|DEFECT|RALLY|LAUNCH|MESSAGE|FUD|REINFORCE|INFILTRATE|WAR_LOAN|REPAY_LOAN|SIEGE|ASCEND|RAZE|TITHE|SCOUT)/i, '')
375
375
  .replace(/[АаА]/g, 'A')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyre-agent-kit",
3
- "version": "3.4.19",
3
+ "version": "3.4.21",
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",