oioxo-mcp 0.5.3 → 0.5.5

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.
Files changed (3) hide show
  1. package/README.md +53 -21
  2. package/bundle/cli.js +110 -104
  3. package/package.json +61 -56
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # OIOXO — Context Engine + On-Device Coding Agent
1
+ # OIOXO — cut your AI bill ~90%, and code privately from the terminal
2
2
 
3
- **Your AI agents read 10× more code than they need. You pay for every token of it.**
3
+ **Your AI tools read far more of your code than they need and you pay for every word.**
4
4
 
5
- OIOXO does two things from one CLI:
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
- 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).
5
+ OIOXO fixes that from one command-line tool. It does two things:
6
+ 1. **Makes Copilot, Cursor & Claude ~90% cheaper.** It sits between your project and your AI tools and hands them only the small, relevant slice instead of letting them read whole files. Same answers, a fraction of the cost.
7
+ 2. **Codes for you, privately.** `oioxo code "<task>"` plans, edits, and checks the work right in your repo using your own key **or a local model** — so nothing leaves your machine. See [Code in your terminal](#code-in-your-terminal--oioxo-code).
8
8
 
9
- **Measured on a real production codebase: 90–92% fewer context tokens per question.** 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.
9
+ **~90% fewer words per question** (measured on a real codebase). A question that would cost ~50,000 words comes back as ~5,000 — same answer, a fraction of the cost.
10
10
 
11
11
  ## Quick start
12
12
 
@@ -34,18 +34,26 @@ 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 is run through your tests/typecheck on a shadow copy; a red result is fed back and repaired. Your real files are only touched after you approve the diff.
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. A built-in `--local` on-device coder (open model via llama.cpp, auto-downloaded once to `~/.oioxo/models`) is **coming next**.
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`. *(`--local` is reserved for the built-in on-device coder, coming nextuse `OIOXO_PROVIDER=ollama` for local today.)*
41
+ Flags: `--verify "<cmd>"` (override the test command) · `--yes` (apply without the prompt) · `--max-iters N` · `--local` (built-in on-device coder, no keyone-time `npm i -g node-llama-cpp`).
42
+
43
+ ## Let your devices build together
44
+
45
+ Put two of your own devices on the **same Wi-Fi** and they work as one — this machine can lend
46
+ its power to another device's build (so your phone or a thin laptop builds on *this* machine's
47
+ GPU), or borrow power the other way. Start it with `oioxo invite` (or `oioxo join`); pairing is
48
+ just a short code (a QR or a string), with nothing going through our servers. Lend power and you
49
+ earn **free coding time** for it. *(Feature name: Compute Mesh.)*
42
50
 
43
51
  ## Why developers use it
44
52
 
45
- - 💸 **Subscriptions go further** — Copilot premium requests, Claude limits, API keys all burn down slower.
46
- - ⚡ **Better answers** — focused context beats 75k tokens of noise; your agent gets the exact code in play and the parts of the project it actually depends on.
47
- - 🔒 **100% on-device** — your code is indexed and queried locally, never uploaded. Only the saved-token *count* is metered.
48
- - 🪄 **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.
53
+ - 💸 **Your AI costs drop ~90%** — Copilot premium requests, Claude limits, and API keys all last several times longer.
54
+ - ⚡ **Better answers, too** — focused context beats 50k words of noise. Your AI gets the exact code in play, plus the parts it actually depends on.
55
+ - 🔒 **100% on your device** — your code is read and searched locally, never uploaded. Only the *amount* you saved is counted.
56
+ - 🪄 **One command** — `init` finds Claude Code, VS Code/Copilot, Cursor, Windsurf, Gemini CLI and Codex, and sets them up without touching your other tools.
49
57
 
50
58
  ## How it works (for you)
51
59
 
@@ -65,16 +73,40 @@ Flags: `--verify "<cmd>"` (override the test command) · `--yes` (apply without
65
73
  ## Commands
66
74
 
67
75
  ```
68
- oioxo-mcp code "<task>" code in this repo: capsule-grounded, verified, then asks
69
- before writing (--verify "<cmd>" · --yes · --max-iters)
70
- oioxo-mcp login connect your OIOXO account
71
- oioxo-mcp init [--all] write agent MCP configs + instruction files
72
- oioxo-mcp serve run the MCP server (agent configs call this)
73
- oioxo-mcp status plan, savings and index stats
74
- oioxo-mcp logout remove the stored credential
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 code …` and `oioxo-mcp code …` are the same.
109
+ > The binary is published as `oioxo-mcp`; `oioxo …` and `oioxo-mcp …` are the same command.
78
110
 
79
111
  ## Pricing
80
112