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.
- package/dist/chain.js +8 -8
- 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.
|
|
321
|
+
There are 5 personality types. Consider BOTH the action distribution AND the message tone equally.
|
|
322
322
|
|
|
323
|
-
- loyalist:
|
|
324
|
-
- mercenary:
|
|
325
|
-
- provocateur:
|
|
326
|
-
- scout:
|
|
327
|
-
- whale:
|
|
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
|
-
|
|
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:
|
|
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
|
};
|