Compare commits

..

1 Commits

Author SHA1 Message Date
newbie 3f10571cd1 release: workspace-groups-remote 1.3.0
Pin the standalone plugin entry to v1.3.0 (commit 637c62f on main) after the merged Remote-SSH settings page rework; regenerate index.json from the release manifest.
2026-11-13 11:12:47 +08:00
6 changed files with 74 additions and 103 deletions

View File

@ -14,11 +14,16 @@
## 维护
发新版后重新生成索引(自动读取各仓库分支 HEAD 的提交号与时间):
发布批次统一记录在 `release-manifest.json`(组件版本、固定提交、全家桶版本)。
`make-index.mjs` 优先从该清单生成索引;清单不存在时才回退到读取各仓库分支 HEAD。
发版后:
```sh
node make-index.mjs
node verify-release.mjs --qq-dsh ../QQ-dsh --sources ..
```
生成后把 `index.json` 提交到本仓库即可。索引格式由 DSH 自带的
`@deepseek-ai/dsh-plugin-market-index` 校验器定义。
`verify-release.mjs` 同时检查独立插件索引与 QQ-dsh 全家桶的版本、固定提交和
构建产物是否存在,两个安装渠道不一致时直接失败。生成/校验后把 `index.json`
提交到本仓库即可。索引格式由 DSH 自带的 `@deepseek-ai/dsh-plugin-market-index`
校验器定义。

View File

@ -1,16 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512">
<defs>
<linearGradient id="bg" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#f8a91c"/>
<stop offset="1" stop-color="#d96c06"/>
</linearGradient>
</defs>
<rect width="512" height="512" rx="112" fill="url(#bg)"/>
<ellipse cx="256" cy="70" rx="300" ry="130" fill="#ffffff" opacity="0.08"/>
<g stroke="#ffffff" stroke-width="28" fill="none" stroke-linecap="round">
<path d="M135 183 A148 148 0 0 1 377 183"/>
<path d="M175 212 A99 99 0 0 1 337 212"/>
<path d="M213 239 A52 52 0 0 1 299 239"/>
</g>
<polygon points="276,244 218,330 250,330 232,404 300,308 264,308" fill="#ffffff"/>
</svg>

Before

Width:  |  Height:  |  Size: 731 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

View File

@ -9,10 +9,10 @@
},
"plugins": [
{
"name": "dsh-sansheng-liubu",
"title": "三省六部 · 十席工作台",
"name": "dsh-sansheng-liubu-mode",
"title": "三省六部工作台",
"icon": "icons/sansheng.png",
"description": "每个项目固定十席角色与独立会话:朝堂/任务/成果;部门派工落到真实会话、结果可追溯;模型选择自动记住并持久化;项目共识随每次模型请求注入部门;打开部门复用原会话,缺失时确认重建。",
"description": "十个独立部门会话的派发、审批与三层记忆(部门 / 项目 / 长期),原生 DSH 工作台后端。右侧栏「朝堂」朝堂面板已并入本包,装这一条即可。",
"author": "newbie",
"homepage": "https://git.qyhhh.top/DeepsSeekHarness/dsh-sansheng-liubu",
"repository": {
@ -29,12 +29,12 @@
},
"versions": [
{
"version": "0.5.1",
"publishTimestamp": 1795021540,
"version": "0.14.0",
"publishTimestamp": 1794480735,
"source": {
"type": "git",
"url": "https://git.qyhhh.top/DeepsSeekHarness/dsh-sansheng-liubu",
"commit": "97986b53dcbb3fc43d6996cefca8853b140521f9"
"commit": "efc4a32c758d1df9bb3c22bb53f1359e0d433ab1"
},
"engines": {}
}
@ -62,12 +62,12 @@
},
"versions": [
{
"version": "0.9.10",
"publishTimestamp": 1794643520,
"version": "0.9.4",
"publishTimestamp": 1794537000,
"source": {
"type": "git",
"url": "https://git.qyhhh.top/DeepsSeekHarness/dsh-brain",
"commit": "7d053b2fe9ce911848230d14d8032293a4e8e8c3"
"commit": "ac1e415208d4b64dea01e36b4e1c23c83c0b0ebb"
},
"engines": {}
}
@ -96,7 +96,7 @@
"versions": [
{
"version": "1.3.0",
"publishTimestamp": 1794539395,
"publishTimestamp": 1794539559,
"source": {
"type": "git",
"url": "https://git.qyhhh.top/DeepsSeekHarness/workspace-groups-remote",
@ -108,9 +108,9 @@
},
{
"name": "dsh-better-chat",
"title": "dsh-better-chat · 聊天增强",
"title": "dsh-better-chat · 聊天增强与阅读视图",
"icon": "icons/chat.png",
"description": "审批卡回车确认 / Esc 拒绝;默认自动审查,并从界面移除「完全权限」选项。",
"description": "审批卡快捷键(可自定义)、权限界面移除「完全权限」、插件商店更新按钮,以及合并自 dsh-better-display 的阅读视图(过程折叠、毛玻璃、mcp-app 交互卡片)。",
"author": "newbie",
"homepage": "https://git.qyhhh.top/DeepsSeekHarness/dsh-better-chat",
"repository": {
@ -120,51 +120,20 @@
"keywords": [
"chat",
"approval",
"permission"
"permission",
"reader"
],
"labels": [],
"sortKeys": {}
},
"versions": [
{
"version": "1.0.3",
"publishTimestamp": 1794650324,
"version": "1.0.1",
"publishTimestamp": 1794535495,
"source": {
"type": "git",
"url": "https://git.qyhhh.top/DeepsSeekHarness/dsh-better-chat",
"commit": "9c0ee58021678dc530bdd21abd4ec10ec955f269"
},
"engines": {}
}
]
},
{
"name": "ds-harness-remote-fast",
"title": "ds-harness-remote-fast · 远程极速版",
"icon": "icons/remote-fast.png",
"description": "ds-harness-remote 的极速分支(rainow):主机端首屏快照裁剪,解决大会话帧超限断连;服务端与客户端不用换,加密与配对与原版一致。本仓库为本机中转快照,源头是 GitHub 上的 rainow/ds-harness-remote-fast。",
"author": "newbie",
"homepage": "https://git.qyhhh.top/DeepsSeekHarness/ds-harness-remote-fast",
"repository": {
"url": "https://git.qyhhh.top/DeepsSeekHarness/ds-harness-remote-fast"
},
"metadata": {
"keywords": [
"remote",
"远程",
"fast"
],
"labels": [],
"sortKeys": {}
},
"versions": [
{
"version": "0.6.5-fast.3",
"publishTimestamp": 1794961195,
"source": {
"type": "git",
"url": "https://git.qyhhh.top/DeepsSeekHarness/ds-harness-remote-fast",
"commit": "643716d0cdb6154917291f2afed12b1ce92350e6"
"commit": "5c80061f08cec764131300008d4d5396612936a3"
},
"engines": {}
}

View File

@ -17,12 +17,14 @@
// overwrite); DSH's native update button does not apply to git sources.
//
// node make-index.mjs
import { writeFileSync } from 'node:fs'
import { existsSync, readFileSync, writeFileSync } from 'node:fs'
import { dirname, join } from 'node:path'
import { fileURLToPath } from 'node:url'
const API = 'https://git.qyhhh.top/api/v1'
const WEB = 'https://git.qyhhh.top/DeepsSeekHarness'
const ROOT = dirname(fileURLToPath(import.meta.url))
const MANIFEST = join(ROOT, 'release-manifest.json')
const PLUGINS = [
{
@ -57,18 +59,9 @@ const PLUGINS = [
icon: 'icons/chat.png',
repo: 'dsh-better-chat',
branch: 'main',
title: 'dsh-better-chat · 聊天增强',
description: '审批卡回车确认 / Esc 拒绝;默认自动审查,并从界面移除「完全权限」选项。',
keywords: ['chat', 'approval', 'permission'],
},
{
name: 'ds-harness-remote-fast',
icon: 'icons/remote-fast.png',
repo: 'ds-harness-remote-fast',
branch: 'lite',
title: 'ds-harness-remote-fast · 远程极速版',
description: 'ds-harness-remote 的极速分支(rainow):主机端首屏快照裁剪,解决大会话帧超限断连;服务端与客户端不用换,加密与配对与原版一致。本仓库为本机中转快照,源头是 GitHub 上的 rainow/ds-harness-remote-fast。',
keywords: ['remote', '远程', 'fast'],
title: 'dsh-better-chat · 聊天增强与阅读视图',
description: '审批卡快捷键(可自定义)、权限界面移除「完全权限」、插件商店更新按钮,以及合并自 dsh-better-display 的阅读视图(过程折叠、毛玻璃、mcp-app 交互卡片)。',
keywords: ['chat', 'approval', 'permission', 'reader'],
},
]
@ -79,15 +72,35 @@ async function headOf(repo, branch) {
return { commit: body.commit.id, timestamp: Math.floor(Date.parse(body.commit.timestamp) / 1000) }
}
const release = existsSync(MANIFEST) ? JSON.parse(readFileSync(MANIFEST, 'utf8')) : null
const componentByRepo = new Map()
for (const component of release?.components ?? []) componentByRepo.set(component.repo, component)
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}`)
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'))
if (pkg.name !== plugin.name) throw new Error(`name mismatch for ${plugin.repo}: index says ${plugin.name}, package.json says ${pkg.name}`)
const version = pkg.version
let version
let commit
let timestamp
const pinned = componentByRepo.get(plugin.repo)
if (pinned !== undefined) {
// The checked-in release manifest is the source of truth for a published
// batch: version, commit and index entry are generated from the SAME record.
if (pinned.package !== plugin.name) throw new Error(`release manifest package mismatch for ${plugin.repo}: ${pinned.package} vs ${plugin.name}`)
version = pinned.version
commit = pinned.sourceCommit
timestamp = pinned.publishTimestamp ?? Math.floor(Date.now() / 1000)
if (!/^[0-9a-f]{40}$/i.test(commit)) throw new Error(`release manifest has no pinned commit for ${plugin.repo}`)
} else {
const head = await headOf(plugin.repo, plugin.branch)
const pkgResponse = await fetch(`${API}/repos/DeepsSeekHarness/${plugin.repo}/contents/package.json?ref=${plugin.branch}`)
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'))
if (pkg.name !== plugin.name) throw new Error(`name mismatch for ${plugin.repo}: index says ${plugin.name}, package.json says ${pkg.name}`)
version = pkg.version
commit = head.commit
timestamp = head.timestamp
}
plugins.push({
name: plugin.name,
title: plugin.title,
@ -100,13 +113,13 @@ for (const plugin of PLUGINS) {
versions: [
{
version: version,
publishTimestamp: head.timestamp,
source: { type: 'git', url: `${WEB}/${plugin.repo}`, commit: head.commit },
publishTimestamp: timestamp,
source: { type: 'git', url: `${WEB}/${plugin.repo}`, commit: commit },
engines: {},
},
],
})
console.log(`${plugin.name} ${version} @ ${head.commit.slice(0, 8)}`)
console.log(`${plugin.name} ${version} @ ${String(commit).slice(0, 8)}${pinned ? ' (release-manifest)' : ' (live)'}`)
}
const index = {

View File

@ -1,24 +1,24 @@
{
"format": 1,
"generatedAt": "2026-11-18T17:05:40.000Z",
"generatedAt": "2026-11-13T11:12:39+08:00",
"components": [
{
"id": "dsh-sansheng-liubu",
"package": "dsh-sansheng-liubu",
"version": "0.5.1",
"package": "dsh-sansheng-liubu-mode",
"version": "0.14.0",
"repo": "dsh-sansheng-liubu",
"branch": "release/v0.1",
"sourceCommit": "97986b53dcbb3fc43d6996cefca8853b140521f9",
"publishTimestamp": 1795021540
"branch": "fix/workbench-entry-project-isolation",
"sourceCommit": "efc4a32c758d1df9bb3c22bb53f1359e0d433ab1",
"publishTimestamp": 1794480735
},
{
"id": "dsh-brain",
"package": "dsh-brain",
"version": "0.9.10",
"version": "0.9.4",
"repo": "dsh-brain",
"branch": "main",
"sourceCommit": "7d053b2fe9ce911848230d14d8032293a4e8e8c3",
"publishTimestamp": 1794643537
"sourceCommit": "ac1e415208d4b64dea01e36b4e1c23c83c0b0ebb",
"publishTimestamp": 1794537000
},
{
"id": "workspace-groups-remote",
@ -27,16 +27,16 @@
"repo": "workspace-groups-remote",
"branch": "main",
"sourceCommit": "637c62f1f347bbd65bc0c856e9fc164ff2abc312",
"publishTimestamp": 1794539664
"publishTimestamp": 1794539559
},
{
"id": "dsh-better-chat",
"package": "dsh-better-chat",
"version": "1.0.3",
"version": "1.0.1",
"repo": "dsh-better-chat",
"branch": "main",
"sourceCommit": "9c0ee58021678dc530bdd21abd4ec10ec955f269",
"publishTimestamp": 1794650324
"sourceCommit": "5c80061f08cec764131300008d4d5396612936a3",
"publishTimestamp": 1794535495
}
],
"bundle": {