Repository navigation
Nexus v1.5.4
Nexus is a local execution layer for AI. It lets web AI assistants, local LLMs and MCP agents run real work on your own machine (terminals, files, Git, browsers, ComfyUI, Blender, Unity) with an action ledger, checkpoint rollback and user-controlled security. New here? Start with the README, then download the installer for your platform from the assets below.
This release builds on v1.5.2 and introduces Custom Script Tools, along with desktop editor and UI refinements.
What's New
Custom Script Tools (custom-tools/)
- Turn local scripts into MCP tools: Place a
tool.jsonmanifest and script incustom-tools/<name>/(or create one from the Desktop UI orcustom_tool_scaffold). Enabled tools are registered ascustom_<name>inDynamicCatalog, discovered vianexus_discover_tools, and invoked vianexus_execute_action. - Supported runtimes:
python,node,powershell, andexe, resolving Nexus's bundled Python/Node/uv runtimes when available. - Desktop management & CodeMirror 6 editor:
- Added the Custom Tools page in Nexus Control Center with tool creation, enable/disable approval, inline
riskswitching (read/write/exec), tool folder deletion,+ Newfile creation, and a Local Test Runner. - Integrated CodeMirror 6 (
@uiw/react-codemirror) with line numbers, code folding, bracket matching, syntax highlighting (.json,.py,.js,.ts), and light/dark theme syncing. - Constrained the editor layout with fixed header/footer bars and internal scrolling so long files stay scrollable inside the editor pane without overlapping the test runner.
- Improved light-mode contrast for the test runner output panel and aligned primary buttons with the Nexus theme.
- Added the Custom Tools page in Nexus Control Center with tool creation, enable/disable approval, inline
- Safety & execution controls:
- Arguments are validated against
inputSchemaand passed viastdinJSON (shell: false, never interpolated into command strings). - Enforces relative
entrypath and symlink escape checks,envallowlist filtering,cwdauthorized-project checks, output truncation (maxOutputBytes), credential redaction, and process-tree termination on timeout. - Newly discovered or scaffolded tools start disabled by default; enabling records the SHA-256 hash of
tool.jsonand the entry script, and any file change automatically resets the tool to disabled until re-approved in the Desktop UI. writeandexecrisk levels follow the existing Command Safety Layer and approval flow.
- Arguments are validated against
- Hot reload & examples: Watches
custom-tools/with debounced rescanning and includes a sample tool underexamples/custom-tools/count_lines/plus documentation inREADME.md.
Remaining 332 → 330 UI & Doc Cleanup
- Updated remaining user-facing
332references to330in Settings → About Nexus, MCP Provider Manager, and theREADME.mdarchitecture diagram.
How to connect
- ChatGPT: through the MCP tunnel built into Nexus, added in ChatGPT as a custom MCP server. Requests through the tunnel always carry your
lb_Local MCP Access Token. - Web AI sites (DeepSeek, Gemini, AI Studio, Kimi, Qwen, Z.ai, Duck.ai): through the WebAgent browser extension.
- Local agents and models (Claude Code, Codex, opencode, pi, local open-source models): connect to Nexus on your machine as an MCP server at
http://127.0.0.1:8787/mcp, with a Local MCP Access Token from Settings.
How this release was verified
- Monorepo typecheck (
pnpm -r run typecheck): 8 workspace projects passed before taggingv1.5.4. - Custom Script Tools unit & integration tests (
pnpm exec vitest run apps/bridge/tests/custom-tools.test.ts): 3 tests passed (schema validation, stdin injection safety, timeout process-tree kill, output truncation, SHA-256 auto-disable, safety mode rejection, andcustom_tool_scaffold+DynamicCatalogintegration). - Multi-platform installers for Windows (
x64), macOS (aarch64&x64), and Linux (AppImage&deb) were built and published by the GitHub Actions Release workflow on tagv1.5.4.