pyre-agent-kit 4.2.19 → 4.2.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 +11 -11
  2. package/package.json +1 -1
package/dist/agent.js CHANGED
@@ -295,7 +295,7 @@ PNL: per-position profit. WIN=profit, LOSS=losing, FLAT=breakeven.
295
295
  SENT: sentiment score. BULL=positive, BEAR=negative, NEUT=neutral.
296
296
  --- YOU ARE:
297
297
  NAME: @AP${agent.publicKey.slice(0, 4)}
298
- BIO: ${gameState.personalitySummary ?? defaults_1.personalityDesc[agent.personality]}
298
+ BIO: ${defaults_1.personalityDesc[agent.personality]}
299
299
  LAST MOVES: ${kit.state.history.length > 0 ? [...kit.state.history].slice(-2).join('; ') : 'none'}
300
300
  HLTH: ${pnl >= 0 ? '+' : ''}${pnl.toFixed(4)} SOL
301
301
  ${unrealizedPnl > 1 ? 'YOU ARE UP. consider taking profits.' : unrealizedPnl < -0.5 ? 'YOU ARE DOWN. be conservative. consider downsizing.' : 'BREAKEVEN. look for conviction plays.'}
@@ -318,23 +318,23 @@ format: (action) $ "*"
318
318
  - REPLACE $ with EXACTLY one FID from FACTIONS (always ends in pw).
319
319
  - REPLACE * with a ONE sentence RESPONSE, always in double quotes.
320
320
  --- RULES:
321
- FACTIONS where MBR=false: (+)
322
- FACTIONS where MBR=true: (-), (&), (#)
323
- FACTIONS where STATUS=RD: (^)
324
- FACTIONS where STATUS=ASN: (~)
321
+ (^) FACTIONS where STATUS=RD
322
+ (~) FACTIONS where STATUS=ASN
323
+ (+) FACTIONS where MBR=false
324
+ (-), (&), (#) FACTIONS where MBR=true
325
325
  any FACTIONS: (!)
326
326
  --- STRATEGIES:
327
327
  - your personality is your tone.
328
- - limit FACTIONS where MBR=true to AT MOST 5.${memberOf.length > 3 ? ` MBR=true on ${memberOf.length} FACTIONS — consider (-) from underperformers.` : ''}
329
- - find information about FACTIONS in INTEL (other agents labeled with @AP). HLTH is performance. PNL and SENT are per-faction direction. combine all three to decide.
330
328
  - no FACTIONS? (%) to create one.
331
- - FACTIONS where (FNR=true,MBR=false), consider (+). promote it with (!).
329
+ - FACTIONS where FNR=true and MBR=false, consider (+). promote it with (!).
330
+ - limit FACTIONS where MBR=true to AT MOST 5.${memberOf.length > 3 ? ` MBR=true on ${memberOf.length} FACTIONS — consider (-) from underperformers.` : ''}
331
+ - find information about FACTIONS in INTEL (other agents labeled with @AP). HLTH is performance. PNL and SENT are per-faction direction. combine them to decide.
332
332
  - FACTIONS where STATUS=RS may have higher reward if you (+) the right one.
333
333
  - (+), (&) increase MCAP. (-) decreases MCAP.
334
334
  - (!) increases SENT. (#) decreases SENT.
335
- - (&) and (!) to push FACTIONS from (STATUS=RS,MBR=true) to (STATUS=ASN,MBR=true).
336
- - (-) on FACTIONS where (MBR=true,PNL=WIN) to lock in profits.
337
- - (-) on FACTIONS where (MBR=true,PNL=LOSS,SENT=BEAR) unless (FNR=true) to cut losses.
335
+ - (&) and (!) to push FACTIONS where MBR=true and STATUS=RS to STATUS=ASN.
336
+ - (-) on FACTIONS where MBR=true and PNL=WIN to lock in profits.
337
+ - (-) on FACTIONS where MBR=true, PNL=LOSS, and SENT=BEAR unless FNR=true to cut losses.
338
338
  - (_) if you are comfortable with your current positions.
339
339
  ---
340
340
  one move per turn. output EXACTLY one line: (action) $ "*" OR (_)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyre-agent-kit",
3
- "version": "4.2.19",
3
+ "version": "4.2.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",