youclaw 4.6.6__tar.gz → 4.6.8__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 (30) hide show
  1. {youclaw-4.6.6/src/youclaw.egg-info → youclaw-4.6.8}/PKG-INFO +1 -1
  2. {youclaw-4.6.6 → youclaw-4.6.8}/pyproject.toml +1 -1
  3. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/cli.py +1 -2
  4. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/dashboard.py +6 -2
  5. {youclaw-4.6.6 → youclaw-4.6.8/src/youclaw.egg-info}/PKG-INFO +1 -1
  6. {youclaw-4.6.6 → youclaw-4.6.8}/LICENSE +0 -0
  7. {youclaw-4.6.6 → youclaw-4.6.8}/MANIFEST.in +0 -0
  8. {youclaw-4.6.6 → youclaw-4.6.8}/README.md +0 -0
  9. {youclaw-4.6.6 → youclaw-4.6.8}/setup.cfg +0 -0
  10. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/__init__.py +0 -0
  11. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/bot.py +0 -0
  12. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/commands.py +0 -0
  13. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/config.py +0 -0
  14. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/core_skills.py +0 -0
  15. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/discord_handler.py +0 -0
  16. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/env_manager.py +0 -0
  17. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/main.py +0 -0
  18. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/memory_manager.py +0 -0
  19. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/ollama_client.py +0 -0
  20. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/personality_manager.py +0 -0
  21. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/scheduler_manager.py +0 -0
  22. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/search_client.py +0 -0
  23. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/skills_manager.py +0 -0
  24. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/telegram_handler.py +0 -0
  25. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw/vector_manager.py +0 -0
  26. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw.egg-info/SOURCES.txt +0 -0
  27. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw.egg-info/dependency_links.txt +0 -0
  28. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw.egg-info/entry_points.txt +0 -0
  29. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw.egg-info/requires.txt +0 -0
  30. {youclaw-4.6.6 → youclaw-4.6.8}/src/youclaw.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: youclaw
3
- Version: 4.6.6
3
+ Version: 4.6.8
4
4
  Summary: Your Personal AI Assistant - Universal Neural Core
5
5
  Author-email: Imran <imran@example.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "youclaw"
7
- version = "4.6.6"
7
+ version = "4.6.8"
8
8
  authors = [
9
9
  { name="Imran", email="imran@example.com" },
10
10
  ]
@@ -279,8 +279,7 @@ class YouClawCLI:
279
279
 
280
280
  # Start as background daemon
281
281
  try:
282
- import sys
283
- import os
282
+ # import sys and os already at module level
284
283
 
285
284
  # Fork the process
286
285
  pid = os.fork()
@@ -53,7 +53,8 @@ async def get_user_identity(request):
53
53
  async def check_admin(request):
54
54
  """Check if the session user is an admin + token verification"""
55
55
  auth = await verify_session(request)
56
- return auth and auth['role'] == 'admin'
56
+ # Universal Admin: If you can login, you are the owner.
57
+ return auth is not None
57
58
 
58
59
 
59
60
  @routes.get('/')
@@ -145,7 +146,10 @@ async def api_stats(request):
145
146
  active_p = await memory_manager.get_global_setting("active_personality", DEFAULT_PERSONALITY)
146
147
  personality_name = PERSONALITIES.get(active_p, PERSONALITIES[DEFAULT_PERSONALITY])['name']
147
148
 
148
- ollama_health = await ollama_client.check_health()
149
+ try:
150
+ ollama_health = await ollama_client.check_health()
151
+ except:
152
+ ollama_health = False
149
153
 
150
154
  stats = {
151
155
  "status": "online",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: youclaw
3
- Version: 4.6.6
3
+ Version: 4.6.8
4
4
  Summary: Your Personal AI Assistant - Universal Neural Core
5
5
  Author-email: Imran <imran@example.com>
6
6
  Classifier: Programming Language :: Python :: 3
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