pyre-agent-kit 4.2.15 → 4.2.17

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 +18 -15
  2. package/package.json +1 -1
package/dist/agent.js CHANGED
@@ -298,42 +298,45 @@ NAME: @AP${agent.publicKey.slice(0, 4)}
298
298
  BIO: ${gameState.personalitySummary ?? 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
- ${unrealizedPnl > 1 ? 'YOU ARE UP. consider taking profits.' : unrealizedPnl < -0.5 ? 'YOU ARE DOWN. be conservative. consider cutting losses.' : 'BREAKEVEN. look for conviction plays.'}
301
+ ${unrealizedPnl > 1 ? 'YOU ARE UP. consider taking profits.' : unrealizedPnl < -0.5 ? 'YOU ARE DOWN. be conservative. consider downsizing.' : 'BREAKEVEN. look for conviction plays.'}
302
302
  --- INTEL:
303
303
  ${intelSnippet}
304
304
  --- FACTIONS:
305
305
  (FID,MCAP,STATUS,MBR,FNR,VALUE,PNL,SENT)
306
306
  ${factionRows.length > 0 ? factionRows.join('\n') : 'none'}
307
307
  --- ACTIONS:
308
- (+) $pw "*" - join.
309
- (-) $pw "*" - leave or reduce position.
310
- (&) $pw "*" - reinforce. increase position.
311
- (!) $pw "*" - talk in comms.
312
- (#) $pw "*" - fud or trash talk.
313
- (^) $pw - ascend. unlock treasury.
314
- (~) $pw - harvest fees.
308
+ (+) $ "*" - join.
309
+ (-) $ "*" - leave or downsize position.
310
+ (&) $ "*" - reinforce. increase position.
311
+ (!) $ "*" - talk in comms.
312
+ (#) $ "*" - fud or trash talk.
313
+ (^) $ - ascend. unlock treasury.
314
+ (~) $ - harvest fees.
315
315
  (%) "{" - create new faction. { = creative name.
316
316
  (_) - skip turn.
317
- - REPLACE $pw with a FID from FACTIONS (always ends in pw).
318
- - REPLACE * with a ONE sentence RESPONSE that matches your action, always in double quotes.
319
317
  --- RULES:
320
- FACTIONS where STATUS=RD: (^)
321
- FACTIONS where STATUS=ASN: (~)
322
318
  FACTIONS where MBR=false: (+)
323
319
  FACTIONS where MBR=true: (-), (&), (#)
320
+ FACTIONS where STATUS=RD: (^)
321
+ FACTIONS where STATUS=ASN: (~)
324
322
  any FACTIONS: (!)
325
323
  --- STRATEGIES:
326
324
  - 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 all three to decide.
328
325
  - limit FACTIONS where MBR=true to AT MOST 5.${memberOf.length > 3 ? ` MBR=true on ${memberOf.length} FACTIONS — consider (-) from underperformers.` : ''}
326
+ - 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.
329
327
  - no FACTIONS? (%) to create one.
330
328
  - FACTIONS where (FNR=true,MBR=false), consider (+). promote it with (!).
329
+ - FACTIONS where STATUS=RS may have higher reward if you (+) the right one.
331
330
  - (+), (&), and (!) increase MCAP of a faction. (-) and (#) decrease it.
332
331
  - (&) and (!) to push FACTIONS from (STATUS=RS,MBR=true) to (STATUS=ASN,MBR=true).
333
- - (-) to lock in profits on FACTIONS where (MBR=true,PNL=WIN) or cut losses where (MBR=true,PNL=LOSS,SENT=BEAR).
332
+ - (!) and (#) are your voice.
333
+ - (-) to lock in profits on FACTIONS where (MBR=true,PNL=WIN).
334
+ - (-) from FACTIONS where (MBR=true,PNL=LOSS) unless (FNR=true).
334
335
  - (_) if you are comfortable with your current positions.
335
336
  ---
336
- ONE move per turn. output EXACTLY one line: (action) $pw "*" OR (_)
337
+ - REPLACE $ with a FID from FACTIONS (always contains the pw suffix).
338
+ - REPLACE * with a ONE sentence RESPONSE, always in double quotes.
339
+ one move per turn. output EXACTLY one line: (action) $ "*" OR (_)
337
340
  example format: ${(0, util_1.pick)([
338
341
  `(+) ${f1} "${(0, util_1.pick)(['rising fast and I want early exposure.', 'count me in.', 'early is everything.', 'strongest faction here.', 'lets go!'])}"`,
339
342
  `(&) ${m} "${(0, util_1.pick)(['doubling down.', 'conviction play.', 'added more.'])}"`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyre-agent-kit",
3
- "version": "4.2.15",
3
+ "version": "4.2.17",
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",