chore: 改为 dsh-opencode-usage-go(原名已被占用)+ 加市场索引

- npm 上 dsh-opencode-usage / dsh-opencode-go-usage 均已被他人占用
- 补 author / homepage / repository / bugs 字段
- 新增 market-index.json(format 1,git source)
This commit is contained in:
wangjinding committed 2026-11-09 15:05:45 +08:00
1 parent 2994a20bb0
commit c54769dac1
2 files changed
+66 -1

No files matched your search

+56
View File
@@ -0,0 +1,56 @@
{
"format": 1,
"title": {
"zh-CN": "wangjinding 的 DSH 插件",
"en": "wangjinding's DSH Plugins"
},
"description": {
"zh-CN": "自建插件市场源",
"en": "Self-hosted DSH plugin market"
},
"metadata": {
"categories": {
"monitor": {
"title": { "zh-CN": "监控与用量", "en": "Monitoring & Usage" }
}
},
"labels": {},
"sortKeys": {}
},
"plugins": [
{
"name": "dsh-opencode-usage-go",
"title": {
"zh-CN": "OpenCode Go 用量",
"en": "OpenCode Go Usage"
},
"description": {
"zh-CN": "在 DSH 左侧栏底部看 OpenCode Go 套餐用量:滚动/本周/本月三条配额的已用百分比与重置倒计时,标题旁显示本月重置日,带 SVG 刷新按钮与 60 秒自动刷新。另提供 opencode_usage 工具。直连 opencode.ai,API Key 不经过浏览器。",
"en": "OpenCode Go quota usage in the DSH left sidebar: rolling/weekly/monthly percentages with reset countdowns, a month reset date, an SVG refresh button, and 60s auto-refresh. Also ships an opencode_usage tool. Talks to opencode.ai directly; the API key never reaches the browser."
},
"author": "wangjinding",
"homepage": "https://git.wangjinding.com/Jidekin/dsh-opencode-usage",
"repository": {
"url": "https://git.wangjinding.com/Jidekin/dsh-opencode-usage"
},
"metadata": {
"category": "monitor",
"keywords": ["dsh", "opencode", "usage", "quota", "sidebar"],
"labels": [],
"sortKeys": {}
},
"versions": [
{
"version": "1.0.0",
"publishTimestamp": 1794207945,
"source": {
"type": "git",
"url": "https://git.wangjinding.com/Jidekin/dsh-opencode-usage.git",
"commit": "2994a20bb077e0179505bdda228c2665efe22a52"
},
"engines": { "dsh": ">=0.2.1" }
}
]
}
]
}
+10 -1
View File
@@ -1,5 +1,5 @@
{ {
"name": "dsh-opencode-usage", "name": "dsh-opencode-usage-go",
"version": "1.0.0", "version": "1.0.0",
"description": "OpenCode Go 套餐用量查看:DSH 左侧栏卡片(滚动/本周/本月三条配额进度条 + 重置倒计时 + 刷新按钮),并提供 opencode_usage 工具与 /plugin/opencode-usage 接口。直连 opencode.ai,API Key 不经过浏览器。", "description": "OpenCode Go 套餐用量查看:DSH 左侧栏卡片(滚动/本周/本月三条配额进度条 + 重置倒计时 + 刷新按钮),并提供 opencode_usage 工具与 /plugin/opencode-usage 接口。直连 opencode.ai,API Key 不经过浏览器。",
"type": "module", "type": "module",
@@ -39,5 +39,14 @@
], ],
"platform": "web" "platform": "web"
} }
},
"author": "wangjinding",
"homepage": "https://git.wangjinding.com/Jidekin/dsh-opencode-usage",
"repository": {
"type": "git",
"url": "https://git.wangjinding.com/Jidekin/dsh-opencode-usage.git"
},
"bugs": {
"url": "https://git.wangjinding.com/Jidekin/dsh-opencode-usage/issues"
} }
} }