NetMindAI-Open/NarraNexus

A framework for building nexuses of agents -- where intelligence emerges from interaction, not isolation.

84Stars on the repository
34Mods indexed here, across every type
8d agoLast push, which is what freshness is scored on
Apache-2.0Licence, which decides whether bodies are shown

_overview

01

NetMindAI-Open/NarraNexus

Command

All #[tauri::command] functions live here. The frontend calls these via @tauri-apps/api/core's invoke() (or our shim in frontend/src/lib/tauri.ts that pokes window.TAURIINTERNALS.invoke directly to avoid the npm package dep). Registered in lib.rs::invokehandler.

84 8d ago A 0 tokens original Apache-2.0

artifact_fetch.rs

02

NetMindAI-Open/NarraNexus

Command

In the dmg the Tauri webview origin is https://tauri.localhost (HTTPS) while the local backend serves on http://localhost:8000 (HTTP). WKWebView classifies any HTTP subresource loaded from an HTTPS document as "active mixed content" and blocks it silently — both iframe loads and fetch() from JS. The artifact panel…

84 8d ago A 0 tokens original Apache-2.0

auth.rs

03

NetMindAI-Open/NarraNexus

Command

Command "auth.rs" from NetMindAI-Open/NarraNexus, covering why exists, design decisions, stdio drainers (draintolog), pid tracking + cancellation and gotchas.

84 8d ago A 0 tokens original Apache-2.0

deep_link.rs

05

NetMindAI-Open/NarraNexus

Command

Single #[tauri::command] consumependingdeeplink that returns and clears AppState::pendingdeeplink. Frontend calls it once on App mount via the wrapper in frontend/src/lib/tauri.ts::consumePendingDeepLink.

84 8d ago A 0 tokens original Apache-2.0

mod.rs

08

NetMindAI-Open/NarraNexus

Command

Just module declarations: auth, config, deeplink, filedownload, health, netmindoauth, notify, power, service, tray, updater, artifactfetch, officewatchscheme. No logic. Each module exposes one or more #[tauri::command] functions registered in lib.rs::run's invokehandler! (or, for officewatchscheme, a custom-scheme…

84 8d ago A 0 tokens original Apache-2.0

netmind_oauth.rs

09

NetMindAI-Open/NarraNexus

Command

Rust code that connects NetMind's browser-based sign-in flow to a desktop webview. A webview is an embedded browser inside a desktop app; this bridge captures the sign-in result and passes it back to the app.

84 8d ago A 0 tokens original Apache-2.0

notify.rs

10

NetMindAI-Open/NarraNexus

Command

notifycompletion(title, body) posts a system notification via tauri-plugin-notification's Rust API. Exists as a custom command (instead of the plugin's JS guest bindings) because the frontend carries no @tauri-apps/ npm dependency — bare specifiers break inside the packaged DMG (see [[tauri.ts]]). All gating…

84 8d ago A 0 tokens original Apache-2.0

NetMindAI-Open/NarraNexus

Command

桌面(dmg)实时 Office 预览要在 iframe 里加载 officecli-watch 页面。webview origin 是 https://tauri.localhost,后端在 http://localhost:8000 → WKWebView 把这个 http iframe 当 active mixed content 静默拦掉(和 artifact 同一个 P0)。.

84 8d ago A 0 tokens original Apache-2.0

power.rs

12

NetMindAI-Open/NarraNexus

Command

setpreventsleep(enabled) / getpreventsleep(). macOS: spawns caffeinate -dims -w — -w ties the assertion to the app's lifetime, so a crash/quit can never leave an orphan keeping the machine awake (toggle-off kills the child early). Non-macOS returns Err so the frontend toggle stays off. Child handle lives in the…

84 8d ago A 0 tokens original Apache-2.0

tray

14

NetMindAI-Open/NarraNexus

Command

A desktop tray command that changes the badge count shown by the app's menu-bar or system-tray icon. The count represents how many agents are currently running.

84 8d ago A 0 tokens original Apache-2.0

updater.rs

15

NetMindAI-Open/NarraNexus

Command

Previous design had three half-aligned UX paths: Settings page showed text in the page, tray menu and startup auto-check both showed osascript dialogs. Symptoms in production.

84 8d ago A 0 tokens original Apache-2.0