autogit-tool 1.0.16 → 1.0.17
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/dist/ai/code-reader.d.ts
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import type { ScanResult } from '../scanner/file-scanner.js';
|
|
2
2
|
export interface CodeSummary {
|
|
3
|
-
/** Concatenated content of source files, cleaned and truncated for the AI */
|
|
4
3
|
content: string;
|
|
5
|
-
/** Total source files read */
|
|
6
4
|
filesRead: number;
|
|
7
|
-
/** Total characters sent */
|
|
8
5
|
charCount: number;
|
|
9
6
|
}
|
|
10
7
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
8
|
+
* Build a smart code summary — extracts meaningful logic, strips boilerplate.
|
|
9
|
+
*
|
|
10
|
+
* For Python: keeps imports, constants, and each function with its docstring
|
|
11
|
+
* + first 30 lines of body. Skips pure UI rendering functions.
|
|
12
|
+
* For JS/TS: keeps imports, type definitions, and exported functions.
|
|
13
|
+
* Result stays under ~7k tokens so it works on Groq free tier.
|
|
16
14
|
*/
|
|
17
15
|
export declare function buildCodeSummary(rootDir: string, scan: ScanResult): Promise<CodeSummary>;
|
|
18
16
|
//# sourceMappingURL=code-reader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-reader.d.ts","sourceRoot":"","sources":["../../src/ai/code-reader.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"code-reader.d.ts","sourceRoot":"","sources":["../../src/ai/code-reader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAE7D,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAgBD;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,UAAU,GACf,OAAO,CAAC,WAAW,CAAC,CAkDtB"}
|
package/dist/ai/code-reader.js
CHANGED
|
@@ -4,24 +4,25 @@ const IGNORED_PATTERNS = [
|
|
|
4
4
|
];
|
|
5
5
|
const SOURCE_EXTS = new Set([
|
|
6
6
|
'.py', '.ts', '.tsx', '.js', '.jsx', '.go', '.rs', '.java',
|
|
7
|
-
'.kt', '.cs', '.rb', '.php', '.swift', '.
|
|
8
|
-
'.vue', '.svelte', '.ex', '.exs',
|
|
7
|
+
'.kt', '.cs', '.rb', '.php', '.swift', '.vue', '.svelte',
|
|
9
8
|
]);
|
|
10
|
-
|
|
11
|
-
const
|
|
9
|
+
// Keep under ~7k tokens (≈28k chars) — safe for Groq free tier (12k TPM limit)
|
|
10
|
+
const MAX_TOTAL_CHARS = 22_000;
|
|
11
|
+
const MAX_FILE_CHARS = 18_000;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
13
|
+
* Build a smart code summary — extracts meaningful logic, strips boilerplate.
|
|
14
|
+
*
|
|
15
|
+
* For Python: keeps imports, constants, and each function with its docstring
|
|
16
|
+
* + first 30 lines of body. Skips pure UI rendering functions.
|
|
17
|
+
* For JS/TS: keeps imports, type definitions, and exported functions.
|
|
18
|
+
* Result stays under ~7k tokens so it works on Groq free tier.
|
|
18
19
|
*/
|
|
19
20
|
export async function buildCodeSummary(rootDir, scan) {
|
|
20
21
|
const { readFileSync } = await import('fs');
|
|
21
22
|
const sourceFiles = scan.files
|
|
22
23
|
.filter(f => SOURCE_EXTS.has(f.extension) &&
|
|
23
24
|
!IGNORED_PATTERNS.some(p => p.test(f.relativePath)))
|
|
24
|
-
.sort((a, b) => b.size - a.size);
|
|
25
|
+
.sort((a, b) => b.size - a.size);
|
|
25
26
|
const parts = [];
|
|
26
27
|
let totalChars = 0;
|
|
27
28
|
let filesRead = 0;
|
|
@@ -30,34 +31,159 @@ export async function buildCodeSummary(rootDir, scan) {
|
|
|
30
31
|
break;
|
|
31
32
|
let raw;
|
|
32
33
|
try {
|
|
33
|
-
// latin1 handles emoji/special chars in Python files without throwing
|
|
34
34
|
raw = readFileSync(file.path, 'latin1');
|
|
35
35
|
}
|
|
36
36
|
catch {
|
|
37
37
|
continue;
|
|
38
38
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
if (
|
|
47
|
-
content =
|
|
39
|
+
raw = raw.replace(/[^\x09\x0A\x0D\x20-\x7E]/g, '');
|
|
40
|
+
// Strip Streamlit CSS/HTML style blocks
|
|
41
|
+
raw = raw
|
|
42
|
+
.replace(/st\.markdown\s*\(\s*f?"""[\s\S]*?"""\s*,\s*unsafe_allow_html=True\)/g, '# [style block]')
|
|
43
|
+
.replace(/\/\*[\s\S]*?\*\//g, '')
|
|
44
|
+
.replace(/\n{3,}/g, '\n\n');
|
|
45
|
+
let content;
|
|
46
|
+
if (file.extension === '.py') {
|
|
47
|
+
content = extractPythonCore(raw);
|
|
48
48
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
else if (['.ts', '.tsx', '.js', '.jsx'].includes(file.extension)) {
|
|
50
|
+
content = extractJSCore(raw);
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
content = raw.slice(0, 6000);
|
|
52
54
|
}
|
|
53
|
-
|
|
55
|
+
const remaining = MAX_TOTAL_CHARS - totalChars;
|
|
56
|
+
if (content.length > remaining)
|
|
57
|
+
content = content.slice(0, remaining) + '\n# [truncated]';
|
|
58
|
+
if (content.length > MAX_FILE_CHARS)
|
|
59
|
+
content = content.slice(0, MAX_FILE_CHARS) + '\n# [truncated]';
|
|
60
|
+
if (!content.trim())
|
|
61
|
+
continue;
|
|
62
|
+
parts.push(`\n${'─'.repeat(50)}\n# FILE: ${file.relativePath}\n${'─'.repeat(50)}\n${content}`);
|
|
54
63
|
totalChars += content.length;
|
|
55
64
|
filesRead++;
|
|
56
65
|
}
|
|
57
|
-
return {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
66
|
+
return { content: parts.join('\n'), filesRead, charCount: totalChars };
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Python: imports + constants + each function (docstring + first 30 body lines)
|
|
70
|
+
* Skips functions that are >40% st.markdown/HTML rendering calls.
|
|
71
|
+
*/
|
|
72
|
+
function extractPythonCore(raw) {
|
|
73
|
+
const lines = raw.split('\n');
|
|
74
|
+
const out = [];
|
|
75
|
+
// Imports
|
|
76
|
+
const imports = lines.filter(l => l.match(/^(?:import|from)\s+\w/)).slice(0, 20);
|
|
77
|
+
if (imports.length) {
|
|
78
|
+
out.push('# Imports:', ...imports, '');
|
|
79
|
+
}
|
|
80
|
+
// Module-level constants
|
|
81
|
+
const constants = lines
|
|
82
|
+
.filter(l => l.match(/^[A-Z_]{2,}\s*=/) || l.match(/^[a-z_]+\s*=\s*["'\d\[\{]/))
|
|
83
|
+
.slice(0, 8);
|
|
84
|
+
if (constants.length) {
|
|
85
|
+
out.push('# Constants:', ...constants, '');
|
|
86
|
+
}
|
|
87
|
+
// Functions
|
|
88
|
+
let i = 0;
|
|
89
|
+
while (i < lines.length) {
|
|
90
|
+
const line = lines[i];
|
|
91
|
+
const funcMatch = line.match(/^(async\s+)?def ([a-zA-Z_]\w*)\s*\(/);
|
|
92
|
+
if (!funcMatch) {
|
|
93
|
+
i++;
|
|
94
|
+
continue;
|
|
95
|
+
}
|
|
96
|
+
const funcLines = [line];
|
|
97
|
+
i++;
|
|
98
|
+
let bodyLines = 0;
|
|
99
|
+
let docDone = false;
|
|
100
|
+
let inDoc = false;
|
|
101
|
+
let docChar = '';
|
|
102
|
+
while (i < lines.length) {
|
|
103
|
+
const bl = lines[i];
|
|
104
|
+
if (bl.match(/^(async\s+)?def |^class /))
|
|
105
|
+
break;
|
|
106
|
+
funcLines.push(bl);
|
|
107
|
+
i++;
|
|
108
|
+
// Track docstring end
|
|
109
|
+
if (!docDone) {
|
|
110
|
+
if (!inDoc && (bl.trimStart().startsWith('"""') || bl.trimStart().startsWith("'''"))) {
|
|
111
|
+
inDoc = true;
|
|
112
|
+
docChar = bl.includes('"""') ? '"""' : "'''";
|
|
113
|
+
if ((bl.split(docChar).length - 1) >= 2) {
|
|
114
|
+
inDoc = false;
|
|
115
|
+
docDone = true;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
else if (inDoc && bl.includes(docChar)) {
|
|
119
|
+
inDoc = false;
|
|
120
|
+
docDone = true;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
bodyLines++;
|
|
125
|
+
if (bodyLines > 30) {
|
|
126
|
+
funcLines.push(' # [body continues...]');
|
|
127
|
+
while (i < lines.length && !lines[i].match(/^(async\s+)?def |^class /))
|
|
128
|
+
i++;
|
|
129
|
+
break;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
// Skip pure UI rendering functions
|
|
134
|
+
const uiLines = funcLines.filter(l => l.includes('st.markdown') || l.includes('unsafe_allow_html') || l.includes('html_block')).length;
|
|
135
|
+
if (uiLines > funcLines.length * 0.4 && funcLines.length > 10) {
|
|
136
|
+
out.push(`# [UI rendering function ${funcMatch[2]}() skipped]`, '');
|
|
137
|
+
continue;
|
|
138
|
+
}
|
|
139
|
+
out.push(...funcLines, '');
|
|
140
|
+
}
|
|
141
|
+
return out.join('\n');
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* JS/TS: imports + type definitions + exported functions (first 25 lines each)
|
|
145
|
+
*/
|
|
146
|
+
function extractJSCore(raw) {
|
|
147
|
+
const lines = raw.split('\n');
|
|
148
|
+
const out = [];
|
|
149
|
+
const imports = lines.filter(l => l.match(/^import\s/)).slice(0, 20);
|
|
150
|
+
if (imports.length) {
|
|
151
|
+
out.push(...imports, '');
|
|
152
|
+
}
|
|
153
|
+
const types = lines
|
|
154
|
+
.filter(l => l.match(/^(?:export\s+)?(?:interface|type|enum)\s/))
|
|
155
|
+
.slice(0, 15);
|
|
156
|
+
if (types.length) {
|
|
157
|
+
out.push('// Types:', ...types, '');
|
|
158
|
+
}
|
|
159
|
+
let i = 0;
|
|
160
|
+
while (i < lines.length) {
|
|
161
|
+
const line = lines[i];
|
|
162
|
+
const isExport = line.match(/^export\s+(?:async\s+)?function\s/) ||
|
|
163
|
+
line.match(/^export\s+(?:default\s+)?class\s/) ||
|
|
164
|
+
line.match(/^export\s+const\s+\w+\s*=\s*(?:async\s+)?\(/) ||
|
|
165
|
+
line.match(/^(?:async\s+)?function\s+[A-Z]/);
|
|
166
|
+
if (!isExport) {
|
|
167
|
+
i++;
|
|
168
|
+
continue;
|
|
169
|
+
}
|
|
170
|
+
const block = [line];
|
|
171
|
+
i++;
|
|
172
|
+
let depth = (line.match(/\{/g) || []).length - (line.match(/\}/g) || []).length;
|
|
173
|
+
let bodyLines = 0;
|
|
174
|
+
while (i < lines.length && bodyLines < 25) {
|
|
175
|
+
const bl = lines[i];
|
|
176
|
+
depth += (bl.match(/\{/g) || []).length - (bl.match(/\}/g) || []).length;
|
|
177
|
+
block.push(bl);
|
|
178
|
+
i++;
|
|
179
|
+
bodyLines++;
|
|
180
|
+
if (depth <= 0)
|
|
181
|
+
break;
|
|
182
|
+
}
|
|
183
|
+
if (depth > 0)
|
|
184
|
+
block.push(' // [truncated]');
|
|
185
|
+
out.push(...block, '');
|
|
186
|
+
}
|
|
187
|
+
return out.join('\n');
|
|
62
188
|
}
|
|
63
189
|
//# sourceMappingURL=code-reader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-reader.js","sourceRoot":"","sources":["../../src/ai/code-reader.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"code-reader.js","sourceRoot":"","sources":["../../src/ai/code-reader.ts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