opendraft 1.4.3 → 1.4.4

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/bin/opendraft.js +14 -1
  2. package/package.json +1 -1
package/bin/opendraft.js CHANGED
@@ -48,7 +48,20 @@ ${PURPLE}${BOLD} ╔═══════════════════
48
48
  }
49
49
 
50
50
  function checkPython() {
51
- const pythonCommands = ['python3', 'python'];
51
+ // Check various Python commands including versioned ones from Homebrew
52
+ const pythonCommands = [
53
+ 'python3',
54
+ 'python',
55
+ 'python3.13',
56
+ 'python3.12',
57
+ 'python3.11',
58
+ 'python3.10',
59
+ 'python3.9',
60
+ '/opt/homebrew/bin/python3',
61
+ '/opt/homebrew/bin/python3.11',
62
+ '/opt/homebrew/bin/python3.12',
63
+ '/usr/local/bin/python3',
64
+ ];
52
65
 
53
66
  for (const cmd of pythonCommands) {
54
67
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opendraft",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "AI-powered research paper draft generator",
5
5
  "bin": {
6
6
  "opendraft": "./bin/opendraft.js"