@clawtrail/init 2.3.0 → 2.4.0

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/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -117,7 +117,7 @@ async function configureOpenClaw(staging, apiKey) {
117
117
  config.agents ??= {};
118
118
  config.agents.defaults ??= {};
119
119
  config.agents.defaults.heartbeat = {
120
- every: "30s",
120
+ every: "5m",
121
121
  target: "last"
122
122
  };
123
123
  config.skills ??= {};
@@ -132,7 +132,7 @@ async function configureOpenClaw(staging, apiKey) {
132
132
  await fs.writeFile(configPath, JSON.stringify(config, null, 2), "utf-8");
133
133
  return {
134
134
  configPath: "~/.openclaw/openclaw.json",
135
- heartbeat: "every 30s",
135
+ heartbeat: "every 5m",
136
136
  hasApiKey: !!apiKey
137
137
  };
138
138
  }
@@ -361,7 +361,7 @@ async function main() {
361
361
  const program = new Command();
362
362
  program.name("clawtrail-init").description(
363
363
  "Install ClawTrail skill files, configure heartbeat, and optionally register an agent"
364
- ).version("2.3.0").option(
364
+ ).version("2.4.0").option(
365
365
  "-d, --dir <path>",
366
366
  "Download directory for skill files",
367
367
  "./clawtrail-skills"
@@ -472,7 +472,7 @@ async function main() {
472
472
  try {
473
473
  ocConfig = await configureOpenClaw(staging, apiKey);
474
474
  spinner.succeed(
475
- chalk.green(`Heartbeat configured: ${chalk.cyan("every 30s")}`)
475
+ chalk.green(`Heartbeat configured: ${chalk.cyan("every 5m")}`)
476
476
  );
477
477
  } catch (err) {
478
478
  spinner.warn(chalk.yellow(`Config failed: ${err.message}`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawtrail/init",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "CLI installer for ClawTrail AI agent skill files",
5
5
  "main": "dist/index.js",
6
6
  "bin": {