dreamd-mcp 0.1.0-rc.8 → 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/README.md CHANGED
@@ -26,7 +26,7 @@ npx -y dreamd-mcp
26
26
  > run falls back to the last-cached binary. A hard version pin
27
27
  > (`dreamd-mcp@0.1.0-rc.3`) is the one form that never picks up new releases.
28
28
 
29
- No Rust installation required. Prebuilt binaries are available for **Linux x86_64** and **macOS x86_64/aarch64** (see `manifest.json`). **Native Windows is out of scope for v0.1** — use WSL2 or a Linux/macOS host (Windows support is planned for v0.1.1).
29
+ No Rust installation required. Prebuilt binaries are available for **Linux x86_64** and **macOS x86_64/aarch64** (see `manifest.json`). **Native Windows in v0.1.1 is watch + learn only** — `dreamd watch` serves loopback TCP with a bearer token; the dream cycle and Tantivy index need atomic writes that are still Unix-only. For consolidate-and-search, use WSL2 or a Linux/macOS host ([docs/windows.md](https://github.com/botzrDev/dreamd/blob/main/docs/windows.md)).
30
30
 
31
31
  Adapter quickstarts: [Claude Code](https://github.com/botzrDev/dreamd/tree/main/adapters/claude-code) · [Cursor](https://github.com/botzrDev/dreamd/tree/main/adapters/cursor)
32
32
 
@@ -67,7 +67,7 @@ Set `DREAMD_BIN=/path/to/dreamd` to skip download and use a local build instead
67
67
 
68
68
  **Warning:** when `DREAMD_BIN` is set, sha256 verification is skipped. Use this only for local development — never point production MCP configs at an unverified binary.
69
69
 
70
- Build from source (Linux / macOS only — native Windows is out of scope for v0.1):
70
+ Build from source (Linux / macOS for a full daemon; Windows builds, but dream cycle and index need `write_atomic`):
71
71
 
72
72
  ```sh
73
73
  cargo install --path crates/dreamd-cli
@@ -76,7 +76,7 @@ export DREAMD_BIN_ALLOW_UNVERIFIED=1
76
76
  npx -y dreamd-mcp
77
77
  ```
78
78
 
79
- > First run prompts once — press `y`, or use `npx -y dreamd-mcp`.
79
+ > First run prints a local-only privacy disclosure. `setup` prompts for harness choice when it has a TTY.
80
80
 
81
81
  ## Uninstall / reset
82
82
 
@@ -107,8 +107,8 @@ Safe to run twice — a second run succeeds with nothing left to do.
107
107
 
108
108
  Left in place: `~/.agent/registry.toml`, `~/.agent/dreamd.log`, and every
109
109
  project's `.agent/` memory store. To wipe a project's store entirely, see
110
- [Full fresh store](../../docs/troubleshooting.md#how-do-i-reset-or-clear-memory)
111
- in the troubleshooting guide — delete `.agent/` and re-run `dreamd init`. That is
110
+ [Full fresh store](https://github.com/botzrDev/dreamd/blob/main/docs/troubleshooting.md#how-do-i-reset-or-clear-memory)
111
+ in the troubleshooting guide — delete `.agent/` and re-run `npx -y dreamd-mcp init`. That is
112
112
  destructive; back up first if the store has value.
113
113
 
114
114
  **Then remove the client config entry.** Delete the `dreamd` MCP server block from
@@ -149,16 +149,28 @@ binary — rebuild it instead.
149
149
 
150
150
  ### Manual fallback
151
151
 
152
- Prefer `npx -y dreamd-mcp uninstall` above — it does all of this in one command.
153
- If you want the steps by hand, run the cleanup below (stop processes, remove the
154
- socket, unregister the project, clear caches), **then** remove the `dreamd` block
155
- from your MCP client config and reload the client — the same order as
156
- [Uninstall](#uninstall):
152
+ **Use `npx -y dreamd-mcp uninstall` instead of the recipe below** — it does all
153
+ four steps in one command. (`dreamd update` covers steps 1 and 3 only: it never
154
+ unregisters the project and never touches `~/.npm/_npx`.)
155
+
156
+ Both commands' stop step is scoped: they signal only the `dreamd mcp` /
157
+ `dreamd watch` processes attributable to *this* `$HOME` and *this*
158
+ `~/.cache/dreamd-mcp`. Anything serving another home, another sandbox, or
159
+ another user on the box is left running and named on stderr. A hand-run `pkill`
160
+ has no such scope.
161
+
162
+ If you still want the steps by hand, run the cleanup below (stop processes,
163
+ remove the socket, unregister the project, clear caches), **then** remove the
164
+ `dreamd` block from your MCP client config and reload the client — the same
165
+ order as [Uninstall](#uninstall):
157
166
 
158
167
  ```sh
159
- # 1. Stop processes + remove the socket
160
- pkill -f 'dreamd mcp' || true
161
- pkill -f 'dreamd watch' || true
168
+ # 1. Stop your dreamd servers + remove the socket.
169
+ # `-u "$(id -u)"` keeps the signal inside your own account. Never run a bare
170
+ # `pkill -f` for these patterns: it is machine-global and SIGTERMs every
171
+ # matching process on the box, including other users' servers.
172
+ pkill -u "$(id -u)" -f 'dreamd mcp' || true
173
+ pkill -u "$(id -u)" -f 'dreamd watch' || true
162
174
  rm -f ~/.agent/dreamd.sock
163
175
 
164
176
  # 2. Unregister the project from the registry (run from the project root)
@@ -184,6 +196,12 @@ done
184
196
  > machine, not just dreamd. Use the scoped loop — or `dreamd uninstall`, which
185
197
  > scopes by default — unless you intend a full npx reset.
186
198
 
199
+ > **Warning:** step 1 is still coarser than `dreamd uninstall`. `pkill -u` stops
200
+ > at the user boundary, not the home boundary, so if you run dreamd under more
201
+ > than one `$HOME` on the same account — a sandbox, a devcontainer, a test rig —
202
+ > it stops those servers too. `dreamd uninstall` / `dreamd update` signal only
203
+ > what belongs to the `$HOME` you run them under.
204
+
187
205
  ## License
188
206
 
189
207
  Apache-2.0
package/bin/dreamd-mcp.js CHANGED
@@ -63,7 +63,7 @@ function validateRedirect(location, currentUrl) {
63
63
  // crates/dreamd-cli/src/cli.rs — adding a `dreamd` subcommand without adding it
64
64
  // here silently routes `npx dreamd-mcp <newcmd>` to `dreamd mcp <newcmd>`.
65
65
  const DREAMD_SUBCOMMANDS = new Set([
66
- 'init', 'setup', 'watch', 'doctor', 'dream', 'reset', 'uninstall', 'update',
66
+ 'init', 'setup', 'watch', 'doctor', 'dream', 'reset', 'service', 'uninstall', 'update',
67
67
  'version', 'mcp',
68
68
  ]);
69
69
 
package/manifest.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
- "version": "0.1.0-rc.8",
2
+ "version": "0.1.1",
3
3
  "binaries": {
4
4
  "linux-x86_64": {
5
- "sha256": "ae8bd5fb38d0500f4a0227774df3ad674a9201e4504885209d569ad4138eb596"
5
+ "sha256": "ae1bd11c8c7b345fbe71762287e7e3fa3a6482f26f2e86cb733189c58ff3be45"
6
6
  },
7
7
  "darwin-x86_64": {
8
- "sha256": "5eb8f9c5f0d4d69b2b67f89a5fc299bfa65afa0da53d1ed601ab967157c7ec23"
8
+ "sha256": "2c3be17e3fa05abf69e9a7914113fcaad3dab453b4904ed59fd149274f053c2e"
9
9
  },
10
10
  "darwin-aarch64": {
11
- "sha256": "154e1f4793dbe8fafc82b9a114bc08e248fb3ac07aa050c8d416a4147b78f73b"
11
+ "sha256": "a801a7bee0bc43b82476bcf781df5e560324985426330833c83499fcf62ce45b"
12
12
  }
13
13
  }
14
14
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dreamd-mcp",
3
3
  "mcpName": "io.github.botzrDev/dreamd",
4
- "version": "0.1.0-rc.8",
4
+ "version": "0.1.1",
5
5
  "description": "npx shim for dreamd MCP server — downloads the right prebuilt Rust binary for your OS/arch",
6
6
  "bin": {
7
7
  "dreamd-mcp": "bin/dreamd-mcp.js"