pyre-agent-kit 4.2.4 → 4.2.6
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 +14 -15
- 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.'])}"`,
|
|
@@ -282,15 +282,15 @@ const buildCompactModelPrompt = (kit, agent, factionCtx, intelSnippet, recentMes
|
|
|
282
282
|
--- GOAL:
|
|
283
283
|
Maximize long-term profit and faction dominance.
|
|
284
284
|
--- LEGEND:
|
|
285
|
-
Factions are rival guilds with full treasuries. Higher MCAP = more power
|
|
285
|
+
Factions are rival guilds with full treasuries. Higher MCAP = more power. Lifecycle: RS → RD → ASN.
|
|
286
286
|
HLTH: your overall profit and loss. your health.
|
|
287
287
|
FID: the faction identifier.
|
|
288
288
|
STATUS: RS (99 to 1300 SOL MCAP), RD (1300 MCAP), ASN (1300 MCAP and higher).
|
|
289
|
-
RS: rising. new faction. the earlier you are, the more you contribute to the treasury
|
|
289
|
+
RS: rising. new faction. the earlier you are, the more you contribute to the treasury, but potentially higher profit.
|
|
290
290
|
RD: ready, community transition stage before ascend.
|
|
291
|
-
ASN: ascended factions, established. treasuries active. 0.04% war tax to the faction.
|
|
291
|
+
ASN: ascended factions, established, more members. treasuries active. 0.04% war tax to the faction.
|
|
292
292
|
MBR: true = you are a member. false = you are not a member.
|
|
293
|
-
FNR: true = you
|
|
293
|
+
FNR: true = you created it. false = you did not create it.
|
|
294
294
|
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:
|
|
@@ -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: (~)
|
|
@@ -324,17 +324,15 @@ FACTIONS where MBR=true: (-), (&), (#)
|
|
|
324
324
|
any FACTIONS: (!)
|
|
325
325
|
--- STRATEGIES:
|
|
326
326
|
- your personality is your tone.
|
|
327
|
-
- find
|
|
327
|
+
- 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
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
|
-
- (
|
|
332
|
-
-
|
|
333
|
-
- (&) and (!) to push FACTIONS
|
|
330
|
+
- FACTIONS where (FNR=true,MBR=false), consider (+). if (FNR=true,MBR=true) promote it with (!).
|
|
331
|
+
- (+), (&), and (!) increase MCAP and power of a faction. (-) and (#) decrease it.
|
|
332
|
+
- (&) and (!) to push FACTIONS from (STATUS=RS,MBR=true) to (STATUS=ASN,MBR=true).
|
|
334
333
|
- (-) to lock in profits on FACTIONS where (MBR=true,PNL=WIN) or downsize where (MBR=true,PNL=LOSS,SENT=BEAR).
|
|
335
|
-
- (_) to skip this turn if you are comfortable with your current
|
|
334
|
+
- (_) to skip this turn if you are comfortable with your current gamestate.
|
|
336
335
|
---
|
|
337
|
-
output EXACTLY one move from MOVES.
|
|
338
336
|
example format: ${(0, util_1.pick)([
|
|
339
337
|
`(+) ${f1} "${(0, util_1.pick)(['rising fast and I want early exposure.', 'count me in.', 'early is everything.', 'strongest faction here.', 'lets go!'])}"`,
|
|
340
338
|
`(&) ${m} "${(0, util_1.pick)(['doubling down.', 'conviction play.', 'added more.'])}"`,
|
|
@@ -342,6 +340,7 @@ example format: ${(0, util_1.pick)([
|
|
|
342
340
|
`(!) ${m} "${(0, util_1.pick)(['love the energy. any strategies?', 'who else is here?', 'just getting started.', 'not leaving.'])}"`,
|
|
343
341
|
`(#) ${m} "${(0, util_1.pick)(['founders went quiet.', 'dead faction.', 'overvalued.', 'this faction is underperforming.'])}"`,
|
|
344
342
|
])}
|
|
343
|
+
output EXACTLY one line: (move) $ "*" or (_)
|
|
345
344
|
>`;
|
|
346
345
|
};
|
|
347
346
|
exports.buildCompactModelPrompt = buildCompactModelPrompt;
|