codeep 1.1.4 → 1.1.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/dist/utils/agent.js +2 -0
- package/dist/utils/console.js +2 -2
- package/package.json +1 -1
package/dist/utils/agent.js
CHANGED
|
@@ -686,6 +686,8 @@ 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
|
|
690
|
+
process.stderr.write(`[AGENT DEBUG] Tool executed: ${toolCall.tool}, calling onToolResult: ${!!opts.onToolResult}\n`);
|
|
689
691
|
opts.onToolResult?.(toolResult, toolCall);
|
|
690
692
|
// Log action
|
|
691
693
|
const actionLog = createActionLog(toolCall, toolResult);
|
package/dist/utils/console.js
CHANGED
|
@@ -70,8 +70,8 @@ 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 - use stderr to bypass Ink
|
|
74
|
+
process.stderr.write(`[DEBUG] logAction called: ${type} ${target} ${result}\n`);
|
|
75
75
|
stopSpinner(); // Stop spinner before logging
|
|
76
76
|
const filename = target.split('/').pop() || target;
|
|
77
77
|
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.6",
|
|
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",
|