Conversation
Signed-off-by: David Viejo <dviejo@kungfusoftware.es>
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.
Allow catalog entries to select a self-contained plugin directory and a branch, tag, or commit. For example, two entries can share
example/pluginswhile selecting differentpathvalues. Metadata, README, and asset URLs resolve within each selected directory at one immutable commit.The build plan now binds repository, path, ref, and commit. Build validation extracts only the selected subtree and continues disabling lifecycle scripts and compile-time network access. PR and refresh builds use the same validation script. Catalogs containing subdirectory entries use schema version 2 so older hosts reject them rather than silently selecting the root.
Evidence
bun test scripts: 33 passed, 0 failed. Covers slash-containing custom refs, missing refs without default fallback, sibling entries, duplicate source paths, traversal, symlinks, and scoped extraction.bash -n scripts/validate-build.sh: passed.plugins/demofrom an archive containing an invalid root manifest; ran locked dependency installation andbun build --compile src/index.ts; resulting executable returned{"plugin":"nested-fixture","ok":true}.Compatibility and limits
Companion Temps host PR: gotempsh/temps#1045. Requires that support for schema v2 and the install
pathfield. Root-only catalogs retain schema v1. Existing installs are not automatically updated. Subdirectories need their own lockfile and complete build assets; parent workspace dependencies are not included. Archive limits still apply to the entire repository. The live GitHub catalog refresh/build pipeline has not been run for a newly listed nested plugin; no listing is added here.Native plugins execute with the host OS account's permissions; this feature does not add runtime sandboxing.