@@ -82,7 +82,7 @@ local function parse_streaming_json(line)
8282 -- Only log non-standard tool use for debugging
8383 if content .name and not content .name :match (" ^(Edit|Write|Read|Bash)$" ) then
8484 vim .schedule (function ()
85- vim .notify (" Tool use: " .. content .name , vim .log .levels .DEBUG )
85+ vim .notify (" Tool use: " .. content .name , vim .log .levels .INFO )
8686 end )
8787 end
8888
@@ -135,6 +135,11 @@ function M.send_to_claude(prompt, opts)
135135 -- Build command arguments
136136 local args = {}
137137
138+ -- Check if -c flag is provided in opts
139+ if opts .continue_conversation then
140+ table.insert (args , " -c" )
141+ end
142+
138143 -- Use -p flag for prompt mode (required for non-interactive streaming)
139144 table.insert (args , " -p" )
140145
@@ -150,13 +155,13 @@ function M.send_to_claude(prompt, opts)
150155 -- Check if CLAUDE.md has diff instructions
151156 local claude_md = require (" claucode.claude_md" )
152157 if not claude_md .has_diff_instructions () then
153- vim .notify (" Adding diff instructions to CLAUDE.md..." , vim .log .levels .DEBUG )
158+ vim .notify (" Adding diff instructions to CLAUDE.md..." , vim .log .levels .INFO )
154159 claude_md .add_diff_instructions ()
155160 end
156161
157162 -- Note: We don't use --mcp-config anymore as it overrides user's MCP servers
158163 -- Instead, we use `claude mcp add` to add our server to their configuration
159- vim .notify (" Using Claucode MCP server for diff preview" , vim .log .levels .DEBUG )
164+ vim .notify (" Using Claucode MCP server for diff preview" , vim .log .levels .INFO )
160165 end
161166
162167 -- Only use acceptEdits if MCP is not handling diffs
0 commit comments