Commit Graph
3 Commits
Author SHA1 Message Date
frdel 1d56e8d97f Update plugin.yaml 2026-02-24 13:31:27 +01:00
frdel bab1456144 Handle per-repo GraphQL errors and update URLs
Update plugin metadata URLs and make GitHub GraphQL handling robust. Two plugin YAMLs now point to https://github.com/agen0ai/a0-plugins instead of the old agentzero URL. The stars updater script no longer fails the whole run on GraphQL "errors": it adds _extract_alias_errors to collect per-alias errors, issues the POST request directly with proper headers and timeout, parses the payload safely, maps alias-specific errors into the updates output, and skips errored repos instead of aborting. Also adds improved HTTP and JSON error handling and preserves existing behavior for valid repo results.
2026-02-24 12:35:02 +01:00
frdel c7c904ee8e Add PR validation workflow and docs
Add a GitHub Actions workflow to validate plugin pull requests and supporting files. New workflow (.github/workflows/validate-plugin-pr.yml) runs scripts/validate_pr.py on PRs, comments failures via scripts/comment_validation_failure.js, and fails the job on validation errors. Added scripts/validate_pr.py to enforce repo rules (one plugin folder per PR under plugins/, required plugin.yaml fields, allowed/optional tags, thumbnail constraints: square, allowed extensions, max 20KB, no subdirectories, no deletions) and scripts/comment_validation_failure.js to post/update bot comments with validation logs. Documentation updated: README.md now includes submission guidelines and examples, TAGS.md adds recommended tags, and an example plugin (plugins/_example1/) with plugin.yaml and thumbnail added as a reference.
2026-02-23 21:28:53 +01:00