refactor: hard-fork GSD -> MSD (Make Software Done)
Mechanical rename produced by scripts/msd-rename.cjs: gsd/Gsd/GSD -> msd/Msd/MSD across contents and paths, upstream package/repo coordinates -> @golem15/msd-core and golem15com/msd-core. Deep links into upstream history, sibling upstream packages, the GSD-2 import feature, CHANGELOG.md and .changeset/ are kept as-is. Hand edits on top: MSD block-letter banner and logos, LICENSE copyright line, package/plugin identity, regenerated lockfile, install-tree fixtures, derived registries and benchmark baseline; migration checksum baseline re-locked (MSD keeps its own install state, so no install had applied the old sums); sort-order and regex-escaped expectations in tests adjusted.
This commit is contained in:
2460
bin/install.js
2460
bin/install.js
File diff suppressed because one or more lines are too long
@@ -1,25 +1,25 @@
|
||||
#!/usr/bin/env node
|
||||
'use strict';
|
||||
/**
|
||||
* gsd-mcp-server — companion MCP server bin entry (ADR-1239 Phase C-2 / #1681).
|
||||
* msd-mcp-server — companion MCP server bin entry (ADR-1239 Phase C-2 / #1681).
|
||||
*
|
||||
* Lives at top-level bin/ (alongside install.js) — it is a PACKAGE bin the host
|
||||
* spawns via `npx gsd-mcp-server` (or the global bin), NOT a per-runtime
|
||||
* artifact copied into a host's config dir. (Placing it under gsd-core/bin/
|
||||
* spawns via `npx msd-mcp-server` (or the global bin), NOT a per-runtime
|
||||
* artifact copied into a host's config dir. (Placing it under msd-core/bin/
|
||||
* would leak it into every runtime install + break golden parity.)
|
||||
*
|
||||
* A stdio JSON-RPC 2.0 server exposing GSD interface points 1 (command) + 5
|
||||
* A stdio JSON-RPC 2.0 server exposing MSD interface points 1 (command) + 5
|
||||
* (state IO) so any MCP-consuming host (Claude/Codex/OpenCode/VS Code/Gemini/
|
||||
* Cursor/Cline/Hermes) can drive GSD with no bespoke plugin. Delegates to the
|
||||
* tested server module (gsd-core/bin/lib/mcp-server.cjs runServer). Reads
|
||||
* Cursor/Cline/Hermes) can drive MSD with no bespoke plugin. Delegates to the
|
||||
* tested server module (msd-core/bin/lib/mcp-server.cjs runServer). Reads
|
||||
* line-delimited JSON-RPC from stdin, writes one response + newline per
|
||||
* request, exits cleanly when stdin closes.
|
||||
*
|
||||
* The protocol logic (handleMessage) + the injectable-stream loop (runServer)
|
||||
* are unit-tested in tests/gsd-mcp-server.test.cjs; the process lifecycle
|
||||
* (spawn → JSON-RPC → clean exit) in tests/gsd-mcp-server-bin.test.cjs.
|
||||
* are unit-tested in tests/msd-mcp-server.test.cjs; the process lifecycle
|
||||
* (spawn → JSON-RPC → clean exit) in tests/msd-mcp-server-bin.test.cjs.
|
||||
*/
|
||||
const { runServer } = require('../gsd-core/bin/lib/mcp-server.cjs');
|
||||
const { runServer } = require('../msd-core/bin/lib/mcp-server.cjs');
|
||||
|
||||
runServer({
|
||||
input: process.stdin,
|
||||
Reference in New Issue
Block a user