Commit Graph

3 Commits

Author SHA1 Message Date
open-design-crew[bot]
3a01f8d23b feat(release): unify OpenMotion packaging and publication (#630)
* feat(release): unify OpenMotion packaging and publication

* docs(release): align operator guidance with the unified workflow

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-19 14:14:33 +08:00
huihui-crypto
8f6a812a2a feat(mcp): index library Skills in the template catalog (#619)
* feat(mcp): index library Skills in the template catalog

Library Skills (library/skills) had no MCP entry point: get_workflow only
reads the six core workflows. list_templates now adds kind=skill rows
and get_template returns the full SKILL.md plus a file inventory, so any
Agent can find a video technique by scenario without a separate install.

- Repository mode returns local paths; hosted/npm mode embeds the
  instructions in the published catalog and pins supporting files to the
  published commit via fileUrls; CMS stays template-only.
- Skills never enter Studio galleries or onboarding recommendations, and
  template creation/apply_template reject Skill IDs with usage guidance.
- The catalog publish workflow also triggers on Skill and card changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(mcp): serve hosted Skill files from the template object store

Hosted/npm Skill supporting files now follow the template source
pattern: the publish script uploads them as content-addressed R2 objects
and get_template returns objects[] with path, bytes, sha256 and url, so
Agents download and verify them like template sources instead of
following unpinned raw GitHub links. Both publish paths (main workflow
and release mode) now pull Skill LFS media before hashing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(mcp): keep the template catalog identity stable with Skills

- index() keeps catalogVersion as the template catalog identity shared
  with gallery and detail; Skills only change the index file name.
  total still counts templates, skillTotal counts appended Skill rows.
- Restore the original MCP capability card copy so its zh-CN
  translation keeps working; Skills guidance lives in tool descriptions
  and docs.
- Only the hosted catalog manifest may reach 16 MB; per-file reads keep
  the 1 MB cap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: zhanghuihua <zhanghuihua@huihuideMacBook-Pro.local>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 22:50:40 +08:00
lefarcen
378f5d5ed1 feat: deliver npm template catalogs from OpenMotion CDN (#458)
* feat: read npm templates from latest GitHub main

* fix: satisfy backend type checks for GitHub catalogs

* fix: keep built-in template detail local for GitHub catalogs

Resolve built-in template IDs before refreshing the remote GitHub catalog so bundled
examples answer without any network request, matching the previous get() path.

Align the public openmotion_list_templates and openmotion_get_template descriptions
and the phase-one tool documentation with the NPM GitHub main source, and make the
new catalog test use oss tmpdir() like the rest of the suite.

Generated-By: looper 0.16.2 (runner=fixer, agent=pi)

* fix: address template catalog review feedback

* feat: serve npm templates through hosted main snapshots

* fix: verify installed template flows and hydrate optional project assets

* docs: authorize automatic main template synchronization

* test: align publication policy checks with automatic template sync

* fix: keep the released template catalog at a versionless URL

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-16 21:55:23 +08:00