friday-neural-os 0.1.1__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 (43) hide show
  1. friday_neural_os-0.1.4/MANIFEST.in +4 -0
  2. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/PKG-INFO +5 -3
  3. friday_neural_os-0.1.4/friday/__init__.py +3 -0
  4. friday_neural_os-0.1.4/friday/__pycache__/__init__.cpython-312.pyc +0 -0
  5. friday_neural_os-0.1.4/friday/__pycache__/agent.cpython-312.pyc +0 -0
  6. friday_neural_os-0.1.4/friday/__pycache__/config.cpython-312.pyc +0 -0
  7. friday_neural_os-0.1.4/friday/__pycache__/prompts.cpython-312.pyc +0 -0
  8. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday/agent.py +45 -10
  9. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday/cli.py +5 -4
  10. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday/config.py +2 -1
  11. friday_neural_os-0.1.4/friday/installer.py +48 -0
  12. friday_neural_os-0.1.4/friday/tools/__pycache__/__init__.cpython-312.pyc +0 -0
  13. friday_neural_os-0.1.4/friday/tools/__pycache__/communication.cpython-312.pyc +0 -0
  14. friday_neural_os-0.1.4/friday/tools/__pycache__/core.cpython-312.pyc +0 -0
  15. friday_neural_os-0.1.4/friday/tools/__pycache__/files.cpython-312.pyc +0 -0
  16. friday_neural_os-0.1.4/friday/tools/__pycache__/media.cpython-312.pyc +0 -0
  17. friday_neural_os-0.1.4/friday/tools/__pycache__/network.cpython-312.pyc +0 -0
  18. friday_neural_os-0.1.4/friday/tools/__pycache__/productivity.cpython-312.pyc +0 -0
  19. friday_neural_os-0.1.4/friday/tools/__pycache__/security.cpython-312.pyc +0 -0
  20. friday_neural_os-0.1.4/friday/tools/__pycache__/ui.cpython-312.pyc +0 -0
  21. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday_neural_os.egg-info/PKG-INFO +5 -3
  22. friday_neural_os-0.1.4/friday_neural_os.egg-info/SOURCES.txt +39 -0
  23. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday_neural_os.egg-info/requires.txt +4 -2
  24. friday_neural_os-0.1.4/requirements.txt +25 -0
  25. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/setup.cfg +6 -3
  26. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/setup.py +4 -3
  27. friday_neural_os-0.1.1/friday/__init__.py +0 -3
  28. friday_neural_os-0.1.1/friday/installer.py +0 -30
  29. friday_neural_os-0.1.1/friday_neural_os.egg-info/SOURCES.txt +0 -24
  30. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/README.md +0 -0
  31. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday/prompts.py +0 -0
  32. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday/tools/__init__.py +0 -0
  33. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday/tools/communication.py +0 -0
  34. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday/tools/core.py +0 -0
  35. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday/tools/files.py +0 -0
  36. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday/tools/media.py +0 -0
  37. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday/tools/network.py +0 -0
  38. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday/tools/productivity.py +0 -0
  39. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday/tools/security.py +0 -0
  40. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday/tools/ui.py +0 -0
  41. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday_neural_os.egg-info/dependency_links.txt +0 -0
  42. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday_neural_os.egg-info/entry_points.txt +0 -0
  43. {friday_neural_os-0.1.1 → friday_neural_os-0.1.4}/friday_neural_os.egg-info/top_level.txt +0 -0
@@ -0,0 +1,4 @@
1
+ recursive-include friday *
2
+ include requirements.txt
3
+ include README.md
4
+ include .env.example
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: friday_neural_os
3
- Version: 0.1.1
3
+ Version: 0.1.4
4
4
  Summary: A real-time AI assistant with tools, memory, and voice
5
5
  Author: Shivansh Pancholi
6
6
  Author-email: shivamogh.123@gmail.com
@@ -23,8 +23,6 @@ Requires-Dist: duckduckgo-search
23
23
  Requires-Dist: langchain_community
24
24
  Requires-Dist: google-genai
25
25
  Requires-Dist: pyautogui
26
- Requires-Dist: scapy
27
- Requires-Dist: impacket
28
26
  Requires-Dist: truecallerpy
29
27
  Requires-Dist: phonenumbers
30
28
  Requires-Dist: opencage
@@ -33,6 +31,10 @@ Requires-Dist: pywebostv
33
31
  Requires-Dist: pywin32; platform_system == "Windows"
34
32
  Requires-Dist: win10toast; platform_system == "Windows"
35
33
  Requires-Dist: screen-brightness-control; platform_system == "Windows"
34
+ Provides-Extra: hacking
35
+ Requires-Dist: scapy; extra == "hacking"
36
+ Requires-Dist: impacket; extra == "hacking"
37
+ Dynamic: provides-extra
36
38
  Dynamic: requires-dist
37
39
 
38
40
  # 🌐 PROJECT FRIDAY: Strategic Intelligence & Autonomous Control System
@@ -0,0 +1,3 @@
1
+ __version__ = "0.1.4"
2
+
3
+ from .agent import run
@@ -331,18 +331,53 @@ IMPORTANT INSTRUCTIONS:
331
331
  # ==============================
332
332
  # RUN
333
333
  # ==============================
334
- def main():
335
- print("Friday online.")
336
- # existing logic here
334
+ # ==============================
335
+ # RUN
336
+ # ==============================
337
+ def run():
338
+ import os
339
+ import sys
340
+ from .config import validate_env
341
+
342
+ # 1. Check if .env exists, if not run setup
343
+ if not os.path.exists(".env"):
344
+ from .installer import setup as installer_setup
345
+ installer_setup()
346
+
347
+ # 2. Validate environment
348
+ try:
349
+ validate_env()
350
+ except RuntimeError as e:
351
+ print(f"⚠️ Configuration Error: {e}")
352
+ return
337
353
 
338
- if __name__ == "__main__":
354
+ # 3. Access Code Check
355
+ print("\n" + "="*30)
356
+ print(" FRIDAY NEURAL OS")
357
+ print("="*30 + "\n")
358
+
339
359
  while True:
340
- pwd = input("🔒 ENTER ACCESS CODE: ")
341
- if pwd.strip() == "JARVIS":
342
- print("✅ ACCESS GRANTED")
343
- break
344
- print("❌ ACCESS DENIED")
345
-
360
+ try:
361
+ pwd = input("🔒 ENTER ACCESS CODE: ").strip()
362
+ if pwd == "JARVIS":
363
+ print("✅ ACCESS GRANTED. Welcome back, Sir.")
364
+ break
365
+ print("❌ ACCESS DENIED.")
366
+ except KeyboardInterrupt:
367
+ print("\nShutting down...")
368
+ return
369
+
370
+ # 4. Start LiveKit Worker
371
+ # We need to ensure sys.argv has a command if called manually without args
372
+ if len(sys.argv) <= 1:
373
+ sys.argv.append("dev") # Default to dev mode for easier local running
374
+
346
375
  agents.cli.run_app(
347
376
  agents.WorkerOptions(entrypoint_fnc=entrypoint)
348
377
  )
378
+
379
+ def main():
380
+ run()
381
+
382
+ if __name__ == "__main__":
383
+ main()
@@ -3,11 +3,12 @@ import sys
3
3
  def main():
4
4
  if len(sys.argv) > 1 and sys.argv[1] == "config":
5
5
  if len(sys.argv) > 2 and sys.argv[2] == "setup":
6
- from friday.installer import setup
6
+ from .installer import setup
7
7
  setup()
8
8
  return
9
9
 
10
- from friday.config import validate_env
11
- from friday.agent import main as agent_main
10
+ from .agent import run
11
+ run()
12
12
 
13
- agent_main()
13
+ if __name__ == "__main__":
14
+ main()
@@ -4,6 +4,7 @@ from dotenv import load_dotenv
4
4
  load_dotenv()
5
5
 
6
6
  REQUIRED = [
7
+ "GOOGLE_API_KEY",
7
8
  "LIVEKIT_API_KEY",
8
9
  "LIVEKIT_API_SECRET",
9
10
  "LIVEKIT_URL",
@@ -17,7 +18,7 @@ def validate_env():
17
18
  missing = [k for k in REQUIRED if not os.getenv(k)]
18
19
  if missing:
19
20
  raise RuntimeError(
20
- "Friday is not configured.\n"
21
+ "Friday is not fully configured.\n"
21
22
  "Run: friday config setup\n\nMissing:\n"
22
23
  + "\n".join(missing)
23
24
  )
@@ -0,0 +1,48 @@
1
+ import os
2
+
3
+ ENV_VARS = {
4
+ "GOOGLE_API_KEY": "Google AI (Gemini) API Key",
5
+ "LIVEKIT_URL": "LiveKit Cloud/Server URL",
6
+ "LIVEKIT_API_KEY": "LiveKit API Key",
7
+ "LIVEKIT_API_SECRET": "LiveKit API Secret",
8
+ "GMAIL_USER": "Gmail Address",
9
+ "GMAIL_APP_PASSWORD": "Gmail App Password",
10
+ "MEM0_API_KEY": "Mem0 AI API Key",
11
+ "GITHUB_TOKEN": "GitHub Token",
12
+ }
13
+
14
+ def setup():
15
+ env_path = os.path.join(os.getcwd(), ".env")
16
+
17
+ print("\n" + "═"*60)
18
+ print(" 🛠️ FRIDAY NEURAL OS - API CONFIGURATION")
19
+ print("═"*60)
20
+ print("Please provide the following credentials. Press Enter to skip/keep current.\n")
21
+
22
+ # Load existing values if any
23
+ existing = {}
24
+ if os.path.exists(env_path):
25
+ try:
26
+ with open(env_path, "r") as f:
27
+ for line in f:
28
+ if "=" in line:
29
+ k, v = line.strip().split("=", 1)
30
+ existing[k] = v
31
+ except:
32
+ pass
33
+
34
+ lines = []
35
+ for var, description in ENV_VARS.items():
36
+ current = existing.get(var, "")
37
+ display_val = f" [{current[:5]}...{current[-5:]}]" if current else ""
38
+
39
+ value = input(f" ➤ {description}{display_val}: ").strip()
40
+
41
+ final_value = value if value else current
42
+ lines.append(f"{var}={final_value}")
43
+
44
+ with open(env_path, "w") as f:
45
+ f.write("\n".join(lines))
46
+
47
+ print("\n✅ Configuration updated successfully!")
48
+ print("═"*60 + "\n")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: friday_neural_os
3
- Version: 0.1.1
3
+ Version: 0.1.4
4
4
  Summary: A real-time AI assistant with tools, memory, and voice
5
5
  Author: Shivansh Pancholi
6
6
  Author-email: shivamogh.123@gmail.com
@@ -23,8 +23,6 @@ Requires-Dist: duckduckgo-search
23
23
  Requires-Dist: langchain_community
24
24
  Requires-Dist: google-genai
25
25
  Requires-Dist: pyautogui
26
- Requires-Dist: scapy
27
- Requires-Dist: impacket
28
26
  Requires-Dist: truecallerpy
29
27
  Requires-Dist: phonenumbers
30
28
  Requires-Dist: opencage
@@ -33,6 +31,10 @@ Requires-Dist: pywebostv
33
31
  Requires-Dist: pywin32; platform_system == "Windows"
34
32
  Requires-Dist: win10toast; platform_system == "Windows"
35
33
  Requires-Dist: screen-brightness-control; platform_system == "Windows"
34
+ Provides-Extra: hacking
35
+ Requires-Dist: scapy; extra == "hacking"
36
+ Requires-Dist: impacket; extra == "hacking"
37
+ Dynamic: provides-extra
36
38
  Dynamic: requires-dist
37
39
 
38
40
  # 🌐 PROJECT FRIDAY: Strategic Intelligence & Autonomous Control System
@@ -0,0 +1,39 @@
1
+ MANIFEST.in
2
+ README.md
3
+ requirements.txt
4
+ setup.cfg
5
+ setup.py
6
+ friday/__init__.py
7
+ friday/agent.py
8
+ friday/cli.py
9
+ friday/config.py
10
+ friday/installer.py
11
+ friday/prompts.py
12
+ friday/__pycache__/__init__.cpython-312.pyc
13
+ friday/__pycache__/agent.cpython-312.pyc
14
+ friday/__pycache__/config.cpython-312.pyc
15
+ friday/__pycache__/prompts.cpython-312.pyc
16
+ friday/tools/__init__.py
17
+ friday/tools/communication.py
18
+ friday/tools/core.py
19
+ friday/tools/files.py
20
+ friday/tools/media.py
21
+ friday/tools/network.py
22
+ friday/tools/productivity.py
23
+ friday/tools/security.py
24
+ friday/tools/ui.py
25
+ friday/tools/__pycache__/__init__.cpython-312.pyc
26
+ friday/tools/__pycache__/communication.cpython-312.pyc
27
+ friday/tools/__pycache__/core.cpython-312.pyc
28
+ friday/tools/__pycache__/files.cpython-312.pyc
29
+ friday/tools/__pycache__/media.cpython-312.pyc
30
+ friday/tools/__pycache__/network.cpython-312.pyc
31
+ friday/tools/__pycache__/productivity.cpython-312.pyc
32
+ friday/tools/__pycache__/security.cpython-312.pyc
33
+ friday/tools/__pycache__/ui.cpython-312.pyc
34
+ friday_neural_os.egg-info/PKG-INFO
35
+ friday_neural_os.egg-info/SOURCES.txt
36
+ friday_neural_os.egg-info/dependency_links.txt
37
+ friday_neural_os.egg-info/entry_points.txt
38
+ friday_neural_os.egg-info/requires.txt
39
+ friday_neural_os.egg-info/top_level.txt
@@ -12,8 +12,6 @@ duckduckgo-search
12
12
  langchain_community
13
13
  google-genai
14
14
  pyautogui
15
- scapy
16
- impacket
17
15
  truecallerpy
18
16
  phonenumbers
19
17
  opencage
@@ -24,3 +22,7 @@ pywebostv
24
22
  pywin32
25
23
  win10toast
26
24
  screen-brightness-control
25
+
26
+ [hacking]
27
+ scapy
28
+ impacket
@@ -0,0 +1,25 @@
1
+ livekit-agents
2
+ livekit-plugins-silero
3
+ livekit-plugins-google
4
+ livekit-plugins-noise-cancellation
5
+ mem0ai
6
+ duckduckgo-search
7
+ langchain_community
8
+ requests
9
+ python-dotenv
10
+ scapy
11
+ pyautogui
12
+ psutil
13
+ pyperclip
14
+ pywin32
15
+ pywebostv
16
+ pillow
17
+ google-genai
18
+ screen-brightness-control
19
+ win10toast
20
+ opencv-python
21
+ truecallerpy
22
+ phonenumbers
23
+ opencage
24
+ folium
25
+ impacket
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = friday_neural_os
3
- version = 0.1.1
3
+ version = 0.1.4
4
4
  author = Shivansh Pancholi
5
5
  author_email = shivamogh.123@gmail.com
6
6
  description = A real-time AI assistant with tools, memory, and voice
@@ -29,8 +29,6 @@ install_requires =
29
29
  langchain_community
30
30
  google-genai
31
31
  pyautogui
32
- scapy
33
- impacket
34
32
  truecallerpy
35
33
  phonenumbers
36
34
  opencage
@@ -40,6 +38,11 @@ install_requires =
40
38
  win10toast; platform_system=="Windows"
41
39
  screen-brightness-control; platform_system=="Windows"
42
40
 
41
+ [options.extras_require]
42
+ hacking =
43
+ scapy
44
+ impacket
45
+
43
46
  [options.entry_points]
44
47
  console_scripts =
45
48
  friday-run=friday.cli:main
@@ -19,7 +19,7 @@ class CustomInstall(install):
19
19
 
20
20
  setup(
21
21
  name="friday_neural_os",
22
- version="0.1.1",
22
+ version="0.1.4",
23
23
  packages=find_packages(),
24
24
  include_package_data=True,
25
25
  install_requires=[
@@ -37,8 +37,6 @@ setup(
37
37
  "langchain_community",
38
38
  "google-genai",
39
39
  "pyautogui",
40
- "scapy",
41
- "impacket",
42
40
  "truecallerpy",
43
41
  "phonenumbers",
44
42
  "opencage",
@@ -48,6 +46,9 @@ setup(
48
46
  "win10toast; platform_system=='Windows'",
49
47
  "screen-brightness-control; platform_system=='Windows'",
50
48
  ],
49
+ extras_require={
50
+ "hacking": ["scapy", "impacket"],
51
+ },
51
52
  cmdclass={
52
53
  "install": CustomInstall,
53
54
  },
@@ -1,3 +0,0 @@
1
- __version__ = "0.1.1"
2
-
3
- from .agent import main
@@ -1,30 +0,0 @@
1
- import os
2
-
3
- ENV_VARS = [
4
- "LIVEKIT_API_KEY",
5
- "LIVEKIT_API_SECRET",
6
- "LIVEKIT_URL",
7
- "GMAIL_USER",
8
- "GMAIL_APP_PASSWORD",
9
- "MEM0_API_KEY",
10
- "GITHUB_TOKEN",
11
- ]
12
-
13
- def setup():
14
- env_path = os.path.join(os.getcwd(), ".env")
15
-
16
- if os.path.exists(env_path):
17
- print("✅ .env already exists")
18
- return
19
-
20
- print("🔐 Friday first-time setup\n")
21
-
22
- lines = []
23
- for var in ENV_VARS:
24
- value = input(f"{var}: ").strip()
25
- lines.append(f"{var}={value}")
26
-
27
- with open(env_path, "w") as f:
28
- f.write("\n".join(lines))
29
-
30
- print("\n✅ Setup complete")
@@ -1,24 +0,0 @@
1
- README.md
2
- setup.cfg
3
- setup.py
4
- friday/__init__.py
5
- friday/agent.py
6
- friday/cli.py
7
- friday/config.py
8
- friday/installer.py
9
- friday/prompts.py
10
- friday/tools/__init__.py
11
- friday/tools/communication.py
12
- friday/tools/core.py
13
- friday/tools/files.py
14
- friday/tools/media.py
15
- friday/tools/network.py
16
- friday/tools/productivity.py
17
- friday/tools/security.py
18
- friday/tools/ui.py
19
- friday_neural_os.egg-info/PKG-INFO
20
- friday_neural_os.egg-info/SOURCES.txt
21
- friday_neural_os.egg-info/dependency_links.txt
22
- friday_neural_os.egg-info/entry_points.txt
23
- friday_neural_os.egg-info/requires.txt
24
- friday_neural_os.egg-info/top_level.txt