@agnamo/nopilot 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +15 -0
- package/NOTICE +11 -0
- package/README.md +40 -2
- package/main.js +2320 -0
- package/manifest.json +9 -0
- package/package.json +48 -4
- package/styles.css +247 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
ISC License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 LuxDev
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
+
copyright notice and this permission notice appear in all copies.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
10
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
11
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
12
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
13
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
14
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
15
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Nopilot
|
|
2
|
+
Copyright (c) 2026 LuxDev
|
|
3
|
+
|
|
4
|
+
Licensed under the ISC License. See LICENSE.
|
|
5
|
+
|
|
6
|
+
Attribution
|
|
7
|
+
-----------
|
|
8
|
+
|
|
9
|
+
Attribute Logan Yang and the AGPL project logancyang/obsidian-copilot as inspiration only.
|
|
10
|
+
|
|
11
|
+
Nopilot is original ISC software by LuxDev. The idea of an in-vault assistant was informed by the public manifest of Logan Yang's AGPL-3.0 project logancyang/obsidian-copilot. No code, stylesheet, prompt text, or bundle from that project is included.
|
package/README.md
CHANGED
|
@@ -1,3 +1,41 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Nopilot
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
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.
|
|
4
|
+
|
|
5
|
+
This is not Obsidian Copilot. Our code is ISC. Attribution is in [LEGAL.md](docs/LEGAL.md). Behavior is in [SPEC.md](docs/SPEC.md).
|
|
6
|
+
|
|
7
|
+
## What it does
|
|
8
|
+
|
|
9
|
+
- Opens a chat view (`nopilot-chat`) from the ribbon or the command palette.
|
|
10
|
+
- Sends the active note, the editor selection, and `nopilot/memory/memory.md` when those settings are on. Each field is truncated. See docs/SPEC.md for the limits.
|
|
11
|
+
- Calls an OpenAI-compatible endpoint (default `https://api.deepseek.com`, model `deepseek-chat`) or Anthropic. Version 0.1.0 does not stream.
|
|
12
|
+
- Saves the transcript as a markdown note under `nopilot/conversations`.
|
|
13
|
+
|
|
14
|
+
## What it refuses to do
|
|
15
|
+
|
|
16
|
+
- No telemetry, no Copilot Plus, no vault embedding index, no update polling.
|
|
17
|
+
- 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.
|
|
18
|
+
- The agent is off by default. It uses `execFile` with 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.
|
|
19
|
+
- Model and note text is shown as text. It is not parsed as HTML.
|
|
20
|
+
|
|
21
|
+
## Build
|
|
22
|
+
|
|
23
|
+
From this directory:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npm install
|
|
27
|
+
npm run build
|
|
28
|
+
npm run typecheck
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
`npm 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`.
|
|
32
|
+
|
|
33
|
+
## Load in Obsidian
|
|
34
|
+
|
|
35
|
+
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`.
|
|
36
|
+
|
|
37
|
+
On Windows a directory symlink may need Developer Mode or an elevated shell. A directory junction is the other option.
|
|
38
|
+
|
|
39
|
+
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.
|
|
40
|
+
|
|
41
|
+
Do not copy `data.json` between vaults if it contains a key.
|