sdd-mcp-server 1.6.0 → 1.6.2
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 +5 -5
- package/dist/index.d.ts +7 -7
- package/dist/index.js +825 -580
- package/dist/index.js.map +1 -1
- package/dist/utils/moduleLoader.d.ts +78 -0
- package/dist/utils/moduleLoader.js +81 -0
- package/dist/utils/moduleLoader.js.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
A Model Context Protocol (MCP) server implementing Spec-Driven Development (SDD) workflows for AI-agent CLIs and IDEs like Claude Code, Cursor, and others.
|
|
8
8
|
|
|
9
|
-
>
|
|
9
|
+
> 🚀 **v1.6.0 - Architecture Refactoring**: Decomposed requirements clarification into **5 focused services** following Single Responsibility Principle! Each service now has one clear purpose: `SteeringContextLoader` (I/O), `DescriptionAnalyzer` (scored semantic detection 0-100), `QuestionGenerator` (template-based), `AnswerValidator` (validation + security), `DescriptionEnricher` (5W1H synthesis). Replaced brittle boolean regex with **scored semantic detection** for better accuracy. Externalized question templates to configuration. **62 new unit tests** (65 total passing) ✅. Services average ~100 LOC vs previous 500 LOC monolith. Better maintainability, testability, and type safety!
|
|
10
10
|
|
|
11
|
-
>
|
|
11
|
+
> 🎯 **v1.5.0 - Interactive Requirements Clarification**: `sdd-init` now **blocks vague requirements**! The agent analyzes your project description (quality score 0-100) and interactively asks targeted clarification questions if score < 70%. Focuses on **WHY** (business justification), WHO (target users), WHAT (core features), and success criteria. Context-aware using existing steering docs. Prevents "garbage in, garbage out" with enriched 5W1H structured descriptions.
|
|
12
12
|
|
|
13
|
-
> ✅ **v1.4.
|
|
13
|
+
> ✅ **v1.4.5**: Internal improvements! Reorganized test structure for better maintainability, centralized static steering document creation following DRY principle, improved code organization with better separation of concerns.
|
|
14
14
|
|
|
15
15
|
## 🚀 Quick Start
|
|
16
16
|
|
|
@@ -20,7 +20,7 @@ A Model Context Protocol (MCP) server implementing Spec-Driven Development (SDD)
|
|
|
20
20
|
npx -y sdd-mcp-server@latest
|
|
21
21
|
|
|
22
22
|
# Pin exact version (optional)
|
|
23
|
-
npx -y sdd-mcp-server@1.
|
|
23
|
+
npx -y sdd-mcp-server@1.6.0
|
|
24
24
|
|
|
25
25
|
# For Claude Code MCP integration, add to your configuration:
|
|
26
26
|
# "sdd-mcp-server": {
|
|
@@ -35,7 +35,7 @@ npx -y sdd-mcp-server@1.4.5
|
|
|
35
35
|
npm install -g sdd-mcp-server@latest
|
|
36
36
|
|
|
37
37
|
# Pin exact version (optional)
|
|
38
|
-
npm install -g sdd-mcp-server@1.
|
|
38
|
+
npm install -g sdd-mcp-server@1.6.0
|
|
39
39
|
|
|
40
40
|
# Start the server
|
|
41
41
|
sdd-mcp-server
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import type { LoggerPort } from
|
|
4
|
-
import { MCPServer } from
|
|
5
|
-
import { PluginManager } from
|
|
6
|
-
import { HookSystem } from
|
|
7
|
-
import { PluginToolRegistry } from
|
|
8
|
-
import { PluginSteeringRegistry } from
|
|
2
|
+
import "reflect-metadata";
|
|
3
|
+
import type { LoggerPort } from "./domain/ports";
|
|
4
|
+
import { MCPServer } from "./infrastructure/mcp/MCPServer";
|
|
5
|
+
import { PluginManager } from "./infrastructure/plugins/PluginManager";
|
|
6
|
+
import { HookSystem } from "./infrastructure/plugins/HookSystem";
|
|
7
|
+
import { PluginToolRegistry } from "./infrastructure/plugins/PluginToolRegistry";
|
|
8
|
+
import { PluginSteeringRegistry } from "./infrastructure/plugins/PluginSteeringRegistry";
|
|
9
9
|
export declare function createMCPServer(): Promise<{
|
|
10
10
|
container: import("inversify").Container;
|
|
11
11
|
logger: LoggerPort;
|