Skip to content

Nexus v1.5.4

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Dec 02:11
· 8 commits to main since this release

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.json manifest and script in custom-tools/<name>/ (or create one from the Desktop UI or custom_tool_scaffold). Enabled tools are registered as custom_<name> in DynamicCatalog, discovered via nexus_discover_tools, and invoked via nexus_execute_action.
  • Supported runtimes: python, node, powershell, and exe, 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 risk switching (read / write / exec), tool folder deletion, + New file 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.
  • Safety & execution controls:
    • Arguments are validated against inputSchema and passed via stdin JSON (shell: false, never interpolated into command strings).
    • Enforces relative entry path and symlink escape checks, env allowlist filtering, cwd authorized-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.json and the entry script, and any file change automatically resets the tool to disabled until re-approved in the Desktop UI.
    • write and exec risk levels follow the existing Command Safety Layer and approval flow.
  • Hot reload & examples: Watches custom-tools/ with debounced rescanning and includes a sample tool under examples/custom-tools/count_lines/ plus documentation in README.md.

Remaining 332 → 330 UI & Doc Cleanup

  • Updated remaining user-facing 332 references to 330 in Settings → About Nexus, MCP Provider Manager, and the README.md architecture 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 tagging v1.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, and custom_tool_scaffold + DynamicCatalog integration).
  • Multi-platform installers for Windows (x64), macOS (aarch64 & x64), and Linux (AppImage & deb) were built and published by the GitHub Actions Release workflow on tag v1.5.4.