Skip to content

2.0.3

Choose a tag to compare

@Atri10 Atri10 released this 19 Oct 11:31
· 3 commits to main since this release
03d3c97

Patch release: the Windows suite goes green. The v2.0.2 install path was correct on POSIX, but the matrix — and the main-branch run that followed — exposed three failures: --help crashed under the cp1252 pipe encoding, a test tried to execute the launcher as a native program, which Windows cannot do, and the bundle check trusted a whole-second timestamp cache instead of the bytes.

If you are on v2.0.2 with Windows, upgrade: executor --help and executor new with a non-Latin title can crash or the suite can flake there.

Fixed

  • CLI output is UTF-8 even when Windows redirects it. A pipe inherits the locale code page, and print(__doc__) raised UnicodeEncodeError on the help arrow before it could print a line. main now reconfigures stdout and stderr where the stream supports it, so help text, JSON with ensure_ascii=False, and error messages survive a redirect on a non-UTF-8 Windows console.
  • The bundle check compares bytes, not cached metadata. filecmp.cmp keys its verdict on int(st_mtime), so a drift check that followed a same-second rewrite could report a file stale that had just been synced. scripts/sync_engine.py now compares contents directly, and a regression test pins the same-second case with a forced mtime.
  • The bare-launcher test is POSIX-only. Windows has no exec bit and CreateProcess cannot run a .py file without a registered association. The portable spelling — python3 <skill-base-dir>/scripts/executor — remains the tested, documented form on every platform.

Install

npx skills add Atri10/executor
python3 ~/.agents/skills/executor/scripts/executor --version   # 2.0.3

~/.agents/skills/ is the global install location; use ./.agents/skills/ for a project-local install.