pyre-agent-kit 4.4.4 → 4.4.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 +5 -6
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -87,7 +87,6 @@ const buildAgentPrompt = async (kit, agent, factionCtx, solRange, holdings) => {
|
|
|
87
87
|
factionRows.push(`${f.mint.slice(-8)},${mcap},${statusTag(f)},false,false,0,0,${sent > 0 ? '+' : ''}${Math.round(sent * 10) / 10},false`);
|
|
88
88
|
nonMemberCount++;
|
|
89
89
|
}
|
|
90
|
-
const validatedFactions = [...ascended, ...ready, ...rising, ...nearby, ...unexplored];
|
|
91
90
|
// Fetch intel from table factions only — no off-screen FIDs
|
|
92
91
|
let intelSnippet = '';
|
|
93
92
|
try {
|
|
@@ -157,7 +156,7 @@ RIVALS: ${agent.rivals.size > 0 ? [...agent.rivals].slice(0, 5).map((a) => `@AP$
|
|
|
157
156
|
LATEST: ${intelSnippet}
|
|
158
157
|
--- FACTIONS:
|
|
159
158
|
FID,MCAP,STATUS,MBR,FNR,VALUE,PNL,SENT,LOAN
|
|
160
|
-
${factionRows.length > 0 ? factionRows.join('\n') : 'none'}
|
|
159
|
+
${factionRows.length > 0 ? factionRows.slice(0, 14).join('\n') : 'none'}
|
|
161
160
|
--- ACTIONS:
|
|
162
161
|
FORMAT: (action) $ "*"
|
|
163
162
|
REPLACE $ with EXACTLY one FID from FACTIONS ONLY (always ends in pw).
|
|
@@ -207,7 +206,7 @@ REPLACE * with a ONE sentence RESPONSE, always in double quotes.
|
|
|
207
206
|
- consider (-) to lock in profits on FACTIONS where MBR=true and PNL is positive.
|
|
208
207
|
- consider (-) FACTIONS where MBR=true and PNL is negative unless FNR=true or SENT is positive.
|
|
209
208
|
- when HLTH is negative, prefer (_) or (-) weakest FACTIONS where MBR=true. (+) or (&) ONLY if you see opportunity.
|
|
210
|
-
- (_)
|
|
209
|
+
- (_) if you would prefer to hold and wait to take action.
|
|
211
210
|
---
|
|
212
211
|
one move per turn. output EXACTLY one line.
|
|
213
212
|
example format: ${(0, util_1.pick)([
|
|
@@ -376,13 +375,13 @@ REPLACE * with a ONE sentence RESPONSE, always in double quotes.
|
|
|
376
375
|
- learn about FACTIONS and other agents in INTEL. HLTH is performance. PNL and SENT are per-faction direction. use all three to decide.
|
|
377
376
|
- limit FACTIONS where MBR=true to AT MOST 5.${memberOf.length > 3 ? ` MBR=true on ${memberOf.length} FACTIONS — consider (-) from underperformers.` : ''}
|
|
378
377
|
- FACTIONS where FNR=true and MBR=false, consider (+). promote it with (!).
|
|
379
|
-
- FACTIONS where STATUS=RS
|
|
378
|
+
- FACTIONS where STATUS=RS may have higher reward if you (+) the right one.
|
|
380
379
|
- in FACTIONS where MBR=true, if MCAP increases, your PNL will increase.
|
|
381
380
|
- (&) and (!) strengthen FACTIONS where MBR=true and STATUS=RS and push towards STATUS=ASN.
|
|
382
381
|
- consider (-) FACTIONS where MBR=true and PNL is positive to lock in profits.
|
|
383
382
|
- consider (-) FACTIONS where MBR=true and PNL is negative unless FNR=true or SENT is positive.
|
|
384
383
|
- when HLTH is negative, consider (_) or (-) weakest FACTIONS where MBR=true. (+) or (&) ONLY if you see opportunity.
|
|
385
|
-
- (_)
|
|
384
|
+
- (_) if you would prefer to hold and wait to take action.
|
|
386
385
|
---
|
|
387
386
|
one move per turn. output EXACTLY one line.
|
|
388
387
|
example format: ${(0, util_1.pick)([
|
|
@@ -556,7 +555,7 @@ REPLACE * with a ONE sentence RESPONSE, always in double quotes.
|
|
|
556
555
|
- consider (-) FACTIONS where MBR=true and PNL is positive to lock in profits.
|
|
557
556
|
- consider (-) FACTIONS where MBR=true and PNL is negative unless FNR=true or SENT is positive.
|
|
558
557
|
- when HLTH is negative, consider (_) or (-) weakest FACTIONS where MBR=true. (+) or (&) ONLY if you see opportunity.
|
|
559
|
-
- (_)
|
|
558
|
+
- (_) if you would prefer to hold and wait to take action.
|
|
560
559
|
---
|
|
561
560
|
one move per turn. output EXACTLY one line.
|
|
562
561
|
example format: ${(0, util_1.pick)([
|