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.
- package/dist/agent.js +11 -11
- 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.'}
|
|
@@ -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
|
|
322
|
-
FACTIONS where
|
|
323
|
-
FACTIONS where
|
|
324
|
-
FACTIONS where
|
|
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
|
|
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
|
|
336
|
-
- (-) on FACTIONS where
|
|
337
|
-
- (-) on FACTIONS where
|
|
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 (_)
|