@mecha.im/cli 0.3.6 → 0.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mecha-bot-dashboard",
3
3
  "private": true,
4
- "version": "0.3.6",
4
+ "version": "0.3.7",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
package/dist/src/cli.js CHANGED
@@ -31,7 +31,7 @@ const program = new Command();
31
31
  program
32
32
  .name("mecha")
33
33
  .description("An army of agents")
34
- .version("0.3.6");
34
+ .version("0.3.7");
35
35
  // --- init ---
36
36
  program
37
37
  .command("init")
@@ -142,7 +142,7 @@ async function spawnUnlocked(config, botPath, opts) {
142
142
  writeFileSync(costsPath, "{}\n");
143
143
  }
144
144
  const configPath = join(resolvedPath, "bot.yaml");
145
- writeFileSync(configPath, stringifyYaml(config), { mode: 0o600 });
145
+ writeFileSync(configPath, stringifyYaml(config), { mode: 0o644 });
146
146
  const botToken = "mecha_" + randomBytes(24).toString("hex");
147
147
  const binds = buildBinds(resolvedPath, configPath, config);
148
148
  const env = await buildContainerEnv(config, botToken);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mecha.im/cli",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "An army of agents — run autonomous Claude bots in Docker containers",
5
5
  "type": "module",
6
6
  "bin": {