entelligence-cli 0.1.76__tar.gz → 0.1.78__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.
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/PKG-INFO +1 -1
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/commands/insights.py +3 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/commands/router.py +38 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli.egg-info/PKG-INFO +1 -1
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/pyproject.toml +1 -1
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/README.md +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/__init__.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/api_client.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/ascii-art.txt +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/browser_login.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/cli.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/commands/__init__.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/commands/auth.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/commands/incident.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/commands/review.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/commands/security.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/commands/update.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/config.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/exceptions.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/git_operations.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/router/__init__.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/router/bedrock.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/router/catalog.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/router/claude_settings.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/router/compress.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/router/daemon.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/router/engine.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/router/gateway.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/router/gemini_translate.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/router/openai_translate.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/router/proxy.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/router/state.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/scheduling.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/textual_ui.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/ui/__init__.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/ui/interactive.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/ui/loaders.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/ui/output.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/ui/styles.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/update_checker.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/upload/__init__.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/upload/conductor.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/upload/config.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/upload/discovery.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/upload/manifest.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/upload/models.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/upload/pii.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/upload/runner.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/upload/secrets.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/upload/stores.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/wrapped_game.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli.egg-info/SOURCES.txt +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli.egg-info/dependency_links.txt +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli.egg-info/entry_points.txt +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli.egg-info/requires.txt +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli.egg-info/top_level.txt +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/setup.cfg +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/tests/test_attach_fix_smoke.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/tests/test_attach_ticket_smoke.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/tests/test_conductor.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/tests/test_discovery_opencode.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/tests/test_incident_smoke.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/tests/test_pii.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/tests/test_security_commands.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/tests/test_update_command.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/tests/test_upload_repo_filter.py +0 -0
- {entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/tests/test_upload_repo_roots.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: entelligence-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.78
|
|
4
4
|
Summary: AI-powered code review assistant for your terminal - Get instant, intelligent feedback on your code changes
|
|
5
5
|
Author-email: EntelligenceAI <info@entelligence.ai>
|
|
6
6
|
Project-URL: Homepage, https://entelligence.ai
|
|
@@ -93,6 +93,9 @@ def _write_high_water_mark(dt: datetime) -> None:
|
|
|
93
93
|
_PUSH_COLUMNS = (
|
|
94
94
|
"agent_type",
|
|
95
95
|
"project_name",
|
|
96
|
+
# Conductor worktree tag ("<project>/<workspace>"); absent until the local
|
|
97
|
+
# cinsights engine computes it, and the None-filter omits it from the push.
|
|
98
|
+
"conductor_workspace",
|
|
96
99
|
"model",
|
|
97
100
|
"start_time",
|
|
98
101
|
"end_time",
|
|
@@ -56,6 +56,34 @@ def router():
|
|
|
56
56
|
"""
|
|
57
57
|
|
|
58
58
|
|
|
59
|
+
def _org_billing_mode(base: str, token: str) -> str | None:
|
|
60
|
+
"""Fetch the org's Model Router billing mode from the backend.
|
|
61
|
+
|
|
62
|
+
Returns one of {"proxy", "byok", "byoc"} or None when the backend is
|
|
63
|
+
unreachable / the endpoint is not deployed yet. Never raises — callers
|
|
64
|
+
treat None as "assume proxy" so a lagging deploy doesn't lock users out.
|
|
65
|
+
"""
|
|
66
|
+
import requests
|
|
67
|
+
|
|
68
|
+
try:
|
|
69
|
+
r = requests.get(
|
|
70
|
+
f"{base}/modelRouterOrgMode/",
|
|
71
|
+
headers={"Authorization": f"Bearer {token}"},
|
|
72
|
+
timeout=10,
|
|
73
|
+
)
|
|
74
|
+
if r.status_code != 200:
|
|
75
|
+
return None
|
|
76
|
+
d = r.json()
|
|
77
|
+
if not isinstance(d, dict):
|
|
78
|
+
return None
|
|
79
|
+
mode = d.get("mode")
|
|
80
|
+
if mode in ("proxy", "byok", "byoc"):
|
|
81
|
+
return mode
|
|
82
|
+
except Exception:
|
|
83
|
+
pass
|
|
84
|
+
return None
|
|
85
|
+
|
|
86
|
+
|
|
59
87
|
def _gateway_balance(base: str, token: str) -> dict | None:
|
|
60
88
|
"""Best-effort prepaid-balance check via the hosted gateway.
|
|
61
89
|
|
|
@@ -232,6 +260,16 @@ def on(port: int | None, scope: str, local: bool, eco: bool):
|
|
|
232
260
|
|
|
233
261
|
token = ConfigManager().get_token()
|
|
234
262
|
|
|
263
|
+
# Mode gate: proxy runs the wiring below; byok/byoc are handled by LiteLLM
|
|
264
|
+
# against /v1/route + /router/track, so the CLI has nothing to wire. Exit
|
|
265
|
+
# cleanly without starting anything or printing verbose messaging. The mode
|
|
266
|
+
# is set once at onboarding on org_credit_balance.mode.
|
|
267
|
+
if not local and token:
|
|
268
|
+
_mode = _org_billing_mode(get_base_url(), token)
|
|
269
|
+
if _mode in ("byok", "byoc"):
|
|
270
|
+
click.echo(f"Router configured for {_mode}.")
|
|
271
|
+
return
|
|
272
|
+
|
|
235
273
|
# ---- Hosted gateway (default when authenticated) ----
|
|
236
274
|
if not local and token:
|
|
237
275
|
base = get_base_url()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: entelligence-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.78
|
|
4
4
|
Summary: AI-powered code review assistant for your terminal - Get instant, intelligent feedback on your code changes
|
|
5
5
|
Author-email: EntelligenceAI <info@entelligence.ai>
|
|
6
6
|
Project-URL: Homepage, https://entelligence.ai
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "entelligence-cli"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.78"
|
|
8
8
|
description = "AI-powered code review assistant for your terminal - Get instant, intelligent feedback on your code changes"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [
|
|
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
|
{entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/router/claude_settings.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/router/gemini_translate.py
RENAMED
|
File without changes
|
{entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli/router/openai_translate.py
RENAMED
|
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
|
{entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{entelligence_cli-0.1.76 → entelligence_cli-0.1.78}/entelligence_cli.egg-info/entry_points.txt
RENAMED
|
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
|