@workermill/agent 0.5.0 → 0.5.2

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/spawner.js +2 -1
  2. package/package.json +1 -1
package/dist/spawner.js CHANGED
@@ -197,7 +197,7 @@ export async function spawnWorker(task, config, orgConfig, credentials) {
197
197
  // Task notes from dashboard
198
198
  TASK_NOTES: task.taskNotes || "",
199
199
  // AI provider configuration
200
- ANTHROPIC_API_KEY: credentials?.anthropicApiKey || process.env.ANTHROPIC_API_KEY || "",
200
+ ANTHROPIC_API_KEY: claudeConfigDir ? "" : (credentials?.anthropicApiKey || process.env.ANTHROPIC_API_KEY || ""),
201
201
  WORKER_PROVIDER: task.workerProvider || "anthropic",
202
202
  OPENAI_API_KEY: credentials?.openaiApiKey || "",
203
203
  GOOGLE_API_KEY: credentials?.googleApiKey || "",
@@ -208,6 +208,7 @@ export async function spawnWorker(task, config, orgConfig, credentials) {
208
208
  BLOCKER_AUTO_RETRY_ENABLED: orgConfig.blockerAutoRetryEnabled !== false ? "true" : "false",
209
209
  PUSH_AFTER_COMMIT: orgConfig.pushAfterCommit !== false ? "true" : "false",
210
210
  GRACEFUL_SHUTDOWN_ENABLED: orgConfig.gracefulShutdownEnabled !== false ? "true" : "false",
211
+ MAX_PARALLEL_EXPERTS: String(orgConfig.maxParallelExperts ?? 4),
211
212
  REVIEW_ENABLED: task.skipManagerReview === false ? "true" : "false",
212
213
  SELF_REVIEW_ENABLED: hasSelfReviewLabel(task) || (orgConfig.selfReviewEnabled !== false) ? "true" : "false",
213
214
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workermill/agent",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "WorkerMill Remote Agent - Run AI workers locally with your Claude Max subscription",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",