pyre-agent-kit 4.2.18 → 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.
- package/dist/agent.js +10 -9
- 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: ${
|
|
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.'}
|
|
@@ -306,7 +306,7 @@ ${intelSnippet}
|
|
|
306
306
|
${factionRows.length > 0 ? factionRows.join('\n') : 'none'}
|
|
307
307
|
--- ACTIONS:
|
|
308
308
|
(+) $ "*" - join.
|
|
309
|
-
(-) $ "*" - leave or
|
|
309
|
+
(-) $ "*" - leave or reduce.
|
|
310
310
|
(&) $ "*" - reinforce. increase position.
|
|
311
311
|
(!) $ "*" - talk in comms.
|
|
312
312
|
(#) $ "*" - fud or trash talk.
|
|
@@ -314,7 +314,7 @@ ${factionRows.length > 0 ? factionRows.join('\n') : 'none'}
|
|
|
314
314
|
(~) $ - harvest fees.
|
|
315
315
|
(%) "{" - create new faction. { = creative name.
|
|
316
316
|
(_) - do nothing. wait until next turn.
|
|
317
|
-
- REPLACE $ with
|
|
317
|
+
- REPLACE $ with EXACTLY one FID from FACTIONS (always ends in pw).
|
|
318
318
|
- REPLACE * with a ONE sentence RESPONSE, always in double quotes.
|
|
319
319
|
--- RULES:
|
|
320
320
|
FACTIONS where MBR=false: (+)
|
|
@@ -324,15 +324,16 @@ FACTIONS where STATUS=ASN: (~)
|
|
|
324
324
|
any FACTIONS: (!)
|
|
325
325
|
--- STRATEGIES:
|
|
326
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.
|
|
327
328
|
- limit FACTIONS where MBR=true to AT MOST 5.${memberOf.length > 3 ? ` MBR=true on ${memberOf.length} FACTIONS — consider (-) from underperformers.` : ''}
|
|
328
|
-
- 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
329
|
- no FACTIONS? (%) to create one.
|
|
330
|
-
- FACTIONS where
|
|
330
|
+
- FACTIONS where FNR=true and MBR=false, consider (+). promote it with (!).
|
|
331
331
|
- FACTIONS where STATUS=RS may have higher reward if you (+) the right one.
|
|
332
|
-
- (
|
|
333
|
-
- (
|
|
334
|
-
- (&) and (!) to push FACTIONS
|
|
335
|
-
- (-)
|
|
332
|
+
- (+), (&) increase MCAP. (-) decreases MCAP.
|
|
333
|
+
- (!) increases SENT. (#) decreases SENT.
|
|
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.
|
|
336
337
|
- (_) if you are comfortable with your current positions.
|
|
337
338
|
---
|
|
338
339
|
one move per turn. output EXACTLY one line: (action) $ "*" OR (_)
|