From ad5a2cfc5bb39eeebc248101c399d9cd40588ffd Mon Sep 17 00:00:00 2001 From: qyh15 Date: Wed, 25 Nov 2026 19:20:56 +0800 Subject: [PATCH] Fix Sansheng 1.1.0 marketplace install source --- index.json | 2 +- make-index.mjs | 6 +++--- release-manifest.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/index.json b/index.json index 85cf75f..22cdf4c 100644 --- a/index.json +++ b/index.json @@ -34,7 +34,7 @@ "source": { "type": "git", "url": "https://git.qyhhh.top/DeepsSeekHarness/dsh-sansheng-liubu", - "commit": "216a750fd82b853acc6d2313711c3e98b4d3b22f" + "commit": "3b3c8fe75ddb390d4ba79a52d16b208f8453c2b7" }, "engines": {} } diff --git a/make-index.mjs b/make-index.mjs index db0bf08..0af8c05 100644 --- a/make-index.mjs +++ b/make-index.mjs @@ -29,7 +29,7 @@ const PLUGINS = [ name: 'dsh-sansheng-liubu', icon: 'icons/sansheng.png', repo: 'dsh-sansheng-liubu', - branch: 'master', + branch: 'release/v1.1.0', title: '三省六部 · 十席工作台', description: '每个项目固定十席角色与独立会话:朝堂/任务/成果;丞相需求门控(需求清单、明确发布/批准后派工)与 Grill Me 自动追问;部门派工落到真实会话、结果可追溯;模型选择自动记住并持久化;项目共识随每次模型请求注入部门;打开部门复用原会话,缺失时确认重建。', keywords: ['workbench', 'sansheng', '三省六部'], @@ -73,7 +73,7 @@ const PLUGINS = [ ] async function headOf(repo, branch) { - const response = await fetch(`${API}/repos/DeepsSeekHarness/${repo}/branches/${branch}`) + const response = await fetch(`${API}/repos/DeepsSeekHarness/${repo}/branches/${encodeURIComponent(branch)}`) if (!response.ok) throw new Error(`branch lookup failed for ${repo}/${branch}: HTTP ${response.status}`) const body = await response.json() return { commit: body.commit.id, timestamp: Math.floor(Date.parse(body.commit.timestamp) / 1000) } @@ -82,7 +82,7 @@ async function headOf(repo, branch) { const plugins = [] for (const plugin of PLUGINS) { const head = await headOf(plugin.repo, plugin.branch) - const pkgResponse = await fetch(`${API}/repos/DeepsSeekHarness/${plugin.repo}/contents/package.json?ref=${plugin.branch}`) + const pkgResponse = await fetch(`${API}/repos/DeepsSeekHarness/${plugin.repo}/contents/package.json?ref=${head.commit}`) if (!pkgResponse.ok) throw new Error(`package.json fetch failed for ${plugin.repo}: HTTP ${pkgResponse.status}`) const pkgFile = await pkgResponse.json() const pkg = JSON.parse(Buffer.from(pkgFile.content, 'base64').toString('utf8')) diff --git a/release-manifest.json b/release-manifest.json index b3d60e5..4443ac5 100644 --- a/release-manifest.json +++ b/release-manifest.json @@ -7,8 +7,8 @@ "package": "dsh-sansheng-liubu", "version": "1.1.0", "repo": "dsh-sansheng-liubu", - "branch": "master", - "sourceCommit": "216a750fd82b853acc6d2313711c3e98b4d3b22f", + "branch": "release/v1.1.0", + "sourceCommit": "3b3c8fe75ddb390d4ba79a52d16b208f8453c2b7", "publishTimestamp": 1795591325 }, {