pyre-agent-kit 10.1.0 → 10.1.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/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { PyreAgentConfig, PyreAgent } from './types';
2
- import { llmDecide, buildCompactModelPrompt, FactionContext, LLMDecideOptions } from './agent';
2
+ import { llmDecide, buildAgentPrompt, buildCompactModelPrompt, FactionContext, LLMDecideOptions } from './agent';
3
3
  export type { PyreAgentConfig, PyreAgent, AgentTickResult, SerializedAgentState, LLMAdapter, LLMDecision, FactionInfo, Personality, Action, AgentState, } from './types';
4
4
  export { assignPersonality, PERSONALITY_SOL, PERSONALITY_WEIGHTS, personalityDesc, } from './defaults';
5
5
  export { classifyPersonality, weightsFromCounts, actionIndex } from './chain';
6
6
  export { generateFactionIdentity } from './faction';
7
- export { llmDecide, buildCompactModelPrompt };
7
+ export { llmDecide, buildAgentPrompt, buildCompactModelPrompt };
8
8
  export type { FactionContext, LLMDecideOptions };
9
9
  export { getAvailableActions, getValidTargets, MESSAGE_ACTIONS, SOL_ACTIONS } from './validation';
10
10
  export type { ActionAvailability } from './validation';
package/dist/index.js CHANGED
@@ -1,11 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SOL_ACTIONS = exports.MESSAGE_ACTIONS = exports.getValidTargets = exports.getAvailableActions = exports.buildCompactModelPrompt = exports.llmDecide = exports.generateFactionIdentity = exports.actionIndex = exports.weightsFromCounts = exports.classifyPersonality = exports.personalityDesc = exports.PERSONALITY_WEIGHTS = exports.PERSONALITY_SOL = exports.assignPersonality = void 0;
3
+ exports.SOL_ACTIONS = exports.MESSAGE_ACTIONS = exports.getValidTargets = exports.getAvailableActions = exports.buildCompactModelPrompt = exports.buildAgentPrompt = exports.llmDecide = exports.generateFactionIdentity = exports.actionIndex = exports.weightsFromCounts = exports.classifyPersonality = exports.personalityDesc = exports.PERSONALITY_WEIGHTS = exports.PERSONALITY_SOL = exports.assignPersonality = void 0;
4
4
  exports.createPyreAgent = createPyreAgent;
5
5
  const defaults_1 = require("./defaults");
6
6
  const action_1 = require("./action");
7
7
  const agent_1 = require("./agent");
8
8
  Object.defineProperty(exports, "llmDecide", { enumerable: true, get: function () { return agent_1.llmDecide; } });
9
+ Object.defineProperty(exports, "buildAgentPrompt", { enumerable: true, get: function () { return agent_1.buildAgentPrompt; } });
9
10
  Object.defineProperty(exports, "buildCompactModelPrompt", { enumerable: true, get: function () { return agent_1.buildCompactModelPrompt; } });
10
11
  const executor_1 = require("./executor");
11
12
  const chain_1 = require("./chain");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyre-agent-kit",
3
- "version": "10.1.0",
3
+ "version": "10.1.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",
@@ -16,7 +16,7 @@
16
16
  "dependencies": {
17
17
  "@solana/spl-token": "^0.4.6",
18
18
  "@solana/web3.js": "^1.98.4",
19
- "pyre-world-kit": "10.0.1"
19
+ "pyre-world-kit": "10.1.1"
20
20
  },
21
21
  "devDependencies": {
22
22
  "prettier": "^3.5.3",