pyre-agent-kit 4.2.19 → 4.2.20

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 +6 -7
  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.'}
@@ -305,7 +305,6 @@ ${intelSnippet}
305
305
  (FID,MCAP,STATUS,MBR,FNR,VALUE,PNL,SENT)
306
306
  ${factionRows.length > 0 ? factionRows.join('\n') : 'none'}
307
307
  --- ACTIONS:
308
- format: (action) $ "*"
309
308
  (+) $ "*" - join.
310
309
  (-) $ "*" - leave or reduce.
311
310
  (&) $ "*" - reinforce. increase position.
@@ -325,16 +324,16 @@ FACTIONS where STATUS=ASN: (~)
325
324
  any FACTIONS: (!)
326
325
  --- STRATEGIES:
327
326
  - your personality is your tone.
327
+ - 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.
328
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
329
  - no FACTIONS? (%) to create one.
331
- - FACTIONS where (FNR=true,MBR=false), consider (+). promote it with (!).
330
+ - FACTIONS where FNR=true and MBR=false, consider (+). promote it with (!).
332
331
  - FACTIONS where STATUS=RS may have higher reward if you (+) the right one.
333
332
  - (+), (&) increase MCAP. (-) decreases MCAP.
334
333
  - (!) 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.
334
+ - (&) and (!) to push FACTIONS where MBR=true and STATUS=RS to STATUS=ASN.
335
+ - (-) on FACTIONS where MBR=true and PNL=WIN to lock in profits.
336
+ - (-) on FACTIONS where MBR=true, PNL=LOSS, and SENT=BEAR unless FNR=true to cut losses.
338
337
  - (_) if you are comfortable with your current positions.
339
338
  ---
340
339
  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.20",
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",