oblivion-agent 2.9.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.
- oblivion_agent-2.9.0/.gitignore +49 -0
- oblivion_agent-2.9.0/CHEATSHEET.md +0 -0
- oblivion_agent-2.9.0/LICENSE +21 -0
- oblivion_agent-2.9.0/MEMORY.md +7 -0
- oblivion_agent-2.9.0/PKG-INFO +140 -0
- oblivion_agent-2.9.0/README.md +88 -0
- oblivion_agent-2.9.0/agent/__init__.py +0 -0
- oblivion_agent-2.9.0/agent/brain.py +413 -0
- oblivion_agent-2.9.0/agent/code_chunker.py +431 -0
- oblivion_agent-2.9.0/agent/core.py +709 -0
- oblivion_agent-2.9.0/agent/core.py.backup +243 -0
- oblivion_agent-2.9.0/agent/core.py.bak-complex +513 -0
- oblivion_agent-2.9.0/agent/core.py.bak-prefix +423 -0
- oblivion_agent-2.9.0/agent/core.py.bak-workspace +467 -0
- oblivion_agent-2.9.0/agent/core.py.before_knowledge_patch +605 -0
- oblivion_agent-2.9.0/agent/friday.py +455 -0
- oblivion_agent-2.9.0/agent/llm.py +265 -0
- oblivion_agent-2.9.0/agent/models.py +156 -0
- oblivion_agent-2.9.0/agent/parser.py +218 -0
- oblivion_agent-2.9.0/agent/parser.py.bak-prefix +176 -0
- oblivion_agent-2.9.0/agent/paths.py +235 -0
- oblivion_agent-2.9.0/agent/rag.py +477 -0
- oblivion_agent-2.9.0/agent/runtime.py +467 -0
- oblivion_agent-2.9.0/agent/runtime.py.bak-complex +299 -0
- oblivion_agent-2.9.0/agent/runtime.py.bak-prefix +280 -0
- oblivion_agent-2.9.0/agent/runtime.py.before_knowledge_patch +384 -0
- oblivion_agent-2.9.0/agent/setup_wizard.py +234 -0
- oblivion_agent-2.9.0/agent/symbol_index.py +314 -0
- oblivion_agent-2.9.0/agent/voice.py +343 -0
- oblivion_agent-2.9.0/agent/watcher.py +176 -0
- oblivion_agent-2.9.0/db/__init__.py +0 -0
- oblivion_agent-2.9.0/db/store.py +188 -0
- oblivion_agent-2.9.0/knowledge/__init__.py +0 -0
- oblivion_agent-2.9.0/knowledge/detector.py +162 -0
- oblivion_agent-2.9.0/knowledge/injector.py +175 -0
- oblivion_agent-2.9.0/knowledge/packs/database.md +630 -0
- oblivion_agent-2.9.0/knowledge/packs/debugging.md +96 -0
- oblivion_agent-2.9.0/knowledge/packs/deployment.md +72 -0
- oblivion_agent-2.9.0/knowledge/packs/django.md +285 -0
- oblivion_agent-2.9.0/knowledge/packs/docker.md +699 -0
- oblivion_agent-2.9.0/knowledge/packs/fastapi.md +534 -0
- oblivion_agent-2.9.0/knowledge/packs/nextjs.md +129 -0
- oblivion_agent-2.9.0/knowledge/packs/react.md +142 -0
- oblivion_agent-2.9.0/knowledge/packs/security.md +882 -0
- oblivion_agent-2.9.0/knowledge/packs/tailwind.md +107 -0
- oblivion_agent-2.9.0/knowledge/packs/testing.md +718 -0
- oblivion_agent-2.9.0/knowledge/packs/typescript.md +599 -0
- oblivion_agent-2.9.0/knowledge/packs/vue.md +123 -0
- oblivion_agent-2.9.0/main.py +60 -0
- oblivion_agent-2.9.0/mcp_server/__init__.py +0 -0
- oblivion_agent-2.9.0/mcp_server/server.py +160 -0
- oblivion_agent-2.9.0/pyproject.toml +64 -0
- oblivion_agent-2.9.0/scripts/index.py +43 -0
- oblivion_agent-2.9.0/test/test.py +6 -0
- oblivion_agent-2.9.0/tools/__init__.py +0 -0
- oblivion_agent-2.9.0/tools/auto.py +240 -0
- oblivion_agent-2.9.0/tools/bash.py +169 -0
- oblivion_agent-2.9.0/tools/bash.py.bak-complex +29 -0
- oblivion_agent-2.9.0/tools/diff.py +75 -0
- oblivion_agent-2.9.0/tools/edit_file.py +77 -0
- oblivion_agent-2.9.0/tools/filesystem.py +270 -0
- oblivion_agent-2.9.0/tools/planner.py +53 -0
- oblivion_agent-2.9.0/tools/registry.py +291 -0
- oblivion_agent-2.9.0/tools/registry.py.bak-complex +250 -0
- oblivion_agent-2.9.0/tools/registry.py.bak-workspace +234 -0
- oblivion_agent-2.9.0/tools/search_code.py +127 -0
- oblivion_agent-2.9.0/tools/symbol_tools.py +212 -0
- oblivion_agent-2.9.0/ui/__init__.py +0 -0
- oblivion_agent-2.9.0/ui/app.py +2332 -0
- oblivion_agent-2.9.0/ui/app.py.backup +1634 -0
- oblivion_agent-2.9.0/ui/app.py.backup.20260612_181912 +1886 -0
- oblivion_agent-2.9.0/ui/app.py.bak-complex +1981 -0
- oblivion_agent-2.9.0/ui/app.py.bak-workspace +1907 -0
- oblivion_agent-2.9.0/ui/app.py.before_dedupe.20260612_110555 +1910 -0
- oblivion_agent-2.9.0/ui/app.py.before_dedupe.20260612_110629 +1797 -0
- oblivion_agent-2.9.0/ui/app.py.before_dockfix.20260612_112427 +1797 -0
- oblivion_agent-2.9.0/ui/app.py.before_wavefix.20260612_112136 +1797 -0
- oblivion_agent-2.9.0/ui/app.py.cyberpunk_backup +2011 -0
- oblivion_agent-2.9.0/ui/app.py.v2_backup +2032 -0
- oblivion_agent-2.9.0/uv.lock +3603 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
*.so
|
|
6
|
+
.Python
|
|
7
|
+
.venv/
|
|
8
|
+
venv/
|
|
9
|
+
*.egg-info/
|
|
10
|
+
|
|
11
|
+
# Build artifacts
|
|
12
|
+
build/
|
|
13
|
+
dist/
|
|
14
|
+
*.whl
|
|
15
|
+
*.tar.gz
|
|
16
|
+
|
|
17
|
+
# Test files at repo root (user playground)
|
|
18
|
+
hello.py
|
|
19
|
+
broken.py
|
|
20
|
+
brain_test.py
|
|
21
|
+
fact.py
|
|
22
|
+
sample.py
|
|
23
|
+
index.html
|
|
24
|
+
styles.css
|
|
25
|
+
script.js
|
|
26
|
+
package.json
|
|
27
|
+
package-lock.json
|
|
28
|
+
tsconfig.json
|
|
29
|
+
Key.java
|
|
30
|
+
Key.class
|
|
31
|
+
Untitled.java
|
|
32
|
+
LLM2
|
|
33
|
+
q
|
|
34
|
+
|
|
35
|
+
# Config + secrets
|
|
36
|
+
.env
|
|
37
|
+
.env.backup
|
|
38
|
+
.env.bak
|
|
39
|
+
.env.bak-*
|
|
40
|
+
|
|
41
|
+
# Editor
|
|
42
|
+
.DS_Store
|
|
43
|
+
*.swp
|
|
44
|
+
.idea/
|
|
45
|
+
.vscode/
|
|
46
|
+
|
|
47
|
+
# Runtime data
|
|
48
|
+
.chroma/
|
|
49
|
+
.ai-agent/
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 R. Rohit
|
|
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.
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: oblivion-agent
|
|
3
|
+
Version: 2.9.0
|
|
4
|
+
Summary: OBLIVION - Terminal AI coding agent with voice, RAG, and multi-model support. Powered by Meera.
|
|
5
|
+
Project-URL: Homepage, https://github.com/rohit/oblivion-agent
|
|
6
|
+
Project-URL: Repository, https://github.com/rohit/oblivion-agent
|
|
7
|
+
Project-URL: Issues, https://github.com/rohit/oblivion-agent/issues
|
|
8
|
+
Author: R. Rohit
|
|
9
|
+
License: MIT
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Keywords: agent,ai,claude,coding,gemini,groq,llm,ollama,rag,tui,voice,whisper
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Environment :: Console
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
17
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
23
|
+
Classifier: Topic :: Software Development :: Code Generators
|
|
24
|
+
Requires-Python: >=3.11
|
|
25
|
+
Requires-Dist: aiosqlite>=0.20.0
|
|
26
|
+
Requires-Dist: chromadb>=1.5.0
|
|
27
|
+
Requires-Dist: edge-tts>=6.1.0
|
|
28
|
+
Requires-Dist: elevenlabs>=2.52.0
|
|
29
|
+
Requires-Dist: httpx>=0.27.0
|
|
30
|
+
Requires-Dist: litellm>=1.40.0
|
|
31
|
+
Requires-Dist: mcp>=1.0.0
|
|
32
|
+
Requires-Dist: pathspec>=0.12.1
|
|
33
|
+
Requires-Dist: pygments>=2.18.0
|
|
34
|
+
Requires-Dist: python-dotenv>=1.0.0
|
|
35
|
+
Requires-Dist: rich>=13.7.0
|
|
36
|
+
Requires-Dist: textual>=0.60.0
|
|
37
|
+
Requires-Dist: watchdog>=4.0.0
|
|
38
|
+
Provides-Extra: all
|
|
39
|
+
Requires-Dist: elevenlabs>=1.0.0; extra == 'all'
|
|
40
|
+
Requires-Dist: faster-whisper>=1.0.0; extra == 'all'
|
|
41
|
+
Requires-Dist: numpy>=2.0.0; extra == 'all'
|
|
42
|
+
Requires-Dist: scipy>=1.13.0; extra == 'all'
|
|
43
|
+
Requires-Dist: sounddevice>=0.4.0; extra == 'all'
|
|
44
|
+
Provides-Extra: premium-voice
|
|
45
|
+
Requires-Dist: elevenlabs>=1.0.0; extra == 'premium-voice'
|
|
46
|
+
Provides-Extra: voice
|
|
47
|
+
Requires-Dist: faster-whisper>=1.0.0; extra == 'voice'
|
|
48
|
+
Requires-Dist: numpy>=2.0.0; extra == 'voice'
|
|
49
|
+
Requires-Dist: scipy>=1.13.0; extra == 'voice'
|
|
50
|
+
Requires-Dist: sounddevice>=0.4.0; extra == 'voice'
|
|
51
|
+
Description-Content-Type: text/markdown
|
|
52
|
+
|
|
53
|
+
# OBLIVION
|
|
54
|
+
|
|
55
|
+
Terminal AI coding agent with voice, RAG, and multi-model support.
|
|
56
|
+
Powered by Meera.
|
|
57
|
+
|
|
58
|
+
## Install
|
|
59
|
+
|
|
60
|
+
pip install oblivion-agent
|
|
61
|
+
|
|
62
|
+
With voice:
|
|
63
|
+
|
|
64
|
+
pip install "oblivion-agent[voice]"
|
|
65
|
+
|
|
66
|
+
## First Run
|
|
67
|
+
|
|
68
|
+
oblivion
|
|
69
|
+
|
|
70
|
+
A setup wizard will ask for your LLM provider (Gemini recommended, free).
|
|
71
|
+
|
|
72
|
+
## Features
|
|
73
|
+
|
|
74
|
+
- Voice in (Whisper) and out (Edge TTS / ElevenLabs)
|
|
75
|
+
- 9 LLM backends with auto-fallback (Gemini, Groq, Claude, GPT-4o, DeepSeek, Ollama, Cerebras)
|
|
76
|
+
- Hybrid code search: exact symbol + full-text + semantic embeddings
|
|
77
|
+
- 22 tools: filesystem, bash, symbol navigation, code verification, project memory
|
|
78
|
+
- Built-in knowledge packs (React, Django, FastAPI, Docker, security, more)
|
|
79
|
+
- Cyberpunk TUI with slash commands, file watcher, status bar
|
|
80
|
+
- Workspace memory persists across sessions (MEMORY.md per project)
|
|
81
|
+
|
|
82
|
+
## Slash Commands
|
|
83
|
+
|
|
84
|
+
- /help - all commands
|
|
85
|
+
- /model - switch LLM
|
|
86
|
+
- /voice - voice settings
|
|
87
|
+
- /meera on|off|test - toggle voice replies
|
|
88
|
+
- /index - reindex workspace
|
|
89
|
+
- /openproject <name> - switch project
|
|
90
|
+
- /newproject <name> - create project
|
|
91
|
+
- /memory - view workspace memory
|
|
92
|
+
- /stats - session info
|
|
93
|
+
|
|
94
|
+
## Config
|
|
95
|
+
|
|
96
|
+
Lives at ~/.oblivion/config.env
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
## Claude Desktop Integration (MCP)
|
|
100
|
+
|
|
101
|
+
Oblivion ships an MCP server. Claude Desktop can use Oblivions 10 read-only code tools directly.
|
|
102
|
+
|
|
103
|
+
### Setup
|
|
104
|
+
|
|
105
|
+
1. Install Oblivion: pip install oblivion-agent
|
|
106
|
+
|
|
107
|
+
2. Find your Claude Desktop config file:
|
|
108
|
+
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
|
|
109
|
+
Linux: ~/.config/Claude/claude_desktop_config.json
|
|
110
|
+
Windows: %APPDATA%/Claude/claude_desktop_config.json
|
|
111
|
+
|
|
112
|
+
3. Add this JSON to it:
|
|
113
|
+
|
|
114
|
+
{
|
|
115
|
+
"mcpServers": {
|
|
116
|
+
"oblivion": {
|
|
117
|
+
"command": "oblivion",
|
|
118
|
+
"args": ["mcp"],
|
|
119
|
+
"env": { "WORKSPACE_DIR": "/path/to/your/project" }
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
4. Restart Claude Desktop. Done!
|
|
125
|
+
|
|
126
|
+
### Exposed tools (read-only)
|
|
127
|
+
|
|
128
|
+
read_file, list_dir, grep_files, file_exists, search_code,
|
|
129
|
+
find_symbol, list_symbols, find_callers, project_map, recall
|
|
130
|
+
|
|
131
|
+
Write tools are NOT exposed for safety. Use the Oblivion TUI for edits.
|
|
132
|
+
|
|
133
|
+
### Testing
|
|
134
|
+
|
|
135
|
+
npx -y @modelcontextprotocol/inspector oblivion mcp
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
## License
|
|
139
|
+
|
|
140
|
+
MIT
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# OBLIVION
|
|
2
|
+
|
|
3
|
+
Terminal AI coding agent with voice, RAG, and multi-model support.
|
|
4
|
+
Powered by Meera.
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
pip install oblivion-agent
|
|
9
|
+
|
|
10
|
+
With voice:
|
|
11
|
+
|
|
12
|
+
pip install "oblivion-agent[voice]"
|
|
13
|
+
|
|
14
|
+
## First Run
|
|
15
|
+
|
|
16
|
+
oblivion
|
|
17
|
+
|
|
18
|
+
A setup wizard will ask for your LLM provider (Gemini recommended, free).
|
|
19
|
+
|
|
20
|
+
## Features
|
|
21
|
+
|
|
22
|
+
- Voice in (Whisper) and out (Edge TTS / ElevenLabs)
|
|
23
|
+
- 9 LLM backends with auto-fallback (Gemini, Groq, Claude, GPT-4o, DeepSeek, Ollama, Cerebras)
|
|
24
|
+
- Hybrid code search: exact symbol + full-text + semantic embeddings
|
|
25
|
+
- 22 tools: filesystem, bash, symbol navigation, code verification, project memory
|
|
26
|
+
- Built-in knowledge packs (React, Django, FastAPI, Docker, security, more)
|
|
27
|
+
- Cyberpunk TUI with slash commands, file watcher, status bar
|
|
28
|
+
- Workspace memory persists across sessions (MEMORY.md per project)
|
|
29
|
+
|
|
30
|
+
## Slash Commands
|
|
31
|
+
|
|
32
|
+
- /help - all commands
|
|
33
|
+
- /model - switch LLM
|
|
34
|
+
- /voice - voice settings
|
|
35
|
+
- /meera on|off|test - toggle voice replies
|
|
36
|
+
- /index - reindex workspace
|
|
37
|
+
- /openproject <name> - switch project
|
|
38
|
+
- /newproject <name> - create project
|
|
39
|
+
- /memory - view workspace memory
|
|
40
|
+
- /stats - session info
|
|
41
|
+
|
|
42
|
+
## Config
|
|
43
|
+
|
|
44
|
+
Lives at ~/.oblivion/config.env
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
## Claude Desktop Integration (MCP)
|
|
48
|
+
|
|
49
|
+
Oblivion ships an MCP server. Claude Desktop can use Oblivions 10 read-only code tools directly.
|
|
50
|
+
|
|
51
|
+
### Setup
|
|
52
|
+
|
|
53
|
+
1. Install Oblivion: pip install oblivion-agent
|
|
54
|
+
|
|
55
|
+
2. Find your Claude Desktop config file:
|
|
56
|
+
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
|
|
57
|
+
Linux: ~/.config/Claude/claude_desktop_config.json
|
|
58
|
+
Windows: %APPDATA%/Claude/claude_desktop_config.json
|
|
59
|
+
|
|
60
|
+
3. Add this JSON to it:
|
|
61
|
+
|
|
62
|
+
{
|
|
63
|
+
"mcpServers": {
|
|
64
|
+
"oblivion": {
|
|
65
|
+
"command": "oblivion",
|
|
66
|
+
"args": ["mcp"],
|
|
67
|
+
"env": { "WORKSPACE_DIR": "/path/to/your/project" }
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
4. Restart Claude Desktop. Done!
|
|
73
|
+
|
|
74
|
+
### Exposed tools (read-only)
|
|
75
|
+
|
|
76
|
+
read_file, list_dir, grep_files, file_exists, search_code,
|
|
77
|
+
find_symbol, list_symbols, find_callers, project_map, recall
|
|
78
|
+
|
|
79
|
+
Write tools are NOT exposed for safety. Use the Oblivion TUI for edits.
|
|
80
|
+
|
|
81
|
+
### Testing
|
|
82
|
+
|
|
83
|
+
npx -y @modelcontextprotocol/inspector oblivion mcp
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
## License
|
|
87
|
+
|
|
88
|
+
MIT
|
|
File without changes
|