Open
Conversation
Add a community framework store backed by geodro/lerd-frameworks where users can search, install, and update versioned framework definitions. Refactor all hardcoded Laravel worker logic into a generic system driven entirely by framework YAML definitions. Framework store: - new internal/store package with client, caching, version detection - lerd framework search/install/update commands - framework_search and framework_install MCP tools - auto-fetch from store when linking a project with no local definition - versioned storage: ~/.local/share/lerd/frameworks/<name>@<version>.yaml - separate from user-defined: ~/.config/lerd/frameworks/<name>.yaml - version auto-detection from composer.lock, pinned in .lerd.yaml Framework-agnostic workers: - FrameworkWorker gains ConflictsWith, Proxy, and Check fields - horizon conflicts_with queue, reverb has proxy config with auto port - all dedicated commands (queue, schedule, reverb, horizon) are now aliases that read from fw.Workers and delegate to WorkerStartForSite - WorkerStartForSite handles proxy port assignment and nginx regen generically for any worker with a proxy config - port collision prevention scans all proxy port env keys across all sites - removed all hardcoded worker switch statements from pause, link, setup, startstop, init, check Framework definition layering: - built-in (laravel) < store-installed < user overlay < project .lerd.yaml - user overlay merges workers on top of store/built-in base - .lerd.yaml custom_workers for project-specific workers committed to git - framework_def only embedded in .lerd.yaml for user-defined frameworks - framework_version pinned in .lerd.yaml, auto-updated from composer.lock Other changes: - removed IsLaravel/siteIsLaravel, replaced with capability checks - framework detection limited to link/init/env/setup/park only - backfill framework for existing sites on lerd start/update - nginx templates use generic Proxy/ProxyPath/ProxyPort instead of Reverb - env key generation driven by fw.Env.KeyGeneration - service detection uses fw.Env.Services for all frameworks including Laravel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary