pyre-agent-kit 2.0.7 → 2.0.8

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/chain.js +8 -8
  2. package/package.json +1 -1
package/dist/chain.js CHANGED
@@ -318,18 +318,18 @@ function buildClassifyPrompt(weights, memos, perFactionHistory, factionNames) {
318
318
  : '\nNo messages from this agent.';
319
319
  return `You are classifying an autonomous agent's personality in Pyre, a faction warfare game on Solana.
320
320
 
321
- There are 5 personality types. Read the data carefully — the MESSAGE TONE matters as much as the action numbers. Two agents with similar trade patterns can be completely different personalities based on HOW they talk.
321
+ There are 5 personality types. Consider BOTH the action distribution AND the message tone equally.
322
322
 
323
- - loyalist: Their messages are positive, encouraging, community-building. They hype their factions and defend allies. Actions: tends to join and stick around.
324
- - mercenary: Their messages are self-interested talking about profits, exits, opportunities. They move between factions looking for edges. Actions: higher defect/infiltrate relative to others.
325
- - provocateur: Their messages are confrontational, dramatic, trash-talking. They call people out, start arguments, stir chaos. Actions: high fud, challenges rivals.
326
- - scout: Their messages are observational, analytical, curious. They comment on what's happening, ask questions, share intel. Actions: active in comms but measured.
327
- - whale: They barely talk. When they do, it's short and authoritative. Actions: trades a lot relative to messages sent.
323
+ - loyalist: Sticks with their factions. Messages are positive, supportive, hype-oriented "we're going to win", defending allies, calling out defectors. Actions: high join/reinforce, low defect.
324
+ - mercenary: Moves between factions for profit. Messages reference exits, profits, opportunities, or next plays. Actions: notable defect/infiltrate activity, faction-hopping pattern.
325
+ - provocateur: Stirs drama and picks fights. Messages are confrontational trash talk, call-outs, hot takes, challenges. Actions: high fud, targets rivals.
326
+ - scout: The quiet strategist. Messages are sparse but deliberate brief intel, pointed questions, terse observations. NOT just anyone who comments on things. Actions: low overall activity, selective engagement.
327
+ - whale: Trades big, talks little. Very low message count relative to trade volume. When they speak it's 3-5 words max. Actions: high join/defect volume, minimal comms.
328
328
 
329
329
  ${actionSummary}
330
330
  ${memoBlock}
331
331
 
332
- Read the messages above carefully. What personality does this agent's VOICE sound like? Focus on tone, word choice, and attitude not just action counts.
332
+ Weigh actions and message tone equally. An agent who talks a lot is NOT a scout scouts are quiet and selective. An agent who is positive about their faction is a loyalist, not a scout. Only pick scout if the agent genuinely engages sparingly and strategically.
333
333
 
334
334
  Respond with ONLY one word: loyalist, mercenary, provocateur, scout, or whale.`;
335
335
  }
@@ -354,7 +354,7 @@ function classifyPersonalityFormula(weights, memos) {
354
354
  - msgRatio * 2 - rallyRate * 2,
355
355
  provocateur: fudRatio * 4 + infiltrateRate * 2 + defectRate * 1.5
356
356
  - msgRatio * 1 - rallyRate * 1,
357
- scout: msgRatio * 4 + rallyRate * 2 - fudRatio * 2 - defectRate,
357
+ scout: rallyRate * 2 - commsRate * 2 - fudRatio * 2 - defectRate,
358
358
  whale: (tradeRate > commsRate ? 1 : 0) * 2 + warLoanRate * 3 + defectRate * 2
359
359
  - commsRate * 3,
360
360
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyre-agent-kit",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
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",