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.
Files changed (62) hide show
  1. queravel_cli/__init__.py +30 -0
  2. queravel_cli/__main__.py +999 -0
  3. queravel_cli/adapters/__init__.py +49 -0
  4. queravel_cli/adapters/anthropic_adapter.py +96 -0
  5. queravel_cli/adapters/base.py +146 -0
  6. queravel_cli/adapters/fireworks_adapter.py +302 -0
  7. queravel_cli/adapters/local_adapter.py +85 -0
  8. queravel_cli/adapters/queravel_adapter.py +72 -0
  9. queravel_cli/agent.py +1285 -0
  10. queravel_cli/agents.py +174 -0
  11. queravel_cli/artifact.py +236 -0
  12. queravel_cli/attachments.py +100 -0
  13. queravel_cli/auth.py +380 -0
  14. queravel_cli/checkpoints.py +52 -0
  15. queravel_cli/chrome_bridge.py +274 -0
  16. queravel_cli/chrome_host.py +87 -0
  17. queravel_cli/claude_code.py +395 -0
  18. queravel_cli/clipboard.py +127 -0
  19. queravel_cli/code.py +320 -0
  20. queravel_cli/commands.py +183 -0
  21. queravel_cli/config.py +377 -0
  22. queravel_cli/context.py +151 -0
  23. queravel_cli/daemon.py +285 -0
  24. queravel_cli/device.py +161 -0
  25. queravel_cli/filepicker.py +130 -0
  26. queravel_cli/history.py +53 -0
  27. queravel_cli/hooks.py +116 -0
  28. queravel_cli/importer.py +258 -0
  29. queravel_cli/inline_app.py +645 -0
  30. queravel_cli/local_host.py +308 -0
  31. queravel_cli/local_models.py +382 -0
  32. queravel_cli/local_server.py +154 -0
  33. queravel_cli/mcp_client.py +138 -0
  34. queravel_cli/permissions.py +136 -0
  35. queravel_cli/remote.py +241 -0
  36. queravel_cli/research.py +106 -0
  37. queravel_cli/router.py +54 -0
  38. queravel_cli/scheduler.py +118 -0
  39. queravel_cli/session.py +334 -0
  40. queravel_cli/skills.py +222 -0
  41. queravel_cli/subagent.py +120 -0
  42. queravel_cli/terminal_setup.py +113 -0
  43. queravel_cli/tools/__init__.py +4 -0
  44. queravel_cli/tools/diagnostics.py +49 -0
  45. queravel_cli/tools/fs.py +215 -0
  46. queravel_cli/tools/notebook.py +63 -0
  47. queravel_cli/tools/registry.py +434 -0
  48. queravel_cli/tools/shell.py +146 -0
  49. queravel_cli/tools/tasks.py +42 -0
  50. queravel_cli/tools/web.py +207 -0
  51. queravel_cli/tui.py +4627 -0
  52. queravel_cli/ui.py +172 -0
  53. queravel_cli/update.py +269 -0
  54. queravel_cli/voice.py +340 -0
  55. queravel_cli/workflow.py +281 -0
  56. queravel_cli/workflow_runtime.py +326 -0
  57. queravel_cli/worktree.py +95 -0
  58. queravel_cli-0.9.27.dist-info/METADATA +168 -0
  59. queravel_cli-0.9.27.dist-info/RECORD +62 -0
  60. queravel_cli-0.9.27.dist-info/WHEEL +5 -0
  61. queravel_cli-0.9.27.dist-info/entry_points.txt +2 -0
  62. queravel_cli-0.9.27.dist-info/top_level.txt +1 -0
@@ -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()