dreamd-mcp 0.1.0 → 1.0.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/README.md CHANGED
@@ -17,6 +17,8 @@ npx -y dreamd-mcp watch
17
17
  npx -y dreamd-mcp
18
18
  ```
19
19
 
20
+ The prebuilt binaries this shim downloads serve MCP over stdio only. The opt-in Streamable HTTP transport (`dreamd mcp --bind`, unauthenticated) needs a source build with `--features mcp-http`; see [docs/mcp-transports.md](https://github.com/botzrDev/dreamd/blob/main/docs/mcp-transports.md).
21
+
20
22
  `setup` prompts when it has a TTY; in scripts pass `--yes` with `--harness claude|cursor|both|none`. It writes each MCP config as 2-space pretty-printed JSON with a trailing newline and does **not** preserve your original formatting, so an existing `.mcp.json` / `.cursor/mcp.json` can come back reformatted — other MCP servers in the file are kept. `npx -y dreamd-mcp init` remains the scaffold-only primitive (store, no harness config), same as `setup --no-write-mcp`.
21
23
 
22
24
  > **Leave `npx dreamd-mcp` floating — don't pin.** On a fresh spawn, npx
@@ -24,9 +26,22 @@ npx -y dreamd-mcp
24
26
  > starts the current version. Two caveats: a **running** MCP server or `dreamd watch`
25
27
  > daemon keeps the version it started with until you restart it, and an **offline**
26
28
  > run falls back to the last-cached binary. A hard version pin
27
- > (`dreamd-mcp@0.1.0-rc.3`) is the one form that never picks up new releases.
29
+ > (`dreamd-mcp@<version>`) is the one form that never picks up new releases.
30
+
31
+ No Rust installation required; the shim needs Node 18 or later and `tar` on `PATH`. Prebuilt binaries are available for **Linux x86_64** and **macOS x86_64/aarch64** (see `manifest.json`). The binary is downloaded once from the matching GitHub release into `~/.cache/dreamd-mcp/<version>/` and its SHA-256 is checked against `manifest.json` before every run. On any other platform the shim exits 1.
32
+
33
+ **This shim ships no Windows binary.** On native Windows `npx -y dreamd-mcp` exits 1 and points you at WSL2. A `dreamd.exe` built from source (or taken from the `windows-x86_64.tar.gz` asset of a GitHub release, when that release has one) does run there, but it 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)).
34
+
35
+ ## Commands
36
+
37
+ `npx -y dreamd-mcp` with no arguments starts the MCP server over stdio. When the first argument is one of the commands below, the whole argument list is forwarded to the native `dreamd` binary unchanged:
38
+
39
+ ```text
40
+ blame, doctor, dream, forget, init, mcp, memory, reset, salience-drift,
41
+ service, setup, uninstall, update, vectors, version, watch
42
+ ```
28
43
 
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).
44
+ Any other first argument is passed to `dreamd mcp` (so `npx -y dreamd-mcp --project-root /abs/path` works). That also means the native commands missing from the list — `status`, `recall`, `score`, `archive`, `migrate` — are **not** reachable through the shim; they need a `dreamd` binary on `PATH` (`cargo install --path crates/dreamd-cli` from a source checkout). A leading `--help` / `-h` or `--version` / `-V` is answered by the shim itself; `npx -y dreamd-mcp version` prints the native binary's build info.
30
45
 
31
46
  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
47
 
@@ -67,7 +82,7 @@ Set `DREAMD_BIN=/path/to/dreamd` to skip download and use a local build instead
67
82
 
68
83
  **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
84
 
70
- Build from source (Linux / macOS only — native Windows is out of scope for v0.1):
85
+ Build from source (Linux / macOS for a full daemon; Windows builds, but dream cycle and index need `write_atomic`):
71
86
 
72
87
  ```sh
73
88
  cargo install --path crates/dreamd-cli
@@ -76,7 +91,7 @@ export DREAMD_BIN_ALLOW_UNVERIFIED=1
76
91
  npx -y dreamd-mcp
77
92
  ```
78
93
 
79
- > First run prompts once — press `y`, or use `npx -y dreamd-mcp`.
94
+ > First run prints a local-only privacy disclosure. `setup` prompts for harness choice when it has a TTY.
80
95
 
81
96
  ## Uninstall / reset
82
97
 
@@ -107,8 +122,8 @@ Safe to run twice — a second run succeeds with nothing left to do.
107
122
 
108
123
  Left in place: `~/.agent/registry.toml`, `~/.agent/dreamd.log`, and every
109
124
  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
125
+ [Full fresh store](https://github.com/botzrDev/dreamd/blob/main/docs/troubleshooting.md#how-do-i-reset-or-clear-memory)
126
+ in the troubleshooting guide — delete `.agent/` and re-run `npx -y dreamd-mcp init`. That is
112
127
  destructive; back up first if the store has value.
113
128
 
114
129
  **Then remove the client config entry.** Delete the `dreamd` MCP server block from
package/bin/dreamd-mcp.js CHANGED
@@ -63,8 +63,9 @@ 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',
67
- 'version', 'mcp',
66
+ 'init', 'setup', 'watch', 'doctor', 'dream', 'reset', 'service', 'uninstall', 'update',
67
+ 'version', 'mcp', 'blame', 'salience-drift', 'memory', 'forget',
68
+ 'vectors',
68
69
  ]);
69
70
 
70
71
  // A recognized first token is forwarded to `dreamd` verbatim; a bare invocation
package/manifest.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "1.0.0",
3
3
  "binaries": {
4
4
  "linux-x86_64": {
5
- "sha256": "50bec1ea64e50201448a41bc0f44d226ac3f13e7fad93047caf8e89f84e454db"
5
+ "sha256": "e151e0cbce58a90e189ee213325146c2f08dae987b43320b488fe0da29a3418d"
6
6
  },
7
7
  "darwin-x86_64": {
8
- "sha256": "c219441774139824b84929648fa078950a45cbb91f263ffe632ed78c2037962a"
8
+ "sha256": "ce34685c5c57e78cd08c4df94184867b9911351cbc0a5b704ffe882c60f70993"
9
9
  },
10
10
  "darwin-aarch64": {
11
- "sha256": "55b6aee6f10a47451f4a2eef3310d64a72c7ab0d9b172d263e0b46800e62e73e"
11
+ "sha256": "6cc84dfe6e3002b172c4e617202be7ae5773c33a1c55d1192856ab311dc901ac"
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",
4
+ "version": "1.0.0",
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"