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.
Files changed (3) hide show
  1. package/README.md +46 -14
  2. package/bundle/cli.js +116 -112
  3. 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
- **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–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 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
+ ## 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 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.
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
- 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