voracode 0.0.1

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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 VORACODE
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.
package/README.md ADDED
@@ -0,0 +1,146 @@
1
+ # VORACODE
2
+
3
+ > Terminal-native AI coding agent — fast, private, BYOK.
4
+
5
+ ---
6
+
7
+ ## Quick Start
8
+
9
+ ```bash
10
+ npm install -g voracode
11
+ voracode init
12
+ voracode run "create a login page with React and Tailwind"
13
+ ```
14
+
15
+ ---
16
+
17
+ ## Features
18
+
19
+ - **75+ AI providers** — OpenAI, Anthropic, DeepSeek, Groq, Ollama, and more
20
+ - **Zero telemetry** — No data collected, fully private
21
+ - **Local models** — 100% offline via Ollama
22
+ - **BYOK** — Use your own API keys, no vendor lock-in
23
+ - **Self-improving** — Learns from your patterns over time
24
+ - **MCP support** — Connect external tools via Model Context Protocol
25
+ - **Security** — 7-layer defense with command sandbox + key vault
26
+ - **Cross-platform** — macOS, Linux, Windows
27
+
28
+ ---
29
+
30
+ ## Installation
31
+
32
+ ```bash
33
+ npm install -g voracode # npm
34
+ bun install -g voracode # Bun (recommended)
35
+ brew install voracode # macOS/Linux
36
+ scoop install voracode # Windows
37
+ curl -fsSL https://voracode.dev/install | bash # One-liner
38
+ ```
39
+
40
+ ---
41
+
42
+ ## API Key Setup
43
+
44
+ VORACODE is **BYOK** — you bring the key, we provide the tool.
45
+
46
+ ```bash
47
+ voracode key set openai sk-xxxxxxxxxxxx
48
+ voracode key set deepseek sk-xxxxxxxxxxxx
49
+ voracode key set openrouter sk-or-v1-xxxxxxxxxxxx
50
+ ```
51
+
52
+ | Provider | Free Tier | Protocol |
53
+ |----------|-----------|----------|
54
+ | OpenAI | — | OpenAI-compatible |
55
+ | Anthropic | — | Anthropic Messages |
56
+ | Google Gemini | 60 req/min | Google AI |
57
+ | DeepSeek | $0.14/M tokens | OpenAI-compatible |
58
+ | Groq | 500K tokens/day | OpenAI-compatible |
59
+ | Ollama (Local) | Unlimited | OpenAI-compatible |
60
+ | OpenRouter | 25+ free models | OpenAI-compatible |
61
+ | HuggingFace | Generous free tier | OpenAI-compatible |
62
+
63
+ ---
64
+
65
+ ## Usage
66
+
67
+ ```bash
68
+ voracode run "create a REST API with Express"
69
+ voracode run "fix the bug in auth.ts" -m anthropic/claude-sonnet-4
70
+ voracode run "add tests" --session abc123 --fork
71
+ voracode run "explain this codebase" --dry-run
72
+ ```
73
+
74
+ ```bash
75
+ voracode session list # Manage sessions
76
+ voracode model list # View providers
77
+ voracode skill list # View skills
78
+ voracode mcp list # View MCP servers
79
+ voracode audit . # Security audit
80
+ voracode doctor # Health check
81
+ ```
82
+
83
+ ---
84
+
85
+ ## Configuration
86
+
87
+ ```json
88
+ // ~/.config/voracode/config.json
89
+ {
90
+ "model": { "provider": "auto", "fallback": ["deepseek", "groq"] },
91
+ "context": { "maxTokens": 128000, "compression": "auto" },
92
+ "security": { "sandbox": { "enabled": true, "timeout": 30000 } },
93
+ "telemetry": { "enabled": false }
94
+ }
95
+ ```
96
+
97
+ ---
98
+
99
+ ## Security
100
+
101
+ - **OS Keychain** — API keys encrypted at rest, never plain text
102
+ - **Rate limiter** — 10 calls/min per provider, circuit breaker on failures
103
+ - **Command sandbox** — 20+ dangerous patterns blocked, 30s timeout
104
+ - **Path traversal guard** — All file operations validated against project root
105
+ - **Network egress** — Domain allowlist for all outbound requests
106
+ - **Fetch timeout** — 60s API timeout, no hanging requests
107
+ - **Audit log** — All actions logged locally, tamper-evident
108
+ - **Key protection** — Keys never in logs, crash reports, or generated code
109
+
110
+ ---
111
+
112
+ ## Self-Improvement
113
+
114
+ VORACODE learns from your patterns to become smarter over time — all locally.
115
+
116
+ 1. You perform similar tasks → patterns detected
117
+ 2. After 3+ matches → suggests a reusable skill
118
+ 3. You confirm → skill is created, future tasks get faster
119
+
120
+ All learning is **local** in `~/.local/share/voracode/`. Zero data sent anywhere.
121
+
122
+ ---
123
+
124
+ ## Development
125
+
126
+ ```bash
127
+ git clone https://github.com/mysterious75/voracode.git
128
+ cd voracode && bun install
129
+ bun run dev # development
130
+ bun run test # tests
131
+ bun run build:all # cross-platform binaries
132
+ ```
133
+
134
+ ---
135
+
136
+ ## License
137
+
138
+ MIT — See [LICENSE](LICENSE)
139
+
140
+ ---
141
+
142
+ <p align="center">
143
+ <a href="https://github.com/mysterious75/voracode">GitHub</a> ·
144
+ <a href="https://npmjs.com/package/voracode">npm</a> ·
145
+ <a href="https://github.com/mysterious75/voracode/issues">Issues</a>
146
+ </p>