@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codewithdan/zingit",
3
- "version": "0.12.0",
3
+ "version": "0.14.0",
4
4
  "description": "AI-powered UI annotation tool - point, annotate, and let AI fix it",
5
5
  "type": "module",
6
6
  "engines": {
@@ -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' });