wdyt 0.1.7 → 0.1.8
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/package.json +1 -1
- package/src/commands/chat.ts +2 -9
package/package.json
CHANGED
package/src/commands/chat.ts
CHANGED
|
@@ -317,13 +317,8 @@ export async function chatSendCommand(
|
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
//
|
|
321
|
-
|
|
322
|
-
console.error(`Warning: ${errors.length} file(s) skipped:`);
|
|
323
|
-
for (const err of errors) {
|
|
324
|
-
console.error(` ${err}`);
|
|
325
|
-
}
|
|
326
|
-
}
|
|
320
|
+
// Note: Skipped files are silently ignored to avoid polluting stderr
|
|
321
|
+
// The files array contains only successfully read files
|
|
327
322
|
|
|
328
323
|
// Build directory structure from the files we successfully read
|
|
329
324
|
const directoryStructure = buildDirectoryStructure(files.map((f) => f.path));
|
|
@@ -344,7 +339,6 @@ export async function chatSendCommand(
|
|
|
344
339
|
|
|
345
340
|
// Always run Claude CLI to process the chat - that's what a drop-in rp-cli replacement does
|
|
346
341
|
if (await claudeCliAvailable()) {
|
|
347
|
-
console.error("[wdyt] Processing with Claude CLI...");
|
|
348
342
|
const response = await runClaudeChat(chatPath, prompt);
|
|
349
343
|
|
|
350
344
|
return {
|
|
@@ -355,7 +349,6 @@ export async function chatSendCommand(
|
|
|
355
349
|
}
|
|
356
350
|
|
|
357
351
|
// Fallback: just return the chat ID if Claude CLI isn't available
|
|
358
|
-
console.error("[wdyt] Claude CLI not found, returning context only");
|
|
359
352
|
return {
|
|
360
353
|
success: true,
|
|
361
354
|
data: { id: chatId, path: chatPath },
|