@workermill/agent 0.4.1 → 0.4.3
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.
- package/dist/commands/start.js +4 -4
- package/dist/planner.js +4 -6
- package/package.json +1 -1
package/dist/commands/start.js
CHANGED
|
@@ -10,6 +10,7 @@ import chalk from "chalk";
|
|
|
10
10
|
import { totalmem } from "os";
|
|
11
11
|
import { spawn } from "child_process";
|
|
12
12
|
import { writeFileSync, existsSync, unlinkSync, openSync } from "fs";
|
|
13
|
+
import { AGENT_VERSION } from "../version.js";
|
|
13
14
|
import { loadConfigFromFile, checkPrerequisites, getSystemInfo, getPidFile, getLogFile, getConfigFile, } from "../config.js";
|
|
14
15
|
import { startAgent } from "../index.js";
|
|
15
16
|
export async function startCommand(options) {
|
|
@@ -96,10 +97,9 @@ export async function startCommand(options) {
|
|
|
96
97
|
}
|
|
97
98
|
// Register with system info
|
|
98
99
|
const sysInfo = getSystemInfo();
|
|
99
|
-
console.log(chalk.dim(` Agent:
|
|
100
|
-
console.log(chalk.dim(`
|
|
101
|
-
console.log(chalk.dim(`
|
|
102
|
-
console.log(chalk.dim(` Image: ${config.workerImage}`));
|
|
100
|
+
console.log(chalk.dim(` Agent: ${config.agentId}`));
|
|
101
|
+
console.log(chalk.dim(` Version: ${AGENT_VERSION}`));
|
|
102
|
+
console.log(chalk.dim(` Image: ${config.workerImage}`));
|
|
103
103
|
console.log();
|
|
104
104
|
try {
|
|
105
105
|
const cleanup = await startAgent(config);
|
package/dist/planner.js
CHANGED
|
@@ -301,12 +301,10 @@ function runAnalyst(claudePath, model, prompt, repoPath, env, timeoutMs = 120_00
|
|
|
301
301
|
return new Promise((resolve) => {
|
|
302
302
|
const proc = spawn(claudePath, [
|
|
303
303
|
"--print",
|
|
304
|
-
"--
|
|
305
|
-
|
|
306
|
-
"--
|
|
307
|
-
"bypassPermissions",
|
|
308
|
-
"--output-format",
|
|
309
|
-
"stream-json",
|
|
304
|
+
"--verbose",
|
|
305
|
+
"--output-format", "stream-json",
|
|
306
|
+
"--model", model,
|
|
307
|
+
"--permission-mode", "bypassPermissions",
|
|
310
308
|
], {
|
|
311
309
|
cwd: repoPath,
|
|
312
310
|
env,
|