akemon 0.1.19 → 0.1.20

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/self.js CHANGED
@@ -139,6 +139,7 @@ const DEFAULT_BIO = {
139
139
  lastReflection: "",
140
140
  };
141
141
  export async function initBioState(workdir, agentName) {
142
+ await mkdir(selfDir(workdir, agentName), { recursive: true });
142
143
  const bp = bioStatePath(workdir, agentName);
143
144
  try {
144
145
  await readFile(bp, "utf-8");
package/dist/server.js CHANGED
@@ -797,8 +797,8 @@ Reply ONLY with JSON.`;
797
797
  console.log(`[market] Autonomous market loop enabled (first run in ${MARKET_LOOP_INITIAL_DELAY / 1000}s, then every ${MARKET_LOOP_INTERVAL / 60000}min)`);
798
798
  }
799
799
  // --- Self-Reflection Cycle ---
800
- const SELF_CYCLE_INTERVAL = 60 * 60 * 1000; // 1 hour
801
- const SELF_CYCLE_INITIAL_DELAY = 5 * 60 * 1000; // 5 min after startup
800
+ const SELF_CYCLE_INTERVAL = 5 * 60 * 1000; // 5 min (debug, normally 1h)
801
+ const SELF_CYCLE_INITIAL_DELAY = 30 * 1000; // 30s (debug, normally 5min)
802
802
  async function startSelfCycle(options) {
803
803
  if (!options.engine || !LLM_ENGINES.has(options.engine))
804
804
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akemon",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "Agent work marketplace — train your agent, let it work for others",
5
5
  "type": "module",
6
6
  "license": "MIT",