Skip to content

Commit 1da3dbc

Browse files
committed
chore: pin basic-memory installs to v0.19.2
1 parent 1db6e9a commit 1da3dbc

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ On first startup, this plugin checks whether the `bm` (Basic Memory) CLI is avai
77
### What happens
88

99
1. The plugin checks if `bm` exists on `PATH`
10-
2. If missing, it executes `uv tool install "basic-memory @ git+https://github.com/basicmachines-co/basic-memory.git@main" --force`
10+
2. If missing, it executes `uv tool install "basic-memory @ git+https://github.com/basicmachines-co/basic-memory.git@v0.19.2" --force`
1111
3. This installs the Basic Memory CLI into uv's managed tool directory (`~/.local/bin/bm` on most systems)
1212

1313
### What this means

index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ import { registerSchemaValidateTool } from "./tools/schema-validate.ts"
3131
import { registerSearchTool } from "./tools/search-notes.ts"
3232
import { registerWriteTool } from "./tools/write-note.ts"
3333

34+
const BASIC_MEMORY_RELEASE_TAG = "v0.19.2"
35+
3436
export default {
3537
id: "openclaw-basic-memory",
3638
name: "Basic Memory",
@@ -96,7 +98,7 @@ export default {
9698
"installing basic-memory via uv (this may take a minute)...",
9799
)
98100
const result = execSync(
99-
'uv tool install "basic-memory @ git+https://github.com/basicmachines-co/basic-memory.git@main" --force',
101+
`uv tool install "basic-memory @ git+https://github.com/basicmachines-co/basic-memory.git@${BASIC_MEMORY_RELEASE_TAG}" --force`,
100102
{ encoding: "utf-8", timeout: 120_000, stdio: "pipe" },
101103
)
102104
log.info(

scripts/setup-bm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/env bash
2-
# Install basic-memory CLI via uv from the latest main branch.
2+
# Install basic-memory CLI via uv from a pinned release tag.
33
# Idempotent — safe to re-run. Fails gracefully when uv is absent.
44
set -euo pipefail
55

66
BM_REPO="https://github.com/basicmachines-co/basic-memory.git"
7-
BM_REF="${BM_REF:-v0.19.0}"
7+
BM_REF="${BM_REF:-v0.19.2}"
88

99
# ── check for uv ──────────────────────────────────────────────────
1010
if ! command -v uv >/dev/null 2>&1; then

0 commit comments

Comments
 (0)