@love-moon/conductor-sdk 0.7.1 → 0.7.3

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @love-moon/conductor-sdk
2
2
 
3
+ ## 0.7.3
4
+
5
+ ## 0.7.2
6
+
7
+ ### Patch Changes
8
+
9
+ - 80c5255: Canonicalize every GitHub SSH host alias (`github.com`, `github-*`,
10
+ `github.com-*`) to `github.com` when normalizing git remote URLs. GitHub
11
+ identifies a repository solely by its `owner/repo` path, so the same repo cloned
12
+ through different SSH aliases (e.g. `github-dang217` vs `github-duinodu`) now
13
+ merges across daemons by owner/repo instead of being blocked by a hardcoded
14
+ per-alias allowlist. Non-GitHub hosts (gitlab.com, self-hosted, GitHub
15
+ Enterprise) are left untouched so unrelated repos never merge.
16
+
3
17
  ## 0.7.1
4
18
 
5
19
  ### 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 used for GitHub remotes in our deployments.
202
- if (normalized === 'github-duinodu') {
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.1",
3
+ "version": "0.7.3",
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": "7e2be9c"
36
+ "gitCommitId": "8081263"
37
37
  }