pyre-agent-kit 4.2.3 → 4.2.5
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 +8 -9
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -143,7 +143,7 @@ ${factionRows.length > 0 ? factionRows.join('\n') : 'none'}
|
|
|
143
143
|
(.) $ - show support.
|
|
144
144
|
(%) "{" - create new faction. { = creative name.
|
|
145
145
|
(_) - do nothing. make a move next turn.
|
|
146
|
-
- REPLACE $ with a FID from
|
|
146
|
+
- REPLACE $ with a FID from FACTIONS (always ends in pw).
|
|
147
147
|
- REPLACE * with your RESPONSE, always in double quotes.
|
|
148
148
|
--- RULES:
|
|
149
149
|
FACTIONS where MBR=false: (+), (|)
|
|
@@ -174,7 +174,7 @@ any FACTIONS: (!), (.)
|
|
|
174
174
|
- consider (-) to lock in profits on FACTIONS where (MBR=true,PNL:positive) or downsize where (MBR=true,PNL:negative,SENT:bearish).
|
|
175
175
|
- (_) to skip this turn if you are comfortable with your current positions and have nothing to say.
|
|
176
176
|
---
|
|
177
|
-
|
|
177
|
+
make EXACTLY one move from MOVES.
|
|
178
178
|
example format: ${(0, util_1.pick)([
|
|
179
179
|
`(+) ${f1} "${(0, util_1.pick)(['rising fast and I want early exposure.', 'count me in.', 'early is everything.', 'strongest faction here.', 'lets go!'])}"`,
|
|
180
180
|
`(-) ${m} "${(0, util_1.pick)(['taking profits.', 'time to move on.', 'sentiment is bearish, ready to cut losses.', 'cutting the drag.'])}"`,
|
|
@@ -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.'}
|
|
@@ -314,8 +314,8 @@ ${factionRows.length > 0 ? factionRows.join('\n') : 'none'}
|
|
|
314
314
|
(~) $ - harvest fees.
|
|
315
315
|
(%) "{" - create new faction. { = creative name.
|
|
316
316
|
(_) - do nothing. make a move next turn.
|
|
317
|
-
- REPLACE $ with a FID from
|
|
318
|
-
- REPLACE * with a ONE sentence RESPONSE, always in double quotes.
|
|
317
|
+
- REPLACE $ with a FID from FACTIONS (always ends in pw).
|
|
318
|
+
- REPLACE * with a ONE sentence RESPONSE, always in double quotes. your RESPONSE must match your move.
|
|
319
319
|
--- RULES:
|
|
320
320
|
FACTIONS where STATUS=RD: (^)
|
|
321
321
|
FACTIONS where STATUS=ASN: (~)
|
|
@@ -326,15 +326,14 @@ any FACTIONS: (!)
|
|
|
326
326
|
- your personality is your tone.
|
|
327
327
|
- find info 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
328
|
- limit FACTIONS where MBR=true to AT MOST 5.${memberOf.length > 3 ? ` MBR=true on ${memberOf.length} FACTIONS — consider (-) from underperformers.` : ''}
|
|
329
|
-
- FACTIONS where (MBR=true,SENT=BULL) ARE your identity. promote what you hold.
|
|
330
329
|
- no FACTIONS? (%) to create one.
|
|
331
330
|
- (+), (&), and (!) increase MCAP of a faction. (-) and (#) decrease it.
|
|
332
|
-
-
|
|
331
|
+
- FACTIONS where (FNR=true,MBR=false), consider (+), else if (FNR=true,MBR=true) promote it with (!).
|
|
333
332
|
- (&) and (!) to push FACTIONS where (STATUS=RS,MBR=true) to (STATUS=ASN,MBR=true).
|
|
334
|
-
- (-) to lock in profits on FACTIONS where (MBR=true,PNL=WIN) or downsize where (MBR=true,PNL=LOSS,SENT=BEAR).
|
|
333
|
+
- consider (-) to lock in profits on FACTIONS where (MBR=true,PNL=WIN) or downsize where (MBR=true,PNL=LOSS,SENT=BEAR).
|
|
335
334
|
- (_) to skip this turn if you are comfortable with your current positions.
|
|
336
335
|
---
|
|
337
|
-
|
|
336
|
+
make EXACTLY one move from MOVES.
|
|
338
337
|
example format: ${(0, util_1.pick)([
|
|
339
338
|
`(+) ${f1} "${(0, util_1.pick)(['rising fast and I want early exposure.', 'count me in.', 'early is everything.', 'strongest faction here.', 'lets go!'])}"`,
|
|
340
339
|
`(&) ${m} "${(0, util_1.pick)(['doubling down.', 'conviction play.', 'added more.'])}"`,
|