NetMindAI-Open

34 mods across 2 repositories, 86 stars between them.

__init__.py

01

NetMindAI-Open/NarraNexus

Agent

Created when the 56-file flat backend/routes/ was grouped by domain (2026-07-24). Inert package marker; backend/main.py imports each router module explicitly.

84 8d ago A 0 tokens original Apache-2.0

artifacts.py

02

NetMindAI-Open/NarraNexus

Agent

The POST .../artifacts/url handler computes the browser origin via artifactspublic.apporigin(request) and passes it to ArtifactService.openurl as apporigin, so the self-origin guard is robust even if publicbaseurl is misconfigured (defense in depth for the allow-same-origin URL iframe).

84 8d ago A 0 tokens original Apache-2.0

attachments.py

03

NetMindAI-Open/NarraNexus

Agent

The local sniffmimetype + audiovideocontaineroverride pair moved to [[mimesniff]] so all three upload/ingest paths (this route, IM channels, team-chat uploads) classify identically. One behavior delta: a libmagic application/octet-stream verdict now falls through to the extension guess instead of winning outright, so…

84 8d ago A 0 tokens original Apache-2.0

awareness.py

04

NetMindAI-Open/NarraNexus

Agent

API routes for an agent’s awareness profile: information about who it is, what it can do, and where it applies.

84 8d ago A 0 tokens original Apache-2.0

bus_failures.py

05

NetMindAI-Open/NarraNexus

Agent

Backend routes for viewing and retrying messages that permanently failed after repeated delivery attempts in a local message bus, which is a system that passes messages between software components.

84 8d ago A 0 tokens original Apache-2.0

chat_history.py

06

NetMindAI-Open/NarraNexus

Agent

Agent "chat_history.py" from NetMindAI-Open/NarraNexus, covering 2026-07-30 — meta carries the prompt-cache buckets, 2026-07-23 — event-log meta (activity card header), agents/chathistory.py — 聊天历史与对话记录路由, 为什么存在 and 上下游关系.

84 8d ago A 0 tokens original Apache-2.0

circuit_breaker.py

07

NetMindAI-Open/NarraNexus

Agent

A pair of web API endpoints for viewing and resetting an agent’s circuit breaker. A circuit breaker is a safety mechanism that pauses an agent after repeated failures; resetting it lets the agent return to active operation.

84 8d ago A 0 tokens original Apache-2.0

core.py

08

NetMindAI-Open/NarraNexus

Agent

A routing module that combines many agent-related API route groups into one agent API.

84 8d ago A 0 tokens original Apache-2.0

cost.py

09

NetMindAI-Open/NarraNexus

Agent

The SELECT and every aggregation level (total / bymodel / daily / records) now carry cachereadinputtokens / cachecreationinputtokens alongside input/output. The ledger keeps three mutually exclusive input-side buckets (uncached 1x / cache write 1.25x / cache read 0.1x); this route used to read only inputtokens, so a…

84 8d ago A 0 tokens original Apache-2.0

files.py

10

NetMindAI-Open/NarraNexus

Agent

The flat "top-level files only" listing became a recursive directory tree so the workspace viewer (Config → Workspace) can browse the structure the agent actually builds (a typical artifact is a folder of files). Server-side filtering: any directory or file whose name starts with . is hidden — the UI never has to know…

84 8d ago A 0 tokens original Apache-2.0

llm_config.py

11

NetMindAI-Open/NarraNexus

Agent

An agent component that reports whether a free usage allowance is currently locking the agent to a particular language model.

84 8d ago A 0 tokens original Apache-2.0

mcps.py

12

NetMindAI-Open/NarraNexus

Agent

Agent routes for managing connections to MCP servers, which are external tool services that agents can use.

84 8d ago A 0 tokens original Apache-2.0

social_network.py

13

NetMindAI-Open/NarraNexus

Agent

Both endpoints now go through SocialNetworkRepository (reading memoryentity) plus an entitytoinfo helper, instead of touching instancesocialentities. Behaviour for callers is unchanged; only the storage source moved.

84 8d ago A 0 tokens original Apache-2.0

_overview

14

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

15

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

16

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

18

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

21

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

22

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

23

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