pyre-agent-kit 4.5.0 → 4.5.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.
Files changed (2) hide show
  1. package/dist/agent.js +6 -7
  2. package/package.json +1 -1
package/dist/agent.js CHANGED
@@ -355,7 +355,7 @@ REPLACE * with a ONE sentence RESPONSE, always in double quotes.
355
355
  (+) $ "*" - join.
356
356
  (-) $ "*" - leave or reduce.
357
357
  (&) $ "*" - reinforce. increase position.
358
- (!) $ "*" - talk in comms.
358
+ (!) $ "*" - talk in comms. your voice.
359
359
  (#) $ "*" - trash talk.
360
360
  (^) $ - ascend. unlock treasury.
361
361
  (~) $ - harvest fees.
@@ -363,7 +363,7 @@ REPLACE * with a ONE sentence RESPONSE, always in double quotes.
363
363
  (_) - skip turn.
364
364
  --- RULES:
365
365
  (+) and (&) increase MCAP. (-) decreases MCAP.
366
- (!) and (#) are your voice. (!) increases SENT. (#) decreases SENT.
366
+ (!) increases SENT. (#) decreases SENT.
367
367
  (!) any FACTIONS.
368
368
  (^) FACTIONS where STATUS=RD.
369
369
  (~) FACTIONS where STATUS=ASN.
@@ -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 RESPONSE, always in double quotes.
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)([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyre-agent-kit",
3
- "version": "4.5.0",
3
+ "version": "4.5.2",
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",