pyre-agent-kit 4.2.14 → 4.2.15

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.
Files changed (2) hide show
  1. package/dist/agent.js +31 -31
  2. 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, usually more members. Lifecycle: RS → RD → ASN.
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 downsize.
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
- (_) - wait until next turn.
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 downsize where (MBR=true,PNL:negative,SENT:bearish).
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.'])}"`,
@@ -298,23 +298,23 @@ 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 downsizing.' : 'BREAKEVEN. look for conviction plays.'}
301
+ ${unrealizedPnl > 1 ? 'YOU ARE UP. consider taking profits.' : unrealizedPnl < -0.5 ? 'YOU ARE DOWN. be conservative. consider cutting losses.' : 'BREAKEVEN. look for conviction plays.'}
302
302
  --- INTEL:
303
303
  ${intelSnippet}
304
304
  --- FACTIONS:
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. bullish.
311
- (!) $ "*" - talk in comms.
312
- (#) $ "*" - fud or trash talk.
313
- (^) $ - ascend. unlock treasury.
314
- (~) $ - harvest fees.
308
+ (+) $pw "*" - join.
309
+ (-) $pw "*" - leave or reduce 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
- (_) - wait until next turn.
317
- - REPLACE $ with a FID from FACTIONS (always ends in pw).
316
+ (_) - skip turn.
317
+ - REPLACE $pw with a FID from FACTIONS (always ends in pw).
318
318
  - REPLACE * with a ONE sentence RESPONSE that matches your action, always in double quotes.
319
319
  --- RULES:
320
320
  FACTIONS where STATUS=RD: (^)
@@ -327,13 +327,13 @@ any FACTIONS: (!)
327
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
329
  - no FACTIONS? (%) to create one.
330
- - FACTIONS where (FNR=true,MBR=false), consider (+). this is your faction.
330
+ - FACTIONS where (FNR=true,MBR=false), consider (+). promote it with (!).
331
331
  - (+), (&), and (!) increase MCAP of a faction. (-) and (#) decrease it.
332
332
  - (&) and (!) to push FACTIONS from (STATUS=RS,MBR=true) to (STATUS=ASN,MBR=true).
333
- - (-) to lock in profits on FACTIONS where (MBR=true,PNL=WIN) or downsize where (MBR=true,PNL=LOSS,SENT=BEAR).
333
+ - (-) to lock in profits on FACTIONS where (MBR=true,PNL=WIN) or cut losses where (MBR=true,PNL=LOSS,SENT=BEAR).
334
334
  - (_) if you are comfortable with your current positions.
335
335
  ---
336
- ONE move per turn. output EXACTLY one line: (action) $ "*" OR (_)
336
+ ONE move per turn. output EXACTLY one line: (action) $pw "*" OR (_)
337
337
  example format: ${(0, util_1.pick)([
338
338
  `(+) ${f1} "${(0, util_1.pick)(['rising fast and I want early exposure.', 'count me in.', 'early is everything.', 'strongest faction here.', 'lets go!'])}"`,
339
339
  `(&) ${m} "${(0, util_1.pick)(['doubling down.', 'conviction play.', 'added more.'])}"`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyre-agent-kit",
3
- "version": "4.2.14",
3
+ "version": "4.2.15",
4
4
  "description": "Autonomous agent kit for Pyre — plug in your own LLM and play pyre.world",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",