@agnamo/nopilot
v0.1.3
Published
LuxDev vault chat plugin. Original clean-room client. Not Obsidian Copilot.
Maintainers
Readme
Nopilot
LuxDev vault chat for Obsidian 1.5.0 or newer. You bring an API key. Chats can be saved as notes. A local agent runs only if you turn it on.
This is not Obsidian Copilot. Our code is ISC. Attribution is in LEGAL.md. Behavior is in SPEC.md.
What it does
- Opens a chat view (
nopilot-chat) from the ribbon or the command palette. - Sends the active note, the editor selection, and
nopilot/memory/memory.mdwhen those settings are on. Each field is truncated. See docs/SPEC.md for the limits. - Calls an OpenAI-compatible endpoint (default
https://api.deepseek.com, modeldeepseek-chat) or Anthropic. Version 0.1.0 does not stream. - Saves the transcript as a markdown note under
nopilot/conversations.
What it refuses to do
- No telemetry, no Copilot Plus, no vault embedding index, no update polling.
- No OS keychain. The API key is stored in
.obsidian/plugins/nopilot/data.json. Anyone with that file can read the key. Do not sync it to a public vault. - The agent is off by default. It uses
execFilewith no shell. The prompt goes on stdin. Commands that contain shell metacharacters are refused. The API key is not passed to the agent. Agent binaries are not downloaded. - Model and note text is shown as text. It is not parsed as HTML.
Terminal
npm i -g @agnamo/nopilot
nopilotA bare nopilot opens the wrapped session: Search for vaults, Chat, Settings, Doctor, More.
Search finds the Obsidian vaults on this PC and the plugins already installed in them (Nopilot and the others). Pick a vault, then install All, one suite plugin, or a preset from ~/.nopilot/presets. Confirm. When it finishes, enable Nopilot under Settings → Community plugins. The plugins you selected load, and Nopilot adds its settings page like any other plugin.
nopilot init is the older multi-vault installer. It still enables Nopilot in community-plugins.json for you. Search does not: the toggle is yours.
Build
From this directory:
npm install
npm run build
npm run typechecknpm run build runs node esbuild.config.mjs and writes main.js next to manifest.json. styles.css is not bundled. It has to sit beside main.js.
Load in Obsidian
The build does not install the plugin. After npm run build, copy or symlink this directory into <vault>/.obsidian/plugins/nopilot. The vault copy needs manifest.json, main.js, and styles.css.
On Windows a directory symlink may need Developer Mode or an elevated shell. A directory junction is the other option.
Then, in Obsidian: Settings → Community plugins → turn off Restricted mode → enable Nopilot. It is not in the community plugin list in 0.1.0. Reload Obsidian if the plugin does not appear.
Do not copy data.json between vaults if it contains a key.
