autopilot-code 0.0.22 → 0.0.23

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/cli.js CHANGED
@@ -492,6 +492,7 @@ program
492
492
  const interval = opts.intervalSeconds || "60";
493
493
  args.push("--interval-seconds", interval);
494
494
  console.log(`Starting autopilot service in foreground mode (interval: ${interval}s)`);
495
+ console.log(`Version: ${version}`);
495
496
  console.log("Press Ctrl+C to shut down cleanly\n");
496
497
  run("python3", args);
497
498
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autopilot-code",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "private": false,
5
5
  "description": "Repo-issue–driven autopilot runner",
6
6
  "license": "MIT",
@@ -753,6 +753,17 @@ def run_cycle(
753
753
 
754
754
 
755
755
  def main() -> int:
756
+ # Log version on startup
757
+ try:
758
+ script_dir = Path(__file__).parent.parent
759
+ package_json_path = script_dir / "package.json"
760
+ if package_json_path.exists():
761
+ package_data = json.loads(package_json_path.read_text(encoding="utf-8"))
762
+ version = package_data.get("version", "unknown")
763
+ print(f"autopilot version: {version}", flush=True)
764
+ except Exception:
765
+ pass
766
+
756
767
  ap = argparse.ArgumentParser()
757
768
  ap.add_argument(
758
769
  "--root",