dsh-opencode-usage-dashboard 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,5 @@
1
+ # 本 bundle 的 patch:把插件作为一条 Host 行插入 profile 根部。
2
+ # 行 id `opencode-quota` 同时是设置项与插件管理里的标识。
3
+ - insert:
4
+ - id: opencode-quota
5
+ name: 'dsh-opencode-usage-dashboard'
package/icon.svg ADDED
@@ -0,0 +1,17 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="64" height="52.8" viewBox="12 17 40 33" role="img" aria-label="OpenCode plan gauge">
2
+ <defs>
3
+ <linearGradient id="oqc-arc" x1="0" y1="0" x2="1" y2="1">
4
+ <stop offset="0" stop-color="#c4b5fd"/>
5
+ <stop offset="1" stop-color="#3b82f6"/>
6
+ </linearGradient>
7
+ <radialGradient id="oqc-glow" cx="50%" cy="50%" r="50%">
8
+ <stop offset="0" stop-color="#8b5cf6" stop-opacity="0.28"/>
9
+ <stop offset="1" stop-color="#8b5cf6" stop-opacity="0"/>
10
+ </radialGradient>
11
+ </defs>
12
+ <path d="M16 40a16 16 0 0 1 32 0" fill="none" stroke="#ede9fe" stroke-width="6" stroke-linecap="round"/>
13
+ <circle cx="32" cy="40" r="10" fill="url(#oqc-glow)"/>
14
+ <path d="M16 40a16 16 0 0 1 22.6-14.8" fill="none" stroke="url(#oqc-arc)" stroke-width="6" stroke-linecap="round"/>
15
+ <circle cx="32" cy="40" r="3.2" fill="#312e81"/>
16
+ <path d="M32 40 41 29" fill="none" stroke="#312e81" stroke-width="2.8" stroke-linecap="round"/>
17
+ </svg>