codeep 1.1.5 → 1.1.7
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/utils/agent.js +3 -0
- package/dist/utils/console.js +3 -2
- package/package.json +1 -1
package/dist/utils/agent.js
CHANGED
|
@@ -686,6 +686,9 @@ export async function runAgent(prompt, projectContext, options = {}) {
|
|
|
686
686
|
// Actually execute the tool
|
|
687
687
|
toolResult = executeTool(toolCall, projectContext.root || process.cwd());
|
|
688
688
|
}
|
|
689
|
+
// Debug - write to file since Ink captures stdout/stderr
|
|
690
|
+
const fs = require('fs');
|
|
691
|
+
fs.appendFileSync('/tmp/codeep-debug.log', `[${new Date().toISOString()}] Tool executed: ${toolCall.tool}, onToolResult exists: ${!!opts.onToolResult}\n`);
|
|
689
692
|
opts.onToolResult?.(toolResult, toolCall);
|
|
690
693
|
// Log action
|
|
691
694
|
const actionLog = createActionLog(toolCall, toolResult);
|
package/dist/utils/console.js
CHANGED
|
@@ -70,8 +70,9 @@ export function setAgentRunning(running, dryRun = false) {
|
|
|
70
70
|
* Log agent action
|
|
71
71
|
*/
|
|
72
72
|
export function logAction(type, target, result, details) {
|
|
73
|
-
// Debug -
|
|
74
|
-
|
|
73
|
+
// Debug - write to file since Ink captures stdout/stderr
|
|
74
|
+
const fs = require('fs');
|
|
75
|
+
fs.appendFileSync('/tmp/codeep-debug.log', `[${new Date().toISOString()}] logAction called: ${type} ${target} ${result}\n`);
|
|
75
76
|
stopSpinner(); // Stop spinner before logging
|
|
76
77
|
const filename = target.split('/').pop() || target;
|
|
77
78
|
const lineCount = details ? details.split('\n').length : 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeep",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "AI-powered coding assistant built for the terminal. Multiple LLM providers, project-aware context, and a seamless development workflow.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|