gabriel / muse public
feat BREAKING dev
gabriel · 64 days ago · Apr 12, 2026 · Diff

feat: add pack_origin remote config for Cloudflare Worker pack routing

Adds an optional pack_origin field to remote entries in .muse/config.toml. When set, POST /push/object-pack calls are routed to that origin (e.g. a Cloudflare Worker) instead of the primary remote URL. The /{owner}/{slug} path is preserved from the primary URL so the MWP path structure is unchanged.

Changes: - RemoteEntry: add pack_origin field - RemoteConfig: make total=False, add optional pack_origin field - _load_config: read pack_origin from remote entry TOML - get_remote_pack_origin: new function to retrieve pack_origin for a remote - list_remotes: include pack_origin when present - _push_objects_as_packs: accept pack_origin param, swap URL origin before upload - _push_mwp: accept and thread pack_origin through to _push_objects_as_packs - run: read pack_origin from config and pass to _push_mwp

sha256:c3c06739ddedcf235dad3b3e1a46124c3944930fc8a54d1c9aaa9214562e6004 sha
sha256:4ed291fd0cc330ce8e5e85d1d6774884f3185b85b62b208a8d81836e75213366 snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:c3c06739ddedcf235dad3b3e1a46124c3944930fc8a54d1c9aaa9214562e6004 --body "your comment"