Repository navigation
v0.2.0
vgi-github now speaks VGI protocol 3.2 (vgi-python 0.50.0, vgi-rpc 0.53.1). This release also adds typed Discussions and Projects tables, a generated rest schema covering every GitHub GET operation, and query-only GraphQL.
INSTALL vgi FROM community;
LOAD vgi;
ATTACH 'github' (TYPE vgi,
LOCATION 'uvx --from git+https://github.com/Query-farm/vgi-github@v0.2.0 vgi-github');
CREATE SECRET github (TYPE github, token 'ghp_...'); -- optionalNew
- Discussions and Projects: typed
main.discussions,discussion_commentsanddiscussion_repliescome through GraphQL, andprojects,project_itemsandproject_fieldsthrough REST. They paginate automatically within bounds, take named filters and work inside correlatedLATERALjoins. Custom Project field values stay JSON. - Complete REST reads: a generated
restschema has all 780 distinct GET operations from the pinned GitHub.com and Enterprise Cloud API descriptions.api.endpointslists them andapi.rest()calls any of them. Complete JSON, HTTP statuses, binary downloads and pagination links come through intact. - GraphQL:
api.graphql()runs queries only. The worker parses every document before sending it and rejects mutations, subscriptions and schema definitions. cache_ttlATTACH option: sets a default result TTL for lookups and searches. A per-call TTL overrides it.token_sourceATTACH option:'gh'uses the GitHub CLI's login and'env'usesGH_TOKEN/GITHUB_TOKEN. An HTTP or socket server refuses it unless started withVGI_GITHUB_ALLOW_TOKEN_SOURCE=1.- Logging: rate-limit waits, retries, a low-budget warning and a one-line summary per call go to DuckDB's log (
duckdb_logs_parsed('VGI')). catalog_contentsloads the whole catalog in one RPC.
Fixes and maintenance
- Protocol 3.1 and then 3.2 support, through VGI SDK upgrades.
- GraphQL errors are reported before partial response data, so a large response can't hide the cause.
- Catalog metadata meets vgi-lint 2.2: the title is now
GitHub APIand there is a one-sentencevgi.subtitle. CI now lints with vgi-lint-check 2.2.0 and fails on info-level findings. - Agent-task grading data moved to
vgi-agent-tests.yaml. - A weekly read-only workflow checks upstream REST coverage for drift.
See CHANGELOG.md for the full list.