taskai-cli 0.1.5__tar.gz → 0.1.6__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: taskai-cli
3
- Version: 0.1.5
3
+ Version: 0.1.6
4
4
  Author-email: Alex Paskal <alexcpaskal@gmail.com>
5
5
  Requires-Python: >=3.12
6
6
  Requires-Dist: google-genai>=2.8
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "taskai-cli"
3
- version = "0.1.5"
3
+ version = "0.1.6"
4
4
  description = ""
5
5
  authors = [{name = "Alex Paskal", email = "alexcpaskal@gmail.com"}]
6
6
  readme = "README.md"
@@ -6,6 +6,7 @@ import builtins
6
6
  import fnmatch
7
7
  import sys
8
8
  import subprocess
9
+ import getpass
9
10
 
10
11
  # local
11
12
  from taskai.json_dir_database import JsonDirectoryDatabase
@@ -25,7 +26,7 @@ from rich.prompt import Prompt
25
26
 
26
27
  # config
27
28
  DB_PATH = ".taskai/task_db"
28
- USER = os.getenv("USER")
29
+ USER = os.getenv("USER") if sys.platform == "linux" else os.getenv('USERNAME')
29
30
  db = JsonDirectoryDatabase(
30
31
  DB_PATH,
31
32
  USER
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes