fix: 修复配置算力技能图标 (#48)

## 修改内容

- 将“配置算力”技能的芯片图标调整为对称的 9/15 引脚布局
- 为图标边缘保留安全距离,避免缩放时出现贴边或裁切
- 将技能版本更新至 1.0.2,并补充变更记录

## 根因

原图标左右引脚使用了不对称的坐标,并延伸至 viewBox 的 1/23 边缘;在市场卡片缩放渲染时容易产生视觉偏移或裁切。

## 验证

- `python scripts/i18n/validate-i18n.py`
- YAML frontmatter 与内联 SVG XML 解析
- `git diff --check`
This commit is contained in:
2026-07-11 20:42:20 +08:00
committed by GitHub
parent 0518fb0c28
commit 5ab2994664
2 changed files with 11 additions and 3 deletions

View File

@@ -1,5 +1,13 @@
# Changelog
## [1.0.2] - 2026-07-11
- 修复“配置算力”市场图标引脚不对称且贴近 viewBox 边缘导致的显示异常
## [1.0.1] - 2026-07-07
- 补充英文本地化 `source_hash`,支持市场 i18n 一致性校验
## [1.0.0] - 2026-07-07
- 首个版本:通过 Agent Service HTTP API 配置算力供应商与 API Key

View File

@@ -6,7 +6,7 @@ description: >-
(write-only), verify them, and reload the configuration. Use when the user
asks to add or configure a model provider, set an API key, or fix compute
configuration. 用户要求配置算力、添加模型供应商或设置 API Key 时使用。
version: 1.0.1
version: 1.0.2
type: meta
risk_level: medium
status: enabled
@@ -18,7 +18,7 @@ tags:
- meta
metadata:
author: desirecore
updated_at: '2026-07-07'
updated_at: '2026-07-11'
i18n:
default_locale: en-US
source_locale: zh-CN
@@ -47,7 +47,7 @@ metadata:
source_hash: sha256:15e9247a2c27edf7
market:
icon: >-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#007AFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="4" width="16" height="16" rx="2"/><rect x="9" y="9" width="6" height="6"/><line x1="9" y1="1" x2="9" y2="4"/><line x1="15" y1="1" x2="15" y2="4"/><line x1="9" y1="20" x2="9" y2="23"/><line x1="15" y1="20" x2="15" y2="23"/><line x1="20" y1="9" x2="23" y2="9"/><line x1="20" y1="14" x2="23" y2="14"/><line x1="1" y1="9" x2="4" y2="9"/><line x1="1" y1="14" x2="4" y2="14"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#007AFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="4" width="16" height="16" rx="2"/><rect x="9" y="9" width="6" height="6" rx="1"/><path d="M9 2v2M15 2v2M9 20v2M15 20v2M2 9h2M2 15h2M20 9h2M20 15h2"/></svg>
category: productivity
channel: latest
maintainer: