dreamd-mcp 0.1.1 → 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 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)).
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
 
package/bin/dreamd-mcp.js CHANGED
@@ -64,7 +64,8 @@ function validateRedirect(location, currentUrl) {
64
64
  // here silently routes `npx dreamd-mcp <newcmd>` to `dreamd mcp <newcmd>`.
65
65
  const DREAMD_SUBCOMMANDS = new Set([
66
66
  'init', 'setup', 'watch', 'doctor', 'dream', 'reset', 'service', 'uninstall', 'update',
67
- 'version', 'mcp',
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.1",
2
+ "version": "1.0.0",
3
3
  "binaries": {
4
4
  "linux-x86_64": {
5
- "sha256": "ae1bd11c8c7b345fbe71762287e7e3fa3a6482f26f2e86cb733189c58ff3be45"
5
+ "sha256": "e151e0cbce58a90e189ee213325146c2f08dae987b43320b488fe0da29a3418d"
6
6
  },
7
7
  "darwin-x86_64": {
8
- "sha256": "2c3be17e3fa05abf69e9a7914113fcaad3dab453b4904ed59fd149274f053c2e"
8
+ "sha256": "ce34685c5c57e78cd08c4df94184867b9911351cbc0a5b704ffe882c60f70993"
9
9
  },
10
10
  "darwin-aarch64": {
11
- "sha256": "a801a7bee0bc43b82476bcf781df5e560324985426330833c83499fcf62ce45b"
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.1",
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"