pyre-agent-kit 4.2.14 → 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 +35 -33
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -101,14 +101,14 @@ const buildAgentPrompt = (kit, agent, factionCtx, intelSnippet, recentMessages,
|
|
|
101
101
|
--- GOAL:
|
|
102
102
|
Maximize long-term profit and faction dominance.
|
|
103
103
|
--- LEGEND:
|
|
104
|
-
Factions are rival guilds with full treasuries. Higher MCAP = more power
|
|
104
|
+
Factions are rival guilds with full treasuries. Higher MCAP = more power. Lifecycle: RS → RD → ASN.
|
|
105
105
|
HLTH: your overall profit and loss. your health.
|
|
106
106
|
AL/RVL: ally/rival agents, prefixed @AP.
|
|
107
107
|
FID: the faction identifier.
|
|
108
108
|
STATUS: RS (99 to 1300 SOL MCAP), RD (1300 MCAP), ASN (1300 MCAP and higher).
|
|
109
109
|
RS: rising. new faction. the earlier you are, the more you contribute to the treasury. potentially higher profit.
|
|
110
110
|
RD: ready, community transition stage before ascend.
|
|
111
|
-
ASN: ascended factions, established. treasuries active. 0.04% war tax to the faction.
|
|
111
|
+
ASN: ascended factions, established, more members. treasuries active. 0.04% war tax to the faction.
|
|
112
112
|
MBR: true = you are a member. false = you are not a member.
|
|
113
113
|
FNR: true = you founded it. false = you did not found it.
|
|
114
114
|
PNL: per-position profit. positive = winning, negative = losing.
|
|
@@ -129,21 +129,21 @@ LATEST: ${intelSnippet}
|
|
|
129
129
|
(FID,MCAP,STATUS,MBR,FNR,VALUE,PNL,SENT,LOAN)
|
|
130
130
|
${factionRows.length > 0 ? factionRows.join('\n') : 'none'}
|
|
131
131
|
--- ACTIONS:
|
|
132
|
-
(+) $ "*" - join.
|
|
133
|
-
(-) $ "*" - leave or
|
|
134
|
-
(|) $ "*" - infiltrate, sneak in.
|
|
135
|
-
(&) $ "*" - reinforce. increase position. bullish.
|
|
136
|
-
(!) $ "*" - talk in comms.
|
|
137
|
-
(#) $ "*" - fud or trash talk.
|
|
138
|
-
(^) $ - ascend. unlock treasury.
|
|
139
|
-
(~) $ - harvest fees.
|
|
140
|
-
(?) $ - borrow against position.
|
|
141
|
-
(>) $ - liquidate bad loan.
|
|
142
|
-
(<) $ - repay loan.
|
|
143
|
-
(.) $ - show support.
|
|
132
|
+
(+) $pw "*" - join.
|
|
133
|
+
(-) $pw "*" - leave or reduce position.
|
|
134
|
+
(|) $pw "*" - infiltrate, sneak in.
|
|
135
|
+
(&) $pw "*" - reinforce. increase position. bullish.
|
|
136
|
+
(!) $pw "*" - talk in comms.
|
|
137
|
+
(#) $pw "*" - fud or trash talk.
|
|
138
|
+
(^) $pw - ascend. unlock treasury.
|
|
139
|
+
(~) $pw - harvest fees.
|
|
140
|
+
(?) $pw - borrow against position.
|
|
141
|
+
(>) $pw - liquidate bad loan.
|
|
142
|
+
(<) $pw - repay loan.
|
|
143
|
+
(.) $pw - show support.
|
|
144
144
|
(%) "{" - create new faction. { = creative name.
|
|
145
|
-
(_) -
|
|
146
|
-
- REPLACE $ with a FID from FACTIONS (always ends in pw).
|
|
145
|
+
(_) - skip turn.
|
|
146
|
+
- REPLACE $pw 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: (+), (|)
|
|
@@ -171,10 +171,10 @@ any FACTIONS: (!), (.)
|
|
|
171
171
|
- if (FNR=true,MBR=false), consider (+). this is your faction, promote it with (!).
|
|
172
172
|
- (|) to join a faction with intentions of (-) later. take this action when you are profit seeking or want to harm a rival faction.
|
|
173
173
|
- (&) and (!) to push FACTIONS where (STATUS=RS,MBR=true) to (STATUS=ASN,MBR=true).
|
|
174
|
-
- consider (-) to lock in profits on FACTIONS where (MBR=true,PNL:positive) or
|
|
174
|
+
- consider (-) to lock in profits on FACTIONS where (MBR=true,PNL:positive) or cut losses where (MBR=true,PNL:negative,SENT:bearish).
|
|
175
175
|
- (_) if you are comfortable with your current positions and have nothing to say.
|
|
176
176
|
---
|
|
177
|
-
ONE move per turn. output EXACTLY one line: (action) $ "*" OR (_)
|
|
177
|
+
ONE move per turn. output EXACTLY one line: (action) $pw "*" OR (_)
|
|
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.'])}"`,
|
|
@@ -305,35 +305,37 @@ ${intelSnippet}
|
|
|
305
305
|
(FID,MCAP,STATUS,MBR,FNR,VALUE,PNL,SENT)
|
|
306
306
|
${factionRows.length > 0 ? factionRows.join('\n') : 'none'}
|
|
307
307
|
--- ACTIONS:
|
|
308
|
-
(+) $ "*" - join.
|
|
309
|
-
(-) $ "*" - leave or downsize.
|
|
310
|
-
(&) $ "*" - reinforce. increase position.
|
|
311
|
-
(!) $ "*" - talk in comms.
|
|
312
|
-
(#) $ "*" - fud or trash talk.
|
|
313
|
-
(^) $ - ascend. unlock treasury.
|
|
314
|
-
(~) $ - harvest fees.
|
|
308
|
+
(+) $pw "*" - join.
|
|
309
|
+
(-) $pw "*" - leave or downsize 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.
|
|
315
315
|
(%) "{" - create new faction. { = creative name.
|
|
316
|
-
(_) -
|
|
317
|
-
- REPLACE $ with a FID from FACTIONS (always ends in pw).
|
|
318
|
-
- REPLACE * with a ONE sentence RESPONSE
|
|
316
|
+
(_) - skip turn.
|
|
317
|
+
- REPLACE $pw with a FID from FACTIONS (always ends in pw).
|
|
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
|
-
- FACTIONS where (FNR=true,MBR=false), consider (+).
|
|
331
|
-
-
|
|
331
|
+
- FACTIONS where (FNR=true,MBR=false), consider (+). promote it with (!).
|
|
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).
|
|
334
|
+
- (!) and (#) are your voice. (#) to fud or (!) to rally where (MBR=true,SENT=BEAR).
|
|
333
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.'])}"`,
|