nemu-cli 1.10.1 → 1.11.0

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/CHANGELOG.md CHANGED
@@ -1,221 +1,227 @@
1
- # Changelog
2
-
3
- ## 1.10.1
4
-
5
- Updating no longer skips hooks that a newer release added. A setup made before 1.10.1 gets the
6
- prompt hook that shows other agents' unread messages the next time the CLI runs; hooks you removed
7
- yourself stay removed.
8
-
9
- ## 1.10.0
10
-
11
- `nemu studio` builds 3D models with Nemu Studio from the terminal: `create` starts a cloud job and
12
- waits for the file, `jobs`, `wait`, `open`, `export` and `cancel` manage them, and `texture` turns an
13
- image into an image_id for a scene. `nemu setup` asks which toolkits an agent gets, Context and now
14
- Studio, so an agent can build and export models over MCP. The hooks send the agent's model and
15
- session to Context, and other agents' unread messages show on every prompt. When Nemu marks this
16
- version as out of date, the CLI says so once per run with the command that updates it, and a
17
- version Nemu no longer accepts is refused with that command and is not sent as an error report.
18
-
19
- ## 1.9.0
20
-
21
- `nemu sync` sends a file larger than one request, up to your plan's largest file (100 MB on paid
22
- plans), in parts, and a failed upload is cancelled so no parts are left behind. Earlier versions
23
- skip such files. The source is public at
24
- [Nemu-Bridge/nemu-cli](https://github.com/Nemu-Bridge/nemu-cli), and the npm page links to it.
25
-
26
- ## 1.8.0
27
-
28
- `nemu status` now asks Nemu about this computer instead of only reading local files. It shows a
29
- device the server no longer knows or has revoked, with `nemu login --force` as the fix, and shows an
30
- expired sign in as expired rather than ok. `nemu login` reports when registering this computer for
31
- Context fails instead of finishing silently without a device.
32
-
33
- `nemu setup claude` now installs Nemu as a Claude Code plugin when your Claude Code supports plugins.
34
- The plugin carries the MCP server, so nothing else changes about how the tools work, and adds two
35
- commands: `/remember` saves something durable to the project's memory, updating a note that already
36
- covers it, and `/inspo` reads an inspiration folder's board in a vault, follows each reference's use,
37
- and asks for more when the folder is thin. An older Claude Code gets the MCP server as before.
38
- `nemu uninstall claude` removes the plugin too.
39
-
40
- ## 1.7.0
41
-
42
- Private vaults. `nemu vault link <folder> --create --private` makes a vault whose key only your
43
- devices hold: you choose a vault password, and a recovery key is shown once and saved to a file in
44
- your home folder. `nemu sync` then seals every name and text before it leaves this computer, so Nemu
45
- stores only data it cannot read.
46
-
47
- On another computer, `nemu vault unlock` opens it with the password, the recovery key, or approval
48
- from a device that already has it open (`nemu vault approve` there, after comparing a six digit
49
- code). The key is kept in the macOS Keychain, protected by Windows for your account, or in a file only
50
- your account can read on Linux. `nemu vault forget` locks it on this computer again, and
51
- `nemu vault status` says whether it is open. In scripts, `NEMU_VAULT_PASSWORD` and
52
- `NEMU_VAULT_RECOVERY` stand in for typing.
53
-
54
- ## 1.6.2
55
-
56
- `.obsidian/plugins/` no longer syncs when a device turns on `--obsidian`, because plugins are code
57
- Obsidian runs, and a plugin added on one synced device would otherwise run on every other one. Turn
58
- it on for one device with `nemu sync --obsidian-plugins on`; the CLI says what that means when you
59
- do. Turning it off stops syncing plugins and deletes nothing, here or in the vault. Themes, settings
60
- and hotkeys keep syncing with `--obsidian` as before. `nemu vault status` shows the setting.
61
-
62
- ## 1.6.1
63
-
64
- When `nemu sync` merges a note automatically, it now records the merge in the vault's merge log,
65
- with this computer's text from before the merge, so the console can restore either side with one
66
- click. A merge log that cannot be reached never fails the sync; the run reports it as a notice.
67
-
68
- `-w <workspace>` works. It was read as a switch, so the workspace after it was dropped and the
69
- command ran in your first workspace; `--workspace` was not affected. `-o` and `-d` had the same
70
- problem and are fixed too.
71
-
72
- `nemu vault link` on a folder that is no longer linked, such as a drive folder that was emptied and
73
- linked again, now starts fresh and downloads the vault, instead of treating every missing file as
74
- deleted and stopping at the mass-delete guard.
75
-
76
- Sync never writes `.claude/`, `.codex/`, `.cursor/`, `.vscode/`, `.idea/`, `.husky/`,
77
- `.github/workflows/` or `.git/hooks/`, in either direction, because files there can run code when
78
- you open the folder in an editor or an agent. A folder inside the vault that is a symbolic link to
79
- somewhere else is never written through.
80
-
81
- ## 1.6.0
82
-
83
- `nemu sync` keeps a folder, such as an Obsidian vault, in step with a Context vault.
84
- `nemu vault link <folder>` links it once (`--vault <name|id>` picks the vault, `--create` makes
85
- one) and writes `.nemu/vault.json`, without which sync refuses to run, so an unmounted drive never
86
- looks like a folder whose notes were deleted. `nemu sync --watch` keeps syncing until stopped.
87
- `nemu vault list`, `status` and `unlink` round it off.
88
-
89
- Each run reads the vault's changes since the last run, or lists every file when the device has been
90
- away longer than the change history, and compares files by content, never by modification time.
91
- Markdown changed on both sides is merged line by line when the edits do not overlap, treating CRLF
92
- and LF as equal and keeping your file's line endings. Otherwise the vault's version keeps the name
93
- and yours is saved beside it as `Note (conflict, <device>, <date> <time>).md`; no note ever gets
94
- conflict markers. `--conflicts=file` always writes the conflict file instead. An edit wins over a
95
- delete, a rename is sent as a move so the note keeps its history, and two renames onto one name
96
- give the second ` (2)`.
97
-
98
- A run that would delete more than 10 files, every file, or at least 3 files and more than 10% of
99
- the vault stops and deletes nothing until you pass `--allow-deletes`. `.nemu/lock` keeps two syncs
100
- off one folder and is taken over when its process is gone. Downloads are written to a temporary file
101
- and renamed; uploads wait until a file has been unchanged for 2 seconds and reads the same twice.
102
- Symbolic links, files above the plan's size, case clashes and names Windows cannot hold are skipped
103
- and listed. Out of storage stops uploads and keeps downloading; a revoked device or key stops sync
104
- and never deletes a local file. `.git/`, `node_modules/`, `.trash/`, `.DS_Store`, `._*` and
105
- `.obsidian/workspace*.json` are never synced, the rest of `.obsidian/` is opt in per device, and
106
- `.nemuignore` adds patterns.
107
-
108
- ## 1.5.0
109
-
110
- `nemu login key` signs in with a workspace API key, the same `sk_` key that calls the gateway. It
111
- asks for the key, or reads `NEMU_API_KEY`, and shows the workspace and access the key has. Context
112
- and vault commands use the unified routes under `/api/v1`, and work in the workspace you choose, so
113
- members share the workspace's Context. Earlier versions call routes that no longer exist and need
114
- this update.
115
-
116
- ## 1.4.0
117
-
118
- `nemu setup opencode` adds the Nemu MCP server to OpenCode's global config,
119
- `~/.config/opencode/opencode.json` (or `opencode.jsonc` when that is the file you have), as a local
120
- server that runs `nemu mcp --client opencode`. Like the other editors, only the `nemu` entry is
121
- written, the previous file is kept with a `.nemu-backup` suffix, `nemu uninstall opencode` removes
122
- it, `nemu status` lists it and `nemu mcp config opencode` prints it.
123
-
124
- The Stop hook no longer shows up as "Stop hook error" after every few edits. Claude Code shows any
125
- Stop request that way, so the reminder to save a handoff now arrives quietly after the third edit,
126
- as context the agent reads and you do not see. Stop asks at most once per session, and only when the
127
- work is still unsaved. Saving with `memory_write` resets the count. Only files inside the project
128
- count, so an agent's scratchpad or a temp folder no longer triggers a request, and the reminder no
129
- longer tells the agent to hide it from you.
130
-
131
- On Windows, `git`, editors and every other command the CLI starts are now found on `PATH` only.
132
- Before, the current folder was searched first, so a `git.cmd` inside a cloned repository ran in
133
- place of the real git.
134
-
135
- `nemu setup`, `nemu uninstall` and the update repair keep the permissions of
136
- `~/.claude/settings.json` and `~/.codex/hooks.json`. A file you locked to `0600` used to come back
137
- readable by every user on the machine. Files the CLI creates from nothing are now `0600`.
138
-
139
- `nemu login` opens the sign-in page only when it is on the same server the CLI talks to, over https
140
- (or http on localhost), and on Windows it opens it without going through `cmd`. It now opens the
141
- page without the code filled in, matching the device page, so you type the code shown in the
142
- terminal.
143
-
144
- ## 1.3.2
145
-
146
- After an update, the CLI checks once whether what setup installed still matches what this version
147
- needs: the Nemu hooks for Claude Code and Codex, and the nemu entry in each editor. Only Nemu's own
148
- entries that actually differ are rewritten, with every other hook and setting left as it was, and
149
- nothing is printed when everything already matches. This runs on the first command after an
150
- update, right after `nemu update` installs a new version, and quietly at the start of a session.
151
- `nemu repair` runs the same check any time. Each check is a small migration in
152
- `src/migrations.ts`, so a future release that changes setup adds one there.
153
-
154
- Commands are started with cross-spawn instead of a shell on Windows, which removes Node's
155
- DEP0190 deprecation warning and escapes arguments properly.
156
-
157
- ## 1.3.1
158
-
159
- Fixes "hook failed, exited with code 1" for Codex on Windows. Codex starts hooks through a Windows
160
- shell that cannot launch a command whose program path is quoted, and setup wrote the path to
161
- `nemu.cmd` in quotes. The Codex hooks now name the program unquoted (or as `nemu.cmd` when its
162
- path has spaces). `nemu codex` repairs hooks written by an earlier version before it starts Codex,
163
- `nemu setup codex --hooks` does the same, and `nemu status` says when a repair is needed. Claude
164
- Code runs hooks through Git Bash on Windows and is unchanged.
165
-
166
- ## 1.3.0
167
-
168
- `nemu setup cursor`, `nemu setup vscode`, `nemu setup gemini`, `nemu setup windsurf` and
169
- `nemu setup zed` add the Nemu MCP server to that editor's own config. Only the `nemu` entry is
170
- written: every other server, setting, comment and the file's indentation stay exactly as they
171
- were, the previous file is kept next to it with a `.nemu-backup` suffix, a file that cannot be
172
- parsed is left alone, and a different server already called `nemu` is never overwritten. VS Code
173
- uses its own `code --add-mcp` when it is on the PATH. `nemu uninstall <editor>` removes only
174
- that entry, and `nemu status` lists the editors it finds. Hooks remain Claude Code and Codex
175
- only.
176
-
177
- ## 1.2.0
178
-
179
- The CLI tells you when a newer version is out: "There is a new version available (1.2.0 -> 1.3.0).
180
- Do you want to upgrade?" Saying yes installs it with npm. It asks at most once a day, waits at most
181
- 1.5 seconds for the registry, and stays silent in hooks, the MCP bridge, `--json` output, scripts
182
- and CI. `nemu update` checks right away; `nemu update --yes` installs without asking. Set
183
- `NEMU_NO_UPDATE_CHECK=1` to turn the check off.
184
-
185
- ## 1.1.0
186
-
187
- Nemu Context for coding agents. `nemu setup claude` (aliases `cc`, `claude-code`) and
188
- `nemu setup codex` connect the client through its own `mcp add` command and optionally install hooks
189
- that load project notes at session start and ask for a handoff before stopping. `nemu claude` and
190
- `nemu codex` set up if needed and start the client.
191
-
192
- `nemu mcp` is a stdio MCP bridge for any client, using the login and refreshing it; `nemu mcp config`
193
- prints config for Cursor, Gemini CLI, VS Code, Windsurf, Zed and remote HTTP clients.
194
-
195
- `nemu claude load memories` imports Claude Code's saved memories. `load sessions` hands your recent
196
- sessions to your own agent to summarise. `nemu context` shows, searches and exports notes.
197
-
198
- Login now registers this computer as a device. Token refresh takes a lock, so several sessions
199
- refreshing at once no longer sign each other out. `nemu status`, `nemu uninstall`, `nemu token`.
200
-
201
- Failures after login send a scrubbed report and print an `NMU-` reference for support. Every file,
202
- response and hook input is validated.
203
-
204
- ## 1.0.0
205
-
206
- First real release. `login` signs in with the device grant, so nothing is pasted
207
- into the terminal and the package carries no secret.
208
-
209
- Commands for everything the management API exposes: workspaces, members,
210
- budgets, providers, models, prompts, mappings, indexes, quotas, metrics and
211
- workflows. `nemu api` calls any endpoint directly for the things that have no
212
- command of their own.
213
-
214
- Every command takes `--json` and exits non zero on failure, so a script or an
215
- agent can drive it without scraping tables.
216
-
217
- Destructive commands need `--yes`. There is no interactive prompt anywhere.
218
-
219
- ## 0.1.0
220
-
221
- Unpublished. login, logout and whoami only.
1
+ # Changelog
2
+
3
+ ## 1.11.0
4
+
5
+ The prompt hook points your agent at the vault zone that matches what you asked, by the keywords in
6
+ the vault's `ZONES.md`, and says when a zone's source files changed since it was written. `nemu claude load vault`
7
+ indexes a project into a vault. The matching runs on your computer.
8
+
9
+ ## 1.10.1
10
+
11
+ Updating no longer skips hooks that a newer release added. A setup made before 1.10.1 gets the
12
+ prompt hook that shows other agents' unread messages the next time the CLI runs; hooks you removed
13
+ yourself stay removed.
14
+
15
+ ## 1.10.0
16
+
17
+ `nemu studio` builds 3D models with Nemu Studio from the terminal: `create` starts a cloud job and
18
+ waits for the file, `jobs`, `wait`, `open`, `export` and `cancel` manage them, and `texture` turns an
19
+ image into an image_id for a scene. `nemu setup` asks which toolkits an agent gets, Context and now
20
+ Studio, so an agent can build and export models over MCP. The hooks send the agent's model and
21
+ session to Context, and other agents' unread messages show on every prompt. When Nemu marks this
22
+ version as out of date, the CLI says so once per run with the command that updates it, and a
23
+ version Nemu no longer accepts is refused with that command and is not sent as an error report.
24
+
25
+ ## 1.9.0
26
+
27
+ `nemu sync` sends a file larger than one request, up to your plan's largest file (100 MB on paid
28
+ plans), in parts, and a failed upload is cancelled so no parts are left behind. Earlier versions
29
+ skip such files. The source is public at
30
+ [Nemu-Bridge/nemu-cli](https://github.com/Nemu-Bridge/nemu-cli), and the npm page links to it.
31
+
32
+ ## 1.8.0
33
+
34
+ `nemu status` now asks Nemu about this computer instead of only reading local files. It shows a
35
+ device the server no longer knows or has revoked, with `nemu login --force` as the fix, and shows an
36
+ expired sign in as expired rather than ok. `nemu login` reports when registering this computer for
37
+ Context fails instead of finishing silently without a device.
38
+
39
+ `nemu setup claude` now installs Nemu as a Claude Code plugin when your Claude Code supports plugins.
40
+ The plugin carries the MCP server, so nothing else changes about how the tools work, and adds two
41
+ commands: `/remember` saves something durable to the project's memory, updating a note that already
42
+ covers it, and `/inspo` reads an inspiration folder's board in a vault, follows each reference's use,
43
+ and asks for more when the folder is thin. An older Claude Code gets the MCP server as before.
44
+ `nemu uninstall claude` removes the plugin too.
45
+
46
+ ## 1.7.0
47
+
48
+ Private vaults. `nemu vault link <folder> --create --private` makes a vault whose key only your
49
+ devices hold: you choose a vault password, and a recovery key is shown once and saved to a file in
50
+ your home folder. `nemu sync` then seals every name and text before it leaves this computer, so Nemu
51
+ stores only data it cannot read.
52
+
53
+ On another computer, `nemu vault unlock` opens it with the password, the recovery key, or approval
54
+ from a device that already has it open (`nemu vault approve` there, after comparing a six digit
55
+ code). The key is kept in the macOS Keychain, protected by Windows for your account, or in a file only
56
+ your account can read on Linux. `nemu vault forget` locks it on this computer again, and
57
+ `nemu vault status` says whether it is open. In scripts, `NEMU_VAULT_PASSWORD` and
58
+ `NEMU_VAULT_RECOVERY` stand in for typing.
59
+
60
+ ## 1.6.2
61
+
62
+ `.obsidian/plugins/` no longer syncs when a device turns on `--obsidian`, because plugins are code
63
+ Obsidian runs, and a plugin added on one synced device would otherwise run on every other one. Turn
64
+ it on for one device with `nemu sync --obsidian-plugins on`; the CLI says what that means when you
65
+ do. Turning it off stops syncing plugins and deletes nothing, here or in the vault. Themes, settings
66
+ and hotkeys keep syncing with `--obsidian` as before. `nemu vault status` shows the setting.
67
+
68
+ ## 1.6.1
69
+
70
+ When `nemu sync` merges a note automatically, it now records the merge in the vault's merge log,
71
+ with this computer's text from before the merge, so the console can restore either side with one
72
+ click. A merge log that cannot be reached never fails the sync; the run reports it as a notice.
73
+
74
+ `-w <workspace>` works. It was read as a switch, so the workspace after it was dropped and the
75
+ command ran in your first workspace; `--workspace` was not affected. `-o` and `-d` had the same
76
+ problem and are fixed too.
77
+
78
+ `nemu vault link` on a folder that is no longer linked, such as a drive folder that was emptied and
79
+ linked again, now starts fresh and downloads the vault, instead of treating every missing file as
80
+ deleted and stopping at the mass-delete guard.
81
+
82
+ Sync never writes `.claude/`, `.codex/`, `.cursor/`, `.vscode/`, `.idea/`, `.husky/`,
83
+ `.github/workflows/` or `.git/hooks/`, in either direction, because files there can run code when
84
+ you open the folder in an editor or an agent. A folder inside the vault that is a symbolic link to
85
+ somewhere else is never written through.
86
+
87
+ ## 1.6.0
88
+
89
+ `nemu sync` keeps a folder, such as an Obsidian vault, in step with a Context vault.
90
+ `nemu vault link <folder>` links it once (`--vault <name|id>` picks the vault, `--create` makes
91
+ one) and writes `.nemu/vault.json`, without which sync refuses to run, so an unmounted drive never
92
+ looks like a folder whose notes were deleted. `nemu sync --watch` keeps syncing until stopped.
93
+ `nemu vault list`, `status` and `unlink` round it off.
94
+
95
+ Each run reads the vault's changes since the last run, or lists every file when the device has been
96
+ away longer than the change history, and compares files by content, never by modification time.
97
+ Markdown changed on both sides is merged line by line when the edits do not overlap, treating CRLF
98
+ and LF as equal and keeping your file's line endings. Otherwise the vault's version keeps the name
99
+ and yours is saved beside it as `Note (conflict, <device>, <date> <time>).md`; no note ever gets
100
+ conflict markers. `--conflicts=file` always writes the conflict file instead. An edit wins over a
101
+ delete, a rename is sent as a move so the note keeps its history, and two renames onto one name
102
+ give the second ` (2)`.
103
+
104
+ A run that would delete more than 10 files, every file, or at least 3 files and more than 10% of
105
+ the vault stops and deletes nothing until you pass `--allow-deletes`. `.nemu/lock` keeps two syncs
106
+ off one folder and is taken over when its process is gone. Downloads are written to a temporary file
107
+ and renamed; uploads wait until a file has been unchanged for 2 seconds and reads the same twice.
108
+ Symbolic links, files above the plan's size, case clashes and names Windows cannot hold are skipped
109
+ and listed. Out of storage stops uploads and keeps downloading; a revoked device or key stops sync
110
+ and never deletes a local file. `.git/`, `node_modules/`, `.trash/`, `.DS_Store`, `._*` and
111
+ `.obsidian/workspace*.json` are never synced, the rest of `.obsidian/` is opt in per device, and
112
+ `.nemuignore` adds patterns.
113
+
114
+ ## 1.5.0
115
+
116
+ `nemu login key` signs in with a workspace API key, the same `sk_` key that calls the gateway. It
117
+ asks for the key, or reads `NEMU_API_KEY`, and shows the workspace and access the key has. Context
118
+ and vault commands use the unified routes under `/api/v1`, and work in the workspace you choose, so
119
+ members share the workspace's Context. Earlier versions call routes that no longer exist and need
120
+ this update.
121
+
122
+ ## 1.4.0
123
+
124
+ `nemu setup opencode` adds the Nemu MCP server to OpenCode's global config,
125
+ `~/.config/opencode/opencode.json` (or `opencode.jsonc` when that is the file you have), as a local
126
+ server that runs `nemu mcp --client opencode`. Like the other editors, only the `nemu` entry is
127
+ written, the previous file is kept with a `.nemu-backup` suffix, `nemu uninstall opencode` removes
128
+ it, `nemu status` lists it and `nemu mcp config opencode` prints it.
129
+
130
+ The Stop hook no longer shows up as "Stop hook error" after every few edits. Claude Code shows any
131
+ Stop request that way, so the reminder to save a handoff now arrives quietly after the third edit,
132
+ as context the agent reads and you do not see. Stop asks at most once per session, and only when the
133
+ work is still unsaved. Saving with `memory_write` resets the count. Only files inside the project
134
+ count, so an agent's scratchpad or a temp folder no longer triggers a request, and the reminder no
135
+ longer tells the agent to hide it from you.
136
+
137
+ On Windows, `git`, editors and every other command the CLI starts are now found on `PATH` only.
138
+ Before, the current folder was searched first, so a `git.cmd` inside a cloned repository ran in
139
+ place of the real git.
140
+
141
+ `nemu setup`, `nemu uninstall` and the update repair keep the permissions of
142
+ `~/.claude/settings.json` and `~/.codex/hooks.json`. A file you locked to `0600` used to come back
143
+ readable by every user on the machine. Files the CLI creates from nothing are now `0600`.
144
+
145
+ `nemu login` opens the sign-in page only when it is on the same server the CLI talks to, over https
146
+ (or http on localhost), and on Windows it opens it without going through `cmd`. It now opens the
147
+ page without the code filled in, matching the device page, so you type the code shown in the
148
+ terminal.
149
+
150
+ ## 1.3.2
151
+
152
+ After an update, the CLI checks once whether what setup installed still matches what this version
153
+ needs: the Nemu hooks for Claude Code and Codex, and the nemu entry in each editor. Only Nemu's own
154
+ entries that actually differ are rewritten, with every other hook and setting left as it was, and
155
+ nothing is printed when everything already matches. This runs on the first command after an
156
+ update, right after `nemu update` installs a new version, and quietly at the start of a session.
157
+ `nemu repair` runs the same check any time. Each check is a small migration in
158
+ `src/migrations.ts`, so a future release that changes setup adds one there.
159
+
160
+ Commands are started with cross-spawn instead of a shell on Windows, which removes Node's
161
+ DEP0190 deprecation warning and escapes arguments properly.
162
+
163
+ ## 1.3.1
164
+
165
+ Fixes "hook failed, exited with code 1" for Codex on Windows. Codex starts hooks through a Windows
166
+ shell that cannot launch a command whose program path is quoted, and setup wrote the path to
167
+ `nemu.cmd` in quotes. The Codex hooks now name the program unquoted (or as `nemu.cmd` when its
168
+ path has spaces). `nemu codex` repairs hooks written by an earlier version before it starts Codex,
169
+ `nemu setup codex --hooks` does the same, and `nemu status` says when a repair is needed. Claude
170
+ Code runs hooks through Git Bash on Windows and is unchanged.
171
+
172
+ ## 1.3.0
173
+
174
+ `nemu setup cursor`, `nemu setup vscode`, `nemu setup gemini`, `nemu setup windsurf` and
175
+ `nemu setup zed` add the Nemu MCP server to that editor's own config. Only the `nemu` entry is
176
+ written: every other server, setting, comment and the file's indentation stay exactly as they
177
+ were, the previous file is kept next to it with a `.nemu-backup` suffix, a file that cannot be
178
+ parsed is left alone, and a different server already called `nemu` is never overwritten. VS Code
179
+ uses its own `code --add-mcp` when it is on the PATH. `nemu uninstall <editor>` removes only
180
+ that entry, and `nemu status` lists the editors it finds. Hooks remain Claude Code and Codex
181
+ only.
182
+
183
+ ## 1.2.0
184
+
185
+ The CLI tells you when a newer version is out: "There is a new version available (1.2.0 -> 1.3.0).
186
+ Do you want to upgrade?" Saying yes installs it with npm. It asks at most once a day, waits at most
187
+ 1.5 seconds for the registry, and stays silent in hooks, the MCP bridge, `--json` output, scripts
188
+ and CI. `nemu update` checks right away; `nemu update --yes` installs without asking. Set
189
+ `NEMU_NO_UPDATE_CHECK=1` to turn the check off.
190
+
191
+ ## 1.1.0
192
+
193
+ Nemu Context for coding agents. `nemu setup claude` (aliases `cc`, `claude-code`) and
194
+ `nemu setup codex` connect the client through its own `mcp add` command and optionally install hooks
195
+ that load project notes at session start and ask for a handoff before stopping. `nemu claude` and
196
+ `nemu codex` set up if needed and start the client.
197
+
198
+ `nemu mcp` is a stdio MCP bridge for any client, using the login and refreshing it; `nemu mcp config`
199
+ prints config for Cursor, Gemini CLI, VS Code, Windsurf, Zed and remote HTTP clients.
200
+
201
+ `nemu claude load memories` imports Claude Code's saved memories. `load sessions` hands your recent
202
+ sessions to your own agent to summarise. `nemu context` shows, searches and exports notes.
203
+
204
+ Login now registers this computer as a device. Token refresh takes a lock, so several sessions
205
+ refreshing at once no longer sign each other out. `nemu status`, `nemu uninstall`, `nemu token`.
206
+
207
+ Failures after login send a scrubbed report and print an `NMU-` reference for support. Every file,
208
+ response and hook input is validated.
209
+
210
+ ## 1.0.0
211
+
212
+ First real release. `login` signs in with the device grant, so nothing is pasted
213
+ into the terminal and the package carries no secret.
214
+
215
+ Commands for everything the management API exposes: workspaces, members,
216
+ budgets, providers, models, prompts, mappings, indexes, quotas, metrics and
217
+ workflows. `nemu api` calls any endpoint directly for the things that have no
218
+ command of their own.
219
+
220
+ Every command takes `--json` and exits non zero on failure, so a script or an
221
+ agent can drive it without scraping tables.
222
+
223
+ Destructive commands need `--yes`. There is no interactive prompt anywhere.
224
+
225
+ ## 0.1.0
226
+
227
+ Unpublished. login, logout and whoami only.
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 hiraeeth
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 hiraeeth
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.