Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-harness/blob/main/cli/README.md # omega-harness Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-harness / cli / README.md` 60 lines · 3270 bytes Raw Blame History Rendered 1 # Ω Omega Harness CLI (`omega`) 2 3 Interactive terminal CLI for operating **Inkling-2-Mini** through Omega Harness, with a Gemini-CLI-style Ink TUI branded with Drake's `Ω` symbol (and optional Gemini SDK fallback). 4 5 ## Key Features 6 7 - **Hooked to Inkling-2-Mini by default** (`http://127.0.0.1:8080`, model `inkling-2-mini`): 8 - Auto-detects Omega's pure seeded-Omega **`inkling2-serve`** (`GET /health` with `slots_active` / `slots_max`), formats prompts cleanly for `serve_live.om`, and automatically retries `503 server_busy` when all 8 static KV slots are occupied. 9 - Also supports full OpenAI-compatible Inkling servers with SSE streaming, native `tool_calls`, and Inkling `<|content_thinking|>` / `<|content_invoke_tool_json|>` token parsing. 10 - Optional Gemini SDK (`@google/genai`) backend available via `--provider gemini` or `/provider gemini`. 11 - **Omega Harness skills**: automatically discovers every skill in `../skills/*/SKILL.md` (`load_skill`, `/skills`, `/skill `). 12 - **Omega compiler integration**: `omc_compile`, `omc_run`, `/compile`, `/run`, and `--omega-only` mode (`.om` / `NOTES.md` writes only, automatic `omc` compilation, error enrichment from `../data/reference.tsv`). 13 - **27 modern agent tools** (`omega --tools` / `/tools`): 14 - **File & Code**: `read_file`, `write_file`, `edit_file`, `delete_file`, `list_dir`, `glob_files`, `grep_search` 15 - **Execution & Git**: `run_shell`, `git_status`, `git_diff`, `git_log`, `git_commit` 16 - **Web**: `web_fetch`, `web_search` 17 - **Planning & Memory**: `todo_write`, `todo_read` (`/tasks`), `memory_save`, `memory_read` (`/memory`) 18 - **Autonomous Inkling Subagents**: `spawn_subagent`, `spawn_parallel_subagents`, `list_subagents` (`/agents`), `message_subagent` — spins up isolated Inkling-2-Mini subagents using the same model across `inkling2-serve`'s `N=8` static KV slots 19 - **Omega Harness Native**: `list_skills`, `load_skill`, `omc_compile`, `omc_run`, `omega_pin` 20 21 ## Build & Install 22 23 ```sh 24 sh cli/install.sh 25 ``` 26 27 Or package a self-contained release bundle (`.tar.gz` + `.sha256` + `MANIFEST.txt`): 28 29 ```sh 30 sh cli/package.sh 31 ``` 32 33 ## One-Command Stack Lifecycle (Inkling-2-Mini + Arboris + SM121 Speedups) 34 35 ```sh 36 omega start # Boot Inkling-2-Mini + Arboris on Spark, open :8080 tunnel, launch Ω TUI 37 omega up # Boot Spark server + tunnel only (auto-builds if missing) 38 omega up --rebuild # Recompile pure-Omega inkling2-serve on Spark and restart 39 omega --status # Check health, N=8 KV slots & live Arboris top-8/top-16 hit rates 40 omega down # Stop Spark server cleanly + close tunnel (keeps Spark GPU idle) 41 ``` 42 43 ## Usage 44 45 ```sh 46 omega # Launch interactive Ω TUI connected to Inkling-2-Mini 47 omega --status # Probe Inkling server health & active KV slots 48 omega --omega-only # .om-only guard + auto-omc compile checks 49 omega -p "What is 2 + 2?" # Headless mode (supports piped stdin) 50 omega --provider gemini # Switch to Google GenAI SDK backend 51 omega --skills # List available Omega Harness skills 52 omega --pin # Check PIN vs local omc sha256 53 ``` 54 55 ## Tests 56 57 ```sh 58 cd cli 59 npm run build && npm test 60 ```