velune-cli 0.9.0__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.
- velune/__init__.py +5 -0
- velune/__main__.py +6 -0
- velune/cli/__init__.py +5 -0
- velune/cli/app.py +208 -0
- velune/cli/autocomplete.py +80 -0
- velune/cli/banner.py +60 -0
- velune/cli/commands/__init__.py +32 -0
- velune/cli/commands/ask.py +175 -0
- velune/cli/commands/base.py +16 -0
- velune/cli/commands/chat.py +228 -0
- velune/cli/commands/config.py +224 -0
- velune/cli/commands/daemon.py +88 -0
- velune/cli/commands/doctor.py +721 -0
- velune/cli/commands/init.py +170 -0
- velune/cli/commands/mcp.py +82 -0
- velune/cli/commands/memory.py +293 -0
- velune/cli/commands/models.py +683 -0
- velune/cli/commands/preflight.py +95 -0
- velune/cli/commands/run.py +270 -0
- velune/cli/commands/setup.py +184 -0
- velune/cli/commands/workspace.py +249 -0
- velune/cli/context.py +36 -0
- velune/cli/councilmodel_ui.py +199 -0
- velune/cli/display/council_view.py +254 -0
- velune/cli/display/memory_view.py +126 -0
- velune/cli/display/panels.py +35 -0
- velune/cli/display/progress.py +25 -0
- velune/cli/display/themes.py +25 -0
- velune/cli/main.py +15 -0
- velune/cli/model_selector.py +51 -0
- velune/cli/modes.py +86 -0
- velune/cli/pull_ui.py +123 -0
- velune/cli/registry.py +80 -0
- velune/cli/rendering/__init__.py +5 -0
- velune/cli/rendering/error_panel.py +79 -0
- velune/cli/rendering/markdown.py +63 -0
- velune/cli/repl.py +1855 -0
- velune/cli/session_manager.py +71 -0
- velune/cli/slash_commands.py +37 -0
- velune/cli/theme.py +8 -0
- velune/cognition/__init__.py +23 -0
- velune/cognition/agents/__init__.py +7 -0
- velune/cognition/agents/coder.py +209 -0
- velune/cognition/agents/planner.py +156 -0
- velune/cognition/agents/reviewer.py +195 -0
- velune/cognition/arbitrator.py +220 -0
- velune/cognition/architecture.py +415 -0
- velune/cognition/budget.py +65 -0
- velune/cognition/council/__init__.py +47 -0
- velune/cognition/council/base.py +217 -0
- velune/cognition/council/challenger.py +74 -0
- velune/cognition/council/coder.py +79 -0
- velune/cognition/council/critic_agent.py +43 -0
- velune/cognition/council/critic_configs.py +111 -0
- velune/cognition/council/critics.py +41 -0
- velune/cognition/council/debate.py +46 -0
- velune/cognition/council/factory.py +140 -0
- velune/cognition/council/messages.py +56 -0
- velune/cognition/council/planner.py +124 -0
- velune/cognition/council/reviewer.py +74 -0
- velune/cognition/council/synthesizer.py +67 -0
- velune/cognition/council/tiers.py +188 -0
- velune/cognition/council_orchestrator.py +282 -0
- velune/cognition/firewall.py +354 -0
- velune/cognition/module.py +46 -0
- velune/cognition/orchestrator.py +1205 -0
- velune/cognition/personality.py +238 -0
- velune/cognition/state.py +104 -0
- velune/cognition/style_resolver.py +64 -0
- velune/cognition/verification.py +205 -0
- velune/context/__init__.py +28 -0
- velune/context/assembler.py +240 -0
- velune/context/budget.py +97 -0
- velune/context/extractive.py +95 -0
- velune/context/prompt_adaptation.py +480 -0
- velune/context/sections.py +99 -0
- velune/context/token_counter.py +134 -0
- velune/context/utilization.py +33 -0
- velune/context/window.py +63 -0
- velune/core/__init__.py +89 -0
- velune/core/background.py +5 -0
- velune/core/config/__init__.py +37 -0
- velune/core/errors/__init__.py +90 -0
- velune/core/errors/catalog.py +188 -0
- velune/core/errors/execution.py +31 -0
- velune/core/errors/memory.py +25 -0
- velune/core/errors/orchestration.py +31 -0
- velune/core/errors/provider.py +37 -0
- velune/core/event_loop.py +35 -0
- velune/core/logging.py +83 -0
- velune/core/paths.py +165 -0
- velune/core/runtime.py +113 -0
- velune/core/startup_profiler.py +56 -0
- velune/core/task_registry.py +117 -0
- velune/core/trace.py +83 -0
- velune/core/types/__init__.py +48 -0
- velune/core/types/agent.py +53 -0
- velune/core/types/context.py +42 -0
- velune/core/types/inference.py +38 -0
- velune/core/types/memory.py +42 -0
- velune/core/types/model.py +70 -0
- velune/core/types/provider.py +62 -0
- velune/core/types/repository.py +38 -0
- velune/core/types/task.py +61 -0
- velune/core/types/workspace.py +28 -0
- velune/daemon/client.py +13 -0
- velune/daemon/server.py +127 -0
- velune/daemon/transport.py +179 -0
- velune/events.py +204 -0
- velune/execution/__init__.py +22 -0
- velune/execution/benchmarker.py +315 -0
- velune/execution/cancellation.py +53 -0
- velune/execution/checkpointer.py +130 -0
- velune/execution/command_spec.py +165 -0
- velune/execution/diff_preview.py +197 -0
- velune/execution/executor.py +181 -0
- velune/execution/module.py +18 -0
- velune/execution/multi_diff.py +67 -0
- velune/execution/path_guard.py +74 -0
- velune/execution/planner.py +91 -0
- velune/execution/rollback.py +89 -0
- velune/execution/sandbox.py +268 -0
- velune/execution/validator.py +115 -0
- velune/hardware/__init__.py +1 -0
- velune/hardware/detector.py +192 -0
- velune/kernel/__init__.py +55 -0
- velune/kernel/bootstrap.py +125 -0
- velune/kernel/config.py +426 -0
- velune/kernel/entrypoint.py +78 -0
- velune/kernel/health.py +54 -0
- velune/kernel/lifecycle.py +143 -0
- velune/kernel/module.py +17 -0
- velune/kernel/modules.py +23 -0
- velune/kernel/registry.py +96 -0
- velune/kernel/schemas.py +28 -0
- velune/main.py +9 -0
- velune/mcp/__init__.py +9 -0
- velune/mcp/client.py +115 -0
- velune/mcp/config.py +19 -0
- velune/mcp/server.py +624 -0
- velune/memory/__init__.py +32 -0
- velune/memory/compaction.py +506 -0
- velune/memory/embedding_pipeline.py +241 -0
- velune/memory/lifecycle.py +680 -0
- velune/memory/module.py +218 -0
- velune/memory/prioritizer.py +67 -0
- velune/memory/storage/episodic_schema.sql +53 -0
- velune/memory/storage/lancedb_store.py +282 -0
- velune/memory/storage/sqlite_manager.py +369 -0
- velune/memory/storage/sqlite_pool.py +149 -0
- velune/memory/tiers/episodic.py +588 -0
- velune/memory/tiers/graph.py +378 -0
- velune/memory/tiers/lineage.py +416 -0
- velune/memory/tiers/semantic.py +475 -0
- velune/memory/tiers/working.py +168 -0
- velune/memory/vitality.py +132 -0
- velune/models/__init__.py +15 -0
- velune/models/family.py +76 -0
- velune/models/module.py +20 -0
- velune/models/probes.py +192 -0
- velune/models/profile_cache.py +84 -0
- velune/models/profiler.py +108 -0
- velune/models/registry.py +251 -0
- velune/models/scorer.py +233 -0
- velune/models/specializations.py +205 -0
- velune/orchestration/__init__.py +19 -0
- velune/orchestration/engine.py +239 -0
- velune/orchestration/module.py +15 -0
- velune/orchestration/role_assignments.py +82 -0
- velune/orchestration/schemas.py +98 -0
- velune/plugins/__init__.py +20 -0
- velune/plugins/hooks.py +50 -0
- velune/plugins/loader.py +161 -0
- velune/plugins/registry.py +56 -0
- velune/plugins/schemas.py +21 -0
- velune/providers/__init__.py +23 -0
- velune/providers/adapters/anthropic.py +257 -0
- velune/providers/adapters/fireworks.py +115 -0
- velune/providers/adapters/google.py +234 -0
- velune/providers/adapters/groq.py +151 -0
- velune/providers/adapters/huggingface.py +210 -0
- velune/providers/adapters/llamacpp.py +208 -0
- velune/providers/adapters/lmstudio.py +175 -0
- velune/providers/adapters/ollama.py +233 -0
- velune/providers/adapters/openai.py +213 -0
- velune/providers/adapters/openrouter.py +81 -0
- velune/providers/adapters/together.py +134 -0
- velune/providers/adapters/xai.py +60 -0
- velune/providers/base.py +86 -0
- velune/providers/benchmarker.py +138 -0
- velune/providers/discovery/__init__.py +33 -0
- velune/providers/discovery/anthropic.py +79 -0
- velune/providers/discovery/benchmarks.py +44 -0
- velune/providers/discovery/classifier.py +69 -0
- velune/providers/discovery/fireworks.py +95 -0
- velune/providers/discovery/gguf.py +88 -0
- velune/providers/discovery/google.py +95 -0
- velune/providers/discovery/gpu.py +117 -0
- velune/providers/discovery/groq.py +21 -0
- velune/providers/discovery/huggingface.py +67 -0
- velune/providers/discovery/lmstudio.py +80 -0
- velune/providers/discovery/ollama.py +162 -0
- velune/providers/discovery/openai.py +96 -0
- velune/providers/discovery/openrouter.py +113 -0
- velune/providers/discovery/scanner.py +115 -0
- velune/providers/discovery/together.py +114 -0
- velune/providers/discovery/xai.py +57 -0
- velune/providers/health.py +67 -0
- velune/providers/health_monitor.py +169 -0
- velune/providers/keystore.py +142 -0
- velune/providers/local_paths.py +49 -0
- velune/providers/local_resolver.py +229 -0
- velune/providers/module.py +51 -0
- velune/providers/ollama_manager.py +193 -0
- velune/providers/registry.py +220 -0
- velune/providers/router.py +255 -0
- velune/providers/task_classifier.py +288 -0
- velune/py.typed +0 -0
- velune/repository/__init__.py +33 -0
- velune/repository/analyzer.py +127 -0
- velune/repository/ast_parser.py +822 -0
- velune/repository/blast_radius.py +298 -0
- velune/repository/boundary_classifier.py +295 -0
- velune/repository/cognition.py +316 -0
- velune/repository/grapher.py +179 -0
- velune/repository/import_graph.py +263 -0
- velune/repository/incremental_indexer.py +275 -0
- velune/repository/index_state.py +96 -0
- velune/repository/indexer.py +243 -0
- velune/repository/module.py +17 -0
- velune/repository/parser.py +474 -0
- velune/repository/project_type.py +300 -0
- velune/repository/rename_journal.py +287 -0
- velune/repository/scanner.py +193 -0
- velune/repository/schemas.py +102 -0
- velune/repository/symbol_registry.py +365 -0
- velune/repository/tracker.py +252 -0
- velune/retrieval/__init__.py +27 -0
- velune/retrieval/cache.py +110 -0
- velune/retrieval/fast_path.py +391 -0
- velune/retrieval/graph.py +124 -0
- velune/retrieval/hybrid.py +271 -0
- velune/retrieval/keyword.py +131 -0
- velune/retrieval/module.py +26 -0
- velune/retrieval/pipeline.py +303 -0
- velune/retrieval/reranker.py +102 -0
- velune/retrieval/schemas.py +59 -0
- velune/retrieval/slow_path.py +364 -0
- velune/retrieval/vector.py +203 -0
- velune/telemetry/__init__.py +59 -0
- velune/telemetry/cognition.py +267 -0
- velune/telemetry/cost_estimator.py +92 -0
- velune/telemetry/debug.py +304 -0
- velune/telemetry/doctor.py +244 -0
- velune/telemetry/logging.py +286 -0
- velune/telemetry/spans.py +277 -0
- velune/telemetry/token_tracker.py +140 -0
- velune/telemetry/usage_tracker.py +340 -0
- velune/tools/__init__.py +41 -0
- velune/tools/base/registry.py +87 -0
- velune/tools/base/tool.py +63 -0
- velune/tools/code/navigate.py +116 -0
- velune/tools/code/search.py +123 -0
- velune/tools/filesystem/read.py +75 -0
- velune/tools/filesystem/search.py +136 -0
- velune/tools/filesystem/write.py +163 -0
- velune/tools/git/history.py +177 -0
- velune/tools/git/operations.py +122 -0
- velune/tools/git/state.py +121 -0
- velune/tools/module.py +81 -0
- velune/tools/terminal/execute.py +72 -0
- velune/tools/terminal/history.py +47 -0
- velune/tools/web/fetch.py +55 -0
- velune/tools/web/validator.py +122 -0
- velune_cli-0.9.0.dist-info/METADATA +518 -0
- velune_cli-0.9.0.dist-info/RECORD +279 -0
- velune_cli-0.9.0.dist-info/WHEEL +4 -0
- velune_cli-0.9.0.dist-info/entry_points.txt +2 -0
- velune_cli-0.9.0.dist-info/licenses/LICENSE +201 -0
|
@@ -0,0 +1,518 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: velune-cli
|
|
3
|
+
Version: 0.9.0
|
|
4
|
+
Summary: Local-first multi-model AI developer CLI — council-based agents, persistent memory, repository cognition
|
|
5
|
+
Project-URL: Homepage, https://github.com/Surya-Hariharan/Velune-CLI
|
|
6
|
+
Project-URL: Repository, https://github.com/Surya-Hariharan/Velune-CLI
|
|
7
|
+
Project-URL: Issues, https://github.com/Surya-Hariharan/Velune-CLI/issues
|
|
8
|
+
Project-URL: Changelog, https://github.com/Surya-Hariharan/Velune-CLI/blob/main/CHANGELOG.md
|
|
9
|
+
Author-email: Surya HA <suryahariharan2006@gmail.com>
|
|
10
|
+
License: Apache License
|
|
11
|
+
Version 2.0, January 2004
|
|
12
|
+
http://www.apache.org/licenses/
|
|
13
|
+
|
|
14
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
15
|
+
|
|
16
|
+
1. Definitions.
|
|
17
|
+
|
|
18
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
19
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
20
|
+
|
|
21
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
22
|
+
the copyright owner that is granting the License.
|
|
23
|
+
|
|
24
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
25
|
+
other entities that control, are controlled by, or are under common
|
|
26
|
+
control with that entity. For the purposes of this definition,
|
|
27
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
28
|
+
direction or management of such entity, whether by contract or
|
|
29
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
30
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
31
|
+
|
|
32
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
33
|
+
exercising permissions granted by this License.
|
|
34
|
+
|
|
35
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
36
|
+
including but not limited to software source code, documentation
|
|
37
|
+
source, and configuration files.
|
|
38
|
+
|
|
39
|
+
"Object" form shall mean any form resulting from mechanical
|
|
40
|
+
transformation or translation of a Source form, including but
|
|
41
|
+
not limited to compiled object code, generated documentation,
|
|
42
|
+
and conversions to other media types.
|
|
43
|
+
|
|
44
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
45
|
+
Object form, made available under the License, as indicated by a
|
|
46
|
+
copyright notice that is included in or attached to the work
|
|
47
|
+
(an example is provided in the Appendix below).
|
|
48
|
+
|
|
49
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
50
|
+
form, that is based on (or derived from) the Work and for which the
|
|
51
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
52
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
53
|
+
of this License, Derivative Works shall not include works that remain
|
|
54
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
55
|
+
the Work and Derivative Works thereof.
|
|
56
|
+
|
|
57
|
+
"Contribution" shall mean any work of authorship, including
|
|
58
|
+
the original version of the Work and any modifications or additions
|
|
59
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
60
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
61
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
62
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
63
|
+
means any form of electronic, verbal, or written communication sent
|
|
64
|
+
to the Licensor or its representatives, including but not limited to
|
|
65
|
+
communication on electronic mailing lists, source code control systems,
|
|
66
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
67
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
68
|
+
excluding communication that is conspicuously marked or otherwise
|
|
69
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
70
|
+
|
|
71
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
72
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
73
|
+
subsequently incorporated within the Work.
|
|
74
|
+
|
|
75
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
76
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
77
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
78
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
79
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
80
|
+
Work and such Derivative Works in Source or Object form.
|
|
81
|
+
|
|
82
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
83
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
84
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
85
|
+
(except as stated in this section) patent license to make, have made,
|
|
86
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
87
|
+
where such license applies only to those patent claims licensable
|
|
88
|
+
by such Contributor that are necessarily infringed by their
|
|
89
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
90
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
91
|
+
institute patent litigation against any entity (including a
|
|
92
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
93
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
94
|
+
or contributory patent infringement, then any patent licenses
|
|
95
|
+
granted to You under this License for that Work shall terminate
|
|
96
|
+
as of the date such litigation is filed.
|
|
97
|
+
|
|
98
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
99
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
100
|
+
modifications, and in Source or Object form, provided that You
|
|
101
|
+
meet the following conditions:
|
|
102
|
+
|
|
103
|
+
(a) You must give any other recipients of the Work or
|
|
104
|
+
Derivative Works a copy of this License; and
|
|
105
|
+
|
|
106
|
+
(b) You must cause any modified files to carry prominent notices
|
|
107
|
+
stating that You changed the files; and
|
|
108
|
+
|
|
109
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
110
|
+
that You distribute, all copyright, patent, trademark, and
|
|
111
|
+
attribution notices from the Source form of the Work,
|
|
112
|
+
excluding those notices that do not pertain to any part of
|
|
113
|
+
the Derivative Works; and
|
|
114
|
+
|
|
115
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
116
|
+
distribution, then any Derivative Works that You distribute must
|
|
117
|
+
include a readable copy of the attribution notices contained
|
|
118
|
+
within such NOTICE file, excluding those notices that do not
|
|
119
|
+
pertain to any part of the Derivative Works, in at least one
|
|
120
|
+
of the following places: within a NOTICE text file distributed
|
|
121
|
+
as part of the Derivative Works; within the Source form or
|
|
122
|
+
documentation, if provided along with the Derivative Works; or,
|
|
123
|
+
within a display generated by the Derivative Works, if and
|
|
124
|
+
wherever such third-party notices normally appear. The contents
|
|
125
|
+
of the NOTICE file are for informational purposes only and
|
|
126
|
+
do not modify the License. You may add Your own attribution
|
|
127
|
+
notices within Derivative Works that You distribute, alongside
|
|
128
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
129
|
+
that such additional attribution notices cannot be construed
|
|
130
|
+
as modifying the License.
|
|
131
|
+
|
|
132
|
+
You may add Your own copyright statement to Your modifications and
|
|
133
|
+
may provide additional or different license terms and conditions
|
|
134
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
135
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
136
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
137
|
+
the conditions stated in this License.
|
|
138
|
+
|
|
139
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
140
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
141
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
142
|
+
this License, without any additional terms or conditions.
|
|
143
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
144
|
+
the terms of any separate license agreement you may have executed
|
|
145
|
+
with Licensor regarding such Contributions.
|
|
146
|
+
|
|
147
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
148
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
149
|
+
except as required for reasonable and customary use in describing the
|
|
150
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
151
|
+
|
|
152
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
153
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
154
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
155
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
156
|
+
implied, including, without limitation, any warranties or conditions
|
|
157
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
158
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
159
|
+
appropriateness of using or redistributing the Work and assume any
|
|
160
|
+
risks associated with Your exercise of permissions under this License.
|
|
161
|
+
|
|
162
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
163
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
164
|
+
unless required by applicable law (such as deliberate and grossly
|
|
165
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
166
|
+
liable to You for damages, including any direct, indirect, special,
|
|
167
|
+
incidental, or consequential damages of any character arising as a
|
|
168
|
+
result of this License or out of the use or inability to use the
|
|
169
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
170
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
171
|
+
other commercial damages or losses), even if such Contributor
|
|
172
|
+
has been advised of the possibility of such damages.
|
|
173
|
+
|
|
174
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
175
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
176
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
177
|
+
or other liability obligations and/or rights consistent with this
|
|
178
|
+
License. However, in accepting such obligations, You may act only
|
|
179
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
180
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
181
|
+
defend, and hold each Contributor harmless for any liability
|
|
182
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
183
|
+
of your accepting any such warranty or additional liability.
|
|
184
|
+
|
|
185
|
+
END OF TERMS AND CONDITIONS
|
|
186
|
+
|
|
187
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
188
|
+
|
|
189
|
+
To apply the Apache License to your work, attach the following
|
|
190
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
191
|
+
replaced with your own identifying information. (Don't include
|
|
192
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
193
|
+
comment syntax for the file format. We also recommend that a
|
|
194
|
+
file or class name and description of purpose be included on the
|
|
195
|
+
same "printed page" as the copyright notice for easier
|
|
196
|
+
identification within third-party archives.
|
|
197
|
+
|
|
198
|
+
Copyright 2026 Surya HA
|
|
199
|
+
|
|
200
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
201
|
+
you may not use this file except in compliance with the License.
|
|
202
|
+
You may obtain a copy of the License at
|
|
203
|
+
|
|
204
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
205
|
+
|
|
206
|
+
Unless required by applicable law or agreed to in writing, software
|
|
207
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
208
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
209
|
+
See the License for the specific language governing permissions and
|
|
210
|
+
limitations under the License.
|
|
211
|
+
License-File: LICENSE
|
|
212
|
+
Keywords: ai,cli,coding-assistant,llm,local-ai,multi-agent,ollama,terminal
|
|
213
|
+
Classifier: Development Status :: 4 - Beta
|
|
214
|
+
Classifier: Environment :: Console
|
|
215
|
+
Classifier: Intended Audience :: Developers
|
|
216
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
217
|
+
Classifier: Operating System :: OS Independent
|
|
218
|
+
Classifier: Programming Language :: Python :: 3
|
|
219
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
220
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
221
|
+
Classifier: Topic :: Software Development
|
|
222
|
+
Classifier: Topic :: Terminals
|
|
223
|
+
Requires-Python: >=3.11
|
|
224
|
+
Requires-Dist: aiosqlite>=0.19.0
|
|
225
|
+
Requires-Dist: anthropic>=0.18.0
|
|
226
|
+
Requires-Dist: gitpython>=3.1.40
|
|
227
|
+
Requires-Dist: httpx>=0.26.0
|
|
228
|
+
Requires-Dist: keyring>=24.0.0
|
|
229
|
+
Requires-Dist: lancedb>=0.5.0
|
|
230
|
+
Requires-Dist: mcp>=1.0.0
|
|
231
|
+
Requires-Dist: networkx>=3.2.0
|
|
232
|
+
Requires-Dist: numpy>=1.24.0
|
|
233
|
+
Requires-Dist: openai>=1.10.0
|
|
234
|
+
Requires-Dist: opentelemetry-api>=1.22.0
|
|
235
|
+
Requires-Dist: opentelemetry-exporter-otlp>=1.22.0
|
|
236
|
+
Requires-Dist: opentelemetry-sdk>=1.22.0
|
|
237
|
+
Requires-Dist: orjson>=3.9.0
|
|
238
|
+
Requires-Dist: pathspec>=0.12.0
|
|
239
|
+
Requires-Dist: platformdirs>=4.2.0
|
|
240
|
+
Requires-Dist: prompt-toolkit>=3.0.0
|
|
241
|
+
Requires-Dist: psutil>=5.9.0
|
|
242
|
+
Requires-Dist: pyarrow>=14.0.0
|
|
243
|
+
Requires-Dist: pydantic-settings>=2.1.0
|
|
244
|
+
Requires-Dist: pydantic>=2.5.0
|
|
245
|
+
Requires-Dist: qdrant-client>=1.7.0
|
|
246
|
+
Requires-Dist: rank-bm25>=0.2.2
|
|
247
|
+
Requires-Dist: rich>=13.7.0
|
|
248
|
+
Requires-Dist: structlog>=24.0.0
|
|
249
|
+
Requires-Dist: tiktoken>=0.5.0
|
|
250
|
+
Requires-Dist: toml>=0.10.2
|
|
251
|
+
Requires-Dist: tree-sitter-go>=0.21.0
|
|
252
|
+
Requires-Dist: tree-sitter-python>=0.21.0
|
|
253
|
+
Requires-Dist: tree-sitter-rust>=0.21.0
|
|
254
|
+
Requires-Dist: tree-sitter-typescript>=0.21.0
|
|
255
|
+
Requires-Dist: tree-sitter>=0.21.0
|
|
256
|
+
Requires-Dist: typer>=0.9.0
|
|
257
|
+
Provides-Extra: all
|
|
258
|
+
Requires-Dist: gguf>=0.6.0; extra == 'all'
|
|
259
|
+
Requires-Dist: llama-cpp-python>=0.2.0; extra == 'all'
|
|
260
|
+
Provides-Extra: dev
|
|
261
|
+
Requires-Dist: black>=23.12.0; extra == 'dev'
|
|
262
|
+
Requires-Dist: build>=1.0.0; extra == 'dev'
|
|
263
|
+
Requires-Dist: coverage>=7.0.0; extra == 'dev'
|
|
264
|
+
Requires-Dist: mypy>=1.8.0; extra == 'dev'
|
|
265
|
+
Requires-Dist: pip-audit>=2.6.0; extra == 'dev'
|
|
266
|
+
Requires-Dist: pre-commit>=3.6.0; extra == 'dev'
|
|
267
|
+
Requires-Dist: pyright>=1.1.350; extra == 'dev'
|
|
268
|
+
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
|
|
269
|
+
Requires-Dist: pytest-benchmark>=4.0.0; extra == 'dev'
|
|
270
|
+
Requires-Dist: pytest-cov>=4.1.0; extra == 'dev'
|
|
271
|
+
Requires-Dist: pytest-mock>=3.12.0; extra == 'dev'
|
|
272
|
+
Requires-Dist: pytest-timeout>=2.2.0; extra == 'dev'
|
|
273
|
+
Requires-Dist: pytest>=7.4.0; extra == 'dev'
|
|
274
|
+
Requires-Dist: ruff>=0.1.0; extra == 'dev'
|
|
275
|
+
Requires-Dist: twine>=4.0.0; extra == 'dev'
|
|
276
|
+
Requires-Dist: types-toml>=0.10.0; extra == 'dev'
|
|
277
|
+
Provides-Extra: gguf
|
|
278
|
+
Requires-Dist: gguf>=0.6.0; extra == 'gguf'
|
|
279
|
+
Requires-Dist: llama-cpp-python>=0.2.0; extra == 'gguf'
|
|
280
|
+
Description-Content-Type: text/markdown
|
|
281
|
+
|
|
282
|
+
# Velune
|
|
283
|
+
|
|
284
|
+
> Local-first multi-model AI developer CLI. Council-based agents,
|
|
285
|
+
> persistent memory, repository cognition.
|
|
286
|
+
> No cloud required. No quota. No lock-in.
|
|
287
|
+
|
|
288
|
+
[](https://pypi.org/project/velune/)
|
|
289
|
+
[](https://python.org)
|
|
290
|
+
[](LICENSE)
|
|
291
|
+
[](https://github.com/Surya-Hariharan/Velune-CLI/actions/workflows/ci.yml)
|
|
292
|
+
|
|
293
|
+
---
|
|
294
|
+
|
|
295
|
+
## What it does
|
|
296
|
+
|
|
297
|
+
Velune is a terminal-first AI coding assistant that runs a council of
|
|
298
|
+
specialized agents (Planner, Coder, Reviewer, Challenger, Synthesizer)
|
|
299
|
+
on your local machine using Ollama, or on free cloud tiers via Groq,
|
|
300
|
+
OpenRouter, and others.
|
|
301
|
+
|
|
302
|
+
Unlike Copilot or Cursor, Velune:
|
|
303
|
+
|
|
304
|
+
- Runs 100% locally with Ollama — no API key needed
|
|
305
|
+
- Remembers your codebase across sessions (persistent 5-tier memory)
|
|
306
|
+
- Reviews its own code using multiple specialized agents
|
|
307
|
+
- Works in any terminal on any project — no IDE required
|
|
308
|
+
|
|
309
|
+
---
|
|
310
|
+
|
|
311
|
+
## 60-second quickstart
|
|
312
|
+
|
|
313
|
+
### Option A — Local (Ollama, free, no key)
|
|
314
|
+
|
|
315
|
+
```bash
|
|
316
|
+
# 1. Install Ollama
|
|
317
|
+
curl -fsSL https://ollama.com/install.sh | sh
|
|
318
|
+
|
|
319
|
+
# 2. Pull a model
|
|
320
|
+
ollama pull qwen2.5-coder:7b
|
|
321
|
+
|
|
322
|
+
# 3. Install Velune
|
|
323
|
+
pip install velune
|
|
324
|
+
|
|
325
|
+
# 4. Initialize in your project
|
|
326
|
+
cd your-project
|
|
327
|
+
velune init
|
|
328
|
+
|
|
329
|
+
# 5. Start
|
|
330
|
+
velune
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
### Option B — Cloud free tier (Groq, fastest, no GPU needed)
|
|
334
|
+
|
|
335
|
+
```bash
|
|
336
|
+
pip install velune
|
|
337
|
+
velune init --provider groq
|
|
338
|
+
velune setup # enter your free Groq key
|
|
339
|
+
velune
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
Get a free Groq key at <https://console.groq.com/keys> — no credit card.
|
|
343
|
+
|
|
344
|
+
---
|
|
345
|
+
|
|
346
|
+
## Hardware requirements
|
|
347
|
+
|
|
348
|
+
| RAM | GPU | Can run local LLM? | Recommended setup |
|
|
349
|
+
|--------|------------------|--------------------|------------------------------|
|
|
350
|
+
| < 8 GB | any | ✗ No | Use Groq free tier |
|
|
351
|
+
| 8 GB | integrated | ⚠ 3B models only | Groq + phi3-mini local |
|
|
352
|
+
| 16 GB | integrated | ⚠ Slow (CPU only) | Groq + 3B local |
|
|
353
|
+
| 16 GB | 6–8 GB VRAM | ✓ 7B comfortable | qwen2.5-coder:7b |
|
|
354
|
+
| 32 GB | 12+ GB VRAM | ✓ 13B comfortable | Full council local |
|
|
355
|
+
| 36 GB | Apple Silicon | ✓ 27B comfortable | Full council, Metal accel |
|
|
356
|
+
| 64 GB | 24 GB VRAM | ✓ 70B capable | Max power mode |
|
|
357
|
+
|
|
358
|
+
Velune detects your hardware on startup and prints tier, GPU, and recommendations.
|
|
359
|
+
On underpowered machines it routes tasks to cloud providers automatically.
|
|
360
|
+
|
|
361
|
+
---
|
|
362
|
+
|
|
363
|
+
## Interface
|
|
364
|
+
|
|
365
|
+
Velune features a modern, clean terminal interface designed for productivity:
|
|
366
|
+
|
|
367
|
+
- **Startup banner** shows your hardware tier, active model, and available providers
|
|
368
|
+
- **Responsive prompt** with intelligent context indicators (only displays when relevant)
|
|
369
|
+
- **Sophisticated color palette** using restrained styling for clarity
|
|
370
|
+
- **Intuitive command structure** with tab-completion for all slash commands
|
|
371
|
+
- **Session modes** for balancing speed vs. quality (Optimus / Normal / Godly)
|
|
372
|
+
|
|
373
|
+
---
|
|
374
|
+
|
|
375
|
+
## Providers
|
|
376
|
+
|
|
377
|
+
| Provider | Type | Cost | Models | Setup |
|
|
378
|
+
|-----------------------|-------|----------------|--------------------------------------|----------------------------------|
|
|
379
|
+
| Ollama | Local | Free | Any pulled model | Install Ollama, pull a model |
|
|
380
|
+
| Groq | Cloud | Free tier | Llama 3.3 70B, Mixtral, Gemma2 | `velune setup` → enter key |
|
|
381
|
+
| OpenRouter | Cloud | Pay-per-token | 100+ models | `velune setup` → enter key |
|
|
382
|
+
| OpenAI | Cloud | Pay-per-token | GPT-4o, GPT-4o Mini | `velune setup` → enter key |
|
|
383
|
+
| Anthropic | Cloud | Pay-per-token | Claude Opus, Sonnet, Haiku | `velune setup` → enter key |
|
|
384
|
+
| xAI (Grok) | Cloud | Pay-per-token | Grok 2, Grok 2 Mini | `velune setup` → enter key |
|
|
385
|
+
| Google Gemini | Cloud | Free quota | Gemini 2.0 Flash, 1.5 Pro/Flash | `velune setup` → enter key |
|
|
386
|
+
|
|
387
|
+
Keys are stored in your OS keyring — never in files, never in git.
|
|
388
|
+
|
|
389
|
+
---
|
|
390
|
+
|
|
391
|
+
## Commands
|
|
392
|
+
|
|
393
|
+
### CLI (before the REPL starts)
|
|
394
|
+
|
|
395
|
+
```bash
|
|
396
|
+
velune # Start the persistent REPL session
|
|
397
|
+
velune init # Initialize Velune in a project
|
|
398
|
+
velune setup # Configure API keys securely (stored in OS keyring)
|
|
399
|
+
velune doctor # Check hardware, providers, dependencies
|
|
400
|
+
velune models scan # Discover all available local and cloud models
|
|
401
|
+
```
|
|
402
|
+
|
|
403
|
+
### Inside the REPL
|
|
404
|
+
|
|
405
|
+
```text
|
|
406
|
+
/run <task> Execute a task through the council
|
|
407
|
+
/model Switch active model (arrow-key picker)
|
|
408
|
+
/models List all available models
|
|
409
|
+
/optimus Speed mode — instant tier, smallest model
|
|
410
|
+
/godly Max power — full council, largest model
|
|
411
|
+
/normal Return to balanced mode
|
|
412
|
+
/mode Show current mode settings
|
|
413
|
+
/memory Inspect memory tiers
|
|
414
|
+
/session save Save current session
|
|
415
|
+
/session list List saved sessions
|
|
416
|
+
/session resume <id> Resume a session
|
|
417
|
+
/usage Token count and cost for this session
|
|
418
|
+
/context Context window usage indicator
|
|
419
|
+
/diff Show pending file changes
|
|
420
|
+
/doctor Run health checks
|
|
421
|
+
/help Show all commands
|
|
422
|
+
/clear Clear screen and context
|
|
423
|
+
/exit Exit Velune
|
|
424
|
+
```
|
|
425
|
+
|
|
426
|
+
Tab-completion is active for all `/` commands and for model IDs (type `/model` then space to trigger).
|
|
427
|
+
|
|
428
|
+
---
|
|
429
|
+
|
|
430
|
+
## Architecture overview
|
|
431
|
+
|
|
432
|
+
```text
|
|
433
|
+
velune/
|
|
434
|
+
├── cli/ REPL, slash commands, banner, autocomplete, session manager
|
|
435
|
+
├── providers/ Ollama, Groq, OpenAI, Anthropic, xAI, Google, OpenRouter
|
|
436
|
+
├── cognition/ Council: Planner + Coder + Reviewer + Challenger + Synthesizer
|
|
437
|
+
├── memory/ 5-tier: working → episodic → semantic → graph → lineage
|
|
438
|
+
├── repository/ AST indexing, dependency graph, .veluneignore
|
|
439
|
+
├── execution/ Sandbox, diff preview, rollback, cancellation
|
|
440
|
+
├── hardware/ Hardware detection, tier classification, GPU probe
|
|
441
|
+
├── telemetry/ Token tracking, cost estimation, latency profiling
|
|
442
|
+
├── models/ Model registry, capability scoring, specializations
|
|
443
|
+
├── context/ Context window tracking, extractive compression
|
|
444
|
+
├── kernel/ Bootstrap, lifecycle coordinator, service container
|
|
445
|
+
└── plugins/ Plugin loader & hook registry (experimental; unsandboxed, off by default)
|
|
446
|
+
```
|
|
447
|
+
|
|
448
|
+
---
|
|
449
|
+
|
|
450
|
+
## Memory system
|
|
451
|
+
|
|
452
|
+
Velune maintains five memory tiers across sessions:
|
|
453
|
+
|
|
454
|
+
1. **Working** — current conversation turns (in-process, TTL-evicted)
|
|
455
|
+
2. **Episodic** — session history (SQLite, persisted to `~/.velune/`)
|
|
456
|
+
3. **Semantic** — vector search over past interactions (local Qdrant)
|
|
457
|
+
4. **Graph** — repository structure and symbol relationships
|
|
458
|
+
5. **Lineage** — decision history, what was tried and why
|
|
459
|
+
|
|
460
|
+
This means "fix the auth issue from yesterday" actually works —
|
|
461
|
+
Velune retrieves recent sessions, git changes, and related context
|
|
462
|
+
to reconstruct intent without you explaining it again.
|
|
463
|
+
|
|
464
|
+
---
|
|
465
|
+
|
|
466
|
+
## Session modes
|
|
467
|
+
|
|
468
|
+
| Mode | Command | Council tier | Model | Context cap |
|
|
469
|
+
|---------|------------|--------------|----------|--------------|
|
|
470
|
+
| Normal | `/normal` | auto | current | 16 k tokens |
|
|
471
|
+
| Optimus | `/optimus` | instant | smallest | 4 k tokens |
|
|
472
|
+
| Godly | `/godly` | full | largest | 128 k tokens |
|
|
473
|
+
|
|
474
|
+
Switch modes at any time mid-session. The prompt badge updates immediately.
|
|
475
|
+
|
|
476
|
+
---
|
|
477
|
+
|
|
478
|
+
## MCP integration
|
|
479
|
+
|
|
480
|
+
Velune exposes an MCP server so that Claude Desktop and VS Code can call
|
|
481
|
+
Velune's local model council as a tool — giving cloud-based editors access
|
|
482
|
+
to local hardware without sending your code to a third party.
|
|
483
|
+
|
|
484
|
+
See [`docs/mcp.md`](docs/mcp.md) for configuration examples and the full tool reference.
|
|
485
|
+
|
|
486
|
+
---
|
|
487
|
+
|
|
488
|
+
## Windows
|
|
489
|
+
|
|
490
|
+
Velune runs on Windows via WSL2. Native Windows support is planned.
|
|
491
|
+
|
|
492
|
+
See [WINDOWS.md](WINDOWS.md) for the complete WSL2 setup guide.
|
|
493
|
+
|
|
494
|
+
---
|
|
495
|
+
|
|
496
|
+
## Contributing
|
|
497
|
+
|
|
498
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
499
|
+
|
|
500
|
+
Before opening a PR:
|
|
501
|
+
|
|
502
|
+
```bash
|
|
503
|
+
pip install -e ".[dev]"
|
|
504
|
+
ruff check velune/
|
|
505
|
+
pytest tests/ -q
|
|
506
|
+
```
|
|
507
|
+
|
|
508
|
+
Report security issues via
|
|
509
|
+
[GitHub Security Advisories](https://github.com/Surya-Hariharan/Velune-CLI/security/advisories/new) —
|
|
510
|
+
not public issues.
|
|
511
|
+
|
|
512
|
+
---
|
|
513
|
+
|
|
514
|
+
## License
|
|
515
|
+
|
|
516
|
+
Apache 2.0 — see [LICENSE](LICENSE).
|
|
517
|
+
|
|
518
|
+
Copyright 2026 Surya HA
|