diff --git a/runtime.lock.json b/runtime.lock.json index 07d4df6a..84ce6645 100644 --- a/runtime.lock.json +++ b/runtime.lock.json @@ -3,6 +3,7 @@ "sourceRef": "v0.0.1", "sourceRepository": "777genius/agent_teams_orchestrator", "releaseRepository": "777genius/claude_agent_teams_ui", + "releaseTag": "v1.2.0", "assets": { "darwin-arm64": { "file": "agent-teams-runtime-darwin-arm64-v0.0.1.tar.gz", diff --git a/scripts/dev-with-runtime.mjs b/scripts/dev-with-runtime.mjs index bf2cf46b..2150756c 100644 --- a/scripts/dev-with-runtime.mjs +++ b/scripts/dev-with-runtime.mjs @@ -96,7 +96,10 @@ function getPlatformAssetKey() { } function getReleaseAssetUrl(runtimeLock, asset) { - return `https://github.com/${runtimeLock.releaseRepository}/releases/download/${runtimeLock.sourceRef}/${encodeURIComponent(asset.file)}`; + const releaseTag = typeof runtimeLock.releaseTag === 'string' && runtimeLock.releaseTag.trim().length > 0 + ? runtimeLock.releaseTag.trim() + : runtimeLock.sourceRef; + return `https://github.com/${runtimeLock.releaseRepository}/releases/download/${releaseTag}/${encodeURIComponent(asset.file)}`; } function ensureDir(dirPath) {