@workermill/agent 0.4.5 → 0.4.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.
Files changed (2) hide show
  1. package/dist/planner.js +2 -2
  2. package/package.json +1 -1
package/dist/planner.js CHANGED
@@ -297,7 +297,7 @@ async function cloneTargetRepo(repo, token, scmProvider, taskId) {
297
297
  * Run an analyst agent via Claude CLI with tool access to the cloned repo.
298
298
  * Returns the analyst's report text, or an empty string on failure.
299
299
  */
300
- function runAnalyst(name, claudePath, model, prompt, repoPath, env, timeoutMs = 120_000) {
300
+ function runAnalyst(name, claudePath, model, prompt, repoPath, env, timeoutMs = 900_000) {
301
301
  const label = chalk.blue(`[${name}]`);
302
302
  return new Promise((resolve) => {
303
303
  console.log(`${ts()} ${label} Starting (${chalk.dim(model)})...`);
@@ -438,7 +438,7 @@ async function runTeamPlanning(task, basePrompt, claudePath, model, env, repoPat
438
438
  console.log(`${ts()} ${taskLabel} ${chalk.magenta("◆ Team planning")} — running 3 analysts in parallel...`);
439
439
  await postLog(taskId, `${PREFIX} Team planning: running codebase, requirements, and risk analysts in parallel...`);
440
440
  await postProgress(taskId, "reading_repo", Math.round((Date.now() - startTime) / 1000), "Running parallel analysis agents...", 0, 0);
441
- const analysisModel = model.includes("opus") ? "sonnet" : model;
441
+ const analysisModel = model;
442
442
  const MAX_TEAM_RETRIES = 3;
443
443
  let codebaseReport = "";
444
444
  let requirementsReport = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workermill/agent",
3
- "version": "0.4.5",
3
+ "version": "0.4.7",
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",