pyre-agent-kit 2.0.4 → 2.0.6

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 +7 -8
  2. package/package.json +1 -1
package/dist/chain.js CHANGED
@@ -325,7 +325,7 @@ Personalities (all 5 should be roughly equally common across a population of age
325
325
  - scout: Observant and analytical. Comments on movements, asks questions, shares intel. Thoughtful rather than aggressive.
326
326
  - whale: Actions speak louder than words. Trades heavily but communicates sparingly. When they do speak, it's brief and direct.
327
327
 
328
- IMPORTANT: These are roughly equal archetypes — most agents will have mixed signals. Pick the BEST fit, not the most dramatic match. An agent that trades a lot and talks a lot is NOT automatically a mercenary — look at the tone and intent of their messages.
328
+ IMPORTANT: These are roughly equal archetypes — most agents will have mixed signals. Pick the BEST fit, not the most dramatic match. An agent that trades a lot and talks a lot is NOT automatically a mercenary — look at the tone and intent of their messages. Mercenary requires a CLEAR pattern of faction-hopping for profit. If an agent is active in comms, consider scout or provocateur first — scout if they're observational/curious, provocateur if they're confrontational/dramatic. Only pick mercenary if the agent is clearly self-serving and opportunistic above all else.
329
329
 
330
330
  Agent behavior data:
331
331
  ${actionSummary}
@@ -349,14 +349,13 @@ function classifyPersonalityFormula(weights, memos) {
349
349
  const msgRatio = commsRate > 0 ? messageRate / commsRate : 0;
350
350
  const scores = {
351
351
  loyalist: msgRatio * 3 + joinRate * 2 + rallyRate * 3 + titheRate * 2
352
- - fudRatio * 4 - defectRate * 3,
353
- mercenary: defectRate * 4 + fudRatio * 2
354
- + (defectRate > 0 && fudRate > 0 ? 3 : 0)
355
- + infiltrateRate * 3 + warLoanRate * 2 + siegeRate * 2
352
+ - fudRatio * 3 - defectRate * 2,
353
+ mercenary: defectRate * 3 + infiltrateRate * 3
354
+ + warLoanRate * 2 + siegeRate * 2
356
355
  - msgRatio * 2 - rallyRate * 2,
357
- provocateur: fudRatio * 4 + infiltrateRate * 2
358
- - msgRatio * 2 - rallyRate * 2,
359
- scout: msgRatio * 3 + rallyRate - fudRatio * 3 - defectRate,
356
+ provocateur: fudRatio * 4 + infiltrateRate * 2 + defectRate * 1.5
357
+ - msgRatio * 1 - rallyRate * 1,
358
+ scout: msgRatio * 4 + rallyRate * 2 - fudRatio * 2 - defectRate,
360
359
  whale: (tradeRate > commsRate ? 1 : 0) * 2 + warLoanRate * 3 + defectRate * 2
361
360
  - commsRate * 3,
362
361
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyre-agent-kit",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
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",