memorizz 0.5.1 → 0.6.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 +8 -3
- package/bin/memorizz.js +3 -1
- package/package.json +3 -2
- package/scripts/postinstall.js +10 -5
package/README.md
CHANGED
|
@@ -6,17 +6,22 @@ developers. On `npm install -g memorizz` it:
|
|
|
6
6
|
|
|
7
7
|
1. finds or installs [`uv`](https://docs.astral.sh/uv/) (a standalone binary that
|
|
8
8
|
manages its own Python — you do **not** need Python pre-installed), then
|
|
9
|
-
2. runs `uv tool install memorizz
|
|
9
|
+
2. runs `uv tool install "memorizz[mcp]"` so the full CLI, including MCP
|
|
10
|
+
client/server commands, is available.
|
|
10
11
|
|
|
11
12
|
The `memorizz` command then execs the uv-installed CLI.
|
|
12
13
|
|
|
14
|
+
This includes `memorizz harness` for governing installed Codex, Claude Code,
|
|
15
|
+
OpenHands, and native MemAgent workers. The bootstrapper does not install those
|
|
16
|
+
vendor CLIs; inspect local readiness with `memorizz harness doctor`.
|
|
17
|
+
|
|
13
18
|
## First-class install paths
|
|
14
19
|
|
|
15
20
|
If you already use Python tooling, prefer these:
|
|
16
21
|
|
|
17
22
|
```bash
|
|
18
|
-
uv tool install memorizz # recommended
|
|
19
|
-
pipx install memorizz
|
|
23
|
+
uv tool install "memorizz[mcp]" # recommended for the complete CLI
|
|
24
|
+
pipx install "memorizz[mcp]"
|
|
20
25
|
```
|
|
21
26
|
|
|
22
27
|
## Uninstall
|
package/bin/memorizz.js
CHANGED
|
@@ -10,6 +10,8 @@ const { spawnSync } = require("child_process");
|
|
|
10
10
|
const os = require("os");
|
|
11
11
|
const path = require("path");
|
|
12
12
|
const fs = require("fs");
|
|
13
|
+
const VERSION = require("../package.json").version;
|
|
14
|
+
const PACKAGE_SPEC = `memorizz[mcp]==${VERSION}`;
|
|
13
15
|
|
|
14
16
|
function findExe(name) {
|
|
15
17
|
const finder = process.platform === "win32" ? "where" : "which";
|
|
@@ -42,7 +44,7 @@ if (exe) {
|
|
|
42
44
|
);
|
|
43
45
|
process.exit(127);
|
|
44
46
|
}
|
|
45
|
-
res = spawnSync(uv, ["tool", "run", "memorizz", ...args], { stdio: "inherit" });
|
|
47
|
+
res = spawnSync(uv, ["tool", "run", "--from", PACKAGE_SPEC, "memorizz", ...args], { stdio: "inherit" });
|
|
46
48
|
}
|
|
47
49
|
|
|
48
50
|
process.exit(res.status == null ? 1 : res.status);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memorizz",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "npm bootstrapper for the
|
|
3
|
+
"version": "0.6.0",
|
|
4
|
+
"description": "npm bootstrapper for the memory-first Memorizz agent CLI and meta-harness.",
|
|
5
5
|
"license": "PolyForm-Noncommercial-1.0.0",
|
|
6
6
|
"homepage": "https://github.com/RichmondAlake/memorizz",
|
|
7
7
|
"repository": {
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"cli",
|
|
17
17
|
"memory",
|
|
18
18
|
"llm",
|
|
19
|
+
"metaharness",
|
|
19
20
|
"ollama"
|
|
20
21
|
],
|
|
21
22
|
"bin": {
|
package/scripts/postinstall.js
CHANGED
|
@@ -15,6 +15,10 @@ const path = require("path");
|
|
|
15
15
|
const fs = require("fs");
|
|
16
16
|
|
|
17
17
|
const VERSION = require("../package.json").version;
|
|
18
|
+
// The npm bridge represents the complete command-line product, including MCP
|
|
19
|
+
// client/server commands whose Python dependencies are optional for library-only
|
|
20
|
+
// installs.
|
|
21
|
+
const PACKAGE_SPEC = `memorizz[mcp]==${VERSION}`;
|
|
18
22
|
|
|
19
23
|
const log = (m) => process.stdout.write(`[memorizz] ${m}\n`);
|
|
20
24
|
const warn = (m) => process.stderr.write(`[memorizz] ${m}\n`);
|
|
@@ -68,8 +72,8 @@ function main() {
|
|
|
68
72
|
|
|
69
73
|
let uv = findUv() || installUv();
|
|
70
74
|
if (uv) {
|
|
71
|
-
log(`Installing
|
|
72
|
-
const r = spawnSync(uv, ["tool", "install", "--force",
|
|
75
|
+
log(`Installing ${PACKAGE_SPEC} via uv…`);
|
|
76
|
+
const r = spawnSync(uv, ["tool", "install", "--force", PACKAGE_SPEC], { stdio: "inherit" });
|
|
73
77
|
if (r.status === 0) {
|
|
74
78
|
log("Done. Run: memorizz");
|
|
75
79
|
return;
|
|
@@ -79,7 +83,7 @@ function main() {
|
|
|
79
83
|
|
|
80
84
|
const pipx = which("pipx");
|
|
81
85
|
if (pipx) {
|
|
82
|
-
const r = spawnSync(pipx, ["install", "--force",
|
|
86
|
+
const r = spawnSync(pipx, ["install", "--force", PACKAGE_SPEC], { stdio: "inherit" });
|
|
83
87
|
if (r.status === 0) {
|
|
84
88
|
log("Done (via pipx). Run: memorizz");
|
|
85
89
|
return;
|
|
@@ -90,8 +94,9 @@ function main() {
|
|
|
90
94
|
[
|
|
91
95
|
"Could not bootstrap memorizz automatically.",
|
|
92
96
|
"Install it manually with either:",
|
|
93
|
-
" curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
94
|
-
|
|
97
|
+
" curl -LsSf https://astral.sh/uv/install.sh | sh",
|
|
98
|
+
` uv tool install '${PACKAGE_SPEC}'`,
|
|
99
|
+
` pipx install '${PACKAGE_SPEC}'`,
|
|
95
100
|
"The `memorizz` launcher will also retry via `uv tool run` on first use.",
|
|
96
101
|
].join("\n")
|
|
97
102
|
);
|