@dollhousemcp/mcp-server 2.0.27-rc.13 → 2.0.27-rc.14
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/CHANGELOG.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Auto-generated file - DO NOT EDIT
|
|
3
3
|
* Generated at build time by scripts/generate-version.js
|
|
4
4
|
*/
|
|
5
|
-
export declare const PACKAGE_VERSION = "2.0.27-rc.
|
|
6
|
-
export declare const BUILD_TIMESTAMP = "2026-04-
|
|
5
|
+
export declare const PACKAGE_VERSION = "2.0.27-rc.14";
|
|
6
|
+
export declare const BUILD_TIMESTAMP = "2026-04-20T17:28:01.024Z";
|
|
7
7
|
export declare const BUILD_TYPE: 'npm' | 'git';
|
|
8
8
|
export declare const PACKAGE_NAME = "@dollhousemcp/mcp-server";
|
|
9
9
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Auto-generated file - DO NOT EDIT
|
|
3
3
|
* Generated at build time by scripts/generate-version.js
|
|
4
4
|
*/
|
|
5
|
-
export const PACKAGE_VERSION = '2.0.27-rc.
|
|
6
|
-
export const BUILD_TIMESTAMP = '2026-04-
|
|
5
|
+
export const PACKAGE_VERSION = '2.0.27-rc.14';
|
|
6
|
+
export const BUILD_TIMESTAMP = '2026-04-20T17:28:01.024Z';
|
|
7
7
|
export const BUILD_TYPE = 'npm';
|
|
8
8
|
export const PACKAGE_NAME = '@dollhousemcp/mcp-server';
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9nZW5lcmF0ZWQvdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7O0dBR0c7QUFFSCxNQUFNLENBQUMsTUFBTSxlQUFlLEdBQUcsY0FBYyxDQUFDO0FBQzlDLE1BQU0sQ0FBQyxNQUFNLGVBQWUsR0FBRywwQkFBMEIsQ0FBQztBQUMxRCxNQUFNLENBQUMsTUFBTSxVQUFVLEdBQWtCLEtBQUssQ0FBQztBQUMvQyxNQUFNLENBQUMsTUFBTSxZQUFZLEdBQUcsMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEF1dG8tZ2VuZXJhdGVkIGZpbGUgLSBETyBOT1QgRURJVFxuICogR2VuZXJhdGVkIGF0IGJ1aWxkIHRpbWUgYnkgc2NyaXB0cy9nZW5lcmF0ZS12ZXJzaW9uLmpzXG4gKi9cblxuZXhwb3J0IGNvbnN0IFBBQ0tBR0VfVkVSU0lPTiA9ICcyLjAuMjctcmMuMTQnO1xuZXhwb3J0IGNvbnN0IEJVSUxEX1RJTUVTVEFNUCA9ICcyMDI2LTA0LTIwVDE3OjI4OjAxLjAyNFonO1xuZXhwb3J0IGNvbnN0IEJVSUxEX1RZUEU6ICducG0nIHwgJ2dpdCcgPSAnbnBtJztcbmV4cG9ydCBjb25zdCBQQUNLQUdFX05BTUUgPSAnQGRvbGxob3VzZW1jcC9tY3Atc2VydmVyJztcbiJdfQ==
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dollhousemcp/mcp-server",
|
|
3
|
-
"version": "2.0.27-rc.
|
|
3
|
+
"version": "2.0.27-rc.14",
|
|
4
4
|
"description": "DollhouseMCP - A Model Context Protocol (MCP) server that enables dynamic AI persona management from markdown files, allowing Claude and other compatible AI assistants to activate and switch between different behavioral personas.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -77,6 +77,7 @@
|
|
|
77
77
|
"update:version": "node scripts/update-version.mjs",
|
|
78
78
|
"version:bump": "node scripts/update-version.mjs",
|
|
79
79
|
"version:check": "node scripts/update-version.mjs --dry-run",
|
|
80
|
+
"verify:package-assets": "node scripts/verify-npm-package-assets.mjs",
|
|
80
81
|
"tools:count": "node scripts/count-tools.js",
|
|
81
82
|
"tools:list": "node scripts/count-tools.js --json",
|
|
82
83
|
"memory:cleanup:duplicates": "tsx src/utils/cleanup-duplicate-memories.ts",
|
|
@@ -142,6 +143,7 @@
|
|
|
142
143
|
"dist/web/public/**",
|
|
143
144
|
"dist/seed-elements/**",
|
|
144
145
|
"scripts/pretooluse-dollhouse.sh",
|
|
146
|
+
"scripts/permission-port-discovery.sh",
|
|
145
147
|
"scripts/pretooluse-vscode.sh",
|
|
146
148
|
"scripts/pretooluse-cursor.sh",
|
|
147
149
|
"scripts/pretooluse-windsurf.sh",
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# permission-port-discovery.sh — shared port discovery helpers for permission hooks
|
|
3
|
+
|
|
4
|
+
RUN_DIR="${RUN_DIR:-$HOME/.dollhouse/run}"
|
|
5
|
+
PORT_FILE="${PORT_FILE:-$RUN_DIR/permission-server.port}"
|
|
6
|
+
|
|
7
|
+
read_port_from_file() {
|
|
8
|
+
local file_path="$1"
|
|
9
|
+
local port_value
|
|
10
|
+
|
|
11
|
+
[[ -f "$file_path" ]] || return 1
|
|
12
|
+
|
|
13
|
+
port_value=$(cat "$file_path" 2>/dev/null)
|
|
14
|
+
[[ "$port_value" =~ ^[0-9]+$ ]] || return 1
|
|
15
|
+
|
|
16
|
+
printf '%s\n' "$port_value"
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
restore_latest_port_file() {
|
|
20
|
+
local port_value="$1"
|
|
21
|
+
|
|
22
|
+
[[ "$port_value" =~ ^[0-9]+$ ]] || return 1
|
|
23
|
+
mkdir -p "$RUN_DIR" 2>/dev/null || return 1
|
|
24
|
+
printf '%s' "$port_value" > "$PORT_FILE" 2>/dev/null || return 1
|
|
25
|
+
debug "Restored shared port file at $PORT_FILE"
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
find_latest_live_pid_port_file() {
|
|
29
|
+
local candidate
|
|
30
|
+
local file_name
|
|
31
|
+
local pid
|
|
32
|
+
|
|
33
|
+
if ! compgen -G "$RUN_DIR/permission-server-*.port" > /dev/null; then
|
|
34
|
+
debug "No PID port files found in $RUN_DIR"
|
|
35
|
+
return 1
|
|
36
|
+
fi
|
|
37
|
+
|
|
38
|
+
while IFS= read -r candidate; do
|
|
39
|
+
[[ -e "$candidate" ]] || continue
|
|
40
|
+
file_name="${candidate##*/}"
|
|
41
|
+
pid="${file_name#permission-server-}"
|
|
42
|
+
pid="${pid%.port}"
|
|
43
|
+
|
|
44
|
+
if ! [[ "$pid" =~ ^[0-9]+$ ]]; then
|
|
45
|
+
debug "Skipping malformed PID port file: $candidate"
|
|
46
|
+
continue
|
|
47
|
+
fi
|
|
48
|
+
|
|
49
|
+
if kill -0 "$pid" 2>/dev/null; then
|
|
50
|
+
printf '%s\n' "$candidate"
|
|
51
|
+
return 0
|
|
52
|
+
fi
|
|
53
|
+
|
|
54
|
+
debug "Skipping stale PID port file for dead process $pid: $candidate"
|
|
55
|
+
done < <(ls -1t "$RUN_DIR"/permission-server-*.port 2>/dev/null || true)
|
|
56
|
+
|
|
57
|
+
debug "Found PID port files in $RUN_DIR, but none belonged to a live process"
|
|
58
|
+
return 1
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
resolve_permission_port() {
|
|
62
|
+
local candidate_file
|
|
63
|
+
local port_value
|
|
64
|
+
|
|
65
|
+
if port_value=$(read_port_from_file "$PORT_FILE"); then
|
|
66
|
+
debug "Shared port file found: $port_value"
|
|
67
|
+
printf '%s\n' "$port_value"
|
|
68
|
+
return 0
|
|
69
|
+
fi
|
|
70
|
+
|
|
71
|
+
candidate_file=$(find_latest_live_pid_port_file) || return 1
|
|
72
|
+
port_value=$(read_port_from_file "$candidate_file") || {
|
|
73
|
+
debug "Fallback PID port file did not contain a valid port: $candidate_file"
|
|
74
|
+
return 1
|
|
75
|
+
}
|
|
76
|
+
debug "Shared port file missing — using fallback PID port file: $candidate_file"
|
|
77
|
+
restore_latest_port_file "$port_value" || debug "Could not restore shared port file from fallback"
|
|
78
|
+
printf '%s\n' "$port_value"
|
|
79
|
+
}
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.DollhouseMCP/mcp-server",
|
|
4
4
|
"title": "DollhouseMCP",
|
|
5
5
|
"description": "OSS to create Personas, Skills, Templates, Agents, and Memories to customize your AI experience.",
|
|
6
|
-
"version": "2.0.27-rc.
|
|
6
|
+
"version": "2.0.27-rc.14",
|
|
7
7
|
"homepage": "https://dollhousemcp.com",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
{
|
|
30
30
|
"registryType": "npm",
|
|
31
31
|
"identifier": "@dollhousemcp/mcp-server",
|
|
32
|
-
"version": "2.0.27-rc.
|
|
32
|
+
"version": "2.0.27-rc.14",
|
|
33
33
|
"transport": {
|
|
34
34
|
"type": "stdio"
|
|
35
35
|
}
|