vibe-coding-mcp 2.6.0 → 2.12.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 +122 -4
- package/dist/__tests__/exportSession.test.d.ts +2 -0
- package/dist/__tests__/exportSession.test.d.ts.map +1 -0
- package/dist/__tests__/exportSession.test.js +180 -0
- package/dist/__tests__/exportSession.test.js.map +1 -0
- package/dist/__tests__/git.test.d.ts +2 -0
- package/dist/__tests__/git.test.d.ts.map +1 -0
- package/dist/__tests__/git.test.js +282 -0
- package/dist/__tests__/git.test.js.map +1 -0
- package/dist/__tests__/projectProfile.test.d.ts +2 -0
- package/dist/__tests__/projectProfile.test.d.ts.map +1 -0
- package/dist/__tests__/projectProfile.test.js +216 -0
- package/dist/__tests__/projectProfile.test.js.map +1 -0
- package/dist/core/profileStorage.d.ts +117 -0
- package/dist/core/profileStorage.d.ts.map +1 -0
- package/dist/core/profileStorage.js +251 -0
- package/dist/core/profileStorage.js.map +1 -0
- package/dist/core/schemas.d.ts +576 -4
- package/dist/core/schemas.d.ts.map +1 -1
- package/dist/core/schemas.js +185 -0
- package/dist/core/schemas.js.map +1 -1
- package/dist/stdio.js +44 -2
- package/dist/stdio.js.map +1 -1
- package/dist/tools/autoTag.d.ts +145 -0
- package/dist/tools/autoTag.d.ts.map +1 -0
- package/dist/tools/autoTag.js +475 -0
- package/dist/tools/autoTag.js.map +1 -0
- package/dist/tools/batch.d.ts +119 -0
- package/dist/tools/batch.d.ts.map +1 -0
- package/dist/tools/batch.js +459 -0
- package/dist/tools/batch.js.map +1 -0
- package/dist/tools/exportSession.d.ts +79 -0
- package/dist/tools/exportSession.d.ts.map +1 -0
- package/dist/tools/exportSession.js +434 -0
- package/dist/tools/exportSession.js.map +1 -0
- package/dist/tools/git.d.ts +226 -0
- package/dist/tools/git.d.ts.map +1 -0
- package/dist/tools/git.js +493 -0
- package/dist/tools/git.js.map +1 -0
- package/dist/tools/projectProfile.d.ts +230 -0
- package/dist/tools/projectProfile.d.ts.map +1 -0
- package/dist/tools/projectProfile.js +367 -0
- package/dist/tools/projectProfile.js.map +1 -0
- package/dist/tools/sessionStats.d.ts +129 -0
- package/dist/tools/sessionStats.d.ts.map +1 -0
- package/dist/tools/sessionStats.js +554 -0
- package/dist/tools/sessionStats.js.map +1 -0
- package/dist/tools/template.d.ts +127 -0
- package/dist/tools/template.d.ts.map +1 -0
- package/dist/tools/template.js +617 -0
- package/dist/tools/template.js.map +1 -0
- package/dist/utils/gitExecutor.d.ts +34 -0
- package/dist/utils/gitExecutor.d.ts.map +1 -0
- package/dist/utils/gitExecutor.js +95 -0
- package/dist/utils/gitExecutor.js.map +1 -0
- package/dist/utils/gitParsers.d.ts +90 -0
- package/dist/utils/gitParsers.d.ts.map +1 -0
- package/dist/utils/gitParsers.js +286 -0
- package/dist/utils/gitParsers.js.map +1 -0
- package/package.json +3 -2
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 프로젝트 프로파일 도구
|
|
3
|
+
* 프로젝트별 설정 관리
|
|
4
|
+
* v2.7: Project Profile
|
|
5
|
+
*/
|
|
6
|
+
import { ProjectProfile, StoredProfile, PublishingConfig, CodeAnalysisConfig, DocumentationConfig } from '../core/profileStorage.js';
|
|
7
|
+
export type ProfileAction = 'create' | 'get' | 'update' | 'delete' | 'list' | 'setActive' | 'getActive' | 'clone';
|
|
8
|
+
export interface ProjectProfileInput {
|
|
9
|
+
action: ProfileAction;
|
|
10
|
+
name?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
projectPath?: string;
|
|
13
|
+
repository?: string;
|
|
14
|
+
version?: string;
|
|
15
|
+
publishing?: PublishingConfig;
|
|
16
|
+
codeAnalysis?: CodeAnalysisConfig;
|
|
17
|
+
documentation?: DocumentationConfig;
|
|
18
|
+
defaultTags?: string[];
|
|
19
|
+
tagCategories?: {
|
|
20
|
+
name: string;
|
|
21
|
+
tags: string[];
|
|
22
|
+
}[];
|
|
23
|
+
team?: {
|
|
24
|
+
name: string;
|
|
25
|
+
members?: {
|
|
26
|
+
name: string;
|
|
27
|
+
role?: string;
|
|
28
|
+
email?: string;
|
|
29
|
+
}[];
|
|
30
|
+
};
|
|
31
|
+
metadata?: Record<string, unknown>;
|
|
32
|
+
profileId?: string;
|
|
33
|
+
newName?: string;
|
|
34
|
+
limit?: number;
|
|
35
|
+
offset?: number;
|
|
36
|
+
sortBy?: 'createdAt' | 'updatedAt' | 'name';
|
|
37
|
+
sortOrder?: 'asc' | 'desc';
|
|
38
|
+
}
|
|
39
|
+
export interface ProjectProfileOutput {
|
|
40
|
+
success: boolean;
|
|
41
|
+
action: ProfileAction;
|
|
42
|
+
profile?: ProjectProfile;
|
|
43
|
+
profiles?: StoredProfile[];
|
|
44
|
+
total?: number;
|
|
45
|
+
message?: string;
|
|
46
|
+
error?: string;
|
|
47
|
+
}
|
|
48
|
+
export declare function projectProfileTool(input: ProjectProfileInput): Promise<ProjectProfileOutput>;
|
|
49
|
+
export declare const projectProfileSchema: {
|
|
50
|
+
name: string;
|
|
51
|
+
description: string;
|
|
52
|
+
inputSchema: {
|
|
53
|
+
type: string;
|
|
54
|
+
properties: {
|
|
55
|
+
action: {
|
|
56
|
+
type: string;
|
|
57
|
+
enum: string[];
|
|
58
|
+
description: string;
|
|
59
|
+
};
|
|
60
|
+
profileId: {
|
|
61
|
+
type: string;
|
|
62
|
+
description: string;
|
|
63
|
+
};
|
|
64
|
+
name: {
|
|
65
|
+
type: string;
|
|
66
|
+
description: string;
|
|
67
|
+
};
|
|
68
|
+
newName: {
|
|
69
|
+
type: string;
|
|
70
|
+
description: string;
|
|
71
|
+
};
|
|
72
|
+
description: {
|
|
73
|
+
type: string;
|
|
74
|
+
description: string;
|
|
75
|
+
};
|
|
76
|
+
projectPath: {
|
|
77
|
+
type: string;
|
|
78
|
+
description: string;
|
|
79
|
+
};
|
|
80
|
+
repository: {
|
|
81
|
+
type: string;
|
|
82
|
+
description: string;
|
|
83
|
+
};
|
|
84
|
+
version: {
|
|
85
|
+
type: string;
|
|
86
|
+
description: string;
|
|
87
|
+
};
|
|
88
|
+
publishing: {
|
|
89
|
+
type: string;
|
|
90
|
+
description: string;
|
|
91
|
+
properties: {
|
|
92
|
+
defaultPlatform: {
|
|
93
|
+
type: string;
|
|
94
|
+
enum: string[];
|
|
95
|
+
};
|
|
96
|
+
platformSettings: {
|
|
97
|
+
type: string;
|
|
98
|
+
};
|
|
99
|
+
autoPublish: {
|
|
100
|
+
type: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
codeAnalysis: {
|
|
105
|
+
type: string;
|
|
106
|
+
description: string;
|
|
107
|
+
properties: {
|
|
108
|
+
defaultLanguage: {
|
|
109
|
+
type: string;
|
|
110
|
+
enum: string[];
|
|
111
|
+
};
|
|
112
|
+
defaultDiagramTypes: {
|
|
113
|
+
type: string;
|
|
114
|
+
items: {
|
|
115
|
+
type: string;
|
|
116
|
+
enum: string[];
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
excludePatterns: {
|
|
120
|
+
type: string;
|
|
121
|
+
items: {
|
|
122
|
+
type: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
useAI: {
|
|
126
|
+
type: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
documentation: {
|
|
131
|
+
type: string;
|
|
132
|
+
description: string;
|
|
133
|
+
properties: {
|
|
134
|
+
defaultDocType: {
|
|
135
|
+
type: string;
|
|
136
|
+
enum: string[];
|
|
137
|
+
};
|
|
138
|
+
language: {
|
|
139
|
+
type: string;
|
|
140
|
+
enum: string[];
|
|
141
|
+
};
|
|
142
|
+
author: {
|
|
143
|
+
type: string;
|
|
144
|
+
};
|
|
145
|
+
license: {
|
|
146
|
+
type: string;
|
|
147
|
+
};
|
|
148
|
+
includeTableOfContents: {
|
|
149
|
+
type: string;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
defaultTags: {
|
|
154
|
+
type: string;
|
|
155
|
+
items: {
|
|
156
|
+
type: string;
|
|
157
|
+
};
|
|
158
|
+
description: string;
|
|
159
|
+
};
|
|
160
|
+
tagCategories: {
|
|
161
|
+
type: string;
|
|
162
|
+
description: string;
|
|
163
|
+
items: {
|
|
164
|
+
type: string;
|
|
165
|
+
properties: {
|
|
166
|
+
name: {
|
|
167
|
+
type: string;
|
|
168
|
+
};
|
|
169
|
+
tags: {
|
|
170
|
+
type: string;
|
|
171
|
+
items: {
|
|
172
|
+
type: string;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
team: {
|
|
179
|
+
type: string;
|
|
180
|
+
description: string;
|
|
181
|
+
properties: {
|
|
182
|
+
name: {
|
|
183
|
+
type: string;
|
|
184
|
+
};
|
|
185
|
+
members: {
|
|
186
|
+
type: string;
|
|
187
|
+
items: {
|
|
188
|
+
type: string;
|
|
189
|
+
properties: {
|
|
190
|
+
name: {
|
|
191
|
+
type: string;
|
|
192
|
+
};
|
|
193
|
+
role: {
|
|
194
|
+
type: string;
|
|
195
|
+
};
|
|
196
|
+
email: {
|
|
197
|
+
type: string;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
metadata: {
|
|
205
|
+
type: string;
|
|
206
|
+
description: string;
|
|
207
|
+
};
|
|
208
|
+
limit: {
|
|
209
|
+
type: string;
|
|
210
|
+
description: string;
|
|
211
|
+
};
|
|
212
|
+
offset: {
|
|
213
|
+
type: string;
|
|
214
|
+
description: string;
|
|
215
|
+
};
|
|
216
|
+
sortBy: {
|
|
217
|
+
type: string;
|
|
218
|
+
enum: string[];
|
|
219
|
+
description: string;
|
|
220
|
+
};
|
|
221
|
+
sortOrder: {
|
|
222
|
+
type: string;
|
|
223
|
+
enum: string[];
|
|
224
|
+
description: string;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
required: string[];
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
//# sourceMappingURL=projectProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectProfile.d.ts","sourceRoot":"","sources":["../../src/tools/projectProfile.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAUL,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,WAAW,GAAG,WAAW,GAAG,OAAO,CAAC;AAElH,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,aAAa,CAAC;IAGtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,aAAa,CAAC,EAAE,mBAAmB,CAAC;IAGpC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,aAAa,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAC;IAGnD,IAAI,CAAC,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,CAAC,EAAE,MAAM,CAAC;YAAC,KAAK,CAAC,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;KAC7D,CAAC;IAEF,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGnC,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,MAAM,CAAC;IAC5C,SAAS,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,aAAa,CAAC;IACtB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAsB,kBAAkB,CAAC,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAmOlG;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+IhC,CAAC"}
|
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 프로젝트 프로파일 도구
|
|
3
|
+
* 프로젝트별 설정 관리
|
|
4
|
+
* v2.7: Project Profile
|
|
5
|
+
*/
|
|
6
|
+
import { createProfile, getProfile, updateProfile, deleteProfile, listProfiles, setActiveProfile, getActiveProfile, findProfileByName, cloneProfile } from '../core/profileStorage.js';
|
|
7
|
+
export async function projectProfileTool(input) {
|
|
8
|
+
const { action } = input;
|
|
9
|
+
try {
|
|
10
|
+
switch (action) {
|
|
11
|
+
case 'create': {
|
|
12
|
+
if (!input.name) {
|
|
13
|
+
return {
|
|
14
|
+
success: false,
|
|
15
|
+
action,
|
|
16
|
+
error: 'name is required for create action'
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
const profile = await createProfile({
|
|
20
|
+
name: input.name,
|
|
21
|
+
description: input.description,
|
|
22
|
+
projectPath: input.projectPath,
|
|
23
|
+
repository: input.repository,
|
|
24
|
+
version: input.version,
|
|
25
|
+
publishing: input.publishing,
|
|
26
|
+
codeAnalysis: input.codeAnalysis,
|
|
27
|
+
documentation: input.documentation,
|
|
28
|
+
defaultTags: input.defaultTags,
|
|
29
|
+
tagCategories: input.tagCategories,
|
|
30
|
+
team: input.team,
|
|
31
|
+
metadata: input.metadata
|
|
32
|
+
});
|
|
33
|
+
return {
|
|
34
|
+
success: true,
|
|
35
|
+
action,
|
|
36
|
+
profile,
|
|
37
|
+
message: `Profile created: ${profile.name} (${profile.id})`
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
case 'get': {
|
|
41
|
+
if (!input.profileId) {
|
|
42
|
+
// 이름으로 찾기 시도
|
|
43
|
+
if (input.name) {
|
|
44
|
+
const profile = await findProfileByName(input.name);
|
|
45
|
+
if (!profile) {
|
|
46
|
+
return {
|
|
47
|
+
success: false,
|
|
48
|
+
action,
|
|
49
|
+
error: `Profile not found: ${input.name}`
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
success: true,
|
|
54
|
+
action,
|
|
55
|
+
profile,
|
|
56
|
+
message: `Profile retrieved: ${profile.name}`
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
success: false,
|
|
61
|
+
action,
|
|
62
|
+
error: 'profileId or name is required for get action'
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
const profile = await getProfile(input.profileId);
|
|
66
|
+
if (!profile) {
|
|
67
|
+
return {
|
|
68
|
+
success: false,
|
|
69
|
+
action,
|
|
70
|
+
error: `Profile not found: ${input.profileId}`
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
success: true,
|
|
75
|
+
action,
|
|
76
|
+
profile,
|
|
77
|
+
message: `Profile retrieved: ${profile.name}`
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
case 'update': {
|
|
81
|
+
if (!input.profileId) {
|
|
82
|
+
return {
|
|
83
|
+
success: false,
|
|
84
|
+
action,
|
|
85
|
+
error: 'profileId is required for update action'
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
const updates = {};
|
|
89
|
+
if (input.name !== undefined)
|
|
90
|
+
updates.name = input.name;
|
|
91
|
+
if (input.description !== undefined)
|
|
92
|
+
updates.description = input.description;
|
|
93
|
+
if (input.projectPath !== undefined)
|
|
94
|
+
updates.projectPath = input.projectPath;
|
|
95
|
+
if (input.repository !== undefined)
|
|
96
|
+
updates.repository = input.repository;
|
|
97
|
+
if (input.version !== undefined)
|
|
98
|
+
updates.version = input.version;
|
|
99
|
+
if (input.publishing !== undefined)
|
|
100
|
+
updates.publishing = input.publishing;
|
|
101
|
+
if (input.codeAnalysis !== undefined)
|
|
102
|
+
updates.codeAnalysis = input.codeAnalysis;
|
|
103
|
+
if (input.documentation !== undefined)
|
|
104
|
+
updates.documentation = input.documentation;
|
|
105
|
+
if (input.defaultTags !== undefined)
|
|
106
|
+
updates.defaultTags = input.defaultTags;
|
|
107
|
+
if (input.tagCategories !== undefined)
|
|
108
|
+
updates.tagCategories = input.tagCategories;
|
|
109
|
+
if (input.team !== undefined)
|
|
110
|
+
updates.team = input.team;
|
|
111
|
+
if (input.metadata !== undefined)
|
|
112
|
+
updates.metadata = input.metadata;
|
|
113
|
+
const profile = await updateProfile(input.profileId, updates);
|
|
114
|
+
return {
|
|
115
|
+
success: true,
|
|
116
|
+
action,
|
|
117
|
+
profile,
|
|
118
|
+
message: `Profile updated: ${profile.name}`
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
case 'delete': {
|
|
122
|
+
if (!input.profileId) {
|
|
123
|
+
return {
|
|
124
|
+
success: false,
|
|
125
|
+
action,
|
|
126
|
+
error: 'profileId is required for delete action'
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
const deleted = await deleteProfile(input.profileId);
|
|
130
|
+
if (!deleted) {
|
|
131
|
+
return {
|
|
132
|
+
success: false,
|
|
133
|
+
action,
|
|
134
|
+
error: `Profile not found: ${input.profileId}`
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
return {
|
|
138
|
+
success: true,
|
|
139
|
+
action,
|
|
140
|
+
message: `Profile deleted: ${input.profileId}`
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
case 'list': {
|
|
144
|
+
const { profiles, total } = await listProfiles({
|
|
145
|
+
limit: input.limit,
|
|
146
|
+
offset: input.offset,
|
|
147
|
+
sortBy: input.sortBy,
|
|
148
|
+
sortOrder: input.sortOrder
|
|
149
|
+
});
|
|
150
|
+
return {
|
|
151
|
+
success: true,
|
|
152
|
+
action,
|
|
153
|
+
profiles,
|
|
154
|
+
total,
|
|
155
|
+
message: `Found ${total} profile(s)`
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
case 'setActive': {
|
|
159
|
+
await setActiveProfile(input.profileId || null);
|
|
160
|
+
return {
|
|
161
|
+
success: true,
|
|
162
|
+
action,
|
|
163
|
+
message: input.profileId
|
|
164
|
+
? `Active profile set: ${input.profileId}`
|
|
165
|
+
: 'Active profile cleared'
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
case 'getActive': {
|
|
169
|
+
const profile = await getActiveProfile();
|
|
170
|
+
if (!profile) {
|
|
171
|
+
return {
|
|
172
|
+
success: true,
|
|
173
|
+
action,
|
|
174
|
+
message: 'No active profile set'
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
return {
|
|
178
|
+
success: true,
|
|
179
|
+
action,
|
|
180
|
+
profile,
|
|
181
|
+
message: `Active profile: ${profile.name}`
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
case 'clone': {
|
|
185
|
+
if (!input.profileId) {
|
|
186
|
+
return {
|
|
187
|
+
success: false,
|
|
188
|
+
action,
|
|
189
|
+
error: 'profileId is required for clone action'
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
if (!input.newName) {
|
|
193
|
+
return {
|
|
194
|
+
success: false,
|
|
195
|
+
action,
|
|
196
|
+
error: 'newName is required for clone action'
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
const profile = await cloneProfile(input.profileId, input.newName);
|
|
200
|
+
return {
|
|
201
|
+
success: true,
|
|
202
|
+
action,
|
|
203
|
+
profile,
|
|
204
|
+
message: `Profile cloned: ${profile.name} (${profile.id})`
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
default:
|
|
208
|
+
return {
|
|
209
|
+
success: false,
|
|
210
|
+
action,
|
|
211
|
+
error: `Unknown action: ${action}`
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
catch (error) {
|
|
216
|
+
return {
|
|
217
|
+
success: false,
|
|
218
|
+
action,
|
|
219
|
+
error: error instanceof Error ? error.message : String(error)
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
export const projectProfileSchema = {
|
|
224
|
+
name: 'muse_project_profile',
|
|
225
|
+
description: 'Manages project profiles for vibe coding sessions. Save project-specific settings for documentation, code analysis, and publishing.',
|
|
226
|
+
inputSchema: {
|
|
227
|
+
type: 'object',
|
|
228
|
+
properties: {
|
|
229
|
+
action: {
|
|
230
|
+
type: 'string',
|
|
231
|
+
enum: ['create', 'get', 'update', 'delete', 'list', 'setActive', 'getActive', 'clone'],
|
|
232
|
+
description: 'Action: create, get, update, delete, list, setActive, getActive, clone'
|
|
233
|
+
},
|
|
234
|
+
profileId: {
|
|
235
|
+
type: 'string',
|
|
236
|
+
description: 'Profile ID (for get, update, delete, setActive, clone)'
|
|
237
|
+
},
|
|
238
|
+
name: {
|
|
239
|
+
type: 'string',
|
|
240
|
+
description: 'Profile name (required for create, optional for get by name)'
|
|
241
|
+
},
|
|
242
|
+
newName: {
|
|
243
|
+
type: 'string',
|
|
244
|
+
description: 'New name for cloned profile (required for clone)'
|
|
245
|
+
},
|
|
246
|
+
description: {
|
|
247
|
+
type: 'string',
|
|
248
|
+
description: 'Profile description'
|
|
249
|
+
},
|
|
250
|
+
projectPath: {
|
|
251
|
+
type: 'string',
|
|
252
|
+
description: 'Path to the project directory'
|
|
253
|
+
},
|
|
254
|
+
repository: {
|
|
255
|
+
type: 'string',
|
|
256
|
+
description: 'Git repository URL'
|
|
257
|
+
},
|
|
258
|
+
version: {
|
|
259
|
+
type: 'string',
|
|
260
|
+
description: 'Project version'
|
|
261
|
+
},
|
|
262
|
+
publishing: {
|
|
263
|
+
type: 'object',
|
|
264
|
+
description: 'Publishing settings (defaultPlatform, platformSettings, autoPublish)',
|
|
265
|
+
properties: {
|
|
266
|
+
defaultPlatform: {
|
|
267
|
+
type: 'string',
|
|
268
|
+
enum: ['notion', 'github-wiki', 'obsidian', 'confluence', 'slack', 'discord']
|
|
269
|
+
},
|
|
270
|
+
platformSettings: { type: 'object' },
|
|
271
|
+
autoPublish: { type: 'boolean' }
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
codeAnalysis: {
|
|
275
|
+
type: 'object',
|
|
276
|
+
description: 'Code analysis settings (defaultLanguage, defaultDiagramTypes, excludePatterns, useAI)',
|
|
277
|
+
properties: {
|
|
278
|
+
defaultLanguage: {
|
|
279
|
+
type: 'string',
|
|
280
|
+
enum: ['typescript', 'javascript', 'python', 'go']
|
|
281
|
+
},
|
|
282
|
+
defaultDiagramTypes: {
|
|
283
|
+
type: 'array',
|
|
284
|
+
items: { type: 'string', enum: ['class', 'flowchart', 'dependency', 'all'] }
|
|
285
|
+
},
|
|
286
|
+
excludePatterns: {
|
|
287
|
+
type: 'array',
|
|
288
|
+
items: { type: 'string' }
|
|
289
|
+
},
|
|
290
|
+
useAI: { type: 'boolean' }
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
documentation: {
|
|
294
|
+
type: 'object',
|
|
295
|
+
description: 'Documentation settings (defaultDocType, language, author, license, includeTableOfContents)',
|
|
296
|
+
properties: {
|
|
297
|
+
defaultDocType: {
|
|
298
|
+
type: 'string',
|
|
299
|
+
enum: ['README', 'DESIGN', 'TUTORIAL', 'CHANGELOG', 'API', 'ARCHITECTURE']
|
|
300
|
+
},
|
|
301
|
+
language: { type: 'string', enum: ['en', 'ko'] },
|
|
302
|
+
author: { type: 'string' },
|
|
303
|
+
license: { type: 'string' },
|
|
304
|
+
includeTableOfContents: { type: 'boolean' }
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
defaultTags: {
|
|
308
|
+
type: 'array',
|
|
309
|
+
items: { type: 'string' },
|
|
310
|
+
description: 'Default tags applied to all sessions'
|
|
311
|
+
},
|
|
312
|
+
tagCategories: {
|
|
313
|
+
type: 'array',
|
|
314
|
+
description: 'Tag categories for organization',
|
|
315
|
+
items: {
|
|
316
|
+
type: 'object',
|
|
317
|
+
properties: {
|
|
318
|
+
name: { type: 'string' },
|
|
319
|
+
tags: { type: 'array', items: { type: 'string' } }
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
team: {
|
|
324
|
+
type: 'object',
|
|
325
|
+
description: 'Team information',
|
|
326
|
+
properties: {
|
|
327
|
+
name: { type: 'string' },
|
|
328
|
+
members: {
|
|
329
|
+
type: 'array',
|
|
330
|
+
items: {
|
|
331
|
+
type: 'object',
|
|
332
|
+
properties: {
|
|
333
|
+
name: { type: 'string' },
|
|
334
|
+
role: { type: 'string' },
|
|
335
|
+
email: { type: 'string' }
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
metadata: {
|
|
342
|
+
type: 'object',
|
|
343
|
+
description: 'Custom metadata'
|
|
344
|
+
},
|
|
345
|
+
limit: {
|
|
346
|
+
type: 'number',
|
|
347
|
+
description: 'Max results for list (default: 50)'
|
|
348
|
+
},
|
|
349
|
+
offset: {
|
|
350
|
+
type: 'number',
|
|
351
|
+
description: 'Skip results for list (default: 0)'
|
|
352
|
+
},
|
|
353
|
+
sortBy: {
|
|
354
|
+
type: 'string',
|
|
355
|
+
enum: ['createdAt', 'updatedAt', 'name'],
|
|
356
|
+
description: 'Sort field for list'
|
|
357
|
+
},
|
|
358
|
+
sortOrder: {
|
|
359
|
+
type: 'string',
|
|
360
|
+
enum: ['asc', 'desc'],
|
|
361
|
+
description: 'Sort order for list'
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
required: ['action']
|
|
365
|
+
}
|
|
366
|
+
};
|
|
367
|
+
//# sourceMappingURL=projectProfile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectProfile.js","sourceRoot":"","sources":["../../src/tools/projectProfile.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,aAAa,EACb,UAAU,EACV,aAAa,EACb,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EAMb,MAAM,2BAA2B,CAAC;AAsDnC,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,KAA0B;IACjE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAEzB,IAAI,CAAC;QACH,QAAQ,MAAM,EAAE,CAAC;YACf,KAAK,QAAQ,CAAC,CAAC,CAAC;gBACd,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;oBAChB,OAAO;wBACL,OAAO,EAAE,KAAK;wBACd,MAAM;wBACN,KAAK,EAAE,oCAAoC;qBAC5C,CAAC;gBACJ,CAAC;gBAED,MAAM,OAAO,GAAG,MAAM,aAAa,CAAC;oBAClC,IAAI,EAAE,KAAK,CAAC,IAAI;oBACh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