Skip to content

v0.2.0

Choose a tag to compare

@rustyconover rustyconover released this 10 Nov 14:51

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_...');   -- optional

New

  • Discussions and Projects: typed main.discussions, discussion_comments and discussion_replies come through GraphQL, and projects, project_items and project_fields through REST. They paginate automatically within bounds, take named filters and work inside correlated LATERAL joins. Custom Project field values stay JSON.
  • Complete REST reads: a generated rest schema has all 780 distinct GET operations from the pinned GitHub.com and Enterprise Cloud API descriptions. api.endpoints lists them and api.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_ttl ATTACH option: sets a default result TTL for lookups and searches. A per-call TTL overrides it.
  • token_source ATTACH option: 'gh' uses the GitHub CLI's login and 'env' uses GH_TOKEN/GITHUB_TOKEN. An HTTP or socket server refuses it unless started with VGI_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_contents loads 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 API and there is a one-sentence vgi.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.