aiwg
Version:
Deployment tool and support utility for AI context. Copies agents, skills, commands, rules, and behaviors into the paths each AI platform reads (Claude Code, Codex, Copilot, Cursor, Warp, OpenClaw, and 6 more) so one source of truth works across 10 platfo
29 lines • 871 B
TypeScript
/**
* GitHub Adapter
*
* Resolves "github:owner/name[@version]" shorthands against github.com.
*
* Authentication:
* - SSH clone: uses default SSH agent
* - HTTPS clone: reads token from GITHUB_TOKEN env or ~/.aiwg/credentials/github
*
* @implements #557
*/
import { GitAdapter } from './git.js';
import type { PackageRef, PackageSource, FetchOptions } from '../types.js';
/**
* GitHubAdapter
*
* Handles "github:owner/repo[@version]" shorthands.
*/
export declare class GitHubAdapter extends GitAdapter {
readonly id: string;
readonly name: string;
/**
* Matches "github:owner/repo" and "github:owner/repo@version"
*/
canResolve(ref: string): boolean;
resolve(ref: PackageRef): Promise<PackageSource | null>;
fetch(source: PackageSource, options?: FetchOptions): Promise<string>;
}
//# sourceMappingURL=github.d.ts.map