@codewithdan/zingit 0.12.0 → 0.14.0
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/AGENTS.md +113 -25
- package/README.md +70 -24
- package/client/dist/zingit-client.js +201 -56
- package/package.json +1 -1
- package/server/dist/handlers/messageHandlers.js +3 -0
package/package.json
CHANGED
|
@@ -183,6 +183,9 @@ export async function handleBatch(ws, state, msg, deps) {
|
|
|
183
183
|
console.log('[Batch] Formatting prompt and extracting images...');
|
|
184
184
|
const prompt = state.agent.formatPrompt(batchData, projectDir);
|
|
185
185
|
const images = state.agent.extractImages(batchData);
|
|
186
|
+
// Log prompt preview to identify the request
|
|
187
|
+
const promptPreview = prompt.length > 150 ? prompt.substring(0, 150) + '...' : prompt;
|
|
188
|
+
console.log('[Batch] Prompt preview:', promptPreview);
|
|
186
189
|
console.log('[Batch] Image count:', images.length);
|
|
187
190
|
console.log('[Batch] Sending processing message to client');
|
|
188
191
|
sendMessage(ws, { type: 'processing' });
|