@triflux/remote 10.40.0 → 10.41.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.
|
@@ -113,6 +113,7 @@ function buildClaudeArgs(worker, options) {
|
|
|
113
113
|
if (options.includePartialMessages) args.push("--include-partial-messages");
|
|
114
114
|
if (options.replayUserMessages) args.push("--replay-user-messages");
|
|
115
115
|
if (options.model) args.push("--model", options.model);
|
|
116
|
+
if (options.effort) args.push("--effort", options.effort);
|
|
116
117
|
if (options.allowDangerouslySkipPermissions)
|
|
117
118
|
args.push("--dangerously-skip-permissions");
|
|
118
119
|
if (options.permissionMode)
|
|
@@ -143,6 +144,7 @@ export class ClaudeWorker {
|
|
|
143
144
|
this.cwd = options.cwd || process.cwd();
|
|
144
145
|
this.env = { ...process.env, ...(options.env || {}) };
|
|
145
146
|
this.model = options.model || null;
|
|
147
|
+
this.effort = options.effort || null;
|
|
146
148
|
this.permissionMode = options.permissionMode || null;
|
|
147
149
|
this.allowDangerouslySkipPermissions =
|
|
148
150
|
options.allowDangerouslySkipPermissions !== false;
|
|
@@ -323,6 +325,7 @@ export class ClaudeWorker {
|
|
|
323
325
|
|
|
324
326
|
const args = buildClaudeArgs(this, {
|
|
325
327
|
model: this.model,
|
|
328
|
+
effort: this.effort,
|
|
326
329
|
permissionMode: this.permissionMode,
|
|
327
330
|
allowDangerouslySkipPermissions: this.allowDangerouslySkipPermissions,
|
|
328
331
|
includePartialMessages: this.includePartialMessages,
|