@dollhousemcp/mcp-server 2.0.27-rc.8 → 2.0.27-rc.9
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 +1 -1
- package/dist/generated/version.d.ts +2 -2
- package/dist/generated/version.js +3 -3
- package/dist/web/console/IngestRoutes.d.ts +37 -1
- package/dist/web/console/IngestRoutes.d.ts.map +1 -1
- package/dist/web/console/IngestRoutes.js +286 -100
- package/dist/web/console/LeaderForwardingSink.d.ts +36 -3
- package/dist/web/console/LeaderForwardingSink.d.ts.map +1 -1
- package/dist/web/console/LeaderForwardingSink.js +95 -7
- package/dist/web/console/SessionNames.d.ts +38 -6
- package/dist/web/console/SessionNames.d.ts.map +1 -1
- package/dist/web/console/SessionNames.js +95 -15
- package/dist/web/console/UnifiedConsole.d.ts +3 -2
- package/dist/web/console/UnifiedConsole.d.ts.map +1 -1
- package/dist/web/console/UnifiedConsole.js +29 -8
- package/package.json +1 -1
- package/server.json +2 -2
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.9";
|
|
6
|
+
export declare const BUILD_TIMESTAMP = "2026-04-20T04:43:54.569Z";
|
|
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.9';
|
|
6
|
+
export const BUILD_TIMESTAMP = '2026-04-20T04:43:54.569Z';
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9nZW5lcmF0ZWQvdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7O0dBR0c7QUFFSCxNQUFNLENBQUMsTUFBTSxlQUFlLEdBQUcsYUFBYSxDQUFDO0FBQzdDLE1BQU0sQ0FBQyxNQUFNLGVBQWUsR0FBRywwQkFBMEIsQ0FBQztBQUMxRCxNQUFNLENBQUMsTUFBTSxVQUFVLEdBQWtCLEtBQUssQ0FBQztBQUMvQyxNQUFNLENBQUMsTUFBTSxZQUFZLEdBQUcsMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEF1dG8tZ2VuZXJhdGVkIGZpbGUgLSBETyBOT1QgRURJVFxuICogR2VuZXJhdGVkIGF0IGJ1aWxkIHRpbWUgYnkgc2NyaXB0cy9nZW5lcmF0ZS12ZXJzaW9uLmpzXG4gKi9cblxuZXhwb3J0IGNvbnN0IFBBQ0tBR0VfVkVSU0lPTiA9ICcyLjAuMjctcmMuOSc7XG5leHBvcnQgY29uc3QgQlVJTERfVElNRVNUQU1QID0gJzIwMjYtMDQtMjBUMDQ6NDM6NTQuNTY5Wic7XG5leHBvcnQgY29uc3QgQlVJTERfVFlQRTogJ25wbScgfCAnZ2l0JyA9ICducG0nO1xuZXhwb3J0IGNvbnN0IFBBQ0tBR0VfTkFNRSA9ICdAZG9sbGhvdXNlbWNwL21jcC1zZXJ2ZXInO1xuIl19
|
|
@@ -23,6 +23,8 @@ import type { MetricSnapshot } from '../../metrics/types.js';
|
|
|
23
23
|
export interface SessionInfo {
|
|
24
24
|
/** Unique identifier for this session (UUID or `console-<pid>`). */
|
|
25
25
|
sessionId: string;
|
|
26
|
+
/** Stable cross-restart/session identity when the host provides one. */
|
|
27
|
+
stableSessionId: string | null;
|
|
26
28
|
/** Friendly puppet name (e.g., "Kermit", "Punch") or "Web Console". */
|
|
27
29
|
displayName: string;
|
|
28
30
|
/** Canonical hex color for this puppet character. */
|
|
@@ -50,25 +52,59 @@ export interface SessionInfo {
|
|
|
50
52
|
* Payload for POST /api/ingest/logs
|
|
51
53
|
*/
|
|
52
54
|
export interface IngestLogPayload {
|
|
55
|
+
/** Runtime-unique session identity for the follower sending the logs. */
|
|
53
56
|
sessionId: string;
|
|
57
|
+
/** Stable cross-restart/session identity when the host provides one. */
|
|
58
|
+
stableSessionId?: string;
|
|
59
|
+
/** Current follower-visible display name for this runtime session. */
|
|
60
|
+
displayName?: string;
|
|
61
|
+
/** Follower-provided canonical display name preference for this runtime session. */
|
|
62
|
+
preferredDisplayName?: string;
|
|
63
|
+
/** Last leader-assigned display name known to the follower. */
|
|
64
|
+
lastAssignedDisplayName?: string;
|
|
65
|
+
/** Batched log entries already stamped with follower-local metadata. */
|
|
54
66
|
entries: UnifiedLogEntry[];
|
|
55
67
|
}
|
|
56
68
|
/**
|
|
57
69
|
* Payload for POST /api/ingest/metrics
|
|
58
70
|
*/
|
|
59
71
|
export interface IngestMetricsPayload {
|
|
72
|
+
/** Runtime-unique session identity for the follower sending the snapshot. */
|
|
60
73
|
sessionId: string;
|
|
74
|
+
/** Stable cross-restart/session identity when the host provides one. */
|
|
75
|
+
stableSessionId?: string;
|
|
76
|
+
/** Current follower-visible display name for this runtime session. */
|
|
77
|
+
displayName?: string;
|
|
78
|
+
/** Follower-provided canonical display name preference for this runtime session. */
|
|
79
|
+
preferredDisplayName?: string;
|
|
80
|
+
/** Last leader-assigned display name known to the follower. */
|
|
81
|
+
lastAssignedDisplayName?: string;
|
|
82
|
+
/** Metric snapshot captured on the follower. */
|
|
61
83
|
snapshot: MetricSnapshot;
|
|
62
84
|
}
|
|
63
85
|
/**
|
|
64
86
|
* Payload for POST /api/ingest/session
|
|
65
87
|
*/
|
|
66
88
|
export interface SessionEventPayload {
|
|
89
|
+
/** Runtime-unique session identity for the follower emitting the event. */
|
|
67
90
|
sessionId: string;
|
|
91
|
+
/** Stable cross-restart/session identity when the host provides one. */
|
|
92
|
+
stableSessionId?: string;
|
|
93
|
+
/** Current follower-visible display name for this runtime session. */
|
|
94
|
+
displayName?: string;
|
|
95
|
+
/** Follower-provided canonical display name preference for this runtime session. */
|
|
96
|
+
preferredDisplayName?: string;
|
|
97
|
+
/** Last leader-assigned display name known to the follower. */
|
|
98
|
+
lastAssignedDisplayName?: string;
|
|
99
|
+
/** Lifecycle event that should renew, create, or retire the session lease. */
|
|
68
100
|
event: 'started' | 'stopped' | 'heartbeat';
|
|
101
|
+
/** PID of the follower runtime emitting the event. */
|
|
69
102
|
pid: number;
|
|
103
|
+
/** Original startup time reported by the follower runtime. */
|
|
70
104
|
startedAt: string;
|
|
105
|
+
/** Package version reported by the follower runtime. */
|
|
71
106
|
serverVersion?: string;
|
|
107
|
+
/** Console/session protocol version reported by the follower runtime. */
|
|
72
108
|
consoleProtocolVersion?: number;
|
|
73
109
|
}
|
|
74
110
|
/**
|
|
@@ -91,7 +127,7 @@ export interface IngestRoutesResult {
|
|
|
91
127
|
/** Import active follower sessions from a displaced leader during takeover. */
|
|
92
128
|
importSessions: (sessions: SessionInfo[]) => void;
|
|
93
129
|
/** Register the leader as a session */
|
|
94
|
-
registerLeaderSession: (sessionId: string, pid: number) => void;
|
|
130
|
+
registerLeaderSession: (sessionId: string, pid: number, displayName?: string, stableSessionId?: string) => void;
|
|
95
131
|
/** Register the web console as a session so the indicator is never empty (#1805) */
|
|
96
132
|
registerConsoleSession: () => void;
|
|
97
133
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IngestRoutes.d.ts","sourceRoot":"","sources":["../../../src/web/console/IngestRoutes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAgB,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"IngestRoutes.d.ts","sourceRoot":"","sources":["../../../src/web/console/IngestRoutes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAgB,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAsC7D;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,oEAAoE;IACpE,SAAS,EAAE,MAAM,CAAC;IAClB,wEAAwE;IACxE,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,uEAAuE;IACvE,WAAW,EAAE,MAAM,CAAC;IACpB,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,8DAA8D;IAC9D,GAAG,EAAE,MAAM,CAAC;IACZ,8CAA8C;IAC9C,SAAS,EAAE,MAAM,CAAC;IAClB,+FAA+F;IAC/F,aAAa,EAAE,MAAM,CAAC;IACtB,uEAAuE;IACvE,MAAM,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC3B,wEAAwE;IACxE,QAAQ,EAAE,OAAO,CAAC;IAClB,wEAAwE;IACxE,aAAa,EAAE,OAAO,CAAC;IACvB,iGAAiG;IACjG,IAAI,EAAE,KAAK,GAAG,SAAS,CAAC;IACxB,4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