Commit Graph
7 Commits
Author SHA1 Message Date
mashagua f3d5f29503 fix(market): 纠正大包可用性、默认预算与许可通知边界 (#357)
## 实际修正

复审 #350/#353/#354/#356 后,纠正 #353 已合目录文案中的边界误导;不改上游交付,不擅自把七项提升为可安装,并反查
#350 同类问题。

- GIF/stickman 区分整库、所选路径、超 1 MiB 文件合计:GIF 整库 883.07 MiB;stickman 整库
911.06 MiB、所选路径 552.59 MiB。原 676/812 MiB 是大文件小计,不是整个包。
- 明确市场 1 MiB/50 MiB/2000 是自动审核预算,不是上游技能能否使用的判定。budgetExemptPaths
不放宽总量。客户端固定 SHA Git 缓存 200/256 MiB 是默认值,内部 limits
可覆盖、不同取源路径有区别,不冒称不可配置绝对限制;不改任何阈值。
- 补齐 stickman 根 MIT LICENSE 不在所选路径内的实际通知携带问题;SAG/pixelfx/94+79+9
合集区分“市场可引用许可明确的上游”与“安装副本需要保留通知”,不暗示原仓库不可用或许可未知。
- 审计注释明确根 LICENSE/NOTICE pathspec 仅是审核证据,不等于客户端附带文件。新增固定源码行链接及离线复制结果说明。

## 反查 #350 后追加纠正

- Agent Reach 的 agent_reach/skill(9 文件)、marketingskills 的 50
个子项、wecom-cli 的 15 个子项均缺根 MIT 通知。PPTX 的模板许可证属于第三方,不能替代 root
LICENSE;已读取两个合集全部 65 个 SKILL.md。拟将三项市场安装暂停为 listing-only,保留原固定
source/合集点选/资源/已知许可及历史许可审核,不伪造安装通过。
- Karpathy 原 README 只有 MIT,而实际路径内原 SKILL.md 同样有 license:
MIT;沿用已接受的一行声明边界,将 evidencePath 改到安装内真实文件,保持可安装,不一刀切降级。
- 网易三个子项各自含 LICENSE.txt,不降级;Follow Builders 整库包含 README 声明,交由现有 #356
校正文案;AI News Radar 显式授权本地包不撤回。

## 不变边界

原 #353 七项的 source/ref/path、合集 94/79/9 与双语子项、已知许可、availability
和准入回执均不变。无上游文件、本地包装、资源删除、自创 fetch、安装器或客户端仓库改动。AI News Radar
是用户明确要求的本地包,不撤回;#356 已处理 Follow Builders 文案,不重复修复。#354 的自动化纠偏追加到其原分支,不在此
PR 重复。

## 验证

- 完整 pytest:200 passed / 397 subtests passed;仅一条环境插件弃用警告。
- catalog --require-complete、validate-i18n、translate --check、git diff
--check 通过。
- 逐项比较七项 source、children、governance、provenance 与 main 完全一致。
- 未执行上游脚本或外部服务,不宣称运行时/安装全部通过。

最终 head:7f4448219f36053abe6e4e1b2faab3fdc382d85d。

仅提交待审,不合并。

远程最终 SHA 检查已完成:validate、translate、wait-for-copilot-review 全部 success。此
JSON/文档差异未调度 CodeQL/Analyze,不把未适用任务伪报为通过。最终改动后已完整重跑 pytest:200 passed /
397 subtests passed。
2026-11-25 10:29:22 +08:00
mashagua 91563b4695 feat(market): 准入 10 项技能,补齐 AI 日报与高德完整安装包 (#350)
- 准入 10 项 installable 技能:agent-reach、dingtalk-api、follow-builders、humanizer-zh、karpathy-guidelines、marketingskills、netease-skills、wecom-cli(原 pin 不变),以及完整 MIT 本地版 ai-news-radar(LearnPrompt/ai-news-radar@689395109cc962a27c369bdd6fa50d1e090eb319)和 ClawHub 1.1.1 完整 ZIP 的 amap-jsapi-skill(sha256 9468743ee18dbe1704e8a98f47f6628d6a4e6acec30a05f0b8f59a07603d011f)。
- 瑞幸、MiniMax 图片/语音、LumaRescue、美团跑腿、Ian 小黑、女娲 继续 listing-only。
- 高德许可按 SKILL.md 的 MIT 声明保守记录,skill-card/ClawHub 写 MIT-0 的差异已在 ADMISSION.md 披露。
- validate、translate 通过;CodeQL 对上游原样 update_news.py 的 5 条告警经 mashagua 确认忽略。
2026-11-24 17:11:50 +08:00
yige 8f7953948f fix: 补齐市场静态事实并保持旧客户端兼容 (#184)
## 中文

补齐已有 owner 与已锁定上游内容可证明的许可证、技能类型和收录版本。保留 Anthropic Source Available
和其他附加条件,不把所有内容统一标为 MIT,不提升 listing-only 的安装准入。

README 保留最新的双语结构及以 manifest 为准的数量口径,增加静态目录不存访问量、下载量、评分或 Stars 的边界。

发布兼容性:**本 PR 不包含**两支团队新增的本地化字段,也不包含微信支付 `latestVersion:
1.0`;旧客户端会拒绝这些新字段,另以待发布 PR 保留,等匹配客户端发布后再合并。

验证:47 项目录校验测试、19 项 i18n 测试、5 项合集生成测试通过;完整目录/i18n/翻译新鲜度检查通过,6
个固定来源合集的生成检查通过,2 个浮动来源按既有规则明确跳过。发现并修复了生成器在 Windows 使用反斜杠造成的误报:输出改为 POSIX
路径,比较规则不放宽、不重写合集数据。

## English

Fill only license, type and listed-release facts supported by existing
owners or pinned upstream content. Preserve custom license restrictions
and acquisition eligibility. Keep the current bilingual README and
manifest-derived inventory; do not author usage analytics.

This PR deliberately excludes localized team fields and the two-part
WeChat Pay version that older clients reject. Those changes remain
pending a compatible client release.

Validation passes: 47 catalog-validator tests, 19 i18n tests, five
collection-generator tests, complete catalog and translation checks, and
generated inventory checks for six pinned collections. Two mutable
sources remain explicitly skipped. Fix Windows-generated path separators
without weakening comparison or changing declared children.
2026-09-22 01:09:03 +08:00
yige a205ef20f0 feat: 迁移统一目录元数据契约 (#102)
## 中文

- 为 System Agent、34 个 Builtin Skill、28 个 Pointer/Collection 条目增加 catalog
sidecar
- 覆盖 147 个 collection child,并固定可证明的来源;无法证明的内容保持 listing-only/unknown
- 增加 strict Schema、validator、collection check 与 CI 完整性门禁

## English

- Add catalog metadata sidecars for the System Agent, 34 built-in
Skills, and 28 pointer/collection entries
- Cover 147 collection children while keeping unverifiable facts
listing-only or unknown
- Add strict schemas, validators, deterministic collection checks, and
CI completeness gates

## 验证 / Verification

- Catalog validator 17/17
- Collection generator 4/4
- 63 sidecars, 147 children, zero errors
2026-08-31 04:10:49 -04:00
yige f8d6ddeaf3 feat(market): 为外部技能补充图标 (#50)
## Summary / 摘要

Add inline SVG icons to all 20 external pointer skills, so their cards
no longer fall back to an empty icon. The market catalog version is
bumped from `1.2.8` to `1.2.9`.

为全部 20 个外部 pointer skill 补齐内联 SVG 图标,市场卡片不再显示为空;市场版本由 `1.2.8` 升至
`1.2.9`。

## Compatibility / 兼容性

Depends on desirecore/desirecore#1177, which permits the `icon` field in
strict pointer-entry validation and forwards it through the offline
list/detail responses. That PR must merge first.

## Skill → icon screenshot / Skill 与图标截图

The preview labels every card with its display name and id.

![External skill icon
preview](https://raw.githubusercontent.com/desirecore/market/feat/external-skill-icons/docs/assets/external-skill-icons-v1.2.9.svg)

Covered skills: `agent-reach`, `ai-news-radar`, `amap-jsapi-skill`,
`dingtalk-api`, `flyai-skill`, `follow-builders`,
`ian-xiaohei-illustrations`, `karpathy-guidelines`, `khazix-skills`,
`larksuite-cli`, `last30days`, `luckin-my-coffee`, `mattpocock-skills`,
`minimax-image-gen`, `minimax-tts`, `mt-paotui-for-client`,
`netease-skills`, `taste-skill`, `wechatpay-skills`, and `wecom-cli`.

## Validation / 验证

- `uv run scripts/i18n/validate-i18n.py`
- `uv run scripts/i18n/translate.py --check`
- Parsed all 20 `entry.json` icons as SVG XML
- `git diff --check`
- Rendered the committed preview asset locally
2026-07-16 19:59:41 +08:00
yige f9ca713ce2 fix(skills): add latestVersion and i18n to karpathy-guidelines / last30days pointer entries (#47)
## Summary / 摘要

Complete the two pointer entries added in #46 with `latestVersion` and
`i18n` blocks.

补全 #46 新增的两个 pointer 条目的 `latestVersion` 与 `i18n` 字段。

## Why / 原因

- **latestVersion**: `karpathy-guidelines` upstream `SKILL.md` has no
root-level `version`, so the client records `0.0.0` on install and the
update check (`0.0.0 == 0.0.0`)永远判定已最新——updates would be silently
skipped forever. Registering `latestVersion` here enables the
client-side fallback (shipping separately in the desirecore repo).
`karpathy-guidelines` 上游无根级 version,客户端装出来是 0.0.0 且更新判定永远跳过;在市场登记
latestVersion 配合客户端 fallback 修复。
- **i18n**: per ADR-038, market list localization must work offline from
`entry.json` alone. Both entries previously lacked `i18n`, so the list
shortDesc would render empty.
  按 ADR-038 列表本地化需离线可用,此前两条目缺 i18n,列表简介为空。

## Changes / 变更

- `skills/karpathy-guidelines/entry.json`: `latestVersion: 1.0.0` +
zh-CN/en-US `i18n`
- `skills/last30days/entry.json`: `latestVersion: 3.11.1`(与上游一致)+
zh-CN/en-US `i18n`

## Testing / 测试

- Both files validated against `marketSkillEntrySchema` (Ajv, desirecore
repo) — VALID.

- [x] I have read and agree to the CLA
2026-07-11 20:29:40 +08:00
mashagua 2167fe2525 feat(skills): add karpathy-guidelines and last30days as pointer entries (#46)
## Summary

Add two community skills as **metadata-only pointer entries**, following
ADR-038 (market stores only `entry.json` + source pointer for
third-party content; no source vendored into the repo).

| id | upstream | stewardship | license | redistribution |
|----|----------|-------------|---------|----------------|
| `karpathy-guidelines` |
[multica-ai/andrej-karpathy-skills](https://github.com/multica-ai/andrej-karpathy-skills)
| community | MIT | allowed |
| `last30days` |
[mvanhorn/last30days-skill](https://github.com/mvanhorn/last30days-skill)
| community | MIT | allowed |

## Changes

- `skills/karpathy-guidelines/entry.json` — pointer to
`skills/karpathy-guidelines` on branch `main`
- `skills/last30days/entry.json` — pointer to `skills/last30days` on
branch `main`
- `manifest.json` — `totalSkills` 45 → 47, `lastUpdated` bumped

## ADR-038 compliance

- No upstream source tree vendored; only `entry.json` metadata +
`source` git pointer.
- Required fields present: `stewardship` / `license` / `redistribution`.
- Both upstreams are MIT and `redistribution: allowed`; content is
fetched from upstream at install time.

## Testing

- Validated both `entry.json` files are well-formed JSON.
- `source.path` usage matches existing precedent (e.g. `minimax-tts`,
`minimax-image-gen`).
2026-07-11 19:48:04 +08:00