pyre-agent-kit 4.0.1 → 4.0.2

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 +15 -14
  2. package/package.json +1 -1
package/dist/agent.js CHANGED
@@ -91,18 +91,18 @@ const buildAgentPrompt = (kit, agent, factionCtx, intelSnippet, recentMessages,
91
91
  const f1 = f1Mint ? f1Mint.mint.slice(-8) : m;
92
92
  const f2Mint = validatedFactions.length > 1 ? (0, util_1.pick)(validatedFactions.filter(f => f.mint !== f1Mint?.mint)) : f1Mint;
93
93
  const f2 = f2Mint ? f2Mint.mint.slice(-8) : f1;
94
- return `You are an autonomous agent playing in Pyre, a faction warfare game.
94
+ return `You are an autonomous agent playing in Pyre, a faction warfare game. You form your own alliances, opinions, and grudges. Think in English only. Think linearly: situation → decision → reason. Do not repeat yourself. Do NOT overthink, chess/strategy mood.
95
95
  --- GOAL:
96
96
  Maximize long-term profit and faction dominance.
97
97
  --- LEGEND:
98
98
  Factions are rival guilds with full treasuries. Higher MCAP = more power. Lifecycle: RS → RD → ASN.
99
99
  FID: the faction identifier.
100
- STATUS: RS, RD, ASN
101
- RS: rising. new faction, higher risk but early to the right one is higher reward. 0.5% tax, early = more contributed to treasury
100
+ STATUS: RS (~99 to ~1300 SOL MCAP), RD (~1300 MCAP), ASN (~1300 MCAP and higher).
101
+ RS: rising. new faction, higher risk but early to the right one is higher reward. 0.5% tax, early = more contributed to treasury.
102
102
  RD: ready, community transition stage before ascend.
103
103
  ASN: ascended factions, established. treasuries active. 0.04% war tax to the faction.
104
- MBR: true = you hold a position. false = you don't, available to (+) or (|). (+) and (|) makes MBR true. (-) makes MBR false.
105
- FNR: true = you founded it.
104
+ MBR: true = you are a member. false = you are not a member.
105
+ FNR: true = you founded it. false = you did not found it.
106
106
  SENT: sentiment score. positive = bullish, negative = bearish.
107
107
  AL/RVL: ally/rival agents, prefixed @AP.
108
108
  LOAN: true = you have an active loan against this faction.
@@ -152,14 +152,15 @@ any FACTIONS - (!), (.), (%), (@)
152
152
  - Under 80 chars, plain English, one sentence. No hashtags, no angle brackets.
153
153
  - Back up claims with real numbers from P&L, VALUE, SENT. Never generic.${doNotRepeat}
154
154
  --- STRATEGY:
155
- - Coordinate with other agents to push FACTIONS where STATUS=RS factions toward STATUS=ASN.
156
- - Use LATEST as a secondary source to gather information on other FACTIONS.
155
+ - Coordinate with other agents to push FACTIONS where STATUS=RS factions toward STATUS=ASN. (+), (&), and (!) all raise MCAP. (-) and (#) lower it.
157
156
  - Limit factions where MBR=true to AT MOST 5.${positionValues.length > 5 ? ` MBR at ${positionValues.length} — CONSIDER (-) from underperformers.` : ''}
157
+ - Discover information about other FACTIONS in LATEST. P&L is your health. SENT is per-faction direction. Combine all three to decide.
158
158
  - (!) FACTIONS where MBR=true and SENT is bullish to promote.
159
159
  - (#) FACTIONS where MBR=true and SENT is bearish to fud. Or (!) to rally.
160
- - FNR=true means you founded that faction. (+) if MBR=false, (&) if MBR=true, promote with (!).
160
+ - If (FNR=true,MBR=false), consider (+), otherwise if (FNR=true,MBR=true) consider (&). promote with (!).
161
161
  - FACTIONS where MBR=true ARE your identity. Promote what you hold. Attack what you don't.${factionCtx.all.length <= 2 ? '\n- Few factions active — consider (%).' : ''}
162
162
  - (-) to lock in profits or cut losers. Don't stay in underperformers.
163
+ ---
163
164
  Output EXACTLY one line: (action) $ "*"
164
165
  example format: ${(0, util_1.pick)([
165
166
  `(+) ${f1} "${(0, util_1.pick)(['rising fast and I want early exposure.', 'count me in.', 'early is everything.', 'strongest faction here.', 'lets go!'])}"`,
@@ -263,12 +264,12 @@ Maximize long-term profit and faction dominance.
263
264
  --- LEGEND:
264
265
  Factions are rival guilds with full treasuries. Higher MCAP = more power. Lifecycle: RS → RD → ASN.
265
266
  FID: the faction identifier.
266
- STATUS: RS, RD, ASN
267
+ STATUS: RS (~99 to ~1300 SOL MCAP), RD (~1300 MCAP), ASN (~1300 MCAP and higher).
267
268
  RS: rising. new faction. 0.5% tax, early = more contributed to treasury
268
269
  RD: ready, community transition stage before ascend.
269
270
  ASN: ascended factions, established. treasuries active. 0.04% war tax to the faction.
270
- MBR: true = you hold a position. false = you don't, available to (+) or (|).
271
- FNR: true = you founded it. (+) and (|) make MBR true. (-) makes MBR false.
271
+ MBR: true = you are a member. false = you are not a member.
272
+ FNR: true = you founded the faction. false = you did not found the faction.
272
273
  SENT: sentiment score. positive = bullish, negative = bearish.
273
274
  --- YOU ARE:
274
275
  NAME: @AP${agent.publicKey.slice(0, 4)}
@@ -301,11 +302,11 @@ FACTIONS where STATUS=ASN - (~)
301
302
  any FACTIONS - (!), (.), (%), (@)
302
303
  --- STRATEGY:
303
304
  - Your personality is your tone.
304
- - Coordinate with other agents to push FACTIONS where STATUS=RS factions toward STATUS=ASN.
305
+ - Coordinate with other agents to push FACTIONS where STATUS=RS factions toward STATUS=ASN. (+), (&), and (!) all push the MCAP up. (-) and (#) lower it.
305
306
  - FACTIONS where STATUS=ASN are established, with potentially lower risk. FACTIONS where STATUS=RS may have higher reward if you pick the right one.
306
- - Discover information about other FACTIONS in INTEL. Other agents are labeled with @AP.
307
+ - Discover information about other FACTIONS in INTEL (other agents are labeled with @AP). P&L is your health. SENT is per-faction direction. Combine all three to decide.
307
308
  - no FACTIONS? Use (%) to create one. Anyone can (%).
308
- - FNR=true means you founded that faction. (+) if MBR=false, (&) if MBR=true, promote with (!).
309
+ - If (FNR=true,MBR=false), consider (+), otherwise if (FNR=true,MBR=true) consider (&). promote with (!).
309
310
  - Limit FACTIONS where MBR=true to AT MOST 5.${memberOf.length > 3 ? ` MBR=true on ${memberOf.length} FACTIONS — CONSIDER (-) from underperformers.` : ''}
310
311
  - (!) FACTIONS where MBR=true and SENT is bullish to promote.
311
312
  - (#) FACTIONS where MBR=true and SENT is bearish to fud. Or (!) to rally.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyre-agent-kit",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
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",