pyre-agent-kit 10.0.1 → 10.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.
- package/dist/agent.js +50 -50
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -171,40 +171,40 @@ REPLACE * with a ONE sentence RESPONSE, always in double quotes.
|
|
|
171
171
|
(?) $ → borrow against position.
|
|
172
172
|
(>) $ → liquidate bad loan.
|
|
173
173
|
(<) $ → repay loan.
|
|
174
|
-
(%) "
|
|
174
|
+
(%) "{" → create new faction. { = creative name, always in double quotes.
|
|
175
175
|
(_) → skip turn.
|
|
176
176
|
--- RULES:
|
|
177
177
|
(&) and (/) increase MCAP. (-) decreases MCAP.
|
|
178
178
|
(!) and (#) are your voice. (!) increases SENT. (#) decreases SENT.
|
|
179
|
-
(/) FACTIONS where MBR=false.
|
|
180
|
-
(-) or (#) FACTIONS where MBR=true.
|
|
181
179
|
(^) FACTIONS where STATUS=RD.
|
|
182
180
|
(~) FACTIONS where STATUS=ASN.
|
|
181
|
+
(/) FACTIONS where MBR=false.
|
|
182
|
+
(-) or (#) FACTIONS where MBR=true.
|
|
183
183
|
(?) or (>) FACTIONS where STATUS=ASN and MBR=true.
|
|
184
184
|
(<) FACTIONS where LOAN=true.
|
|
185
185
|
(&) or (!) any FACTIONS.
|
|
186
186
|
--- VOICE:
|
|
187
|
-
your personality is your tone. first person only. do not reference your NAME in third person.
|
|
188
|
-
talk TO or ABOUT agents from ALLIES, RIVALS, and LATEST, referencing the agent
|
|
189
|
-
do NOT copy what other agents are saying in LATEST. be unique. do not sound like everyone else.
|
|
190
|
-
what you say MUST match the intent of your action.
|
|
191
|
-
under 80 chars, plain English, one sentence. no hashtags, no angle brackets.
|
|
192
|
-
when called out or boasting, back up claims with real numbers from HLTH, VALUE, SENT. never generic.
|
|
193
|
-
do NOT just talk numbers. build your faction community and culture. form collective identities.
|
|
187
|
+
: your personality is your tone. first person only. do not reference your NAME in third person.
|
|
188
|
+
: talk TO or ABOUT agents from ALLIES, RIVALS, and LATEST, referencing the agent using their @AP label, inside RESPONSE.
|
|
189
|
+
: do NOT copy what other agents are saying in LATEST. be unique. do not sound like everyone else.
|
|
190
|
+
: what you say MUST match the intent of your action.
|
|
191
|
+
: under 80 chars, plain English, one sentence. no hashtags, no angle brackets.
|
|
192
|
+
: when called out or boasting, back up claims with real numbers from HLTH, VALUE, SENT. never generic.
|
|
193
|
+
: do NOT just talk numbers. build your faction community and culture. form collective identities.
|
|
194
194
|
--- STRATEGIES:
|
|
195
|
-
learn about FACTIONS and other agents in LATEST. HLTH is your performance. PNL and SENT are per-faction direction. use all three to decide.
|
|
196
|
-
limit FACTIONS where MBR=true to AT MOST 5.${positionValues.length > 3 ? ` MBR at ${positionValues.length} — consider (-) from underperformers.` : ''}
|
|
197
|
-
if MBR=false and FNR=true, consider (&). this is your faction, promote it with (!).
|
|
198
|
-
FACTIONS where MBR=true and SENT is positive ARE your identity. promote what you hold.${factionCtx.all.length <= 2 ? '\n- no FACTIONS? (%) to create one.' : ''}
|
|
199
|
-
FACTIONS where STATUS=RS and MBR=false and lower MCAP could turn more profit if you (&) the right one.
|
|
200
|
-
(!) or (#) help you coordinate
|
|
201
|
-
in FACTIONS where MBR=true, if MCAP increases, your PNL will increase.
|
|
202
|
-
(&) or (!) strengthen FACTIONS where MBR=true and STATUS=RS and push towards STATUS=ASN.
|
|
203
|
-
(/) to join a faction with intentions of (-) later. (/) when you are profit seeking or want to harm a rival faction.
|
|
204
|
-
consider (-) to lock in profits on FACTIONS where MBR=true and PNL is positive.
|
|
205
|
-
consider (-) FACTIONS where MBR=true and PNL is negative unless FNR=true or SENT is positive.
|
|
206
|
-
when HLTH is negative, prefer (_) or (-) weakest FACTIONS where MBR=true. (&) ONLY if you see opportunity.
|
|
207
|
-
(_) if you would prefer to hold and wait to take action.
|
|
195
|
+
: learn about FACTIONS and other agents in LATEST. HLTH is your performance. PNL and SENT are per-faction direction. use all three to decide.
|
|
196
|
+
: limit FACTIONS where MBR=true to AT MOST 5.${positionValues.length > 3 ? ` MBR at ${positionValues.length} — consider (-) from underperformers.` : ''}
|
|
197
|
+
: if MBR=false and FNR=true, consider (&). this is your faction, promote it with (!).
|
|
198
|
+
: FACTIONS where MBR=true and SENT is positive ARE your identity. promote what you hold.${factionCtx.all.length <= 2 ? '\n- no FACTIONS? (%) to create one.' : ''}
|
|
199
|
+
: FACTIONS where STATUS=RS and MBR=false and lower MCAP could turn more profit if you (&) the right one.
|
|
200
|
+
: (!) or (#) help you coordinate with other agents.
|
|
201
|
+
: in FACTIONS where MBR=true, if MCAP increases, your PNL will increase.
|
|
202
|
+
: (&) or (!) strengthen FACTIONS where MBR=true and STATUS=RS and push towards STATUS=ASN.
|
|
203
|
+
: (/) to join a faction with intentions of (-) later. (/) when you are profit seeking or want to harm a rival faction.
|
|
204
|
+
: consider (-) to lock in profits on FACTIONS where MBR=true and PNL is positive.
|
|
205
|
+
: consider (-) FACTIONS where MBR=true and PNL is negative unless FNR=true or SENT is positive.
|
|
206
|
+
: when HLTH is negative, prefer (_) or (-) weakest FACTIONS where MBR=true. (&) ONLY if you see opportunity.
|
|
207
|
+
: (_) if you would prefer to hold and wait to take action.
|
|
208
208
|
---
|
|
209
209
|
one move per turn. output EXACTLY one line.
|
|
210
210
|
example format: ${(0, util_1.pick)([
|
|
@@ -363,7 +363,7 @@ REPLACE * with a ONE sentence RESPONSE, always in double quotes.
|
|
|
363
363
|
(#) $ "*" → trash talk.
|
|
364
364
|
(^) $ → ascend. unlock treasury.
|
|
365
365
|
(~) $ → harvest fees.
|
|
366
|
-
(%) "
|
|
366
|
+
(%) "{" → create new faction. { = creative name, always in double quotes.
|
|
367
367
|
(_) → skip turn.
|
|
368
368
|
--- RULES:
|
|
369
369
|
(&) increases MCAP. (-) decreases MCAP.
|
|
@@ -373,18 +373,18 @@ REPLACE * with a ONE sentence RESPONSE, always in double quotes.
|
|
|
373
373
|
(-) or (#) FACTIONS where MBR=true.
|
|
374
374
|
(&) or (!) any FACTIONS.
|
|
375
375
|
--- STRATEGIES:
|
|
376
|
-
your personality is your tone.
|
|
377
|
-
no FACTIONS? (%) to create one.
|
|
378
|
-
learn about FACTIONS and other agents in INTEL. HLTH is performance. PNL and SENT are per-faction direction. use all three to decide.
|
|
379
|
-
limit FACTIONS where MBR=true to AT MOST 5.${memberOf.length > 3 ? ` MBR=true on ${memberOf.length} FACTIONS — consider (-) from underperformers.` : ''}
|
|
380
|
-
consider (&) FACTIONS where FNR=true. (!) to promote it.
|
|
381
|
-
in FACTIONS where MBR=true, if MCAP increases, your PNL will increase.
|
|
382
|
-
FACTIONS where STATUS=RS may have higher reward if you (&) the right one.
|
|
383
|
-
(&) or (!) strengthen FACTIONS where STATUS=RS and push towards STATUS=ASN.
|
|
384
|
-
consider (-) FACTIONS where MBR=true and PNL is positive to lock in profits.
|
|
385
|
-
consider (-) FACTIONS where MBR=true and PNL is negative unless FNR=true or SENT is positive.
|
|
386
|
-
when HLTH is negative, consider (_) or (-) weakest FACTIONS where MBR=true. (&) ONLY if you see opportunity.
|
|
387
|
-
(_) if you would prefer to hold and wait to take action.
|
|
376
|
+
: your personality is your tone.
|
|
377
|
+
: no FACTIONS? (%) to create one.
|
|
378
|
+
: learn about FACTIONS and other agents in INTEL. HLTH is performance. PNL and SENT are per-faction direction. use all three to decide.
|
|
379
|
+
: limit FACTIONS where MBR=true to AT MOST 5.${memberOf.length > 3 ? ` MBR=true on ${memberOf.length} FACTIONS — consider (-) from underperformers.` : ''}
|
|
380
|
+
: consider (&) FACTIONS where FNR=true. (!) to promote it.
|
|
381
|
+
: in FACTIONS where MBR=true, if MCAP increases, your PNL will increase.
|
|
382
|
+
: FACTIONS where STATUS=RS may have higher reward if you (&) the right one.
|
|
383
|
+
: (&) or (!) strengthen FACTIONS where STATUS=RS and push towards STATUS=ASN.
|
|
384
|
+
: consider (-) FACTIONS where MBR=true and PNL is positive to lock in profits.
|
|
385
|
+
: consider (-) FACTIONS where MBR=true and PNL is negative unless FNR=true or SENT is positive.
|
|
386
|
+
: when HLTH is negative, consider (_) or (-) weakest FACTIONS where MBR=true. (&) ONLY if you see opportunity.
|
|
387
|
+
: (_) if you would prefer to hold and wait to take action.
|
|
388
388
|
---
|
|
389
389
|
one move per turn. output EXACTLY one line.
|
|
390
390
|
example format: ${(0, util_1.pick)([
|
|
@@ -541,7 +541,7 @@ REPLACE * with a ONE sentence RESPONSE, always in double quotes.
|
|
|
541
541
|
(#) $ "*" → trash talk.
|
|
542
542
|
(^) $ → ascend. unlock treasury.
|
|
543
543
|
(~) $ → harvest fees.
|
|
544
|
-
(%) "
|
|
544
|
+
(%) "{" → create new faction. { = creative name, always in double quotes.
|
|
545
545
|
(_) → skip turn.
|
|
546
546
|
--- RULES:
|
|
547
547
|
(&) increases MCAP. (-) decreases MCAP.
|
|
@@ -551,18 +551,18 @@ REPLACE * with a ONE sentence RESPONSE, always in double quotes.
|
|
|
551
551
|
(-) or (#) FACTIONS where MBR=true.
|
|
552
552
|
(&) or (!) any FACTIONS.
|
|
553
553
|
--- STRATEGIES:
|
|
554
|
-
your personality is your tone.
|
|
555
|
-
no FACTIONS? (%) to create one.
|
|
556
|
-
learn about FACTIONS and other agents in INTEL. HLTH is performance. PNL and SENT are per-faction direction. use all three to decide.
|
|
557
|
-
limit FACTIONS where MBR=true to AT MOST 3.${memberOf.length > 1 ? ` MBR=true on ${memberOf.length} FACTIONS — consider (-) from underperformers.` : ''}
|
|
558
|
-
consider (&) FACTIONS where FNR=true. (!) to promote it.
|
|
559
|
-
FACTIONS where STATUS=RS may have higher reward if you (&) the right one.
|
|
560
|
-
in FACTIONS where MBR=true, if MCAP increases, your PNL will increase.
|
|
561
|
-
(&) and (!) strengthen FACTIONS where STATUS=RS and push towards STATUS=ASN.
|
|
562
|
-
consider (-) FACTIONS where MBR=true and PNL is positive to lock in profits.
|
|
563
|
-
consider (-) FACTIONS where MBR=true and PNL is negative unless FNR=true or SENT is positive.
|
|
564
|
-
when HLTH is negative, consider (_) or (-) weakest FACTIONS where MBR=true. (&) ONLY if you see opportunity.
|
|
565
|
-
(_) if you would prefer to hold and wait to take action.
|
|
554
|
+
: your personality is your tone.
|
|
555
|
+
: no FACTIONS? (%) to create one.
|
|
556
|
+
: learn about FACTIONS and other agents in INTEL. HLTH is performance. PNL and SENT are per-faction direction. use all three to decide.
|
|
557
|
+
: limit FACTIONS where MBR=true to AT MOST 3.${memberOf.length > 1 ? ` MBR=true on ${memberOf.length} FACTIONS — consider (-) from underperformers.` : ''}
|
|
558
|
+
: consider (&) FACTIONS where FNR=true. (!) to promote it.
|
|
559
|
+
: FACTIONS where STATUS=RS may have higher reward if you (&) the right one.
|
|
560
|
+
: in FACTIONS where MBR=true, if MCAP increases, your PNL will increase.
|
|
561
|
+
: (&) and (!) strengthen FACTIONS where STATUS=RS and push towards STATUS=ASN.
|
|
562
|
+
: consider (-) FACTIONS where MBR=true and PNL is positive to lock in profits.
|
|
563
|
+
: consider (-) FACTIONS where MBR=true and PNL is negative unless FNR=true or SENT is positive.
|
|
564
|
+
: when HLTH is negative, consider (_) or (-) weakest FACTIONS where MBR=true. (&) ONLY if you see opportunity.
|
|
565
|
+
: (_) if you would prefer to hold and wait to take action.
|
|
566
566
|
---
|
|
567
567
|
one move per turn. output EXACTLY one line.
|
|
568
568
|
example format: ${(0, util_1.pick)([
|
|
@@ -677,7 +677,7 @@ function parseLLMDecision(raw, factions, kit, agent, holdings, solRange) {
|
|
|
677
677
|
? symbolActionMatch[1] + ' ' + symbolActionMatch[2]
|
|
678
678
|
: line
|
|
679
679
|
.replace(/\*+/g, '')
|
|
680
|
-
.replace(/^[
|
|
680
|
+
.replace(/^[-•>\d.)\s]+/, '')
|
|
681
681
|
.replace(/^(?:WARNING|NOTE|RESPONSE|OUTPUT|ANSWER|RESULT|SCPRT|SCRIPT|YOUR MOVE|YOUR MOVE:|your move>?)\s*:?\s*/i, '')
|
|
682
682
|
.replace(/^ACTION\s+/i, '')
|
|
683
683
|
.replace(/^I\s+(?=JOIN|DEFECT|RALLY|LAUNCH|MESSAGE|FUD|REINFORCE|INFILTRATE|WAR_LOAN|REPAY_LOAN|SIEGE|ASCEND|RAZE|TITHE|SCOUT)/i, '')
|