release: v1.0.1 发布到 npm

- 仓库改名为 dsh-opencode-go-usage(Gitea + GitHub 同名)
- package.json: repository/homepage/bugs 指向 GitHub
- 市场索引 source 切换为 npm,版本 1.0.1
This commit is contained in:
wangjinding committed 2026-11-09 15:31:22 +08:00
1 parent 5078a2dbe5
commit f0875fb4a0
2 files changed
+10 -11

No files matched your search

+5 -7
View File
@@ -32,9 +32,9 @@
"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." "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", "author": "wangjinding",
"homepage": "https://git.wangjinding.com/Jidekin/dsh-opencode-usage", "homepage": "https://github.com/wangjinding/dsh-opencode-go-usage",
"repository": { "repository": {
"url": "https://git.wangjinding.com/Jidekin/dsh-opencode-usage" "url": "https://github.com/wangjinding/dsh-opencode-go-usage"
}, },
"metadata": { "metadata": {
"category": "monitor", "category": "monitor",
@@ -50,12 +50,10 @@
}, },
"versions": [ "versions": [
{ {
"version": "1.0.0", "version": "1.0.1",
"publishTimestamp": 1794207945, "publishTimestamp": 1794209482,
"source": { "source": {
"type": "git", "type": "npm"
"url": "https://git.wangjinding.com/Jidekin/dsh-opencode-usage.git",
"commit": "bf9c67aeb1a36ec77cdbdcd4d33961d188a2854d"
}, },
"engines": { "engines": {
"dsh": ">=0.2.1" "dsh": ">=0.2.1"
+5 -4
View File
@@ -1,6 +1,6 @@
{ {
"name": "@wangjinding/dsh-opencode-go-usage", "name": "@wangjinding/dsh-opencode-go-usage",
"version": "1.0.0", "version": "1.0.1",
"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",
"license": "MIT", "license": "MIT",
@@ -41,13 +41,14 @@
} }
}, },
"author": "wangjinding", "author": "wangjinding",
"homepage": "https://git.wangjinding.com/Jidekin/dsh-opencode-usage", "homepage": "https://github.com/wangjinding/dsh-opencode-go-usage#readme",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://git.wangjinding.com/Jidekin/dsh-opencode-usage.git" "url": "git+https://github.com/wangjinding/dsh-opencode-go-usage.git",
"directory": "."
}, },
"bugs": { "bugs": {
"url": "https://git.wangjinding.com/Jidekin/dsh-opencode-usage/issues" "url": "https://github.com/wangjinding/dsh-opencode-go-usage/issues"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"