Bump to 1.0.39: fix tf_sync module not found after npm install

getPythonSyncPath() only searched __dirname-relative paths which don't
resolve correctly from the compiled binary. Added process.execPath-
relative candidates so it finds <pkg>/python from <pkg>/bin/tfcode.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Gab
2026-04-15 15:09:16 +10:00
parent dfdfa40691
commit 7eae9764af
2 changed files with 11 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/package.json",
"version": "1.0.38",
"version": "1.0.39",
"name": "@toothfairyai/tfcode",
"type": "module",
"license": "MIT",