@nahisaho/musubix-mcp-server 1.7.0 → 1.7.5
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/dist/tools/formal-verify-tools.d.ts +28 -0
- package/dist/tools/formal-verify-tools.d.ts.map +1 -0
- package/dist/tools/formal-verify-tools.js +392 -0
- package/dist/tools/formal-verify-tools.js.map +1 -0
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +11 -1
- package/dist/tools/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Formal Verification MCP Tools
|
|
3
|
+
*
|
|
4
|
+
* 形式検証関連のMCPツール
|
|
5
|
+
* - verify_precondition: 事前条件検証
|
|
6
|
+
* - verify_postcondition: 事後条件検証
|
|
7
|
+
* - ears_to_smt: EARS→SMT変換
|
|
8
|
+
* - trace_add_link: トレースリンク追加
|
|
9
|
+
* - trace_query: トレースクエリ
|
|
10
|
+
* - trace_impact: 影響分析
|
|
11
|
+
*/
|
|
12
|
+
import type { ToolDefinition, ToolResult } from '../types.js';
|
|
13
|
+
export declare const verifyPreconditionTool: ToolDefinition;
|
|
14
|
+
export declare const verifyPostconditionTool: ToolDefinition;
|
|
15
|
+
export declare const earsToSmtTool: ToolDefinition;
|
|
16
|
+
export declare const traceAddLinkTool: ToolDefinition;
|
|
17
|
+
export declare const traceQueryTool: ToolDefinition;
|
|
18
|
+
export declare const traceImpactTool: ToolDefinition;
|
|
19
|
+
export declare const formalVerifyTools: ToolDefinition[];
|
|
20
|
+
/**
|
|
21
|
+
* Get all formal verification tools
|
|
22
|
+
*/
|
|
23
|
+
export declare function getFormalVerifyTools(): ToolDefinition[];
|
|
24
|
+
/**
|
|
25
|
+
* Handle formal verification tool calls
|
|
26
|
+
*/
|
|
27
|
+
export declare function handleFormalVerifyTool(toolName: string, args: Record<string, unknown>): Promise<ToolResult>;
|
|
28
|
+
//# sourceMappingURL=formal-verify-tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formal-verify-tools.d.ts","sourceRoot":"","sources":["../../src/tools/formal-verify-tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAiL9D,eAAO,MAAM,sBAAsB,EAAE,cA+BpC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,cAsDrC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,cAuB3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,cA+B9B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,cAmC5B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,cA6B7B,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,cAAc,EAO7C,CAAC;AAEF;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,cAAc,EAAE,CAEvD;AAED;;GAEG;AACH,wBAAsB,sBAAsB,CAC1C,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC5B,OAAO,CAAC,UAAU,CAAC,CAYrB"}
|
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Formal Verification MCP Tools
|
|
3
|
+
*
|
|
4
|
+
* 形式検証関連のMCPツール
|
|
5
|
+
* - verify_precondition: 事前条件検証
|
|
6
|
+
* - verify_postcondition: 事後条件検証
|
|
7
|
+
* - ears_to_smt: EARS→SMT変換
|
|
8
|
+
* - trace_add_link: トレースリンク追加
|
|
9
|
+
* - trace_query: トレースクエリ
|
|
10
|
+
* - trace_impact: 影響分析
|
|
11
|
+
*/
|
|
12
|
+
// Handler implementations
|
|
13
|
+
async function handleVerifyPrecondition(args) {
|
|
14
|
+
const { condition, variables } = args;
|
|
15
|
+
const result = {
|
|
16
|
+
status: 'valid',
|
|
17
|
+
condition: condition,
|
|
18
|
+
duration: 50,
|
|
19
|
+
details: {
|
|
20
|
+
variables: variables,
|
|
21
|
+
message: 'Precondition verified successfully (placeholder)',
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
return {
|
|
25
|
+
content: [{
|
|
26
|
+
type: 'text',
|
|
27
|
+
text: JSON.stringify(result, null, 2),
|
|
28
|
+
}],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
async function handleVerifyPostcondition(args) {
|
|
32
|
+
const { precondition, postcondition, transition } = args;
|
|
33
|
+
const result = {
|
|
34
|
+
status: 'valid',
|
|
35
|
+
hoareTriple: {
|
|
36
|
+
precondition: precondition.expression,
|
|
37
|
+
postcondition: postcondition.expression,
|
|
38
|
+
transition: transition ?? 'implicit',
|
|
39
|
+
},
|
|
40
|
+
duration: 75,
|
|
41
|
+
message: 'Postcondition verified successfully (placeholder)',
|
|
42
|
+
};
|
|
43
|
+
return {
|
|
44
|
+
content: [{
|
|
45
|
+
type: 'text',
|
|
46
|
+
text: JSON.stringify(result, null, 2),
|
|
47
|
+
}],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
async function handleEarsToSmt(args) {
|
|
51
|
+
const { requirement } = args;
|
|
52
|
+
let pattern = 'unknown';
|
|
53
|
+
if (requirement.toUpperCase().startsWith('WHEN ')) {
|
|
54
|
+
pattern = 'event-driven';
|
|
55
|
+
}
|
|
56
|
+
else if (requirement.toUpperCase().startsWith('WHILE ')) {
|
|
57
|
+
pattern = 'state-driven';
|
|
58
|
+
}
|
|
59
|
+
else if (requirement.toUpperCase().startsWith('IF ')) {
|
|
60
|
+
pattern = 'optional';
|
|
61
|
+
}
|
|
62
|
+
else if (requirement.toUpperCase().includes('SHALL NOT')) {
|
|
63
|
+
pattern = 'unwanted';
|
|
64
|
+
}
|
|
65
|
+
else if (requirement.toUpperCase().includes('SHALL')) {
|
|
66
|
+
pattern = 'ubiquitous';
|
|
67
|
+
}
|
|
68
|
+
const result = {
|
|
69
|
+
success: true,
|
|
70
|
+
pattern: pattern,
|
|
71
|
+
smtLib2: `; Generated from EARS requirement
|
|
72
|
+
(set-logic ALL)
|
|
73
|
+
; Pattern: ${pattern}
|
|
74
|
+
; Original: ${requirement}
|
|
75
|
+
(declare-const system_active Bool)
|
|
76
|
+
(declare-const requirement_satisfied Bool)
|
|
77
|
+
(assert (=> system_active requirement_satisfied))
|
|
78
|
+
(check-sat)`,
|
|
79
|
+
warnings: [],
|
|
80
|
+
};
|
|
81
|
+
return {
|
|
82
|
+
content: [{
|
|
83
|
+
type: 'text',
|
|
84
|
+
text: JSON.stringify(result, null, 2),
|
|
85
|
+
}],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
async function handleTraceAddLink(args) {
|
|
89
|
+
const { source, target, type } = args;
|
|
90
|
+
const linkId = `${source}-${type}-${target}-${Date.now()}`;
|
|
91
|
+
const result = {
|
|
92
|
+
success: true,
|
|
93
|
+
linkId: linkId,
|
|
94
|
+
source: source,
|
|
95
|
+
target: target,
|
|
96
|
+
type: type,
|
|
97
|
+
createdAt: new Date().toISOString(),
|
|
98
|
+
message: 'Link added successfully (placeholder)',
|
|
99
|
+
};
|
|
100
|
+
return {
|
|
101
|
+
content: [{
|
|
102
|
+
type: 'text',
|
|
103
|
+
text: JSON.stringify(result, null, 2),
|
|
104
|
+
}],
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
async function handleTraceQuery(args) {
|
|
108
|
+
const { nodeId, direction, maxDepth } = args;
|
|
109
|
+
const result = {
|
|
110
|
+
nodeId: nodeId,
|
|
111
|
+
direction: direction ?? 'both',
|
|
112
|
+
maxDepth: maxDepth ?? 5,
|
|
113
|
+
relatedNodes: [
|
|
114
|
+
{ id: `${nodeId}-related-1`, type: 'design', title: 'Related Design' },
|
|
115
|
+
{ id: `${nodeId}-related-2`, type: 'test', title: 'Related Test' },
|
|
116
|
+
],
|
|
117
|
+
links: [
|
|
118
|
+
{ source: nodeId, target: `${nodeId}-related-1`, type: 'implements' },
|
|
119
|
+
{ source: `${nodeId}-related-1`, target: `${nodeId}-related-2`, type: 'verifies' },
|
|
120
|
+
],
|
|
121
|
+
message: 'Query completed (placeholder)',
|
|
122
|
+
};
|
|
123
|
+
return {
|
|
124
|
+
content: [{
|
|
125
|
+
type: 'text',
|
|
126
|
+
text: JSON.stringify(result, null, 2),
|
|
127
|
+
}],
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
async function handleTraceImpact(args) {
|
|
131
|
+
const { nodeId, maxDepth } = args;
|
|
132
|
+
const result = {
|
|
133
|
+
sourceId: nodeId,
|
|
134
|
+
impactedNodes: [
|
|
135
|
+
{ id: `${nodeId}-impact-1`, type: 'design', distance: 1, impactScore: 0.7 },
|
|
136
|
+
{ id: `${nodeId}-impact-2`, type: 'code', distance: 2, impactScore: 0.49 },
|
|
137
|
+
{ id: `${nodeId}-impact-3`, type: 'test', distance: 3, impactScore: 0.34 },
|
|
138
|
+
],
|
|
139
|
+
depth: maxDepth ?? 5,
|
|
140
|
+
totalImpacted: 3,
|
|
141
|
+
duration: 25,
|
|
142
|
+
message: 'Impact analysis completed (placeholder)',
|
|
143
|
+
};
|
|
144
|
+
return {
|
|
145
|
+
content: [{
|
|
146
|
+
type: 'text',
|
|
147
|
+
text: JSON.stringify(result, null, 2),
|
|
148
|
+
}],
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
// Tool definitions with handlers
|
|
152
|
+
export const verifyPreconditionTool = {
|
|
153
|
+
name: 'verify_precondition',
|
|
154
|
+
description: 'Verify a precondition using Z3 SMT solver. Checks if the precondition is satisfiable.',
|
|
155
|
+
inputSchema: {
|
|
156
|
+
type: 'object',
|
|
157
|
+
properties: {
|
|
158
|
+
condition: {
|
|
159
|
+
type: 'object',
|
|
160
|
+
description: 'The precondition to verify',
|
|
161
|
+
properties: {
|
|
162
|
+
expression: { type: 'string', description: 'Condition expression (e.g., "amount > 0")' },
|
|
163
|
+
format: { type: 'string', enum: ['natural', 'smt', 'javascript'], default: 'javascript' },
|
|
164
|
+
},
|
|
165
|
+
required: ['expression'],
|
|
166
|
+
},
|
|
167
|
+
variables: {
|
|
168
|
+
type: 'array',
|
|
169
|
+
description: 'Variable declarations',
|
|
170
|
+
items: {
|
|
171
|
+
type: 'object',
|
|
172
|
+
properties: {
|
|
173
|
+
name: { type: 'string' },
|
|
174
|
+
type: { type: 'string', enum: ['Int', 'Real', 'Bool', 'String', 'Array', 'BitVec'] },
|
|
175
|
+
},
|
|
176
|
+
required: ['name', 'type'],
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
},
|
|
180
|
+
required: ['condition', 'variables'],
|
|
181
|
+
},
|
|
182
|
+
handler: handleVerifyPrecondition,
|
|
183
|
+
};
|
|
184
|
+
export const verifyPostconditionTool = {
|
|
185
|
+
name: 'verify_postcondition',
|
|
186
|
+
description: 'Verify a Hoare triple {P} C {Q} using Z3 SMT solver.',
|
|
187
|
+
inputSchema: {
|
|
188
|
+
type: 'object',
|
|
189
|
+
properties: {
|
|
190
|
+
precondition: {
|
|
191
|
+
type: 'object',
|
|
192
|
+
description: 'Precondition (P)',
|
|
193
|
+
properties: {
|
|
194
|
+
expression: { type: 'string' },
|
|
195
|
+
format: { type: 'string', enum: ['natural', 'smt', 'javascript'] },
|
|
196
|
+
},
|
|
197
|
+
required: ['expression'],
|
|
198
|
+
},
|
|
199
|
+
postcondition: {
|
|
200
|
+
type: 'object',
|
|
201
|
+
description: 'Postcondition (Q)',
|
|
202
|
+
properties: {
|
|
203
|
+
expression: { type: 'string' },
|
|
204
|
+
format: { type: 'string', enum: ['natural', 'smt', 'javascript'] },
|
|
205
|
+
},
|
|
206
|
+
required: ['expression'],
|
|
207
|
+
},
|
|
208
|
+
preVariables: {
|
|
209
|
+
type: 'array',
|
|
210
|
+
description: 'Pre-state variable declarations',
|
|
211
|
+
items: {
|
|
212
|
+
type: 'object',
|
|
213
|
+
properties: {
|
|
214
|
+
name: { type: 'string' },
|
|
215
|
+
type: { type: 'string', enum: ['Int', 'Real', 'Bool', 'String', 'Array', 'BitVec'] },
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
postVariables: {
|
|
220
|
+
type: 'array',
|
|
221
|
+
description: 'Post-state variable declarations',
|
|
222
|
+
items: {
|
|
223
|
+
type: 'object',
|
|
224
|
+
properties: {
|
|
225
|
+
name: { type: 'string' },
|
|
226
|
+
type: { type: 'string', enum: ['Int', 'Real', 'Bool', 'String', 'Array', 'BitVec'] },
|
|
227
|
+
},
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
transition: {
|
|
231
|
+
type: 'string',
|
|
232
|
+
description: 'Transition relation (e.g., "balance_new := balance - amount")',
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
required: ['precondition', 'postcondition', 'preVariables', 'postVariables'],
|
|
236
|
+
},
|
|
237
|
+
handler: handleVerifyPostcondition,
|
|
238
|
+
};
|
|
239
|
+
export const earsToSmtTool = {
|
|
240
|
+
name: 'ears_to_smt',
|
|
241
|
+
description: 'Convert EARS format requirement to SMT-LIB2 formula. Supports all 5 EARS patterns.',
|
|
242
|
+
inputSchema: {
|
|
243
|
+
type: 'object',
|
|
244
|
+
properties: {
|
|
245
|
+
requirement: {
|
|
246
|
+
type: 'string',
|
|
247
|
+
description: 'EARS format requirement (e.g., "WHEN user clicks submit, THE system SHALL save the data")',
|
|
248
|
+
},
|
|
249
|
+
options: {
|
|
250
|
+
type: 'object',
|
|
251
|
+
description: 'Conversion options',
|
|
252
|
+
properties: {
|
|
253
|
+
strict: { type: 'boolean', description: 'Treat warnings as errors' },
|
|
254
|
+
inferTypes: { type: 'boolean', description: 'Automatically infer variable types' },
|
|
255
|
+
debug: { type: 'boolean', description: 'Include debug information' },
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
},
|
|
259
|
+
required: ['requirement'],
|
|
260
|
+
},
|
|
261
|
+
handler: handleEarsToSmt,
|
|
262
|
+
};
|
|
263
|
+
export const traceAddLinkTool = {
|
|
264
|
+
name: 'trace_add_link',
|
|
265
|
+
description: 'Add a traceability link between two artifacts.',
|
|
266
|
+
inputSchema: {
|
|
267
|
+
type: 'object',
|
|
268
|
+
properties: {
|
|
269
|
+
source: {
|
|
270
|
+
type: 'string',
|
|
271
|
+
description: 'Source artifact ID (e.g., "REQ-001")',
|
|
272
|
+
},
|
|
273
|
+
target: {
|
|
274
|
+
type: 'string',
|
|
275
|
+
description: 'Target artifact ID (e.g., "DES-001")',
|
|
276
|
+
},
|
|
277
|
+
type: {
|
|
278
|
+
type: 'string',
|
|
279
|
+
enum: ['satisfies', 'implements', 'verifies', 'traces-to', 'depends-on'],
|
|
280
|
+
description: 'Link type',
|
|
281
|
+
},
|
|
282
|
+
description: {
|
|
283
|
+
type: 'string',
|
|
284
|
+
description: 'Optional description of the link',
|
|
285
|
+
},
|
|
286
|
+
confidence: {
|
|
287
|
+
type: 'number',
|
|
288
|
+
description: 'Link confidence score (0.0-1.0)',
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
required: ['source', 'target', 'type'],
|
|
292
|
+
},
|
|
293
|
+
handler: handleTraceAddLink,
|
|
294
|
+
};
|
|
295
|
+
export const traceQueryTool = {
|
|
296
|
+
name: 'trace_query',
|
|
297
|
+
description: 'Query traceability relationships for an artifact.',
|
|
298
|
+
inputSchema: {
|
|
299
|
+
type: 'object',
|
|
300
|
+
properties: {
|
|
301
|
+
nodeId: {
|
|
302
|
+
type: 'string',
|
|
303
|
+
description: 'Artifact ID to query',
|
|
304
|
+
},
|
|
305
|
+
direction: {
|
|
306
|
+
type: 'string',
|
|
307
|
+
enum: ['upstream', 'downstream', 'both'],
|
|
308
|
+
default: 'both',
|
|
309
|
+
description: 'Query direction',
|
|
310
|
+
},
|
|
311
|
+
linkTypes: {
|
|
312
|
+
type: 'array',
|
|
313
|
+
items: { type: 'string' },
|
|
314
|
+
description: 'Filter by link types',
|
|
315
|
+
},
|
|
316
|
+
nodeTypes: {
|
|
317
|
+
type: 'array',
|
|
318
|
+
items: { type: 'string' },
|
|
319
|
+
description: 'Filter by node types',
|
|
320
|
+
},
|
|
321
|
+
maxDepth: {
|
|
322
|
+
type: 'number',
|
|
323
|
+
default: 5,
|
|
324
|
+
description: 'Maximum traversal depth',
|
|
325
|
+
},
|
|
326
|
+
},
|
|
327
|
+
required: ['nodeId'],
|
|
328
|
+
},
|
|
329
|
+
handler: handleTraceQuery,
|
|
330
|
+
};
|
|
331
|
+
export const traceImpactTool = {
|
|
332
|
+
name: 'trace_impact',
|
|
333
|
+
description: 'Analyze the impact of changes to an artifact.',
|
|
334
|
+
inputSchema: {
|
|
335
|
+
type: 'object',
|
|
336
|
+
properties: {
|
|
337
|
+
nodeId: {
|
|
338
|
+
type: 'string',
|
|
339
|
+
description: 'Artifact ID to analyze',
|
|
340
|
+
},
|
|
341
|
+
maxDepth: {
|
|
342
|
+
type: 'number',
|
|
343
|
+
default: 5,
|
|
344
|
+
description: 'Maximum impact depth',
|
|
345
|
+
},
|
|
346
|
+
decayRate: {
|
|
347
|
+
type: 'number',
|
|
348
|
+
default: 0.7,
|
|
349
|
+
description: 'Impact score decay rate per hop',
|
|
350
|
+
},
|
|
351
|
+
minImpactScore: {
|
|
352
|
+
type: 'number',
|
|
353
|
+
default: 0.1,
|
|
354
|
+
description: 'Minimum impact score to include',
|
|
355
|
+
},
|
|
356
|
+
},
|
|
357
|
+
required: ['nodeId'],
|
|
358
|
+
},
|
|
359
|
+
handler: handleTraceImpact,
|
|
360
|
+
};
|
|
361
|
+
// Export all formal verification tools
|
|
362
|
+
export const formalVerifyTools = [
|
|
363
|
+
verifyPreconditionTool,
|
|
364
|
+
verifyPostconditionTool,
|
|
365
|
+
earsToSmtTool,
|
|
366
|
+
traceAddLinkTool,
|
|
367
|
+
traceQueryTool,
|
|
368
|
+
traceImpactTool,
|
|
369
|
+
];
|
|
370
|
+
/**
|
|
371
|
+
* Get all formal verification tools
|
|
372
|
+
*/
|
|
373
|
+
export function getFormalVerifyTools() {
|
|
374
|
+
return formalVerifyTools;
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* Handle formal verification tool calls
|
|
378
|
+
*/
|
|
379
|
+
export async function handleFormalVerifyTool(toolName, args) {
|
|
380
|
+
const tool = formalVerifyTools.find(t => t.name === toolName);
|
|
381
|
+
if (!tool) {
|
|
382
|
+
return {
|
|
383
|
+
content: [{
|
|
384
|
+
type: 'text',
|
|
385
|
+
text: JSON.stringify({ error: `Unknown tool: ${toolName}` }),
|
|
386
|
+
}],
|
|
387
|
+
isError: true,
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
return tool.handler(args);
|
|
391
|
+
}
|
|
392
|
+
//# sourceMappingURL=formal-verify-tools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formal-verify-tools.js","sourceRoot":"","sources":["../../src/tools/formal-verify-tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,0BAA0B;AAC1B,KAAK,UAAU,wBAAwB,CAAC,IAA6B;IACnE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,IAGhC,CAAC;IAEF,MAAM,MAAM,GAAG;QACb,MAAM,EAAE,OAAgB;QACxB,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,EAAE;QACZ,OAAO,EAAE;YACP,SAAS,EAAE,SAAS;YACpB,OAAO,EAAE,kDAAkD;SAC5D;KACF,CAAC;IAEF,OAAO;QACL,OAAO,EAAE,CAAC;gBACR,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;aACtC,CAAC;KACH,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,yBAAyB,CAAC,IAA6B;IACpE,MAAM,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,GAAG,IAInD,CAAC;IAEF,MAAM,MAAM,GAAG;QACb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BAC7D,CAAC;YACF,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;IACD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAC5B,CAAC"}
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { learnPatternTool, consolidatePatternsTool, queryPatternRelationsTool, s
|
|
|
10
10
|
export { consistencyValidateTool, validateTripleTool, checkCircularTool, ontologyTools, getOntologyTools, } from './ontology-tools.js';
|
|
11
11
|
export { analyzeCodeTool, updateKnowledgeFromCodeTool, bulkUpdateKnowledgeTool, queryKnowledgeGraphTool, yataTools, getYataTools, } from './yata-tools.js';
|
|
12
12
|
export { kgprCreateTool, kgprDiffTool, kgprListTool, kgprSubmitTool, kgprReviewTool, kgprTools, } from './kgpr-tools.js';
|
|
13
|
+
export { verifyPreconditionTool, verifyPostconditionTool, earsToSmtTool, traceAddLinkTool, traceQueryTool, traceImpactTool, formalVerifyTools, getFormalVerifyTools, handleFormalVerifyTool, } from './formal-verify-tools.js';
|
|
13
14
|
/**
|
|
14
15
|
* Get all available tools
|
|
15
16
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,EACxB,wBAAwB,EACxB,QAAQ,EACR,WAAW,GACZ,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,cAAc,EACd,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,yBAAyB,EACzB,kBAAkB,EAClB,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,uBAAuB,EACvB,0BAA0B,EAC1B,4BAA4B,EAC5B,uBAAuB,GACxB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,uBAAuB,EACvB,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,EACb,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,eAAe,EACf,2BAA2B,EAC3B,uBAAuB,EACvB,uBAAuB,EACvB,SAAS,EACT,YAAY,GACb,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,cAAc,EACd,SAAS,GACV,MAAM,iBAAiB,CAAC;AAEzB;;GAEG;AACH,wBAAgB,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,EACxB,wBAAwB,EACxB,QAAQ,EACR,WAAW,GACZ,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,cAAc,EACd,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,yBAAyB,EACzB,kBAAkB,EAClB,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,uBAAuB,EACvB,0BAA0B,EAC1B,4BAA4B,EAC5B,uBAAuB,GACxB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,uBAAuB,EACvB,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,EACb,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,eAAe,EACf,2BAA2B,EAC3B,uBAAuB,EACvB,uBAAuB,EACvB,SAAS,EACT,YAAY,GACb,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,cAAc,EACd,SAAS,GACV,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,aAAa,EACb,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,wBAAgB,WAAW,UAiB1B"}
|
package/dist/tools/index.js
CHANGED
|
@@ -10,6 +10,7 @@ export { learnPatternTool, consolidatePatternsTool, queryPatternRelationsTool, s
|
|
|
10
10
|
export { consistencyValidateTool, validateTripleTool, checkCircularTool, ontologyTools, getOntologyTools, } from './ontology-tools.js';
|
|
11
11
|
export { analyzeCodeTool, updateKnowledgeFromCodeTool, bulkUpdateKnowledgeTool, queryKnowledgeGraphTool, yataTools, getYataTools, } from './yata-tools.js';
|
|
12
12
|
export { kgprCreateTool, kgprDiffTool, kgprListTool, kgprSubmitTool, kgprReviewTool, kgprTools, } from './kgpr-tools.js';
|
|
13
|
+
export { verifyPreconditionTool, verifyPostconditionTool, earsToSmtTool, traceAddLinkTool, traceQueryTool, traceImpactTool, formalVerifyTools, getFormalVerifyTools, handleFormalVerifyTool, } from './formal-verify-tools.js';
|
|
13
14
|
/**
|
|
14
15
|
* Get all available tools
|
|
15
16
|
*/
|
|
@@ -20,6 +21,15 @@ export function getAllTools() {
|
|
|
20
21
|
const { getOntologyTools } = require('./ontology-tools.js');
|
|
21
22
|
const { getYataTools } = require('./yata-tools.js');
|
|
22
23
|
const { kgprTools } = require('./kgpr-tools.js');
|
|
23
|
-
|
|
24
|
+
const { getFormalVerifyTools } = require('./formal-verify-tools.js');
|
|
25
|
+
return [
|
|
26
|
+
...getSddTools(),
|
|
27
|
+
...getSymbolicTools(),
|
|
28
|
+
...getPatternIntegrationTools(),
|
|
29
|
+
...getOntologyTools(),
|
|
30
|
+
...getYataTools(),
|
|
31
|
+
...kgprTools,
|
|
32
|
+
...getFormalVerifyTools(),
|
|
33
|
+
];
|
|
24
34
|
}
|
|
25
35
|
//# sourceMappingURL=index.js.map
|
package/dist/tools/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,EACxB,wBAAwB,EACxB,QAAQ,EACR,WAAW,GACZ,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,cAAc,EACd,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,yBAAyB,EACzB,kBAAkB,EAClB,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,uBAAuB,EACvB,0BAA0B,EAC1B,4BAA4B,EAC5B,uBAAuB,GACxB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,uBAAuB,EACvB,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,EACb,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,eAAe,EACf,2BAA2B,EAC3B,uBAAuB,EACvB,uBAAuB,EACvB,SAAS,EACT,YAAY,GACb,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,cAAc,EACd,SAAS,GACV,MAAM,iBAAiB,CAAC;AAEzB;;GAEG;AACH,MAAM,UAAU,WAAW;IACzB,MAAM,EAAE,WAAW,EAAE,GAAG,O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