dalexor 0.1.6__py3-none-any.whl → 0.1.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.
- dalexor/main.py +4 -4
- {dalexor-0.1.6.dist-info → dalexor-0.1.8.dist-info}/METADATA +1 -1
- dalexor-0.1.8.dist-info/RECORD +8 -0
- dalexor-0.1.6.dist-info/RECORD +0 -8
- {dalexor-0.1.6.dist-info → dalexor-0.1.8.dist-info}/WHEEL +0 -0
- {dalexor-0.1.6.dist-info → dalexor-0.1.8.dist-info}/entry_points.txt +0 -0
- {dalexor-0.1.6.dist-info → dalexor-0.1.8.dist-info}/licenses/LICENSE +0 -0
- {dalexor-0.1.6.dist-info → dalexor-0.1.8.dist-info}/top_level.txt +0 -0
dalexor/main.py
CHANGED
|
@@ -66,7 +66,7 @@ GLOBAL_CONFIG = load_global_config()
|
|
|
66
66
|
# Try to load API KEY from Env -> Global Config
|
|
67
67
|
DX_API_KEY = os.getenv("DX_API_KEY") or os.getenv("DALEXORMI_API_KEY") or GLOBAL_CONFIG.get("api_key")
|
|
68
68
|
|
|
69
|
-
CLOUD_URL = os.getenv("DALEXORMI_URL", "
|
|
69
|
+
CLOUD_URL = os.getenv("DALEXORMI_URL", "https://api.dalexor.com")
|
|
70
70
|
DX_SOVEREIGN = os.getenv("DX_SOVEREIGN", "false").lower() == "true"
|
|
71
71
|
DX_TEAM_SECRET = (os.getenv("DX_TEAM_SECRET") or GLOBAL_CONFIG.get("team_secret") or "").strip()
|
|
72
72
|
|
|
@@ -114,7 +114,7 @@ SUPABASE_SERVICE_ROLE = os.getenv("SUPABASE_SERVICE_ROLE_KEY") or os.getenv("SUP
|
|
|
114
114
|
GROQ_API_KEY = os.getenv("GROQ_API_KEY")
|
|
115
115
|
|
|
116
116
|
# Detection: Are we running on Railway?
|
|
117
|
-
IS_CLOUD = os.getenv("RAILWAY_ENVIRONMENT") == "true" or os.getenv("RAILWAY_STATIC_URL") is not None
|
|
117
|
+
IS_CLOUD = os.getenv("RAILWAY_ENVIRONMENT") == "true" or os.getenv("RAILWAY_STATIC_URL") is not None or os.getenv("VPS_MODE") == "true"
|
|
118
118
|
|
|
119
119
|
# Shared Constants
|
|
120
120
|
IGNORE_LIST = {'.git', 'node_modules', '__pycache__', '.env', 'dist', 'build', '.next', '.dalexor', '.vscode', '.idea', 'venv', '.pyc', '.egg-info', '.pytest_cache', '.mypy_cache'}
|
|
@@ -821,7 +821,7 @@ def dx_sync(args=None):
|
|
|
821
821
|
print(f"\n[!] Rate Limit Exceeded: Sync paused. Wait an hour or upgrade for higher velocity.")
|
|
822
822
|
sys.exit(0) # Stop sync immediately
|
|
823
823
|
if res.status_code == 402:
|
|
824
|
-
print(f"\n[!] Quota Full: Sync aborted. You have reached your atom limit. Manage atoms at dalexor.
|
|
824
|
+
print(f"\n[!] Quota Full: Sync aborted. You have reached your atom limit. Manage atoms at dalexor.com")
|
|
825
825
|
sys.exit(0)
|
|
826
826
|
if res.status_code != 200:
|
|
827
827
|
print(f"[!] Server returned {res.status_code}: {res.text[:200]}")
|
|
@@ -1226,7 +1226,7 @@ def run_agent():
|
|
|
1226
1226
|
elif res.status_code == 429:
|
|
1227
1227
|
print(f"[!] Rate Limit Exceeded: Your plan is currently throttled. Upgrade to Sovereign for near-unlimited velocity.")
|
|
1228
1228
|
elif res.status_code == 402:
|
|
1229
|
-
print(f"[!] Quota Full: You have reached your Intelligence Atom limit. Please upgrade or manage your atoms at dalexor.
|
|
1229
|
+
print(f"[!] Quota Full: You have reached your Intelligence Atom limit. Please upgrade or manage your atoms at "dalexor.com")
|
|
1230
1230
|
else:
|
|
1231
1231
|
print(f"[!] Handshake Refused: {res.status_code} - {res.text}")
|
|
1232
1232
|
except Exception as e:
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
dalexor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
dalexor/main.py,sha256=afbdQKUcJFie0Bku5DEdv2jnng8AC1lzW93nrGPfgEc,58770
|
|
3
|
+
dalexor-0.1.8.dist-info/licenses/LICENSE,sha256=8vtGEZuuzp5cO-mlCG4j4d6MaRj1l6MsqGt1FehKH-g,665
|
|
4
|
+
dalexor-0.1.8.dist-info/METADATA,sha256=Xfs6TMPVcLzDITsZh1bLCSlpEFSYnwKFWCOW4o6iVAQ,2178
|
|
5
|
+
dalexor-0.1.8.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
6
|
+
dalexor-0.1.8.dist-info/entry_points.txt,sha256=_5OmdAjPEySJJ1x--mlPtQGWvnkh6Gw-_phTIFoyLJ8,79
|
|
7
|
+
dalexor-0.1.8.dist-info/top_level.txt,sha256=Xj_feUtDk35VMNuSb67M1SPHvRW5jWkJ_MfWjad807w,8
|
|
8
|
+
dalexor-0.1.8.dist-info/RECORD,,
|
dalexor-0.1.6.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
dalexor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
dalexor/main.py,sha256=KIoMGOw7V95SGQorzzRQen4nguheGoX4JGU7PFxtDpE,58734
|
|
3
|
-
dalexor-0.1.6.dist-info/licenses/LICENSE,sha256=8vtGEZuuzp5cO-mlCG4j4d6MaRj1l6MsqGt1FehKH-g,665
|
|
4
|
-
dalexor-0.1.6.dist-info/METADATA,sha256=sIxcAHeaUUEUWoOjvV9DzU13PsSS-DzNsE172qNLwxA,2178
|
|
5
|
-
dalexor-0.1.6.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
6
|
-
dalexor-0.1.6.dist-info/entry_points.txt,sha256=_5OmdAjPEySJJ1x--mlPtQGWvnkh6Gw-_phTIFoyLJ8,79
|
|
7
|
-
dalexor-0.1.6.dist-info/top_level.txt,sha256=Xj_feUtDk35VMNuSb67M1SPHvRW5jWkJ_MfWjad807w,8
|
|
8
|
-
dalexor-0.1.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|