ai-cli-log 1.0.5 → 1.0.6
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/.ai-cli-log/config.json +4 -4
- package/.ai-cli-log/gemini-20250714-222508-refactor-command-parser.txt +2110 -0
- package/README.md +25 -26
- package/dist/index.js +39 -30
- package/package.json +3 -1
- package/src/index.ts +43 -38
package/.ai-cli-log/config.json
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
{
|
|
5
5
|
"name": "gemini-pro",
|
|
6
6
|
"tool": "gemini",
|
|
7
|
-
"prompt": "You are a log summarizer. Your response MUST be a valid JSON object
|
|
7
|
+
"prompt": "You are a log summarizer. Your response MUST be a raw, valid JSON object and nothing else. Do not wrap it in markdown blocks like ```json. The JSON object must have a single key \"summary\" which is a 3-5 word, lowercase, filename-friendly phrase. Example: {\"summary\": \"refactor-database-schema\"}. The session content is:",
|
|
8
8
|
"maxLines": 100
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
11
|
"name": "ollama",
|
|
12
12
|
"tool": "ollama",
|
|
13
13
|
"model": "llama3",
|
|
14
|
-
"prompt": "You are a log summarizer. Your response MUST be a valid JSON object
|
|
14
|
+
"prompt": "You are a log summarizer. Your response MUST be a raw, valid JSON object and nothing else. Do not wrap it in markdown blocks like ```json. The JSON object must have a single key \"summary\" which is a 3-5 word, lowercase, filename-friendly phrase. Example: {\"summary\": \"refactor-database-schema\"}. The session content is:",
|
|
15
15
|
"maxLines": 50
|
|
16
16
|
},
|
|
17
17
|
{
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"session-summary",
|
|
24
24
|
"\"{{prompt}}\""
|
|
25
25
|
],
|
|
26
|
-
"prompt": "You are a log summarizer. Your response MUST be a valid JSON object
|
|
26
|
+
"prompt": "You are a log summarizer. Your response MUST be a raw, valid JSON object and nothing else. Do not wrap it in markdown blocks like ```json. The JSON object must have a single key \"summary\" which is a 3-5 word, lowercase, filename-friendly phrase. Example: {\"summary\": \"refactor-database-schema\"}. The session content is:",
|
|
27
27
|
"maxLines": 100
|
|
28
28
|
}
|
|
29
29
|
],
|
|
30
30
|
"default": "ollama"
|
|
31
31
|
}
|
|
32
|
-
}
|
|
32
|
+
}
|