orriven 0.1.0__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.
- orriven-0.1.0/.gitignore +62 -0
- orriven-0.1.0/LICENSE +21 -0
- orriven-0.1.0/PKG-INFO +263 -0
- orriven-0.1.0/README.md +215 -0
- orriven-0.1.0/pyproject.toml +104 -0
- orriven-0.1.0/src/orriven/__init__.py +4 -0
- orriven-0.1.0/src/orriven/agents/__init__.py +2 -0
- orriven-0.1.0/src/orriven/agents/cognition.py +1796 -0
- orriven-0.1.0/src/orriven/agents/collective.py +702 -0
- orriven-0.1.0/src/orriven/agents/comms.py +164 -0
- orriven-0.1.0/src/orriven/agents/evolution.py +779 -0
- orriven-0.1.0/src/orriven/agents/models.py +168 -0
- orriven-0.1.0/src/orriven/cli/__init__.py +2 -0
- orriven-0.1.0/src/orriven/cli/main.py +1745 -0
- orriven-0.1.0/src/orriven/cli/markup.py +412 -0
- orriven-0.1.0/src/orriven/cli/theme.py +168 -0
- orriven-0.1.0/src/orriven/cli/tui.py +1873 -0
- orriven-0.1.0/src/orriven/cli/tui_widgets.py +1206 -0
- orriven-0.1.0/src/orriven/core/__init__.py +2 -0
- orriven-0.1.0/src/orriven/core/compactor.py +335 -0
- orriven-0.1.0/src/orriven/core/config.py +1096 -0
- orriven-0.1.0/src/orriven/core/events.py +104 -0
- orriven-0.1.0/src/orriven/core/models.py +177 -0
- orriven-0.1.0/src/orriven/core/orchestrator.py +3286 -0
- orriven-0.1.0/src/orriven/core/planner.py +572 -0
- orriven-0.1.0/src/orriven/core/proc.py +110 -0
- orriven-0.1.0/src/orriven/core/scorer.py +445 -0
- orriven-0.1.0/src/orriven/db/__init__.py +2 -0
- orriven-0.1.0/src/orriven/db/database.py +2360 -0
- orriven-0.1.0/src/orriven/db/schema.py +404 -0
- orriven-0.1.0/src/orriven/llm/__init__.py +2 -0
- orriven-0.1.0/src/orriven/llm/models.py +560 -0
- orriven-0.1.0/src/orriven/llm/router.py +1157 -0
- orriven-0.1.0/src/orriven/memory/__init__.py +2 -0
- orriven-0.1.0/src/orriven/memory/engine.py +345 -0
- orriven-0.1.0/src/orriven/memory/models.py +57 -0
- orriven-0.1.0/src/orriven/server/__init__.py +2 -0
- orriven-0.1.0/src/orriven/server/app.py +2457 -0
- orriven-0.1.0/src/orriven/server/export.py +100 -0
- orriven-0.1.0/src/orriven/server/schemas.py +488 -0
- orriven-0.1.0/src/orriven/server/sim_routes.py +329 -0
- orriven-0.1.0/src/orriven/server/static/assets/index-BB5SPxEH.js +32 -0
- orriven-0.1.0/src/orriven/server/static/assets/index-D197pPAA.css +2 -0
- orriven-0.1.0/src/orriven/server/static/assets/rolldown-runtime-XKyaHtl9.js +1 -0
- orriven-0.1.0/src/orriven/server/static/assets/vendor-charts-BJyrkvCN.js +39 -0
- orriven-0.1.0/src/orriven/server/static/assets/vendor-editor-1vn9ss0f.js +11 -0
- orriven-0.1.0/src/orriven/server/static/assets/vendor-three-27wZ_JPg.js +4648 -0
- orriven-0.1.0/src/orriven/server/static/assets/vendor-ui-LjZ26wGt.js +12 -0
- orriven-0.1.0/src/orriven/server/static/index.html +25 -0
- orriven-0.1.0/src/orriven/server/static/orriven-logo.png +0 -0
- orriven-0.1.0/src/orriven/simulation/__init__.py +161 -0
- orriven-0.1.0/src/orriven/simulation/assets.py +896 -0
- orriven-0.1.0/src/orriven/simulation/bundle.py +200 -0
- orriven-0.1.0/src/orriven/simulation/controller.py +2959 -0
- orriven-0.1.0/src/orriven/simulation/engine.py +1768 -0
- orriven-0.1.0/src/orriven/simulation/manager.py +598 -0
- orriven-0.1.0/src/orriven/simulation/models.py +68 -0
- orriven-0.1.0/src/orriven/simulation/profiles.py +845 -0
- orriven-0.1.0/src/orriven/simulation/runner.py +1342 -0
- orriven-0.1.0/src/orriven/simulation/schema.py +887 -0
- orriven-0.1.0/src/orriven/simulation/workspace.py +473 -0
- orriven-0.1.0/src/orriven/skills/__init__.py +29 -0
- orriven-0.1.0/src/orriven/skills/catalog.py +732 -0
- orriven-0.1.0/src/orriven/skills/models.py +46 -0
- orriven-0.1.0/src/orriven/skills/registry.py +726 -0
- orriven-0.1.0/src/orriven/tools/__init__.py +2 -0
- orriven-0.1.0/src/orriven/tools/attachments.py +445 -0
- orriven-0.1.0/src/orriven/tools/benchmark.py +214 -0
- orriven-0.1.0/src/orriven/tools/executor.py +1027 -0
- orriven-0.1.0/src/orriven/tools/mcp_bridge.py +863 -0
- orriven-0.1.0/src/orriven/tools/pc_browser.py +3546 -0
- orriven-0.1.0/src/orriven/tools/pc_desktop.py +1020 -0
- orriven-0.1.0/src/orriven/tools/web_research.py +786 -0
- orriven-0.1.0/src/orriven/workspace/__init__.py +2 -0
- orriven-0.1.0/src/orriven/workspace/fs_browser.py +275 -0
- orriven-0.1.0/src/orriven/workspace/git_ops.py +1012 -0
- orriven-0.1.0/src/orriven/workspace/models.py +74 -0
- orriven-0.1.0/src/orriven/workspace/providers.py +559 -0
orriven-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Python & uv
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
*.so
|
|
6
|
+
.Python
|
|
7
|
+
.venv/
|
|
8
|
+
.pytest_cache/
|
|
9
|
+
.ruff_cache/
|
|
10
|
+
.mypy_cache/
|
|
11
|
+
.pyright/
|
|
12
|
+
.coverage
|
|
13
|
+
.coverage.*
|
|
14
|
+
coverage.xml
|
|
15
|
+
htmlcov/
|
|
16
|
+
dist/
|
|
17
|
+
build/
|
|
18
|
+
develop-eggs/
|
|
19
|
+
eggs/
|
|
20
|
+
.eggs/
|
|
21
|
+
*.egg-info/
|
|
22
|
+
.tox/
|
|
23
|
+
|
|
24
|
+
# Node / Web Workbench / Playwright
|
|
25
|
+
node_modules/
|
|
26
|
+
web/node_modules/
|
|
27
|
+
web/dist/
|
|
28
|
+
web/.vite/
|
|
29
|
+
web/.eslintcache
|
|
30
|
+
web/test-results/
|
|
31
|
+
web/playwright-report/
|
|
32
|
+
web/playwright/.cache/
|
|
33
|
+
playwright-report/
|
|
34
|
+
test-results/
|
|
35
|
+
blob-report/
|
|
36
|
+
web/e2e-second-folder/
|
|
37
|
+
*.tsbuildinfo
|
|
38
|
+
src/orriven/server/static/
|
|
39
|
+
|
|
40
|
+
# Local Orriven runtime, scratch, & dev artifacts
|
|
41
|
+
.orriven/
|
|
42
|
+
*.db
|
|
43
|
+
*.db-wal
|
|
44
|
+
*.db-shm
|
|
45
|
+
*.db-journal
|
|
46
|
+
*.log
|
|
47
|
+
*.tmp
|
|
48
|
+
tmp/
|
|
49
|
+
scratch/
|
|
50
|
+
dev.ps1
|
|
51
|
+
|
|
52
|
+
# Design documents
|
|
53
|
+
SDD/
|
|
54
|
+
|
|
55
|
+
# Environment & IDE
|
|
56
|
+
.env
|
|
57
|
+
.env.*
|
|
58
|
+
!.env.example
|
|
59
|
+
.vscode/
|
|
60
|
+
.idea/
|
|
61
|
+
.DS_Store
|
|
62
|
+
Thumbs.db
|
orriven-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Orriven Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
orriven-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: orriven
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Self-evolving multi-agent orchestration workbench
|
|
5
|
+
Project-URL: Homepage, https://github.com/HiItsRage/orriven
|
|
6
|
+
Project-URL: Repository, https://github.com/HiItsRage/orriven
|
|
7
|
+
Project-URL: Issues, https://github.com/HiItsRage/orriven/issues
|
|
8
|
+
Project-URL: Changelog, https://github.com/HiItsRage/orriven/releases
|
|
9
|
+
License: MIT
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Keywords: ai-agents,llm,multi-agent,orchestration,workbench
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Environment :: Console
|
|
14
|
+
Classifier: Framework :: FastAPI
|
|
15
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Operating System :: MacOS
|
|
17
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
18
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Requires-Python: >=3.12
|
|
22
|
+
Requires-Dist: aiosqlite>=0.20.0
|
|
23
|
+
Requires-Dist: anyio>=4.8.0
|
|
24
|
+
Requires-Dist: fastapi>=0.115.0
|
|
25
|
+
Requires-Dist: httpx>=0.28.0
|
|
26
|
+
Requires-Dist: litellm>=1.60.0
|
|
27
|
+
Requires-Dist: networkx>=3.7
|
|
28
|
+
Requires-Dist: numpy>=2.5.5
|
|
29
|
+
Requires-Dist: pydantic-settings>=2.7.0
|
|
30
|
+
Requires-Dist: pydantic>=2.10.0
|
|
31
|
+
Requires-Dist: python-dotenv>=1.0.0
|
|
32
|
+
Requires-Dist: rich>=13.9.0
|
|
33
|
+
Requires-Dist: simpy>=4.1.2
|
|
34
|
+
Requires-Dist: textual>=8.2.8
|
|
35
|
+
Requires-Dist: typer>=0.15.0
|
|
36
|
+
Requires-Dist: uvicorn[standard]>=0.34.0
|
|
37
|
+
Provides-Extra: all
|
|
38
|
+
Requires-Dist: docker>=7.1.0; extra == 'all'
|
|
39
|
+
Requires-Dist: mcp>=1.2.0; extra == 'all'
|
|
40
|
+
Requires-Dist: sqlite-vec>=0.1.6; extra == 'all'
|
|
41
|
+
Provides-Extra: docker
|
|
42
|
+
Requires-Dist: docker>=7.1.0; extra == 'docker'
|
|
43
|
+
Provides-Extra: mcp
|
|
44
|
+
Requires-Dist: mcp>=1.2.0; extra == 'mcp'
|
|
45
|
+
Provides-Extra: vectors
|
|
46
|
+
Requires-Dist: sqlite-vec>=0.1.6; extra == 'vectors'
|
|
47
|
+
Description-Content-Type: text/markdown
|
|
48
|
+
|
|
49
|
+
<p align="center">
|
|
50
|
+
<img src="https://raw.githubusercontent.com/HiItsRage/orriven/main/assets/orriven-logo.png" alt="Orriven" width="80" />
|
|
51
|
+
</p>
|
|
52
|
+
|
|
53
|
+
# Orriven
|
|
54
|
+
|
|
55
|
+
**Orriven** is an open-source multi-agent AI workbench and interactive simulation studio—run from your terminal (`orriven`) or a local browser workbench (`orriven ui`).
|
|
56
|
+
|
|
57
|
+
Use it to plan and execute software projects with a team of specialist AI agents, research with attached documents and browser/desktop tools, or build live 3D & 2D simulations from plain English.
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## What You Can Use Orriven For
|
|
62
|
+
|
|
63
|
+
- **Software, Websites & Codebases:** Link a local folder, single file, or GitHub repository. Orriven splits work across specialist agents inside isolated workspaces, lets them run shell/PowerShell commands, shows line diffs, and tracks Git branches cleanly.
|
|
64
|
+
- **Interactive 2D & 3D Simulations (`Simulation Lab` in Web Workbench):** Describe any world—physics, chemistry, ecosystems, cellular models, historical realms, logistics, or custom tabletop/sci-fi scenarios—and watch it unfold in 3D, 2D, or hybrid split view via `orriven ui --open` *(simulations run in the Web Workbench rather than the CLI)*.
|
|
65
|
+
- Define your own rules, entity traits, terrain heightfields, region colors, and spatial scales through chat (no fixed presets needed).
|
|
66
|
+
- Upload your own `.glb`, `.gltf`, `.obj`, `.png`, or `.svg` assets—or let Orriven craft procedural 3D/2D models, evolve appearances over time, shift territory borders, and generate custom HUD sliders/buttons tailored to your simulation.
|
|
67
|
+
- Scrub through past ticks, branch timelines at any point, and export/import portable `.orrsim.zip` or `.orrsim.json` bundles.
|
|
68
|
+
- **Research, Docs & Automation:** Drag-and-drop screenshots, images, or PDFs/documents (or reference files with `@path`), search the web, connect external MCP tools (`.mcp.json`), and collaborate with your browser tabs or desktop when enabled.
|
|
69
|
+
- **Cost, Usage & Model Benchmarking:** Track live token spend, speed, and latency across providers (`/usage`), compact long histories (`/compact`), and compare models side-by-side on real prompts (`/benchmark`).
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Requirements
|
|
74
|
+
|
|
75
|
+
- **Windows 10/11**, **Linux**, or **macOS** *(for one-line installs, no Python setup required)*
|
|
76
|
+
- **Git** (for repo sessions, branches, and diff views)
|
|
77
|
+
- **Optional:**
|
|
78
|
+
- **Python 3.12 or 3.13** if installing directly with `pip` / `pipx`
|
|
79
|
+
- An AI API key (Gemini, OpenAI, Anthropic, NVIDIA NIM, Groq, DeepSeek, OpenRouter, etc.) **or** a local **Ollama**, **LM Studio**, or **vLLM** server
|
|
80
|
+
- **Docker** (only needed for `--sandbox docker`)
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Installation
|
|
85
|
+
|
|
86
|
+
### One-Command Install (No Prerequisites Required)
|
|
87
|
+
|
|
88
|
+
**Windows (PowerShell):**
|
|
89
|
+
|
|
90
|
+
```powershell
|
|
91
|
+
powershell -c "irm https://raw.githubusercontent.com/HiItsRage/orriven/main/install.ps1 | iex"
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
**Linux / macOS:**
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
curl -fsSL https://raw.githubusercontent.com/HiItsRage/orriven/main/install.sh | bash
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Install via Python (`pip` / `pipx` / `uv`)
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
# Recommended isolated CLI install (includes vectors, MCP & Docker support):
|
|
104
|
+
uv tool install --python 3.13 "orriven[all]"
|
|
105
|
+
|
|
106
|
+
# Or with pipx / pip (Python 3.12+):
|
|
107
|
+
pipx install "orriven[all]"
|
|
108
|
+
pip install "orriven[all]"
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
<details>
|
|
112
|
+
<summary>Optional extras, Debian package & installing from source</summary>
|
|
113
|
+
|
|
114
|
+
- `vectors` — local vector recall (`sqlite-vec`)
|
|
115
|
+
- `mcp` — Model Context Protocol (MCP) tool server support
|
|
116
|
+
- `docker` — Docker container sandbox support
|
|
117
|
+
- `all` — includes `vectors`, `mcp`, and `docker`
|
|
118
|
+
|
|
119
|
+
Install the core package without optional extras:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
pip install orriven
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Debian / Ubuntu standalone releases attach `.deb` packages on [GitHub Releases](https://github.com/HiItsRage/orriven/releases):
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
sudo apt install ./orriven_*_amd64.deb
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
To build and install from a local source checkout (requires Node.js 22+ for the Web Workbench UI):
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
git clone https://github.com/HiItsRage/orriven.git
|
|
135
|
+
cd orriven
|
|
136
|
+
uv sync --all-extras
|
|
137
|
+
npm --prefix web ci
|
|
138
|
+
uv run python scripts/sync_static_ui.py
|
|
139
|
+
uv tool install --editable ".[all]"
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
For development setup and running tests, see [CONTRIBUTING.md](https://github.com/HiItsRage/orriven/blob/main/CONTRIBUTING.md).
|
|
143
|
+
|
|
144
|
+
</details>
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## Quickstart
|
|
149
|
+
|
|
150
|
+
1. **Start the Terminal Workbench:**
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
orriven
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
On first launch, guided setup walks you through permissions, your AI provider/models, and optional MCP servers.
|
|
157
|
+
|
|
158
|
+
2. **Or configure non-interactively:**
|
|
159
|
+
|
|
160
|
+
```bash
|
|
161
|
+
orriven setup --profile full --provider gemini --api-key "$GEMINI_API_KEY"
|
|
162
|
+
# NVIDIA NIM:
|
|
163
|
+
orriven setup --provider nvidia_nim --api-key "$NVIDIA_NIM_API_KEY"
|
|
164
|
+
# Local Ollama / LM Studio / custom OpenAI-compatible server:
|
|
165
|
+
orriven setup --provider ollama
|
|
166
|
+
orriven setup --provider openai_compatible --api-base http://127.0.0.1:8000/v1
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
3. **Open the Browser Workbench (`Simulation Lab` + Web Studio):**
|
|
170
|
+
|
|
171
|
+
```bash
|
|
172
|
+
orriven ui --open
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
Opens locally at `http://127.0.0.1:7420`.
|
|
176
|
+
|
|
177
|
+
4. **Run a goal headlessly from the CLI:**
|
|
178
|
+
|
|
179
|
+
```bash
|
|
180
|
+
orriven run "Build a Python CLI todo app with tests" -p ./my-project
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
## Useful Interactive Commands & Shortcuts
|
|
186
|
+
|
|
187
|
+
Inside `orriven` (Terminal Workbench):
|
|
188
|
+
|
|
189
|
+
| Command / Key | What It Does |
|
|
190
|
+
| :--- | :--- |
|
|
191
|
+
| `!command` | Run a shell or PowerShell command right in chat (e.g., `!pytest`, `!git status`) |
|
|
192
|
+
| `@path/to/file` | Attach a file or image inline in your message |
|
|
193
|
+
| `/attach <path>` | Stage an image or document for your next message |
|
|
194
|
+
| `/ui` | Launch and open the Web Workbench (`3D/2D` view + Simulation Lab) |
|
|
195
|
+
| `/models` *(or `Ctrl+M`)* | Switch active provider or architect/specialist/fast models |
|
|
196
|
+
| `/setup` *(or `F2`)* | Open guided setup (permissions profile, provider keys, MCP presets) |
|
|
197
|
+
| `/new` *(or `Ctrl+N`)* / `/folder` | Start a new session or point the session at a different folder |
|
|
198
|
+
| `/usage` | Show tokens, context memory usage, and cost breakdown |
|
|
199
|
+
| `/compact` | Compress older chat history to free context window space |
|
|
200
|
+
| `/benchmark [-m m1,m2] <prompt>` | Compare latency, cost, and outputs across multiple models |
|
|
201
|
+
| `/autonomy` / `/profile` | Switch autonomy (`auto` \| `guarded` \| `copilot`) or security (`full` \| `coding` \| `strict`) |
|
|
202
|
+
| `/status` / `/details` / `/theme` | Check diagnostics, toggle trace output, or switch Dark/Light theme (`Ctrl+T`) |
|
|
203
|
+
| `Ctrl+1/2/3`, `Ctrl+B` | Switch panes (`Workspace` / `Controls` / `Inspect`) or toggle the session sidebar |
|
|
204
|
+
|
|
205
|
+
*(In the Web Workbench, type `!command` in chat for inline command cards, drag-and-drop/paste images and files, click file citations to view source lines, switch tabs cleanly to **Simulation Lab**, **Metrics**, or **Skills**.)*
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
## CLI Commands
|
|
210
|
+
|
|
211
|
+
### Everyday Commands
|
|
212
|
+
|
|
213
|
+
| Command | Purpose | Key Flags |
|
|
214
|
+
| :--- | :--- | :--- |
|
|
215
|
+
| `orriven` | Launch interactive Terminal Workbench *(aliases: `tui`, `chat`)* | `-p/--project`, `-s/--session`, `--setup` |
|
|
216
|
+
| `orriven ui` | Start the local Web Workbench *(alias: `dashboard`)* | `--host`, `--port` (`7420`), `-p/--project`, `--open/--no-open` |
|
|
217
|
+
| `orriven sim` | Simulations are disabled in CLI; shows the Web Workbench link | `--open` |
|
|
218
|
+
| `orriven setup` | Configure provider keys, sandbox & autonomy *(alias: `onboard`)* | `--profile`, `-p/--provider`, `-k/--api-key`, `--api-base`, `-s/--sandbox`, `-a/--autonomy`, `--mcp`, `--reset` |
|
|
219
|
+
| `orriven run "<goal>"` | Run a multi-agent task from the terminal | `-p/--project`, `-d/--domain`, `-a/--autonomy`, `-s/--sandbox`, `-b/--budget`, `--ui` |
|
|
220
|
+
| `orriven providers` | List all 26 supported AI providers and key readiness | — |
|
|
221
|
+
| `orriven status` | Check configured providers, Git, Docker & DB *(alias: `doctor`)* | — |
|
|
222
|
+
| `orriven init [path]` | Create project-local `.orriven/` settings | `-d/--domain`, `-m/--mode` (`auto` \| `git` \| `snapshot`) |
|
|
223
|
+
| `orriven help [command]` | Show help for Orriven or any subcommand | e.g. `orriven help agents pin` |
|
|
224
|
+
|
|
225
|
+
### Managing Runs, Agents, Changes, Memory & MCP
|
|
226
|
+
|
|
227
|
+
| Command | Purpose |
|
|
228
|
+
| :--- | :--- |
|
|
229
|
+
| `orriven runs list` | List recent task runs (`--limit`) |
|
|
230
|
+
| `orriven agents list \| inspect \| pin \| purge \| export \| import` | Inspect, pin, clean up, or export/import learned agents |
|
|
231
|
+
| `orriven changes list \| diff \| approve \| reject` | Review, diff, or apply agent workspace changes *(alias: `proposals`)* |
|
|
232
|
+
| `orriven memory list \| issues \| prune` | Browse saved workflows and past failure lessons *(alias: `antipatterns`)* |
|
|
233
|
+
| `orriven mcp presets \| add \| list \| remove \| test` | Configure MCP servers (`godot`, `blender`, `postgres`, `.mcp.json`, HTTP/stdio) |
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
## Supported Providers & Environments
|
|
238
|
+
|
|
239
|
+
- **OS:** Windows 10/11, macOS, Linux
|
|
240
|
+
- **Cloud & Hosted AI (26 built-in providers):** Google Gemini, OpenAI, Anthropic, NVIDIA NIM, Groq, DeepSeek, Mistral, xAI Grok, OpenRouter, Cerebras, SambaNova, Together AI, Fireworks AI, DeepInfra, Nebius, Cohere, Perplexity, Hugging Face, GitHub Models, Azure OpenAI, AWS Bedrock, Google Vertex AI
|
|
241
|
+
- **Local & Custom AI:** Ollama, LM Studio, vLLM, and any `openai_compatible` HTTP server
|
|
242
|
+
- **Optional Image Generation for Simulation Sprites:** Set `ORRIVEN_IMAGE_MODEL` in `~/.orriven/.env` (or configure `OPENAI_API_KEY` / `GEMINI_API_KEY`) to enable external sprite generation alongside procedural local SVG/glTF authoring.
|
|
243
|
+
|
|
244
|
+
---
|
|
245
|
+
|
|
246
|
+
## Where Your Data Lives
|
|
247
|
+
|
|
248
|
+
By default, Orriven stores state in `~/.orriven/` (override with `ORRIVEN_HOME`):
|
|
249
|
+
|
|
250
|
+
- `~/.orriven/.env` — API keys and optional tokens
|
|
251
|
+
- `~/.orriven/config.toml` — Selected provider, model tiers, retry/resilience settings, sandbox & MCP config
|
|
252
|
+
- `~/.orriven/orriven.db` — Saved sessions, messages, standalone simulations, usage metrics, agents & memory
|
|
253
|
+
- `~/.orriven/simulations/` — Per-simulation `sim_model.py` scripts, procedural/uploaded assets, and snapshots
|
|
254
|
+
- `~/.orriven/repos/` — Local clones of GitHub-linked sessions
|
|
255
|
+
- `<project>/.orriven/` — Per-project settings, staging folders/worktrees, and scratch workspaces
|
|
256
|
+
|
|
257
|
+
---
|
|
258
|
+
|
|
259
|
+
## Contributing & License
|
|
260
|
+
|
|
261
|
+
Want to contribute, explore how Orriven is structured, or run the test suite? See [CONTRIBUTING.md](./CONTRIBUTING.md).
|
|
262
|
+
|
|
263
|
+
Licensed under the [MIT License](./LICENSE).
|
orriven-0.1.0/README.md
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/HiItsRage/orriven/main/assets/orriven-logo.png" alt="Orriven" width="80" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# Orriven
|
|
6
|
+
|
|
7
|
+
**Orriven** is an open-source multi-agent AI workbench and interactive simulation studio—run from your terminal (`orriven`) or a local browser workbench (`orriven ui`).
|
|
8
|
+
|
|
9
|
+
Use it to plan and execute software projects with a team of specialist AI agents, research with attached documents and browser/desktop tools, or build live 3D & 2D simulations from plain English.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## What You Can Use Orriven For
|
|
14
|
+
|
|
15
|
+
- **Software, Websites & Codebases:** Link a local folder, single file, or GitHub repository. Orriven splits work across specialist agents inside isolated workspaces, lets them run shell/PowerShell commands, shows line diffs, and tracks Git branches cleanly.
|
|
16
|
+
- **Interactive 2D & 3D Simulations (`Simulation Lab` in Web Workbench):** Describe any world—physics, chemistry, ecosystems, cellular models, historical realms, logistics, or custom tabletop/sci-fi scenarios—and watch it unfold in 3D, 2D, or hybrid split view via `orriven ui --open` *(simulations run in the Web Workbench rather than the CLI)*.
|
|
17
|
+
- Define your own rules, entity traits, terrain heightfields, region colors, and spatial scales through chat (no fixed presets needed).
|
|
18
|
+
- Upload your own `.glb`, `.gltf`, `.obj`, `.png`, or `.svg` assets—or let Orriven craft procedural 3D/2D models, evolve appearances over time, shift territory borders, and generate custom HUD sliders/buttons tailored to your simulation.
|
|
19
|
+
- Scrub through past ticks, branch timelines at any point, and export/import portable `.orrsim.zip` or `.orrsim.json` bundles.
|
|
20
|
+
- **Research, Docs & Automation:** Drag-and-drop screenshots, images, or PDFs/documents (or reference files with `@path`), search the web, connect external MCP tools (`.mcp.json`), and collaborate with your browser tabs or desktop when enabled.
|
|
21
|
+
- **Cost, Usage & Model Benchmarking:** Track live token spend, speed, and latency across providers (`/usage`), compact long histories (`/compact`), and compare models side-by-side on real prompts (`/benchmark`).
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Requirements
|
|
26
|
+
|
|
27
|
+
- **Windows 10/11**, **Linux**, or **macOS** *(for one-line installs, no Python setup required)*
|
|
28
|
+
- **Git** (for repo sessions, branches, and diff views)
|
|
29
|
+
- **Optional:**
|
|
30
|
+
- **Python 3.12 or 3.13** if installing directly with `pip` / `pipx`
|
|
31
|
+
- An AI API key (Gemini, OpenAI, Anthropic, NVIDIA NIM, Groq, DeepSeek, OpenRouter, etc.) **or** a local **Ollama**, **LM Studio**, or **vLLM** server
|
|
32
|
+
- **Docker** (only needed for `--sandbox docker`)
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Installation
|
|
37
|
+
|
|
38
|
+
### One-Command Install (No Prerequisites Required)
|
|
39
|
+
|
|
40
|
+
**Windows (PowerShell):**
|
|
41
|
+
|
|
42
|
+
```powershell
|
|
43
|
+
powershell -c "irm https://raw.githubusercontent.com/HiItsRage/orriven/main/install.ps1 | iex"
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
**Linux / macOS:**
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
curl -fsSL https://raw.githubusercontent.com/HiItsRage/orriven/main/install.sh | bash
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Install via Python (`pip` / `pipx` / `uv`)
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
# Recommended isolated CLI install (includes vectors, MCP & Docker support):
|
|
56
|
+
uv tool install --python 3.13 "orriven[all]"
|
|
57
|
+
|
|
58
|
+
# Or with pipx / pip (Python 3.12+):
|
|
59
|
+
pipx install "orriven[all]"
|
|
60
|
+
pip install "orriven[all]"
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
<details>
|
|
64
|
+
<summary>Optional extras, Debian package & installing from source</summary>
|
|
65
|
+
|
|
66
|
+
- `vectors` — local vector recall (`sqlite-vec`)
|
|
67
|
+
- `mcp` — Model Context Protocol (MCP) tool server support
|
|
68
|
+
- `docker` — Docker container sandbox support
|
|
69
|
+
- `all` — includes `vectors`, `mcp`, and `docker`
|
|
70
|
+
|
|
71
|
+
Install the core package without optional extras:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
pip install orriven
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Debian / Ubuntu standalone releases attach `.deb` packages on [GitHub Releases](https://github.com/HiItsRage/orriven/releases):
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
sudo apt install ./orriven_*_amd64.deb
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
To build and install from a local source checkout (requires Node.js 22+ for the Web Workbench UI):
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
git clone https://github.com/HiItsRage/orriven.git
|
|
87
|
+
cd orriven
|
|
88
|
+
uv sync --all-extras
|
|
89
|
+
npm --prefix web ci
|
|
90
|
+
uv run python scripts/sync_static_ui.py
|
|
91
|
+
uv tool install --editable ".[all]"
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
For development setup and running tests, see [CONTRIBUTING.md](https://github.com/HiItsRage/orriven/blob/main/CONTRIBUTING.md).
|
|
95
|
+
|
|
96
|
+
</details>
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Quickstart
|
|
101
|
+
|
|
102
|
+
1. **Start the Terminal Workbench:**
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
orriven
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
On first launch, guided setup walks you through permissions, your AI provider/models, and optional MCP servers.
|
|
109
|
+
|
|
110
|
+
2. **Or configure non-interactively:**
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
orriven setup --profile full --provider gemini --api-key "$GEMINI_API_KEY"
|
|
114
|
+
# NVIDIA NIM:
|
|
115
|
+
orriven setup --provider nvidia_nim --api-key "$NVIDIA_NIM_API_KEY"
|
|
116
|
+
# Local Ollama / LM Studio / custom OpenAI-compatible server:
|
|
117
|
+
orriven setup --provider ollama
|
|
118
|
+
orriven setup --provider openai_compatible --api-base http://127.0.0.1:8000/v1
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
3. **Open the Browser Workbench (`Simulation Lab` + Web Studio):**
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
orriven ui --open
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Opens locally at `http://127.0.0.1:7420`.
|
|
128
|
+
|
|
129
|
+
4. **Run a goal headlessly from the CLI:**
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
orriven run "Build a Python CLI todo app with tests" -p ./my-project
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## Useful Interactive Commands & Shortcuts
|
|
138
|
+
|
|
139
|
+
Inside `orriven` (Terminal Workbench):
|
|
140
|
+
|
|
141
|
+
| Command / Key | What It Does |
|
|
142
|
+
| :--- | :--- |
|
|
143
|
+
| `!command` | Run a shell or PowerShell command right in chat (e.g., `!pytest`, `!git status`) |
|
|
144
|
+
| `@path/to/file` | Attach a file or image inline in your message |
|
|
145
|
+
| `/attach <path>` | Stage an image or document for your next message |
|
|
146
|
+
| `/ui` | Launch and open the Web Workbench (`3D/2D` view + Simulation Lab) |
|
|
147
|
+
| `/models` *(or `Ctrl+M`)* | Switch active provider or architect/specialist/fast models |
|
|
148
|
+
| `/setup` *(or `F2`)* | Open guided setup (permissions profile, provider keys, MCP presets) |
|
|
149
|
+
| `/new` *(or `Ctrl+N`)* / `/folder` | Start a new session or point the session at a different folder |
|
|
150
|
+
| `/usage` | Show tokens, context memory usage, and cost breakdown |
|
|
151
|
+
| `/compact` | Compress older chat history to free context window space |
|
|
152
|
+
| `/benchmark [-m m1,m2] <prompt>` | Compare latency, cost, and outputs across multiple models |
|
|
153
|
+
| `/autonomy` / `/profile` | Switch autonomy (`auto` \| `guarded` \| `copilot`) or security (`full` \| `coding` \| `strict`) |
|
|
154
|
+
| `/status` / `/details` / `/theme` | Check diagnostics, toggle trace output, or switch Dark/Light theme (`Ctrl+T`) |
|
|
155
|
+
| `Ctrl+1/2/3`, `Ctrl+B` | Switch panes (`Workspace` / `Controls` / `Inspect`) or toggle the session sidebar |
|
|
156
|
+
|
|
157
|
+
*(In the Web Workbench, type `!command` in chat for inline command cards, drag-and-drop/paste images and files, click file citations to view source lines, switch tabs cleanly to **Simulation Lab**, **Metrics**, or **Skills**.)*
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## CLI Commands
|
|
162
|
+
|
|
163
|
+
### Everyday Commands
|
|
164
|
+
|
|
165
|
+
| Command | Purpose | Key Flags |
|
|
166
|
+
| :--- | :--- | :--- |
|
|
167
|
+
| `orriven` | Launch interactive Terminal Workbench *(aliases: `tui`, `chat`)* | `-p/--project`, `-s/--session`, `--setup` |
|
|
168
|
+
| `orriven ui` | Start the local Web Workbench *(alias: `dashboard`)* | `--host`, `--port` (`7420`), `-p/--project`, `--open/--no-open` |
|
|
169
|
+
| `orriven sim` | Simulations are disabled in CLI; shows the Web Workbench link | `--open` |
|
|
170
|
+
| `orriven setup` | Configure provider keys, sandbox & autonomy *(alias: `onboard`)* | `--profile`, `-p/--provider`, `-k/--api-key`, `--api-base`, `-s/--sandbox`, `-a/--autonomy`, `--mcp`, `--reset` |
|
|
171
|
+
| `orriven run "<goal>"` | Run a multi-agent task from the terminal | `-p/--project`, `-d/--domain`, `-a/--autonomy`, `-s/--sandbox`, `-b/--budget`, `--ui` |
|
|
172
|
+
| `orriven providers` | List all 26 supported AI providers and key readiness | — |
|
|
173
|
+
| `orriven status` | Check configured providers, Git, Docker & DB *(alias: `doctor`)* | — |
|
|
174
|
+
| `orriven init [path]` | Create project-local `.orriven/` settings | `-d/--domain`, `-m/--mode` (`auto` \| `git` \| `snapshot`) |
|
|
175
|
+
| `orriven help [command]` | Show help for Orriven or any subcommand | e.g. `orriven help agents pin` |
|
|
176
|
+
|
|
177
|
+
### Managing Runs, Agents, Changes, Memory & MCP
|
|
178
|
+
|
|
179
|
+
| Command | Purpose |
|
|
180
|
+
| :--- | :--- |
|
|
181
|
+
| `orriven runs list` | List recent task runs (`--limit`) |
|
|
182
|
+
| `orriven agents list \| inspect \| pin \| purge \| export \| import` | Inspect, pin, clean up, or export/import learned agents |
|
|
183
|
+
| `orriven changes list \| diff \| approve \| reject` | Review, diff, or apply agent workspace changes *(alias: `proposals`)* |
|
|
184
|
+
| `orriven memory list \| issues \| prune` | Browse saved workflows and past failure lessons *(alias: `antipatterns`)* |
|
|
185
|
+
| `orriven mcp presets \| add \| list \| remove \| test` | Configure MCP servers (`godot`, `blender`, `postgres`, `.mcp.json`, HTTP/stdio) |
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
## Supported Providers & Environments
|
|
190
|
+
|
|
191
|
+
- **OS:** Windows 10/11, macOS, Linux
|
|
192
|
+
- **Cloud & Hosted AI (26 built-in providers):** Google Gemini, OpenAI, Anthropic, NVIDIA NIM, Groq, DeepSeek, Mistral, xAI Grok, OpenRouter, Cerebras, SambaNova, Together AI, Fireworks AI, DeepInfra, Nebius, Cohere, Perplexity, Hugging Face, GitHub Models, Azure OpenAI, AWS Bedrock, Google Vertex AI
|
|
193
|
+
- **Local & Custom AI:** Ollama, LM Studio, vLLM, and any `openai_compatible` HTTP server
|
|
194
|
+
- **Optional Image Generation for Simulation Sprites:** Set `ORRIVEN_IMAGE_MODEL` in `~/.orriven/.env` (or configure `OPENAI_API_KEY` / `GEMINI_API_KEY`) to enable external sprite generation alongside procedural local SVG/glTF authoring.
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
## Where Your Data Lives
|
|
199
|
+
|
|
200
|
+
By default, Orriven stores state in `~/.orriven/` (override with `ORRIVEN_HOME`):
|
|
201
|
+
|
|
202
|
+
- `~/.orriven/.env` — API keys and optional tokens
|
|
203
|
+
- `~/.orriven/config.toml` — Selected provider, model tiers, retry/resilience settings, sandbox & MCP config
|
|
204
|
+
- `~/.orriven/orriven.db` — Saved sessions, messages, standalone simulations, usage metrics, agents & memory
|
|
205
|
+
- `~/.orriven/simulations/` — Per-simulation `sim_model.py` scripts, procedural/uploaded assets, and snapshots
|
|
206
|
+
- `~/.orriven/repos/` — Local clones of GitHub-linked sessions
|
|
207
|
+
- `<project>/.orriven/` — Per-project settings, staging folders/worktrees, and scratch workspaces
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
## Contributing & License
|
|
212
|
+
|
|
213
|
+
Want to contribute, explore how Orriven is structured, or run the test suite? See [CONTRIBUTING.md](./CONTRIBUTING.md).
|
|
214
|
+
|
|
215
|
+
Licensed under the [MIT License](./LICENSE).
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "orriven"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "Self-evolving multi-agent orchestration workbench"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.12"
|
|
7
|
+
license = { text = "MIT" }
|
|
8
|
+
keywords = ["ai-agents", "orchestration", "llm", "multi-agent", "workbench"]
|
|
9
|
+
classifiers = [
|
|
10
|
+
"Development Status :: 4 - Beta",
|
|
11
|
+
"Environment :: Console",
|
|
12
|
+
"Framework :: FastAPI",
|
|
13
|
+
"License :: OSI Approved :: MIT License",
|
|
14
|
+
"Operating System :: MacOS",
|
|
15
|
+
"Operating System :: Microsoft :: Windows",
|
|
16
|
+
"Operating System :: POSIX :: Linux",
|
|
17
|
+
"Programming Language :: Python :: 3.12",
|
|
18
|
+
"Programming Language :: Python :: 3.13",
|
|
19
|
+
]
|
|
20
|
+
dependencies = [
|
|
21
|
+
"aiosqlite>=0.20.0",
|
|
22
|
+
"anyio>=4.8.0",
|
|
23
|
+
"fastapi>=0.115.0",
|
|
24
|
+
"httpx>=0.28.0",
|
|
25
|
+
"litellm>=1.60.0",
|
|
26
|
+
"networkx>=3.7",
|
|
27
|
+
"numpy>=2.5.5",
|
|
28
|
+
"pydantic>=2.10.0",
|
|
29
|
+
"pydantic-settings>=2.7.0",
|
|
30
|
+
"python-dotenv>=1.0.0",
|
|
31
|
+
"rich>=13.9.0",
|
|
32
|
+
"simpy>=4.1.2",
|
|
33
|
+
"textual>=8.2.8",
|
|
34
|
+
"typer>=0.15.0",
|
|
35
|
+
"uvicorn[standard]>=0.34.0",
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
[project.optional-dependencies]
|
|
39
|
+
vectors = ["sqlite-vec>=0.1.6"]
|
|
40
|
+
mcp = ["mcp>=1.2.0"]
|
|
41
|
+
docker = ["docker>=7.1.0"]
|
|
42
|
+
all = [
|
|
43
|
+
"sqlite-vec>=0.1.6",
|
|
44
|
+
"mcp>=1.2.0",
|
|
45
|
+
"docker>=7.1.0",
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
[dependency-groups]
|
|
49
|
+
dev = [
|
|
50
|
+
"pyright>=1.1.390",
|
|
51
|
+
"pytest>=8.3.0",
|
|
52
|
+
"pytest-asyncio>=0.25.0",
|
|
53
|
+
"ruff>=0.9.0",
|
|
54
|
+
]
|
|
55
|
+
package = [
|
|
56
|
+
"pyinstaller>=6.11.0",
|
|
57
|
+
]
|
|
58
|
+
|
|
59
|
+
[project.scripts]
|
|
60
|
+
orriven = "orriven.cli.main:main"
|
|
61
|
+
|
|
62
|
+
[project.urls]
|
|
63
|
+
Homepage = "https://github.com/HiItsRage/orriven"
|
|
64
|
+
Repository = "https://github.com/HiItsRage/orriven"
|
|
65
|
+
Issues = "https://github.com/HiItsRage/orriven/issues"
|
|
66
|
+
Changelog = "https://github.com/HiItsRage/orriven/releases"
|
|
67
|
+
|
|
68
|
+
[build-system]
|
|
69
|
+
requires = ["hatchling"]
|
|
70
|
+
build-backend = "hatchling.build"
|
|
71
|
+
|
|
72
|
+
[tool.hatch.build.targets.wheel]
|
|
73
|
+
packages = ["src/orriven"]
|
|
74
|
+
artifacts = ["src/orriven/server/static/**"]
|
|
75
|
+
|
|
76
|
+
[tool.hatch.build.targets.sdist]
|
|
77
|
+
include = [
|
|
78
|
+
"src/orriven/**",
|
|
79
|
+
"README.md",
|
|
80
|
+
"LICENSE",
|
|
81
|
+
"pyproject.toml",
|
|
82
|
+
]
|
|
83
|
+
artifacts = ["src/orriven/server/static/**"]
|
|
84
|
+
|
|
85
|
+
[tool.ruff]
|
|
86
|
+
line-length = 100
|
|
87
|
+
target-version = "py312"
|
|
88
|
+
|
|
89
|
+
[tool.ruff.lint]
|
|
90
|
+
select = ["E", "F", "I", "UP", "B", "SIM", "PIE", "RUF", "FAST", "ASYNC", "PT"]
|
|
91
|
+
ignore = ["E501", "ASYNC109", "ASYNC110", "ASYNC240", "RUF001", "RUF002", "RUF046", "PT018"]
|
|
92
|
+
|
|
93
|
+
[tool.ruff.lint.per-file-ignores]
|
|
94
|
+
"tests/**" = ["PT011"]
|
|
95
|
+
|
|
96
|
+
[tool.pytest.ini_options]
|
|
97
|
+
asyncio_mode = "auto"
|
|
98
|
+
asyncio_default_fixture_loop_scope = "function"
|
|
99
|
+
testpaths = ["tests"]
|
|
100
|
+
|
|
101
|
+
[tool.pyright]
|
|
102
|
+
pythonVersion = "3.12"
|
|
103
|
+
typeCheckingMode = "standard"
|
|
104
|
+
include = ["src", "tests"]
|