macroclaw 0.6.0 → 0.8.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/package.json +1 -1
  2. package/src/claude.ts +10 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "macroclaw",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "description": "Telegram-to-Claude-Code bridge",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/claude.ts CHANGED
@@ -91,7 +91,16 @@ export class Claude {
91
91
  delete env.CLAUDECODE;
92
92
 
93
93
  const sessionFlag = options.resume ? "--resume" : "--session-id";
94
- const args = ["claude", "-p", sessionFlag, options.sessionId, "--output-format", "json"];
94
+ const args = [
95
+ "claude",
96
+ "-p",
97
+ sessionFlag,
98
+ options.sessionId,
99
+ "--output-format",
100
+ "json",
101
+ "--disallowedTools",
102
+ "CronList,CronDelete,CronCreate,AskUserQuestion",
103
+ ];
95
104
  if (!options.plainText) args.push("--json-schema", this.#jsonSchema);
96
105
  if (options.forkSession) args.push("--fork-session");
97
106
  if (options.model) args.push("--model", options.model);