@love-moon/conductor-sdk 0.7.1 → 0.7.2
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 +12 -0
- package/dist/context/project_context.js +8 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @love-moon/conductor-sdk
|
|
2
2
|
|
|
3
|
+
## 0.7.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 80c5255: Canonicalize every GitHub SSH host alias (`github.com`, `github-*`,
|
|
8
|
+
`github.com-*`) to `github.com` when normalizing git remote URLs. GitHub
|
|
9
|
+
identifies a repository solely by its `owner/repo` path, so the same repo cloned
|
|
10
|
+
through different SSH aliases (e.g. `github-dang217` vs `github-duinodu`) now
|
|
11
|
+
merges across daemons by owner/repo instead of being blocked by a hardcoded
|
|
12
|
+
per-alias allowlist. Non-GitHub hosts (gitlab.com, self-hosted, GitHub
|
|
13
|
+
Enterprise) are left untouched so unrelated repos never merge.
|
|
14
|
+
|
|
3
15
|
## 0.7.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -198,8 +198,14 @@ export function normalizeGitRemoteUrl(raw) {
|
|
|
198
198
|
}
|
|
199
199
|
function canonicalGitRemoteHost(host) {
|
|
200
200
|
const normalized = host.trim().toLowerCase();
|
|
201
|
-
// SSH config alias
|
|
202
|
-
|
|
201
|
+
// Any GitHub SSH config alias points at github.com. Users create these in
|
|
202
|
+
// `~/.ssh/config` to juggle multiple accounts/keys (e.g. `github-duinodu`,
|
|
203
|
+
// `github-dang217`, `github.com-work`). GitHub identifies a repository solely
|
|
204
|
+
// by its `owner/repo` path, so we collapse every alias to `github.com` and
|
|
205
|
+
// let the path decide equality — instead of maintaining a per-alias allowlist.
|
|
206
|
+
if (normalized === 'github.com' ||
|
|
207
|
+
normalized.startsWith('github-') ||
|
|
208
|
+
normalized.startsWith('github.com-')) {
|
|
203
209
|
return 'github.com';
|
|
204
210
|
}
|
|
205
211
|
return normalized;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@love-moon/conductor-sdk",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/lovemoon-ai/conductor.git"
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"typescript": "^5.6.3",
|
|
34
34
|
"vitest": "^2.1.4"
|
|
35
35
|
},
|
|
36
|
-
"gitCommitId": "
|
|
36
|
+
"gitCommitId": "04c865c"
|
|
37
37
|
}
|