nayan-ai 1.0.0-beta.1 → 1.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/types.ts DELETED
@@ -1,51 +0,0 @@
1
- export interface PRInfo {
2
- owner: string;
3
- repo: string;
4
- number: number;
5
- }
6
-
7
- export interface PullRequest {
8
- number: number;
9
- title: string;
10
- head: {
11
- sha: string;
12
- };
13
- }
14
-
15
- export interface PullRequestFile {
16
- filename: string;
17
- status: string;
18
- patch?: string;
19
- }
20
-
21
- export interface FileChange {
22
- filename: string;
23
- patch: string;
24
- }
25
-
26
- export interface CodeIssue {
27
- filename: string;
28
- line: number;
29
- category: 'functionality' | 'readability' | 'performance';
30
- severity: 'error' | 'warning' | 'info';
31
- message: string;
32
- suggestion?: string;
33
- }
34
-
35
- export interface ReviewComment {
36
- path: string;
37
- line: number;
38
- side: 'RIGHT';
39
- body: string;
40
- }
41
-
42
- export type LLMProvider = 'codex' | 'claude';
43
-
44
- export interface CLIOptions {
45
- token: string;
46
- verbose: boolean;
47
- dry: boolean;
48
- inline: boolean;
49
- format: string;
50
- llm: LLMProvider;
51
- }
package/tsconfig.json DELETED
@@ -1,19 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2022",
4
- "module": "NodeNext",
5
- "moduleResolution": "NodeNext",
6
- "lib": ["ES2022"],
7
- "outDir": "./dist",
8
- "rootDir": "./src",
9
- "strict": true,
10
- "esModuleInterop": true,
11
- "skipLibCheck": true,
12
- "forceConsistentCasingInFileNames": true,
13
- "resolveJsonModule": true,
14
- "declaration": true,
15
- "sourceMap": true
16
- },
17
- "include": ["src/**/*"],
18
- "exclude": ["node_modules", "dist"]
19
- }