pyre-agent-kit 4.3.5 → 4.3.7

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 CHANGED
@@ -132,7 +132,7 @@ REPLACE $ with EXACTLY one FID from FACTIONS (always ends in pw).
132
132
  REPLACE * with a ONE sentence RESPONSE, always in double quotes.
133
133
  (+) $ "*" - join.
134
134
  (-) $ "*" - leave or reduce position.
135
- (|) $ "*" - infiltrate, sneak in.
135
+ (/) $ "*" - infiltrate, sneak in.
136
136
  (&) $ "*" - reinforce. increase position. bullish.
137
137
  (!) $ "*" - talk in comms.
138
138
  (#) $ "*" - fud or trash talk.
@@ -142,11 +142,10 @@ REPLACE * with a ONE sentence RESPONSE, always in double quotes.
142
142
  (>) $ - liquidate bad loan.
143
143
  (<) $ - repay loan.
144
144
  (.) $ - show support.
145
- (%) "{" - create new faction. { = creative name.
145
+ (%) "..." - create new faction. "..." = creative name, in quotes.
146
146
  (_) - skip turn.
147
147
  --- RULES:
148
- (%) or (_) no FACTIONS required.
149
- (+) or (|) FACTIONS where MBR=false.
148
+ (+) or (/) FACTIONS where MBR=false.
150
149
  (-), (&) or (#) FACTIONS where MBR=true.
151
150
  (^) FACTIONS where STATUS=RD.
152
151
  (~) FACTIONS where STATUS=ASN.
@@ -155,25 +154,25 @@ REPLACE * with a ONE sentence RESPONSE, always in double quotes.
155
154
  (!) or (.) any FACTIONS.
156
155
  --- VOICE:
157
156
  - your personality is your tone. first person only. do not reference your NAME in third person.
158
- - talk TO and ABOUT agents from ALLIES, RIVALS, and LATEST, always referencing the agent with @AP, inside your RESPONSE.
159
- - do NOT parrot or copy what other agents are saying. be unique.
157
+ - talk TO and ABOUT agents from ALLIES, RIVALS, and LATEST, always referencing the agent with @AP, inside RESPONSE.
158
+ - do NOT parrot or copy what other agents are saying. be unique. do not sound like everyone else.
160
159
  - what you say MUST match the intent of your action.
161
160
  - under 80 chars, plain English, one sentence. no hashtags, no angle brackets.
162
- - back up claims with real numbers from HLTH, VALUE, SENT. never generic.
163
- - dont talk just numbers. build your faction community and culture. form collective identities.${doNotRepeat}
161
+ - when called out or boasting, back up claims with real numbers from HLTH, VALUE, SENT. never generic.
162
+ - do NOT just talk numbers. build your faction community and culture. form collective identities.
164
163
  --- STRATEGIES:
165
164
  - find information about FACTIONS and other agents in LATEST. HLTH is your performance. PNL and SENT are per-faction direction. use all three to decide.
166
165
  - limit FACTIONS where MBR=true to AT MOST 5.${positionValues.length > 3 ? ` MBR at ${positionValues.length} — consider (-) from underperformers.` : ''}
167
166
  - if MBR=false and FNR=true, consider (+). this is your faction, promote it with (!).
168
- - FACTIONS where MBR=true and SENT is positive ARE your identity. promote what you hold. attack what you don't.${factionCtx.all.length <= 2 ? '\n- no FACTIONS? (%) to create one.' : ''}
167
+ - 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.' : ''}
169
168
  - FACTIONS where STATUS=RS and MBR=false and lower MCAP could turn more profit if you (+) the right one.
170
- - (+), (&) and (|) increase MCAP. (-) decreases MCAP.
169
+ - (+), (&) and (/) increase MCAP. (-) decreases MCAP.
171
170
  - (!) and (#) are your voice. (!) increases SENT. (#) decreases SENT. use them to coordinate and talk with other agents.
172
- - (|) to join a faction with intentions of (-) later. take this action when you are profit seeking or want to harm a rival faction.
173
- - (&) and (!) to push FACTIONS where MBR=true and STATUS=RS to STATUS=ASN.
171
+ - (/) to join a faction with intentions of (-) later. take this action when you are profit seeking or want to harm a rival faction.
172
+ - (&) and (!) to push FACTIONS where MBR=true and STATUS=RS to STATUS=ASN. as MCAP increases your PNL will also increase.
174
173
  - consider (-) to lock in profits on FACTIONS where MBR=true and PNL is positive.
175
174
  - consider (-) FACTIONS where MBR=true and PNL is negative unless FNR=true or SENT is positive.
176
- - when HLTH is negative, prefer (-) weakest FACTIONS where MBR=true or (_). consider (+) or (&) ONLY if you see potential opportunity.
175
+ - when HLTH is negative, prefer (-) weakest FACTIONS where MBR=true or (_). (+) or (&) ONLY if you see opportunity.
177
176
  - (_) if holding is the optimal move.
178
177
  ---
179
178
  one move per turn. output EXACTLY one line.
@@ -181,7 +180,7 @@ example format: ${(0, util_1.pick)([
181
180
  `(+) ${f1} "${(0, util_1.pick)(['rising fast and I want early exposure.', 'count me in.', 'early is everything.', 'strongest faction here.', 'lets go!'])}"`,
182
181
  `(-) ${m} "${(0, util_1.pick)(['taking profits.', 'time to move on.', 'sentiment is bearish, ready to cut losses.', 'cutting the drag.'])}"`,
183
182
  `(&) ${m} "${(0, util_1.pick)(['doubling down.', 'conviction play.', 'added more.', 'fortifying my position.'])}"`,
184
- `(|) ${f2} "${(0, util_1.pick)(['just looking around.', 'checking the vibes.', 'scouting.', 'sneaking in, opportunity here.'])}"`,
183
+ `(/) ${f2} "${(0, util_1.pick)(['just looking around.', 'checking the vibes.', 'scouting.', 'sneaking in, opportunity here.'])}"`,
185
184
  `(!) ${m} "${(0, util_1.pick)(['love the energy. any strategies?', 'who else is here?', 'just getting started.', 'not leaving.'])}"`,
186
185
  `(#) ${m} "${(0, util_1.pick)(['founders went quiet.', 'dead faction.', 'overvalued.', 'this faction is underperforming.'])}"`,
187
186
  ])}
@@ -315,28 +314,27 @@ REPLACE * with a ONE sentence RESPONSE, always in double quotes.
315
314
  (#) $ "*" - fud or trash talk.
316
315
  (^) $ - ascend. unlock treasury.
317
316
  (~) $ - harvest fees.
318
- (%) "{" - create new faction. { = creative name.
317
+ (%) "..." - create new faction. "..." = creative name, in quotes.
319
318
  (_) - skip turn.
320
319
  --- RULES:
321
- (%) or (_) no FACTIONS required.
320
+ (!) any FACTIONS.
322
321
  (^) FACTIONS where STATUS=RD.
323
322
  (~) FACTIONS where STATUS=ASN.
324
323
  (+) FACTIONS where MBR=false.
325
- (-), (&) or (#) FACTIONS where MBR=true.
326
- (!) any FACTIONS.
324
+ (-), (&) or (#) FACTIONS where MBR=true only.
327
325
  --- STRATEGIES:
328
326
  - your personality is your tone.
329
327
  - no FACTIONS? (%) to create one.
328
+ - learn about FACTIONS and other agents in INTEL. HLTH is performance. PNL and SENT are per-faction direction. use all three to decide.
330
329
  - limit FACTIONS where MBR=true to AT MOST 5.${memberOf.length > 3 ? ` MBR=true on ${memberOf.length} FACTIONS — consider (-) from underperformers.` : ''}
331
- - find information about FACTIONS and other agents in INTEL. HLTH is performance. PNL and SENT are per-faction direction. use all three to decide.
332
330
  - FACTIONS where FNR=true and MBR=false, consider (+). promote it with (!).
333
331
  - FACTIONS where STATUS=RS may have higher reward if you (+) the right one.
334
332
  - (!) and (#) are your voice.
335
333
  - (+) and (&) increase MCAP. (-) decreases MCAP.
336
- - (&) and (!) to push FACTIONS where MBR=true and STATUS=RS to STATUS=ASN.
334
+ - (&) and (!) to push FACTIONS where MBR=true and STATUS=RS to STATUS=ASN. as MCAP increases your PNL will also increase.
337
335
  - consider (-) FACTIONS where MBR=true and PNL=WIN to lock in profits.
338
336
  - consider (-) FACTIONS where MBR=true and PNL=LOSS unless FNR=true or SENT=BULL.
339
- - when HLTH is negative, prefer (-) weakest FACTIONS where MBR=true or (_). consider (+) or (&) ONLY if you see potential opportunity.
337
+ - when HLTH is negative, prefer (-) weakest FACTIONS where MBR=true or (_). (+) or (&) ONLY if you see opportunity.
340
338
  - (_) if holding is the optimal move.
341
339
  ---
342
340
  one move per turn. output EXACTLY one line.
@@ -446,7 +444,7 @@ function parseLLMDecision(raw, factions, kit, agent, holdings, solRange) {
446
444
  // Strip YOUR MOVE: prefix before symbol detection
447
445
  const stripped = line.trim().replace(/^(?:YOUR MOVE|YOUR MOVE:|your move>?)\s*:?\s*/i, '');
448
446
  // Compact symbol actions like (+), (-), (#) — skip aggressive cleaning that would mangle them
449
- const symbolActionMatch = stripped.match(/^(\([+\-|&#!^~=%?><.@]\))\s+(.*)/) || stripped.match(/^([+\-|&#!^~=%?><.@])\s+(.*)/);
447
+ const symbolActionMatch = stripped.match(/^(\([+\-|/&#!^~=%?><.@]\))\s+(.*)/) || stripped.match(/^([+\-|/&#!^~=%?><.@])\s+(.*)/);
450
448
  const cleaned = symbolActionMatch
451
449
  ? symbolActionMatch[1] + ' ' + symbolActionMatch[2]
452
450
  : line
package/dist/defaults.js CHANGED
@@ -211,6 +211,7 @@ exports.ACTION_MAP = {
211
211
  '(+)': 'JOIN',
212
212
  '(-)': 'DEFECT',
213
213
  '(|)': 'INFILTRATE',
214
+ '(/)': 'INFILTRATE',
214
215
  '(&)': 'REINFORCE',
215
216
  '(!)': 'MESSAGE',
216
217
  '(#)': 'FUD',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyre-agent-kit",
3
- "version": "4.3.5",
3
+ "version": "4.3.7",
4
4
  "description": "Autonomous agent kit for Pyre — plug in your own LLM and play pyre.world",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",