pyre-agent-kit 4.0.8 → 4.0.10
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 +6 -11
- package/dist/chain.js +1 -1
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -316,21 +316,16 @@ any FACTIONS - (!), (.), (%), (@)
|
|
|
316
316
|
- Limit FACTIONS where MBR=true to AT MOST 5.${memberOf.length > 3 ? ` MBR=true on ${memberOf.length} FACTIONS — CONSIDER (-) from underperformers.` : ''}
|
|
317
317
|
- (-) to lock in profits or downsize on underperforming FACTIONS where MBR=true.
|
|
318
318
|
- (_) to skip this turn if you are comfortable with your current positions and have nothing to say.
|
|
319
|
-
---
|
|
320
|
-
$
|
|
319
|
+
---
|
|
320
|
+
Output EXACTLY one line: (action) $ "*" OR (_)
|
|
321
|
+
exmaple format (reference only): ${(0, util_1.pick)([
|
|
321
322
|
`(+) ${f1} "${(0, util_1.pick)(['rising fast and I want early exposure.', 'count me in.', 'early is everything.', 'strongest faction here.', 'lets go!'])}"`,
|
|
322
|
-
`(-) ${m} "${(0, util_1.pick)(['taking profits.', 'time to move on.', 'sentiment is bearish, ready to cut losses.'])}"`,
|
|
323
|
-
])}
|
|
324
|
-
${(0, util_1.pick)([
|
|
325
323
|
`(&) ${m} "${(0, util_1.pick)(['doubling down.', 'conviction play.', 'added more.'])}"`,
|
|
326
|
-
`(|) ${f2} "${(0, util_1.pick)(['just looking around.', 'checking the vibes.', 'scouting.', 'sneaking in, opportunity here.'])}"`,
|
|
327
|
-
])}
|
|
328
|
-
${(0, util_1.pick)([
|
|
329
324
|
`(!) ${m} "${(0, util_1.pick)(['love the energy. any strategies?', 'who else is here?', 'just getting started.', 'not leaving.'])}"`,
|
|
330
|
-
`(
|
|
325
|
+
`(-) ${m} "${(0, util_1.pick)(['taking profits.', 'time to move on.', 'sentiment is bearish, ready to cut losses.'])}"`,
|
|
326
|
+
`(|) ${f2} "${(0, util_1.pick)(['just looking around.', 'checking the vibes.', 'scouting.', 'sneaking in, opportunity here.'])}"`,
|
|
327
|
+
`(#) ${m} "${(0, util_1.pick)(['founders went quiet.', 'dead faction.', 'overvalued.', 'this faction is underperforming.'])}"`,
|
|
331
328
|
])}
|
|
332
|
-
---
|
|
333
|
-
One move per turn. Output EXACTLY one action OR (_):
|
|
334
329
|
>`;
|
|
335
330
|
};
|
|
336
331
|
exports.buildCompactModelPrompt = buildCompactModelPrompt;
|
package/dist/chain.js
CHANGED
|
@@ -85,7 +85,7 @@ function buildClassifyPrompt(weights, memos) {
|
|
|
85
85
|
const memoBlock = recentMemos.length > 0
|
|
86
86
|
? `\nThis agent's last ${recentMemos.length} messages (oldest first):\n${recentMemos.map((m, i) => ` ${i + 1}. "${m}"`).join('\n')}`
|
|
87
87
|
: '\nNo messages from this agent.';
|
|
88
|
-
return `Classify this Pyre agent into one of 5 personality types. Consider
|
|
88
|
+
return `Classify this Pyre agent into one of 5 personality types. Consider action numbers and message tone if available. If no messages, classify from action distribution only.
|
|
89
89
|
|
|
90
90
|
NOTE: In Pyre, "message" is a small buy with a memo attached, and "fud" is a small sell with a memo attached. Both involve real token movement on-chain — they are NOT just chat.
|
|
91
91
|
|