Skip to content

Comments

Add flexible URL support for environment configurations#49

Merged
alex-feel merged 2 commits intomainfrom
alex-feel-dev
Sep 4, 2025
Merged

Add flexible URL support for environment configurations#49
alex-feel merged 2 commits intomainfrom
alex-feel-dev

Conversation

@alex-feel
Copy link
Owner

No description provided.

- Support full URLs in all resource fields (agents, commands, output-styles, hooks, system-prompts)
- Add base-url override option to specify custom resource base
- Implement smart URL derivation from config source
- Priority: full URLs > base-url > derived from source > default repo
- Maintain authentication across all resource fetches
- Support GitLab API URL encoding for file paths
- Add comprehensive documentation and examples

This allows users to:
- Load configs from one repo while fetching resources from others
- Mix resources from multiple sources in a single config
- Use private repositories with consistent authentication
- Make base-url more user-friendly by automatically adding {path}
- Users can now use: base-url: https://example.com/configs
- Instead of requiring: base-url: https://example.com/configs/{path}
- Still supports explicit {path} placement for custom patterns
- Update documentation to show both usage patterns

This simplifies configuration and prevents user errors from forgetting {path}
@alex-feel alex-feel enabled auto-merge September 4, 2025 12:31
@alex-feel alex-feel merged commit b6596e1 into main Sep 4, 2025
5 checks passed
@alex-feel alex-feel deleted the alex-feel-dev branch September 4, 2025 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant