__init__.py
01Agent
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.
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.
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).
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…
Agent
API routes for an agent’s awareness profile: information about who it is, what it can do, and where it applies.
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.
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 上下游关系.
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.
Agent
A routing module that combines many agent-related API route groups into one agent API.
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…
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…
Agent
An agent component that reports whether a free usage allowance is currently locking the agent to a particular language model.
Agent
Agent routes for managing connections to MCP servers, which are external tool services that agents can use.
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.
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.
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…
Command
Command "auth.rs" from NetMindAI-Open/NarraNexus, covering why exists, design decisions, stdio drainers (draintolog), pid tracking + cancellation and gotchas.
Command
Three commands.
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.
Command
Two local download surfaces were broken with the standard approach.
Command
Two commands.
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…
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.
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…
Command
桌面(dmg)实时 Office 预览要在 iframe 里加载 officecli-watch 页面。webview origin 是 https://tauri.localhost,后端在 http://localhost:8000 → WKWebView 把这个 http iframe 当 active mixed content 静默拦掉(和 artifact 同一个 P0)。.