UNPKG

agent-team-composer

Version:

Transform README files into GitHub project plans with AI-powered agent teams

73 lines 1.71 kB
import { Phase } from '../types'; export declare class GitHubService { private octokit; private owner; private repo; constructor(token?: string); /** * Safely extract repository info from string */ private parseRepository; /** * Sanitize text for GitHub issues */ private sanitizeText; /** * Create GitHub issues from phases */ createIssuesFromPhases(repository: string, phases: Phase[]): Promise<{ phase: string; epicNumber: number; issueCount: number; }[]>; /** * Create epic body with proper formatting */ private createEpicBody; /** * Create issue body with proper formatting */ private createIssueBody; /** * Sanitize label names */ private sanitizeLabel; /** * Check GitHub authentication status */ checkAuthentication(): Promise<{ authenticated: boolean; user?: string; scopes?: string[]; error?: string; }>; /** * Get rate limit status */ getRateLimit(): Promise<{ limit: number; remaining: number; reset: Date; }>; /** * Get user's repositories with write access */ getUserRepositories(): Promise<Array<{ full_name: string; name: string; owner: { login: string; }; private: boolean; permissions: { admin: boolean; push: boolean; pull: boolean; }; }>>; /** * Get branches for a repository */ getRepositoryBranches(repoFullName: string): Promise<string[]>; } //# sourceMappingURL=github-service.d.ts.map