tarang 4.4.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.
- tarang/__init__.py +23 -0
- tarang/cli.py +1168 -0
- tarang/client/__init__.py +19 -0
- tarang/client/api_client.py +701 -0
- tarang/client/auth.py +178 -0
- tarang/context/__init__.py +41 -0
- tarang/context/bm25.py +218 -0
- tarang/context/chunker.py +984 -0
- tarang/context/graph.py +464 -0
- tarang/context/indexer.py +514 -0
- tarang/context/retriever.py +270 -0
- tarang/context/skeleton.py +282 -0
- tarang/context_collector.py +449 -0
- tarang/executor/__init__.py +6 -0
- tarang/executor/diff_apply.py +246 -0
- tarang/executor/linter.py +184 -0
- tarang/stream.py +1346 -0
- tarang/ui/__init__.py +7 -0
- tarang/ui/console.py +407 -0
- tarang/ui/diff_viewer.py +146 -0
- tarang/ui/formatter.py +1151 -0
- tarang/ui/keyboard.py +197 -0
- tarang/ws/__init__.py +14 -0
- tarang/ws/client.py +464 -0
- tarang/ws/executor.py +638 -0
- tarang/ws/handlers.py +590 -0
- tarang-4.4.0.dist-info/METADATA +102 -0
- tarang-4.4.0.dist-info/RECORD +31 -0
- tarang-4.4.0.dist-info/WHEEL +5 -0
- tarang-4.4.0.dist-info/entry_points.txt +2 -0
- tarang-4.4.0.dist-info/top_level.txt +1 -0
tarang/__init__.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Tarang - AI Coding Agent.
|
|
3
|
+
|
|
4
|
+
Just type your instructions. The orchestrator handles everything:
|
|
5
|
+
- Simple queries (explanations, questions)
|
|
6
|
+
- Complex tasks (multi-step implementations)
|
|
7
|
+
- Long-running jobs with phases and milestones
|
|
8
|
+
|
|
9
|
+
Architecture:
|
|
10
|
+
- Backend: Runs agents with reasoning/planning (protected IP)
|
|
11
|
+
- CLI: Executes tools locally via WebSocket (filesystem access)
|
|
12
|
+
- WebSocket: Bidirectional real-time communication
|
|
13
|
+
|
|
14
|
+
Usage:
|
|
15
|
+
tarang login # Authenticate
|
|
16
|
+
tarang config --openrouter-key KEY # Set API key
|
|
17
|
+
tarang "explain the project" # Run instruction
|
|
18
|
+
tarang "add user authentication" # Build features
|
|
19
|
+
tarang # Interactive mode
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
__version__ = "3.5.9"
|
|
23
|
+
__author__ = "Tarang Team"
|