market: dsh-better-chat 1.0.4 (聊天增强,移除阅读视图)

This commit is contained in:
QQ 2026-11-22 22:16:24 +08:00
parent fe9d0dc05d
commit 3d43b86b8b
4 changed files with 31 additions and 9 deletions

View File

@ -110,7 +110,7 @@
"name": "dsh-better-chat", "name": "dsh-better-chat",
"title": "dsh-better-chat · 聊天增强", "title": "dsh-better-chat · 聊天增强",
"icon": "icons/chat.png", "icon": "icons/chat.png",
"description": "审批卡回车确认 / Esc 拒绝;默认自动审查,并从界面移除「完全权限」选项。", "description": "审批卡快捷键(可自定义)、权限界面移除「完全权限」、插件商店更新按钮。",
"author": "newbie", "author": "newbie",
"homepage": "https://git.qyhhh.top/DeepsSeekHarness/dsh-better-chat", "homepage": "https://git.qyhhh.top/DeepsSeekHarness/dsh-better-chat",
"repository": { "repository": {
@ -127,12 +127,12 @@
}, },
"versions": [ "versions": [
{ {
"version": "1.0.3", "version": "1.0.4",
"publishTimestamp": 1794650324, "publishTimestamp": 1795350555,
"source": { "source": {
"type": "git", "type": "git",
"url": "https://git.qyhhh.top/DeepsSeekHarness/dsh-better-chat", "url": "https://git.qyhhh.top/DeepsSeekHarness/dsh-better-chat",
"commit": "9c0ee58021678dc530bdd21abd4ec10ec955f269" "commit": "418139e5a24e9d25434ad52c4fb69abff0707f4e"
}, },
"engines": {} "engines": {}
} }

View File

@ -58,7 +58,7 @@ const PLUGINS = [
repo: 'dsh-better-chat', repo: 'dsh-better-chat',
branch: 'main', branch: 'main',
title: 'dsh-better-chat · 聊天增强', title: 'dsh-better-chat · 聊天增强',
description: '审批卡回车确认 / Esc 拒绝;默认自动审查,并从界面移除「完全权限」选项。', description: '审批卡快捷键(可自定义)、权限界面移除「完全权限」、插件商店更新按钮。',
keywords: ['chat', 'approval', 'permission'], keywords: ['chat', 'approval', 'permission'],
}, },
{ {

View File

@ -1,6 +1,6 @@
{ {
"format": 1, "format": 1,
"generatedAt": "2026-11-19T02:26:24.000Z", "generatedAt": "2026-11-22T14:15:55.000Z",
"components": [ "components": [
{ {
"id": "dsh-sansheng-liubu", "id": "dsh-sansheng-liubu",
@ -32,11 +32,11 @@
{ {
"id": "dsh-better-chat", "id": "dsh-better-chat",
"package": "dsh-better-chat", "package": "dsh-better-chat",
"version": "1.0.3", "version": "1.0.4",
"repo": "dsh-better-chat", "repo": "dsh-better-chat",
"branch": "main", "branch": "main",
"sourceCommit": "9c0ee58021678dc530bdd21abd4ec10ec955f269", "sourceCommit": "418139e5a24e9d25434ad52c4fb69abff0707f4e",
"publishTimestamp": 1794650324 "publishTimestamp": 1795350555
} }
], ],
"bundle": { "bundle": {

22
sync-better-chat.mjs Normal file
View File

@ -0,0 +1,22 @@
import { readFileSync, writeFileSync } from 'node:fs'
const API='https://git.qyhhh.top/api/v1'
const repo='dsh-better-chat'
const br=await (await fetch(API+'/repos/DeepsSeekHarness/'+repo+'/branches/main')).json()
const commit=br.commit.id
const ts=Math.floor(Date.parse(br.commit.timestamp)/1000)
const pkg=JSON.parse(Buffer.from((await (await fetch(API+'/repos/DeepsSeekHarness/'+repo+'/contents/package.json?ref=main')).json()).content,'base64').toString('utf8'))
console.log('live',pkg.version,commit.slice(0,8),ts)
const idx=JSON.parse(readFileSync('index.json','utf8'))
const p=idx.plugins.find(x=>x.name===repo)
p.title='dsh-better-chat · 聊天增强'
p.description='审批卡快捷键(可自定义)、权限界面移除「完全权限」、插件商店更新按钮。'
p.metadata = p.metadata||{}
p.metadata.keywords=['chat','approval','permission']
p.versions=[{version:pkg.version,publishTimestamp:ts,source:{type:'git',url:'https://git.qyhhh.top/DeepsSeekHarness/'+repo,commit},engines:{}}]
writeFileSync('index.json',JSON.stringify(idx,null,2)+'\n')
const mf=JSON.parse(readFileSync('release-manifest.json','utf8'))
const c=mf.components.find(x=>x.repo===repo)
c.version=pkg.version;c.sourceCommit=commit;c.publishTimestamp=ts;c.branch='main'
mf.generatedAt=new Date().toISOString().replace(/\.\d+Z$/,'.000Z')
writeFileSync('release-manifest.json',JSON.stringify(mf,null,2)+'\n')
console.log('done',p.versions[0].version,c.version,c.sourceCommit.slice(0,8))