queravel-cli 0.9.27__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.
- queravel_cli/__init__.py +30 -0
- queravel_cli/__main__.py +999 -0
- queravel_cli/adapters/__init__.py +49 -0
- queravel_cli/adapters/anthropic_adapter.py +96 -0
- queravel_cli/adapters/base.py +146 -0
- queravel_cli/adapters/fireworks_adapter.py +302 -0
- queravel_cli/adapters/local_adapter.py +85 -0
- queravel_cli/adapters/queravel_adapter.py +72 -0
- queravel_cli/agent.py +1285 -0
- queravel_cli/agents.py +174 -0
- queravel_cli/artifact.py +236 -0
- queravel_cli/attachments.py +100 -0
- queravel_cli/auth.py +380 -0
- queravel_cli/checkpoints.py +52 -0
- queravel_cli/chrome_bridge.py +274 -0
- queravel_cli/chrome_host.py +87 -0
- queravel_cli/claude_code.py +395 -0
- queravel_cli/clipboard.py +127 -0
- queravel_cli/code.py +320 -0
- queravel_cli/commands.py +183 -0
- queravel_cli/config.py +377 -0
- queravel_cli/context.py +151 -0
- queravel_cli/daemon.py +285 -0
- queravel_cli/device.py +161 -0
- queravel_cli/filepicker.py +130 -0
- queravel_cli/history.py +53 -0
- queravel_cli/hooks.py +116 -0
- queravel_cli/importer.py +258 -0
- queravel_cli/inline_app.py +645 -0
- queravel_cli/local_host.py +308 -0
- queravel_cli/local_models.py +382 -0
- queravel_cli/local_server.py +154 -0
- queravel_cli/mcp_client.py +138 -0
- queravel_cli/permissions.py +136 -0
- queravel_cli/remote.py +241 -0
- queravel_cli/research.py +106 -0
- queravel_cli/router.py +54 -0
- queravel_cli/scheduler.py +118 -0
- queravel_cli/session.py +334 -0
- queravel_cli/skills.py +222 -0
- queravel_cli/subagent.py +120 -0
- queravel_cli/terminal_setup.py +113 -0
- queravel_cli/tools/__init__.py +4 -0
- queravel_cli/tools/diagnostics.py +49 -0
- queravel_cli/tools/fs.py +215 -0
- queravel_cli/tools/notebook.py +63 -0
- queravel_cli/tools/registry.py +434 -0
- queravel_cli/tools/shell.py +146 -0
- queravel_cli/tools/tasks.py +42 -0
- queravel_cli/tools/web.py +207 -0
- queravel_cli/tui.py +4627 -0
- queravel_cli/ui.py +172 -0
- queravel_cli/update.py +269 -0
- queravel_cli/voice.py +340 -0
- queravel_cli/workflow.py +281 -0
- queravel_cli/workflow_runtime.py +326 -0
- queravel_cli/worktree.py +95 -0
- queravel_cli-0.9.27.dist-info/METADATA +168 -0
- queravel_cli-0.9.27.dist-info/RECORD +62 -0
- queravel_cli-0.9.27.dist-info/WHEEL +5 -0
- queravel_cli-0.9.27.dist-info/entry_points.txt +2 -0
- queravel_cli-0.9.27.dist-info/top_level.txt +1 -0
queravel_cli/__init__.py
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"""Queravel CLI — an agentic coding assistant for the terminal.
|
|
2
|
+
|
|
3
|
+
Phase 0: a minimal, self-contained agent loop that proves local tool execution
|
|
4
|
+
end-to-end, mirroring the interface of Queravel's backend agent engine so the
|
|
5
|
+
engine can be extracted and shared in Phase 1. See memory/ for the full concept.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
__version__ = "0.9.27"
|
|
9
|
+
|
|
10
|
+
# HTTPS trust store for the FROZEN binary. PyInstaller bakes in the build host's OpenSSL
|
|
11
|
+
# cert path (e.g. .../anaconda3/ssl/cert.pem), which does NOT exist on users' machines, so
|
|
12
|
+
# stdlib ssl/urllib would fail every TLS handshake (model + llama-server downloads). Point
|
|
13
|
+
# SSL_CERT_FILE at the bundled certifi CA bundle (certifi is collected into the binary by
|
|
14
|
+
# queravel.spec) so verification works on any machine. Runs at import, before any HTTPS.
|
|
15
|
+
# No-op from source when the env/certs are already valid (setdefault won't override).
|
|
16
|
+
def _ensure_ca_bundle() -> None:
|
|
17
|
+
import os
|
|
18
|
+
if os.environ.get("SSL_CERT_FILE"):
|
|
19
|
+
return
|
|
20
|
+
try:
|
|
21
|
+
import certifi
|
|
22
|
+
ca = certifi.where()
|
|
23
|
+
if ca and os.path.exists(ca):
|
|
24
|
+
os.environ["SSL_CERT_FILE"] = ca
|
|
25
|
+
os.environ.setdefault("REQUESTS_CA_BUNDLE", ca)
|
|
26
|
+
except Exception:
|
|
27
|
+
pass
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
_ensure_ca_bundle()
|