wile 0.4.4 → 0.4.5

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/cli.js +5 -0
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -8010,12 +8010,17 @@ var runWile = (options) => {
8010
8010
  const logsDir = join3(paths.wileDir, "logs");
8011
8011
  mkdirSync(logsDir, { recursive: true });
8012
8012
  const logPath = join3(logsDir, `run-${getTimestamp()}.log`);
8013
+ writeFileSync(logPath, "", { flag: "w" });
8013
8014
  if (options.test) {
8014
8015
  const message = `TEST MODE: running mocked agent inside Docker.
8015
8016
  `;
8016
8017
  process.stdout.write(message);
8017
8018
  writeFileSync(logPath, message, { flag: "a" });
8018
8019
  }
8020
+ if (options.debug) {
8021
+ console.log(`- logsDir: ${logsDir}`);
8022
+ console.log(`- logPath: ${logPath}`);
8023
+ }
8019
8024
  runDockerWithLogging(dockerArgs, logPath);
8020
8025
  const finishMessage = `Wile run complete. Monitor progress with git log in your repo.
8021
8026
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wile",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "Autonomous AI coding agent that ships features while you sleep",
5
5
  "type": "module",
6
6
  "bin": {