mrvn-cli 0.4.4 → 0.4.6
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/index.d.ts +6 -2
- package/dist/index.js +844 -242
- package/dist/index.js.map +1 -1
- package/dist/marvin-serve.js +697 -94
- package/dist/marvin-serve.js.map +1 -1
- package/dist/marvin.js +700 -96
- package/dist/marvin.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,9 @@ interface MarvinUserConfig {
|
|
|
16
16
|
interface GitConfig {
|
|
17
17
|
remote?: string;
|
|
18
18
|
}
|
|
19
|
+
interface JiraProjectConfig {
|
|
20
|
+
projectKey?: string;
|
|
21
|
+
}
|
|
19
22
|
interface MarvinProjectConfig {
|
|
20
23
|
name: string;
|
|
21
24
|
methodology?: string;
|
|
@@ -23,6 +26,7 @@ interface MarvinProjectConfig {
|
|
|
23
26
|
documentTypes?: string[];
|
|
24
27
|
git?: GitConfig;
|
|
25
28
|
skills?: Record<string, string[]>;
|
|
29
|
+
jira?: JiraProjectConfig;
|
|
26
30
|
}
|
|
27
31
|
interface PersonaConfigOverride {
|
|
28
32
|
enabled?: boolean;
|
|
@@ -262,7 +266,7 @@ interface SkillDefinition {
|
|
|
262
266
|
dirPath?: string;
|
|
263
267
|
personas?: string[];
|
|
264
268
|
documentTypeRegistrations?: DocumentTypeRegistration[];
|
|
265
|
-
tools?: (store: DocumentStore) => SdkMcpToolDefinition<any>[];
|
|
269
|
+
tools?: (store: DocumentStore, projectConfig?: MarvinProjectConfig) => SdkMcpToolDefinition<any>[];
|
|
266
270
|
promptFragments?: Record<string, string>;
|
|
267
271
|
actions?: SkillAction[];
|
|
268
272
|
}
|
|
@@ -286,7 +290,7 @@ interface SkillInfo {
|
|
|
286
290
|
declare function loadSkillFromDirectory(dirPath: string): SkillDefinition | undefined;
|
|
287
291
|
declare function loadAllSkills(marvinDir?: string): Map<string, SkillDefinition>;
|
|
288
292
|
declare function resolveSkillsForPersona(personaId: string, skillsConfig: Record<string, string[]> | undefined, allSkills: Map<string, SkillDefinition>): string[];
|
|
289
|
-
declare function getSkillTools(skillIds: string[], allSkills: Map<string, SkillDefinition>, store: DocumentStore): SdkMcpToolDefinition<any>[];
|
|
293
|
+
declare function getSkillTools(skillIds: string[], allSkills: Map<string, SkillDefinition>, store: DocumentStore, projectConfig?: MarvinProjectConfig): SdkMcpToolDefinition<any>[];
|
|
290
294
|
declare function getSkillPromptFragment(skillIds: string[], allSkills: Map<string, SkillDefinition>, personaId: string): string | undefined;
|
|
291
295
|
declare function getSkillAgentDefinitions(skillIds: string[], allSkills: Map<string, SkillDefinition>): Record<string, AgentDefinition>;
|
|
292
296
|
declare function migrateYamlToSkillMd(yamlPath: string, outputDir: string): void;
|