oioxo-mcp 0.5.2 → 0.5.4
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/README.md +46 -14
- package/bundle/cli.js +116 -112
- package/package.json +8 -3
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ OIOXO does two things from one CLI:
|
|
|
6
6
|
1. **Context engine** — sits between your codebase and your AI agents (GitHub Copilot, Claude Code, Cursor, Windsurf, Gemini CLI, Codex) and hands them the *minimal relevant slice* of your project instead of letting them read whole files.
|
|
7
7
|
2. **Coding agent** — `oioxo code "<task>"` plans, edits, and verifies in your repo, using your own key **or a local Ollama model** — nothing leaves your machine. See [Code in your terminal](#code-in-your-terminal--oioxo-code).
|
|
8
8
|
|
|
9
|
-
**
|
|
9
|
+
**90–92% fewer context tokens per question, measured on a real production codebase.** A question that costs an agent ~50,000 tokens of file reading comes back as a ~5,000-token capsule — same answer, a fraction of the cost.
|
|
10
10
|
|
|
11
11
|
## Quick start
|
|
12
12
|
|
|
@@ -34,16 +34,24 @@ ANTHROPIC_API_KEY=… oioxo code "fix the failing test" --verify "npm test"
|
|
|
34
34
|
OIOXO_PROVIDER=ollama OIOXO_MODEL=qwen2.5-coder oioxo code "add input validation to the signup form"
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
- **Verified, not vibes** — every change
|
|
37
|
+
- **Verified, not vibes** — every change runs through your tests/typecheck on a shadow copy; a red result is fed back and repaired. Your real files are touched only after you approve the diff.
|
|
38
38
|
- **Bring any model** — OpenAI, Anthropic, Groq, Mistral, Together, local Ollama, or any OpenAI-compatible base (`OIOXO_PROVIDER` / `OIOXO_BASE_URL` / `OIOXO_MODEL` / `OIOXO_API_KEY`).
|
|
39
|
-
- **Or fully local, no key** — point it at [Ollama](https://ollama.com) (`OIOXO_PROVIDER=ollama OIOXO_MODEL=qwen2.5-coder`) and nothing leaves your machine.
|
|
39
|
+
- **Or fully local, no key** — point it at [Ollama](https://ollama.com) (`OIOXO_PROVIDER=ollama OIOXO_MODEL=qwen2.5-coder`) and nothing leaves your machine. Or run the built-in on-device coder with **`oioxo code --local`** (open model via llama.cpp; one-time `npm i -g node-llama-cpp`) — no key, nothing uploaded.
|
|
40
40
|
|
|
41
|
-
Flags: `--verify "<cmd>"` (override the test command) · `--yes` (apply without the prompt) · `--max-iters N
|
|
41
|
+
Flags: `--verify "<cmd>"` (override the test command) · `--yes` (apply without the prompt) · `--max-iters N` · `--local` (built-in on-device coder, no key — one-time `npm i -g node-llama-cpp`).
|
|
42
|
+
|
|
43
|
+
## Compute Mesh — lend a hand, or borrow one
|
|
44
|
+
|
|
45
|
+
On the same Wi-Fi, your devices work as one engine — and the CLI is a lend-only peer. Add a
|
|
46
|
+
device with `oioxo invite` (or `oioxo join`) and this machine lends its coder to another
|
|
47
|
+
device's build, so your phone or a thin laptop builds on *this* machine's GPU. The handshake
|
|
48
|
+
is a short code — a QR or a string — with no signaling server and nothing relayed through
|
|
49
|
+
OIOXO. Lend compute and you earn free coding time for it.
|
|
42
50
|
|
|
43
51
|
## Why developers use it
|
|
44
52
|
|
|
45
|
-
- 💸 **Subscriptions go further** — Copilot premium requests, Claude limits, API keys all
|
|
46
|
-
- ⚡ **Better answers** — focused context beats 75k tokens of noise
|
|
53
|
+
- 💸 **Subscriptions go further** — Copilot premium requests, Claude limits, and API keys all last longer.
|
|
54
|
+
- ⚡ **Better answers** — focused context beats 75k tokens of noise. Your agent gets the exact code in play, plus the parts of the project it actually depends on.
|
|
47
55
|
- 🔒 **100% on-device** — your code is indexed and queried locally, never uploaded. Only the saved-token *count* is metered.
|
|
48
56
|
- 🪄 **One command** — `init` detects Claude Code, VS Code/Copilot, Cursor, Windsurf, Gemini CLI and Codex, and merges their configs without touching your other MCP servers.
|
|
49
57
|
|
|
@@ -65,16 +73,40 @@ Flags: `--verify "<cmd>"` (override the test command) · `--yes` (apply without
|
|
|
65
73
|
## Commands
|
|
66
74
|
|
|
67
75
|
```
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
oioxo
|
|
76
|
+
# Code
|
|
77
|
+
oioxo code "<task>" code in this repo: capsule-grounded, verified, then asks
|
|
78
|
+
before writing (--verify "<cmd>" · --yes · --max-iters · --local)
|
|
79
|
+
--local runs the built-in on-device coder, no key
|
|
80
|
+
|
|
81
|
+
# Account
|
|
82
|
+
oioxo login | logout connect / disconnect your OIOXO account
|
|
83
|
+
oioxo whoami | usage who you're signed in as · your saved-token allowance
|
|
84
|
+
oioxo status plan, savings and on-device index stats
|
|
85
|
+
|
|
86
|
+
# Devices (Compute Mesh) — build together on the same Wi-Fi, one account
|
|
87
|
+
oioxo invite show a code; the device that HAS the project scans it,
|
|
88
|
+
and this machine lends its coder to that build
|
|
89
|
+
oioxo join scan/paste the code from the device that has the project,
|
|
90
|
+
and lend this machine's compute to it
|
|
91
|
+
oioxo devices find your other same-account devices on this Wi-Fi
|
|
92
|
+
oioxo stop-helping how to stop lending (Ctrl+C in the helper's terminal)
|
|
93
|
+
|
|
94
|
+
# AI / model
|
|
95
|
+
oioxo model list | use <p> [m] show providers / pin one (and a model)
|
|
96
|
+
oioxo config set|get|list|unset persist provider/model/baseUrl/apiKey
|
|
97
|
+
|
|
98
|
+
# Agents (MCP)
|
|
99
|
+
oioxo init [--all] wire OIOXO into the AI agents in this project
|
|
100
|
+
oioxo mcp list show which agents OIOXO is wired into
|
|
101
|
+
oioxo serve run the MCP server over stdio (agents call this)
|
|
102
|
+
|
|
103
|
+
# Maintenance
|
|
104
|
+
oioxo doctor check creds, connection, coder config, agent wiring
|
|
105
|
+
oioxo update how to update the CLI
|
|
106
|
+
oioxo --version | --help
|
|
75
107
|
```
|
|
76
108
|
|
|
77
|
-
> The binary is published as `oioxo-mcp`; `oioxo
|
|
109
|
+
> The binary is published as `oioxo-mcp`; `oioxo …` and `oioxo-mcp …` are the same command.
|
|
78
110
|
|
|
79
111
|
## Pricing
|
|
80
112
|
|