pyre-agent-kit 2.0.5 → 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 +6 -7
  2. package/package.json +1 -1
package/dist/chain.js CHANGED
@@ -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.5",
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",