Commit Graph
5 Commits
Author SHA1 Message Date
mashagua ff87cdace2 catalog: 为 4 个合作方技能补写当前固定快照的准入回执 / Add admission receipts for four partner skills at their current pins (#327)
这是一次**首次准入**(`listing-only` → `installable`),只为目录里**当前已固定的旧 SHA**
补写可继承的许可与准入回执,**不是快照升级**。`provenance.content.ref` 和 `entry.json` 的
`source.ref` 都没有改动。

This is a first-time admission (`listing-only` → `installable`). It
writes inheritable license/admission receipts for the **current catalog
pins only**. It is **not a snapshot bump**: `provenance.content.ref` and
`entry.json` `source.ref` are unchanged.

覆盖的技能 / Skills included(均为当前 main pin):

- **dingtalk-cli** `38d49e4e68997bca23621a272a27b0fbbfbed668`  
根目录完整 Apache-2.0 `LICENSE`,以及根 `NOTICE`(含嵌入的 A2UI 协议声明、OpenSSL /
SafeChat 静态库说明、Unicode 派生数据、regexp2 MIT 通知)。再分发仍为
`verify-package-terms`。合集 16 个子技能路径均在 `skills/multi/*`,并均有
`SKILL.md`。按仓库说明,安装复制的是声明的子技能路径加上根 `LICENSE*` / `NOTICE*`,**不打包、不安装钉钉
CLI 二进制或第三方静态库**。现有 OAuth / 自行安装 `dingtalk-workspace-cli` 的使用前提保持不变。写入
`compliance.noticePath: NOTICE`。
- **larksuite-cli** `a92db8779c0959bc14beb69d82fb262123cfb79b`  
根目录完整 MIT `LICENSE`(Copyright 2026 Lark Technologies Pte. Ltd.)。28
个子技能路径均在 `skills/*` 且均有 `SKILL.md`;未发现需一并打包的 CLI 二进制。现有“另行安装 lark-cli
并完成飞书/Lark 授权”的说明保持不变。
- **wechatpay-skills** `039b0ae50d6b5d4631be8ea991155f8a7958a2d9`  
仓库根目录完整 MIT `LICENSE.md`(Copyright 2024–2025 WeChat Pay),技能路径为
`wechatpay-payment-integration`(含 `SKILL.md`
及所引用的同步/签名脚本)。现有官方知识库同步、另行安装官方 CLI、商户凭据与明确同意等前提保持不变。
- **flyai-skill** `86fe2cc3e25464d0e0bd6a769b27b5f9f3b04128`  
仓库根目录完整 MIT `LICENSE`(Copyright 2026 alibaba-flyai),技能路径为
`skills/flyai`(均为说明文档)。上游 `SKILL.md` 要求另行 `npm i -g @fly-ai/flyai-cli`
并调用飞猪 MCP / FlyAI 服务;本次在 sidecar `compatibility.requirements`
与中英简介中补齐了该披露,避免可安装后被理解成已捆绑 CLI 或服务会自动可用。可选 `FLYAI_API_KEY`,条款和费用另计。

每份回执都在当前 pin 上重读了许可文件(钉钉还重读了根 NOTICE 及 aicard 内嵌 A2UI
LICENSE/NOTICE):`governance.availability` 改为 `installable`,并写入
`compliance`(`licenseEvidencePath`、`reviewedRef` = 当前旧 SHA、`reviewedAt`
= 2026-11-22、`reviewedBy` = mashagua,沿用
[#280](https://github.com/desirecore/market/pull/280)
的回执约定、`upstreamEndorsed` = false)。同时更新了 `timestamps.catalogUpdatedAt` 与
`timestamps.reviewedAt`;`timestamps.upstreamObservedAt` 与 pin 均未改。

Each receipt re-reads the license file at the current pin (DingTalk also
re-reads the root NOTICE and the nested A2UI license/notice), sets
`availability` to `installable`, and adds `compliance` bound to that pin
(`reviewedBy` = mashagua, following the #280 receipt convention;
`reviewedAt` = 2026-11-22; `upstreamEndorsed` = false).
`catalogUpdatedAt` and `reviewedAt` are updated; `upstreamObservedAt`
and the pins are unchanged.

这是目录来源、许可、再分发与结构化元数据复核,**不执行上游代码,不代表软件安全认证或真实运行验收**,也不表示相关 CLI
或第三方服务会随市场安装自动可用。

This is a source/license/redistribution and structured-metadata review.
It does not execute upstream code and is not a software security
certification or runtime acceptance. Installing these listings still
requires the operator to install and authorize the third-party
CLIs/services separately.

**请不要改动或把现有 PR 标成可审查(Ready),包括
[#310](https://github.com/desirecore/market/pull/310)、[#311](https://github.com/desirecore/market/pull/311)
以及 wechatpay 上游快照草稿
[#326](https://github.com/desirecore/market/pull/326) 等。** 本 PR 先不合入。等本
PR 合入 main 后,再另跑 Upstream Health;核验通过的更新才会得到正式 PR。如果新 SHA
还有许可、Notice、依赖、简介或合集成员等结构化变化,仍需专项复核,草稿应继续保持草稿。

**Leave existing PRs untouched, including #310, #311, and draft snapshot
PRs such as #326. Do not mark those drafts ready.** This PR should not
be merged yet. After it lands on main, re-run Upstream Health in a later
step. Only then can a passing snapshot become a ready-for-review PR. If
a newer SHA still has license, NOTICE, dependency, presentation, or
collection-membership changes, those drafts must stay draft for a
special review.

未纳入本次:Follow Builders、钉钉 API、Karpathy 编码准则(仍无独立许可证,不编造许可回执)。

Out of scope: follow-builders, dingtalk-api, and karpathy-guidelines
(still no independent license text; no license receipts invented).

验证 / Validation

- `uv run scripts/catalog/validate_catalog_metadata.py
--require-complete`:0 error(s), 109 warning(s)(均为既有警告;本次 4 项无新的
error,larksuite-cli 合集子项 i18n-freshness 为既有警告)
- `uv run scripts/i18n/validate-i18n.py`:0 error(s), 109 warning(s)
- `uv run scripts/i18n/translate.py --check skills/flyai-skill
skills/dingtalk-cli skills/larksuite-cli skills/wechatpay-skills`:通过
- `uv run scripts/catalog/test_validate_catalog_metadata.py`:62/62 通过
2026-11-22 13:26:46 +08:00
yige 26a3a4a82a fix: 修复上游健康巡检并同步已审查的市场引用 (#207)
Upstream health checks could select a different branch ending in `main`,
index internal skills or lowercase reference documents, treat a valid
pinned path as broken after an upstream move, and close the tracking
issue while unpinned or unknown entries remained. Resolve exact refs and
tracked filenames, compare the installed snapshot, and drive issue
decisions from structured results.

Refresh 26 reviewed pointers, pin DingTalk and Matt Pocock collections,
remove the deleted merge-conflict skill, and add the six new public
children with reviewed translations. Synchronize sidecars, observed
release facts, license evidence and external dependency disclosures.
Identical-tree Agent pins and their versions remain unchanged. The
per-entry review is recorded in
`docs/upstream-health-189-remediation.md`.

Validation: 99 unit tests pass; all nine pinned collections reproduce;
catalog/i18n and translation-freshness checks pass; online health checks
all 41 external entries with zero broken, actionable or unknown results.
Existing catalog warnings decrease from 123 to 105 with no new warning
groups. Python/workflow shell syntax and whitespace checks pass.

Closes #189.
2026-10-05 23:13:13 +08:00
yige 43384e24f4 fix(skills): flyai-skill 补 source.path 与 i18n,修复详情页空白 (#54)
## 问题

FlyAI(flyai-skill)在客户端市场详情页显示为空白(无描述、无技能文档正文)。

## 根因

- `source.path` 未设置:上游仓库 `alibaba-flyai/flyai-skill` 的 `SKILL.md` 实际位于
`skills/flyai/` 子目录(目录名为 `flyai`,而非与 entry id 同名的 `flyai-skill`)。抓取逻辑在
`path` 为空时退化为在仓库根目录查找 `SKILL.md`,而根目录并无该文件,导致抓取静默失败、`body` 保持为空。
- 缺少 `i18n` 字段:`shortDesc`/`name` 本地化文案缺失,列表与详情页描述行同样为空。

两者叠加,加上客户端对空字段没有兜底文案,最终表现为详情页视觉上完全空白。

## 修改

- 补充 `source.path: "skills/flyai"`,对齐上游真实目录结构
- 补充 `i18n.zh-CN` / `i18n.en-US` 的 `name` + `shortDesc`(内容取自上游
`SKILL.md` frontmatter 的 `description` 字段整理)
- 补充 `latestVersion: "1.0.15"`(对齐上游 `SKILL.md` frontmatter
`metadata.version`)

## 验证

- `python3 scripts/i18n/validate-i18n.py skills/flyai-skill` 通过
- `python3 scripts/i18n/validate-i18n.py skills/flyai-skill --online`
通过(确认 `source.path` 指向的文件真实可抓取)

## Test plan
- [x] 本地校验脚本通过(含 --online)
- [ ] DesireCore 主仓库 `npm run sync-market` 后在客户端验证详情页正常展示
2026-07-19 00:45:05 +08: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
yigeandyi-ge 14ca6385af feat: 市场转型为元数据注册表(pointer entry + 许可署名) (#33)
## 概述 / Summary

把 market 从「内容仓库」转型为「元数据注册表」的仓库侧改动,配合客户端 PR

[desirecore/desirecore#919](https://github.com/desirecore/desirecore/pull/919)
与

[ADR-038](https://github.com/desirecore/desirecore-docs/blob/main/技术/决策/ADR-038-市场元数据注册表与两层技能模型.md)。

原则:market 只放元数据、不放第三方内容;内置技能仍 bundled(有界例外)。每条第三方条目用
`entry.json`(元数据 + `source` 指针),正文放各自源仓库、安装时按需获取。

## 改动 / Changes

### S10 — minimax 迁出为官方独立仓库
- `minimax-image-gen` / `minimax-tts`(均 `author=desirecore`)迁至新建的官方开源仓库

**[desirecore/skills-minimax](https://github.com/desirecore/skills-minimax)**(MIT,monorepo,
  一仓多技能)。
- market 改用 `skills/<id>/entry.json` 的 pointer 引用(`source.path`
指入子目录,`ref` 锁定
  commit `6e39eee`),删除内联 `SKILL.md`。

### S11 — 许可署名合规
- 新增根 `LICENSE`(MIT)与 `THIRD_PARTY_NOTICES.md`。
- 标注 Anthropic **docx/pdf/pptx/xlsx 为 source-available(非开源、仅供演示参考)**、
frontend-design 等为 Apache-2.0;每条 entry 的 `license`/`redistribution`
为单条真相源。

### S12 — 外部技能改为纯 pointer(取代 #32 的 vendoring)
- 把 [#32](https://github.com/desirecore/market/pull/32) 的 10 个外部技能写成
`entry.json`
  pointer(**不再 vendor 上游源码**):
  - MIT/MIT-0 → `partner`/`community` + `allowed`
  - 无声明许可(meituan / netease)→ `pointer` + `source-pointer-only`
  - luckin 打包产物 → `pointer` + `verify-package-terms`(`source.kind=zip`)

## 说明 / Notes

- 外部条目的 `name`/`category` 为基于上游 URL 的合理初值,后续可随上游元数据完善。
- 客户端(#919)已支持 `entry.json` 读/装与体积守护栏;本 PR 合并后,主仓库需重新
  `npm run sync-market` 重打包 `defaults/market.zip`。

> 注:`follow-builders`(zarazhangrui/follow-builders, MIT)是 #32
`external-skills.json` 外部技能集合中的一员,属本次迁移范畴,非额外引入。

Co-authored-by: yi-ge <jackyoncode@gmail.com>
2026-06-28 21:06:20 +08:00