youclaw 4.6.7__py3-none-any.whl → 4.6.8__py3-none-any.whl

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.
youclaw/dashboard.py CHANGED
@@ -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.7
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 @@ youclaw/cli.py,sha256=XdcJWxOfEBgWitA2lHdfCktSTIob2OoKBKxupeN7a-k,16865
4
4
  youclaw/commands.py,sha256=ljexFjbRoTyZmGKswLzOXa03WocuCzYzCYE8A08WbzE,5401
5
5
  youclaw/config.py,sha256=FayDGLQLNLBm0O9QuzBjM1gO2MiJ57cnqB6aBwUWSXw,6633
6
6
  youclaw/core_skills.py,sha256=AyoBq3LqTiwsNvVehi4T7RMGtd1J-lI-YL_owuj5ZUQ,9227
7
- youclaw/dashboard.py,sha256=-VltJWjzw3KA9OkcJI2RRsnDF_HHQZLif4dhSV6Je_k,68422
7
+ youclaw/dashboard.py,sha256=DApR5i4sGsU4xfJRL4uQS1ZG21Gamhg39G0ZnkpyOZI,68533
8
8
  youclaw/discord_handler.py,sha256=L3bsptg2gtpXm_HOcqmHrT45KqshnAkBXzM0S6I1o2g,7184
9
9
  youclaw/env_manager.py,sha256=uvR5ix7hB8gyv6yStRfq6s7o-ALw-dead81GI8u0CPE,1867
10
10
  youclaw/main.py,sha256=5hk17gusRviT1LpAEQ1uUZFZmmmf2tpiJ8OFoF5mflA,9090
@@ -16,9 +16,9 @@ youclaw/search_client.py,sha256=fSbflx5nclGhMfFxNScaNM15RKxO_dQbCgtId7Ggmjk,2984
16
16
  youclaw/skills_manager.py,sha256=useUV9eLY_sFULY1jHNjyD_VteU-aN8Lw6OKqdnuZNc,5183
17
17
  youclaw/telegram_handler.py,sha256=is34s3QPtJyph5HfBb_Xw6dUCzOJb2NXqt3ylApX96E,6288
18
18
  youclaw/vector_manager.py,sha256=IYIVijCEUbJq_tZ5w_E9n0O6vCaXBCaKpuQiKoDuBc8,3391
19
- youclaw-4.6.7.dist-info/LICENSE,sha256=2p_ENMOp0sRMAVx7k1vauyHfQk7npVn1J99Re-LXY6o,1062
20
- youclaw-4.6.7.dist-info/METADATA,sha256=mw7X6J_ktT5j77v0KWF9ZTr_xdotYvBeXhBfL--e3Zc,3485
21
- youclaw-4.6.7.dist-info/WHEEL,sha256=hPN0AlP2dZM_3ZJZWP4WooepkmU9wzjGgCLCeFjkHLA,92
22
- youclaw-4.6.7.dist-info/entry_points.txt,sha256=TCRvZ6l9mCoPRBAyCwRzupie6FozD-2r540ILLLkiI0,45
23
- youclaw-4.6.7.dist-info/top_level.txt,sha256=q_WatC9Fthh_kLowtWqF7HeslKTJNKNjaWU5yxgo9Lk,8
24
- youclaw-4.6.7.dist-info/RECORD,,
19
+ youclaw-4.6.8.dist-info/LICENSE,sha256=2p_ENMOp0sRMAVx7k1vauyHfQk7npVn1J99Re-LXY6o,1062
20
+ youclaw-4.6.8.dist-info/METADATA,sha256=0JaiLzWOJxZZ3Qt2481cuD5--sDD2ker8SRF5YrFhG0,3485
21
+ youclaw-4.6.8.dist-info/WHEEL,sha256=hPN0AlP2dZM_3ZJZWP4WooepkmU9wzjGgCLCeFjkHLA,92
22
+ youclaw-4.6.8.dist-info/entry_points.txt,sha256=TCRvZ6l9mCoPRBAyCwRzupie6FozD-2r540ILLLkiI0,45
23
+ youclaw-4.6.8.dist-info/top_level.txt,sha256=q_WatC9Fthh_kLowtWqF7HeslKTJNKNjaWU5yxgo9Lk,8
24
+ youclaw-4.6.8.dist-info/RECORD,,