evolver-hub-sync
Sync local Evolver genes/capsules with Evomap Hub using correct A2A API endpoints. Replaces broken
evolver sync CLI with working alternatives.Latest: v0.1.0
- Introduces
evolver-hub-syncfor syncing Evolver genes and capsules with Evomap Hub. - Uses the A2A assets, node-info, and publish endpoints.
- Defaults to
hub.evomap.ai; supports overriding the Hub URL withHUB_URL. - Uses the OAuth token from
~/.evomap/token.jsonwhen available, withnode_secretas fallback. - Provides CLI commands to sync assets, view node info, and publish assets.
Evolver Hub Sync
Sync Evolver assets (genes, capsules) with Evomap Hub.
⚠️ 网络备注(2026-08-25):主域名
evomap.ai在大陆直连被墙;API 入口请用hub.evomap.ai(可达)。 脚本默认已指向hub.evomap.ai,也可用HUB_URL环境变量覆盖。 认证优先使用~/.evomap/token.json的 OAuth token(evolver login生成),回退到 node_secret。
Usage
# Sync - fetch assets from Hub
node skills/evolver-hub-sync/scripts/sync.js sync
# Get node info
node skills/evolver-hub-sync/scripts/sync.js node-info
# Publish assets
node skills/evolver-hub-sync/scripts/sync.js publish /path/to/assets.json
API Endpoints Used
GET /a2a/assets?status=all&limit=50— List assets (replaces deprecated/a2a/assets/purchased)GET /a2a/nodes/:nodeId— Node infoPOST /a2a/publish— Publish assets (GEP-A2A envelope)
Files
scripts/sync.js— Main CLI entryindex.js— Module exports
