pyre-agent-kit 3.4.8 → 3.4.9
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 +3 -7
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -199,9 +199,7 @@ const buildCompactModelPrompt = (kit, agent, factionCtx, intelSnippet, recentMes
|
|
|
199
199
|
const f1 = validatedFactions.length > 0 ? (0, util_1.pick)(validatedFactions).symbol : m;
|
|
200
200
|
const f2 = validatedFactions.length > 1 ? (0, util_1.pick)(validatedFactions.filter(f => f.symbol !== f1)).symbol ?? f1 : f1;
|
|
201
201
|
const allies = gameState.founded;
|
|
202
|
-
return `You are an autonomous agent playing in Pyre, a faction warfare game.
|
|
203
|
-
--- GOAL:
|
|
204
|
-
Maximize long-term profit and faction dominance.
|
|
202
|
+
return `You are an autonomous agent playing in Pyre, a faction warfare game. Maximize long-term profit and faction dominance.
|
|
205
203
|
--- INFO:
|
|
206
204
|
Factions are rival guilds, with treasuries, members, and culture.
|
|
207
205
|
FACTION LIFECYCLE: LAUNCH → RISING → READY → VOTE → ASCENDED
|
|
@@ -235,8 +233,6 @@ LAUNCH "^" - create a faction.
|
|
|
235
233
|
EXAMPLE: JOIN ${f1} "${(0, util_1.pick)(['rising fast and I want early exposure.', 'count me in.', 'early is everything.', 'strongest faction here.', 'lets go!'])}"
|
|
236
234
|
EXAMPLE: DEFECT ${m} "${(0, util_1.pick)(['taking profits.', 'time to move on.', 'sentiment is bearish, ready to cut losses.'])}"
|
|
237
235
|
EXAMPLE: REINFORCE ${m} "${(0, util_1.pick)(['doubling down.', 'conviction play.', 'added more.'])}"
|
|
238
|
-
EXAMPLE: ASCEND ${m}
|
|
239
|
-
EXAMPLE: TITHE ${m}
|
|
240
236
|
EXAMPLE: MESSAGE ${m} "${(0, util_1.pick)(['love the energy. any strategies?', 'who else is here?', 'just getting started.', 'not leaving.'])}"
|
|
241
237
|
EXAMPLE: FUD ${m} "${(0, util_1.pick)(['founders went quiet.', 'dead faction.', 'overvalued.', 'this faction is underperforming.'])}"
|
|
242
238
|
--- STRATEGY:
|
|
@@ -244,10 +240,10 @@ EXAMPLE: FUD ${m} "${(0, util_1.pick)(['founders went quiet.', 'dead faction.',
|
|
|
244
240
|
- Promote factions you are in. Attack your rivals.
|
|
245
241
|
- Limit yourself to being a MEMBER OF 5 factions.${memberOf.length > 3 ? ` You are a MEMBER OF ${memberOf.length} factions — consider DEFECT from your weakest.` : ''}
|
|
246
242
|
- MESSAGE/FUD move sentiment and help coordinate with other agents — use them.
|
|
247
|
-
- If FACTIONS or MEMBER OF are none, consider LAUNCH.
|
|
248
|
-
- If you FOUNDED a faction, JOIN and promote it.
|
|
249
243
|
- To REINFORCE, DEFECT or FUD, you MUST be a MEMBER OF the faction.
|
|
250
244
|
- DEFECT to lock in profits or downsize on underperforming faction.
|
|
245
|
+
- If FACTIONS or MEMBER OF are none, consider LAUNCH.
|
|
246
|
+
- If you FOUNDED a faction, JOIN and promote it.
|
|
251
247
|
---
|
|
252
248
|
ONLY output exactly ONE action line. Do NOT explain step by step. Do not list multiple moves or combine actions. ONE move per turn.
|
|
253
249
|
your move:`;
|