Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (netheriteai-code) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
NetheriteAI Code
NetheriteAI Code is a local terminal coding assistant modeled after the OpenCode workflow:
- full-screen terminal UI
- Ollama-backed model selection
- tool-based file and shell execution
- workspace-local todo list
- persistent chat history per workspace
Features
netheriteai-codelaunches an OpenCode-style TUInetheriteai-code modelslists all available Ollama modelsnetheriteai-code chatstarts a plain terminal REPL- The model can call tools to:
- list files
- read and write files
- remove files or folders
- run executable commands or full shell command lines
- run multiple commands in sequence
- manage todos in
.netherite/todos.json
Requirements
- Node.js 18+
- Ollama running locally with at least one model pulled
Usage
chmod +x ./bin/netheriteai-code.js
node ./bin/netheriteai-code.js models
node ./bin/netheriteai-code.jsOptional flags:
node ./bin/netheriteai-code.js --model qwen2.5-coder:7b
node ./bin/netheriteai-code.js --dir /path/to/projectNotes
- Model state and session history are stored under
~/.netheriteai-code/. - If Ollama is not reachable at
http://127.0.0.1:11434, setOLLAMA_BASE_URL. - This implementation mirrors the OpenCode interaction model, but it is not a byte-for-byte copy of the upstream project.