PikoAi 0.1.3__tar.gz → 0.1.4__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.
Files changed (41) hide show
  1. {pikoai-0.1.3 → pikoai-0.1.4}/PKG-INFO +1 -1
  2. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Agents/Executor/executor.py +2 -3
  3. {pikoai-0.1.3 → pikoai-0.1.4}/Src/OpenCopilot.py +2 -1
  4. {pikoai-0.1.3 → pikoai-0.1.4}/Src/PikoAi.egg-info/PKG-INFO +1 -1
  5. {pikoai-0.1.3 → pikoai-0.1.4}/setup.py +1 -1
  6. {pikoai-0.1.3 → pikoai-0.1.4}/LICENSE +0 -0
  7. {pikoai-0.1.3 → pikoai-0.1.4}/README.md +0 -0
  8. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Agents/Executor/__init__.py +0 -0
  9. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Agents/Executor/prompts.py +0 -0
  10. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Agents/__init__.py +0 -0
  11. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Env/__init__.py +0 -0
  12. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Env/base_env.py +0 -0
  13. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Env/base_executor.py +0 -0
  14. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Env/env.py +0 -0
  15. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Env/js_executor.py +0 -0
  16. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Env/python_executor.py +0 -0
  17. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Env/shell.py +0 -0
  18. {pikoai-0.1.3 → pikoai-0.1.4}/Src/PikoAi.egg-info/SOURCES.txt +0 -0
  19. {pikoai-0.1.3 → pikoai-0.1.4}/Src/PikoAi.egg-info/dependency_links.txt +0 -0
  20. {pikoai-0.1.3 → pikoai-0.1.4}/Src/PikoAi.egg-info/entry_points.txt +0 -0
  21. {pikoai-0.1.3 → pikoai-0.1.4}/Src/PikoAi.egg-info/requires.txt +0 -0
  22. {pikoai-0.1.3 → pikoai-0.1.4}/Src/PikoAi.egg-info/top_level.txt +0 -0
  23. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Tools/__init__.py +0 -0
  24. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Tools/file_task.py +0 -0
  25. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Tools/system_details.py +0 -0
  26. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Tools/tool_dir.json +0 -0
  27. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Tools/tool_manager.py +0 -0
  28. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Tools/userinp.py +0 -0
  29. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Tools/web_loader.py +0 -0
  30. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Tools/web_search.py +0 -0
  31. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Utils/__init__.py +0 -0
  32. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Utils/executor_utils.py +0 -0
  33. {pikoai-0.1.3 → pikoai-0.1.4}/Src/Utils/ter_interface.py +0 -0
  34. {pikoai-0.1.3 → pikoai-0.1.4}/Src/cli.py +0 -0
  35. {pikoai-0.1.3 → pikoai-0.1.4}/Src/llm_interface/__init__.py +0 -0
  36. {pikoai-0.1.3 → pikoai-0.1.4}/Src/llm_interface/llm.py +0 -0
  37. {pikoai-0.1.3 → pikoai-0.1.4}/setup.cfg +0 -0
  38. {pikoai-0.1.3 → pikoai-0.1.4}/test/test.py +0 -0
  39. {pikoai-0.1.3 → pikoai-0.1.4}/test/test_file_task.py +0 -0
  40. {pikoai-0.1.3 → pikoai-0.1.4}/test/testjs.py +0 -0
  41. {pikoai-0.1.3 → pikoai-0.1.4}/test/testscript.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PikoAi
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: An AI-powered task automation tool
5
5
  Home-page: https://github.com/nihaaaar22/OS-Assistant
6
6
  Author: Nihar S
@@ -53,9 +53,8 @@ class executor:
53
53
  self.llm = LiteLLMInterface()
54
54
 
55
55
  def get_tool_dir(self):
56
- # Get the absolute path to the project root directory
57
- project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '../../../'))
58
- tool_dir_path = os.path.join(project_root, 'Src', 'Tools', 'tool_dir.json')
56
+ import pkg_resources
57
+ tool_dir_path = pkg_resources.resource_filename('Tools', 'tool_dir.json')
59
58
  with open(tool_dir_path, "r") as file:
60
59
  return file.read()
61
60
 
@@ -235,7 +235,8 @@ Examples:
235
235
  def list_available_tools():
236
236
  """List all available tools."""
237
237
  try:
238
- tool_dir_path = os.path.join(os.path.dirname(__file__), 'Tools/tool_dir.json')
238
+ import pkg_resources
239
+ tool_dir_path = pkg_resources.resource_filename('Tools', 'tool_dir.json')
239
240
  with open(tool_dir_path, 'r') as f:
240
241
  tools = json.load(f)
241
242
  return tools
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PikoAi
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: An AI-powered task automation tool
5
5
  Home-page: https://github.com/nihaaaar22/OS-Assistant
6
6
  Author: Nihar S
@@ -3,7 +3,7 @@ from pathlib import Path
3
3
 
4
4
  setup(
5
5
  name="PikoAi",
6
- version="0.1.3",
6
+ version="0.1.4",
7
7
  packages=find_packages(where="Src"),
8
8
  py_modules=["cli", "OpenCopilot"],
9
9
  package_dir={"": "Src"},
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes