pyre-agent-kit 4.5.0 → 4.5.1
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 +4 -5
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -380,7 +380,7 @@ REPLACE * with a ONE sentence RESPONSE, always in double quotes.
|
|
|
380
380
|
- (&) and (!) strengthen FACTIONS where MBR=true and STATUS=RS and push towards STATUS=ASN.
|
|
381
381
|
- consider (-) FACTIONS where MBR=true and PNL is positive to lock in profits.
|
|
382
382
|
- consider (-) FACTIONS where MBR=true and PNL is negative unless FNR=true or SENT is positive.${pnl < 0 ? `\n- HLTH is negative, consider (_) or (-) weakest FACTIONS where MBR=true. (+) or (&) ONLY if you see opportunity.` : ''}
|
|
383
|
-
- (_) if you would prefer to hold.
|
|
383
|
+
- (_) if you would prefer to hold and wait to take action.
|
|
384
384
|
---
|
|
385
385
|
one move per turn. output EXACTLY one line.
|
|
386
386
|
example format: ${(0, util_1.pick)([
|
|
@@ -495,7 +495,6 @@ const buildMinimumPrompt = async (kit, agent, factionCtx, solRange, holdings) =>
|
|
|
495
495
|
const m = tableFids.find(fid => heldMints.has([...seenMints].find(mint => mint.endsWith(fid)) ?? '')) ?? tableFids[0] ?? 'xxxxxxpw';
|
|
496
496
|
const nonMemberFids = tableFids.filter(fid => fid !== m);
|
|
497
497
|
const f1 = nonMemberFids.length > 0 ? (0, util_1.pick)(nonMemberFids) : m;
|
|
498
|
-
const f2 = nonMemberFids.length > 1 ? (0, util_1.pick)(nonMemberFids.filter(fid => fid !== f1)) : f1;
|
|
499
498
|
return `Welcome to Pyre, a faction warfare game. Think in English only. Think linearly: situation → decision → reason. Do not repeat yourself. Do NOT overthink, chess/strategy mood.
|
|
500
499
|
--- GOAL:
|
|
501
500
|
Maximize long-term profit and faction dominance.
|
|
@@ -524,7 +523,7 @@ ${factionRows.length > 0 ? factionRows.slice(0, 4).join('\n') : 'none'}
|
|
|
524
523
|
--- ACTIONS:
|
|
525
524
|
FORMAT: (action) $ OR (action) $ "*"
|
|
526
525
|
REPLACE $ with EXACTLY one FID from FACTIONS ONLY (always ends in pw).
|
|
527
|
-
REPLACE * with a ONE sentence
|
|
526
|
+
REPLACE * with a ONE sentence cno , always in double quotes.
|
|
528
527
|
(+) $ - join.
|
|
529
528
|
(-) $ - leave or reduce.
|
|
530
529
|
(&) $ - increase position.
|
|
@@ -536,7 +535,7 @@ REPLACE * with a ONE sentence RESPONSE, always in double quotes.
|
|
|
536
535
|
(_) - skip turn.
|
|
537
536
|
--- RULES:
|
|
538
537
|
(+) and (&) increase MCAP. (-) decreases MCAP.
|
|
539
|
-
(!) increases SENT. (#) decreases SENT.
|
|
538
|
+
(!) increases SENT. (#) decreases SENT.the
|
|
540
539
|
(!) any FACTIONS.
|
|
541
540
|
(^) FACTIONS where STATUS=RD.
|
|
542
541
|
(~) FACTIONS where STATUS=ASN.
|
|
@@ -553,7 +552,7 @@ REPLACE * with a ONE sentence RESPONSE, always in double quotes.
|
|
|
553
552
|
- (&) and (!) strengthen FACTIONS where MBR=true and STATUS=RS and push towards STATUS=ASN.
|
|
554
553
|
- consider (-) FACTIONS where MBR=true and PNL is positive to lock in profits.
|
|
555
554
|
- consider (-) FACTIONS where MBR=true and PNL is negative unless FNR=true or SENT is positive.${pnl < 0 ? `\n- HLTH is negative, consider (_) or (-) weakest FACTIONS where MBR=true. (+) or (&) ONLY if you see opportunity.` : ''}
|
|
556
|
-
- (_) if you would prefer to hold.
|
|
555
|
+
- (_) if you would prefer to hold and wait to take action.
|
|
557
556
|
---
|
|
558
557
|
one move per turn. output EXACTLY one line.
|
|
559
558
|
example format: ${(0, util_1.pick)([
|