bmad-method 6.9.1-next.7 → 6.9.1-next.9
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/package.json +1 -1
- package/src/bmm-skills/4-implementation/bmad-code-review/SKILL.md +0 -1
- package/src/bmm-skills/4-implementation/bmad-dev-auto/SKILL.md +0 -1
- package/src/bmm-skills/4-implementation/bmad-quick-dev/SKILL.md +0 -1
- package/tools/installer/modules/custom-module-manager.js +15 -9
package/package.json
CHANGED
|
@@ -50,7 +50,6 @@ Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
|
|
|
50
50
|
- `date` as system-generated current datetime
|
|
51
51
|
- `sprint_status` = `{implementation_artifacts}/sprint-status.yaml`
|
|
52
52
|
- `project_context` = `**/project-context.md` (load if exists)
|
|
53
|
-
- CLAUDE.md / memory files (load if exist)
|
|
54
53
|
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
55
54
|
|
|
56
55
|
### Step 5: Greet the User
|
|
@@ -81,7 +81,6 @@ Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
|
|
|
81
81
|
- `communication_language`, `document_output_language`, `user_skill_level`
|
|
82
82
|
- `date` as system-generated current datetime
|
|
83
83
|
- `project_context` = `**/project-context.md` (load if exists)
|
|
84
|
-
- CLAUDE.md / memory files (load if exist)
|
|
85
84
|
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
86
85
|
- Language MUST be tailored to `{user_skill_level}`
|
|
87
86
|
- Generate all documents in `{document_output_language}`
|
|
@@ -71,7 +71,6 @@ Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
|
|
|
71
71
|
- `date` as system-generated current datetime
|
|
72
72
|
- `sprint_status` = `{implementation_artifacts}/sprint-status.yaml`
|
|
73
73
|
- `project_context` = `**/project-context.md` (load if exists)
|
|
74
|
-
- CLAUDE.md / memory files (load if exist)
|
|
75
74
|
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
76
75
|
- Language MUST be tailored to `{user_skill_level}`
|
|
77
76
|
- Generate all documents in `{document_output_language}`
|
|
@@ -11,6 +11,18 @@ function quoteCustomRef(ref) {
|
|
|
11
11
|
return `"${ref}"`;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
function isLocalSourcePath(input) {
|
|
15
|
+
return (
|
|
16
|
+
input.startsWith('/') ||
|
|
17
|
+
input.startsWith('./') ||
|
|
18
|
+
input.startsWith('../') ||
|
|
19
|
+
input.startsWith('.\\') ||
|
|
20
|
+
input.startsWith('..\\') ||
|
|
21
|
+
input.startsWith('~') ||
|
|
22
|
+
path.win32.isAbsolute(input)
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
|
|
14
26
|
/**
|
|
15
27
|
* Manages custom modules installed from user-provided sources.
|
|
16
28
|
* Supports any Git host (GitHub, GitLab, Bitbucket, self-hosted) and local file paths.
|
|
@@ -83,13 +95,7 @@ class CustomModuleManager {
|
|
|
83
95
|
// Avoid consuming the @ in `git@host:owner/repo` — `before` wouldn't end with a path separator
|
|
84
96
|
// in that case. Require that the @ comes after the host/path, not inside the auth segment.
|
|
85
97
|
// Rule: the @ is a version suffix only if `before` looks like a complete URL or local path.
|
|
86
|
-
const beforeLooksLikeRepo =
|
|
87
|
-
before.startsWith('/') ||
|
|
88
|
-
before.startsWith('./') ||
|
|
89
|
-
before.startsWith('../') ||
|
|
90
|
-
before.startsWith('~') ||
|
|
91
|
-
/^https?:\/\//i.test(before) ||
|
|
92
|
-
/^git@[^:]+:.+/.test(before);
|
|
98
|
+
const beforeLooksLikeRepo = isLocalSourcePath(before) || /^https?:\/\//i.test(before) || /^git@[^:]+:.+/.test(before);
|
|
93
99
|
if (beforeLooksLikeRepo) {
|
|
94
100
|
versionSuffix = candidate;
|
|
95
101
|
trimmed = before;
|
|
@@ -97,8 +103,8 @@ class CustomModuleManager {
|
|
|
97
103
|
}
|
|
98
104
|
}
|
|
99
105
|
|
|
100
|
-
// Local path detection:
|
|
101
|
-
if (
|
|
106
|
+
// Local path detection: POSIX, Windows, relative, or home-relative.
|
|
107
|
+
if (isLocalSourcePath(trimmed)) {
|
|
102
108
|
if (versionSuffix) {
|
|
103
109
|
return {
|
|
104
110
|
type: 'local',
|