@veloxts/mcp 0.6.60 → 0.6.62
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 +20 -0
- package/dist/server.js +2 -2
- package/dist/tools/generate.d.ts +4 -1
- package/dist/tools/generate.js +5 -2
- package/dist/tools/migrate.d.ts +4 -1
- package/dist/tools/migrate.js +5 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @veloxts/mcp
|
|
2
2
|
|
|
3
|
+
## 0.6.62
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- add Common Gotchas section to all template CLAUDE.md files + add dynamic database display name to CLAUDE.md templates
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @veloxts/cli@0.6.62
|
|
10
|
+
- @veloxts/router@0.6.62
|
|
11
|
+
- @veloxts/validation@0.6.62
|
|
12
|
+
|
|
13
|
+
## 0.6.61
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- fix(mcp,cli): improve workspace support and add procedure auto-registration
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
- @veloxts/cli@0.6.61
|
|
20
|
+
- @veloxts/router@0.6.61
|
|
21
|
+
- @veloxts/validation@0.6.61
|
|
22
|
+
|
|
3
23
|
## 0.6.60
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/server.js
CHANGED
|
@@ -279,7 +279,7 @@ export function createVeloxMCPServer(options = {}) {
|
|
|
279
279
|
crud: parsed.data.crud,
|
|
280
280
|
dryRun: parsed.data.dryRun,
|
|
281
281
|
json: true,
|
|
282
|
-
});
|
|
282
|
+
}, projectRoot);
|
|
283
283
|
return {
|
|
284
284
|
content: [
|
|
285
285
|
{
|
|
@@ -310,7 +310,7 @@ export function createVeloxMCPServer(options = {}) {
|
|
|
310
310
|
dev: parsed.data.dev,
|
|
311
311
|
dryRun: parsed.data.dryRun,
|
|
312
312
|
json: true,
|
|
313
|
-
});
|
|
313
|
+
}, projectRoot);
|
|
314
314
|
return {
|
|
315
315
|
content: [
|
|
316
316
|
{
|
package/dist/tools/generate.d.ts
CHANGED
|
@@ -43,8 +43,11 @@ export interface GenerateResult {
|
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* Execute velox make command
|
|
46
|
+
*
|
|
47
|
+
* @param options - Generator options
|
|
48
|
+
* @param serverProjectRoot - Optional project root from server context (takes precedence over auto-detection)
|
|
46
49
|
*/
|
|
47
|
-
export declare function generate(options: GenerateOptions): Promise<GenerateResult>;
|
|
50
|
+
export declare function generate(options: GenerateOptions, serverProjectRoot?: string): Promise<GenerateResult>;
|
|
48
51
|
/**
|
|
49
52
|
* Generate a procedure
|
|
50
53
|
*/
|
package/dist/tools/generate.js
CHANGED
|
@@ -44,9 +44,12 @@ function buildArgs(options) {
|
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* Execute velox make command
|
|
47
|
+
*
|
|
48
|
+
* @param options - Generator options
|
|
49
|
+
* @param serverProjectRoot - Optional project root from server context (takes precedence over auto-detection)
|
|
47
50
|
*/
|
|
48
|
-
export async function generate(options) {
|
|
49
|
-
const projectRoot = findProjectRoot();
|
|
51
|
+
export async function generate(options, serverProjectRoot) {
|
|
52
|
+
const projectRoot = serverProjectRoot ?? findProjectRoot();
|
|
50
53
|
if (!projectRoot) {
|
|
51
54
|
return {
|
|
52
55
|
success: false,
|
package/dist/tools/migrate.d.ts
CHANGED
|
@@ -40,8 +40,11 @@ export interface MigrateResult {
|
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
42
|
* Execute velox migrate command
|
|
43
|
+
*
|
|
44
|
+
* @param options - Migration options
|
|
45
|
+
* @param serverProjectRoot - Optional project root from server context (takes precedence over auto-detection)
|
|
43
46
|
*/
|
|
44
|
-
export declare function migrate(options: MigrateOptions): Promise<MigrateResult>;
|
|
47
|
+
export declare function migrate(options: MigrateOptions, serverProjectRoot?: string): Promise<MigrateResult>;
|
|
45
48
|
/**
|
|
46
49
|
* Get migration status
|
|
47
50
|
*/
|
package/dist/tools/migrate.js
CHANGED
|
@@ -44,9 +44,12 @@ function buildArgs(options) {
|
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* Execute velox migrate command
|
|
47
|
+
*
|
|
48
|
+
* @param options - Migration options
|
|
49
|
+
* @param serverProjectRoot - Optional project root from server context (takes precedence over auto-detection)
|
|
47
50
|
*/
|
|
48
|
-
export async function migrate(options) {
|
|
49
|
-
const projectRoot = findProjectRoot();
|
|
51
|
+
export async function migrate(options, serverProjectRoot) {
|
|
52
|
+
const projectRoot = serverProjectRoot ?? findProjectRoot();
|
|
50
53
|
if (!projectRoot) {
|
|
51
54
|
return {
|
|
52
55
|
success: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veloxts/mcp",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.62",
|
|
4
4
|
"description": "Model Context Protocol server for VeloxTS - expose project context to AI tools",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@modelcontextprotocol/sdk": "1.25.1",
|
|
26
26
|
"typescript": "5.9.3",
|
|
27
|
-
"@veloxts/
|
|
28
|
-
"@veloxts/
|
|
29
|
-
"@veloxts/
|
|
27
|
+
"@veloxts/cli": "0.6.62",
|
|
28
|
+
"@veloxts/validation": "0.6.62",
|
|
29
|
+
"@veloxts/router": "0.6.62"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"zod": ">=3.25.0"
|