openagentry

REPO · Adapter

repo-github

via GitHub

Repository registrar — create, delete, get, derive remote URL.

@openagentry/adapter-repo-github npm →

— · Install

Use it

# Install
$ npm install @openagentry/adapter-repo-github

# Or in a workspace registered with the CLI
$ npx agentry init @openagentry/adapter-repo-github

— · Default export

Pattern: lazy

The default export is always a frozen REPOAdapter with static category + id. Methods read env on first call and cache the underlying instance. Missing config produces an AgentryError at the use-site, not at import.

import default_ from '@openagentry/adapter-repo-github';
// → repoAdapter — category: 'repo', id: 'repo-github'

— · Environment

Configuration

Variable Notes
OA_GITHUB_TOKEN Required.
OA_GITHUB_ENDPOINT Optional.

— · Reported capabilities

What the manifest says

agentry capabilities --json reports these flags from the package's openagentry.capabilities manifest block.

transport
https
enterpriseServer
true

— · Failure modes

Error codes

8 stable codes this adapter throws. Each has a one-line resolution.