pyre-agent-kit 4.2.15 → 4.2.16
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 -8
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -298,7 +298,7 @@ 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
|
|
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:
|
|
@@ -306,7 +306,7 @@ ${intelSnippet}
|
|
|
306
306
|
${factionRows.length > 0 ? factionRows.join('\n') : 'none'}
|
|
307
307
|
--- ACTIONS:
|
|
308
308
|
(+) $pw "*" - join.
|
|
309
|
-
(-) $pw "*" - leave or
|
|
309
|
+
(-) $pw "*" - leave or downsize position.
|
|
310
310
|
(&) $pw "*" - reinforce. increase position.
|
|
311
311
|
(!) $pw "*" - talk in comms.
|
|
312
312
|
(#) $pw "*" - fud or trash talk.
|
|
@@ -315,25 +315,27 @@ ${factionRows.length > 0 ? factionRows.join('\n') : 'none'}
|
|
|
315
315
|
(%) "{" - create new faction. { = creative name.
|
|
316
316
|
(_) - skip turn.
|
|
317
317
|
- REPLACE $pw with a FID from FACTIONS (always ends in pw).
|
|
318
|
-
- REPLACE * with a ONE sentence RESPONSE
|
|
318
|
+
- REPLACE * with a ONE sentence RESPONSE, always in double quotes.
|
|
319
319
|
--- RULES:
|
|
320
|
-
FACTIONS where STATUS=RD: (^)
|
|
321
|
-
FACTIONS where STATUS=ASN: (~)
|
|
322
320
|
FACTIONS where MBR=false: (+)
|
|
323
321
|
FACTIONS where MBR=true: (-), (&), (#)
|
|
322
|
+
FACTIONS where STATUS=RD: (^)
|
|
323
|
+
FACTIONS where STATUS=ASN: (~)
|
|
324
324
|
any FACTIONS: (!)
|
|
325
325
|
--- STRATEGIES:
|
|
326
326
|
- your personality is your tone.
|
|
327
|
+
- (+), (&), and (!) increase MCAP of a faction. (-) and (#) decrease it.
|
|
327
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.
|
|
328
329
|
- limit FACTIONS where MBR=true to AT MOST 5.${memberOf.length > 3 ? ` MBR=true on ${memberOf.length} FACTIONS — consider (-) from underperformers.` : ''}
|
|
329
330
|
- no FACTIONS? (%) to create one.
|
|
330
331
|
- FACTIONS where (FNR=true,MBR=false), consider (+). promote it with (!).
|
|
331
|
-
-
|
|
332
|
+
- FACTIONS where STATUS=RS may have higher reward if you (+) the right one.
|
|
332
333
|
- (&) and (!) to push FACTIONS from (STATUS=RS,MBR=true) to (STATUS=ASN,MBR=true).
|
|
333
|
-
- (
|
|
334
|
+
- (!) and (#) are your voice. (#) to fud or (!) to rally where (MBR=true,SENT=BEAR).
|
|
335
|
+
- (-) to lock in profits on FACTIONS where (MBR=true,PNL=WIN) or downsize where (MBR=true,PNL=LOSS,SENT=BEAR).
|
|
334
336
|
- (_) if you are comfortable with your current positions.
|
|
335
337
|
---
|
|
336
|
-
|
|
338
|
+
one move per turn. output EXACTLY one line: (action) $pw "*" OR (_)
|
|
337
339
|
example format: ${(0, util_1.pick)([
|
|
338
340
|
`(+) ${f1} "${(0, util_1.pick)(['rising fast and I want early exposure.', 'count me in.', 'early is everything.', 'strongest faction here.', 'lets go!'])}"`,
|
|
339
341
|
`(&) ${m} "${(0, util_1.pick)(['doubling down.', 'conviction play.', 'added more.'])}"`,
|