/** * Automatic Issue Reporter to Miyabi Repository * * When Miyabi fails to fulfill user's intent, automatically report to: * https://github.com/ShunsukeHayashi/Miyabi/issues * * これは「一周(いっしゅう)」- 人の手が必要な問題として起票される */ export interface FeedbackContext { command: string; errorMessage: string; errorStack?: string; userIntent?: string; environment: { nodeVersion: string; platform: string; miyabiVersion: string; }; projectContext?: { hasGit: boolean; hasPackageJson: boolean; language?: string; }; } export interface IssueReportResult { created: boolean; issueNumber?: number; issueUrl?: string; reason?: string; } /** * Report issue to Miyabi repository * * 一周(人の手が必要な問題)として自動起票 */ export declare function reportIssueToMiyabi(context: FeedbackContext, token?: string): Promise; /** * Gather environment information */ export declare function gatherEnvironmentInfo(): FeedbackContext['environment']; /** * Gather project context */ export declare function gatherProjectContext(): FeedbackContext['projectContext']; /** * Infer user intent from command */ export declare function inferUserIntent(command: string): string; //# sourceMappingURL=issue-reporter.d.ts.map