@ai_design_agency/sdd-mcp 1.0.0 → 1.3.0
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 +37 -15
- package/dist/client.d.ts +33 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +61 -6
- package/dist/client.js.map +1 -1
- package/dist/errors.d.ts +1 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +9 -1
- package/dist/errors.js.map +1 -1
- package/dist/index.js +0 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +10 -0
- package/dist/server.js.map +1 -1
- package/dist/tools/index.d.ts +195 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +124 -2
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/processes.d.ts +107 -4
- package/dist/tools/processes.d.ts.map +1 -1
- package/dist/tools/processes.js +122 -2
- package/dist/tools/processes.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,28 +48,35 @@ Add to your Claude Code MCP settings (`~/.claude/claude_desktop_config.json`):
|
|
|
48
48
|
|
|
49
49
|
### Spec Management
|
|
50
50
|
|
|
51
|
-
| Tool
|
|
52
|
-
|
|
53
|
-
| `spec_create` | Create a new SDD specification
|
|
54
|
-
| `spec_get`
|
|
51
|
+
| Tool | Description |
|
|
52
|
+
| ------------- | --------------------------------------- |
|
|
53
|
+
| `spec_create` | Create a new SDD specification |
|
|
54
|
+
| `spec_get` | Get a spec by ID or spec_number |
|
|
55
55
|
| `spec_update` | Update spec content, section, or status |
|
|
56
|
-
| `spec_list`
|
|
57
|
-
| `spec_search` | Semantic search across specs
|
|
56
|
+
| `spec_list` | List specs with optional filters |
|
|
57
|
+
| `spec_search` | Semantic search across specs |
|
|
58
58
|
|
|
59
59
|
### Process Management
|
|
60
60
|
|
|
61
|
-
| Tool
|
|
62
|
-
|
|
63
|
-
| `process_list`
|
|
64
|
-
| `process_get`
|
|
61
|
+
| Tool | Description |
|
|
62
|
+
| ---------------- | ---------------------------------- |
|
|
63
|
+
| `process_list` | List available processes/workflows |
|
|
64
|
+
| `process_get` | Get process details by ID |
|
|
65
|
+
| `process_search` | Semantic search across processes |
|
|
66
|
+
| `process_tests` | Get test scenarios for a process |
|
|
67
|
+
| `process_create` | Create a new process definition |
|
|
68
|
+
| `process_update` | Update an existing process |
|
|
69
|
+
| `process_delete` | Delete a process definition |
|
|
70
|
+
|
|
71
|
+
**Note**: Write operations (`process_create`, `process_update`, `process_delete`) require a JWT token with `processes:write` scope.
|
|
65
72
|
|
|
66
73
|
### Session Management
|
|
67
74
|
|
|
68
|
-
| Tool
|
|
69
|
-
|
|
70
|
-
| `session_start`
|
|
71
|
-
| `session_update` | Update session notes
|
|
72
|
-
| `session_end`
|
|
75
|
+
| Tool | Description |
|
|
76
|
+
| ---------------- | ----------------------------------- |
|
|
77
|
+
| `session_start` | Start a new work session for a spec |
|
|
78
|
+
| `session_update` | Update session notes |
|
|
79
|
+
| `session_end` | End a work session |
|
|
73
80
|
|
|
74
81
|
## Tool Examples
|
|
75
82
|
|
|
@@ -99,6 +106,21 @@ Add to your Claude Code MCP settings (`~/.claude/claude_desktop_config.json`):
|
|
|
99
106
|
}
|
|
100
107
|
```
|
|
101
108
|
|
|
109
|
+
### Create a Process
|
|
110
|
+
|
|
111
|
+
```json
|
|
112
|
+
{
|
|
113
|
+
"tool": "process_create",
|
|
114
|
+
"arguments": {
|
|
115
|
+
"name": "Spec Creation Workflow",
|
|
116
|
+
"description": "Standard workflow for creating SDD specifications",
|
|
117
|
+
"content": "# Spec Creation Workflow\n\n## Steps\n1. Analyze request...",
|
|
118
|
+
"process_id": "spec-create",
|
|
119
|
+
"domain": "spec-lifecycle"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
```
|
|
123
|
+
|
|
102
124
|
### Start a Session
|
|
103
125
|
|
|
104
126
|
```json
|
package/dist/client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PaginatedResponse, Spec, SpecWithScore, Process, Session, CreateSpecRequest, UpdateSpecRequest, ListSpecsQuery, SearchSpecsRequest, CreateSessionRequest, UpdateSessionRequest } from "./types.js";
|
|
1
|
+
import type { PaginatedResponse, Spec, SpecWithScore, Process, ProcessTest, ProcessSearchResult, Session, CreateSpecRequest, UpdateSpecRequest, ListSpecsQuery, SearchSpecsRequest, CreateProcessRequest, UpdateProcessRequest, ListProcessesQuery, SearchProcessesRequest, CreateSessionRequest, UpdateSessionRequest } from "./types.js";
|
|
2
2
|
/**
|
|
3
3
|
* HTTP client for the SDD Platform API
|
|
4
4
|
* This is a thin wrapper - all business logic stays in the Platform API
|
|
@@ -29,16 +29,46 @@ export declare class PlatformClient {
|
|
|
29
29
|
listSpecs(query?: ListSpecsQuery): Promise<PaginatedResponse<Spec>>;
|
|
30
30
|
/**
|
|
31
31
|
* Semantic search for specs
|
|
32
|
+
* @spec ISS-202601003
|
|
32
33
|
*/
|
|
33
34
|
searchSpecs(req: SearchSpecsRequest): Promise<SpecWithScore[]>;
|
|
34
35
|
/**
|
|
35
36
|
* List processes
|
|
37
|
+
* @spec FEA-202601007
|
|
36
38
|
*/
|
|
37
|
-
listProcesses(
|
|
39
|
+
listProcesses(query?: ListProcessesQuery): Promise<PaginatedResponse<Process>>;
|
|
38
40
|
/**
|
|
39
|
-
* Get a process by ID
|
|
41
|
+
* Get a process by ID or process_id
|
|
40
42
|
*/
|
|
41
43
|
getProcess(id: string): Promise<Process>;
|
|
44
|
+
/**
|
|
45
|
+
* Semantic search for processes
|
|
46
|
+
* @spec FEA-202601005, FEA-202601007
|
|
47
|
+
*/
|
|
48
|
+
searchProcesses(req: SearchProcessesRequest): Promise<ProcessSearchResult[]>;
|
|
49
|
+
/**
|
|
50
|
+
* Get test scenarios for a process
|
|
51
|
+
* @spec FEA-202601005
|
|
52
|
+
*/
|
|
53
|
+
getProcessTests(processId: string): Promise<ProcessTest[]>;
|
|
54
|
+
/**
|
|
55
|
+
* Create a new process
|
|
56
|
+
* @spec FEA-202601006, FEA-202601007
|
|
57
|
+
*/
|
|
58
|
+
createProcess(req: CreateProcessRequest): Promise<Process>;
|
|
59
|
+
/**
|
|
60
|
+
* Update an existing process
|
|
61
|
+
* @spec FEA-202601006, FEA-202601007
|
|
62
|
+
*/
|
|
63
|
+
updateProcess(id: string, req: UpdateProcessRequest): Promise<Process>;
|
|
64
|
+
/**
|
|
65
|
+
* Delete a process
|
|
66
|
+
* @spec FEA-202601006
|
|
67
|
+
*/
|
|
68
|
+
deleteProcess(id: string): Promise<{
|
|
69
|
+
message: string;
|
|
70
|
+
id: string;
|
|
71
|
+
}>;
|
|
42
72
|
/**
|
|
43
73
|
* Start a new session
|
|
44
74
|
*/
|
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAEV,iBAAiB,EACjB,IAAI,EACJ,aAAa,EACb,OAAO,EACP,OAAO,EACP,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,YAAY,CAAC;AAEpB;;;GAGG;AACH,qBAAa,cAAc;IAEvB,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,KAAK;gBADL,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,MAAM;IAGhC;;OAEG;YACW,OAAO;IA4BrB;;OAEG;IACG,UAAU,CAAC,GAAG,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IASvD;;OAEG;IACG,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQxC;;OAEG;IACG,UAAU,CAAC,EAAE,EAAE,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B,CAAC,OAAO,CAAC,CAAC;IAetC;;OAEG;IACG,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAQ9C;;;OAGG;IACG,eAAe,CACnB,GAAG,EAAE,sBAAsB,GAC1B,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAWjC;;;OAGG;IACG,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;IAQhE;;;OAGG;IACG,aAAa,CAAC,GAAG,EAAE,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC;IAShE;;;OAGG;IACG,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC;IAS5E;;;OAGG;IACG,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IAWzE;;OAEG;IACG,YAAY,CAAC,GAAG,EAAE,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC;IAS/D;;OAEG;IACG,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC;IAS5E;;OAEG;IACG,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAQ/D"}
|
package/dist/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// @spec FEA-202601002
|
|
2
|
+
// @spec FEA-202601002, FEA-202601005, FEA-202601007
|
|
3
3
|
// HTTP client for Platform API
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.PlatformClient = void 0;
|
|
@@ -79,30 +79,85 @@ class PlatformClient {
|
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
81
|
* Semantic search for specs
|
|
82
|
+
* @spec ISS-202601003
|
|
82
83
|
*/
|
|
83
84
|
async searchSpecs(req) {
|
|
85
|
+
// API returns { data: { query, results, count } } - extract results array
|
|
84
86
|
const { data } = await this.request("POST", "/api/v1/specs/search", req);
|
|
85
|
-
return data;
|
|
87
|
+
return data.results;
|
|
86
88
|
}
|
|
87
89
|
// ============================================================================
|
|
88
90
|
// Process Operations
|
|
89
91
|
// ============================================================================
|
|
90
92
|
/**
|
|
91
93
|
* List processes
|
|
94
|
+
* @spec FEA-202601007
|
|
92
95
|
*/
|
|
93
|
-
async listProcesses(
|
|
94
|
-
const
|
|
95
|
-
|
|
96
|
+
async listProcesses(query) {
|
|
97
|
+
const params = new URLSearchParams();
|
|
98
|
+
if (query?.status)
|
|
99
|
+
params.set("status", query.status);
|
|
100
|
+
if (query?.category)
|
|
101
|
+
params.set("category", query.category);
|
|
102
|
+
if (query?.domain)
|
|
103
|
+
params.set("domain", query.domain);
|
|
104
|
+
if (query?.limit)
|
|
105
|
+
params.set("limit", String(query.limit));
|
|
106
|
+
if (query?.offset)
|
|
107
|
+
params.set("offset", String(query.offset));
|
|
108
|
+
const queryString = params.toString();
|
|
109
|
+
const path = queryString
|
|
110
|
+
? `/api/v1/processes?${queryString}`
|
|
96
111
|
: "/api/v1/processes";
|
|
97
112
|
return this.request("GET", path);
|
|
98
113
|
}
|
|
99
114
|
/**
|
|
100
|
-
* Get a process by ID
|
|
115
|
+
* Get a process by ID or process_id
|
|
101
116
|
*/
|
|
102
117
|
async getProcess(id) {
|
|
103
118
|
const { data } = await this.request("GET", `/api/v1/processes/${encodeURIComponent(id)}`);
|
|
104
119
|
return data;
|
|
105
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* Semantic search for processes
|
|
123
|
+
* @spec FEA-202601005, FEA-202601007
|
|
124
|
+
*/
|
|
125
|
+
async searchProcesses(req) {
|
|
126
|
+
const { data } = await this.request("POST", "/api/v1/processes/search", req);
|
|
127
|
+
return data.results;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Get test scenarios for a process
|
|
131
|
+
* @spec FEA-202601005
|
|
132
|
+
*/
|
|
133
|
+
async getProcessTests(processId) {
|
|
134
|
+
const { data } = await this.request("GET", `/api/v1/processes/${encodeURIComponent(processId)}/tests`);
|
|
135
|
+
return data;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Create a new process
|
|
139
|
+
* @spec FEA-202601006, FEA-202601007
|
|
140
|
+
*/
|
|
141
|
+
async createProcess(req) {
|
|
142
|
+
const { data } = await this.request("POST", "/api/v1/processes", req);
|
|
143
|
+
return data;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Update an existing process
|
|
147
|
+
* @spec FEA-202601006, FEA-202601007
|
|
148
|
+
*/
|
|
149
|
+
async updateProcess(id, req) {
|
|
150
|
+
const { data } = await this.request("PATCH", `/api/v1/processes/${encodeURIComponent(id)}`, req);
|
|
151
|
+
return data;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Delete a process
|
|
155
|
+
* @spec FEA-202601006
|
|
156
|
+
*/
|
|
157
|
+
async deleteProcess(id) {
|
|
158
|
+
const { data } = await this.request("DELETE", `/api/v1/processes/${encodeURIComponent(id)}`);
|
|
159
|
+
return data;
|
|
160
|
+
}
|
|
106
161
|
// ============================================================================
|
|
107
162
|
// Session Operations
|
|
108
163
|
// ============================================================================
|
package/dist/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";AAAA,oDAAoD;AACpD,+BAA+B;;;AAE/B,2CAAsD;AAsBtD;;;GAGG;AACH,MAAa,cAAc;IAEN;IACA;IAFnB,YACmB,OAAe,EACf,KAAa;QADb,YAAO,GAAP,OAAO,CAAQ;QACf,UAAK,G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EG;IACH,KAAK,CAAC,aAAa,CAAC,EAAU,EAAE,GAAyB;QACvD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC,OAAO,EACP,oBAAoB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC5C,GAAG,CACJ,CAAC;QACF,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU,CAAC,EAAU,EAAE,KAAc;QACzC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC,MAAM,EACN,oBAAoB,kBAAkB,CAAC,EAAE,CAAC,MAAM,EAChD,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAC9B,CAAC;QACF,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAnPD,wCAmPC"}
|
package/dist/errors.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export declare class McpError extends Error {
|
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* Create error from HTTP response
|
|
19
|
+
* @spec ISS-202601005 - Handle nested error object from API
|
|
19
20
|
*/
|
|
20
21
|
export declare function createErrorFromResponse(response: Response): Promise<McpError>;
|
|
21
22
|
//# sourceMappingURL=errors.d.ts.map
|
package/dist/errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C;;GAEG;AACH,qBAAa,QAAS,SAAQ,KAAK;aAEf,IAAI,EAAE,SAAS;aAEf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;gBAFjC,IAAI,EAAE,SAAS,EAC/B,OAAO,EAAE,MAAM,EACC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,YAAA;IAMnD;;OAEG;IACH,UAAU,IAAI;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;CAMhD;
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C;;GAEG;AACH,qBAAa,QAAS,SAAQ,KAAK;aAEf,IAAI,EAAE,SAAS;aAEf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;gBAFjC,IAAI,EAAE,SAAS,EAC/B,OAAO,EAAE,MAAM,EACC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,YAAA;IAMnD;;OAEG;IACH,UAAU,IAAI;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;CAMhD;AAiBD;;;GAGG;AACH,wBAAsB,uBAAuB,CAC3C,QAAQ,EAAE,QAAQ,GACjB,OAAO,CAAC,QAAQ,CAAC,CAqBnB"}
|
package/dist/errors.js
CHANGED
|
@@ -29,11 +29,19 @@ class McpError extends Error {
|
|
|
29
29
|
exports.McpError = McpError;
|
|
30
30
|
/**
|
|
31
31
|
* Create error from HTTP response
|
|
32
|
+
* @spec ISS-202601005 - Handle nested error object from API
|
|
32
33
|
*/
|
|
33
34
|
async function createErrorFromResponse(response) {
|
|
34
35
|
try {
|
|
35
36
|
const body = (await response.json());
|
|
36
|
-
|
|
37
|
+
// Handle nested error object: { error: { code, message, correlationId } }
|
|
38
|
+
const errorObj = typeof body.error === "object" ? body.error : null;
|
|
39
|
+
const code = errorObj?.code || body.code || "INTERNAL_ERROR";
|
|
40
|
+
const message = errorObj?.message ||
|
|
41
|
+
(typeof body.error === "string" ? body.error : null) ||
|
|
42
|
+
body.message ||
|
|
43
|
+
response.statusText;
|
|
44
|
+
return new McpError(code, message, body.details);
|
|
37
45
|
}
|
|
38
46
|
catch {
|
|
39
47
|
return new McpError("INTERNAL_ERROR", `HTTP ${response.status}: ${response.statusText}`);
|
package/dist/errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":";AAAA,sBAAsB;AACtB,qBAAqB;;;
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":";AAAA,sBAAsB;AACtB,qBAAqB;;;AA+CrB,0DAuBC;AAlED;;GAEG;AACH,MAAa,QAAS,SAAQ,KAAK;IAEf;IAEA;IAHlB,YACkB,IAAe,EAC/B,OAAe,EACC,OAAiC;QAEjD,KAAK,CAAC,OAAO,CAAC,CAAC;QAJC,SAAI,GAAJ,IAAI,CAAW;QAEf,YAAO,GAAP,OAAO,CAA0B;QAGjD,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,UAAU;QACR,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,OAAO,EAAE,IAAI,CAAC,OAAO;SACtB,CAAC;IACJ,CAAC;CACF;AAnBD,4BAmBC;AAiBD;;;GAGG;AACI,KAAK,UAAU,uBAAuB,CAC3C,QAAkB;IAElB,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAqB,CAAC;QAEzD,0EAA0E;QAC1E,MAAM,QAAQ,GAAG,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;QAEpE,MAAM,IAAI,GAAG,QAAQ,EAAE,IAAI,IAAI,IAAI,CAAC,IAAI,IAAI,gBAAgB,CAAC;QAC7D,MAAM,OAAO,GACX,QAAQ,EAAE,OAAO;YACjB,CAAC,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;YACpD,IAAI,CAAC,OAAO;YACZ,QAAQ,CAAC,UAAU,CAAC;QAEtB,OAAO,IAAI,QAAQ,CAAC,IAAiB,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,QAAQ,CACjB,gBAAgB,EAChB,QAAQ,QAAQ,CAAC,MAAM,KAAK,QAAQ,CAAC,UAAU,EAAE,CAClD,CAAC;IACJ,CAAC;AACH,CAAC"}
|
package/dist/index.js
CHANGED
|
File without changes
|
package/dist/server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AA+BA,MAAM,WAAW,kBAAkB;IACjC,4BAA4B;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,qBAAa,YAAY;IACvB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,MAAM,CAAiB;gBAEnB,MAAM,EAAE,kBAAkB;IAkBtC,OAAO,CAAC,aAAa;YAyCP,cAAc;IA2F5B;;OAEG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAK7B"}
|
package/dist/server.js
CHANGED
|
@@ -82,6 +82,16 @@ class SddMcpServer {
|
|
|
82
82
|
return (0, index_js_2.handleProcessList)(this.client, args);
|
|
83
83
|
case "process_get":
|
|
84
84
|
return (0, index_js_2.handleProcessGet)(this.client, args);
|
|
85
|
+
case "process_search":
|
|
86
|
+
return (0, index_js_2.handleProcessSearch)(this.client, args);
|
|
87
|
+
case "process_tests":
|
|
88
|
+
return (0, index_js_2.handleProcessTests)(this.client, args);
|
|
89
|
+
case "process_create":
|
|
90
|
+
return (0, index_js_2.handleProcessCreate)(this.client, args);
|
|
91
|
+
case "process_update":
|
|
92
|
+
return (0, index_js_2.handleProcessUpdate)(this.client, args);
|
|
93
|
+
case "process_delete":
|
|
94
|
+
return (0, index_js_2.handleProcessDelete)(this.client, args);
|
|
85
95
|
// Session tools
|
|
86
96
|
case "session_start":
|
|
87
97
|
return (0, index_js_2.handleSessionStart)(this.client, args);
|
package/dist/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":";AAAA,sBAAsB;AACtB,4BAA4B;;;AAE5B,wEAAmE;AACnE,wEAAiF;AACjF,iEAG4C;AAE5C,2CAA6C;AAC7C,2CAAuC;AACvC,+
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":";AAAA,sBAAsB;AACtB,4BAA4B;;;AAE5B,wEAAmE;AACnE,wEAAiF;AACjF,iEAG4C;AAE5C,2CAA6C;AAC7C,2CAAuC;AACvC,+CAiB0B;AAS1B;;GAEG;AACH,MAAa,YAAY;IACf,MAAM,CAAS;IACf,MAAM,CAAiB;IAE/B,YAAY,MAA0B;QACpC,IAAI,CAAC,MAAM,GAAG,IAAI,0BAAc,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;QAE9D,IAAI,CAAC,MAAM,GAAG,IAAI,iBAAM,CACtB;YACE,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,OAAO;SACjB,EACD;YACE,YAAY,EAAE;gBACZ,KAAK,EAAE,EAAE;aACV;SACF,CACF,CAAC;QAEF,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IAEO,aAAa;QACnB,uBAAuB;QACvB,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,iCAAsB,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC;YACjE,KAAK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aAAa;gBAChB,OAAO,IAAA,2BAAgB,EACrB,IAAI,CAAC,MAAM,EACX,IAA8C,CAC/C,CAAC;YAEJ;gBACE,MAAM,IAAI,oBAAQ,CAAC,kBAAkB,EAAE,iBAAiB,IAAI,EAAE,CAAC,CAAC;QACpE,CAAC;IACH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,KAAK;QACT,MAAM,SAAS,GAAG,IAAI,+BAAoB,EAAE,CAAC;QAC7C,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACrC,OAAO,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAC1C,CAAC;CACF;AAlKD,oCAkKC"}
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -33,6 +33,11 @@ export declare const toolDefinitions: ({
|
|
|
33
33
|
limit?: undefined;
|
|
34
34
|
offset?: undefined;
|
|
35
35
|
query?: undefined;
|
|
36
|
+
domain?: undefined;
|
|
37
|
+
process_id?: undefined;
|
|
38
|
+
name?: undefined;
|
|
39
|
+
description?: undefined;
|
|
40
|
+
diagram_mermaid?: undefined;
|
|
36
41
|
spec_id?: undefined;
|
|
37
42
|
notes?: undefined;
|
|
38
43
|
};
|
|
@@ -57,6 +62,11 @@ export declare const toolDefinitions: ({
|
|
|
57
62
|
limit?: undefined;
|
|
58
63
|
offset?: undefined;
|
|
59
64
|
query?: undefined;
|
|
65
|
+
domain?: undefined;
|
|
66
|
+
process_id?: undefined;
|
|
67
|
+
name?: undefined;
|
|
68
|
+
description?: undefined;
|
|
69
|
+
diagram_mermaid?: undefined;
|
|
60
70
|
spec_id?: undefined;
|
|
61
71
|
notes?: undefined;
|
|
62
72
|
};
|
|
@@ -99,6 +109,11 @@ export declare const toolDefinitions: ({
|
|
|
99
109
|
limit?: undefined;
|
|
100
110
|
offset?: undefined;
|
|
101
111
|
query?: undefined;
|
|
112
|
+
domain?: undefined;
|
|
113
|
+
process_id?: undefined;
|
|
114
|
+
name?: undefined;
|
|
115
|
+
description?: undefined;
|
|
116
|
+
diagram_mermaid?: undefined;
|
|
102
117
|
spec_id?: undefined;
|
|
103
118
|
notes?: undefined;
|
|
104
119
|
};
|
|
@@ -137,6 +152,11 @@ export declare const toolDefinitions: ({
|
|
|
137
152
|
id?: undefined;
|
|
138
153
|
section?: undefined;
|
|
139
154
|
query?: undefined;
|
|
155
|
+
domain?: undefined;
|
|
156
|
+
process_id?: undefined;
|
|
157
|
+
name?: undefined;
|
|
158
|
+
description?: undefined;
|
|
159
|
+
diagram_mermaid?: undefined;
|
|
140
160
|
spec_id?: undefined;
|
|
141
161
|
notes?: undefined;
|
|
142
162
|
};
|
|
@@ -168,6 +188,11 @@ export declare const toolDefinitions: ({
|
|
|
168
188
|
section?: undefined;
|
|
169
189
|
status?: undefined;
|
|
170
190
|
offset?: undefined;
|
|
191
|
+
domain?: undefined;
|
|
192
|
+
process_id?: undefined;
|
|
193
|
+
name?: undefined;
|
|
194
|
+
description?: undefined;
|
|
195
|
+
diagram_mermaid?: undefined;
|
|
171
196
|
spec_id?: undefined;
|
|
172
197
|
notes?: undefined;
|
|
173
198
|
};
|
|
@@ -193,11 +218,171 @@ export declare const toolDefinitions: ({
|
|
|
193
218
|
limit?: undefined;
|
|
194
219
|
offset?: undefined;
|
|
195
220
|
query?: undefined;
|
|
221
|
+
domain?: undefined;
|
|
222
|
+
process_id?: undefined;
|
|
223
|
+
name?: undefined;
|
|
224
|
+
description?: undefined;
|
|
225
|
+
diagram_mermaid?: undefined;
|
|
196
226
|
spec_id?: undefined;
|
|
197
227
|
notes?: undefined;
|
|
198
228
|
};
|
|
199
229
|
required?: undefined;
|
|
200
230
|
};
|
|
231
|
+
} | {
|
|
232
|
+
name: string;
|
|
233
|
+
description: string;
|
|
234
|
+
inputSchema: {
|
|
235
|
+
type: "object";
|
|
236
|
+
properties: {
|
|
237
|
+
query: {
|
|
238
|
+
type: string;
|
|
239
|
+
description: string;
|
|
240
|
+
};
|
|
241
|
+
domain: {
|
|
242
|
+
type: string;
|
|
243
|
+
description: string;
|
|
244
|
+
};
|
|
245
|
+
limit: {
|
|
246
|
+
type: string;
|
|
247
|
+
description: string;
|
|
248
|
+
};
|
|
249
|
+
type?: undefined;
|
|
250
|
+
title?: undefined;
|
|
251
|
+
content?: undefined;
|
|
252
|
+
parent_epic_id?: undefined;
|
|
253
|
+
id?: undefined;
|
|
254
|
+
section?: undefined;
|
|
255
|
+
status?: undefined;
|
|
256
|
+
offset?: undefined;
|
|
257
|
+
process_id?: undefined;
|
|
258
|
+
name?: undefined;
|
|
259
|
+
description?: undefined;
|
|
260
|
+
diagram_mermaid?: undefined;
|
|
261
|
+
spec_id?: undefined;
|
|
262
|
+
notes?: undefined;
|
|
263
|
+
};
|
|
264
|
+
required: string[];
|
|
265
|
+
};
|
|
266
|
+
} | {
|
|
267
|
+
name: string;
|
|
268
|
+
description: string;
|
|
269
|
+
inputSchema: {
|
|
270
|
+
type: "object";
|
|
271
|
+
properties: {
|
|
272
|
+
process_id: {
|
|
273
|
+
type: string;
|
|
274
|
+
description: string;
|
|
275
|
+
};
|
|
276
|
+
type?: undefined;
|
|
277
|
+
title?: undefined;
|
|
278
|
+
content?: undefined;
|
|
279
|
+
parent_epic_id?: undefined;
|
|
280
|
+
id?: undefined;
|
|
281
|
+
section?: undefined;
|
|
282
|
+
status?: undefined;
|
|
283
|
+
limit?: undefined;
|
|
284
|
+
offset?: undefined;
|
|
285
|
+
query?: undefined;
|
|
286
|
+
domain?: undefined;
|
|
287
|
+
name?: undefined;
|
|
288
|
+
description?: undefined;
|
|
289
|
+
diagram_mermaid?: undefined;
|
|
290
|
+
spec_id?: undefined;
|
|
291
|
+
notes?: undefined;
|
|
292
|
+
};
|
|
293
|
+
required: string[];
|
|
294
|
+
};
|
|
295
|
+
} | {
|
|
296
|
+
name: string;
|
|
297
|
+
description: string;
|
|
298
|
+
inputSchema: {
|
|
299
|
+
type: "object";
|
|
300
|
+
properties: {
|
|
301
|
+
name: {
|
|
302
|
+
type: string;
|
|
303
|
+
description: string;
|
|
304
|
+
};
|
|
305
|
+
description: {
|
|
306
|
+
type: string;
|
|
307
|
+
description: string;
|
|
308
|
+
};
|
|
309
|
+
content: {
|
|
310
|
+
type: string;
|
|
311
|
+
description: string;
|
|
312
|
+
};
|
|
313
|
+
process_id: {
|
|
314
|
+
type: string;
|
|
315
|
+
description: string;
|
|
316
|
+
};
|
|
317
|
+
domain: {
|
|
318
|
+
type: string;
|
|
319
|
+
description: string;
|
|
320
|
+
};
|
|
321
|
+
diagram_mermaid: {
|
|
322
|
+
type: string;
|
|
323
|
+
description: string;
|
|
324
|
+
};
|
|
325
|
+
type?: undefined;
|
|
326
|
+
title?: undefined;
|
|
327
|
+
parent_epic_id?: undefined;
|
|
328
|
+
id?: undefined;
|
|
329
|
+
section?: undefined;
|
|
330
|
+
status?: undefined;
|
|
331
|
+
limit?: undefined;
|
|
332
|
+
offset?: undefined;
|
|
333
|
+
query?: undefined;
|
|
334
|
+
spec_id?: undefined;
|
|
335
|
+
notes?: undefined;
|
|
336
|
+
};
|
|
337
|
+
required: string[];
|
|
338
|
+
};
|
|
339
|
+
} | {
|
|
340
|
+
name: string;
|
|
341
|
+
description: string;
|
|
342
|
+
inputSchema: {
|
|
343
|
+
type: "object";
|
|
344
|
+
properties: {
|
|
345
|
+
id: {
|
|
346
|
+
type: string;
|
|
347
|
+
description: string;
|
|
348
|
+
};
|
|
349
|
+
name: {
|
|
350
|
+
type: string;
|
|
351
|
+
description: string;
|
|
352
|
+
};
|
|
353
|
+
description: {
|
|
354
|
+
type: string;
|
|
355
|
+
description: string;
|
|
356
|
+
};
|
|
357
|
+
content: {
|
|
358
|
+
type: string;
|
|
359
|
+
description: string;
|
|
360
|
+
};
|
|
361
|
+
process_id: {
|
|
362
|
+
type: string;
|
|
363
|
+
description: string;
|
|
364
|
+
};
|
|
365
|
+
domain: {
|
|
366
|
+
type: string;
|
|
367
|
+
description: string;
|
|
368
|
+
};
|
|
369
|
+
diagram_mermaid: {
|
|
370
|
+
type: string;
|
|
371
|
+
description: string;
|
|
372
|
+
};
|
|
373
|
+
type?: undefined;
|
|
374
|
+
title?: undefined;
|
|
375
|
+
parent_epic_id?: undefined;
|
|
376
|
+
section?: undefined;
|
|
377
|
+
status?: undefined;
|
|
378
|
+
limit?: undefined;
|
|
379
|
+
offset?: undefined;
|
|
380
|
+
query?: undefined;
|
|
381
|
+
spec_id?: undefined;
|
|
382
|
+
notes?: undefined;
|
|
383
|
+
};
|
|
384
|
+
required: string[];
|
|
385
|
+
};
|
|
201
386
|
} | {
|
|
202
387
|
name: string;
|
|
203
388
|
description: string;
|
|
@@ -222,6 +407,11 @@ export declare const toolDefinitions: ({
|
|
|
222
407
|
limit?: undefined;
|
|
223
408
|
offset?: undefined;
|
|
224
409
|
query?: undefined;
|
|
410
|
+
domain?: undefined;
|
|
411
|
+
process_id?: undefined;
|
|
412
|
+
name?: undefined;
|
|
413
|
+
description?: undefined;
|
|
414
|
+
diagram_mermaid?: undefined;
|
|
225
415
|
};
|
|
226
416
|
required: string[];
|
|
227
417
|
};
|
|
@@ -248,6 +438,11 @@ export declare const toolDefinitions: ({
|
|
|
248
438
|
limit?: undefined;
|
|
249
439
|
offset?: undefined;
|
|
250
440
|
query?: undefined;
|
|
441
|
+
domain?: undefined;
|
|
442
|
+
process_id?: undefined;
|
|
443
|
+
name?: undefined;
|
|
444
|
+
description?: undefined;
|
|
445
|
+
diagram_mermaid?: undefined;
|
|
251
446
|
spec_id?: undefined;
|
|
252
447
|
};
|
|
253
448
|
required: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAGA,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAE9B;;GAEG;AACH,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAGA,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAE9B;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoV3B,CAAC"}
|
package/dist/tools/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// @spec FEA-202601002
|
|
2
|
+
// @spec FEA-202601002, FEA-202601005
|
|
3
3
|
// Tool registry and definitions
|
|
4
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
5
|
if (k2 === undefined) k2 = k;
|
|
@@ -166,7 +166,91 @@ exports.toolDefinitions = [
|
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
168
|
name: "process_get",
|
|
169
|
-
description: "Get process details by
|
|
169
|
+
description: "Get process details by UUID or process_id (e.g., 'spec-create')",
|
|
170
|
+
inputSchema: {
|
|
171
|
+
type: "object",
|
|
172
|
+
properties: {
|
|
173
|
+
id: {
|
|
174
|
+
type: "string",
|
|
175
|
+
description: "Process UUID or human-readable process_id",
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
required: ["id"],
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
name: "process_search",
|
|
183
|
+
description: "Semantic search across processes using natural language",
|
|
184
|
+
inputSchema: {
|
|
185
|
+
type: "object",
|
|
186
|
+
properties: {
|
|
187
|
+
query: {
|
|
188
|
+
type: "string",
|
|
189
|
+
description: "Natural language search query",
|
|
190
|
+
},
|
|
191
|
+
domain: {
|
|
192
|
+
type: "string",
|
|
193
|
+
description: "Optional domain filter (e.g., 'spec-lifecycle', 'session-lifecycle')",
|
|
194
|
+
},
|
|
195
|
+
limit: {
|
|
196
|
+
type: "number",
|
|
197
|
+
description: "Max results (default 10)",
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
required: ["query"],
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
name: "process_tests",
|
|
205
|
+
description: "Get test scenarios for a process to validate implementation",
|
|
206
|
+
inputSchema: {
|
|
207
|
+
type: "object",
|
|
208
|
+
properties: {
|
|
209
|
+
process_id: {
|
|
210
|
+
type: "string",
|
|
211
|
+
description: "Process UUID or human-readable process_id (e.g., 'spec-create')",
|
|
212
|
+
},
|
|
213
|
+
},
|
|
214
|
+
required: ["process_id"],
|
|
215
|
+
},
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
name: "process_create",
|
|
219
|
+
description: "Create a new process definition",
|
|
220
|
+
inputSchema: {
|
|
221
|
+
type: "object",
|
|
222
|
+
properties: {
|
|
223
|
+
name: {
|
|
224
|
+
type: "string",
|
|
225
|
+
description: "Process name (max 200 chars)",
|
|
226
|
+
},
|
|
227
|
+
description: {
|
|
228
|
+
type: "string",
|
|
229
|
+
description: "Process description (max 1000 chars)",
|
|
230
|
+
},
|
|
231
|
+
content: {
|
|
232
|
+
type: "string",
|
|
233
|
+
description: "Full process content (markdown)",
|
|
234
|
+
},
|
|
235
|
+
process_id: {
|
|
236
|
+
type: "string",
|
|
237
|
+
description: "Human-readable ID (e.g., 'spec-create'). Optional, max 50 chars",
|
|
238
|
+
},
|
|
239
|
+
domain: {
|
|
240
|
+
type: "string",
|
|
241
|
+
description: "Process domain (e.g., 'spec-lifecycle', 'session-lifecycle'). Optional",
|
|
242
|
+
},
|
|
243
|
+
diagram_mermaid: {
|
|
244
|
+
type: "string",
|
|
245
|
+
description: "Optional Mermaid diagram source",
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
required: ["name", "description", "content"],
|
|
249
|
+
},
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
name: "process_update",
|
|
253
|
+
description: "Update an existing process definition",
|
|
170
254
|
inputSchema: {
|
|
171
255
|
type: "object",
|
|
172
256
|
properties: {
|
|
@@ -174,6 +258,44 @@ exports.toolDefinitions = [
|
|
|
174
258
|
type: "string",
|
|
175
259
|
description: "Process UUID",
|
|
176
260
|
},
|
|
261
|
+
name: {
|
|
262
|
+
type: "string",
|
|
263
|
+
description: "Updated process name",
|
|
264
|
+
},
|
|
265
|
+
description: {
|
|
266
|
+
type: "string",
|
|
267
|
+
description: "Updated process description",
|
|
268
|
+
},
|
|
269
|
+
content: {
|
|
270
|
+
type: "string",
|
|
271
|
+
description: "Updated process content (markdown)",
|
|
272
|
+
},
|
|
273
|
+
process_id: {
|
|
274
|
+
type: "string",
|
|
275
|
+
description: "Updated human-readable ID",
|
|
276
|
+
},
|
|
277
|
+
domain: {
|
|
278
|
+
type: "string",
|
|
279
|
+
description: "Updated process domain",
|
|
280
|
+
},
|
|
281
|
+
diagram_mermaid: {
|
|
282
|
+
type: "string",
|
|
283
|
+
description: "Updated Mermaid diagram source",
|
|
284
|
+
},
|
|
285
|
+
},
|
|
286
|
+
required: ["id"],
|
|
287
|
+
},
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
name: "process_delete",
|
|
291
|
+
description: "Delete a process definition",
|
|
292
|
+
inputSchema: {
|
|
293
|
+
type: "object",
|
|
294
|
+
properties: {
|
|
295
|
+
id: {
|
|
296
|
+
type: "string",
|
|
297
|
+
description: "Process UUID to delete",
|
|
298
|
+
},
|
|
177
299
|
},
|
|
178
300
|
required: ["id"],
|
|
179
301
|
},
|
package/dist/tools/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":";AAAA,qCAAqC;AACrC,gCAAgC;;;;;;;;;;;;;;;;;AAEhC,6CAA2B;AAC3B,iDAA+B;AAC/B,gDAA8B;AAE9B;;GAEG;AACU,QAAA,eAAe,GAAG;IAC7B,kBAAkB;IAClB;QACE,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,gCAAgC;QAC7C,WAAW,EAAE;YACX,IAAI,EAAE,QAAiB;YACvB,UAAU,EAAE;gBACV,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;oBAChD,WAAW,EACT,+FAA+F;iBAClG;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,YAAY;iBAC1B;gBACD,OAAO,EAAE;oBACP,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,+BAA+B;iBAC7C;gBACD,cAAc,EAAE;oBACd,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,2BAA2B;iBACzC;aACF;YACD,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,CAAC;SACvC;KACF;IACD;QACE,IAAI,EAAE,UAAU;QAChB,WAAW,EAAE,uDAAuD;QACpE,WAAW,EAAE;YACX,IAAI,EAAE,QAAiB;YACvB,UAAU,EAAE;gBACV,EAAE,EAAE;oBACF,IAAI,EAAE,QAAQ;oBACd,WAAW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gBAAgB;QACtB,WAAW,EAAE,sBAAsB;QACnC,WAAW,EAAE;YACX,IAAI,EAAE,QAAiB;YACvB,UAAU,EAAE;gBACV,EAAE,EAAE;oBACF,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,cAAc;iBAC5B;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,uBAAuB;iBACrC;aACF;YACD,QAAQ,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC;SAC1B;KACF;IACD;QACE,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,oBAAoB;QACjC,WAAW,EAAE;YACX,IAAI,EAAE,QAAiB;YACvB,UAAU,EAAE;gBACV,EAAE,EAAE;oBACF,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,cAAc;iBAC5B;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,qBAAqB;iBACnC;aACF;YACD,QAAQ,EAAE,CAAC,IAAI,CAAC;SACjB;KACF;CACF,CAAC"}
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
import type { PlatformClient } from "../client.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { ListProcessesQuery, SearchProcessesRequest, CreateProcessRequest, UpdateProcessRequest } from "../types.js";
|
|
3
3
|
/**
|
|
4
4
|
* Handle process_list tool call
|
|
5
|
+
* @spec FEA-202601007
|
|
5
6
|
*/
|
|
6
|
-
export declare function handleProcessList(client: PlatformClient, args: {
|
|
7
|
-
status?: ProcessStatus;
|
|
8
|
-
}): Promise<{
|
|
7
|
+
export declare function handleProcessList(client: PlatformClient, args: ListProcessesQuery): Promise<{
|
|
9
8
|
success: boolean;
|
|
10
9
|
processes: {
|
|
11
10
|
id: string;
|
|
11
|
+
process_id: string | undefined;
|
|
12
12
|
name: string;
|
|
13
|
+
domain: string | undefined;
|
|
14
|
+
status: import("@ai_design_agency/sdd-core").ProcessStatus | undefined;
|
|
15
|
+
category: string | undefined;
|
|
13
16
|
description: string;
|
|
14
17
|
}[];
|
|
15
18
|
total: number;
|
|
16
19
|
}>;
|
|
17
20
|
/**
|
|
18
21
|
* Handle process_get tool call
|
|
22
|
+
* @spec FEA-202601007
|
|
19
23
|
*/
|
|
20
24
|
export declare function handleProcessGet(client: PlatformClient, args: {
|
|
21
25
|
id: string;
|
|
@@ -23,11 +27,110 @@ export declare function handleProcessGet(client: PlatformClient, args: {
|
|
|
23
27
|
success: boolean;
|
|
24
28
|
process: {
|
|
25
29
|
id: string;
|
|
30
|
+
process_id: string | undefined;
|
|
26
31
|
name: string;
|
|
32
|
+
domain: string | undefined;
|
|
33
|
+
status: import("@ai_design_agency/sdd-core").ProcessStatus | undefined;
|
|
34
|
+
category: string | undefined;
|
|
35
|
+
related_processes: import("@ai_design_agency/sdd-core").RelatedProcess[] | undefined;
|
|
27
36
|
description: string;
|
|
28
37
|
content: string;
|
|
38
|
+
diagram_mermaid: string | undefined;
|
|
29
39
|
created_at: string;
|
|
30
40
|
updated_at: string;
|
|
31
41
|
};
|
|
32
42
|
}>;
|
|
43
|
+
/**
|
|
44
|
+
* Handle process_search tool call
|
|
45
|
+
* @spec FEA-202601005, FEA-202601007
|
|
46
|
+
*/
|
|
47
|
+
export declare function handleProcessSearch(client: PlatformClient, args: SearchProcessesRequest): Promise<{
|
|
48
|
+
success: boolean;
|
|
49
|
+
query: string;
|
|
50
|
+
results: {
|
|
51
|
+
id: string;
|
|
52
|
+
process_id: string | undefined;
|
|
53
|
+
name: string;
|
|
54
|
+
domain: string | undefined;
|
|
55
|
+
status: import("@ai_design_agency/sdd-core").ProcessStatus | undefined;
|
|
56
|
+
category: string | undefined;
|
|
57
|
+
description: string;
|
|
58
|
+
similarity: number;
|
|
59
|
+
}[];
|
|
60
|
+
count: number;
|
|
61
|
+
}>;
|
|
62
|
+
/**
|
|
63
|
+
* Handle process_tests tool call
|
|
64
|
+
* @spec FEA-202601005
|
|
65
|
+
*/
|
|
66
|
+
export declare function handleProcessTests(client: PlatformClient, args: {
|
|
67
|
+
process_id: string;
|
|
68
|
+
}): Promise<{
|
|
69
|
+
success: boolean;
|
|
70
|
+
process_id: string;
|
|
71
|
+
tests: {
|
|
72
|
+
id: string;
|
|
73
|
+
name: string;
|
|
74
|
+
description: string | undefined;
|
|
75
|
+
input_scenario: Record<string, unknown>;
|
|
76
|
+
expected_output: Record<string, unknown>;
|
|
77
|
+
validation_criteria: string[] | undefined;
|
|
78
|
+
}[];
|
|
79
|
+
count: number;
|
|
80
|
+
}>;
|
|
81
|
+
/**
|
|
82
|
+
* Handle process_create tool call
|
|
83
|
+
* @spec FEA-202601006, FEA-202601007
|
|
84
|
+
*/
|
|
85
|
+
export declare function handleProcessCreate(client: PlatformClient, args: CreateProcessRequest): Promise<{
|
|
86
|
+
success: boolean;
|
|
87
|
+
process: {
|
|
88
|
+
id: string;
|
|
89
|
+
process_id: string | undefined;
|
|
90
|
+
name: string;
|
|
91
|
+
domain: string | undefined;
|
|
92
|
+
status: import("@ai_design_agency/sdd-core").ProcessStatus | undefined;
|
|
93
|
+
category: string | undefined;
|
|
94
|
+
related_processes: import("@ai_design_agency/sdd-core").RelatedProcess[] | undefined;
|
|
95
|
+
description: string;
|
|
96
|
+
content: string;
|
|
97
|
+
diagram_mermaid: string | undefined;
|
|
98
|
+
created_at: string;
|
|
99
|
+
updated_at: string;
|
|
100
|
+
};
|
|
101
|
+
}>;
|
|
102
|
+
/**
|
|
103
|
+
* Handle process_update tool call
|
|
104
|
+
* @spec FEA-202601006, FEA-202601007
|
|
105
|
+
*/
|
|
106
|
+
export declare function handleProcessUpdate(client: PlatformClient, args: {
|
|
107
|
+
id: string;
|
|
108
|
+
} & UpdateProcessRequest): Promise<{
|
|
109
|
+
success: boolean;
|
|
110
|
+
process: {
|
|
111
|
+
id: string;
|
|
112
|
+
process_id: string | undefined;
|
|
113
|
+
name: string;
|
|
114
|
+
domain: string | undefined;
|
|
115
|
+
status: import("@ai_design_agency/sdd-core").ProcessStatus | undefined;
|
|
116
|
+
category: string | undefined;
|
|
117
|
+
related_processes: import("@ai_design_agency/sdd-core").RelatedProcess[] | undefined;
|
|
118
|
+
description: string;
|
|
119
|
+
content: string;
|
|
120
|
+
diagram_mermaid: string | undefined;
|
|
121
|
+
created_at: string;
|
|
122
|
+
updated_at: string;
|
|
123
|
+
};
|
|
124
|
+
}>;
|
|
125
|
+
/**
|
|
126
|
+
* Handle process_delete tool call
|
|
127
|
+
* @spec FEA-202601006
|
|
128
|
+
*/
|
|
129
|
+
export declare function handleProcessDelete(client: PlatformClient, args: {
|
|
130
|
+
id: string;
|
|
131
|
+
}): Promise<{
|
|
132
|
+
success: boolean;
|
|
133
|
+
message: string;
|
|
134
|
+
id: string;
|
|
135
|
+
}>;
|
|
33
136
|
//# sourceMappingURL=processes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processes.d.ts","sourceRoot":"","sources":["../../src/tools/processes.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"processes.d.ts","sourceRoot":"","sources":["../../src/tools/processes.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EACV,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,aAAa,CAAC;AAErB;;;GAGG;AACH,wBAAsB,iBAAiB,CACrC,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,kBAAkB;;;;;;;;;;;;GAiBzB;AAED;;;GAGG;AACH,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE;;;;;;;;;;;;;;;;GAqBrB;AAED;;;GAGG;AACH,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,sBAAsB;;;;;;;;;;;;;;GAmB7B;AAED;;;GAGG;AACH,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE;;;;;;;;;;;;GAiB7B;AAED;;;GAGG;AACH,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,oBAAoB;;;;;;;;;;;;;;;;GAqB3B;AAED;;;GAGG;AACH,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,oBAAoB;;;;;;;;;;;;;;;;GAsB5C;AAED;;;GAGG;AACH,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE;;;;GASrB"}
|
package/dist/tools/processes.js
CHANGED
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// @spec FEA-202601002
|
|
2
|
+
// @spec FEA-202601002, FEA-202601005, FEA-202601007
|
|
3
3
|
// Process tool handlers
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.handleProcessList = handleProcessList;
|
|
6
6
|
exports.handleProcessGet = handleProcessGet;
|
|
7
|
+
exports.handleProcessSearch = handleProcessSearch;
|
|
8
|
+
exports.handleProcessTests = handleProcessTests;
|
|
9
|
+
exports.handleProcessCreate = handleProcessCreate;
|
|
10
|
+
exports.handleProcessUpdate = handleProcessUpdate;
|
|
11
|
+
exports.handleProcessDelete = handleProcessDelete;
|
|
7
12
|
/**
|
|
8
13
|
* Handle process_list tool call
|
|
14
|
+
* @spec FEA-202601007
|
|
9
15
|
*/
|
|
10
16
|
async function handleProcessList(client, args) {
|
|
11
|
-
const result = await client.listProcesses(args
|
|
17
|
+
const result = await client.listProcesses(args);
|
|
12
18
|
return {
|
|
13
19
|
success: true,
|
|
14
20
|
processes: result.data.map((process) => ({
|
|
15
21
|
id: process.id,
|
|
22
|
+
process_id: process.process_id,
|
|
16
23
|
name: process.name,
|
|
24
|
+
domain: process.domain,
|
|
25
|
+
status: process.status,
|
|
26
|
+
category: process.category,
|
|
17
27
|
description: process.description,
|
|
18
28
|
})),
|
|
19
29
|
total: result.meta.total,
|
|
@@ -21,6 +31,7 @@ async function handleProcessList(client, args) {
|
|
|
21
31
|
}
|
|
22
32
|
/**
|
|
23
33
|
* Handle process_get tool call
|
|
34
|
+
* @spec FEA-202601007
|
|
24
35
|
*/
|
|
25
36
|
async function handleProcessGet(client, args) {
|
|
26
37
|
const process = await client.getProcess(args.id);
|
|
@@ -28,12 +39,121 @@ async function handleProcessGet(client, args) {
|
|
|
28
39
|
success: true,
|
|
29
40
|
process: {
|
|
30
41
|
id: process.id,
|
|
42
|
+
process_id: process.process_id,
|
|
31
43
|
name: process.name,
|
|
44
|
+
domain: process.domain,
|
|
45
|
+
status: process.status,
|
|
46
|
+
category: process.category,
|
|
47
|
+
related_processes: process.related_processes,
|
|
32
48
|
description: process.description,
|
|
33
49
|
content: process.content,
|
|
50
|
+
diagram_mermaid: process.diagram_mermaid,
|
|
34
51
|
created_at: process.created_at,
|
|
35
52
|
updated_at: process.updated_at,
|
|
36
53
|
},
|
|
37
54
|
};
|
|
38
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Handle process_search tool call
|
|
58
|
+
* @spec FEA-202601005, FEA-202601007
|
|
59
|
+
*/
|
|
60
|
+
async function handleProcessSearch(client, args) {
|
|
61
|
+
const results = await client.searchProcesses(args);
|
|
62
|
+
return {
|
|
63
|
+
success: true,
|
|
64
|
+
query: args.query,
|
|
65
|
+
results: results.map((result) => ({
|
|
66
|
+
id: result.id,
|
|
67
|
+
process_id: result.process_id,
|
|
68
|
+
name: result.name,
|
|
69
|
+
domain: result.domain,
|
|
70
|
+
status: result.status,
|
|
71
|
+
category: result.category,
|
|
72
|
+
description: result.description,
|
|
73
|
+
similarity: result.similarity,
|
|
74
|
+
})),
|
|
75
|
+
count: results.length,
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Handle process_tests tool call
|
|
80
|
+
* @spec FEA-202601005
|
|
81
|
+
*/
|
|
82
|
+
async function handleProcessTests(client, args) {
|
|
83
|
+
const tests = await client.getProcessTests(args.process_id);
|
|
84
|
+
return {
|
|
85
|
+
success: true,
|
|
86
|
+
process_id: args.process_id,
|
|
87
|
+
tests: tests.map((test) => ({
|
|
88
|
+
id: test.id,
|
|
89
|
+
name: test.name,
|
|
90
|
+
description: test.description,
|
|
91
|
+
input_scenario: test.input_scenario,
|
|
92
|
+
expected_output: test.expected_output,
|
|
93
|
+
validation_criteria: test.validation_criteria,
|
|
94
|
+
})),
|
|
95
|
+
count: tests.length,
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Handle process_create tool call
|
|
100
|
+
* @spec FEA-202601006, FEA-202601007
|
|
101
|
+
*/
|
|
102
|
+
async function handleProcessCreate(client, args) {
|
|
103
|
+
const process = await client.createProcess(args);
|
|
104
|
+
return {
|
|
105
|
+
success: true,
|
|
106
|
+
process: {
|
|
107
|
+
id: process.id,
|
|
108
|
+
process_id: process.process_id,
|
|
109
|
+
name: process.name,
|
|
110
|
+
domain: process.domain,
|
|
111
|
+
status: process.status,
|
|
112
|
+
category: process.category,
|
|
113
|
+
related_processes: process.related_processes,
|
|
114
|
+
description: process.description,
|
|
115
|
+
content: process.content,
|
|
116
|
+
diagram_mermaid: process.diagram_mermaid,
|
|
117
|
+
created_at: process.created_at,
|
|
118
|
+
updated_at: process.updated_at,
|
|
119
|
+
},
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Handle process_update tool call
|
|
124
|
+
* @spec FEA-202601006, FEA-202601007
|
|
125
|
+
*/
|
|
126
|
+
async function handleProcessUpdate(client, args) {
|
|
127
|
+
const { id, ...updateData } = args;
|
|
128
|
+
const process = await client.updateProcess(id, updateData);
|
|
129
|
+
return {
|
|
130
|
+
success: true,
|
|
131
|
+
process: {
|
|
132
|
+
id: process.id,
|
|
133
|
+
process_id: process.process_id,
|
|
134
|
+
name: process.name,
|
|
135
|
+
domain: process.domain,
|
|
136
|
+
status: process.status,
|
|
137
|
+
category: process.category,
|
|
138
|
+
related_processes: process.related_processes,
|
|
139
|
+
description: process.description,
|
|
140
|
+
content: process.content,
|
|
141
|
+
diagram_mermaid: process.diagram_mermaid,
|
|
142
|
+
created_at: process.created_at,
|
|
143
|
+
updated_at: process.updated_at,
|
|
144
|
+
},
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Handle process_delete tool call
|
|
149
|
+
* @spec FEA-202601006
|
|
150
|
+
*/
|
|
151
|
+
async function handleProcessDelete(client, args) {
|
|
152
|
+
const result = await client.deleteProcess(args.id);
|
|
153
|
+
return {
|
|
154
|
+
success: true,
|
|
155
|
+
message: result.message,
|
|
156
|
+
id: result.id,
|
|
157
|
+
};
|
|
158
|
+
}
|
|
39
159
|
//# sourceMappingURL=processes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processes.js","sourceRoot":"","sources":["../../src/tools/processes.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"processes.js","sourceRoot":"","sources":["../../src/tools/processes.ts"],"names":[],"mappings":";AAAA,oDAAoD;AACpD,wBAAwB;;AAcxB,8CAmBC;AAMD,4CAuBC;AAMD,kDAqBC;AAMD,gDAmBC;AAMD,kDAuBC;AAMD,kDAwBC;AAMD,kDAWC;AApLD;;;GAGG;AACI,KAAK,UAAU,iBAAiB,CACrC,MAAsB,EACtB,IAAwB;IAExB,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAEhD,OAAO;QACL,OAAO,EAAE,IAAI;QACb,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAA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AC/B;KACF,CAAC;AACJ,CAAC;AAED;;;GAGG;AACI,KAAK,UAAU,mBAAmB,CACvC,MAAsB,EACtB,IAAoB;IAEpB,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAEnD,OAAO;QACL,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,MAAM,CAAC,OAAO;QACvB,EAAE,EAAE,MAAM,CAAC,EAAE;KACd,CAAC;AACJ,CAAC"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { Spec, SpecType, SpecStatus, SpecWithScore, Process, ProcessStep, ProcessStatus, Session, SessionStatus, CreateSpecRequest, UpdateSpecRequest, ListSpecsQuery, SearchSpecsRequest, CreateProcessRequest, UpdateProcessRequest, CreateSessionRequest, UpdateSessionRequest, ApiResponse, PaginatedResponse, ErrorCode, ApiError, ApiErrorBase, ValidationError, ValidationFieldError, } from "@ai_design_agency/sdd-core";
|
|
1
|
+
export type { Spec, SpecType, SpecStatus, SpecWithScore, Process, ProcessStep, ProcessStatus, ProcessDomain, ProcessTest, ProcessSearchResult, ProcessRelationshipType, RelatedProcess, Session, SessionStatus, CreateSpecRequest, UpdateSpecRequest, ListSpecsQuery, SearchSpecsRequest, CreateProcessRequest, UpdateProcessRequest, ListProcessesQuery, SearchProcessesRequest, CreateSessionRequest, UpdateSessionRequest, ApiResponse, PaginatedResponse, ErrorCode, ApiError, ApiErrorBase, ValidationError, ValidationFieldError, } from "@ai_design_agency/sdd-core";
|
|
2
2
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAGA,YAAY,EAEV,IAAI,EACJ,QAAQ,EACR,UAAU,EACV,aAAa,EACb,OAAO,EACP,WAAW,EACX,aAAa,EACb,OAAO,EACP,aAAa,EAEb,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EAEpB,WAAW,EACX,iBAAiB,EAEjB,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,oBAAoB,GACrB,MAAM,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAGA,YAAY,EAEV,IAAI,EACJ,QAAQ,EACR,UAAU,EACV,aAAa,EACb,OAAO,EACP,WAAW,EACX,aAAa,EACb,aAAa,EACb,WAAW,EACX,mBAAmB,EACnB,uBAAuB,EACvB,cAAc,EACd,OAAO,EACP,aAAa,EAEb,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,EAEpB,WAAW,EACX,iBAAiB,EAEjB,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,oBAAoB,GACrB,MAAM,4BAA4B,CAAC"}
|
package/dist/types.js
CHANGED
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";AAAA,oDAAoD;AACpD,kDAAkD"}
|
package/package.json
CHANGED