@skedulo/memory-hub-mcp 0.2.41 → 0.2.42
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 -0
- package/assets/session-start.sh +5 -4
- package/dist/asset-sync.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -169,6 +169,14 @@ release has five steps:
|
|
|
169
169
|
|
|
170
170
|
A hook or skill fix on its own still ships as a patch release.
|
|
171
171
|
|
|
172
|
+
Every push to `main` also runs the `Plugin dist` workflow. It builds the plugin with the server and
|
|
173
|
+
its native packages inside (`scripts/build-plugin-dist.sh`: macOS arm64 and Intel, Linux x64 for the
|
|
174
|
+
cloud routine, about 43 MB compressed), checks it on all three with `scripts/smoke-plugin-dist.sh`,
|
|
175
|
+
and force-pushes it as one commit to the `plugin-dist` branch. A plugin installed from that branch
|
|
176
|
+
runs its own server with `node` instead of `npx` (`memory-hub-hook/mcp-server.sh` looks for
|
|
177
|
+
`memory-hub-mcp/.bundled`). No marketplace points at `plugin-dist` yet, so npm stays the release
|
|
178
|
+
path until one does.
|
|
179
|
+
|
|
172
180
|
Roll back by pointing `latest` at the previous version:
|
|
173
181
|
`npm dist-tag add @skedulo/memory-hub-mcp@<previous> latest`.
|
|
174
182
|
|
package/assets/session-start.sh
CHANGED
|
@@ -56,16 +56,17 @@ emit_jq_missing() {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
npx_available() {
|
|
59
|
-
local dir
|
|
59
|
+
local dir tool=npx
|
|
60
|
+
[ -f "${CLAUDE_PLUGIN_ROOT:-}/memory-hub-mcp/.bundled" ] && tool=node
|
|
60
61
|
if [ -n "${MEMORY_HUB_NPX_SEARCH:-}" ]; then
|
|
61
62
|
for dir in $MEMORY_HUB_NPX_SEARCH; do
|
|
62
|
-
[ -x "$dir
|
|
63
|
+
[ -x "$dir/$tool" ] && return 0
|
|
63
64
|
done
|
|
64
65
|
return 1
|
|
65
66
|
fi
|
|
66
|
-
command -v
|
|
67
|
+
command -v "$tool" >/dev/null 2>&1 && return 0
|
|
67
68
|
for dir in /opt/homebrew/bin /usr/local/bin "$HOME/.volta/bin" $(ls -d "$HOME"/.nvm/versions/node/*/bin 2>/dev/null | sort -rV); do
|
|
68
|
-
[ -x "$dir
|
|
69
|
+
[ -x "$dir/$tool" ] && return 0
|
|
69
70
|
done
|
|
70
71
|
return 1
|
|
71
72
|
}
|
package/dist/asset-sync.js
CHANGED
|
@@ -225,7 +225,8 @@ function syncInstalledAssets(options) {
|
|
|
225
225
|
exports.syncInstalledAssets = syncInstalledAssets;
|
|
226
226
|
function refreshInstalledAssets({ distDir = __dirname, home = (0, os_1.homedir)(), log = (line) => console.error(line) } = {}) {
|
|
227
227
|
// A repo checkout runs its hooks in place, so it has no installed copies to refresh.
|
|
228
|
-
|
|
228
|
+
const installed = distDir.split(path_1.sep).includes('node_modules') || (0, fs_1.existsSync)((0, path_1.join)(distDir, '..', '.bundled'));
|
|
229
|
+
if (!installed)
|
|
229
230
|
return undefined;
|
|
230
231
|
try {
|
|
231
232
|
const version = packageVersion(distDir);
|
package/package.json
CHANGED